Information search method and related apparatus
Patent Information
- Application Number
- HK42023081781
- Authority / Receiving Office
- HK · HK
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-10-31
- Publication Date
- 2026-09-11
AI Technical Summary
When viewing media resources, users need to interrupt their viewing to manually enter search text to search for information, which affects the viewing experience and is inefficient.
A search control is displayed in the media resource display interface, showing candidate search texts related to the content. The search operation is triggered by the control, and a combined display interface is displayed to show the media resources and search results simultaneously.
It enables users to directly search for information related to media resources without interrupting their viewing experience, thus improving information retrieval efficiency and user experience.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet technology, and in particular to an information search method and related apparatus. Background Technology
[0002] In the internet age, accessing fragmented information anytime, anywhere has become a common way for many people to obtain information. In a common application scenario, when viewing media resources (such as video resources, image resources, text resources, etc.), an object may be very interested in the content mentioned within. If the object wants to learn more about the content, it needs to leave the current media resource display interface and search for that content using a search application.
[0003] In the above application scenarios, if an object wants to immediately learn more information related to the content mentioned in the currently viewed media resource, it needs to interrupt the viewing of that media resource, which will affect the object's viewing experience. In addition, the process of triggering a search operation is too cumbersome. It requires exiting the current media resource display interface and then manually entering the search text in the search application to trigger the search operation, resulting in low information retrieval efficiency. Summary of the Invention
[0004] This application provides an information search method and related apparatus that can support a user to simultaneously search for information related to a media resource without affecting the user's viewing experience of the media resource, and improve the efficiency of information acquisition.
[0005] In view of the above, the first aspect of this application provides an information search method, the method comprising:
[0006] A search control is displayed in the display interface of the target media resource; the search control includes candidate search text, which is associated with the content of the target media resource.
[0007] Obtain the search operation triggered by the search control on the candidate search text;
[0008] In response to the search operation, a combined display interface including a resource display area and a search result display area is displayed. The target media resource is displayed in the resource display area, and the search results obtained based on the candidate search text are displayed in the search result display area.
[0009] A second aspect of this application provides an information search method, the method comprising:
[0010] Acquire key content related to target media resources;
[0011] Search for search texts that match the key content, and determine candidate search texts corresponding to the key content based on the search texts that match the key content.
[0012] Send the candidate search text to the terminal device that triggers the display of the target media resource, so as to display a search control including the candidate search text in the display interface of the target media resource;
[0013] The system receives a search request sent by the terminal device; the search request is initiated by the search control targeting the candidate search text.
[0014] In response to the search request, search results related to the candidate search text are searched, and the search results are returned to the terminal device to display the search results in the search results display area of the combined display interface, which also includes a resource display area displaying the target media resource.
[0015] A third aspect of this application provides an information search device, the device comprising:
[0016] The display module is used to display a search control in the display interface of the target media resource; the search control includes candidate search text, which is associated with the content of the target media resource.
[0017] An interaction module is used to obtain search operations triggered by the search control on the candidate search text;
[0018] The display module is also used to respond to the search operation by displaying a combined display interface that includes a resource display area and a search result display area, displaying the target media resource in the resource display area, and displaying the search results found based on the candidate search text in the search result display area.
[0019] A fourth aspect of this application provides an information search device, the device comprising:
[0020] The content acquisition module is used to acquire key content related to the target media resources;
[0021] The search module is used to search for search text that matches the key content, and to determine candidate search text corresponding to the key content based on the search text that matches the key content.
[0022] The sending module is used to send the candidate search text to the terminal device that triggers the display of the target media resource, so as to display a search control including the candidate search text in the display interface of the target media resource;
[0023] A receiving module is used to receive a search request sent by the terminal device; the search request is initiated by the search control targeting the candidate search text;
[0024] The search module is used to respond to the search request and search for search results related to the candidate search text.
[0025] The sending module is further configured to return the search results to the terminal device so as to display the search results in the search results display area of the combined display interface, wherein the combined display interface further includes a resource display area displaying the target media resource.
[0026] A fifth aspect of this application provides an electronic device, the device including a processor and a memory:
[0027] The memory is used to store computer programs;
[0028] The processor is configured to execute the steps of the information search method described in the first or second aspect, according to the computer program.
[0029] A sixth aspect of this application provides a computer-readable storage medium for storing a computer program for performing the steps of the information search method described in the first or second aspect above.
[0030] A seventh aspect of this application provides a 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 steps of the information search method described in the first or second aspect.
[0031] As can be seen from the above technical solutions, the embodiments of this application have the following advantages:
[0032] This application provides an information search method that supports simultaneous viewing of media resources and searching for information related to those resources. Specifically, in this application, a search control supporting triggering a search operation is provided on the display interface of the target media resource. This search control also provides candidate search text related to the content of the target media resource. This allows viewers of the target media resource to directly trigger a search for information related to its content through the search control, without needing to manually input search text using a search application, significantly improving information retrieval efficiency. Furthermore, in response to a search operation triggered by the search control, a combined display interface is displayed, including a resource display area and a search result display area. The resource display area shows the target media resource, and the search result display area shows the search results obtained based on the candidate search text. This allows viewers to simultaneously view the target media resource and search results through this combined display interface without interrupting the viewing of the target media resource, improving the viewing experience. Attached Figure Description
[0033] Figure 1 This is a schematic diagram illustrating an application scenario of the information search method provided in the embodiments of this application;
[0034] Figure 2 A flowchart illustrating the information search method on the terminal device side provided in this application embodiment;
[0035] Figure 3 A schematic diagram of the display interface of the target media resource provided in the embodiments of this application;
[0036] Figure 4 A schematic diagram of a combined display interface provided in an embodiment of this application;
[0037] Figure 5 A schematic diagram of another combined display interface provided in an embodiment of this application;
[0038] Figure 6 A schematic diagram of yet another combined display interface provided in an embodiment of this application;
[0039] Figure 7 A flowchart illustrating the server-side information search method provided in this application embodiment;
[0040] Figure 8 A schematic diagram illustrating the implementation process of the media resource playback service provided in this application embodiment;
[0041] Figure 9 A schematic diagram illustrating an exemplary list storage relationship provided for embodiments of this application;
[0042] Figure 10 A schematic diagram illustrating the background operation logic of the terminal device provided in the embodiments of this application;
[0043] Figure 11 This is a schematic diagram of the structure of an information search device provided in an embodiment of this application;
[0044] Figure 12 A schematic diagram of another information search device provided in an embodiment of this application;
[0045] Figure 13 This is a schematic diagram of the structure of the terminal device provided in the embodiments of this application;
[0046] Figure 14 This is a schematic diagram of the server structure provided in an embodiment of this application. Detailed Implementation
[0047] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.
[0048] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0049] To facilitate users in searching for information related to media resources while viewing them, without affecting the viewing experience, this application provides an information search method.
[0050] In this information search method, a search control is displayed on the target media resource's display interface. This search control includes candidate search text, which is associated with the content of the target media resource. After the object receives a search operation triggered by the search control based on the candidate search text, the system can respond to the search operation by displaying a combined display interface that includes both a resource display area and a search results display area. The target media resource continues to be displayed in the resource display area, while the search results obtained based on the candidate search text are displayed in the search results display area.
[0051] The aforementioned information search method provides a search control within the target media resource's display interface, supporting search triggering operations. This search control also provides candidate search text related to the content of the target media resource. This allows viewers of the target media resource to directly trigger searches for information related to its content via the search control, eliminating the need for them to manually input search text using a separate search application, significantly improving information retrieval efficiency. Furthermore, in response to a search operation triggered by the search control, the method displays a combined display interface that includes both a resource display area and a search results display area. The resource display area shows the target media resource, while the search results display area shows the results obtained based on the candidate search text. This combined display interface allows viewers to simultaneously view both the target media resource and the search results without interrupting their viewing of the target media resource, enhancing the viewing experience.
[0052] It should be understood that the information search method provided in this application embodiment can be applied to electronic devices with display functions, such as terminal devices, including but not limited to mobile phones, computers, intelligent voice interaction devices, smart home appliances, vehicle terminals, etc.
[0053] To facilitate understanding of the information search method provided in the embodiments of this application, the application scenarios to which this information search method is applicable will be described below by way of example.
[0054] See Figure 1 , Figure 1 This is a schematic diagram illustrating an application scenario of the information search method provided in an embodiment of this application. For example... Figure 1 As shown, this application scenario includes a terminal device 110 and a server 120, which can communicate via a network. The terminal device 110 executes the terminal device-side information search method provided in this embodiment, and the server 120 executes the server-side information search method provided in this embodiment.
[0055] In practical applications, when an object views a target media resource through a terminal device 110, the terminal device 110 will display a search control on the display interface of the target media resource. The search control includes candidate search text, which is associated with the content of the target media resource.
[0056] It should be noted that the target media resource can be any type of media resource, such as dynamic media resources (including but not limited to video resources, audio resources, and autoplaying text resources) or static media resources (including but not limited to image resources and text resources). When the target media resource is a dynamic media resource, the candidate search text included in the search control can change accordingly as the target media resource is played, thus associating the candidate search text included in the search control with the currently playing key content in the target media resource. When the target media resource is a static media resource, if the target media resource involves a single key content, the candidate search text included in the search control can be associated with that key content. If the target media resource involves multiple key contents, the candidate search text included in the search control can be switched periodically, that is, the search control displays the candidate search text associated with each key content.
[0057] It should be noted that the aforementioned candidate search texts are predetermined by the server 120. Specifically, the server 120 can obtain the key content involved in the target media resource, then search for search texts that match the key content, and determine the candidate search texts corresponding to the key content based on the searched search texts that match the key content, and send the candidate search texts to the terminal device 110, so that when the terminal device 110 displays the target media resource, a search control including the candidate search texts is displayed in the display interface of the target media resource.
[0058] If terminal device 110 receives a search operation triggered by an object using a search control targeting candidate search text, it can generate a search request and send it to server 120. This search request may include the candidate search text. After receiving the search request from terminal device 110, server 120 can respond to the search request, invoke the search engine to search for search results related to the candidate search text, and then send the search results to terminal device 110.
[0059] It should be noted that the search results here can be any form of search results based on the candidate search text, such as web page search results, video search results, text search results, image search results, etc. This application does not impose any restrictions on the form of the search results.
[0060] After receiving the search results sent by the server 120, the terminal device 110 can display a combined display interface that includes both a resource display area and a search results display area. The target media resource continues to be displayed in the resource display area, while the search results sent by the server 120 based on the candidate search text are displayed in the search results display area. In this way, the user can simultaneously view the target media resource and more information related to the content of the target media resource through this combined display interface; that is, they can directly obtain more information related to the target media resource without interrupting the viewing of the target media resource.
[0061] It should be understood that Figure 1 The application scenarios shown are merely examples. In practical applications, the information search method provided in this application embodiment can be applied not only to the above scenarios but also to other scenarios. No limitation is made here on the applicable application scenarios of the information search method provided in this application embodiment.
[0062] The following describes in detail the terminal device-side information search method and the server-side information search method provided in this application through method embodiments.
[0063] See Figure 2 , Figure 2 This is a flowchart illustrating an information search method on the terminal device side provided in an embodiment of this application. The execution subject of this method is the terminal device. Figure 2 As shown, this information search method includes the following steps:
[0064] Step 201: Display a search control in the display interface of the target media resource; the search control includes candidate search text, which is associated with the content of the target media resource.
[0065] In practical applications, in response to a viewing operation triggered by an object targeting a target media resource, the terminal device can display the display interface of the target media resource. In this embodiment, the terminal device also displays a search control in the display interface of the target media resource, and the search control includes candidate search text, which is associated with the content related to the target media resource.
[0066] It should be noted that the aforementioned target media resources can be any form of media resource. For example, the target media resource can be a target dynamic media resource, which includes, but is not limited to, video resources, audio resources, and automatically playing text resources (such as automatically turning e-books, subtitles that play automatically along with audio playback, etc.); the target media resource can also be a target static media resource, which includes, but is not limited to, image resources and non-automatically playing text resources; this application does not impose any limitations on the form of the target media resource.
[0067] The display interface of the target media resource can be understood as the details page of the target media resource. For example, when the target media resource is a target dynamic media resource, the display interface should be the playback interface of that target dynamic media resource; for instance, when the target dynamic media resource is a video resource, the display interface should be the video resource playback interface; when the target dynamic media resource is an audio resource, the display interface should be the audio resource playback interface, such as a lyrics display interface; when the target dynamic resource is an automatically turning e-book resource, the display interface should be an e-book reading interface. For example, when the target media resource is a target static media resource, the display interface should be the display interface of that target static media resource, such as an image display interface, a text display interface, etc. This application does not impose any limitations on the display interface of the target media resource.
[0068] It should be understood that in practical applications, an object can trigger the display of the target media resource's interface in the following ways: First, the object can trigger a search for specific content through a search application. In response to this search operation, the terminal device can display search results related to that specific content. If the search results include the target media resource, the object can trigger a details viewing operation for that target media resource, triggering the terminal device to display the target media resource's interface. Second, the object can trigger the viewing of the target media resource through a specific application (such as a video player, audio player, e-book reader, etc.) that provides a certain type of resource (the resource type to which the target media resource belongs). In response to this viewing operation, the terminal device can display the target media resource's interface. Of course, other methods can also be used to trigger the display of the target media resource's interface. This application does not impose any limitations on the methods used to trigger the display of the target media resource's interface.
[0069] The search control in the display interface of the target media resource is a control that supports triggering a search operation, such as a search box. This application does not limit the appearance of the search control. In the embodiments of this application, the search control includes candidate search text, which is search text related to the content of the target media resource; for example, when the target media resource is a video resource, the candidate search text may be search text related to the content of the video resource (such as video subtitles, video frames, etc.); or, for example, when the target media resource is a text resource, the candidate search text may be search text related to the content of the text resource (such as keywords in the text); this application does not limit the specific content of the candidate search text.
[0070] In one possible implementation, when the target media resource is a target dynamic media resource, the terminal device can display a search control on the display interface of the target dynamic media resource when the target dynamic media resource is played to a target time point. The candidate search text included in the search control is associated with the content played by the target dynamic media resource at the target time point.
[0071] Specifically, when the target media resource is a target dynamic media resource, the terminal device can automatically display a search control in the display interface of the target dynamic media resource when the target dynamic media resource plays to the key content (i.e., the target time point), and display candidate search text related to the key content in the search control.
[0072] Taking video resources as an example of target dynamic media resources, if the video resource is detected to have reached a target time point (i.e., the time point when key content appears in the video resource) during playback on the terminal device, a search control will be automatically displayed on the playback interface of the video resource. Figure 3 These are two exemplary diagrams illustrating the display of a search control in a video resource playback interface. Figure 3 Image (a) shows how the search control is displayed when a video resource is played through a video window. Figure 3 Figure (b) illustrates how the search control is displayed when the video resource is played in full-screen mode. It should be understood that when the target media resource is another type of target dynamic media resource, the terminal device may also use the corresponding method to display the search control in the display interface of the target dynamic media resource. This application does not limit the display method of the search control in any way.
[0073] In this way, when the target dynamic media resource is played to a target time point involving key content, a search control containing candidate search text associated with that key content is automatically displayed. This allows viewers to trigger an instant search for the currently playing content of the target dynamic media resource through the search control, further improving information search efficiency.
[0074] Furthermore, when the target media resource is a target dynamic media resource, the candidate search text displayed in the search control can also change accordingly as the target dynamic media resource is played. That is, when the target dynamic media resource plays from the first target time point to the second target time point, the candidate search text included in the search control can be adjusted. The candidate search text before adjustment is associated with the content played by the target dynamic media resource at the first target time point, and the candidate search text after adjustment is associated with the content played by the target dynamic media resource at the second target time point.
[0075] Specifically, a target dynamic media resource may include multiple target time points, and the number of target time points is related to the amount of key content involved in the target dynamic media resource. When the target dynamic media resource plays from the first target time point to the second target time point, the terminal device can adjust the candidate search text displayed in the search control. That is, the candidate search text originally associated with the key content involved in the first target time point is adjusted to the candidate search text associated with the key content involved in the second target time point, thereby facilitating the viewer to trigger a search operation for the key content mentioned at the corresponding target time point.
[0076] Taking video resources as an example, let's assume that the video resource includes three target time points arranged in chronological order: the 30th second, the 100th second, and the 150th second. When the video resource plays to the 30th second, the terminal device automatically displays a search control on the playback interface. The candidate search text included in the search control is related to the content mentioned at the 30th second of the video resource. When the video resource plays to the 100th second, the terminal device adjusts the candidate search text included in the search control to make it related to the content mentioned at the 100th second of the video resource. When the video resource plays to the 150th second, the terminal device adjusts the candidate search text included in the search control to make it related to the content mentioned at the 150th second of the video resource. It should be understood that, in the above example, from the 30th to the 100th second of the video resource, candidate search text related to the content mentioned in the 30th second can be continuously displayed in the search control; from the 100th to the 150th second of the video resource, candidate search text related to the content mentioned in the 100th second can be continuously displayed in the search control; and after the 150th second of the video resource, candidate search text related to the content mentioned in the 150th second can be continuously displayed in the search control.
[0077] In this way, during the playback of the target dynamic media resource, the candidate search text provided in the search control is automatically adjusted in sync with the playback of the target dynamic media resource, so that the provided candidate search text is relevant to the content played by the target dynamic media resource in real time. This makes it convenient for viewers to trigger an instant search for key content of interest in the target dynamic media resource, further improving the efficiency of information acquisition.
[0078] When the target media resource is a target dynamic media resource, the candidate search text in the search control and the target time point for displaying each candidate search text can be determined in the following way: Based on the playback content at each time point in the target dynamic media resource, determine the key content and the time point in which the key content appears in the target dynamic media resource; for each key content, search for search text that matches the key content; based on the searched search text, determine the candidate search text corresponding to the key content, and determine the time point in which the key content appears in the target dynamic media resource as the target time point for displaying the candidate search text.
[0079] Specifically, the terminal device can analyze and process the content played at various points in time within the target dynamic media resource to extract key content and determine the time points when the key content appears in the target dynamic media resource. Taking video resources as an example, the terminal device can analyze the subtitle text of the video resource to extract keywords as the aforementioned key content. The time point when the subtitle text containing the keyword appears in the video resource is the time point when the key content appears. Alternatively, the terminal device can use Optical Character Recognition (OCR) technology to recognize the video frames in the video resource to obtain the text content in the video resource, and then analyze the text content to extract key content. The time point when the video frame containing the key content appears in the video resource is the time point when the key content appears. Or, the terminal device can use image recognition technology to recognize the video frames in the video resource to determine the key content involved in each frame of the video, and determine the time point when the video frame containing the key content appears in the video resource as the time point when the key content appears. It should be understood that for other types of target dynamic media resources, terminal devices can also use corresponding methods to extract key content from them, and this application does not impose any restrictions on the method of extracting key content.
[0080] As an example, after a terminal device extracts key content from a target dynamic media resource, it can send the extracted key content to the search engine backend. Upon receiving the key content, the search engine backend can match each key content with its search knowledge base; that is, for each key content, it determines the degree of matching between it and the search texts in the search knowledge base. If the degree of matching between a key content and a search text exceeds a preset matching threshold, then the key content is determined to match the search text, and thus the search text is identified as a candidate search text corresponding to that key content. When the degree of matching between a key content and multiple search texts all exceeds the preset matching threshold, the search text with the highest matching degree is identified as the candidate search text corresponding to that key content. Conversely, if the degree of matching between a key content and all search texts in the search knowledge base is below the preset matching threshold, then the key content is determined not to match any of the search texts, meaning that no corresponding candidate search text exists for that key content. For key content with candidate search text, the search engine backend can construct a correspondence between the key content and the candidate search text, and return the correspondence to the terminal device. This allows the terminal device to display the candidate search text corresponding to the key content in the search control when it detects that the target dynamic media resource has played to the point where the key content appears.
[0081] It should be noted that the search knowledge base is a database used to store search text, which is text frequently searched through the search engine's backend.
[0082] As another example, after the terminal device extracts key content from the target dynamic media resource, it can send the extracted key content to the search engine backend. Upon receiving the key content, the search engine backend can search the entire network for search text matching each key content, and then determine the candidate search text corresponding to that key content based on the search results.
[0083] Because web-wide search covers a wide range, in many cases, the search engine backend can retrieve multiple search texts matching a single key content. In this situation, the search engine backend can determine the candidate search texts corresponding to the key content from the retrieved search texts using any of the following methods:
[0084] The first method involves obtaining the search popularity of each of these search texts and identifying the search text with the highest search popularity as the candidate search text for the given keyword. Specifically, each search text typically has a corresponding search popularity, usually determined by the number of times it is searched online. It should be understood that the more times a search text is searched, the higher its search popularity. In this method, the search engine backend can directly identify the search text with the highest search popularity as the candidate search text for the given keyword.
[0085] The second method involves, for each search text, obtaining the search content associated with that search text and determining the number of search contents associated with it; then, determining the evaluation score of the search text based on the quality rating score of the search content associated with it and the number of search contents associated with it; and finally, identifying the search text with the highest evaluation score as the candidate search text corresponding to the key content.
[0086] Specifically, for each search text matching a specific keyword, the search engine backend can determine the search content that can be found online based on that search text, such as web page content, and determine the quantity of search content that can be found based on that search text. Then, the search engine backend can determine the corresponding quality score for search content that is highly relevant to the search text. For example, the search engine backend can determine the quality score for the search content based on factors such as click-through rate, the content itself, and publication time. This quality score can reflect the quality of the search content to a certain extent. Furthermore, the search engine backend can determine the evaluation score for the search text based on the quality scores of search content related to the search text and the quantity of search content that can be found based on that search text. For example, the search engine backend can first average the quality scores of each search content to obtain a comprehensive quality score, and then perform a weighted summation of the comprehensive quality score and the quantity of search content according to preset weights to obtain the evaluation score for the search text. It should be understood that the higher the quality score of the search content and the more search content there is, the higher the evaluation score for the search text should be.
[0087] After the search engine backend determines the evaluation score of each search text, it can select the search text with the highest evaluation score from among the search texts as the candidate search text corresponding to the key content.
[0088] In this way, by determining the candidate search text and the target time point for displaying the candidate search text in the above manner, it can be ensured that the determined candidate search text can better represent the actual search intent of the object, and that the candidate search text displayed in the search control is closely related to the playback content of the target dynamic media resource, thereby improving the search efficiency based on the candidate search text.
[0089] Optionally, in some cases, the terminal device may identify multiple key contents for the same point in time of the target dynamic media resource. That is, multiple key contents may exist at the same target point in time in the target dynamic media resource. In this case, the terminal device can filter these multiple key contents to determine the target key content corresponding to the target point in time. When the target dynamic media resource plays to the target point in time, the terminal device should display the candidate search text corresponding to the target key content in the search control.
[0090] As an example, a terminal device can select the key content with the highest key content from multiple key content based on their respective key scores, and use it as the target key content for the target time point. It can also determine the candidate search text corresponding to the target key content as the candidate search text to be displayed at the target time point. The aforementioned key scores are determined based on the playback content of the target dynamic media resource.
[0091] Specifically, if a terminal device determines that there are multiple key contents at a certain point in time in a target dynamic media resource, the terminal device can determine the keyness of each of these key contents. For example, the terminal device can use the idea of TF-IDF (term frequency–inverse document frequency) algorithm to determine the keyness of each of these key contents, and then determine the key content with the highest keyness as the target key content corresponding to that point in time.
[0092] It should be understood that if the key content uniquely corresponding to a certain point in time is determined in this way, the key content uniquely corresponding to a certain point in time can be determined directly before the step of determining candidate search text for the key content is performed.
[0093] As another example, the terminal device can obtain the evaluation score of the candidate search text corresponding to each key content appearing at the target time point, and use this score as the evaluation score for that key content. This evaluation score is determined based on the quality evaluation scores of the search content associated with the candidate search text and the number of search contents associated with the candidate search text. Then, the key content with the highest evaluation score is selected from the multiple key contents as the target key content for that target time point, and the candidate search text corresponding to this target key content is determined as the candidate search text displayed at that target time point.
[0094] Specifically, as described above, the search engine backend can determine a corresponding evaluation score for a search text. This score is based on the quality evaluation scores of the search content associated with the search text, as well as the quantity of search content associated with the search text. Based on this, the terminal device can obtain the evaluation scores of the candidate search texts corresponding to each key content, and then determine the candidate search text with the highest evaluation score. The key content corresponding to this candidate search text is then identified as the target key content at the target time point, and the candidate search text is determined to be the candidate search text displayed at the target time point.
[0095] It should be understood that if this method is used to determine the unique key content corresponding to a certain point in time, it needs to be executed after the candidate search text corresponding to the key content is determined.
[0096] In another possible implementation, when the target media resource is a target static media resource, if the target static media resource is associated with only one candidate search text, the candidate search text can be continuously displayed in the search control; if the target static media resource is associated with multiple candidate search texts, these multiple candidate search texts can be displayed in turn in the candidate search control according to a preset display rule.
[0097] Specifically, when the target static media resource is associated with only one candidate search text, the terminal device can continuously display that candidate search text in the search control on the display interface. When the target static media resource is associated with multiple candidate search texts, the terminal device can switch the candidate search texts displayed in the search control according to a preset display pattern; for example, the terminal device can switch the candidate search texts displayed in the search control according to a preset switching cycle to achieve the effect of displaying each candidate search text in turn; or, for another example, the terminal device can configure the display duration for each candidate search text based on the correlation between the candidate search text and the target static media resource, with higher correlation resulting in a longer display duration, and thus switch the display of each candidate search text in the search control based on its respective display duration; this application does not impose any limitations on the display pattern of the candidate search texts.
[0098] In this way, by displaying the target static media resource while simultaneously displaying candidate search text related to the target static media resource in the search control, the efficiency of obtaining information related to the target static media resource can be improved.
[0099] When the target media resource is a target static media resource, the candidate search text in the search control can be determined in the following way: based on the content of the target static media resource, determine the key content corresponding to the target static media resource; for each key content, search for search text that matches the key content, and based on the search text found, determine the candidate search text corresponding to the key content.
[0100] Specifically, the method for determining candidate search texts associated with a target static media resource is similar to the method for determining candidate search texts associated with a target dynamic media resource, as described above. The difference is that for a target static media resource, it is not necessary to determine the target time point. Furthermore, when multiple search texts are found for a certain key content, the method for selecting the candidate search texts corresponding to that key content is also the same as the method for selecting candidate search texts from multiple search texts described above, and will not be repeated here.
[0101] For example, when the target static media resource is an image resource, the terminal device can use image processing technology to determine the key content in the image resource; when the target static media resource is a text resource, the terminal device can use text analysis technology to determine the key content in the text resource. This application does not limit the method of determining the key content in the target static resource. After the terminal device determines each key piece of content in the target static resource, it can send each key piece of content to the search engine backend, so that the search engine backend can determine the candidate search text associated with the target static media resource based on the search text matching the key content.
[0102] In this way, by determining candidate search texts in the above manner, we can ensure that the determined candidate search texts can better represent the actual search intent of the object, thereby improving the search efficiency based on candidate search texts.
[0103] Optionally, to prevent the search control in the display interface of the target media resource from affecting the viewer's viewing of the target media resource, the terminal device can start timing from the moment the search control is displayed in the display interface. If it is determined that no search operation triggered by the search control is obtained within a preset time period from the moment the search control is first displayed, the search control can be de-displayed in the display interface.
[0104] Taking video resources as an example, when the video resource reaches the target time point, the terminal device can display a search control in the current video resource playback interface, and the search control includes candidate search text related to the currently playing video content. The terminal device starts timing from the moment the search control is displayed. If no search operation triggered by the search control is obtained within 10 seconds from the moment the search control is displayed, the search control can be canceled to avoid the search control affecting the viewing experience of the video resource.
[0105] It should be understood that the above-mentioned preset duration can be set according to actual needs, and this application does not impose any limitation on the preset duration.
[0106] Step 202: Obtain the search operation triggered by the search control for the candidate search text.
[0107] When a search control containing candidate search text is displayed in the target media resource's display interface, the object can further trigger a search operation for the candidate search text through the search control; after the terminal device obtains the search operation triggered by the object, it can generate a search request containing candidate search text accordingly, and send the search request to the search server (i.e., the search engine backend mentioned above), so that the search server can obtain relevant search results based on the candidate search text in the search request.
[0108] Based on the display interface of the target media resource Figure 3 Taking the displayed interface as an example, an object can trigger a search operation on candidate search text by clicking the search button in the search box. Of course, in practical applications, an object can also trigger a search operation on candidate search text through the search control in other ways, and this application does not limit the triggering method of the search operation in any way.
[0109] Step 203: In response to the search operation, display a combined display interface that includes a resource display area and a search result display area. The target media resource is displayed in the resource display area, and the search results found based on the candidate search text are displayed in the search result display area.
[0110] After the terminal device sends a search request to the search server, the search server can perform a search operation based on the candidate search text carried in the search request to obtain search results related to the candidate search text, and then return the search results to the terminal device. Upon receiving the search results, the terminal device can display a combined display interface that includes a resource display area and a search result display area. The target media resource will continue to be displayed in the resource display area, while the search result returned by the search server will be displayed in the search result display area.
[0111] For example, suppose the terminal device obtains the object through... Figure 3 The search control in the displayed interface triggers a search operation on the candidate search text, which can then display a response to that search operation. Figure 4 The combined display interface shown. Figure 4 As shown, the combined display interface includes a resource display area 401 and a search results display area 402. The target media resource continues to be displayed in the resource display area 401; for example, if the target media resource is a video resource, the video resource can continue to play in the resource display area 401; similarly, if the target media resource is an autoplaying ebook, the ebook can continue to play automatically in the resource display area 401. The search results display area 402 displays the search results obtained by the search server based on the candidate search text. These search results can include results from different sources, different types of search results (such as webpage search results, image search results, video search results, etc.), and search results in different languages. This application does not specifically limit the search results.
[0112] It should be noted that if the target media resource is displayed in a window before the search operation is received, the terminal device can directly use the window that originally displayed the target media resource as the resource display area after receiving the search operation, and use the area of the display interface other than the window used to display the target media resource as the search results display area. If the target media resource is displayed in full screen before the search operation is received, the terminal device can adjust the target media resource to be displayed in a window after receiving the search operation, that is, create a window to display the target media resource as the resource display area, and use the area of the interface other than the resource display area as the search results display area. Of course, in practical applications, other methods can be used to deploy and combine the resource display area and the search results display area in the display interface, and this application does not impose any limitations on this.
[0113] It should be noted that a search server can typically retrieve multiple search results based on candidate search text. Correspondingly, the terminal device can display these multiple search results in the form of a search results list. For example, the terminal device can construct search results lists corresponding to different search sources, with all search results in the same search results list originating from the same source; alternatively, the terminal device can also construct search results lists corresponding to different result types, with all search results in the same search results list belonging to the same result type.
[0114] When a terminal device displays multiple search results in the form of a search results list, the terminal device can display the search results list in the search results display area. This list includes a brief description or summary of each search result. Users can click on a search result in the search results list to view its details; they can also use the return control in the details display interface to return to the search results list. When the search results list contains many search results, users can swipe up or down in the search results area to view more results. When multiple search results lists exist, such as lists from different search sources, users can swipe left or right in the search results area to view other search results lists; alternatively, a corresponding view control can be set for each search results list, allowing users to view its corresponding search results list. This application does not impose any limitations on the display method of search results in the search results display area.
[0115] In one possible implementation, when the target media resource is a target dynamic media resource, and the search results displayed in the search results display area include dynamic media resource search results, the terminal device can respond to a playback operation triggered by the dynamic media resource search results in the search results display area, play the reference dynamic media resource corresponding to the dynamic media resource search results in the search results display area, and pause the playback of the target dynamic media resource in the resource display area.
[0116] Taking a target dynamic media resource as a video resource as an example, if the search results obtained based on candidate search text include dynamic media resource search results (such as audio resource search results, video resource search results, etc.), and the terminal device detects that an object has triggered a playback operation for a dynamic media resource search result, it can play the reference dynamic media resource corresponding to that dynamic media resource search result in the search results display area. For example, assuming the terminal device detects that an object has triggered a playback operation for a video resource search result, it can create a video playback window in the search results display area and play the reference video resource corresponding to that video resource search result in that video playback window. Figure 5 As shown. At the same time, the terminal device will also control the target video resource in the resource display area to pause playback.
[0117] Thus, after detecting that the object has triggered a playback operation for the searched dynamic media resource, the target dynamic media resource is automatically paused. This allows the object to better view the searched dynamic media resource without having to manually pause the playback of the target dynamic media resource, simplifying the operations that the object needs to perform.
[0118] Optionally, when the target dynamic media resource is paused, the terminal device can display playback controls in the resource display area. Accordingly, if the terminal device detects a playback operation triggered by the playback controls in the resource display area, it can respond to the playback operation, continuing to play the target dynamic media resource in the resource display area while pausing playback of the reference dynamic media resource in the search results display area. Alternatively, if the terminal device detects a playback operation triggered by the playback controls in the resource display area, it can respond to the playback operation, continuing to play the target dynamic media resource in the resource display area while simultaneously playing the reference dynamic media resource normally in the search results display area.
[0119] Taking the target dynamic media resource as the target video resource and the reference dynamic media resource as the reference video resource as an example, when the reference video resource is playing normally in the search results display area and the target video resource is paused in the resource display area, the terminal device can arrange playback controls in the resource display area, such as... Figure 5 The playback control 501 is used in the display area. As an example, if the terminal device detects that an object triggers a continue playback operation for the target video resource through the playback control 501, it can start continuing playback of the target video resource in the resource display area, while simultaneously pausing playback of the reference video resource in the search results display area; that is, switching between the target video resource and the reference video resource. As another example, if the terminal device detects that an object triggers a continue playback operation for the target video resource through the playback control 501, it can start continuing playback of the target video resource in the resource display area, while simultaneously maintaining normal playback of the reference video resource in the search results display area; that is, simultaneously achieving normal playback of both the target video resource and the reference video resource.
[0120] Thus, using the first example above, automatic switching between the target and reference dynamic media resources can be achieved, preventing simultaneous playback of both resources and avoiding disruption to the viewing experience. Furthermore, the playback control allows for automatic pause of the reference dynamic media resource, simplifying user interaction. Using the second example above, simultaneous playback of the target and reference dynamic media resources is possible, allowing users to view both simultaneously and improving information retrieval efficiency.
[0121] Optionally, when the target dynamic media resource is paused, the terminal device can display a slow-motion playback control in the resource display area. Accordingly, if the terminal device detects a playback operation triggered by the slow-motion playback control in the resource display area, it can respond to the playback operation and play the target dynamic media resource in the resource display area at the speed corresponding to the slow-motion playback control, while simultaneously continuing to play the reference dynamic media resource in the search results display area. Alternatively, if the terminal device detects a playback operation triggered by the slow-motion playback control in the resource display area, it can respond to the playback operation and play the target dynamic media resource in the resource display area at the speed corresponding to the slow-motion playback control, while simultaneously playing the reference dynamic media resource in the search results display area at the same speed.
[0122] Taking the target dynamic media resource as the target video resource and the reference dynamic media resource as the reference video resource as an example, when the reference video resource is playing normally in the search results display area and the target video resource is paused in the resource display area, the terminal device can place a slow playback control in the resource display area, such as... Figure 5 The 0.5x speed playback control 502 is used in the example. As one example, if the terminal device detects that an object triggers a continue playback operation for a target video resource through the 0.5x speed playback control 502, it can start playing the target video resource at 0.5x speed in the resource display area, while simultaneously maintaining normal playback of the reference video resource in the search results display area; that is, achieving 0.5x speed playback of the target video resource and normal playback of the reference video resource. As another example, if the terminal device detects that an object triggers a continue playback operation for a target video resource through the 0.5x speed playback control 502, it can start playing the target video resource at 0.5x speed in the resource display area, while simultaneously adjusting the reference video resource in the search results display area to also play at 0.5x speed; that is, achieving simultaneous slow-motion playback of both the target video resource and the reference video resource.
[0123] It should be understood that the slow playback control can be a 0.5x speed control, or a 0.75x speed control, a 0.3x speed control, etc. This application does not specifically limit the speed corresponding to the slow playback control.
[0124] Thus, using the first example above, slow playback of the target dynamic media resource and normal playback of the reference dynamic media resource can be achieved. That is, by slowing down the playback speed of the target dynamic media resource, the object can better view both the target and reference dynamic media resources simultaneously and obtain information from both. Using the second example above, simultaneous slow playback of the target and reference dynamic media resources can be achieved. That is, by simultaneously slowing down the playback speed of both the target and reference dynamic media resources, the object can better view both the target and reference dynamic media resources simultaneously and obtain information from both. Furthermore, the object can automatically control the reference dynamic media resource to also play at a slower speed using the slow playback control in the resource display area, simplifying the operations required by the object.
[0125] Optionally, when playing a reference dynamic media resource, the terminal device may display a pause control in the search results display area. Accordingly, if the terminal device detects a pause operation triggered by the pause control in the search results display area, it can respond to the pause operation by pausing the playback of the reference dynamic media resource in the search results display area and continuing to play the target dynamic media resource in the resource display area.
[0126] Taking the target dynamic media resource as the target video resource and the reference dynamic media resource as the reference video resource as an example, when the reference video resource is playing normally in the search results display area and the target video resource is paused in the resource display area, the terminal device can place a pause control in the search results display area, such as... Figure 6 The pause control 601 is used in the search results. If the terminal device detects that an object triggers a pause playback operation on the reference video resource through the pause control 601, it can pause the playback of the reference video resource in the search results display area, and automatically start playing the target video resource in the resource display area; that is, it realizes the switching playback of the target video resource and the reference video resource.
[0127] Thus, by deploying a pause control in the search results display area, automatic switching between the target dynamic media resource and the reference dynamic media resource can be achieved, avoiding simultaneous playback of the target dynamic media resource and the reference dynamic media resource, which would affect the viewing experience of each dynamic media resource; and the pause control can also be used to control the target dynamic media resource to automatically resume playback, which can simplify the operation of the object.
[0128] Optionally, when playing a reference dynamic media resource, the terminal device can display a slow-motion playback control in the search results display area. Accordingly, if the terminal device detects a playback operation triggered by the slow-motion playback control in the search results display area, it can respond to the playback operation and play the reference dynamic media resource in the search results display area at the speed corresponding to the slow-motion playback control, while simultaneously initiating normal playback of the target dynamic media resource in the resource display area. Alternatively, if the terminal device detects a playback operation triggered by the slow-motion playback control in the search results display area, it can respond to the playback operation and play the reference dynamic media resource in the search results display area at the speed corresponding to the slow-motion playback control, while simultaneously initiating normal playback of the target dynamic media resource in the resource display area, also at the speed corresponding to the slow-motion playback control.
[0129] Taking the target dynamic media resource as the target video resource and the reference dynamic media resource as the reference video resource as an example, when the reference video resource is playing normally in the search results display area and the target video resource is paused in the resource display area, the terminal device can place a pause control in the search results display area, such as... Figure 6 The 0.5x speed playback control 602 is used in the search results display area. As an example, if the terminal device detects that an object triggers a playback operation on a reference video resource through the 0.5x speed playback control 602, it can adjust the playback speed of the reference video resource to play it at 0.5x speed, while simultaneously initiating normal playback of the target video resource in the resource display area; that is, achieving 0.5x speed playback of the reference video resource and normal playback of the target video resource. As another example, if the terminal device detects that an object triggers a playback operation on a reference video resource through the 0.5x speed playback control 602, it can adjust the playback speed of the reference video resource to play it at 0.5x speed in the search results display area, while simultaneously initiating normal playback of the target video resource in the resource display area; that is, achieving simultaneous slow-motion playback of both the reference video resource and the target video resource.
[0130] It should be understood that the slow playback control can be a 0.5x speed control, or a 0.75x speed control, a 0.3x speed control, etc. This application does not specifically limit the speed corresponding to the slow playback control.
[0131] Thus, using the first example above, slow playback of the reference dynamic media resource and normal playback of the target dynamic media resource can be achieved. That is, by slowing down the playback speed of the reference dynamic media resource, the object can better view both the target and reference dynamic media resources simultaneously and obtain information from both. Using the second example above, simultaneous slow playback of the target and reference dynamic media resources can be achieved. That is, by simultaneously slowing down the playback speed of both the target and reference dynamic media resources, the object can better view both the target and reference dynamic media resources simultaneously and obtain information from both. Furthermore, the object can automatically control the target dynamic media resource to also play at a slower speed using the slow playback control in the search results display area, simplifying the operations required by the object.
[0132] It should be noted that in practical applications, in response to a playback operation triggered by a search result for a dynamic media resource in the search results display area, playback of the target dynamic media resource may not be paused. That is, both the target dynamic media resource and the corresponding reference dynamic media resource from the search result can be played simultaneously. In this case, at least one of a pause control and a slow-motion control can be deployed in the resource display area. The pause control functions similarly to the pause control deployed in the search results display area described above, allowing the target dynamic media resource to pause playback while maintaining normal playback of the reference dynamic media resource. Similarly, the slow-motion control functions similarly to the slow-motion control deployed in the search results display area described above, allowing the target dynamic media resource to play slowly while maintaining normal playback of the reference dynamic media resource, or allowing both the target and reference dynamic media resources to play slowly simultaneously.
[0133] It should be noted that the reason why the embodiments of this application can simultaneously play target dynamic media resources and reference dynamic media resources in the resource display area and search result display area included in the combined display interface is because the terminal device can support the operation of two sets of playback frameworks at the same time. Specifically, if the playback of the target dynamic media resource and the playback of the reference dynamic media resource are both implemented by the same main program, then two sets of dynamic resource playback frameworks can be deployed under the main program, and then the target dynamic media resource and the reference dynamic media resource can be played through these two sets of dynamic resource playback frameworks respectively. If the playback of the target dynamic media resource and the playback of the reference dynamic media resource are implemented by different main programs, then the terminal device can run the dynamic resource playback frameworks of these two main programs at the same time, thereby realizing the simultaneous playback of the target dynamic media resource and the reference dynamic media resource.
[0134] In another possible implementation, when the search results displayed in the search results display area include static media resource search results, the terminal device can respond to a viewing operation triggered by the static media resource search results in the search results display area and display the reference static media resource corresponding to the static media resource search result in the search results display area.
[0135] Specifically, when the object triggers a search result that is a static media resource search result (such as a search result corresponding to an image resource or a text resource), the terminal device can directly display the reference static media resource corresponding to the static media resource search result in the search result display area. The display of the reference static media resource will not affect the display of the target media resource. For example, when the target media resource is a target dynamic media resource, the object triggers a viewing operation for the static media resource search result, which will not affect the playback of the target dynamic media resource.
[0136] Optionally, the method provided in this application embodiment can also support an object to independently trigger a search operation based on other search texts besides candidate search texts while viewing target media resources, thereby obtaining search results based on other search texts.
[0137] In one possible implementation, the terminal device can acquire the target search text entered through the search control in the display interface, and acquire the target search operation triggered by the search control for the target search text; in response to the target search operation, the terminal device can display a combined display interface that includes both a resource display area and a search results display area, and display the search results obtained based on the target search text in the search results display area.
[0138] Still with Figure 3Taking the displayed interface as an example, the object can trigger an editing operation on the candidate search text in the search box of the display interface; for example, the object can adjust the candidate search text in the search box to obtain the target search text; or, for example, the object can delete the candidate search text in the search box and then re-enter the target search text in the search box. After the object completes the input operation on the target search text, it can trigger a target search operation on the target search text through the search button in the search box; the terminal device responds to the target search operation by generating a search request carrying the target search text and sending it to the search server, so that the search server can perform a search operation based on the target search text to search for search results related to the target search text and return the search results to the terminal device. After receiving the search results, the terminal device can display a combined display interface that includes both a resource display area and a search results display area. Unlike the combined display interface in step 203, the search results displayed in the search results display area of this combined display interface are search results based on the target search text, and the display method of these search results is the same as that of search results based on candidate search text.
[0139] In another possible implementation, the search results display area in the combined display interface may include a reference search control. In this case, the terminal device can obtain the target search text entered through the reference search control and then display the search results obtained based on the target search text in the search results display area.
[0140] Still with Figure 4 Taking the combined display interface as an example, the search results display area in this combined display interface includes a reference search control, which is specifically represented as a search box. When the search results display area including the search box is displayed, the user can enter target search text in the search box and trigger a target search operation for the target search text through the search button in the search box. The terminal device responds to the target search operation by generating a search request carrying the target search text and sending it to the search server. The search server then performs a search operation based on the target search text to find search results related to the target search text and returns the search results to the terminal device. After receiving the search results, the terminal device can display the search results found based on the target search text in the search results display area. The display method of the search results is the same as that of the search results found based on the candidate search text.
[0141] In this way, users can input the content they want to search for while watching target media resources, and trigger a search operation for that content to view more information related to that content, thus making it convenient for users to obtain information of interest according to their own needs.
[0142] In this embodiment, the terminal device can also restore the display interface of the target media resource in response to a close operation triggered on the search results display area. For example, the search results display area may also include a close control for that area. If the terminal device detects that an object triggers a close operation on the search results display area through the close control, it can close the search results display area and restore the display interface of the target media resource in step 201. It should be understood that the above-described method of triggering the close operation on the search results display area is merely an example. In practical applications, other methods can also be used to trigger the close operation on the search results display area. This application does not limit the specific method of the close operation.
[0143] In this way, the above method makes it easy for the user to restore the original display interface of the target media resource, ensuring that the user can understand more information related to the target media resource, while avoiding the search results display area affecting the user's viewing experience of the target media resource.
[0144] The aforementioned information search method provides a search control within the target media resource's display interface, supporting search triggering operations. This search control also provides candidate search text related to the content of the target media resource. This allows viewers of the target media resource to directly trigger searches for information related to its content via the search control, eliminating the need for them to manually input search text using a separate search application, significantly improving information retrieval efficiency. Furthermore, in response to a search operation triggered by the search control, the method displays a combined display interface that includes both a resource display area and a search results display area. The resource display area shows the target media resource, while the search results display area shows the results obtained based on the candidate search text. This combined display interface allows viewers to simultaneously view both the target media resource and the search results without interrupting their viewing of the target media resource, enhancing the viewing experience.
[0145] See Figure 7 , Figure 7 This is a flowchart illustrating a server-side information search method provided in an embodiment of this application. The execution entity of this method is a search server (i.e., a server used to perform search operations based on a search engine). For ease of description, the search server will be simply referred to as the server below. Figure 7 As shown, this information search method includes the following steps:
[0146] Step 701: Obtain the key content related to the target media resources.
[0147] In this embodiment of the application, in order to display a search control containing candidate search text related to the target media resource in the display interface of the target media resource, the server needs to first determine the candidate search text, that is, determine the search text related to the target media resource. When determining the candidate search text, the server needs to first obtain the key content involved in the target media resource.
[0148] In one possible implementation, the server can obtain the key content of the target media resource from the terminal device used to display the target media resource. Figure 8 This application provides a schematic diagram illustrating the implementation process of a media resource playback service, as shown in the embodiments below. Figure 8 As shown, the object triggers the display of the target media resource through the terminal device, which can correspondingly trigger the terminal device to determine the key content involved in the target media resource and send the determined key content to the server.
[0149] Taking video resources as an example, if a user triggers a viewing operation on a video resource, the terminal device responds to this operation. On one hand, it can display the playback interface of the video resource; on the other hand, it can trigger the extraction of key content related to the video resource. For example, it can recognize the subtitles of the video resource to extract keywords as key content; or it can use OCR technology to process the video resource to extract key content from the video frames; or it can use image recognition technology to identify each frame of the video resource to extract key content. After extracting the key content from the video resource, the terminal device can send the extracted key content to the server.
[0150] It should be understood that when the target media resource is another type of resource, the terminal device can extract the key content from it using the corresponding key content extraction method. This application does not impose any limitation on the key content extraction method. In addition, the target media resource may involve one or more key contents, and this application does not impose any limitation on the number of key contents involved in the target media resource.
[0151] In another possible implementation, the server can obtain key content related to the target media resource from other servers. These other servers could be, for example, servers providing the target media resource; when the target media resource is a video resource, these other servers could be video servers. Specifically, the server providing the target media resource can pre-determine the key content related to the target media resource. The method for determining the key content can be selected according to actual needs. For example, when the target media resource is a video resource, technologies such as subtitle recognition, OCR, and image recognition can be used to determine the key content related to the video resource. When the server providing the target media resource detects that an object has triggered a viewing of the target media resource, it can accordingly send the key content related to the target media resource to the search server.
[0152] Of course, in practical applications, servers may also use other methods to obtain the key content of the target media resource. This application does not impose any restrictions on the method of obtaining the key content of the target media resource.
[0153] Step 702: Search for search text that matches the key content, and determine the candidate search text corresponding to the key content based on the search text that matches the key content.
[0154] In one possible implementation, after the server obtains the key content related to the target media resource, it can search a search knowledge base to see if there is any search text matching that key content. If a search text matching the key content is found in the search knowledge base, then that search text can be determined as a candidate search text corresponding to that key content.
[0155] It should be noted that a search knowledge base is a database used to store search text, which is the text (query) frequently searched through the search engine's backend (i.e., the search server).
[0156] In specific implementation, such as Figure 8As shown, after the server obtains all the key content related to the target media resource, it can match each key content in the search knowledge base. That is, for each key content related to the target media resource, the matching degree between the key content and each search text in the search knowledge base can be determined. If the matching degree between the key content and a certain search text exceeds a preset matching degree threshold, it can be determined that the key content matches the search text, and thus the search text can be determined as a candidate search text corresponding to the key content; when the matching degree between the key content and multiple search texts all exceeds the preset matching degree threshold, the search text with the highest matching degree can be determined as the candidate search text corresponding to the key content. Conversely, if the matching degree between the key content and each search text in the search knowledge base is lower than the preset matching degree threshold, it can be determined that the key content does not match any of the search texts, that is, it can be determined that the key content does not have a corresponding candidate search text.
[0157] In another possible implementation, the server obtains the key content involved in the target media resource, and for each key content, it can search the entire network for search text that matches the key content, and then determine the candidate search text corresponding to the key content based on the search text found.
[0158] Because web-wide search has a broad scope, in many cases, a server can retrieve multiple search texts that match a single key content. In this situation, the server can determine the candidate search texts corresponding to the key content from the retrieved search texts using any of the following methods:
[0159] The first method involves obtaining the search popularity of each of these search texts and identifying the search text with the highest search popularity as the candidate search text for the given keyword. Specifically, each search text typically has a corresponding search popularity, usually determined by the number of times it is searched online. It should be understood that the more times a search text is searched, the higher its search popularity. In this method, the server can directly identify the search text with the highest search popularity as the candidate search text for the given keyword.
[0160] The second method involves, for each search text, obtaining the search content associated with that search text and determining the number of search contents associated with it; then, determining the evaluation score of the search text based on the quality rating score of the search content associated with it and the number of search contents associated with it; and finally, identifying the search text with the highest evaluation score as the candidate search text corresponding to the key content.
[0161] Specifically, for each search text matching a specific keyword, the server can determine the search content that can be found on the network based on that search text, such as web page content, and determine the number of search content that can be found based on that search text. Then, the server can determine the corresponding quality score for the search content that is highly relevant to the search text. For example, the server can determine the quality score corresponding to the search content based on factors such as the click-through rate, the content itself, and the publication time. This quality score can reflect the quality of the search content to a certain extent. Furthermore, the server can determine the evaluation score corresponding to the search text based on the quality score of the search content related to the search text and the number of search content that can be found based on the search text. For example, the server can first average the quality scores of each search content to obtain a comprehensive quality score, and then perform a weighted summation of the comprehensive quality score and the number of search content according to preset weights to obtain the evaluation score corresponding to the search text. It should be understood that the higher the quality score of the search content and the more search content there is, the higher the evaluation score corresponding to the search text should be.
[0162] After the server determines the evaluation score of each search text, it can select the search text with the highest evaluation score from among the search texts as the candidate search text corresponding to the key content.
[0163] Step 703: Send the candidate search text to the terminal device that triggers the display of the target media resource, so as to display a search control including the candidate search text in the display interface of the target media resource.
[0164] After the server determines the candidate search text corresponding to the key content involved in the target media resource, it can send the correspondence between the key content and the candidate search text to the terminal device that triggers the display of the target media resource, so that the terminal device displays a search control including the candidate search text in the display interface of the target media resource.
[0165] It should be noted that when the target media resource is a target dynamic media resource (such as video resources, audio resources, etc.), the terminal device also needs to know the time point when each key content appears in the target dynamic media resource (i.e., the target time point). Accordingly, during the playback of the target dynamic media resource, when the terminal device detects that the target dynamic media resource has reached the target time point, it can display a search control on the display interface, which includes candidate search text corresponding to the key content that appears at the target time point, thereby facilitating the search for more information related to the currently playing content.
[0166] For terminal devices that trigger the display of the aforementioned target dynamic media resources, they typically need to store a video list, a list of key content, and a list of correspondences between key content and candidate search text. Figure 9 This is a schematic diagram illustrating an exemplary list storage relationship; such as... Figure 9 As shown, the video list may include, for example, a video identifier (video_id), a video title (video_title), and a video summary (video_summary). The key content list (also known as the knowledge point list) may include, for example, a key content identifier (knowledge_video_id), a video identifier (video_id), key content (knowledge_video_title), and the key content occurrence time (knowledge_video_time). The correspondence list may include, for example, a candidate search text identifier (query_id), a key content identifier (knowledge_video_id), and candidate search text (query_title).
[0167] During the playback of target dynamic media resources, the terminal device can determine the candidate search text to be displayed and the time point for displaying the candidate search text based on the aforementioned video list, key content list, and corresponding relationship list. Figure 10 This is a schematic diagram of the background operation logic of a terminal device provided in an embodiment of this application, such as... Figure 10 As shown, during the playback of the target dynamic media resource, the terminal device can determine whether the target dynamic media resource has played to the time point indicated by knowledge_video_time in the key content list. If so, it determines the knowledge_video_id corresponding to the knowledge_video_time, and then, based on the correspondence list, determines the query_title corresponding to the knowledge_video_id, and fills the query_title into the search control.
[0168] Step 704: Receive a search request sent by the terminal device; the search request is initiated by the search control for the candidate search text.
[0169] When a terminal device displays a search control containing candidate search text in the display interface of the target media resource, the object can trigger a search operation for the candidate search text through the search control. In response to the search operation, the terminal device can generate a search request containing the candidate search text and send the search request to the server. After receiving the search request, the server can search for search results related to the candidate search text based on the candidate search text carried in the authorization request.
[0170] Step 705: In response to the search request, search for search results related to the candidate search text, and return the search results to the terminal device so that the terminal device displays the search results in the search results display area of the combined display interface, which also includes a resource display area displaying the target media resource.
[0171] After receiving a search request from a terminal device, the server can respond to the search by triggering a search for results related to the candidate search text carried in the search request. The server then returns the search results to the terminal device, enabling the terminal device to display a combined display interface that includes both a resource display area and a search results display area. The returned search results are displayed in the search results display area, while the target media resource continues to be displayed in the resource display area. For details on how this combined display interface is displayed, please refer to [link to relevant documentation]. Figure 2 The relevant descriptions in the illustrated embodiments will not be repeated here.
[0172] It should be noted that in practical applications, the server can continuously support the underlying search logic during the playback of the target media resource. This means the server can also receive target search requests sent by the terminal device. These requests can be initiated based on target search text entered through the search control or through the reference search control in the search results display area. In response to the target search request, the server can search for target search results related to the target search text and return these results to the terminal device for display in the search results display area of the combined display interface.
[0173] For example, the search control in the display interface of the target media resource can support objects to trigger search operations autonomously. That is, objects can edit the candidate search text included in the search control to obtain the target search text and trigger a search operation based on that target search text. Alternatively, a reference search control can be deployed in the search results display area of the combined display interface. This reference search control can also support objects to trigger search operations autonomously. That is, objects can enter the target search text in the reference search control and then trigger a search operation based on that target search text. In response to the search operation triggered by the object based on the target search text, the terminal device can generate a target search request including the target search text and then send the target search request to the server.
[0174] After receiving the target search request, the server can respond to the target search request, search for the target search text carried in the target search request, thereby obtaining the target search results related to the target search text, and then return the target search results to the terminal device so that the terminal device can display the target search results in the search results display area of the combined display interface.
[0175] The aforementioned information search method provides background support for the simultaneous viewing of target media resources and related information on the terminal device side. It provides candidate search text that can be displayed in the search control and supports related search operations for the terminal device, thereby ensuring the normal implementation of the information search method on the terminal device side.
[0176] In response to the information search method described above, this application also provides a corresponding information search device so that the above information search method can be applied and implemented in practice.
[0177] See Figure 11 , Figure 11 This is consistent with the above text Figure 2 The diagram shows the structure of an information search device 1100 corresponding to the information search method illustrated. Figure 11 As shown, the information search device 1100 includes:
[0178] Display module 1101 is used to display a search control in the display interface of the target media resource; the search control includes candidate search text, which is associated with the content of the target media resource;
[0179] Interaction module 1102 is used to obtain the search operation triggered by the search control for the candidate search text;
[0180] The display module 1101 is also used to respond to the search operation by displaying a combined display interface that includes a resource display area and a search result display area, displaying the target media resource in the resource display area, and displaying the search results found based on the candidate search text in the search result display area.
[0181] Optionally, when the target media resource is a target dynamic media resource, and the search results displayed in the search results display area include dynamic media resource search results, the display module 1101 is further configured to:
[0182] In response to a playback operation triggered by a dynamic media resource search result in the search results display area, a reference dynamic media resource corresponding to the dynamic media resource search result is played in the search results display area, and playback of the target dynamic media resource is paused in the resource display area.
[0183] Optionally, when the target dynamic media resource is paused, the resource display area includes playback controls; the display module 1101 is further configured to:
[0184] In response to a playback operation triggered by the playback control in the resource display area, the target dynamic media resource continues to play in the resource display area, and the reference dynamic media resource is paused in the search results display area;
[0185] Alternatively, in response to a playback operation triggered by a playback control in the resource display area, the target dynamic media resource may continue to play in the resource display area, while the reference dynamic media resource may remain in play in the search results display area.
[0186] Optionally, when the target dynamic media resource is paused, the resource display area includes a slow-motion playback control; the display module 1101 is further configured to:
[0187] In response to a playback operation triggered by a slow playback control in the resource display area, the target dynamic media resource is played in the resource display area at the speed corresponding to the slow playback control, and the reference dynamic media resource is kept playing in the search results display area.
[0188] Alternatively, in response to a playback operation triggered by a slow-play control in the resource display area, the target dynamic media resource is played in the resource display area at the speed corresponding to the slow-play control, and the reference dynamic media resource is played in the search results display area at the speed corresponding to the slow-play control.
[0189] Optionally, when the reference dynamic media resource is being played, the search results display area includes a pause control; the display module 1101 is further configured to:
[0190] In response to a pause operation triggered by the pause control in the search results display area, playback of the reference dynamic media resource is paused in the search results display area, and playback of the target dynamic media resource continues in the resource display area.
[0191] Optionally, when the reference dynamic media resource is being played, the search results display area includes a slow-motion playback control; the display module 1101 is further configured to:
[0192] In response to a playback operation triggered by a slow playback control in the search results display area, the reference dynamic media resource is played in the search results display area at the speed corresponding to the slow playback control, and the target dynamic media resource continues to be played in the resource display area.
[0193] Alternatively, in response to a playback operation triggered by a slow-play control in the search results display area, the reference dynamic media resource is played in the search results display area at the speed corresponding to the slow-play control, and the target dynamic media resource is played in the resource display area at the speed corresponding to the slow-play control.
[0194] Optionally, when the search results displayed in the search results display area include static media resource search results, the display module 1101 is further configured to:
[0195] In response to a viewing operation triggered by the static media resource search result in the search results display area, a reference static media resource corresponding to the static media resource search result is displayed in the search results display area.
[0196] Optionally, when the target media resource is a target dynamic media resource, the display module 1101 is specifically used for:
[0197] When the target dynamic media resource is played to the target time point, the search control is displayed in the display interface, and the candidate search text included in the search control is associated with the content played by the target dynamic media resource at the target time point.
[0198] Optionally, the display module 1101 is further configured to:
[0199] When the target dynamic media resource is played from the first target time point to the second target time point, the candidate search text included in the search control is adjusted; the candidate search text before adjustment is associated with the content of the target dynamic media resource played at the first target time point, and the candidate search text after adjustment is associated with the content of the target dynamic media resource played at the second target time point.
[0200] Optionally, the device further includes a first processing module, the first processing module being used for:
[0201] Based on the playback content at each point in time in the target dynamic media resource, determine the key content and the time points in which the key content appears in the target dynamic media resource;
[0202] For each key content, search for search text that matches the key content. Based on the search text, determine the candidate search text corresponding to the key content, and determine the time point when the key content appears in the target dynamic media resource as the target time point for displaying the candidate search text.
[0203] Optionally, when multiple key contents exist at the same target time point in the target dynamic media resource, the first processing module is further configured to:
[0204] Based on the criticality of each of the multiple key contents, the key content with the highest criticality is selected from the multiple key contents as the target key content corresponding to the target time point, and the candidate search text corresponding to the target key content is determined as the candidate search text displayed at the target time point; the criticality is determined based on the playback content of the target dynamic media resource;
[0205] or,
[0206] For each of the key contents, the evaluation score of the candidate search text corresponding to the key content is obtained, which is used as the evaluation score of the key content; the evaluation score is determined based on the quality evaluation score of the search content associated with the candidate search text and the number of search content associated with the candidate search text.
[0207] Select the key content with the highest evaluation score from the multiple key contents, and use it as the target key content corresponding to the target time point. Then, determine the candidate search text corresponding to the target key content as the candidate search text displayed at the target time point.
[0208] Optionally, when the target media resource is a target static media resource, the display module 1101 is specifically used for:
[0209] When the target static media resource is associated with multiple candidate search texts, the multiple candidate search texts are displayed in turn in the search control according to a preset display rule.
[0210] Optionally, the device further includes a second processing module, the second processing module being used for:
[0211] Based on the content of the target static media resource, determine the key content corresponding to the target static media resource;
[0212] For each of the key contents, search for search text that matches the key content, and determine the candidate search text corresponding to the key content based on the search text found.
[0213] Optionally, when the search text retrieved for a key content includes multiple entries, the first processing module or the second processing module is specifically used to:
[0214] Obtain the search popularity corresponding to each of the multiple search texts, and determine the search text with the highest search popularity as the candidate search text corresponding to the key content;
[0215] or,
[0216] For each search text, obtain the search content associated with the search text and determine the number of search content associated with the search text; determine the evaluation score of the search text based on the quality evaluation score of the search content associated with the search text and the number of search content associated with the search text.
[0217] The search text with the highest corresponding evaluation score is identified as the candidate search text corresponding to the key content.
[0218] Optionally, the display module 1101 is further configured to:
[0219] If no search operation triggered by the search control is obtained within a preset time period from the moment the search control is first displayed, the search control will be de-displayed in the display interface.
[0220] Optionally, the interaction module 1102 is further configured to:
[0221] Obtain the target search text entered through the search control;
[0222] Obtain the target search operation triggered by the search control on the target search text;
[0223] The display module 1101 is also used for:
[0224] In response to the target search operation, the combined display interface is displayed, and the search results obtained based on the target search text are displayed in the search results display area of the combined display interface.
[0225] Optionally, the search results display area further includes a reference search control, and the interaction module 1102 is further used for:
[0226] Obtain the target search text input through the reference search control;
[0227] The display module 1101 is also used for:
[0228] The search results obtained based on the target search text are displayed in the search results display area.
[0229] Optionally, the display module 1101 is further configured to:
[0230] In response to a close operation triggered on the search results display area, the display interface of the target media resource is restored.
[0231] See Figure 12 , Figure 12 This is consistent with the above text Figure 7The diagram shows the structure of an information search device 1200 corresponding to the information search method illustrated. Figure 12 As shown, the information search device 1200 includes:
[0232] Content acquisition module 1201 is used to acquire key content related to the target media resources;
[0233] The search module 1202 is used to search for search text that matches the key content, and to determine candidate search text corresponding to the key content based on the search text that matches the key content.
[0234] The sending module 1203 is used to send the candidate search text to the terminal device that triggers the display of the target media resource, so as to display a search control including the candidate search text in the display interface of the target media resource;
[0235] The receiving module 1204 is used to receive a search request sent by the terminal device; the search request is initiated by the search control targeting the candidate search text;
[0236] Search module 1205 is used to respond to the search request and search for search results related to the candidate search text;
[0237] The sending module 1203 is further configured to return the search results to the terminal device so as to display the search results in the search results display area of the combined display interface, wherein the combined display interface also includes a resource display area displaying the target media resource.
[0238] Optionally, the receiving module 1204 is further configured to:
[0239] Receive a target search request sent by the terminal device; the target search request is initiated for target search text entered through the search control, or for target search text entered through the reference search control in the search results display area;
[0240] The search module 1205 is also used for:
[0241] In response to the target search request, search for target search results related to the target search text;
[0242] The sending module 1203 is further configured to:
[0243] The target search result is returned to the terminal device so that the terminal device displays the target search result in the search result display area of the combined display interface.
[0244] The aforementioned information search device provides a search control on the target media resource's display interface that supports triggering search operations. This search control also provides candidate search text related to the content of the target media resource. Viewers of the target media resource can directly trigger searches for information related to its content through this search control without needing to manually input search text using a separate search application, significantly improving information retrieval efficiency. Furthermore, in response to a search operation triggered by the search control, the device displays a combined display interface including a resource display area and a search results display area. The resource display area shows the target media resource, while the search results display area shows the results obtained based on the candidate search text. This combined display interface allows viewers to simultaneously view the target media resource and search results without interrupting their viewing of the target media resource, enhancing the viewing experience.
[0245] This application also provides an electronic device for information retrieval, which may specifically be a terminal device or a server. The terminal device and server provided in this application will be described below from the perspective of hardware implementation.
[0246] See Figure 13 , Figure 13 This is a schematic diagram of the structure of the terminal device provided in the embodiments of this application. For example... Figure 13 As shown, for ease of explanation, only the parts related to the embodiments of this application are shown. For specific technical details not disclosed, please refer to the method section of the embodiments of this application. The terminal can be any terminal device including mobile phones, tablets, personal digital assistants (PDAs), point-of-sale (POS) terminals, in-vehicle computers, etc. Taking a smartphone as an example:
[0247] Figure 13 This is a block diagram illustrating a portion of the structure of a smartphone related to the terminal provided in the embodiments of this application. (Reference) Figure 13 The smartphone includes: a radio frequency (RF) circuit 1310, a memory 1320, an input unit 1330 (including a touch panel 1331 and other input devices 1332), a display unit 1340 (including a display panel 1341), a sensor 1350, an audio circuit 1360 (which can connect to a speaker 1361 and a microphone 1362), a wireless fidelity (WiFi) module 1370, a processor 1380, and a power supply 1390, etc. Those skilled in the art will understand that... Figure 13The smartphone structure shown does not constitute a limitation on smartphones and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0248] The memory 1320 can be used to store software programs and modules. The processor 1380 executes various functions and data processing of the smartphone by running the software programs and modules stored in the memory 1320. The memory 1320 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the smartphone (such as audio data, phonebook, etc.). In addition, the memory 1320 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0249] The processor 1380 is the control center of the smartphone, connecting various parts of the smartphone via various interfaces and lines. It performs various functions and processes data by running or executing software programs and / or modules stored in the memory 1320, and by calling data stored in the memory 1320. Optionally, the processor 1380 may include one or more processing units; preferably, the processor 1380 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 1380.
[0250] In this embodiment of the application, the processor 1380 included in the terminal is further configured to execute the steps of any implementation of the information search method for terminal devices provided in this embodiment of the application.
[0251] See Figure 14 , Figure 14This is a schematic diagram of a server 1400 provided in an embodiment of this application. The server 1400 can vary significantly due to different configurations or performance, and may include one or more central processing units (CPUs) 1422 (e.g., one or more processors) and memory 1432, and one or more storage media 1430 (e.g., one or more mass storage devices) for storing application programs 1442 or data 1444. The memory 1432 and storage media 1430 can be temporary or persistent storage. The program stored in the storage media 1430 may include one or more modules (not shown in the diagram), each module including a series of instruction operations on the server. Furthermore, the CPU 1422 may be configured to communicate with the storage media 1430 and execute the series of instruction operations stored in the storage media 1430 on the server 1400.
[0252] Server 1400 may also include one or more power supplies 1426, one or more wired or wireless network interfaces 1450, one or more input / output interfaces 1458, and / or one or more operating systems, such as Windows Server. TM Mac OS X TM Unix TM Linux TM FreeBSD TM etc.
[0253] The steps performed by the server in the above embodiments can be based on this Figure 14 The server structure shown.
[0254] The CPU 1422 is used to execute any of the steps of the server-side information search method provided in the embodiments of this application.
[0255] This application also provides a computer-readable storage medium for storing a computer program that executes any one of the implementation methods of the information search method described in the foregoing embodiments.
[0256] This application also provides a computer program product or computer program that includes 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 any of the implementation methods of the information search method described in the foregoing embodiments.
[0257] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0258] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between apparatuses or units through some interfaces, and may be electrical, mechanical, or other forms.
[0259] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0260] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0261] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing computer programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0262] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0263] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. An information search method, characterized in that, The method includes: A search control is displayed in the display interface of the target media resource; the search control includes candidate search text, which is associated with the content of the target media resource. Obtain the search operation triggered by the search control on the candidate search text; In response to the search operation, a combined display interface including a resource display area and a search result display area is displayed. The search result display area is the area of the display interface excluding the resource display area. The target media resource is displayed in the resource display area, and the search results obtained based on the candidate search text are displayed in the search result display area. Displaying the target media resource in the resource display area includes: when the target media resource is a target dynamic media resource, continuing to play the target dynamic media resource in the resource display area. When the target media resource is a target dynamic media resource, and the search results displayed in the search results display area include dynamic media resource search results, in response to a playback operation triggered for the dynamic media resource search results in the search results display area, a reference dynamic media resource corresponding to the dynamic media resource search results is played in the search results display area, and the target dynamic media resource in the resource display area is automatically paused; when the target dynamic media resource is paused, the resource display area includes a slow playback control; In response to a playback operation triggered by the slow playback control in the resource display area, the target dynamic media resource is played in the resource display area at the speed corresponding to the slow playback control, and the reference dynamic media resource is played in the search results display area; or, in response to a playback operation triggered by the slow playback control in the resource display area, the target dynamic media resource is played in the resource display area at the speed corresponding to the slow playback control, and the reference dynamic media resource is played in the search results display area at the speed corresponding to the slow playback control.
2. The method according to claim 1, characterized in that, When the target dynamic media resource is paused, the resource display area includes playback controls; the method further includes: In response to a playback operation triggered by the playback control in the resource display area, the target dynamic media resource continues to play in the resource display area, and the reference dynamic media resource is paused in the search results display area; Alternatively, in response to a playback operation triggered by a playback control in the resource display area, the target dynamic media resource may continue to play in the resource display area, while the reference dynamic media resource may remain in play in the search results display area.
3. The method according to claim 1, characterized in that, When the reference dynamic media resource is being played, the search results display area includes a pause control; the method further includes: In response to a pause operation triggered by the pause control in the search results display area, playback of the reference dynamic media resource is paused in the search results display area, and playback of the target dynamic media resource continues in the resource display area.
4. The method according to claim 1, characterized in that, When the reference dynamic media resource is being played, the search results display area includes a slow-motion playback control; the method further includes: In response to a playback operation triggered by a slow playback control in the search results display area, the reference dynamic media resource is played in the search results display area at the speed corresponding to the slow playback control, and the target dynamic media resource continues to be played in the resource display area. Alternatively, in response to a playback operation triggered by a slow-play control in the search results display area, the reference dynamic media resource is played in the search results display area at the speed corresponding to the slow-play control, and the target dynamic media resource is played in the resource display area at the speed corresponding to the slow-play control.
5. The method according to claim 1, characterized in that, When the search results displayed in the search results display area include static media resource search results, the method further includes: In response to a viewing operation triggered by the static media resource search result in the search results display area, a reference static media resource corresponding to the static media resource search result is displayed in the search results display area.
6. The method according to claim 1, characterized in that, When the target media resource is a target dynamic media resource, displaying the search control in the display interface of the target media resource includes: When the target dynamic media resource is played to the target time point, the search control is displayed in the display interface, and the candidate search text included in the search control is associated with the content played by the target dynamic media resource at the target time point.
7. The method according to claim 1 or 6, characterized in that, The method further includes: When the target dynamic media resource is played from the first target time point to the second target time point, the candidate search text included in the search control is adjusted; the candidate search text before adjustment is associated with the content of the target dynamic media resource played at the first target time point, and the candidate search text after adjustment is associated with the content of the target dynamic media resource played at the second target time point.
8. The method according to claim 6, characterized in that, The candidate search text and the target time point are determined in the following way: Based on the playback content at each point in time in the target dynamic media resource, determine the key content and the time points in which the key content appears in the target dynamic media resource; For each key content, search for search text that matches the key content. Based on the search text, determine the candidate search text corresponding to the key content, and determine the time point when the key content appears in the target dynamic media resource as the target time point for displaying the candidate search text.
9. The method according to claim 8, characterized in that, When multiple key contents exist at the same target time point in the target dynamic media resource, the method further includes: Based on the criticality of each of the multiple key contents, the key content with the highest criticality is selected from the multiple key contents as the target key content corresponding to the target time point, and the candidate search text corresponding to the target key content is determined as the candidate search text displayed at the target time point; the criticality is determined based on the playback content of the target dynamic media resource; or, For each of the key contents, the evaluation score of the candidate search text corresponding to the key content is obtained, which is used as the evaluation score of the key content; the evaluation score is determined based on the quality evaluation score of the search content associated with the candidate search text and the number of search content associated with the candidate search text. Select the key content with the highest evaluation score from the multiple key contents, and use it as the target key content corresponding to the target time point. Then, determine the candidate search text corresponding to the target key content as the candidate search text displayed at the target time point.
10. The method according to claim 1, characterized in that, When the target media resource is a target static media resource, displaying the search control in the display interface of the target media resource includes: When the target static media resource is associated with multiple candidate search texts, the multiple candidate search texts are displayed in turn in the search control according to a preset display rule.
11. The method according to claim 10, characterized in that, The candidate search texts were determined in the following way: Based on the content of the target static media resource, determine the key content corresponding to the target static media resource; For each of the key contents, search for search text that matches the key content, and determine the candidate search text corresponding to the key content based on the search text found.
12. The method according to claim 8 or 11, characterized in that, When multiple search texts are found for a specific key content, determining candidate search texts corresponding to the key content based on the found search texts includes: Obtain the search popularity corresponding to each of the multiple search texts, and determine the search text with the highest search popularity as the candidate search text corresponding to the key content; or, For each search text, obtain the search content associated with the search text and determine the number of search content associated with the search text; determine the evaluation score of the search text based on the quality evaluation score of the search content associated with the search text and the number of search content associated with the search text. The search text with the highest corresponding evaluation score is identified as the candidate search text corresponding to the key content.
13. The method according to claim 1, 6, or 10, characterized in that, The method further includes: If no search operation triggered by the search control is obtained within a preset time period from the moment the search control is first displayed, the search control will be de-displayed in the display interface.
14. The method according to claim 1, characterized in that, The method further includes: Obtain the target search text entered through the search control; Obtain the target search operation triggered by the search control on the target search text; In response to the target search operation, the combined display interface is displayed, and the search results obtained based on the target search text are displayed in the search results display area of the combined display interface.
15. The method according to claim 1, characterized in that, The search results display area also includes a reference search control, and the method further includes: Obtain the target search text input through the reference search control; The search results obtained based on the target search text are displayed in the search results display area.
16. The method according to any one of claims 1 to 6, 8 to 11, and 14 to 15, characterized in that, The method further includes: In response to a close operation triggered on the search results display area, the display interface of the target media resource is restored.
17. An information search method, characterized in that, The method includes: Acquire key content related to target media resources; Search for search texts that match the key content, and determine candidate search texts corresponding to the key content based on the search texts that match the key content. Send the candidate search text to the terminal device that triggers the display of the target media resource, so as to display a search control including the candidate search text in the display interface of the target media resource; The system receives a search request sent by the terminal device; the search request is initiated by the search control targeting the candidate search text. In response to the search request, search results related to the candidate search text are retrieved, and the search results are returned to the terminal device so that the terminal device displays the search results in the search results display area of the combined display interface. The combined display interface also includes a resource display area displaying the target media resource, and the search results display area is the area of the display interface excluding the resource display area. When the target media resource is a target dynamic media resource, the target dynamic media resource continues to play in the resource display area. The terminal device is also further configured to: When the target media resource is a target dynamic media resource, and the search results displayed in the search results display area include dynamic media resource search results, in response to a playback operation triggered for the dynamic media resource search results in the search results display area, a reference dynamic media resource corresponding to the dynamic media resource search results is played in the search results display area, and the target dynamic media resource in the resource display area is automatically paused; when the target dynamic media resource is paused, the resource display area includes a slow playback control; In response to a playback operation triggered by the slow playback control in the resource display area, the target dynamic media resource is played in the resource display area at the speed corresponding to the slow playback control, and the reference dynamic media resource is played in the search results display area; or, in response to a playback operation triggered by the slow playback control in the resource display area, the target dynamic media resource is played in the resource display area at the speed corresponding to the slow playback control, and the reference dynamic media resource is played in the search results display area at the speed corresponding to the slow playback control.
18. The method according to claim 17, characterized in that, The method further includes: Receive a target search request sent by the terminal device; the target search request is initiated for target search text entered through the search control, or for target search text entered through the reference search control in the search results display area; In response to the target search request, search for target search results related to the target search text, and return the target search results to the terminal device so that the terminal device displays the target search results in the search results display area of the combined display interface.
19. An information search device, characterized in that, The device includes: The display module is used to display a search control in the display interface of the target media resource; the search control includes candidate search text, which is associated with the content of the target media resource. An interaction module is used to obtain search operations triggered by the search control on the candidate search text; The display module is further configured to respond to the search operation by displaying a combined display interface that includes a resource display area and a search result display area. The search result display area is the area of the display interface excluding the resource display area. The target media resource is displayed in the resource display area, and the search results obtained based on the candidate search text are displayed in the search result display area. Displaying the target media resource in the resource display area includes: when the target media resource is a target dynamic media resource, continuing to play the target dynamic media resource in the resource display area. The display module is specifically configured to: when the target media resource is a target dynamic media resource, and the search results displayed in the search results display area include dynamic media resource search results, respond to a playback operation triggered for the dynamic media resource search results in the search results display area, play the reference dynamic media resource corresponding to the dynamic media resource search results in the search results display area, and automatically control the target dynamic media resource in the resource display area to pause playback; when the target dynamic media resource is paused, the resource display area includes a slow playback control; The display module is further configured to: in response to a playback operation triggered by a slow-play control in the resource display area, play the target dynamic media resource in the resource display area at a speed corresponding to the slow-play control, and continue playing the reference dynamic media resource in the search results display area; or, in response to a playback operation triggered by a slow-play control in the resource display area, play the target dynamic media resource in the resource display area at a speed corresponding to the slow-play control, and play the reference dynamic media resource in the search results display area at a speed corresponding to the slow-play control.
20. An information search device, characterized in that, The device includes: The content acquisition module is used to acquire key content related to the target media resources; The search module is used to search for search text that matches the key content, and to determine candidate search text corresponding to the key content based on the search text that matches the key content. The sending module is used to send the candidate search text to the terminal device that triggers the display of the target media resource, so as to display a search control including the candidate search text in the display interface of the target media resource; A receiving module is used to receive a search request sent by the terminal device; the search request is initiated by the search control targeting the candidate search text; The search module is used to respond to the search request and search for search results related to the candidate search text. The sending module is further configured to return the search results to the terminal device, so that the terminal device displays the search results in the search results display area of the combined display interface, the combined display interface further including a resource display area displaying the target media resource, the search results display area being the area of the display interface excluding the resource display area; when the target media resource is a target dynamic media resource, the target dynamic media resource continues to play in the resource display area; and the terminal device is further configured to: When the target media resource is a target dynamic media resource, and the search results displayed in the search results display area include dynamic media resource search results, in response to a playback operation triggered for the dynamic media resource search results in the search results display area, a reference dynamic media resource corresponding to the dynamic media resource search results is played in the search results display area, and the target dynamic media resource in the resource display area is automatically paused; when the target dynamic media resource is paused, the resource display area includes a slow playback control; In response to a playback operation triggered by the slow playback control in the resource display area, the target dynamic media resource is played in the resource display area at the speed corresponding to the slow playback control, and the reference dynamic media resource is played in the search results display area; or, in response to a playback operation triggered by the slow playback control in the resource display area, the target dynamic media resource is played in the resource display area at the speed corresponding to the slow playback control, and the reference dynamic media resource is played in the search results display area at the speed corresponding to the slow playback control.
21. An electronic device, characterized in that, The device includes a processor and a memory; The memory is used to store computer programs; The processor is configured to execute the information search method according to any one of claims 1 to 16, or the information search method according to any one of claims 17 to 18, according to the computer program.
22. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store a computer program for the information search method according to any one of claims 1 to 16, or the information search method according to any one of claims 17 to 18.
23. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or the instructions are executed by the processor, they implement the information search method according to any one of claims 1 to 16, or the information search method according to any one of claims 17 to 18.
