Content search method and apparatus, device, and storage medium
By receiving user requests and generating or selecting cover images during content search, the problem of poor cover image filtering in existing technologies is solved, achieving efficient and accurate information acquisition.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- BEIJING ZITIAO NETWORK TECH CO LTD
- Filing Date
- 2024-12-13
- Publication Date
- 2026-06-18
Smart Images

Figure CN2024139415_18062026_PF_FP_ABST
Abstract
Description
A method, apparatus, device, and storage medium for content search Technical Field
[0001] The exemplary embodiments disclosed herein generally relate to the field of computers, and particularly to a method, apparatus, device, and computer-readable storage medium for content search. Background Technology
[0002] Content search technology, as a key support in the information age, focuses on efficiently and accurately extracting the information users need from massive amounts of data. In the field of content search, the cover image of search results plays a crucial role in filtering content. Summary of the Invention
[0003] In a first aspect of this disclosure, a method for content search is provided. The method includes: receiving a search request from a user; and, in response to the search request, presenting a cover image of media content in a search interface, the cover image being determined based on at least one image associated with the media content, the at least one image being determined based on the search request.
[0004] In a second aspect of this disclosure, an apparatus for content search is provided. The apparatus includes: a receiving module configured to receive a user's search request; and a presentation module configured to, in response to the search request, present a cover image of media content in a search interface, the cover image being determined based on at least one image associated with the media content, the at least one image being determined based on the search request.
[0005] In a third aspect of this disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform the method of the first aspect.
[0006] In a fourth aspect of this disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program that can be executed by a processor to implement the method of the first aspect.
[0007] It should be understood that the content described in this content section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0008] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:
[0009] Figure 1 shows a schematic diagram of an example environment in which embodiments of the present disclosure may be implemented;
[0010] Figures 2A to 2D show example interfaces for content search according to some embodiments of the present disclosure;
[0011] Figure 3 illustrates a flowchart of an example process for content search according to some of the disclosed embodiments;
[0012] Figure 4 shows a schematic structural block diagram of an example device for content search according to some embodiments of the present disclosure; and
[0013] Figure 5 shows a block diagram of an electronic device capable of implementing several embodiments of the present disclosure. Detailed Implementation
[0014] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0015] It should be noted that the headings of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and embodiments of any type may be included under any section / subsection. Furthermore, embodiments described in any section / subsection may be combined in any way with any other embodiments described in the same section / subsection and / or different sections / subsections.
[0016] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below. The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0017] The embodiments of this disclosure may involve user data, data acquisition, and / or use. All of these aspects comply with applicable laws, regulations, and relevant provisions. In the embodiments of this disclosure, all data collection, acquisition, processing, manipulation, forwarding, and use are conducted with the user's knowledge and confirmation. Accordingly, in implementing the embodiments of this disclosure, the type, scope of use, and usage scenarios of any data or information that may be involved should be communicated to the user and their authorization obtained in accordance with relevant laws and regulations through appropriate means. The specific methods of notification and / or authorization may vary depending on the actual situation and application scenario, and the scope of this disclosure is not limited in this respect.
[0018] In this specification and the embodiments, any processing of personal information will be carried out only under the premise of legality (such as obtaining the consent of the personal information subject, or being necessary for the performance of a contract), and will only be carried out within the scope stipulated or agreed upon. A user's refusal to process personal information other than that necessary for basic functions will not affect the user's use of basic functions.
[0019] As mentioned above, content search technology, as a key support in the information age, focuses on efficiently and accurately extracting the information users need from massive amounts of data. In the field of content search, the cover image of the search results plays a crucial role in filtering content.
[0020] Embodiments of this disclosure propose a content search scheme. The scheme includes: receiving a user's search request; and, in response to the search request, presenting a cover image of media content in a search interface, the cover image being determined based on at least one image associated with the media content, the at least one image being determined based on the search request.
[0021] In this way, embodiments of the present disclosure can display a cover image associated with a search request in the search interface, allowing the reader to know the subject information of the media content through the cover image, thereby improving the efficiency of information retrieval.
[0022] The following section provides a detailed description of various example implementations of this scheme, with reference to the accompanying drawings.
[0023] Example Environment
[0024] Figure 1 illustrates a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. As shown in Figure 1, the example environment 100 may include an electronic device 110.
[0025] In this example environment 100, electronic device 110 may run an application 120 that supports content search. Application 120 may be any suitable type of application for content search, examples of which may include, but are not limited to, social applications, content sharing applications, online video applications, or other suitable applications. User 140 may interact with application 120 via electronic device 110 and / or its attached devices.
[0026] In environment 100 of Figure 1, if application 120 is active, electronic device 110 can present interface 150 for supporting content search through application 120.
[0027] In some embodiments, electronic device 110 communicates with server 130 to provide services to application 120. Electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, handheld computers, portable gaming terminals, VR / AR devices, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio receivers, e-book devices, gaming devices, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, electronic device 110 can also support any type of user-facing interface (such as "wearable" circuitry).
[0028] Server 130 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks, and big data and artificial intelligence platforms. Server 130 may include, for example, computing systems / servers such as mainframes, edge computing nodes, computing devices in a cloud environment, etc. Server 130 can provide backend services for applications 120 that support content search in electronic devices 110.
[0029] A communication connection can be established between server 130 and electronic device 110. This communication connection can be established via wired or wireless means. The communication connection may include, but is not limited to, Bluetooth, mobile network, Universal Serial Bus (USB), and Wireless Fidelity (WiFi) connections; the embodiments of this disclosure are not limited in this respect. In the embodiments of this disclosure, server 130 and electronic device 110 can achieve signaling interaction through the communication connection between them.
[0030] It should be understood that the structure and function of the various elements in environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure.
[0031] The following description will continue with reference to the accompanying drawings, which will provide some exemplary embodiments of this disclosure.
[0032] Example Interaction
[0033] Figures 2A to 2D illustrate example interfaces 200A to 200D according to some embodiments of the present disclosure. Interfaces 200A to 200D may be provided, for example, by the electronic device 110 shown in Figure 1.
[0034] In some embodiments, electronic device 110 receives a user's search request. As an example, electronic device 110 can obtain a search request entered by user 140 through a search component on any appropriate page. The search request can be, for example, a search term entered by user 140. Such a search term can be, for example, text content (e.g., "hairstyle," "outfit," "how to make scrambled eggs with tomatoes," "shirt," "suit," etc.) or image content (e.g., an image of a hairstyle, an image of a shirt, etc.). The page containing the search component can be, for example, a page used to present an information stream.
[0035] In some embodiments, after receiving a search request, the electronic device 110 may display a cover image of the search results in the search interface. Specifically, in response to a search request, the electronic device 110 displays a cover image of media content in the search interface. The cover image is determined based on at least one image associated with the media content. The at least one image is determined based on the search request. The media content includes video content, and the at least one image includes at least one video frame from the video content. Such an image may, for example, be at least a portion of an image captured by the server 130 from a video frame associated with the media content. For example, the server 130 may capture an image portion associated with a preset object from a target video frame.
[0036] As an example, after receiving a search term (i.e., a search request), electronic device 110 can present an interface 200A as shown in Figure 2A. Interface 200A can be a search results page associated with the search term. Interface 200A includes a cover image 210, which is determined from media content based on the search request.
[0037] For example, the search term can be a precise search word, such as a specific item name, like "shirt". After the electronic device 110 receives "shirt", it can display an image associated with the shirt from the media content as a cover image 210 on the interface 200A.
[0038] As an example, electronic device 110 can receive a selection of cover image 210 and can accordingly present a viewing interface for media content, such as playing the corresponding media content.
[0039] Similarly, as shown in Figure 2B, after receiving the word "suit," the electronic device 110 can display a cover image 220 on the interface 200B. The cover image 220 is an image in the media content associated with "suit." For example, for the same media content, different search requests can trigger the display of different cover images corresponding to the same media content.
[0040] In some scenarios, as shown in Figure 2C, the search term can also be a category of an item, such as "clothing". After receiving "clothing", the electronic device 110 can obtain media content associated with the "clothing" category. Furthermore, the electronic device 110 can obtain multiple images (e.g., images of shirts and suits) associated with the "clothing" category from the media content, and determine the cover image 230 of the media content based on these multiple images for presentation to the user 140.
[0041] Alternatively or additionally, the cover image in interface 200A may be manually set by the publisher of the media content, or it may be at least one image obtained by server 130 from the media content based on a search request.
[0042] In some embodiments, the cover image of the media content may be generated by the server 130 based on a received search request. Specifically, at least one image comprises multiple images determined from a set of images associated with the media content based on the search request, and the cover image is generated by stitching together the multiple images.
[0043] As an example, as shown in Figure 2C, server 130 can obtain a user-input search request and retrieve multiple images associated with the search request from the media content. For example, if the search term (i.e., the search request) is "clothing," then server 130 can retrieve multiple images associated with "clothing" (e.g., images of shirts and suits) from the media content.
[0044] In other words, for the same media content, the number of images on which the cover image is based can vary depending on the search terms. Taking Figures 2A and 2B as examples, when the search terms clearly express the search request, the cover image can be generated based on a single video frame from the media content. Conversely, taking Figure 2C as an example, when the search terms match multiple video frames, the cover image can also be generated by stitching together the matched video frames.
[0045] After multiple images from the media content are acquired, server 130 can determine the number of images and determine the target cover template based on the number of images. For example, when server 130 determines that the number of images is 4, server 130 can acquire a two-panel cover template. Further, server 130 can adjust the aspect ratio of the shirt and suit images to ensure that the aspect ratio of these two images conforms to the requirements of the two-panel template. Finally, server 130 can fill the two aspect ratio-adjusted images into the two-panel template content to generate cover image 230. After generating the cover image, server 130 can send cover image 230 to electronic device 110 so that electronic device 110 can present cover image 230 to the user.
[0046] In some embodiments, the cover image may also be determined by server 130 from a set of candidate cover images associated with the media content based on a search request. Such a set of candidate cover images may be pre-generated by server 130 based on the topic information of the media content. For example, if the media content is a video introducing clothing, server 130 may extract multiple video frames from the media content based on the types of clothing appearing in the media content, and use the extracted video frames as candidate cover images.
[0047] In some scenarios, such a set of candidate cover images can also be determined by server 130 based on the resolution and content of video frames in the media content. Resolution can, for example, indicate the resolution, brightness, and aspect ratio of video frames in the media content. Server 130 can extract multiple video frames with a resolution greater than a first preset value from the media content, and select at least one video frame whose content meets preset conditions as a candidate cover image.
[0048] In some embodiments, the electronic device 110 may also present a text element associated with the cover image to the user. The text element is included in the cover image and may be generated by the server 130 based on media content and / or multiple images.
[0049] As an example, as shown in Figure 2D, server 130 can determine the theme information corresponding to media content or multiple images, such as "clothing". Once server 130 determines the theme information to be "clothing", it can generate a text element 240 based on "clothing" and overlay the text element onto the cover image. Such a text element could be, for example, "Which outfit looks best?". In this way, embodiments of this disclosure can enrich the content contained in the cover image, thereby improving information retrieval efficiency.
[0050] In some embodiments, the text element may also be determined based on a search request. For example, the search request could be "hairstyles suitable for men". After receiving "hairstyles suitable for men", server 130 can generate an associated text element and overlay it on the cover image. The text element could be, for example, "ten best hairstyles for men this summer".
[0051] In this way, embodiments of the present disclosure can present more information in the search interface, thereby improving the efficiency of information retrieval.
[0052] Example process for generating cover image
[0053] An example process for generating a cover image can be implemented in server 130. The example process for generating a cover image is described below with reference to Figure 1.
[0054] In some embodiments, server 130 may generate a set of candidate cover images for media content in response to at least one condition being met. The at least one condition includes: the media content does not have a cover image, or the cover image already set in the media content does not satisfy a first constraint. The first constraint is related to at least one of the following: at least one display parameter of the set cover image, or at least one display parameter of the corresponding candidate image; the image content of the set cover image, or the image content of the corresponding candidate image; the relevance of the set cover image to the media content, or the relevance of the corresponding candidate image to the media content. Display parameters here may include, for example, parameters such as image resolution, brightness, and aspect ratio. In this way, embodiments of the present disclosure can effectively improve the recall accuracy of multiple images in media content.
[0055] As an example, when generating a set of cover images, server 130 can first determine whether the media content is already associated with the user-set cover images. Once the media content is associated with the pre-set cover images, server 130 can determine whether the set cover images meet the aforementioned conditions. Taking the relevance between the set cover images and the media content as an example, server 130 can determine the relevance between the set cover images and the media content based on the theme information of the set cover images and the media content. When the relevance is determined to be less than a second preset value, server 130 can generate multiple cover images associated with the media content.
[0056] For example, if the set cover image is an image associated with a hairstyle, but the media content is a video introducing clothing, server 130 can determine that a new cover image needs to be generated to replace the cover image set by the user.
[0057] In some embodiments, when generating a set of candidate cover images, server 130 needs to refer to a second constraint. The second constraint may be the same as the first constraint. Specifically, server 130 may determine a set of candidate images that satisfy the second constraint from a set of images associated with the media content. Further, server 130 may generate a set of candidate cover images based on the set of candidate images.
[0058] As an example, when generating a set of candidate cover images, server 130 can first determine the descriptive information of the media content. This descriptive information can originate from titles, text, or other content uploaded by bloggers, or it can be generated after understanding the media content using a model. Such descriptive information can, for example, indicate the content category (i.e., theme) of the media content. Server 130 can determine the theme information corresponding to multiple video frames in the media content. Further, server 130 can determine the correlation (i.e., relevance) between the theme information corresponding to multiple video frames and the content category. Finally, server 130 can generate a set of candidate cover images based on multiple video frames with a correlation greater than a third preset value.
[0059] For example, the content category could be content related to clothing, hairstyles, or any product. Taking clothing content as the theme of the media content, after the theme is determined to be clothing content, server 130 can obtain multiple images related to clothing from the media content. These clothing-related images could be, for example, images of models wearing shirts or down jackets. Furthermore, server 130 can generate a set of candidate cover images related to the media content based on these multiple clothing-related images.
[0060] Similarly, the media content could be, for example, video content about making food. When generating a set of candidate cover images, server 130 can segment the media content. For example, if the video content about making food includes multiple production stages, server 130 can extract one frame from each of the multiple production stages to obtain multiple video frames for generating the cover image.
[0061] In some scenarios, media content includes multiple themes, such as clothing and hairstyle. Server 130 can determine whether the set cover image includes both clothing and hairstyle themes. If it does not include clothing and hairstyle themes, server 130 can determine that the set cover image is not sufficiently relevant to the media content.
[0062] Alternatively or additionally, server 130 may select a set of candidate images from the media content whose display parameters satisfy a first preset value. Further, server 130 generates a set of candidate cover images based on the selected set of candidate images.
[0063] In some embodiments, once a set of candidate cover images is generated, server 130 may send the candidate cover image associated with the search request to electronic device 110 so that electronic device 110 presents the candidate cover image.
[0064] In some scenarios, server 130 can also stitch together multiple candidate cover images associated with a search request to generate a stitched image. Furthermore, server 130 can use the stitched image as the cover image of media content and send it to electronic device 110.
[0065] In this way, embodiments of the present disclosure can select at least one candidate cover image associated with a search request from multiple candidate cover images in media content as the cover image, thereby improving the accuracy of information retrieval.
[0066] Example process
[0067] Figure 3 illustrates a flowchart of an example process 300 for content searching according to some embodiments of the present disclosure. Process 300 may be implemented at electronic device 110. Process 300 will now be described with reference to Figure 1.
[0068] As shown in Figure 3, in box 310, electronic device 110 receives a user's search request.
[0069] In box 320, electronic device 110 responds to a search request by presenting a cover image of media content in a search interface. The cover image is determined based on at least one image associated with the media content, which is determined based on the search request.
[0070] In some embodiments, at least one image comprises multiple images determined from a set of images associated with media content based on a search request, and the cover image is generated by stitching together multiple images.
[0071] In some embodiments, at least one image is determined from a set of candidate cover images associated with media content based on a search request.
[0072] In some embodiments, a set of candidate cover images is generated based on the following process: in response to at least one condition being met, a set of candidate cover images for media content is generated, wherein at least one condition includes at least one of the following: the media content does not have a cover image set; or the cover image set for the media content does not satisfy a first constraint.
[0073] In some embodiments, generating a set of candidate cover images for media content includes: determining a set of candidate images that satisfy a second constraint from a set of images associated with the media content; and generating a set of candidate cover images based on the set of candidate images.
[0074] In some embodiments, the first constraint or the second constraint is related to at least one of the following: at least one display parameter of the set cover image, or at least one display parameter of the corresponding candidate image; the screen content of the set cover image, or the screen content of the corresponding candidate image; the correlation between the set cover image and the media content, or the correlation between the corresponding candidate image and the media content.
[0075] In some embodiments, the cover image may also include text elements generated based on media content and / or at least one image.
[0076] In some embodiments, the text content corresponding to a text element is also determined based on a search request.
[0077] In some embodiments, the media content includes video content, and at least one image includes at least one video frame from the video content.
[0078] Example devices and equipment
[0079] Embodiments of this disclosure also provide corresponding apparatus for implementing the methods or processes described above. FIG4 shows a schematic structural block diagram of an example apparatus 400 for content search according to certain embodiments of this disclosure. Apparatus 400 may be implemented as or included in electronic device 110. The various modules / components in apparatus 400 may be implemented by hardware, software, firmware, or any combination thereof.
[0080] As shown in Figure 4, the device 400 includes: a receiving module 410 configured to receive a user's search request; and a presentation module 420 configured to present a cover image of media content in a search interface in response to the search request, the cover image being determined based on at least one image associated with the media content, the at least one image being determined based on the search request.
[0081] In some embodiments, at least one image comprises multiple images determined from a set of images associated with media content based on a search request, and the cover image is generated by stitching together multiple images.
[0082] In some embodiments, at least one image is determined from a set of candidate cover images associated with media content based on a search request.
[0083] In some embodiments, a set of candidate cover images is generated based on the following process: in response to at least one condition being met, a set of candidate cover images for media content is generated, wherein at least one condition includes at least one of the following: the media content does not have a cover image set; or the cover image set for the media content does not satisfy a first constraint.
[0084] In some embodiments, generating a set of candidate cover images for media content includes: determining a set of candidate images that satisfy a second constraint from a set of images associated with the media content; and generating a set of candidate cover images based on the set of candidate images.
[0085] In some embodiments, the first constraint or the second constraint is related to at least one of the following: at least one display parameter of the set cover image, or at least one display parameter of the corresponding candidate image; the screen content of the set cover image, or the screen content of the corresponding candidate image; the correlation between the set cover image and the media content, or the correlation between the corresponding candidate image and the media content.
[0086] In some embodiments, the cover image may also include text elements generated based on media content and / or at least one image.
[0087] In some embodiments, the text content corresponding to a text element is also determined based on a search request.
[0088] In some embodiments, the media content includes video content, and at least one image includes at least one video frame from the video content.
[0089] As shown in Figure 5, the electronic device 500 is in the form of a general-purpose electronic device. Components of the electronic device 500 may include, but are not limited to, one or more processors or processing units 510, memory 520, storage devices 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. The processing unit 510 may be a physical or virtual processor and is capable of performing various processes according to programs stored in the memory 520. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of the electronic device 500.
[0090] Electronic device 500 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 520 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 530 can be removable or non-removable media and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data and can be accessed within electronic device 500.
[0091] Electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 5, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks may be provided. In these cases, each drive may be connected to a bus (not shown) via one or more data media interfaces. Memory 520 may include computer program product 525 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.
[0092] Communication unit 540 enables communication with other electronic devices via a communication medium. Additionally, the functionality of components of electronic device 500 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, electronic device 500 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.
[0093] Input device 550 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 560 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 500 can also communicate with one or more external devices (not shown) via communication unit 540 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 500, or with any device that enables electronic device 500 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).
[0094] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to an exemplary implementation of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above.
[0095] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0096] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0097] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0098] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0099] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.
Claims
1. A content search method, comprising: Receive user search requests; as well as In response to the search request, a cover image of the media content is presented in the search interface, the cover image being determined based on at least one image associated with the media content, the at least one image being determined based on the search request.
2. The method of claim 1, wherein the at least one image comprises a plurality of images determined from a set of images associated with the media content based on the search request, and the cover image is generated by stitching together the plurality of images.
3. The method of claim 1, wherein the at least one image is determined from a set of candidate cover images associated with the media content based on the search request.
4. The method of claim 3, wherein the set of candidate cover images is generated based on the following process: In response to at least one condition being met, the set of candidate cover images for the media content is generated, wherein the at least one condition includes at least one of the following: The media content did not have a cover image. The cover image set for the media content does not satisfy the first constraint.
5. The method of claim 4, wherein generating the set of candidate cover images for the media content comprises: A set of candidate images that satisfy the second constraint is determined from the image set associated with the media content; as well as Based on the set of candidate images, generate the set of candidate cover images.
6. The method of claim 4 or 5, wherein the first constraint or the second constraint is related to at least one of the following: At least one display parameter of the set cover image, or at least one display parameter of the corresponding candidate image; The content of the set cover image, or the content of the corresponding candidate image; The correlation between the set cover image and the media content, or the correlation between the corresponding candidate image and the media content.
7. The method of claim 1, wherein the cover image further comprises text elements generated based on the media content and / or the at least one image.
8. The method according to claim 7, wherein the text content corresponding to the text element is further determined based on the search request.
9. The method of claim 1, wherein the media content includes video content, and the at least one image includes at least one video frame from the video content.
10. An apparatus for content search, comprising: The receiving module 410 is configured to receive user search requests; as well as Presentation module 420 is configured to, in response to the search request, present a cover image of media content in a search interface, the cover image being determined based on at least one image associated with the media content, the at least one image being determined based on the search request.
11. An electronic device, comprising: At least one processing unit; as well as At least one memory, coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 9 when executed by the at least one processing unit.
12. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any one of claims 1 to 9.