Content processing method and related equipment
By analyzing the correlation between the browser user's historical search content and the current search content, accurate search results are displayed, which solves the problem of low search efficiency in the browser and achieves more efficient information acquisition.
Patent Information
- Application Number
- CN202210475829.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-29
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2042-04-29
AI Technical Summary
It is difficult for users to quickly find the content they are interested in among the massive search results in the browser, resulting in low search efficiency.
By analyzing the user's historical search content, determining the correlation between the target content and the historical search content, displaying the search results for the target content in the target content field, and filtering out the content that the user really wants.
Improves the accuracy and efficiency of search results, helping users get the information they need more quickly.
Smart Images

Figure CN115114543B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a content processing method and related equipment. Background Art
[0002] As one of the most important tools for users to surf the Internet, browsers usually have certain search capabilities. Users can search for information through the search portal and built-in search engine provided by the browser. Specifically, the browser provides a search input box. When users enter keywords in the search input box, they can obtain relevant search results.
[0003] As more and more content is presented to users through browsers, and the amount of information is also increasing, if users want to obtain the content they are interested in from a large number of relevant search results, it may take a long time, resulting in low search efficiency. Summary of the Invention
[0004] An embodiment of the present application provides a content processing method and related equipment. The related equipment may include a content processing device, an electronic device, a computer-readable storage medium and a computer program product. It can combine historical search content to determine the content that the user actually wants to search for, which is conducive to improving search efficiency.
[0005] The present invention provides a content processing method, including:
[0006] Get the target content to be searched in the target application;
[0007] In response to a search operation for the target content, and when there is an association relationship between the content fields of the target content and the historical search content, a search results page is displayed, wherein the search results page includes search results for the target content under the target content field, the historical search content is content that has been searched for through the target application at a historical time, and the target content field includes content fields that overlap between the content field of the target content and the content field of the historical search content.
[0008] Accordingly, an embodiment of the present application provides a content processing device, including:
[0009] An acquisition unit, configured to acquire the target content currently to be searched in the target application;
[0010] A display unit is used to display a search result page in response to a search operation for the target content and when there is an association relationship between the content fields of the target content and the historical search content, the search result page includes search results for the target content searched under the target content field, the historical search content is content searched through the target application at a historical time, and the target content field includes content fields that overlap between the content field of the target content and the content field of the historical search content.
[0011] Optionally, in some embodiments of the present application, the content processing device may further include a search result display unit as follows:
[0012] The search result display unit is configured to display a search result page in response to a search operation for the target content and when there is no association relationship between the content fields of the target content and the historical search content, the search result page including search results under at least one content field corresponding to the target content.
[0013] Optionally, in some embodiments of the present application, the search result page includes a domain identification control corresponding to the target content domain, and the content processing apparatus may further include an acquisition unit and an update unit as follows:
[0014] The acquiring unit is configured to acquire search results in at least one content domain corresponding to the target content in response to a closing operation of a domain identification control corresponding to the target content domain;
[0015] An updating unit is configured to update the search result page according to the search results under the at least one content field, and display a field identification control corresponding to the at least one content field on the updated search result page.
[0016] Optionally, in some embodiments of the present application, the content processing device may further include a first switching display unit as follows:
[0017] The first switching display unit is configured to switch and display the search results of the target content in the selected content field on the search result page in response to a selection trigger operation of a field identification control corresponding to the at least one content field.
[0018] Optionally, in some embodiments of the present application, the search result page includes at least one recommended search content; the recommended search content is determined based on the target content and the selected content field.
[0019] Optionally, in some embodiments of the present application, the content processing device may further include a second switching display unit as follows:
[0020] The second switching display unit is used to switch and display the search results corresponding to the target recommended search content on the search results page in response to a selection trigger operation of the target recommended search content in the search results page, where the target recommended search content is any recommended search content among the at least one recommended search content.
[0021] Optionally, in some embodiments of the present application, the display unit can be specifically used to display a search results page in response to a search operation for the target content, the first application state and the second application state of the target application meet preset search association conditions, and there is an association relationship between the content domains of the target content and the historical search content, wherein the first application state is the application state of the target application when searching for the target content, and the second application state is the application state of the target application when searching for the historical search content.
[0022] Optionally, in some embodiments of the present application, the search results include search sub-results of at least one content source type; and each of the search sub-results is arranged in the search results page according to the content source type.
[0023] Optionally, in some embodiments of the present application, the presentation unit may include a content acquisition subunit, a determination subunit, and a presentation subunit, as follows:
[0024] The content acquisition subunit is configured to, in response to a search operation for the target content and when there is an association relationship between the content domains of the target content and the historical search content, acquire search results for the target content in the target content domain;
[0025] determining a sub-unit for determining a target content unit from each content unit in the search result according to a similarity between the content unit and the target content domain;
[0026] The display subunit is used to display the search results on the search result page and highlight the target content unit.
[0027] Optionally, in some embodiments of the present application, the display unit may include a storage subunit and a search result display subunit, as follows:
[0028] The storage subunit is configured to, in response to a search operation for the historical search content, display search results for at least one content field corresponding to the historical search content on a search result page, and store historical content identification information corresponding to the historical search content;
[0029] The search result display subunit is configured to display a search result page based on the target content identification information and the historical content identification information in response to a search operation for the target content and when the target content identification information corresponding to the target content matches the historical content identification information.
[0030] An electronic device provided in an embodiment of the present application includes a processor and a memory, wherein the memory stores a plurality of instructions, and the processor loads the instructions to execute the steps in the content processing method provided in the embodiment of the present application.
[0031] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the content processing method provided in the embodiment of the present application.
[0032] In addition, an embodiment of the present application also provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements the steps in the content processing method provided in the embodiment of the present application.
[0033] The embodiment of the present application provides a content processing method and related equipment, which can obtain the target content currently to be searched in the target application; in response to a search operation for the target content, and when there is an association relationship between the content fields of the target content and the historical search content, a search result page is displayed, and the search result page includes the search result content for the target content searched under the target content field, the historical search content is the content that has been searched through the target application in the past, and the target content field includes the content field that overlaps between the content field of the target content and the content field of the historical search content. The present application can filter out the search results under the target content field from all search results corresponding to the target content currently to be searched based on the association relationship between the content fields of the historical search content and the target content currently to be searched. In this way, the content that the user really wants to search can be determined in combination with the historical search content, which is conducive to improving search efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0035] Figure 1a This is a scenario diagram of the content processing method provided in an embodiment of the present application;
[0036] Figure 1bis a flowchart of the content processing method provided in an embodiment of the present application;
[0037] Figure 1c This is a page diagram of the content processing method provided by an embodiment of the present application;
[0038] Figure 1d This is another page diagram of the content processing method provided by an embodiment of the present application;
[0039] Figure 1e is another flow chart of the content processing method provided by an embodiment of the present application;
[0040] Figure 1f is another flow chart of the content processing method provided by an embodiment of the present application;
[0041] Figure 2 is another flow chart of the content processing method provided by an embodiment of the present application;
[0042] Figure 3 is a structural diagram of a content processing device provided in an embodiment of the present application;
[0043] Figure 4 It is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts are within the scope of protection of this application.
[0045] The present invention provides a content processing method and related equipment, which may include a content processing device, an electronic device, a computer-readable storage medium, and a computer program product. The content processing device may be integrated into an electronic device, which may be a terminal or a server.
[0046] It is understandable that the content processing method of this embodiment can be executed on a terminal, on a server, or jointly by a terminal and a server. The above examples should not be construed as limiting the present application.
[0047] like Figure 1a As shown, a content processing method is performed jointly by a terminal and a server as an example. The content processing system provided in the embodiment of the present application includes a terminal 10 and a server 11, etc. The terminal 10 and the server 11 are connected via a network, such as a wired or wireless network connection, wherein the content processing device can be integrated into the terminal.
[0048] Among them, the terminal 10 can be used to: obtain the target content currently to be searched in the target application; in response to a search operation for the target content, and when there is an association relationship between the content fields of the target content and the historical search content, display a search result page, wherein the search result page includes search results for the target content searched under the target content field, the historical search content is the content searched through the target application at a historical time, and the target content field includes the content field that overlaps between the content field of the target content and the content field of the historical search content. Among them, the terminal 10 can include a mobile phone, a smart TV, a tablet computer, a laptop computer, or a personal computer (PC, Personal Computer), etc. A client can also be set on the terminal 10, and the client can be an application client or a browser client, etc.
[0049] Among them, the server 11 can be used to: in response to the search operation for the target content in the terminal 10, and when there is an association relationship between the content fields of the target content and the historical search content, obtain the search results for the target content search in the target content field, and send the search results of the target content in the target content field to the terminal 10, so that the terminal 10 displays the search results page after receiving the search results of the target content in the target content field sent by the server 11. Among them, the server 11 can be a single server, or a server cluster or cloud server composed of multiple servers. In the content processing method or device disclosed in this application, multiple servers can be composed of a blockchain, and the server is a node on the blockchain.
[0050] The content processing method provided in the embodiments of the present application relates to natural language processing in the field of artificial intelligence.
[0051] Artificial Intelligence (AI) refers to the theories, methods, techniques, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, to perceive the environment, acquire knowledge, and use that knowledge to achieve optimal results. In other words, AI is a comprehensive field of computer science that seeks to understand the essence of intelligence and produce new intelligent machines that can respond in a manner similar to human intelligence. AI also studies the design principles and implementation methods of various intelligent machines, enabling them to possess the capabilities of perception, reasoning, and decision-making. AI technology is an interdisciplinary discipline encompassing a wide range of fields, encompassing both hardware and software technologies. AI software technologies primarily include computer vision, speech processing, natural language processing, machine learning / deep learning, autonomous driving, and smart transportation.
[0052] Natural language processing (NLP) is a key area of research in computer science and artificial intelligence. It studies the theories and methods that enable effective communication between humans and computers using natural language. Natural language processing (NLP) integrates linguistics, computer science, and mathematics. Therefore, research in this field involves natural language—the language we use in everyday life—and is closely linked to the study of linguistics. Natural language processing technologies typically include text processing, semantic understanding, machine translation, robotic question answering, and knowledge graphs.
[0053] It should be noted that the order of description of the following embodiments is not intended to limit the preferred order of the embodiments.
[0054] This embodiment will be described from the perspective of a content processing device. The content processing device may be integrated into an electronic device, which may be a server, a terminal or other device.
[0055] It is understandable that in the specific implementation of this application, related data such as user information is involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0056] The content processing method of the embodiment of the present application can be applied to various content search scenarios. This embodiment can be applied to various scenarios such as cloud technology, artificial intelligence, smart transportation, and assisted driving.
[0057] like Figure 1b As shown, the specific process of the content processing method can be as follows:
[0058] 101. Obtain the target content to be searched in the target application.
[0059] Specifically, the target application may be a content search platform, and users may search for information through a search portal and a built-in search engine provided by the target application. For example, the target application may be a browser.
[0060] The target content is specifically the content to be searched, and its content type is not limited, for example, the target content can be text, audio, or image, etc. Specifically, if the target content is audio, it can be converted into text through voice recognition and then the content search is performed.
[0061] In a specific scenario, the target application is a browser, and the content currently entered by the user in the search input box of the browser can be regarded as the target content. When the user performs a search operation on the target content in the search input box, the target content can be used as the current content to be searched, and the corresponding search results can be obtained through the search engine. In some embodiments, the search operation can be a press-enter operation performed on the search input box; in other embodiments, the search operation can also be a triggering operation of a search control in the application page corresponding to the browser, and the triggering operation can be a click operation or a sliding operation. In response to the triggering operation of the search control, the browser can use the content in the current search input box as the target content to be searched, perform a related search based on the target content, and thus return the search results to the user.
[0062] In current technologies, each user search is an independent search result. The system cannot infer the user's intent in the current search scenario based on the user's previous search, and therefore cannot provide accurate content search services. For example, a user searches for "how to relieve a cough" based on their symptoms. After browsing the content and seeing the knowledge points they want to learn about, they initiate a search for "the effects of honey." In this new search scenario, the background data is not associated with the data of the previous search scenario, that is, it is not associated with the search scenario of "how to relieve a cough." Therefore, it may not display the content the user actually wants to know, but only a general search result.
[0063] The content processing method provided in this application can analyze the user's historical search content, predict the user's true intention based on the analysis results, guess in advance what content the user may need to search for next, and intelligently recommend related content in new search scenarios, thereby providing users with more accurate search results.
[0064] 102. In response to a search operation for the target content, and when there is an association relationship between the content fields of the target content and the historical search content, a search result page is displayed, wherein the search result page includes search results for the target content under the target content field, the historical search content is content that has been searched for through the target application at a historical time, and the target content field includes content fields that overlap between the content field of the target content and the content field of the historical search content.
[0065] In some embodiments, the search operation for the target content may be an enter operation on the search input box of the target application; in other embodiments, the search operation for the target content may be a triggering operation on the search control in the application page of the target application.
[0066] In this embodiment, the search results corresponding to the target content may include one or more content areas. This embodiment can filter the search results under multiple content areas corresponding to the target content based on historical search content, and combine the historical search content to filter out the search results that the user may actually want to obtain, thereby improving the accuracy of the search results; specifically, the content area corresponding to the current search content (specifically, the target content) and the content area corresponding to the historical search content can be determined as the target content area, and the search results corresponding to the target content under the target content area are returned and displayed to the user.
[0067] Among them, the target content can correspond to multiple content areas, and the historical search content can correspond to multiple content areas. The "content areas that overlap between the content areas of the target content and the content areas of the historical search content" can be regarded as the cross-content areas between the target content and the historical search content, and specifically can be the common content areas of the target content and the historical search content.
[0068] Among them, the historical search content can specifically be the historical content that has been searched through the target application, which can include search questions and corresponding search results. This embodiment does not strictly limit this. Specifically, the historical search content can be the content that was searched through the target application last time. The search scene corresponding to the historical search content can be regarded as the front-end search scene, and the search scene corresponding to the target content currently being searched can be regarded as the back-end search scene. Optionally, in some embodiments, after searching the historical search content, the search for the target content continues under the premise that the target application is not closed. The search scene corresponding to the historical search content can be regarded as the front-end search scene of the target content.
[0069] The content domain association relationship between the target content and the historical search content may specifically be that, in at least one content domain to which the target content belongs, there exists a content domain that is identical or similar to the content domain to which the historical search content belongs. If, in at least one content domain to which the target content belongs, there does not exist a content domain that is identical or similar to the content domain to which the historical search content belongs, then there is no content domain association relationship between the target content and the historical search content.
[0070] For example, in one embodiment, if the target content of the current search is "the effects of honey", the content areas to which the target content belongs may include "moistening the lungs and relieving coughs", "beautifying and nourishing the skin", and "moistening the intestines and promoting bowel movements", etc. Assuming that the historical search content is "how to relieve coughs", then in at least one content area to which the target content belongs, there is a content area similar to the content area to which the historical search content belongs - "moistening the lungs and relieving coughs". Therefore, it can be determined that there is a correlation relationship between the content areas of the target content and the historical search content.
[0071] Specifically, in this embodiment, the step of “displaying a search result page in response to a search operation for the target content and when there is an association relationship between the content domains of the target content and historical search content” may include:
[0072] In response to a search operation for the target content, determining at least one content domain to which the target content belongs and at least one content domain to which the historical search content belongs;
[0073] Based on at least one content domain to which the target content belongs and at least one content domain to which the historical search content belongs, determining whether there is an association relationship between the content domains of the target content and the historical search content;
[0074] Based on the judgment results, the search results page is displayed.
[0075] If at least one content domain to which the target content belongs does not contain a content domain that is identical or similar to the content domain to which the historical search content belongs, then there is no content domain association relationship between the target content and the historical search content. If at least one content domain to which the target content belongs does contain a content domain that is identical or similar to the content domain to which the historical search content belongs, then there is a content domain association relationship between the target content and the historical search content.
[0076] When there is a correlation between the target content and the historical search content, the search results corresponding to the target content in the target content are displayed on the search results page. When there is no correlation between the target content and the historical search content, the search results in each content field corresponding to the target content are displayed on the search results page.
[0077] Optionally, in this embodiment, the content processing method may further include:
[0078] In response to a search operation for the target content, when there is no association relationship between the content fields of the target content and historical search content, a search result page is displayed, which includes search results in at least one content field corresponding to the target content.
[0079] When there is no correlation between the content fields of the target content and the historical search content, if the target content is searched, the search results under all content fields corresponding to the target content may be displayed.
[0080] In specific scenarios, such as Figure 1cAs shown in page a in the figure, a user initiates a search for the question "How to relieve a cough". When browsing page a, the user sees the knowledge point he wants to know "Top 10 best lung-moistening and cough-relieving foods" in the recommended related searches, and clicks on the recommended search question "Top 10 best lung-moistening and cough-relieving foods" on page a to jump to the relevant search result page, i.e. Figure 1c Page b of the search results, and continue browsing related content. If the user sees knowledge related to cough relief while browsing the content (such as honey ranked 7th in the top ten best foods for moistening the lungs and relieving coughs), and then initiates a search for the question "What are the effects of honey?", based on the content processing method provided by this application, the current search question "What are the effects of honey?" can be associated with the previous search question ("How to relieve coughs" and "Top ten best foods for moistening the lungs and relieving coughs") for analysis. If the previous search question and the current search question have related content areas, then in the current search results, only the corresponding search results under the target content area can be directly displayed to the user, such as Figure 1d As shown on page c in , the target content area can be the cross-content area between the previous round of search questions and the current round of search questions (specifically, the overlapping content area). Specifically, the cross-content area can be "moisturizing the lungs and relieving coughs", which can efficiently and intelligently help users filter out the content they want to know and improve the efficiency of information acquisition.
[0081] The scenario where a user searches for the questions "How to relieve a cough" and "Top 10 foods that moisten the lungs and relieve coughs" and browses related content can be considered a front-end search scenario. In the above embodiment, the historical search content can specifically be content searched through the target application, such as "How to relieve a cough" and "Top 10 foods that moisten the lungs and relieve coughs." The search for the question "What are the effects of honey?" can be considered a back-end search scenario. In the above embodiment, the target content can specifically be the question "What are the effects of honey?"
[0082] Optionally, in this embodiment, the search result page includes a domain identification control corresponding to the target content domain, and the content processing method may further include:
[0083] In response to a closing operation on a domain identification control corresponding to the target content domain, obtaining search results under at least one content domain corresponding to the target content;
[0084] The search result page is updated according to the search results under the at least one content field, and a field identification control corresponding to the at least one content field is displayed on the updated search result page.
[0085] In one embodiment, Figure 1dAs shown in page c, the target content field is "Moisturizing the lungs and relieving coughs", wherein the icon corresponding to "Moisturizing the lungs and relieving coughs" is the field identification control corresponding to the target content field, and the closing operation of the field identification control corresponding to the target content field can be a click or a sliding operation on the icon, etc., which is not limited in this embodiment. In response to the closing operation of the field identification control corresponding to the target content field, the search results under all content fields corresponding to the target content can be displayed on the search results page, that is, all search results corresponding to the target content can be displayed, specifically, all recommended tags and search results under the result of "Efficacy and Effects of Honey". Optionally, the field identification controls for each content field corresponding to the target content can also be displayed on the search results page, such as Figure 1d As shown on page d, the icons corresponding to "moisturizing the lungs and relieving coughs", "beautifying and nourishing the skin", and "moisturizing the intestines and relieving constipation" are the field identification controls of the various content fields corresponding to the target content (which can be regarded as recommendation tags).
[0086] Optionally, in this embodiment, the content processing method may further include:
[0087] In response to a selection triggering operation on a domain identification control corresponding to the at least one content domain, the search results of the target content in the selected content domain are switched and displayed on the search result page.
[0088] The triggering operation for selecting the domain identifier control may be a click operation, etc. The user can view the search results under each recommended tag by triggering the domain identifier control corresponding to the content domain on the search results page. Figure 1d As shown in page d, users can also click to switch other recommended tags to view other related effects of honey. For example, they can select and trigger the recommended tag "intestinal moisturizing and laxative" to view the effect of honey in intestinal moisturizing and laxative, or they can select and trigger the recommended tag "beauty and skin care" to view the effect of honey in beauty and skin care, etc.
[0089] Optionally, in this embodiment, the search result page includes at least one recommended search content; the recommended search content is determined based on the target content and the selected content field.
[0090] Optionally, in this embodiment, the content processing method may further include:
[0091] In response to a selection trigger operation of a target recommended search content in the search results page, the search results corresponding to the target recommended search content are switched and displayed on the search results page, where the target recommended search content is any recommended search content among the at least one recommended search content.
[0092] The selection triggering operation for the target recommended search content may specifically be a click operation on the target recommended search content, etc., which is not limited in this embodiment.
[0093] Specifically, if Figure 1d As shown in Module 2 of page d, various recommended search items are displayed. Users can trigger an action by selecting any of the recommended search items to obtain the corresponding search results. For example, users can click on the target recommended search item "Can milk and honey be consumed together?" to obtain the corresponding search results.
[0094] Optionally, in this embodiment, the step of “displaying a search result page in response to a search operation for the target content and when there is an association relationship between the content domains of the target content and historical search content” may include:
[0095] In response to a search operation for the target content, the first application state and the second application state of the target application meet preset search association conditions, and there is an association relationship between the content fields of the target content and the historical search content, a search result page is displayed, wherein the first application state is the application state of the target application when searching for the target content, and the second application state is the application state of the target application when searching for the historical search content.
[0096] The preset search association condition can be set according to actual circumstances and is not limited in this embodiment. Specifically, the preset search association condition can be: the target content and the historical search content are searched in the same application startup state of the target application, that is, the target content is searched after the historical search content is searched through the target application and the target application is not closed.
[0097] Optionally, in this embodiment, the search time corresponding to the target content is associated with the search time corresponding to the historical search content.
[0098] Among them, "the search time corresponding to the target content is associated with the search time corresponding to the historical search content" can specifically mean that the time difference between the search time corresponding to the target content and the search time corresponding to the historical search content is less than a preset value, and the preset value can be set according to actual conditions.
[0099] Optionally, in this embodiment, the search results include search sub-results of at least one content source type; and each of the search sub-results is arranged in the search results page according to the content source type.
[0100] The search results may have various content source types, for example, content source types may include authoritative organizations, experts, and ordinary user experience. Specifically, the arrangement of each search sub-result on the search results page may be set based on the content source type, for example, search sub-results from authoritative organizations may be arranged at the front, and search sub-results from ordinary user experience may be arranged at the back.
[0101] In a specific scenario, such as Figure 1d As shown in page d in , the search results page can include search sub-results of multiple content source types. According to the different content source types, the search results page can be divided into three modules. Specifically, module 1 is the encyclopedia knowledge area, module 2 is the recommended search content area, and module 3 is the collection of dry goods aggregated from the entire network.
[0102] Among them, the search sub-results in the encyclopedia knowledge area can be answers to the user's query questions based on authoritative knowledge, and the source can be specifically endorsed by an authoritative organization, or knowledge reviewed by tertiary doctors and relevant experts. In some embodiments, knowledge calculations will be performed in the answers to the knowledge questions on the search results page, and the text that hits the efficacy that the user is concerned about will be bolded and displayed. When the user switches different recommendation tags at the top of the search results page, the content in the search results page will also change accordingly. For example, the recommended way of eating will be recommended according to the efficacy selected by the user.
[0103] The recommended search content area recommends relevant content based on the user's query. In some embodiments, the relevance can also be calculated based on the recommended tags selected by the user, thereby recommending more accurate content.
[0104] Among them, the search sub-results in module 3 can specifically include experience sharing provided to users from multiple perspectives such as nutrition experts, traditional Chinese medicine, and user experience. Depending on the recommended tags selected by the user, the collection of dry goods will also have corresponding filter recommendation changes. For example, if the default recommended tag is moistening the lungs and relieving coughs, then the dry goods experience of moistening the lungs and relieving coughs will be recommended. If the user selects other effects that they want to know about at the top of the search results page, such as beauty and skin care, then this module will recommend dry goods experience of using honey for beauty and skin care to the user.
[0105] Optionally, in this embodiment, the step of “displaying a search result page in response to a search operation for the target content and when there is an association relationship between the content domains of the target content and historical search content” may include:
[0106] In response to a search operation for the target content, when there is an association relationship between the content domains of the target content and historical search content, obtaining search results for the target content in the target content domain;
[0107] For each content unit in the search result, determining a target content unit from the content units according to a similarity between the content unit and the target content domain;
[0108] The search results are displayed on a search result page, and the target content unit is highlighted.
[0109] If the search result is text, the content unit may be a word or a sentence, which is not limited in this embodiment.
[0110] Among them, the similarity between the content unit and the target content domain can be determined based on the vector distance between the semantic feature information of the content unit and the semantic feature information of the target content domain, and the target content unit can be selected from the content units based on the similarity. For example, the content unit with a similarity greater than a preset similarity can be determined as the target content unit; for example, the content units can be sorted according to the size of the similarity, such as sorting from large to small, and the first n content units in the sorted content units can be selected as the target content units.
[0111] There are many methods for highlighting the target content unit. For example, the target content unit may be highlighted by bolding or underlining the text, which is not limited in this embodiment.
[0112] Optionally, in this embodiment, before the step of “displaying a search result page in response to a search operation for the target content and when there is an association relationship between the content domains of the target content and historical search content”, the content processing method may further include:
[0113] In response to a search operation for the historical search content, displaying search results for at least one content field corresponding to the historical search content on a search results page, and storing historical content identification information corresponding to the historical search content;
[0114] The step of “displaying a search result page in response to a search operation for the target content and when there is an association relationship between the content domains of the target content and historical search content” may include:
[0115] In response to a search operation for the target content, when the target content identification information corresponding to the target content matches the historical content identification information, a search result page is displayed based on the target content identification information and the historical content identification information.
[0116] The target content identification information corresponding to the target content may specifically be the semantic feature information of the target content, and the historical content identification information corresponding to the historical search content may specifically be the semantic feature information of the historical search content, which is not limited in this embodiment. The target content identification information corresponding to the target content matches the historical content identification information, and specifically, the two may be semantically associated.
[0117] In a specific embodiment, if Figure 1e As shown, the interactive process of the content processing method of the present application is shown, which specifically includes: the user starts the target application and searches for historical search content through the target application, then the search results under at least one content field corresponding to the historical search content can be viewed on the search results page, that is, all search results corresponding to the historical search content. When the user does not close the target application and searches for the target content again through the target application, the content fields between the target content and the historical search content can be analyzed for correlation. If there is a correlation between the content fields between the target content and the historical search content, the search result content corresponding to the target content under the target content field can be obtained and displayed on the search results page for the user to browse and view. In some embodiments, the field identification control (specifically, the subdivision label) corresponding to the target content field can also be displayed on the search results page. The user can view the overall search results of the target content by closing the subdivision label, that is, the search results under all content fields corresponding to the target content, and the field identification control (also known as the subdivision label) corresponding to each content field can be displayed on the search results page. The user can view the corresponding search results under the selected subdivision label by clicking to switch other subdivision labels.
[0118] In a specific scenario, when a user searches for a question and browses content, the background will store the user's query-related words and browsed content. The scene corresponding to the recorded historical search content can be regarded as the previous search scene of the current search content. In one embodiment, the food field and the disease field can be regarded as related content fields. Specifically, when the user's latest search content is associated with the content of the previous search, the association calculation of the previous and subsequent search scenes can be triggered, such as Figure 1f The specific description is as follows:
[0119] 1. When a user initiates a search request for the first time in the target application (specifically, a browser), a new SessionCookie can be generated as the session identification information (id, identity document);
[0120] Among them, a Session cookie contains information stored in the temporary storage location of the browser and will be deleted after the session is completed or the browser is closed. This cookie can store the information input by the user. A Session cookie is also called a temporary cookie. Among them, Session refers to a series of interactions that occur on a website within a preset time period. The sesion analysis of search specifically refers to a series of behaviors from clicking the search input box of the browser to leaving the search.
[0121] 2. Match the query term corresponding to the user's first search request (which can be regarded as the historical search content in the above embodiment) with the disease list in the disease library (specifically, it can be determined by whether the disease name appears in the query term, and the first hit disease name is used as the disease label of the query term). If a disease label is extracted, it is stored in the preset KV library with the session identification information as the key and the disease label as the value, and then the regular search result content is displayed (that is, all the search results corresponding to the query term are displayed).
[0122] Among them, the KV library is specifically a key-value storage system, which can be a Remote Dictionary Server (Redis).
[0123] 3. If no disease label is extracted, the regular search result content can be directly displayed (the sorting of the search result content is only related to the query term), and the SessionCookie is returned to the browser with the result and stored, and the first search ends.
[0124] 4. When the user enters the search for the second time without closing the browser, the search request at this time contains a SessionCookie (if the user reopens the browser, the SessionCookie does not exist at this time, and it goes to step 1), and the SessionCookie is obtained as the session identification information.
[0125] 5. If the query term corresponding to the user's second search request (which can be regarded as the target content in the above embodiment) matches the ingredient library, first, the optional words in the query term (such as "of", "and", "have", etc.) can be replaced with empty strings, and then it is judged by regular expression whether the query term hits the form of key+tab, where key is the ingredient name, such as honey, and tab (label) is the efficacy, nature and flavor, suitable population, etc. The hit key can be used as the ingredient label corresponding to the query term.
[0126] 6. If the query term corresponding to the user's second search request matches the ingredient library but no ingredient label is extracted, the process returns to step 2 and matches the query term with the disease list in the disease library (specifically, the process may determine whether the disease name appears in the query term and use the first disease name found as the disease label for the query term). If a disease label is extracted, the session identifier is used as the key and the disease label is used as the value to store the data in the preset KV library. The regular search results are then displayed (i.e., all search results corresponding to the query term are displayed). At this point, the second search (case A) ends.
[0127] 7. If the query term corresponding to the user's second search request matches the ingredient library and the ingredient label is extracted, the disease label can be obtained from the preset KV library (which can be regarded as a preset mapping relationship set) using the session identifier as the key (i.e., obtaining the disease label stored in step 2);
[0128] 8. If no disease label is obtained from the preset KV library, the regular search results are returned (that is, all search results corresponding to the query term are displayed), and the second search (case B) ends.
[0129] 9. If the disease label is obtained from the preset KV library, the disease label and the ingredient label extracted in step 7 are used to query the es database for search results corresponding to the query term in the target content field (specifically, the intersection of the disease label and the ingredient label); if no corresponding results are found, the regular search results are returned (that is, all search results corresponding to the query term are displayed), and the second search (case C) ends at this time;
[0130] Elasticsearch (an open-source search framework) is a non-relational database and a near-real-time search platform. With only a slight delay between indexing a document and its availability, the ES database is specifically targeted for enterprise applications as a scalable, highly available, full-text search tool for real-time data analysis that utilizes the RESTful API (Application Programming Interface). RESTful (Representational State Transfer) is a design style and development approach for web applications.
[0131] 10. If the corresponding results are found in step 9, personalized recommendation results will be displayed, and the search results corresponding to the query terms in the target content field will be displayed on the search results page; at this time, the second search (case D) ends.
[0132] It should be noted that in the second search scenario, different users use the same query term to search, but because the content they browsed before is different (specifically, the content of the first search may be different), the search results and the ranking will be different.
[0133] As can be seen from the above, this embodiment can obtain the target content to be searched currently in the target application; in response to a search operation for the target content, and when there is an association relationship between the content fields of the target content and the historical search content, a search result page is displayed, and the search result page includes search results for the target content searched under the target content field, the historical search content is the content that has been searched through the target application in a historical time, and the target content field includes the content field that overlaps between the content field of the target content and the content field of the historical search content. This application can filter out search results under the target content field from all search results corresponding to the target content to be searched currently, based on the association relationship between the content fields of the historical search content and the target content to be searched currently. In this way, the historical search content can be combined to determine the content that the user really wants to search for, which is conducive to improving search efficiency.
[0134] According to the method described in the previous embodiment, the following will be further described in detail by taking the example of the content processing device being specifically integrated into a terminal.
[0135] The present application embodiment provides a content processing method, such as Figure 2 As shown, the specific process of the content processing method can be as follows:
[0136] 201. The terminal obtains target content to be searched in the target application.
[0137] Specifically, the target application may be a content search platform, and users may search for information through a search portal and a built-in search engine provided by the target application. For example, the target application may be a browser.
[0138] The target content specifically refers to the content to be searched currently, and its content type is not limited. For example, the target content can be text, audio, or image.
[0139] In a specific scenario, the target application is a browser, and the content currently entered by the user in the search input box of the browser can be regarded as the target content. When the user performs a search operation on the target content in the search input box, the target content can be used as the current content to be searched, and the corresponding search results can be obtained through the search engine. In some embodiments, the search operation can be an enter operation performed on the search input box; in other embodiments, the search operation can also be a triggering operation of a search control in the application page corresponding to the browser, and the triggering operation can be a click operation or a sliding operation. In response to the triggering operation of the search control, the browser can use the content in the current search input box as the target content to be searched, perform a related search based on the target content, and thus return the search result content to the user.
[0140] 202. When the terminal responds to a search operation for the target content and there is an association relationship between the content fields of the target content and the historical search content, the terminal displays a search result page, wherein the search result page includes search results for the target content under the target content field, the historical search content is content that has been searched for through the target application at a historical time, and the target content field includes content fields that overlap between the content field of the target content and the content field of the historical search content.
[0141] In this embodiment, the search results corresponding to the target content may include one or more content areas. This embodiment can filter the search results under multiple content areas corresponding to the target content based on historical search content, and combine the historical search content to filter out the search results that the user may actually want to obtain, thereby improving the accuracy of the search results; specifically, the content area corresponding to the current search content (specifically, the target content) and the content area corresponding to the historical search content can be determined as the target content area, and the search results corresponding to the target content under the target content area are returned and displayed to the user.
[0142] Among them, the historical search content can specifically be the historical content that has been searched through the target application, which can include search questions and corresponding search results. This embodiment does not strictly limit this. Specifically, the historical search content can be the content that was searched through the target application last time. The search scene corresponding to the historical search content can be regarded as the front-end search scene, and the search scene corresponding to the target content currently being searched can be regarded as the back-end search scene. Optionally, in some embodiments, after searching the historical search content, the search for the target content continues under the premise that the target application is not closed. The search scene corresponding to the historical search content can be regarded as the front-end search scene of the target content.
[0143] The content domain association relationship between the target content and the historical search content may specifically be that, in at least one content domain to which the target content belongs, there exists a content domain that is identical or similar to the content domain to which the historical search content belongs. If, in at least one content domain to which the target content belongs, there does not exist a content domain that is identical or similar to the content domain to which the historical search content belongs, then there is no content domain association relationship between the target content and the historical search content.
[0144] For example, in one embodiment, if the target content of the current search is "the effects of honey", the content areas to which the target content belongs may include "moistening the lungs and relieving coughs", "beautifying and nourishing the skin", and "moistening the intestines and promoting bowel movements", etc. Assuming that the historical search content is "how to relieve coughs", then in at least one content area to which the target content belongs, there is a content area similar to the content area to which the historical search content belongs - "moistening the lungs and relieving coughs". Therefore, it can be determined that there is a correlation relationship between the content areas of the target content and the historical search content.
[0145] Optionally, in this embodiment, the content processing method may further include:
[0146] In response to a search operation for the target content, when there is no association relationship between the content fields of the target content and historical search content, a search result page is displayed, which includes search result content in at least one content field corresponding to the target content.
[0147] When there is no correlation between the content fields of the target content and the historical search content, if the target content is searched, the search results under all content fields corresponding to the target content may be displayed.
[0148] Optionally, in this embodiment, the search result page includes a domain identification control corresponding to the target content domain, and the content processing method may further include:
[0149] In response to a closing operation on a domain identification control corresponding to the target content domain, obtaining search results under at least one content domain corresponding to the target content;
[0150] The search result page is updated according to the search results under the at least one content field, and a field identification control corresponding to the at least one content field is displayed on the updated search result page.
[0151] Optionally, in this embodiment, the content processing method may further include:
[0152] In response to a selection triggering operation on a domain identification control corresponding to the at least one content domain, the search results of the target content in the selected content domain are switched and displayed on the search result page.
[0153] The triggering operation for selecting the domain identification control may be a click operation, etc. The user may view the search results under each recommended tag by triggering the domain identification control corresponding to the content domain on the search results page.
[0154] Optionally, in this embodiment, the step of “displaying a search result page in response to a search operation for the target content and when there is an association relationship between the content domains of the target content and historical search content” may include:
[0155] In response to a search operation for the target content, the first application state and the second application state of the target application meet preset search association conditions, and there is an association relationship between the content fields of the target content and the historical search content, a search result page is displayed, wherein the first application state is the application state of the target application when searching for the target content, and the second application state is the application state of the target application when searching for the historical search content.
[0156] The preset search association condition can be set according to actual circumstances and is not limited in this embodiment. Specifically, the preset search association condition can be: the target content and the historical search content are searched in the same application startup state of the target application, that is, the target content is searched after the historical search content is searched through the target application and the target application is not closed.
[0157] Optionally, in this embodiment, the search time corresponding to the target content is associated with the search time corresponding to the historical search content.
[0158] Optionally, in this embodiment, the search results include search sub-results of at least one content source type; and each of the search sub-results is arranged in the search results page according to the content source type.
[0159] The search results may have various content source types, for example, content source types may include authoritative organizations, experts, and ordinary user experience. Specifically, the arrangement of each search sub-result on the search results page may be set based on the content source type, for example, search sub-results from authoritative organizations may be arranged at the front, and search sub-results from ordinary user experience may be arranged at the back.
[0160] Optionally, in this embodiment, the step of “displaying a search result page in response to a search operation for the target content and when there is an association relationship between the content domains of the target content and historical search content” may include:
[0161] In response to a search operation for the target content, when there is an association relationship between the content domains of the target content and historical search content, obtaining search results for the target content in the target content domain;
[0162] For each content unit in the search result, determining a target content unit from the content units according to a similarity between the content unit and the target content domain;
[0163] The search results are displayed on a search result page, and the target content unit is highlighted.
[0164] Among them, the similarity between the content unit and the target content domain can be determined based on the vector distance between the semantic feature information of the content unit and the semantic feature information of the target content domain, and the target content unit can be selected from the content units based on the similarity. For example, the content unit with a similarity greater than a preset similarity can be determined as the target content unit; for example, the content units can be sorted according to the size of the similarity, such as sorting from large to small, and the first n content units in the sorted content units can be selected as the target content units.
[0165] There are many methods for highlighting the target content unit. For example, the target content unit may be highlighted by bolding or underlining the text, which is not limited in this embodiment.
[0166] As can be seen from the above, this embodiment can obtain the target content currently to be searched in the target application through the terminal; in response to the search operation for the target content, and when there is an association relationship between the content fields of the target content and the historical search content, a search result page is displayed, and the search result page includes the search result content for the target content searched under the target content field, the historical search content is the content that has been searched through the target application in the past, and the target content field includes the content field that overlaps between the content field of the target content and the content field of the historical search content. This application can filter out the search results under the target content field from all search results corresponding to the target content currently to be searched based on the association relationship between the content fields of the historical search content and the target content currently to be searched. In this way, the historical search content can be combined to determine the content that the user really wants to search for, which is conducive to improving search efficiency.
[0167] In order to better implement the above method, the embodiment of the present application also provides a content processing device, such as Figure 3 As shown, the content processing device may include an acquisition unit 301 and a presentation unit 302, as follows:
[0168] (1) Acquisition unit 301;
[0169] The acquisition unit is used to acquire the target content to be searched in the target application.
[0170] (2) display unit 302;
[0171] A display unit is used to display a search result page in response to a search operation for the target content and when there is an association relationship between the content fields of the target content and the historical search content, the search result page includes search results for the target content searched under the target content field, the historical search content is content searched through the target application at a historical time, and the target content field includes content fields that overlap between the content field of the target content and the content field of the historical search content.
[0172] Optionally, in some embodiments of the present application, the content processing device may further include a search result display unit as follows:
[0173] The search result display unit is configured to display a search result page in response to a search operation for the target content and when there is no association relationship between the content fields of the target content and the historical search content, the search result page including search results under at least one content field corresponding to the target content.
[0174] Optionally, in some embodiments of the present application, the search result page includes a domain identification control corresponding to the target content domain, and the content processing apparatus may further include an acquisition unit and an update unit as follows:
[0175] The acquiring unit is configured to acquire search results in at least one content domain corresponding to the target content in response to a closing operation of a domain identification control corresponding to the target content domain;
[0176] An updating unit is configured to update the search result page according to the search results under the at least one content field, and display a field identification control corresponding to the at least one content field on the updated search result page.
[0177] Optionally, in some embodiments of the present application, the content processing device may further include a first switching display unit as follows:
[0178] The first switching display unit is configured to switch and display the search results of the target content in the selected content field on the search result page in response to a selection trigger operation of a field identification control corresponding to the at least one content field.
[0179] Optionally, in some embodiments of the present application, the search result page includes at least one recommended search content; the recommended search content is determined based on the target content and the selected content field.
[0180] Optionally, in some embodiments of the present application, the content processing device may further include a second switching display unit as follows:
[0181] The second switching display unit is used to switch and display the search results corresponding to the target recommended search content on the search results page in response to a selection trigger operation of the target recommended search content in the search results page, where the target recommended search content is any recommended search content among the at least one recommended search content.
[0182] Optionally, in some embodiments of the present application, the display unit can be specifically used to display a search results page in response to a search operation for the target content, the first application state and the second application state of the target application meet preset search association conditions, and there is an association relationship between the content domains of the target content and the historical search content, wherein the first application state is the application state of the target application when searching for the target content, and the second application state is the application state of the target application when searching for the historical search content.
[0183] Optionally, in some embodiments of the present application, the search results include search sub-results of at least one content source type; and each of the search sub-results is arranged in the search results page according to the content source type.
[0184] Optionally, in some embodiments of the present application, the presentation unit may include a content acquisition subunit, a determination subunit, and a presentation subunit, as follows:
[0185] The content acquisition subunit is configured to, in response to a search operation for the target content and when there is an association relationship between the content domains of the target content and the historical search content, acquire search results for the target content in the target content domain;
[0186] determining a sub-unit for determining a target content unit from each content unit in the search result according to a similarity between the content unit and the target content domain;
[0187] The display subunit is used to display the search results on the search result page and highlight the target content unit.
[0188] Optionally, in some embodiments of the present application, the display unit may include a storage subunit and a search result display subunit, as follows:
[0189] The storage subunit is configured to, in response to a search operation for the historical search content, display search results for at least one content field corresponding to the historical search content on a search results page, and store historical search content identification information corresponding to the historical search content;
[0190] The search result display subunit is configured to display a search result page based on the target content identification information and the historical content identification information in response to a search operation for the target content and when the target content identification information corresponding to the target content matches the historical content identification information.
[0191] As can be seen from the above, this embodiment can obtain the target content currently to be searched in the target application through the acquisition unit 301; and display the search result page in response to the search operation for the target content and when there is an association relationship between the content fields of the target content and the historical search content, through the display unit 302. The search result page includes the search result content for the target content searched under the target content field, and the historical search content is the content that has been searched through the target application in the past. The target content field includes the content field that overlaps between the content field of the target content and the content field of the historical search content. The present application can filter out the search results under the cross-content field from all search results corresponding to the target content currently to be searched based on the association relationship between the content field between the historical search content and the target content currently to be searched. In this way, the historical search content can be combined to determine the content that the user really wants to search for, which is conducive to improving search efficiency.
[0192] The present application also provides an electronic device, such as Figure 4 , which shows a schematic diagram of the structure of an electronic device involved in an embodiment of the present application. The electronic device may be a terminal or a server, etc. Specifically:
[0193] The electronic device may include one or more processing core processors 401, one or more computer-readable storage media memories 402, a power supply 403, an input unit 404 and other components. Those skilled in the art will understand that Figure 4 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently.
[0194] Processor 401 is the control center of the electronic device. It connects all parts of the electronic device using various interfaces and circuits. It performs various functions of the electronic device and processes data by running or executing software programs and / or modules stored in memory 402 and accessing data stored in memory 402. Optionally, processor 401 may include one or more processing cores. Preferably, processor 401 may integrate an application processor and a modem processor. The application processor primarily handles the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into processor 401.
[0195] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
[0196] The electronic device also includes a power supply 403 for supplying power to various components. Preferably, the power supply 403 can be logically connected to the processor 401 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The power supply 403 can also include one or more DC or AC power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and other arbitrary components.
[0197] The electronic device may further include an input unit 404, which may be configured to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0198] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 401 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 401 will run the application programs stored in the memory 402 to implement various functions as follows:
[0199] Obtain the target content currently to be searched in the target application; in response to a search operation for the target content, and when there is an association relationship between the content fields of the target content and the historical search content, display a search result page, wherein the search result page includes search result content for the target content searched under the target content field, the historical search content is content that has been searched through the target application in historical time, and the target content field includes content fields that overlap between the content field of the target content and the content field of the historical search content.
[0200] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.
[0201] As can be seen from the above, this embodiment can obtain the target content to be searched currently in the target application; in response to a search operation for the target content, and when there is an association relationship between the content fields of the target content and the historical search content, a search result page is displayed, and the search result page includes the search result content for the target content searched under the target content field, the historical search content is the content that has been searched through the target application in a historical time, and the target content field includes the content field that overlaps between the content field of the target content and the content field of the historical search content. This application can filter out the search results under the target content field from all search results corresponding to the target content to be searched currently, based on the association relationship between the content fields of the historical search content and the target content to be searched currently. In this way, the historical search content can be combined to determine the content that the user really wants to search for, which is conducive to improving search efficiency.
[0202] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be accomplished by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0203] To this end, an embodiment of the present application provides a computer-readable storage medium storing a plurality of instructions that can be loaded by a processor to execute the steps of any of the content processing methods provided in the embodiments of the present application. For example, the instructions can execute the following steps:
[0204] Obtain the target content currently to be searched in the target application; in response to a search operation for the target content, and when there is an association relationship between the content fields of the target content and the historical search content, display a search result page, wherein the search result page includes search result content for the target content searched under the target content field, the historical search content is content that has been searched through the target application in historical time, and the target content field includes content fields that overlap between the content field of the target content and the content field of the historical search content.
[0205] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.
[0206] The computer-readable storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0207] Since the instructions stored in the computer-readable storage medium can execute the steps in any content processing method provided in the embodiments of the present application, the beneficial effects that can be achieved by any content processing method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0208] According to one aspect of the present application, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in various optional implementations of the aforementioned content processing aspects.
[0209] The above is a detailed introduction to a content processing method and related equipment provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, based on the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A content processing method, characterized in that: include: Get the target content to be searched in the target application; Obtain historical search content searched through the target application; When there is an association relationship between the content domain corresponding to the target content and the content domain corresponding to the historical search content, determining the content domain that overlaps between the content domain of the target content and the content domain of the historical search content as the target content domain; In response to a search operation for the target content, searching the target content based on the determined target content domain to obtain search results; A search result page including the search results is displayed.
2. The method according to claim 1, characterized in that The search result page includes search results in at least one content area corresponding to the target content.
3. The method according to claim 1, characterized in that The search result page includes a domain identification control corresponding to the target content domain, and the method further includes: In response to a closing operation on a domain identification control corresponding to the target content domain, obtaining search results under at least one content domain corresponding to the target content; The search result page is updated according to the search results under the at least one content field, and a field identification control corresponding to the at least one content field is displayed on the updated search result page.
4. The method according to claim 3, characterized in that The method further comprises: In response to a selection triggering operation on a domain identification control corresponding to the at least one content domain, the search results of the target content in the selected content domain are switched and displayed on the search result page.
5. The method according to claim 4, characterized in that The search result page includes at least one recommended search content; the recommended search content is determined based on the target content and the selected content field.
6. The method according to claim 5, characterized in that The method further comprises: In response to a selection trigger operation of a target recommended search content in the search results page, the search results corresponding to the target recommended search content are switched and displayed on the search results page, where the target recommended search content is any recommended search content among the at least one recommended search content.
7. The method according to claim 1, characterized in that The display includes a search result page of the search result, including: Acquire a first application state of the target application, where the first application state is the application state of the target application when searching for the target content; Acquire a second application state of the target application, where the second application state is the application state of the target application when searching for the historical search content; When the first application state and the second application state of the target application meet a preset search association condition, a search result page including the search result is displayed.
8. The method according to claim 1, characterized in that The search results include search sub-results of at least one content source type; each of the search sub-results is arranged in the search result page according to the content source type.
9. The method according to claim 1, characterized in that The display includes a search result page of the search result, including: For each content unit in the search result, determining a target content unit from the content units according to a similarity between the content unit and the target content domain; The search results are displayed on a search result page, and the target content unit is highlighted.
10. The method according to claim 1, characterized in that Before displaying the search result page including the search result, the method further includes: In response to a search operation for the historical search content, displaying search results for at least one content field corresponding to the historical search content on a search results page, and storing historical content identification information corresponding to the historical search content; The display includes a search result page of the search result, including: When the target content identification information corresponding to the target content matches the historical content identification information, a search result page is displayed based on the target content identification information and the historical content identification information.
11. A content processing device, characterized in that: include: An acquisition unit, configured to acquire the target content currently to be searched in the target application; A display unit, configured to obtain historical search content searched through the target application; When there is an association relationship between the content domain corresponding to the target content and the content domain corresponding to the historical search content, determining the content domain that overlaps between the content domain of the target content and the content domain of the historical search content as the target content domain; In response to a search operation for the target content, the target content is searched based on the determined target content domain to obtain search results; and a search result page including the search results is displayed.
12. An electronic device, characterized in that: The invention comprises a memory and a processor; the memory stores an application program, and the processor is used to run the application program in the memory to perform the operations in the content processing method according to any one of claims 1 to 10.
13. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the content processing method according to any one of claims 1 to 10.
14. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the steps of the content processing method according to any one of claims 1 to 10 are implemented.
Citation Information
Patent Citations
Search method and related device
CN108874827A
Information display method and device and information search method and device
CN111859195A
Information query method and device, electronic equipment and computer readable medium
CN112948540A