WO2019091416A1 - Media content search method, device and storage medium - Google Patents

Media content search method, device and storage medium Download PDF

Info

Publication number
WO2019091416A1
WO2019091416A1 PCT/CN2018/114462 CN2018114462W WO2019091416A1 WO 2019091416 A1 WO2019091416 A1 WO 2019091416A1 CN 2018114462 W CN2018114462 W CN 2018114462W WO 2019091416 A1 WO2019091416 A1 WO 2019091416A1
Authority
WO
WIPO (PCT)
Prior art keywords
media content
file
keyword
user
server
Prior art date
Application number
PCT/CN2018/114462
Other languages
French (fr)
Chinese (zh)
Inventor
熊欢
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2019091416A1 publication Critical patent/WO2019091416A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/438Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data

Definitions

  • the present application relates to the field of information technology, and in particular, to a media content search method, apparatus, and storage medium.
  • Search is one of the most important functions on the Internet. Almost everyone searches for web pages, news, maps, knowledge, pictures, etc., which makes it a huge portal for traffic.
  • a user inputs a keyword
  • a Lenovo keyword can appear, reducing user input.
  • the search scenario of the video application when the user sees the associated keyword, it may still be unclear which one is desired, especially the non-header search.
  • Embodiments of the present application provide a media content search method.
  • the method includes: receiving a media content search request that carries a part of a keyword; sending the partial keyword to a server for media content search; receiving media content information of one or more media content that is fed back by the server; and displaying the one or more Media content information of the media content; downloading a digest file of the media content in response to a user's preview request for a media content; wherein the digest file is generated by the server according to a plurality of image frames extracted from the media content a media file corresponding to the media content; and a summary file of the media content being played within a preview window corresponding to the media content.
  • Embodiments of the present application also provide a media content search method.
  • the method includes: after a media content is uploaded, extracting a plurality of image frames from the media content, generating at least one summary file of the media content; receiving a media content search request from a client client that carries a part of the keyword; The partial keyword determines one or more text keywords; one or more media content determined according to the one or more text keywords; obtaining media content information of the one or more media content and a summary file Storing an address; feeding back the media content information of the one or more media content and the storage address of the digest file to the application client.
  • Embodiments of the present application also provide a media content search method.
  • the method includes: receiving a media content search request carrying a partial keyword from an application client; determining one or more text keywords according to the partial keyword; and the partial keyword and the at least one text key according to the self-recording
  • the degree of relevance of the word sorts the at least one text keyword; wherein the degree of association between the partial keyword and the text keyword represents that the user inputs a partial keyword to search and finally selects a media content corresponding to the text keyword a probability statistical value; one or more media content determined according to the one or more text keywords; obtaining media content information of the one or more media content and a storage address of the digest file; following the at least one text
  • the order of the keywords feeds back the media content information of the corresponding media content and the storage address of the digest file to the application client.
  • An embodiment of the present application also discloses a user terminal.
  • the user terminal includes:
  • a sending module configured to receive a media content search request that carries a part of the keyword, and send the partial keyword to the server for media content search;
  • a receiving module configured to receive media content information of one or more media content that is fed back by the server
  • a display module configured to display media content information of the one or more media content
  • the preview module in response to the user's preview request for a media content, downloads a summary file of the media content, and plays a summary file of the media content in a preview window corresponding to the media content.
  • An embodiment of the present application also discloses a server.
  • the server includes:
  • a summary file generating module configured to extract a plurality of image frames from the media content, and generate at least one summary file of the media content
  • a first receiving module configured to receive a media content search request that carries a part of the keyword from the application client, and determine one or more text keywords according to the partial keyword;
  • a determining module configured to determine one or more media content according to the text keyword, and obtain media content information of the one or more media content and a storage address of the digest file;
  • a sending module configured to feed back the media content information of the one or more media content and the storage address of the digest file to the application client.
  • An embodiment of the present application also discloses a server, where the server includes:
  • a receiving module configured to receive a part of a keyword input by a user sent by an application client
  • a first determining module configured to determine at least one text keyword according to the partial keyword
  • a sorting module configured to record a degree of association between the partial keyword and the text keyword, and sort the at least one text keyword according to the degree of association between the partial keyword and the at least one text keyword recorded by the self-recording;
  • a second determining module configured to determine at least one media content corresponding to the at least one text keyword
  • a sending module configured to feed back the media content information of the corresponding media content to the application client according to the order of the at least one text keyword.
  • the server may further include: an establishing module, configured to update a degree of association between the partial keyword and the text keyword corresponding to the media content according to the partial keyword input by the user and the selected media content.
  • the embodiment of the present application further provides a storage medium storing readable instructions, which can enable at least one processor to perform the sending method of the media content search.
  • FIG. 1 is a schematic structural diagram of a system according to an embodiment of the present application.
  • FIG. 2 is a flowchart of a media content searching method according to an embodiment of the present application.
  • 3 is an example of displaying media content in a list form according to an embodiment of the present application.
  • FIG. 5 is an example of an automatic carousel summary file according to an embodiment of the present application.
  • FIG. 6 is a flowchart of a media content search method according to an embodiment of the present application.
  • FIG. 7 is a flowchart of a media content searching method according to an embodiment of the present application.
  • FIG. 8A is a schematic structural diagram of a user terminal according to an embodiment of the present application.
  • FIG. 8B is a schematic structural diagram of a display module according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of hardware of a user terminal according to an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a server according to an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a server according to an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of hardware of a server according to an embodiment of the present application.
  • the media content hereinafter may specifically refer to multimedia content such as video, audio, and pictures.
  • search methods There are currently many types of media content search methods.
  • One type of search method is based on keyword prompts.
  • the network side server may associate various possible query keywords according to the prefix, and pull through the user terminal The way of the list shows each query keyword to the user.
  • the above prefix refers to the previous word or words of the name of the target media content.
  • the network side server When the user selects one of the query keywords, the network side server performs an actual search according to the query keyword, obtains a search result of the media content information including one or more media contents, and displays the search result to the user through the terminal.
  • search method displays the search result and the information of the static content of the media content in addition to the name of the searched media content.
  • the user no matter which search method is used, if there are multiple cases with similar play names, the user needs to make a selection among a plurality of candidate keywords and then search. Also browse and find the media content you want in the searched candidate media content. Usually if the search finds that the content is not what you want, you will most likely need the user to retype the keyword to search separately.
  • Such a process usually fails to determine the accuracy of the search because the user cannot obtain more information, so that the user repeats the operation, the user experience is not smart and convenient, and also causes waste of resources.
  • an example of the present application proposes a media content search method.
  • the application client displays the media content information of the candidate media content searched by the server to the user, and after the user selects to preview a certain media content,
  • the summary file of the media content returned by the playback server simulates the video playback effect in a key frame animation rotation manner, so that the user can quickly preview the media content to determine whether the media content is the media content desired by the user.
  • Such a media search method can improve the efficiency of the user searching for the media content, and improve the user's experience of quickly finding the media content through the search, thereby saving the hardware resources of the terminal side and the network side device and the network resources occupied by the communication.
  • part of the keywords of the target search content may refer to a part of the media content name. For example, "speed” or "passion” in the name of the movie "Speed and Passion 8" may be searched as part of the keyword input.
  • FIG. 1 is a schematic structural diagram of a media content search system to which a media content search method according to some embodiments of the present application is applied.
  • the media content search system of the present application includes at least: a user terminal 11, a network 12, and a server 13.
  • the user terminal 11 may be a personal computer, a notebook, or a smart terminal device such as a tablet computer, a smart phone, or a PAD.
  • the user terminal 11 includes a display device such as a liquid crystal screen.
  • various application clients such as application clients such as Tencent video, can be installed on the user terminal 11.
  • the application client can obtain corresponding media content from the server 13 and display it to the user on its own display device.
  • the server 13 is an application server corresponding to the application client, and may be, for example, a Tencent video server or the like.
  • the application server software in the server 13 provides services to the user together with the application client software in the user terminal 11, for example, determining media content such as content that needs to be previewed based on keywords.
  • the above server 13 may be a separate server or a cluster server composed of a plurality of servers.
  • Network 12 can include wired networks and wireless networks. As shown in FIG. 1, on the access network side, the user terminal 11 can access the network 12 by way of wireless or wired; on the core network side, the server 13 is generally connected to the network 12 by wire. . Of course, the server 13 can also be connected to the network 12 wirelessly.
  • an embodiment of the present application provides a media content search method, which is applied to an application client of the user terminal 11 , and the method displays at least a keyword searched by a keyword to the user.
  • the preview information of the media content is displayed, and the user is provided with more rich information for the user to determine whether the media content is the media content required by the user.
  • FIG. 2 shows a flow chart of a media content search method provided by an example of the present application.
  • the media content searching method is performed by a user terminal. As shown in FIG. 2, the method includes the following steps:
  • Step 201 Receive a media content search request that carries a part of the keyword, and send the partial keyword to the server for media content search.
  • the user may search for the media content through the application client on the user terminal 11 in order to find the media content it needs, which may also be referred to as the target media content.
  • the user can usually input a partial keyword in the search box provided by the client on the user terminal 11 and click the search button to send a media content search request to the application client.
  • the application client sends the partial keyword input by the user in the search box to the server in response to the media content search request, so that the server performs media content search according to the partial keyword to determine the media content corresponding thereto.
  • Step 202 Receive media content information of one or more media content that is fed back by the server.
  • the media content information is information that can be used to describe the characteristics of the media content, including one or more of the name, type, main actor, storage address of the media content, and poster information of the media content.
  • the server searches for the media content according to some keywords uploaded by the application client, obtains the media content information of the searched media content, and feeds the obtained media content information of the media content to the application client.
  • the server may further feed back the storage address of the digest file corresponding to the searched media content.
  • the summary file may be a media file corresponding to the media content generated by the server according to a plurality of key frames extracted from one media content.
  • the server may take a screenshot of a media content at a fixed time interval a (such as every 10 seconds), obtain multiple screenshots, and splicing a predetermined number of multiple screenshots in a certain order and splicing rules to obtain one or more Large picture file.
  • Each large picture file can be used as a summary file of the above media content.
  • each media content can have one or more summary files.
  • the server may take a screenshot of a media content according to a fixed time interval a (such as every 10 seconds), obtain multiple screenshots, and then generate an animation file according to the obtained multiple screenshots, and use the animation file as the above.
  • a summary file of media content After the server generates the above summary file, it stores it in its own database and records the storage address of the summary file.
  • the storage address of the above digest file may be a uniform resource locator (URL) that identifies the storage location of the digest file.
  • URL uniform resource locator
  • Step 203 Display media content information of the one or more media content.
  • the application client may display the media content information of the one or more media content by way of a list.
  • FIG. 3 shows an example of displaying media content information of media content in a list form.
  • the application client receives the media content "Speed and Passion 8", “Speed and Passion 7", “Speed and Passion 6" corresponding to the "Speed" of the partial keyword 301, and displays it in a list form.
  • the media content information of each media content is displayed in the above list, for example, the name 302 and the category 303 of each media content.
  • Step 204 Download a summary file of the media content in response to the user's preview request for a media content, and play the summary file of the media content in a preview window corresponding to the media content.
  • the user when the application client displays the media content information of the one or more media content, the user may further display a preview window for displaying the media content for the user for each media content. Poster or abstract file.
  • the application client may set a display area for each media content on the page for displaying the media content of the media content. information.
  • the preview window may be set at a predetermined position within the display area of each media content.
  • the application client in order to reduce the layout of each media content, in order to display more media content of the media content in the same page, as shown in FIG. 3, the application client passes the list.
  • the media content information of the one or more media content is displayed, a part of the media content information of the first or multiple media content, such as a name and a type, may be displayed on the page in a manner instead of displaying the media content.
  • the entire content of the information and the preview window may be displayed on the page in a manner instead of displaying the media content.
  • the user wants to view all the media content information of a certain media content and the preview window, it is necessary to send an expansion request for the media content. For example, as shown in FIG.
  • an expansion symbol 304 is displayed corresponding to each media content.
  • the application client may not display the expansion symbol 304 corresponding to each media content.
  • the expansion request may be triggered by a click operation of the user to click part of the media content information of a certain media content, or It can be triggered by a sliding operation of the user's mouse to a portion of the media content information of a certain media content.
  • the application client in response to a request to expand a media content in the list, the application client will expand a display area displaying the media content and present a preview window of the media content within the display area And all media content information of the media content.
  • the preview window described above is used to present a poster or abstract file of the media content to the user.
  • the application client will play a summary file of the media content for the user through the preview window.
  • the preview request may also be triggered in multiple manners.
  • the application client displays the media content information of a certain media content
  • the poster of the media content may be statically displayed in the preview window.
  • a preview button is also provided.
  • the preview request is triggered when the user clicks on the preview button.
  • Figure 4 is an example of expanding the display of one piece of media content information. As shown in FIG. 4, in response to the user's deployment request, specifically, for example, clicking on the selection operation of the media content 401 "Speed and Passion 8", the display area 402 of the media content is expanded, and the media content is displayed in the display area 402.
  • the preview window 403 of 401 and media content information, such as name 404, starring 405, etc., also provides a play button 406. Further, the preview window 403 can statically display the poster (shaded portion) of the media content and provide a preview button 407. When the user clicks the preview button 407, it means that the user has sent a preview request. As an alternative, the preview button may not be set, and the preview request may be triggered by the user clicking a part of the media content information of a certain media content or a click operation of a certain position in the preview window area; or may be mouse-slid by the user. Triggered by a portion of the media content information of a certain media content or a sliding operation within the preview window area.
  • the application client in response to a user's preview request for a media content, if the storage address of the media content summary file has been known, the application client will according to the media content summary file.
  • the storage address downloads a summary file of the media content, and plays a summary file of the media content in a preview window.
  • the application client in response to the user's preview request for a media content, if the storage address of the media content summary file is not known, the application client first requests the storage address of the media content summary file from the server, After obtaining the storage address of the media content summary file, downloading the summary file of the media content according to the storage address of the media content summary file, and playing the summary file of the media content in the preview window.
  • the application client may carry the identification information such as the name of the media content to identify which storage address of the media content summary file is currently requested.
  • the above summary file may be a media file corresponding to the media content generated by the server based on a plurality of image frames extracted from one media content.
  • the digest file may be a server that takes a screenshot of a piece of media content at regular time intervals (such as every 10 seconds) and generates an animation file based on the obtained plurality of screenshots.
  • playing the summary file of the media content in the preview window specifically refers to playing the animation file in the preview window.
  • the summary file may further be that the server screens a media content at a fixed time interval (such as every 10 seconds), and splicing the obtained multiple screenshots in a certain order to obtain one or Multiple image files, referred to herein as large image files.
  • playing the summary file of the media content in the preview window specifically refers to automatically rotating each screenshot in the large picture file in the preview window.
  • the above automatic carousel refers to automatically playing each of the screenshots included in the large picture file in a predetermined order and time interval.
  • automatically rotating the large picture file in the preview window may specifically include:
  • Step A According to the splicing rule of the large picture file, the large picture file is reversely split into multiple screenshots.
  • Step B Set the play area of the preview window according to the size of the single screenshot.
  • the size of the play area in the preview window is equal to the size of a single screenshot. That is, the length and width of the play area are equal to the length and width of a single screenshot.
  • Step C Display the first screenshot in the play area.
  • Step D Move the large picture file according to a predetermined movement rule every predetermined time interval T to display the next screenshot until the preview ends.
  • the above predetermined movement rule is determined by the splicing rule of the large picture file.
  • the server when the server generates a large picture file, the server obtains a plurality of screenshots obtained by screen capture in a certain order. Then, in this step, the application client can move the large picture file in the reverse order of the above splicing. For example, if the server splicing multiple screenshots from left to right and from top to bottom in chronological order, then in this step, the application client can use the leftmost screenshot of the first row as the first image. Show and move the distance of the width of a single screenshot to the left to show the next screenshot until one line of the large image file is displayed.
  • the application client further moves the large picture file up to the height of the single screenshot, and moves the large picture file to the right to the leftmost one of the line to start the next line of the screenshot. Repeat the above steps until all screenshots of the large image file of the media content are displayed or the user chooses to stop previewing.
  • the digest files are sequentially downloaded according to the generation order of the digest files, and the respective digest files of the media content are respectively displayed according to the above method.
  • the application client may send the request for storing the address of the digest file only once, and the server may feed back the storage address of all the digest files corresponding to one media content to the application client at one time.
  • the application client may also send a request for the digest file storage address multiple times. For example, when the application client is about to preview a digest file, the server will request the storage address of the next digest file. At this point, the server will feed back the storage address of the next digest file to the application client according to the recorded interaction.
  • Figure 5 is an example of an automatic carousel large picture file.
  • the large picture file is saved by 100 screenshots and stitched together in a 10*10 manner, and the 100 screenshots are arranged in chronological order from left to right and top to bottom.
  • the above large picture file is first split into 10 rows and 10 columns for a total of 100 screenshots, and the preview preview of the preview window is set according to the size of the single screenshot.
  • the area is such that the size of the play preview area of the preview window is equal to the size of a single screenshot.
  • the first screenshot 501 is displayed in the preview window (the thick line screenshot is the currently displayed screenshot), and after waiting for the preset time interval T, the large picture file is moved to the left by the width 502 of the single screenshot, thereby Display a second screenshot 503 in the preview window (the thick line screenshot is the currently displayed screenshot, the dashed screenshot is the displayed screenshot), until the first line 504 of the large image file is displayed (the dotted screenshot is the displayed screenshot) .
  • the above process is repeated until all the screenshots of the large picture file corresponding to the media content are displayed.
  • the user in the process of searching for the target media content by the user, the user is provided with the media by setting a preview window for a certain candidate media content and playing the summary file of the media content in the preview window. More information than content information, it is convenient for the user to determine whether the candidate media content is the target media content that is needed by the user, to improve search efficiency, avoid unnecessary repeated searches, and save hardware resources and network resources on the terminal side and the network side. .
  • the above method of automatically rotating the summary file can control the size of each summary file by controlling the number of screenshots included in each large picture file and the resolution of each screenshot, for example, in general, a large
  • the method for searching the media content may further include a process of adjusting the preview progress according to the user's playback progress adjustment operation, so as to preview the media content from each preview progress point desired by the user. aims.
  • the process of adjusting the preview progress may include:
  • Step 205 Acquire an operation position of the user currently in the preview window in response to the user's play progress adjustment operation.
  • the playing progress adjustment operation may be an operation in which the user slides the cursor of the mouse to a certain position of the preview window. At this time, the determined operation position of the user in the preview window is the current mouse. The location of the cursor.
  • the playing progress adjustment operation may be an operation of the user clicking a certain position of the preview window with a mouse or a finger, etc., at this time, the determined operation position of the user in the preview window is the user. The location clicked within the preview window.
  • the playing progress adjustment operation may be an operation in which the user clicks on a certain position of the preview window with a mouse or a finger, and slides in the preview window. At this time, the determined user is currently in the preview window.
  • the operation position is the position where the user clicks in the preview window and each position on the sliding track.
  • Step 206 Determine a play progress value of the media content corresponding to the operation location according to an operation position of the user currently in the preview window.
  • the play progress value of the media content corresponding to the operation position may be determined according to the left and right border positions of the preview window in the horizontal direction according to the operation position, for example, according to the abscissa of the operation position. determine.
  • the abscissa x of the user's current operation position in the preview window is acquired, and is calculated.
  • a play progress value T (x-W1)/(W2-W1)*S corresponding to the operation position, where S is the duration of the media content.
  • Step 207 Determine, according to the play progress value, a location of the operation location corresponding to the screenshot of the media content in the digest file.
  • the application client can then start playing the digest file from the determined location.
  • determining that the location of the screenshot corresponding to the media content in the digest file refers to determining a digest file where the screenshot is located and a specific location of the screenshot in the digest file, that is, determining the location
  • the screenshot is in the first summary file and determines the screenshot in the first few rows and columns of the summary file.
  • the left side of the preview window has a horizontal coordinate of 0 pixels
  • the right border has an abscissa of 100 pixels, that is, the width W of the preview window is 100 pixels, and the total duration of the media content selected by the user. It is 2000s, and the server takes a screen shot every 10s when generating the digest file, and gets 100 screen shots, and arranges each of the 100 screen shots in chronological order and splices into one large picture, and obtains 100 rows of 10 rows and 10 columns. Two large picture files stitched together in the screenshot.
  • the preview for the media content can start from the screenshot corresponding to the position.
  • the user operates the mouse to move the cursor of the mouse within the preview window or the user's finger slides within the preview window the above steps can be quickly completed according to the respective positions included in the movement trajectory, thereby realizing the effect of quickly previewing the media content.
  • the example of the present application further provides a media content searching method, which is applied to the server 13 side.
  • the method is mainly used for performing at least one abstract file corresponding to the media content generated after the media content is uploaded, for example, in the process of encoding watermarking, by taking a screen shot of the media content and extracting a plurality of image frames.
  • the server 13 receives a partial keyword input by the user sent by the application client, determines a corresponding text keyword according to the partial keyword, and then determines a corresponding one or more media content according to the text keyword; After the media content information of the one or more media content and the storage address of the digest file, the media content information of the one or more media content and the storage address of the digest file are sent to the application client on the user terminal 11 to perform the Show.
  • the above summary file can be a large picture file or an animation file.
  • the server may intercept a plurality of screenshots from the media content according to a predetermined frequency, and generate a large picture file or an animation file by the intercepted screenshot, thereby generating one or more summary files of the media content.
  • FIG. 6 is a flowchart of a media content searching method provided by an example of the present application.
  • a large picture file is taken as an abstract file as an example for description.
  • the method is performed by the server, as shown in Figure 6, and includes the following steps:
  • Step 601 Capture a plurality of screenshots from the media content according to a frequency of intercepting one frame of image from the media content at every predetermined time interval a.
  • a is a preset step value of the extracted key frame, and according to experience a, it can generally take a value of 5-20 seconds, for example, 10 seconds.
  • Step 602 Combine each P screenshot according to a predetermined splicing rule to generate a large picture file, and use the generated at least one large picture file as one or more summary files of the media content.
  • P is the number of key frames included in each digest file set in advance, and is a natural number.
  • P can generally take a value of 50-1000, for example 100, that is, each 100 screenshots are stitched and saved as a summary file.
  • the predetermined splicing rule may specifically refer to arranging and splicing the extracted P screenshots in a matrix according to chronological order, for example, taking 100 screenshots in chronological order from left to right and from top to bottom in 10 rows. The 10 column matrix is stitched together and saved as a summary file.
  • one media content will correspond to multiple digest files.
  • a movie is 120 minutes long, or 7200 seconds. If you extract a keyframe every 10 seconds according to the experience value, that is, cut a picture, and every 100 screenshots are put into a summary file, the movie should have 720. Screenshots, and the 720 screenshots should be saved in 8 summary files in sequence, with the first 7 digest files each containing 100 screenshots and the last summary file containing 20 screenshots.
  • the above-mentioned P screenshots are spliced and saved together in a 10*10 manner to form a summary file composed of 10 rows and 10 columns of screenshots.
  • the screenshot at the first column of the first row corresponds to a frame image at the beginning of the media content
  • the screenshot at the 10th column of the 10th row corresponds to a frame image of the media content at the 1000th second.
  • the model of the display device in the user may be referred to, that is, the display device of different sizes corresponding to different user terminals, and the size of the screenshot is adjusted, thereby capturing images of different sizes and generating corresponding sizes.
  • a summary file of the screenshot For example, user terminals of two sizes corresponding to resolutions of 1024*768 and 1280*960 can be screenshotd with different sizes to generate a summary file corresponding to the display device model of different user terminals.
  • Step 603 After the file name of the above summary file is spliced to the domain name of the content distribution network (cdn: content delivery network) according to a predetermined rule, the storage address of the summary file is generated.
  • the URL of the generated digest file is directly spliced to the domain name of the CDN to obtain the URL of the digest file, so that the URLs of all the digest files of the media content, for example, https: //puui.qpic.cn/video_caps/0/m0024qjk1k9.q1.1.jpg/0.
  • Step 604 Receive a partial keyword input by the user sent by the application client, and determine a corresponding text keyword according to the partial keyword.
  • Step 605 Determine corresponding one or more media content according to the text keyword.
  • Step 606 Acquire the media content information of the one or more media content and the storage address of the digest file, and send the media content information of the one or more media content and the storage address of the digest file to the application client on the user terminal 11. End to make it display.
  • the server may feed back the storage address information of the corresponding digest file to the application client, or may request the storage address of the media content digest file when the application client requests the storage address of the media content digest file.
  • the storage address of the media content summary file is fed back to the application client.
  • the storage address of all the digest files may be fed back at one time, or only the storage address of one digest file may be fed back at a time according to the request of the application client.
  • the application client can realize a quick preview of the key frame screenshot of the media content by rotating the large picture file by moving the image, and on the other hand, compared with the preview manner of the static poster, the impact effect is more A better experience, on the other hand, users can get more information to improve the accuracy of the user's search, avoiding repeated user operations and waste of resources.
  • the summary file is very small, the time required for transmission and the occupied network resources are very small, thereby further avoiding waste of network resources.
  • the embodiment of the present application further provides a media content searching method, which is applicable to the server 13 , and may be based on a partial keyword input by the user and associated with the partial keyword.
  • the media content determines a corresponding list of media content for the user to select.
  • FIG. 7 is a flowchart of a media content searching method provided by an embodiment of the present application. If the method is performed by a server, as shown in FIG. 7, the method includes the following steps:
  • Step 701 Receive a media content search request that carries a part of the keyword from the application client.
  • the partial keyword may be the query content input by the user when searching for the target media content. For example, when the user wants to search for the media content "Speed and Passion 8", he may input part of the keyword "speed” as the query content, or input part of the keyword "passion” as the query content.
  • Step 702 Determine at least one text keyword according to the partial keyword.
  • the above text keyword may be the name of the target media content.
  • server 13 typically maintains a library of candidate keywords to complete the search for media content.
  • the server 13 may perform fuzzy matching on the partial keyword and the candidate keyword in the candidate keyword library to obtain the highest matching degree.
  • One or more text keywords For example, when the user inputs a part of the keyword "three", a plurality of text keywords such as "Sansheng Sanshi Shili Peach Blossom", "New Three Kingdoms” and the like can be matched from the candidate keyword library.
  • Step 703 Sort the at least one text keyword according to the degree of association between the partial keyword recorded by the self and the at least one text keyword.
  • the above fuzzy matching method is likely to match a very large number of text keywords when some keywords input by the user do not have strong discrimination, and thus may drown out the name of the media content that the user really wants to search.
  • the server 13 may match a very large number of text keywords containing "three" from the candidate keyword library. The large number of search results returned based on these text keywords can make it difficult for users to quickly find the target media content "Sansei Sanshi Shili Peach Blossom" that they want to search.
  • the server 13 may pre-record the degree of association between the partial keywords and the text keywords.
  • the degree of association between the partial keyword and the text keyword represents a probability statistic that the user inputs a partial keyword to search and finally selects a media content corresponding to a text keyword, such as the number of times selected or the number of times selected is the number of times of all searches. Proportion and so on. The higher the degree of association between a certain partial keyword and a certain text keyword, the greater the probability that the user finally selects the media content corresponding to the text keyword after inputting the partial keyword.
  • one or more association counters may be set for some keywords, wherein each association counter is used to count the number of associations of the partial keywords with a certain text keyword to record the partial keywords and The relevance of a text keyword.
  • each association counter is used to count the number of associations of the partial keywords with a certain text keyword to record the partial keywords and The relevance of a text keyword.
  • the server 13 matches one or more text keywords from the candidate keyword library according to the partial keyword, and media content information of the media content corresponding to the text keywords. Provide the user with a choice.
  • the user selects one of the media contents, it indicates that the part of the keyword and the text keyword corresponding to the media content generate an association, so that the degree of association corresponding to the part of the keyword and the text keyword can be Adding 1 also adds 1 to the associated counter corresponding to the partial keyword and the text keyword (if there is no corresponding associated counter before the partial keyword and the text keyword, then a keyword and the partial keyword may be first established.
  • the associated technology corresponding to the text keyword and its count value is set to 1).
  • the server 13 after receiving the partial keywords input by the user, the server 13 not only matches the candidate keyword library, but also further matches the partial keywords of the self-recording and the text keywords.
  • the text keywords are sorted to rank the text keywords with high degree of relevance to the partial keywords, thereby ranking the media content that the user is more likely to select, so as to improve the search efficiency of the user.
  • the current “Sansheng Sanshi Shili Peach Blossom” is a popular media content.
  • the most users will choose “Sansheng Sanshi Shili Peach Blossom”.
  • the above correlation degree setting can get the highest degree of relevance between the partial keyword "three” and the text keyword "Sansheng Sanshi Shili Peach Blossom”.
  • the media content "Sansheng Sanshi Shili Peach Blossom" will be at the forefront.
  • the top N text keywords with greater relevance may be retained according to the degree of association, where N is a preset value.
  • Step 704 Determine at least one media content corresponding to the at least one text keyword.
  • the server 13 may determine a text content based on a text keyword and obtain media content information of the text content.
  • Step 705 Feed the media content information of the corresponding media content to the application client according to the sequence of the at least one text keyword.
  • the media content information includes some or all of the information of the media content, the main actor, the poster, and the URL of the media content.
  • the method may further include: updating a degree of association between the partial keyword and the text keyword according to a text keyword corresponding to the media content that the user finally selects to play. That is, for example, the value of the above-mentioned partial keyword and the associated counter corresponding to the text keyword is incremented by one.
  • the effect of sorting the candidate media content according to the heat can be achieved. So that the information of the media content that is more likely to be selected by the user is displayed in front, thereby shortening the time for the user to search for the media content, improving the search efficiency of the user, and avoiding unnecessary page turning, searching, browsing, in the case of a large probability. And so on, thereby saving hardware resources and network resources on the network side and the terminal side.
  • the technical solutions of the foregoing two embodiments may also be combined, that is, the user is provided with a preview of the media content based on the ranking of the media content according to the degree of association.
  • the function further shortens the time for the user to search for the media content, improves the search efficiency of the user, and further avoids unnecessary operations such as downloading and playing the media content, thereby further saving hardware resources and network resources on the network side and the terminal side.
  • the server 13 also needs to generate a digest file for each media content, and feed back the storage address of the media content to the application client while feeding back the media content information.
  • the application client can download the summary file of the media content according to the storage address of the summary file, and play a quick preview of the media content by playing the summary file.
  • the method for the server 13 to generate the media content summary file and the method for the application client 11 to browse the summary file have been described in detail in the foregoing, and are not described herein again.
  • the present application also provides an application client 800 that implements the above method.
  • the application client 800 for implementing the search method of the media content may be implemented by the structure diagram shown in FIG. 8A, including: a sending module 801, a receiving module 802, a displaying module 803, and a preview module 804, each module.
  • the function is as follows:
  • the sending module 801 receives a media content search request that carries a part of keywords, and sends the partial keyword to the server for media content search;
  • the receiving module 802 receives media content information of one or more media content that is fed back by the server;
  • the presentation module 803 displays media content information of the one or more media content
  • the preview module 804 downloads the summary file of the media content in response to the user's preview request for a media content, and plays the summary file of the media content in a preview window corresponding to the media content.
  • FIG. 8B is an internal structural diagram of the display module 803.
  • the presentation module 803 includes an expansion unit 8031, a download unit 8032, and a preview unit 8033. Among them, each unit has the following functions:
  • An expanding unit 8031 displaying part of the media content information of the one or more media content in a list manner; displaying a display area of the media content and in the display area in response to an expansion request for one media content in the list Presenting a preview window of the media content and all media content information of the media content;
  • the downloading unit 8032 in response to the user's preview request for a media content, downloading the digest file of the media content according to the storage address of the digest file;
  • the preview unit 8033 plays a summary file of the media content in the preview window.
  • the preview unit 8033 may include: a disassembly module, configured to split the large picture file into multiple screenshots according to the splicing rule of the digest file. a play area setting sub-module, configured to set a play area in the preview window according to a size of a single screenshot; a mobile play sub-module, configured to display the first screenshot in the play area, and every predetermined time interval T, moving the large picture file according to a predetermined movement rule to display the next screenshot until the end of the preview.
  • a disassembly module configured to split the large picture file into multiple screenshots according to the splicing rule of the digest file.
  • a play area setting sub-module configured to set a play area in the preview window according to a size of a single screenshot
  • a mobile play sub-module configured to display the first screenshot in the play area, and every predetermined time interval T, moving the large picture file according to a predetermined movement rule to display the next screenshot until the end of the preview.
  • the display module 803 may further include: a progress adjustment unit 8034 that adjusts the preview progress according to the user's playback progress adjustment operation and the user's current operation position in the preview window.
  • the progress adjustment unit 8034 includes: an operation position acquisition sub-module, in response to the user's play progress adjustment operation, acquiring an operation position of the user currently in the preview window; and a play progress determination sub-module for displaying the preview window according to the user currently a working position within the device, determining a playing progress value of the media content corresponding to the operating position; and a progress adjusting submodule, configured to determine, according to the playing progress value, a position of the screenshot corresponding to the media content in the summary file according to the playing progress value .
  • the preview module can then continue to play the summary file from that location.
  • FIG. 9 shows a block diagram of the computing device 900 in which the application client 800 implementing the media content search method is located.
  • the computing device includes one or more processors (CPUs) 902, communication modules 904, memory 906, user interface 910, and a communication bus 908 for interconnecting these components.
  • processors CPUs
  • communication modules 904
  • memory 906 user interface 910
  • communication bus 908 for interconnecting these components.
  • the processor 902 can receive and transmit data through the communication module 904 to enable network communication and/or local communication.
  • User interface 910 includes one or more output devices 912 that include one or more speakers and/or one or more visual displays.
  • User interface 910 also includes one or more input devices 914 including, for example, a keyboard, a mouse, a voice command input unit or loudspeaker, a touch screen display, a touch sensitive tablet, a gesture capture camera or other input button or control, and the like.
  • the memory 906 can be a high speed random access memory such as DRAM, SRAM, DDR RAM, or other random access solid state storage device; or a non-volatile memory such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, Or other non-volatile solid-state storage devices.
  • a high speed random access memory such as DRAM, SRAM, DDR RAM, or other random access solid state storage device
  • non-volatile memory such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, Or other non-volatile solid-state storage devices.
  • the memory 906 stores a set of instructions executable by the processor 902, including:
  • Operating system 916 including programs for processing various basic system services and for performing hardware related tasks
  • the application 918 includes various applications for implementing media content search, such an application being capable of implementing the processing flow in each of the above examples, such as some or all of the user terminals 800 that may include the media content search method illustrated in FIG. unit.
  • At least one of the units or modules 801-804 can store machine executable instructions.
  • the processor 902 can implement the functions of at least one of the modules 801-804 described above by executing machine executable instructions in at least one of the modules 801-804 in the memory 906.
  • the present application also provides a server 1000 that implements the above method.
  • the server 1000 for implementing the search method of the media content may be implemented by the structure diagram shown in FIG. 10, including the digest file generating module 1001, the first receiving module 1002, the determining module 1003, and the first sending module 1004.
  • the functions of each module are as follows:
  • the digest file generating module 1001 is mainly configured to extract a plurality of image frames from the media content after the media content is uploaded, such as in the process of encoding watermarking, to generate at least one digest file of the media content.
  • the first receiving module 1002 is configured to receive a media content search request that carries a partial keyword from the application client, and determine one or more text keywords according to the partial keyword.
  • the determining module 1003 is configured to determine one or more media content according to the text keyword, and obtain media content information of the one or more media content and a storage address of the digest file.
  • the sending module 1004 is configured to feed back the media content information of the one or more media content and the storage address of the digest file to the application client.
  • the digest file generating module 1001 when the digest file is a large picture file, the digest file generating module 1001 includes: a screenshot module 10011 and a splicing module 10012. The above summary file generating module 1001 may further include an address generating module 10013.
  • the screenshot module 10011 intercepts a plurality of screenshots from the media content according to a frequency of intercepting one frame of image from the media content every predetermined time interval a.
  • the splicing module 10012 combines each P screenshot according to a predetermined splicing rule to generate a large picture file, and uses the generated at least one large picture file as one or more summary files of the media content.
  • the address generation module 10013 after splicing the file name of the digest file to the domain name of the CDN according to a predetermined rule, generates a storage address of the digest file.
  • the server 1000 may further include: a sorting module, configured to record a degree of association between the partial keyword and the text keyword, and according to the partial keyword and the at least one text recorded by itself The degree of association of the keywords, the at least one text keyword is sorted.
  • the sending module 1004 feeds back the media content information of the one or more media content and the storage address of the digest file to the application client according to the order of the at least one text keyword.
  • the server generates a digest file for each media content in advance, and the application client can play the digest file under the request of the user, that is, realize the quick capture of the key frame of the media content by means of the image rotation. Preview.
  • this method has a more impact effect than the preview mode of the static poster, giving the user a better experience; on the other hand, the user can obtain more information to improve the accuracy of the user to determine the search, and avoid the user.
  • the necessary repetitive operations avoid waste of hardware resources and network resources on the terminal side and the network side.
  • Embodiments of the present application also provide a server 1100 that implements the above method.
  • the server 1100 for implementing the search method of the media content may be implemented by the structure diagram shown in FIG. 11, and includes a second receiving module 1101, a first determining module 1102, a sorting module 1103, and a second determining module 1104.
  • the second sending module 1105 the functions of each module are as follows:
  • the second receiving module 1101 receives a partial keyword input by the user sent by the application client;
  • the first determining module 1102 determines at least one text keyword according to the partial keyword
  • the sorting module 1103 records the degree of association between the partial keyword and the text keyword, and sorts the at least one text keyword according to the degree of association between the partial keyword and the at least one text keyword recorded by the self;
  • the second determining module 1104 is configured to determine at least one media content corresponding to the at least one text keyword.
  • the second sending module 1105 feeds back the media content information of the corresponding media content to the application client according to the sequence of the at least one text keyword.
  • the server 1100 for implementing the search method of the media content further includes: an establishing module 1106, updating the text corresponding to the partial keyword and the media content according to the partial keyword input by the user and the media content selected for the click The degree of relevance of the keyword.
  • the setup module 1106 further sets an association counter for counting the number of associations of each partial keyword with a text keyword corresponding to a particular media content.
  • the partial counter and the associated counter corresponding to the text keyword corresponding to the media content are incremented by one.
  • the value of the correlation counter is the number of times the partial keyword is associated with the text keyword corresponding to the media content.
  • the ranking module 1103 can further retain the top N text keywords of the relevance after sorting, where N is a preset value.
  • the server of the above embodiment by setting the degree of association between the partial keyword and the text keyword, and sorting the media content corresponding to the text keyword according to the degree of association, the effect of sorting the candidate media content according to the heat can be achieved, thereby making the
  • the information of the media content that may be selected by the user is displayed in front, thereby shortening the time for the user to search for the media content, improving the search efficiency of the user, and avoiding unnecessary page turning, searching, browsing, etc., in a large probability. Save hardware resources and network resources on the network side and terminal side.
  • the server 1100 that implements the search method of the media content may further include the above-described digest file generating module 1001.
  • the second sending module 1105 further feeds back the summary file of the media content to the application client when feeding the media content information of the media content.
  • FIG. 12 shows a compositional diagram of a computing device 1200 in which a server 1000 or 1100 implementing a media content search method is located.
  • the computing device includes one or more processors (CPUs) 1202, communication modules 1204, memories 1206, user interfaces 1210, and a communication bus 1208 for interconnecting these components.
  • processors CPUs
  • communication modules 1204
  • memories 1206, user interfaces 1210
  • communication bus 1208 for interconnecting these components.
  • the processor 1202 can receive and transmit data through the communication module 1204 to effect network communication and/or local communication.
  • User interface 1210 includes one or more output devices 1212 that include one or more speakers and/or one or more visual displays.
  • User interface 1210 also includes one or more input devices 1214 including, for example, a keyboard, a mouse, a voice command input unit or loudspeaker, a touch screen display, a touch sensitive tablet, a gesture capture camera or other input button or control, and the like.
  • the memory 1206 can be a high speed random access memory such as DRAM, SRAM, DDR RAM, or other random access solid state storage device; or a non-volatile memory such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, Or other non-volatile solid-state storage devices.
  • a high speed random access memory such as DRAM, SRAM, DDR RAM, or other random access solid state storage device
  • non-volatile memory such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, Or other non-volatile solid-state storage devices.
  • the memory 1206 stores a set of instructions executable by the processor 1202, including:
  • An operating system 1216 including a program for processing various basic system services and for performing hardware related tasks
  • the application 1218 includes various applications for implementing media content search, and the application can implement the processing flow in each of the above examples, for example, may include some or all of the units in the server 1000 shown in FIG. 10 or the server shown in FIG. Some or all of the units in 1100. At least one of the units or modules 1001-1004 or 1101-1106 may store machine executable instructions.
  • the processor 1202 can implement the functions of at least one of the modules 1001-1004 or 1101-1106 described above by executing machine executable instructions in at least one of the modules 1001-1004 or 1101-1106 in the memory 1206.
  • the hardware modules in the embodiments may be implemented in a hardware manner or a hardware platform plus software.
  • the above software includes machine readable instructions stored in a non-volatile storage medium.
  • embodiments can also be embodied as software products.
  • some examples of the present application also provide a computer readable storage medium having stored thereon computer instructions, wherein the computer instructions are executed by a processor to implement the method of any of Figures 2-7 above. step.
  • the hardware may be implemented by specialized hardware or hardware that executes machine readable instructions.
  • the hardware can be a specially designed permanent circuit or logic device (such as a dedicated processor such as an FPGA or ASIC) for performing a particular operation.
  • the hardware may also include programmable logic devices or circuits (such as including general purpose processors or other programmable processors) that are temporarily configured by software for performing particular operations.
  • each instance of the present application can be implemented by a data processing program executed by a data processing device such as a computer.
  • the data processing program constitutes the present application.
  • a data processing program usually stored in a storage medium is executed by directly reading a program out of a storage medium or by installing or copying the program to a storage device (such as a hard disk and or a memory) of the data processing device. Therefore, such a storage medium also constitutes the present application, and the present application also provides a non-volatile storage medium in which a data processing program is stored, which can be used to execute any of the above-mentioned method examples of the present application. An example.
  • the machine readable instructions corresponding to the modules in Figures 8A, 8B, 10, and 11 may cause an operating system or the like operating on a computer to perform some or all of the operations described herein.
  • the non-transitory computer readable storage medium may be inserted into a memory provided in an expansion board within the computer or written to a memory provided in an expansion unit connected to the computer.
  • the CPU or the like installed on the expansion board or the expansion unit can perform part and all of the actual operations according to the instructions.
  • the devices and modules in the various examples of the present application may be integrated into one processing unit, or each module may exist physically separately, or two or more devices or modules may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present application provides a media content search method, the method comprising: receiving a media content search request carrying keywords; sending the keywords to a server and performing a media content search; receiving media content information of one or more media content items fed back by the server; presenting the media content information of the one or more media content items; downloading a summary file of the media content item in response to a user request for previewing one of the media content item, wherein the summary file is a media file that is generated by the server according to a plurality of image frames extracted from the media content item and corresponds to the media content item. The summary file of the media content item is played in a preview window corresponding to the media content item. Correspondingly, the present application also provides a user terminal and a server.

Description

一种媒体内容搜索方法、装置及存储介质Media content searching method, device and storage medium
本申请要求于2017年11月09日提交中国专利局、申请号为201711097780.6、名称为“一种媒体内容搜索方法、装置及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. JP-A No. No. No. No. No. No. No. No. No. No. No. No. No. No. In this application.
技术领域Technical field
本申请涉及信息技术领域,尤其涉及一种媒体内容搜索方法、装置及存储介质。The present application relates to the field of information technology, and in particular, to a media content search method, apparatus, and storage medium.
背景background
搜索是互联网上最重要的一项功能,几乎人人都会通过搜索去查询网页、新闻、地图、知识、图片等等,这让它成为巨大的流量的入口。在搜索场景中,用户输入关键词时,能够出现联想关键字,减少用户输入。但是在视频应用的搜索场景下,当用户看到联想出的关键词时,可能仍然不清楚哪个是想要的,特别是非头部剧的搜索。Search is one of the most important functions on the Internet. Almost everyone searches for web pages, news, maps, knowledge, pictures, etc., which makes it a huge portal for traffic. In the search scenario, when a user inputs a keyword, a Lenovo keyword can appear, reducing user input. However, in the search scenario of the video application, when the user sees the associated keyword, it may still be unclear which one is desired, especially the non-header search.
技术内容Technical content
本申请的实施例提供了一种媒体内容搜索方法。该方法包括:接收携带部分关键词的媒体内容搜索请求;发送所述部分关键词至服务器进行媒体内容搜索;接收服务器反馈的一个或多个媒体内容的媒体内容信息;展示所述一个或多个媒体内容的媒体内容信息;响应于用户针对一媒体内容的预览请求,下载所述媒体内容的摘要文件;其中,所述摘要文件为服务器根据从所述媒体内容提取的多个图像帧而生成的对应该媒体内容的媒体文件;以及在所述媒体内容对应的预览窗内播放所述媒体内容的摘要文件。Embodiments of the present application provide a media content search method. The method includes: receiving a media content search request that carries a part of a keyword; sending the partial keyword to a server for media content search; receiving media content information of one or more media content that is fed back by the server; and displaying the one or more Media content information of the media content; downloading a digest file of the media content in response to a user's preview request for a media content; wherein the digest file is generated by the server according to a plurality of image frames extracted from the media content a media file corresponding to the media content; and a summary file of the media content being played within a preview window corresponding to the media content.
本申请的实施例还提供了一种媒体内容搜索方法。该方法包括:在一媒体内容上传以后,从所述媒体内容中提取多个图像帧,生成所述媒体内容的至少一个摘要文件;接收来自应用客户端的携带部分关键词的媒体内容搜索请求;根据所述部分关键词确定一个或者多个文本关键词;根据所述一个或者多个文本关键词确定的一个或多个媒体内容;获取所述一个或多个媒体内容的媒体内容信息以及摘要文件的存储地址;将所述一个或多个媒体内容的媒体内容信息以及摘要文件的存储地址反馈给所述应用客户端。Embodiments of the present application also provide a media content search method. The method includes: after a media content is uploaded, extracting a plurality of image frames from the media content, generating at least one summary file of the media content; receiving a media content search request from a client client that carries a part of the keyword; The partial keyword determines one or more text keywords; one or more media content determined according to the one or more text keywords; obtaining media content information of the one or more media content and a summary file Storing an address; feeding back the media content information of the one or more media content and the storage address of the digest file to the application client.
本申请的实施例还提供了一种媒体内容搜索方法。该方法包括:接收来自应用客户端的携带部分关键词的媒体内容搜索请求;根据所述部分关键词确定一个或者多个文本关键词;根据自身记录的所述部分关键词与所述至少一个文本关键词的关联度对所述至少一个文本关键词进行排序;其中,所述部分关键词与文本关键词的关联度代表用户输入一个部分关键词进行检索并最终选择了一个文本关键词所对应媒体内容的概率统计值;根据所述一个或者多个文本关键词确定的一个或多个媒体内容;获取所述一个或多个媒体内容的媒体内容信息以及摘要文件的存储地址;按照所述至少一个文本关键词的顺序将对应的媒体内容的媒体内容信息以及摘要文件的存储地址反馈给所述应用客户端。Embodiments of the present application also provide a media content search method. The method includes: receiving a media content search request carrying a partial keyword from an application client; determining one or more text keywords according to the partial keyword; and the partial keyword and the at least one text key according to the self-recording The degree of relevance of the word sorts the at least one text keyword; wherein the degree of association between the partial keyword and the text keyword represents that the user inputs a partial keyword to search and finally selects a media content corresponding to the text keyword a probability statistical value; one or more media content determined according to the one or more text keywords; obtaining media content information of the one or more media content and a storage address of the digest file; following the at least one text The order of the keywords feeds back the media content information of the corresponding media content and the storage address of the digest file to the application client.
本申请的实施例还公开了一种用户终端。所述用户终端包括:An embodiment of the present application also discloses a user terminal. The user terminal includes:
发送模块,用于接收携带部分关键词的媒体内容搜索请求,并发送所述部分关键词至服务器进行媒体内容搜索;a sending module, configured to receive a media content search request that carries a part of the keyword, and send the partial keyword to the server for media content search;
接收模块,用于接收服务器反馈的一个或多个媒体内容的媒体内容信息;a receiving module, configured to receive media content information of one or more media content that is fed back by the server;
展示模块,用于展示所述一个或多个媒体内容的媒体内容信息;a display module, configured to display media content information of the one or more media content;
预览模块,响应于用户针对一媒体内容的预览请求,下载所述媒体内容的摘要文件,并在所述媒体内容对应的预览窗内播放所述媒体内容的摘要文件。The preview module, in response to the user's preview request for a media content, downloads a summary file of the media content, and plays a summary file of the media content in a preview window corresponding to the media content.
本申请的实施例还公开了一种服务器。所述服务器包括:An embodiment of the present application also discloses a server. The server includes:
摘要文件生成模块,用于从所述媒体内容中提取多个图像帧,生成所述媒体内容的至少一个摘要文件;a summary file generating module, configured to extract a plurality of image frames from the media content, and generate at least one summary file of the media content;
第一接收模块,用于接收来自应用客户端的携带部分关键词的媒体内容搜索请求,并根据所述部分关键词确定一个或者多个文本关键词;a first receiving module, configured to receive a media content search request that carries a part of the keyword from the application client, and determine one or more text keywords according to the partial keyword;
确定模块,用于根据上述文本关键词确定一个或多个媒体内容,并获取所述一个或多个媒体内容的媒体内容信息以及摘要文件的存储地址;以及a determining module, configured to determine one or more media content according to the text keyword, and obtain media content information of the one or more media content and a storage address of the digest file;
发送模块,用于将所述一个或多个媒体内容的媒体内容信息以及摘要文件的存储地址反馈给所述应用客户端。And a sending module, configured to feed back the media content information of the one or more media content and the storage address of the digest file to the application client.
本申请的实施例还公开了一种服务器,其中,所述服务器包括:An embodiment of the present application also discloses a server, where the server includes:
接收模块,用于接收应用客户端发送的用户输入的部分关键词;a receiving module, configured to receive a part of a keyword input by a user sent by an application client;
第一确定模块,用于根据所述部分关键词确定出至少一个文本关键词;a first determining module, configured to determine at least one text keyword according to the partial keyword;
排序模块,用于记录部分关键词与文本关键词的关联度,并根据自身记录的上述部分关键词与上述至少一个文本关键词的关联度对所述至少一个文本关键词进行排序;a sorting module, configured to record a degree of association between the partial keyword and the text keyword, and sort the at least one text keyword according to the degree of association between the partial keyword and the at least one text keyword recorded by the self-recording;
第二确定模块,用于确定与上述至少一个文本关键词对应至少一个媒体内容;以及a second determining module, configured to determine at least one media content corresponding to the at least one text keyword; and
发送模块,用于按照所述至少一个文本关键词的顺序将对应的媒体内容的媒体内容信息反馈给应用客户端。And a sending module, configured to feed back the media content information of the corresponding media content to the application client according to the order of the at least one text keyword.
上述服务器可以进一步包括:建立模块,用于根据用户输入的部分关键词和选择点击的媒体内容,更新部分关键词与媒体内容所对应的文本关键词的关联度。The server may further include: an establishing module, configured to update a degree of association between the partial keyword and the text keyword corresponding to the media content according to the partial keyword input by the user and the selected media content.
本申请实施例还提供了一种存储介质,存储有可读指令,可以使至少一个处理器执行上述媒体内容搜索的发送方法。The embodiment of the present application further provides a storage medium storing readable instructions, which can enable at least one processor to perform the sending method of the media content search.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图1为本申请一实施例的系统结构示意图;1 is a schematic structural diagram of a system according to an embodiment of the present application;
图2为本申请一实施例的媒体内容搜索方法的流程图;2 is a flowchart of a media content searching method according to an embodiment of the present application;
图3为本申请一实施例所述的以列表形式展示媒体内容的示例;3 is an example of displaying media content in a list form according to an embodiment of the present application;
图4为本申请一实施例所述的展开一个媒体内容的示例;4 is an example of expanding a media content according to an embodiment of the present application;
图5为本申请一实施例所述的一个自动轮播摘要文件的示例;FIG. 5 is an example of an automatic carousel summary file according to an embodiment of the present application; FIG.
图6为本申请一实施例的媒体内容搜索方法的流程图;6 is a flowchart of a media content search method according to an embodiment of the present application;
图7为本申请一实施例的媒体内容搜索方法的流程图;FIG. 7 is a flowchart of a media content searching method according to an embodiment of the present application;
图8A为本申请一实施例的用户终端的结构示意图;FIG. 8A is a schematic structural diagram of a user terminal according to an embodiment of the present application;
图8B为本申请一实施例的展示模块的结构示意图;8B is a schematic structural diagram of a display module according to an embodiment of the present application;
图9为本申请一实施例的用户终端的硬件结构示意图;FIG. 9 is a schematic structural diagram of hardware of a user terminal according to an embodiment of the present application;
图10为本申请一实施例的服务器的结构示意图;FIG. 10 is a schematic structural diagram of a server according to an embodiment of the present application;
图11为本申请一实施例的服务器的结构示意图;以及FIG. 11 is a schematic structural diagram of a server according to an embodiment of the present application;
图12为本申请一实施例的服务器的硬件结构示意图。FIG. 12 is a schematic structural diagram of hardware of a server according to an embodiment of the present application.
实施方式Implementation
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
为了描述上的简洁和直观,下文通过描述若干代表性的实施例来对本发明的方案进行阐述。实施例中大量的细节仅用于帮助理解本发明的方案。但是很明显,本发明的技术方案实现时可以不局限于这些细节。为了避免不必要地模糊了本发明的方案,一些实施方式没有进行细致地描述,而是仅给出了框架。下文中,“包括”是指“包括但不限于”,“根据……”是指“至少根据……,但不限于仅根据……”。下文中没有特别指出一个成分的数量时,意味着该成分可以是一个也可以是多个,或可理解为至少一个。For the sake of brevity and clarity of the description, the aspects of the present invention are set forth below by describing several representative embodiments. Numerous details in the examples are only provided to aid in understanding the aspects of the invention. However, it is obvious that the technical solution of the present invention can be implemented without being limited to these details. In order to avoid unnecessarily obscuring aspects of the present invention, some embodiments are not described in detail, but only the framework is given. Hereinafter, "including" means "including but not limited to", and "according to" means "at least according to ..., but not limited to only based on". When the number of one component is not specifically indicated below, it means that the component may be one or plural, or may be understood as at least one.
需要说明的是,在本申请中,后文所称媒体内容具体可以是指视频、音频、图片等多媒体内容。目前对媒体内容搜索方法有很多种类。有一类搜索方法是以关键词提示为主。具体而言,当接收到用户通过终端输入的目标媒体内容名称的前缀时,比如影视剧名称的前缀,网络侧服务器可以依据该前缀联想出可能的各类查询关键词,并通过用户终端以下拉列表的方式将各个查询关键词展示给用户。其中,上述前缀是指目标媒体内容的名称的前一个或多个字。当用户选中其中某个查询关键词时,网络侧服务器根据该查询关键词进行实际搜索,得到包含一个或多个媒体内容的媒体内容信息的搜索结果,并通过终端 向用户展示搜索结果。还有一类搜索方法在显示搜索结果时除了显示搜索出来媒体内容的名称外,还进一步显示该媒体内容静态海报图等信息。然而,无论哪一种搜索方法,如果有多个剧目名称类似的情况,用户需要在多个候选的关键词中做出选择,而后进行搜索。还要在搜索出的候选媒体内容中进一步浏览、查找自己想要的媒体内容。通常如果搜索后发现内容不是想要的,很可能需要用户重新键入关键词另行搜索。这样的过程通常会由于用户不能获得更多信息导致不能确定搜索准确度从而使用户重复操作,用户体验不够智能和便捷,同时也造成资源的浪费。It should be noted that, in the present application, the media content hereinafter may specifically refer to multimedia content such as video, audio, and pictures. There are currently many types of media content search methods. One type of search method is based on keyword prompts. Specifically, when receiving the prefix of the target media content name input by the user through the terminal, such as the prefix of the movie drama name, the network side server may associate various possible query keywords according to the prefix, and pull through the user terminal The way of the list shows each query keyword to the user. Wherein, the above prefix refers to the previous word or words of the name of the target media content. When the user selects one of the query keywords, the network side server performs an actual search according to the query keyword, obtains a search result of the media content information including one or more media contents, and displays the search result to the user through the terminal. There is also a type of search method that displays the search result and the information of the static content of the media content in addition to the name of the searched media content. However, no matter which search method is used, if there are multiple cases with similar play names, the user needs to make a selection among a plurality of candidate keywords and then search. Also browse and find the media content you want in the searched candidate media content. Usually if the search finds that the content is not what you want, you will most likely need the user to retype the keyword to search separately. Such a process usually fails to determine the accuracy of the search because the user cannot obtain more information, so that the user repeats the operation, the user experience is not smart and convenient, and also causes waste of resources.
为了解决上述问题,本申请的实例提出了一种媒体内容搜索方法。在该方法中,当用户通过应用客户端输入目标媒体内容的部分关键词后,应用客户端将服务器搜索出的候选媒体内容的媒体内容信息展示给用户,并在用户选择预览某个媒体内容后,播放服务器返回的该媒体内容的摘要文件,以关键帧动图轮播方式来模拟视频播放效果,使用户能够快速预览到媒体内容,确定该媒体内容是否为用户想要的媒体内容。这样的媒体搜索方法可以提高用户搜索媒体内容的效率,改善用户通过搜索快速找媒体内容的体验,从而节省终端侧以及网络侧设备的硬件资源以及通信所占用的网络资源。这里,上述目标搜索内容的部分关键词可以是指媒体内容名称的一部分,例如,电影《速度与激情8》名称中的“速度”或者“激情”可以作为部分关键词输入进行搜索。In order to solve the above problem, an example of the present application proposes a media content search method. In the method, after the user inputs a part of the keywords of the target media content through the application client, the application client displays the media content information of the candidate media content searched by the server to the user, and after the user selects to preview a certain media content, The summary file of the media content returned by the playback server simulates the video playback effect in a key frame animation rotation manner, so that the user can quickly preview the media content to determine whether the media content is the media content desired by the user. Such a media search method can improve the efficiency of the user searching for the media content, and improve the user's experience of quickly finding the media content through the search, thereby saving the hardware resources of the terminal side and the network side device and the network resources occupied by the communication. Here, part of the keywords of the target search content may refer to a part of the media content name. For example, "speed" or "passion" in the name of the movie "Speed and Passion 8" may be searched as part of the keyword input.
图1显示了本申请一些实施例所述的一种媒体内容搜索方法所适用的媒体内容搜索系统结构示意图。如图1所示,本申请的媒体内容搜索系统至少包括:用户终端11、网络12和服务器13。FIG. 1 is a schematic structural diagram of a media content search system to which a media content search method according to some embodiments of the present application is applied. As shown in FIG. 1, the media content search system of the present application includes at least: a user terminal 11, a network 12, and a server 13.
在本申请的一些实例中,上述用户终端11可以是个人计算机、 笔记本,也可以是平板电脑、智能手机和PAD等智能终端设备。该用户终端11上包含有显示装置,比如液晶屏幕。一般情况下,在用户终端11上可以安装各种应用客户端,比如,腾讯视频等应用客户端。该应用客户端可以从服务器13获取相应的媒体内容并在自身的显示装置向用户显示。In some examples of the present application, the user terminal 11 may be a personal computer, a notebook, or a smart terminal device such as a tablet computer, a smart phone, or a PAD. The user terminal 11 includes a display device such as a liquid crystal screen. Generally, various application clients, such as application clients such as Tencent video, can be installed on the user terminal 11. The application client can obtain corresponding media content from the server 13 and display it to the user on its own display device.
服务器13为与应用客户端对应的应用服务器,例如,可以是腾讯视频服务器等等。服务器13中的应用服务器软件与用户终端11中的应用客户端软件一起为用户提供服务,例如,根据关键词确定需要预览的内容等媒体内容。上述服务器13可以是单独的服务器也可以是多个服务器组成的集群服务器。The server 13 is an application server corresponding to the application client, and may be, for example, a Tencent video server or the like. The application server software in the server 13 provides services to the user together with the application client software in the user terminal 11, for example, determining media content such as content that needs to be previewed based on keywords. The above server 13 may be a separate server or a cluster server composed of a plurality of servers.
网络12可以包括有线网络和无线网络。如图1所示,在接入网一侧,用户终端11可以通过无线的方式或者有线的方式接入到网络12;而在核心网一侧,服务器13一般是通过有线方式连接到网络12的。当然,服务器13也可以通过无线方式连接到网络12。 Network 12 can include wired networks and wireless networks. As shown in FIG. 1, on the access network side, the user terminal 11 can access the network 12 by way of wireless or wired; on the core network side, the server 13 is generally connected to the network 12 by wire. . Of course, the server 13 can also be connected to the network 12 wirelessly.
下面结合附图,通过几个实施例对本申请实例提供的媒体内容搜索方法进行说明。The media content search method provided by the example of the present application will be described below with reference to the accompanying drawings.
基于上述图1所示的系统结构,本申请的一个实施例提供了一种媒体内容搜索方法,应用于用户终端11的应用客户端上,该方法在向用户显示通过关键词搜索到的包含至少一个媒体内容的列表后,响应于用户针对一个媒体内容的预览请求操作,展示该媒体内容的预览信息,为用户提供更多更丰富的信息供用户确定该媒体内容是否为其需要的媒体内容,从而提高媒体内容搜索的效率,节省用户端侧设备、网络侧设备的硬件资源以及网络资源。Based on the system structure shown in FIG. 1 , an embodiment of the present application provides a media content search method, which is applied to an application client of the user terminal 11 , and the method displays at least a keyword searched by a keyword to the user. After a list of media content, in response to the user's preview request operation for one media content, the preview information of the media content is displayed, and the user is provided with more rich information for the user to determine whether the media content is the media content required by the user. Thereby, the efficiency of the media content search is improved, and the hardware resources and network resources of the user side device and the network side device are saved.
图2示出了本申请实例提供的媒体内容搜索方法的流程图。该媒体内容搜索方法,由用户终端执行,如图2所示,该方法包括以下步 骤:FIG. 2 shows a flow chart of a media content search method provided by an example of the present application. The media content searching method is performed by a user terminal. As shown in FIG. 2, the method includes the following steps:
步骤201:接收携带部分关键词的媒体内容搜索请求,并发送所述部分关键词至服务器进行媒体内容搜索。Step 201: Receive a media content search request that carries a part of the keyword, and send the partial keyword to the server for media content search.
在一些实施例中,用户可以通过用户终端11上的应用客户端进行媒体内容的搜索,以期找到其需要的媒体内容,亦可称为目标媒体内容。具体而言,用户通常可以在用户终端11上应用客户端提供的搜索框内输入部分关键词,并点击搜索按键来向应用客户端发送媒体内容搜索请求。此时,应用客户端响应于该媒体内容搜索请求,将用户在搜索框内输入的上述部分关键词发送给服务器,以使服务器根据上述部分关键词进行媒体内容搜索以确定与其对应的媒体内容。In some embodiments, the user may search for the media content through the application client on the user terminal 11 in order to find the media content it needs, which may also be referred to as the target media content. Specifically, the user can usually input a partial keyword in the search box provided by the client on the user terminal 11 and click the search button to send a media content search request to the application client. At this time, the application client sends the partial keyword input by the user in the search box to the server in response to the media content search request, so that the server performs media content search according to the partial keyword to determine the media content corresponding thereto.
步骤202:接收服务器反馈的一个或多个媒体内容的媒体内容信息。Step 202: Receive media content information of one or more media content that is fed back by the server.
这里,上述媒体内容信息为可以用于描述媒体内容特征的信息,包括媒体内容的名称、类型、主要演员、媒体内容的存储地址以及海报等信息中的一个或者多个。通常情况下,服务器会根据应用客户端上传的部分关键词进行媒体内容的搜索,获取搜索到的媒体内容的媒体内容信息,并将获取的媒体内容的媒体内容信息反馈给应用客户端。Here, the media content information is information that can be used to describe the characteristics of the media content, including one or more of the name, type, main actor, storage address of the media content, and poster information of the media content. Generally, the server searches for the media content according to some keywords uploaded by the application client, obtains the media content information of the searched media content, and feeds the obtained media content information of the media content to the application client.
在本申请的实施例中,除了媒体内容的媒体内容信息之外,服务器还可以进一步反馈搜索到的媒体内容所对应摘要文件的存储地址。In the embodiment of the present application, in addition to the media content information of the media content, the server may further feed back the storage address of the digest file corresponding to the searched media content.
在本申请的实施例中,上述摘要文件可以是服务器根据从一个媒体内容提取的多个关键帧而生成的对应该媒体内容的媒体文件。例如,服务器可以按照固定时间间隔a(比如每隔10秒)对一个媒体内容进行截图,得到多个截图,并将预定数量的多个截图按照一定的顺序和拼接规则进行拼接得到一个或者多个大图片文件。其中,每一个大图片文件可以作为上述媒体内容的一个摘要文件,一般每个媒体内容可 以有一个或多个摘要文件。又例如,服务器可以按照固定时间间隔a(比如每隔10秒)对一个媒体内容进行截图,得到多个截图,然后根据得到的多个截图生成一个动图文件,并将该动图文件作为上述媒体内容的一个摘要文件。服务器在生成上述摘要文件之后,将其存储在自身的数据库中,并记录该摘要文件的存储地址。例如,上述摘要文件的存储地址可以是标识摘要文件存储位置的统一资源定位符(URL)。In an embodiment of the present application, the summary file may be a media file corresponding to the media content generated by the server according to a plurality of key frames extracted from one media content. For example, the server may take a screenshot of a media content at a fixed time interval a (such as every 10 seconds), obtain multiple screenshots, and splicing a predetermined number of multiple screenshots in a certain order and splicing rules to obtain one or more Large picture file. Each large picture file can be used as a summary file of the above media content. Generally, each media content can have one or more summary files. For another example, the server may take a screenshot of a media content according to a fixed time interval a (such as every 10 seconds), obtain multiple screenshots, and then generate an animation file according to the obtained multiple screenshots, and use the animation file as the above. A summary file of media content. After the server generates the above summary file, it stores it in its own database and records the storage address of the summary file. For example, the storage address of the above digest file may be a uniform resource locator (URL) that identifies the storage location of the digest file.
步骤203:展示所述一个或多个媒体内容的媒体内容信息。Step 203: Display media content information of the one or more media content.
在本申请的一些实施例中,应用客户端可以通过列表的方式展示所述一个或多个媒体内容的媒体内容信息。例如,图3示出了以列表形式展示媒体内容的媒体内容信息的示例。如图3所示,应用客户端接收与部分关键字301“速度”对应的媒体内容《速度与激情8》、《速度与激情7》、《速度与激情6》…,并以列表形式展示,其中,上述列表中展示了每一个媒体内容的媒体内容信息,例如,每一个媒体内容的名称302和类别303。In some embodiments of the present application, the application client may display the media content information of the one or more media content by way of a list. For example, FIG. 3 shows an example of displaying media content information of media content in a list form. As shown in FIG. 3, the application client receives the media content "Speed and Passion 8", "Speed and Passion 7", "Speed and Passion 6" corresponding to the "Speed" of the partial keyword 301, and displays it in a list form. The media content information of each media content is displayed in the above list, for example, the name 302 and the category 303 of each media content.
步骤204:响应于用户针对一媒体内容的预览请求,下载所述媒体内容的摘要文件,并在该媒体内容对应的预览窗内播放所述媒体内容的摘要文件。Step 204: Download a summary file of the media content in response to the user's preview request for a media content, and play the summary file of the media content in a preview window corresponding to the media content.
在本申请的实施例中,在应用客户端展示所述一个或多个媒体内容的媒体内容信息时,针对每个媒体内容还可以进一步为用户展示一个预览窗,用于为用户展示媒体内容的海报或者摘要文件。In an embodiment of the present application, when the application client displays the media content information of the one or more media content, the user may further display a preview window for displaying the media content for the user for each media content. Poster or abstract file.
具体地,在应用客户端通过列表方式展示所述一个或多个媒体内容的媒体内容信息时,应用客户端可以在页面上为每个媒体内容设置一个展示区域,用于展示媒体内容的媒体内容信息。此时,预览窗可以设置在每个媒体内容的展示区域内预先确定的位置。Specifically, when the application client displays the media content information of the one or more media content in a list manner, the application client may set a display area for each media content on the page for displaying the media content of the media content. information. At this time, the preview window may be set at a predetermined position within the display area of each media content.
在本申请的一些实施例中,为了减少展示每个媒体内容时所占的版面,以求在同一页面中显示更多媒体内容的媒体内容信息,如图3所示,在应用客户端通过列表方式展示所述一个或多个媒体内容的媒体内容信息时,可以在页面上以列表方式显示所述第一或多个媒体内容的部分媒体内容信息,例如名称和类型等,而不展示媒体内容信息的全部内容以及预览窗。此时,如果用户希望查看某个媒体内容全部的媒体内容信息以及预览窗,则需要发送针对该媒体内容的展开请求。例如,如图3所示,在应用客户端通过列表方式展示所述一个或多个媒体内容的媒体内容信息时,对应每一个媒体内容显示有一个展开符号304。用户点击某个媒体内容对应的展开符号304即可以触发针对该媒体内容的展开请求。作为替代的方案,应用客户端也可以不显示每个媒体内容对应的展开符号304,此时,上述展开请求可以由用户点击某一媒体内容的部分媒体内容信息的点击操作来触发,或者还也可以由用户鼠标滑到某一媒体内容的部分媒体内容信息的滑动操作来触发。无论采用哪一种触发方式,响应于对所述列表中一个媒体内容的展开请求,应用客户端将展开显示所述媒体内容的展示区域并在所述展示区域内展示所述媒体内容的预览窗和所述媒体内容的全部媒体内容信息。In some embodiments of the present application, in order to reduce the layout of each media content, in order to display more media content of the media content in the same page, as shown in FIG. 3, the application client passes the list. When the media content information of the one or more media content is displayed, a part of the media content information of the first or multiple media content, such as a name and a type, may be displayed on the page in a manner instead of displaying the media content. The entire content of the information and the preview window. At this time, if the user wants to view all the media content information of a certain media content and the preview window, it is necessary to send an expansion request for the media content. For example, as shown in FIG. 3, when the application client displays the media content information of the one or more media content in a list manner, an expansion symbol 304 is displayed corresponding to each media content. The user clicks on the expansion symbol 304 corresponding to a certain media content to trigger an expansion request for the media content. As an alternative, the application client may not display the expansion symbol 304 corresponding to each media content. In this case, the expansion request may be triggered by a click operation of the user to click part of the media content information of a certain media content, or It can be triggered by a sliding operation of the user's mouse to a portion of the media content information of a certain media content. Regardless of which triggering method is employed, in response to a request to expand a media content in the list, the application client will expand a display area displaying the media content and present a preview window of the media content within the display area And all media content information of the media content.
如前所述,上述预览窗用于为用户展示媒体内容的海报或者摘要文件。当用户发送预览请求以请求预览该媒体内容时,应用客户端将通过预览窗为用户播放媒体内容的摘要文件。As previously mentioned, the preview window described above is used to present a poster or abstract file of the media content to the user. When the user sends a preview request to request preview of the media content, the application client will play a summary file of the media content for the user through the preview window.
在本申请的实施例中,上述预览请求也可以通过多种方式触发,例如,在应用客户端展示某个媒体内容的媒体内容信息时,可以在上述预览窗内静态展示该媒体内容的海报,并提供预览按键。当用户点击该预览按键时预览请求即被触发。例如,图4是展开显示一个媒体 内容信息的示例。如图4所示,响应于用户的展开请求,具体的,比如点击媒体内容401《速度与激情8》的选择操作,展开该媒体内容的展示区域402,并在该展示区域402内展示媒体内容401的预览窗403和媒体内容信息,比如名称404、主演405等,同时还提供了播放按钮406。更进一步的,预览窗403可以静态展示该媒体内容的海报(阴影部分),并提供预览按键407。当用户点击该预览按键407时,即表示用户发送了预览请求。作为替代的方案,还可以不设置预览按键,上述预览请求可以由用户点击某一媒体内容的部分媒体内容信息或者预览窗区域内某个位置的点击操作来触发;或者还也可以由用户鼠标滑到某一媒体内容的部分媒体内容信息或者预览窗区域内的滑动操作来触发。In the embodiment of the present application, the preview request may also be triggered in multiple manners. For example, when the application client displays the media content information of a certain media content, the poster of the media content may be statically displayed in the preview window. A preview button is also provided. The preview request is triggered when the user clicks on the preview button. For example, Figure 4 is an example of expanding the display of one piece of media content information. As shown in FIG. 4, in response to the user's deployment request, specifically, for example, clicking on the selection operation of the media content 401 "Speed and Passion 8", the display area 402 of the media content is expanded, and the media content is displayed in the display area 402. The preview window 403 of 401 and media content information, such as name 404, starring 405, etc., also provides a play button 406. Further, the preview window 403 can statically display the poster (shaded portion) of the media content and provide a preview button 407. When the user clicks the preview button 407, it means that the user has sent a preview request. As an alternative, the preview button may not be set, and the preview request may be triggered by the user clicking a part of the media content information of a certain media content or a click operation of a certain position in the preview window area; or may be mouse-slid by the user. Triggered by a portion of the media content information of a certain media content or a sliding operation within the preview window area.
如前所述,在本申请的是实施例中,响应于用户针对一媒体内容的预览请求,如果已经获知该媒体内容摘要文件的存储地址,则应用客户端将根据所述媒体内容摘要文件的存储地址下载所述媒体内容的摘要文件,并在预览窗播放所述媒体内容的摘要文件。在本申请的是实施例中,响应于用户针对一媒体内容的预览请求,如果尚未获知该媒体内容摘要文件的存储地址,则应用客户端首先向服务器请求该媒体内容摘要文件的存储地址,在获得该媒体内容摘要文件的存储地址后,再根据所述媒体内容摘要文件的存储地址下载所述媒体内容的摘要文件,并在预览窗播放所述媒体内容的摘要文件。在请求上述摘要文件的存储地址时,应用客户端可以携带该媒体内容的名称等标识信息来标识当前请求哪个媒体内容摘要文件的存储地址。As described above, in an embodiment of the present application, in response to a user's preview request for a media content, if the storage address of the media content summary file has been known, the application client will according to the media content summary file. The storage address downloads a summary file of the media content, and plays a summary file of the media content in a preview window. In an embodiment of the present application, in response to the user's preview request for a media content, if the storage address of the media content summary file is not known, the application client first requests the storage address of the media content summary file from the server, After obtaining the storage address of the media content summary file, downloading the summary file of the media content according to the storage address of the media content summary file, and playing the summary file of the media content in the preview window. When requesting the storage address of the above summary file, the application client may carry the identification information such as the name of the media content to identify which storage address of the media content summary file is currently requested.
如前所述,上述摘要文件可以是服务器根据从一个媒体内容提取的多个图像帧而生成的对应该媒体内容的媒体文件。As described above, the above summary file may be a media file corresponding to the media content generated by the server based on a plurality of image frames extracted from one media content.
在本申请的一些实施例中,上述摘要文件可以是服务器按照固定 时间间隔(比如每隔10秒)对一个媒体内容进行截图,并根据得到的多个截图生成一个动图文件。此时,在预览窗播放所述媒体内容的摘要文件具体是指在所述预览窗内播放所述动图文件。In some embodiments of the present application, the digest file may be a server that takes a screenshot of a piece of media content at regular time intervals (such as every 10 seconds) and generates an animation file based on the obtained plurality of screenshots. At this time, playing the summary file of the media content in the preview window specifically refers to playing the animation file in the preview window.
在本申请的一些实施例中,上述摘要文件还可以是服务器按照固定时间间隔(比如每隔10秒)对一个媒体内容进行截图,并将得到的多个截图按照一定的顺序进行拼接得到一个或者多个图片文件,在本文中,简称为大图片文件。此时,在预览窗播放所述媒体内容的摘要文件具体是指在所述预览窗内自动轮播所述大图片文件中的各个截图。上述自动轮播是指按照预定的顺序以及时间间隔自动依次播放大图片文件中所包含的各个截图。In some embodiments of the present application, the summary file may further be that the server screens a media content at a fixed time interval (such as every 10 seconds), and splicing the obtained multiple screenshots in a certain order to obtain one or Multiple image files, referred to herein as large image files. At this time, playing the summary file of the media content in the preview window specifically refers to automatically rotating each screenshot in the large picture file in the preview window. The above automatic carousel refers to automatically playing each of the screenshots included in the large picture file in a predetermined order and time interval.
在一些实施例中,在所述预览窗内自动轮播所述大图片文件具体可以包括:In some embodiments, automatically rotating the large picture file in the preview window may specifically include:
步骤A:按照所述大图片文件的拼接规则,将所述大图片文件反向拆分成多张截图。Step A: According to the splicing rule of the large picture file, the large picture file is reversely split into multiple screenshots.
例如,服务器在生成作为摘要文件的大图片文件时是将P张截图按照时间顺序从左到右从上到下排列成R行S列,其中R*S>=P,R、S和P都是正整数,然后,再将排列好的R行S列的P张截图拼接为一张大图片文件的,那么,在本步骤中,应用客户端将会按照该拼接规则将下载得到的大图片文件反向拆分成R行S列一共P张截图。For example, when generating a large image file as a summary file, the server arranges P screenshots from left to right in chronological order from top to bottom into R rows and S columns, where R*S>=P, R, S, and P are all Is a positive integer, and then splicing the P screenshots of the arranged R rows and S columns into a large image file, then, in this step, the application client will reverse the downloaded large image file according to the splicing rule. Split into R rows and S columns for a total of P screenshots.
步骤B:根据单张截图的尺寸设置所述预览窗的播放区域。Step B: Set the play area of the preview window according to the size of the single screenshot.
通过上述设置,使得所述预览窗内播放区域的大小等于单张截图的尺寸。也即,所述播放区域的长和宽等于单张截图的的长和宽。Through the above settings, the size of the play area in the preview window is equal to the size of a single screenshot. That is, the length and width of the play area are equal to the length and width of a single screenshot.
步骤C:在所述播放区域内展示第一张截图。Step C: Display the first screenshot in the play area.
步骤D:每隔预定的时间间隔T,按照预定的移动规则移动所述大图片文件,展示下一张截图,直至预览结束。Step D: Move the large picture file according to a predetermined movement rule every predetermined time interval T to display the next screenshot until the preview ends.
上述预定的移动规则由大图片文件的拼接规则确定。如前所述,在服务器一侧,服务器在生成大图片文件时是按照一定的顺序将通过截屏得到的多个截图拼接在一起而得到的。那么,在本步骤中,应用客户端就可以用与上述拼接时相反的顺序移动所述大图片文件。例如,服务器是按照时间顺序从左到右从上到下将多个截图拼接在一起的,那么,在本步骤中,应用客户端就可以以第一行最左侧的截图为第一张图展示,并向左移动单个截图的宽度的距离从而展示下一张截图,直至所述大图片文件的一行展示完。然后,进一步应用客户端将所述大图片文件向上移动单个截图的高度的距离,并将大图片文件向右移动至该行最左侧的一个截图,以开始下一行截图的展示。重复上述步骤,直至展示完毕所述媒体内容的大图片文件的所有截图或者用户选择停止预览。The above predetermined movement rule is determined by the splicing rule of the large picture file. As mentioned above, on the server side, when the server generates a large picture file, the server obtains a plurality of screenshots obtained by screen capture in a certain order. Then, in this step, the application client can move the large picture file in the reverse order of the above splicing. For example, if the server splicing multiple screenshots from left to right and from top to bottom in chronological order, then in this step, the application client can use the leftmost screenshot of the first row as the first image. Show and move the distance of the width of a single screenshot to the left to show the next screenshot until one line of the large image file is displayed. Then, the application client further moves the large picture file up to the height of the single screenshot, and moves the large picture file to the right to the leftmost one of the line to start the next line of the screenshot. Repeat the above steps until all screenshots of the large image file of the media content are displayed or the user chooses to stop previewing.
更进一步,如果一个媒体内容对应多个摘要文件,则依照摘要文件的生成次序依次下载摘要文件并按照上述方法分别展示该媒体内容的各个摘要文件。在本申请的实施例中,应用客户端可以只发送一次摘要文件存储地址的请求,服务器可以一次性将一个媒体内容对应的所有摘要文件的存储地址全部反馈给应用客户端。或者,应用客户端也可以多次发送摘要文件存储地址的请求,例如,在应用客户端即将预览完一个摘要文件时,将向服务器请求下一个摘要文件的存储地址。此时,服务器将根据记录的交互情况向应用客户端反馈下一个摘要文件的存储地址。Further, if one media content corresponds to multiple digest files, the digest files are sequentially downloaded according to the generation order of the digest files, and the respective digest files of the media content are respectively displayed according to the above method. In the embodiment of the present application, the application client may send the request for storing the address of the digest file only once, and the server may feed back the storage address of all the digest files corresponding to one media content to the application client at one time. Alternatively, the application client may also send a request for the digest file storage address multiple times. For example, when the application client is about to preview a digest file, the server will request the storage address of the next digest file. At this point, the server will feed back the storage address of the next digest file to the application client according to the recorded interaction.
图5是一个自动轮播大图片文件的示例。如图5所示,该大图片文件由100张截图且按照10*10的方式拼接保存在一起,而且这100张截图是按照时间顺序从左到右从上到下排列的。响应于用户的预览请求,根据大图片文件的排列规则首先将上述大图片文件反向拆分成 10行10列一共100张截图,并按照单张截图的尺寸大小设置所述预览窗的播放预览区域,使所述预览窗的播放预览区域尺寸大小等于单个截图的尺寸大小。启动预览时,从在预览窗内展示第一张截图501(粗线条截图为当前展示的截图)开始,等待预先设定的时间间隔T后,将大图片文件向左移动单个截图的宽度502,从而在预览窗内展示第二张截图503(粗线条截图为当前展示的截图,虚线截图为展示过的截图),这样直至该大图片文件的第一行504展示完(虚线截图为展示过的截图)。之后,将该大图片文件向上移动单个截图的高度505,并将大图片文件向右移动至该行最左侧的一个截图506(粗线条截图为当前展示的截图),以开始下一行截图的展示。不断重复上述过程,直至展示完毕所述媒体内容对应的大图片文件的所有截图。Figure 5 is an example of an automatic carousel large picture file. As shown in FIG. 5, the large picture file is saved by 100 screenshots and stitched together in a 10*10 manner, and the 100 screenshots are arranged in chronological order from left to right and top to bottom. In response to the user's preview request, according to the arrangement rule of the large picture file, the above large picture file is first split into 10 rows and 10 columns for a total of 100 screenshots, and the preview preview of the preview window is set according to the size of the single screenshot. The area is such that the size of the play preview area of the preview window is equal to the size of a single screenshot. When the preview is started, the first screenshot 501 is displayed in the preview window (the thick line screenshot is the currently displayed screenshot), and after waiting for the preset time interval T, the large picture file is moved to the left by the width 502 of the single screenshot, thereby Display a second screenshot 503 in the preview window (the thick line screenshot is the currently displayed screenshot, the dashed screenshot is the displayed screenshot), until the first line 504 of the large image file is displayed (the dotted screenshot is the displayed screenshot) . After that, move the large picture file up to the height 505 of the single screenshot, and move the large picture file to the right to a screenshot 506 on the far left of the line (the thick line screenshot is the currently displayed screenshot) to start the next line of screenshots. . The above process is repeated until all the screenshots of the large picture file corresponding to the media content are displayed.
这样,通过控制预定的时间间隔T,可以控制大图片文件按照一定的速度移动,从而在预览窗内实现视频播放的效果。In this way, by controlling the predetermined time interval T, it is possible to control the large picture file to move at a certain speed, thereby realizing the effect of video playback in the preview window.
由此,通过上述方法可以看出,在用户搜索目标媒体内容的过程中,通过为某个候选媒体内容设置预览窗,并在预览窗内播放该媒体内容的摘要文件,从而为用户提供除媒体内容信息之外更多的信息,方便用户确定该候选媒体内容是否为自身需要的目标媒体内容,达到提高搜索效率,避免不必要的重复搜索,以节约终端侧和网络侧的硬件资源以及网络资源。Therefore, it can be seen that, in the process of searching for the target media content by the user, the user is provided with the media by setting a preview window for a certain candidate media content and playing the summary file of the media content in the preview window. More information than content information, it is convenient for the user to determine whether the candidate media content is the target media content that is needed by the user, to improve search efficiency, avoid unnecessary repeated searches, and save hardware resources and network resources on the terminal side and the network side. .
此外,上述自动轮播摘要文件的方式中可以通过控制每个大图片文件中所包含的截图的数量以及每个截图的分辨率来控制每个摘要文件的大小,例如,一般情况下,一个大图片文件所包含的截图数量越少且每个截图的分辨率越低其文件大小就越小;而一个大图片文件所包含的截图数量越多且且每个截图的分辨率越高其文件大小就越大。因此,通过本申请的方法,可以在实现媒体内容预览的同时,实 现传输流量可控,也即可以实现在较低的流量需求下实现对媒体内容的快速预览,从而为用户提供更为丰富的信息,提高媒体内容搜索效率,从而进一步节省硬件以及网络资源。In addition, the above method of automatically rotating the summary file can control the size of each summary file by controlling the number of screenshots included in each large picture file and the resolution of each screenshot, for example, in general, a large The smaller the number of screenshots included in the image file and the lower the resolution of each screenshot, the smaller the file size; the larger the number of screenshots included in a large image file and the higher the resolution of each screenshot, the larger the file size. It is bigger. Therefore, the method of the present application can realize the controllable transmission of the media content while realizing the preview of the media content, that is, the quick preview of the media content can be realized under the lower traffic demand, thereby providing the user with a richer Information to improve the efficiency of media content search, thereby further saving hardware and network resources.
在上述媒体内容搜索过程的基础之上,上述媒体内容的搜索方法还可以进一步包括根据用户的播放进度调整操作来调整预览进度的过程,以实现从用户期望的各个预览进度点开始预览媒体内容的目标。如图2所示,该调整预览进度的过程可以包括:Based on the media content search process, the method for searching the media content may further include a process of adjusting the preview progress according to the user's playback progress adjustment operation, so as to preview the media content from each preview progress point desired by the user. aims. As shown in FIG. 2, the process of adjusting the preview progress may include:
步骤205:响应于用户的播放进度调整操作,获取用户当前在预览窗内的操作位置。Step 205: Acquire an operation position of the user currently in the preview window in response to the user's play progress adjustment operation.
在本申请的一些实例中,上述播放进度调整操作可以是用户将鼠标的光标滑动至预览窗的某个位置的操作,此时,所确定的用户当前在预览窗内的操作位置即为当前鼠标的光标所在的位置。In some examples of the present application, the playing progress adjustment operation may be an operation in which the user slides the cursor of the mouse to a certain position of the preview window. At this time, the determined operation position of the user in the preview window is the current mouse. The location of the cursor.
在本申请的另一些实例中,上述播放进度调整操作可以是用户用鼠标或手指等点击预览窗的某个位置的操作,此时,所确定的用户当前在预览窗内的操作位置即为用户在预览窗内点击的位置。In other examples of the present application, the playing progress adjustment operation may be an operation of the user clicking a certain position of the preview window with a mouse or a finger, etc., at this time, the determined operation position of the user in the preview window is the user. The location clicked within the preview window.
在本申请的又一些实例中,上述播放进度调整操作可以是用户用鼠标或手指等点击预览窗的某个位置并在预览窗内滑动的操作,此时,所确定的用户当前在预览窗内的操作位置即为用户在预览窗内点击的位置以及其滑动轨迹上的各个位置。In still another example of the present application, the playing progress adjustment operation may be an operation in which the user clicks on a certain position of the preview window with a mouse or a finger, and slides in the preview window. At this time, the determined user is currently in the preview window. The operation position is the position where the user clicks in the preview window and each position on the sliding track.
步骤206:根据用户当前在预览窗内的操作位置,确定所述操作位置对应的媒体内容的播放进度值。Step 206: Determine a play progress value of the media content corresponding to the operation location according to an operation position of the user currently in the preview window.
在本申请的实施例中,上述操作位置对应的媒体内容的播放进度值可以根据操作位置在水平方向上相对于预览窗的左边框和右边框位置来确定,例如可以根据操作位置的横坐标来确定。In the embodiment of the present application, the play progress value of the media content corresponding to the operation position may be determined according to the left and right border positions of the preview window in the horizontal direction according to the operation position, for example, according to the abscissa of the operation position. determine.
具体而言,不是一般性的假设所述预览窗为矩形,且左边框和右边框的横坐标分别位于W1和W2的像素处,则所述预览窗的宽度为W=W2-W1;当检测到用户的操作落入所述预览窗内时,例如鼠标滑动至预览窗内或者用户点击预览窗内的某个位置时,则获取用户当前在预览窗内的操作位置的横坐标x,并计算对应所述操作位置的播放进度值T=(x-W1)/(W2-W1)*S,其中,S为所述媒体内容的时长。Specifically, it is not a general assumption that the preview window is a rectangle, and the abscissas of the left and right borders are respectively located at the pixels of W1 and W2, and the width of the preview window is W=W2-W1; When the user's operation falls within the preview window, for example, when the mouse is slid into the preview window or the user clicks on a certain position in the preview window, the abscissa x of the user's current operation position in the preview window is acquired, and is calculated. A play progress value T=(x-W1)/(W2-W1)*S corresponding to the operation position, where S is the duration of the media content.
步骤207:根据所述播放进度值确定所述操作位置对应所述媒体内容的截图在摘要文件中的位置。Step 207: Determine, according to the play progress value, a location of the operation location corresponding to the screenshot of the media content in the digest file.
然后,应用客户端就可以从所确定的位置处开始播放该摘要文件了。The application client can then start playing the digest file from the determined location.
在本申请的实施例中,确定上述操作位置对应所述媒体内容的截图在摘要文件中的位置具体是指确定该截图所在的摘要文件以及该截图在该摘要文件的具体位置,也即确定该截图在第几个摘要文件中以及确定该截图在该摘要文件的第几行和第几列。In the embodiment of the present application, determining that the location of the screenshot corresponding to the media content in the digest file refers to determining a digest file where the screenshot is located and a specific location of the screenshot in the digest file, that is, determining the location The screenshot is in the first summary file and determines the screenshot in the first few rows and columns of the summary file.
在本申请中,根据所述播放进度值确定所述操作位置对应所述媒体内容的截图所在的摘要文件以及在该摘要文件的具体位置可以通过如下方式完成:假设服务器对媒体内容进行截屏时采用的时间间隔为a,媒体内容的每个摘要文件由P张截图组成,且每个摘要文件由R行S列截图组成,其中R*S>=P,且用户的操作位置所对应的播放进度值为T,则该操作位置对应的截图所在的摘要文件可以由(T/a)/P的商向下取整得到,该截图在该摘要文件中的位置可由(T/a)/P的余数Y得到,例如,Y/S的商向下取整得到该截图所在的行数,Y/S的余数得到该截图所在的列数。In the present application, determining, according to the playback progress value, the digest file in which the operation location corresponds to the screenshot of the media content and the specific location of the digest file can be completed as follows: assuming that the server takes a screen capture of the media content The time interval is a, each summary file of the media content is composed of P screenshots, and each summary file is composed of R rows and S columns of screenshots, wherein R*S>=P, and the playback progress corresponding to the user's operation position If the value is T, the summary file of the screenshot corresponding to the operation position can be rounded down by the quotient of (T/a)/P, and the position of the screenshot in the summary file can be (T/a)/P. The remainder Y is obtained. For example, the quotient of Y/S is rounded down to get the number of rows in which the screenshot is located, and the remainder of Y/S is the number of columns in which the screenshot is located.
例如,上述预览窗的左边框横坐标为0的像素处,右边框横坐标为100的像素处,也即上述预览窗的宽度W为100个像素的宽度, 用户选择预览的媒体内容的总时长为2000s,且服务器在生成摘要文件时每10s进行一次截屏,共得到100个截屏,并分别将其中每100个截屏按照时间顺序排列并拼接成一个大图片,得到两个10行10列的100截图拼接的两个大图片文件。当用户鼠标滑入上述预览窗的第75个像素对应的位置时,可以确定对应上述位置的该媒体内容的播放进度值为(75-0)/(100-0)*2000s=1500s处,也就是说,对应第75个像素位置的播放进度应该是1500s。因此,用户鼠标位置所处的第75个像素位置对应的播放进度1500s,计算150/100得到其商向下取整为1,余数为50,也即用户鼠标位置对应的截图是第1个摘要文件的第50张截图。进而,根据50/10的商和余数可以确定该截图位于第5行,第10列。For example, the left side of the preview window has a horizontal coordinate of 0 pixels, and the right border has an abscissa of 100 pixels, that is, the width W of the preview window is 100 pixels, and the total duration of the media content selected by the user. It is 2000s, and the server takes a screen shot every 10s when generating the digest file, and gets 100 screen shots, and arranges each of the 100 screen shots in chronological order and splices into one large picture, and obtains 100 rows of 10 rows and 10 columns. Two large picture files stitched together in the screenshot. When the user's mouse slides into the position corresponding to the 75th pixel of the preview window, it can be determined that the playback progress value of the media content corresponding to the above location is (75-0)/(100-0)*2000s=1500s, That is to say, the playback progress corresponding to the 75th pixel position should be 1500s. Therefore, the playback progress of the 75th pixel position where the user's mouse position is located is 1500s, and the calculated 150/100 is rounded down to 1 and the remainder is 50, that is, the screenshot corresponding to the user's mouse position is the first summary. The 50th screenshot of the file. Further, based on the quotient and remainder of 50/10, it can be determined that the screenshot is located in the 5th row, the 10th column.
这样,通过上述方法,当用户操作鼠标使鼠标的光标落在预览窗内的某个位置或者用户点击预览窗内的某个位置时,针对该媒体内容的预览就可以从这个位置对应的截图开始。而且,当用户操作鼠标使鼠标的光标在预览窗内移动或者用户的手指在预览窗内滑动时,可以根据移动轨迹所包含的各个位置快速完成上述步骤,从而实现快速预览所述媒体内容的效果。Thus, by the above method, when the user operates the mouse to cause the mouse cursor to fall to a certain position in the preview window or the user clicks on a certain position in the preview window, the preview for the media content can start from the screenshot corresponding to the position. . Moreover, when the user operates the mouse to move the cursor of the mouse within the preview window or the user's finger slides within the preview window, the above steps can be quickly completed according to the respective positions included in the movement trajectory, thereby realizing the effect of quickly previewing the media content. .
相应地,为了实现用户终端11上的应用客户端进行媒体内容的摘要文件的播放,本申请的实例还提供了一种媒体内容搜索方法,应用在服务器13一侧。该方法主要用于在一个媒体内容上传以后,比如在编码打水印的过程中,对所述媒体内容进行截屏,提取多个图像帧而生成的对应该媒体内容的至少一个摘要文件。此后,服务器13接收应用客户端发送的用户输入的部分关键词,根据所述部分关键词确定出相应的文本关键词,然后根据上述文本关键词确定出相应的一 个或多个媒体内容;获取上述一个或多个媒体内容的媒体内容信息以及摘要文件的存储地址后,将上述一个或多个媒体内容的媒体内容信息以及摘要文件的存储地址发送给用户终端11上的应用客户端以使其进行展示。Correspondingly, in order to implement the playing of the summary file of the media content by the application client on the user terminal 11, the example of the present application further provides a media content searching method, which is applied to the server 13 side. The method is mainly used for performing at least one abstract file corresponding to the media content generated after the media content is uploaded, for example, in the process of encoding watermarking, by taking a screen shot of the media content and extracting a plurality of image frames. Thereafter, the server 13 receives a partial keyword input by the user sent by the application client, determines a corresponding text keyword according to the partial keyword, and then determines a corresponding one or more media content according to the text keyword; After the media content information of the one or more media content and the storage address of the digest file, the media content information of the one or more media content and the storage address of the digest file are sent to the application client on the user terminal 11 to perform the Show.
如前所述,上述摘要文件可以是大图片文件也可以是动图文件。具体而言,服务器可以按照预定的频率从媒体内容截取多张截图,并将截取的截图生成大图片文件或者动图文件,从而生成该媒体内容的一个或者多个摘要文件。为了控制摘要文件的大小,可以设置大图片文件或者动图文件所包含的截图的最大数量,从而,所生成的摘要文件可能会多于一个。As mentioned above, the above summary file can be a large picture file or an animation file. Specifically, the server may intercept a plurality of screenshots from the media content according to a predetermined frequency, and generate a large picture file or an animation file by the intercepted screenshot, thereby generating one or more summary files of the media content. In order to control the size of the digest file, you can set the maximum number of screenshots included in the large image file or the animation file, so that there may be more than one digest file generated.
图6为本申请实例提供的媒体内容搜索方法的流程图。在图6所示的媒体内容搜索方法中,以大图片文件作为摘要文件为例进行说明。该方法由服务器执行,如图6所示,包括以下步骤:FIG. 6 is a flowchart of a media content searching method provided by an example of the present application. In the media content search method shown in FIG. 6, a large picture file is taken as an abstract file as an example for description. The method is performed by the server, as shown in Figure 6, and includes the following steps:
步骤601:按照每隔预先确定的时间间隔a从媒体内容截取一帧图像的频率,从所述媒体内容中截取多张截图。Step 601: Capture a plurality of screenshots from the media content according to a frequency of intercepting one frame of image from the media content at every predetermined time interval a.
这里,a为预先设定的提取关键帧的步长值,根据经验a一般可以取值5-20秒,例如10秒。Here, a is a preset step value of the extracted key frame, and according to experience a, it can generally take a value of 5-20 seconds, for example, 10 seconds.
步骤602:将每P张截图按照预定拼接规则进行拼接生成一个大图片文件,并将所生成的至少一个大图片文件分别作为所述媒体内容的一个或者多个摘要文件。Step 602: Combine each P screenshot according to a predetermined splicing rule to generate a large picture file, and use the generated at least one large picture file as one or more summary files of the media content.
这里,P为预先设定的每个摘要文件中所包含的关键帧的数量,为自然数。根据经验,P一般可以取值50-1000,例如100,即每100张截图拼接保存为一个摘要文件。外,上述预定的拼接规则具体可以是指将上述提取的P张截图按照时间顺序以矩阵的形式排列并拼接在一起,比如将100张截图按照时间顺序从左至右从上至下以10行 10列的矩阵的形式拼接在一起并保存为一个摘要文件。Here, P is the number of key frames included in each digest file set in advance, and is a natural number. According to experience, P can generally take a value of 50-1000, for example 100, that is, each 100 screenshots are stitched and saved as a summary file. In addition, the predetermined splicing rule may specifically refer to arranging and splicing the extracted P screenshots in a matrix according to chronological order, for example, taking 100 screenshots in chronological order from left to right and from top to bottom in 10 rows. The 10 column matrix is stitched together and saved as a summary file.
这样,一般情况下,一个媒体内容将会对应多个摘要文件。例如,一部电影时长120分钟,也即7200秒,如果按照经验值每10秒提取一次关键帧,也即截一次图,每100张截图放进一个摘要文件中,则这部电影应该共有720张截图,且这720张截图应该按照顺序分别保存进8个摘要文件中,其中,前7个摘要文件中各包含100张截图,而最后一个摘要文件中包含20张截图。Thus, in general, one media content will correspond to multiple digest files. For example, a movie is 120 minutes long, or 7200 seconds. If you extract a keyframe every 10 seconds according to the experience value, that is, cut a picture, and every 100 screenshots are put into a summary file, the movie should have 720. Screenshots, and the 720 screenshots should be saved in 8 summary files in sequence, with the first 7 digest files each containing 100 screenshots and the last summary file containing 20 screenshots.
例如,仍以图5为例,如图5所示,上述P张截图按照10*10的方式拼接保存在一起,形成一个由10行10列的截图拼接组成一个摘要文件。并且第一行第一列处的截图对应媒体内容开始处的一帧图像,第10行第10列处的截图对应媒体内容在第1000秒处的一帧图像。For example, still taking FIG. 5 as an example, as shown in FIG. 5, the above-mentioned P screenshots are spliced and saved together in a 10*10 manner to form a summary file composed of 10 rows and 10 columns of screenshots. And the screenshot at the first column of the first row corresponds to a frame image at the beginning of the media content, and the screenshot at the 10th column of the 10th row corresponds to a frame image of the media content at the 1000th second.
更进一步的,在截取媒体内容的图像时可以参考用户中的显示设备的型号,也即对应不同用户终端不同尺寸的显示设备,调整截图的尺寸,从而截取不同尺寸的图像,并生成对应不同尺寸截图的摘要文件。例如,对应分辨率为1024*768和1280*960的两个尺寸的用户终端,可以采用不同的尺寸进行截图,从而生成对应不同用户终端显示设备型号的摘要文件。Further, when intercepting the image of the media content, the model of the display device in the user may be referred to, that is, the display device of different sizes corresponding to different user terminals, and the size of the screenshot is adjusted, thereby capturing images of different sizes and generating corresponding sizes. A summary file of the screenshot. For example, user terminals of two sizes corresponding to resolutions of 1024*768 and 1280*960 can be screenshotd with different sizes to generate a summary file corresponding to the display device model of different user terminals.
步骤603:按预定规则,将上述摘要文件的文件名拼接在内容分发网络(cdn:content delivery network)的域名后,生成该摘要文件的存储地址。Step 603: After the file name of the above summary file is spliced to the domain name of the content distribution network (cdn: content delivery network) according to a predetermined rule, the storage address of the summary file is generated.
在本申请的实施例中,将所生成摘要文件的文件名直接拼接在CDN的域名之后即可得到上述摘要文件的URL,如此可以分别得到所述媒体内容的全部摘要文件的URL,例如https://puui.qpic.cn/video_caps/0/m0024qjk1k9.q1.1.jpg/0。In the embodiment of the present application, the URL of the generated digest file is directly spliced to the domain name of the CDN to obtain the URL of the digest file, so that the URLs of all the digest files of the media content, for example, https: //puui.qpic.cn/video_caps/0/m0024qjk1k9.q1.1.jpg/0.
步骤604:接收应用客户端发送的用户输入的部分关键词,根据 所述部分关键词确定出相应的文本关键词。Step 604: Receive a partial keyword input by the user sent by the application client, and determine a corresponding text keyword according to the partial keyword.
步骤605:根据上述文本关键词确定出相应的一个或多个媒体内容。Step 605: Determine corresponding one or more media content according to the text keyword.
步骤606:获取上述一个或多个媒体内容的媒体内容信息以及摘要文件的存储地址,并将上述一个或多个媒体内容的媒体内容信息以及摘要文件的存储地址发送给用户终端11上的应用客户端以使其进行展示。Step 606: Acquire the media content information of the one or more media content and the storage address of the digest file, and send the media content information of the one or more media content and the storage address of the digest file to the application client on the user terminal 11. End to make it display.
如前所述,服务器可以在反馈媒体内容信息的同时将对应的摘要文件的存储地址反馈给应用客户端,也可以在应用客户端请求该媒体内容摘要文件的存储地址时再将用户所请求的媒体内容摘要文件的存储地址反馈给应用客户端。而且,当一个媒体内容对应的摘要文件有多个时,可以一次性反馈全部的摘要文件的存储地址也可以根据应用客户端的请求一次只反馈一个摘要文件的存储地址。As described above, the server may feed back the storage address information of the corresponding digest file to the application client, or may request the storage address of the media content digest file when the application client requests the storage address of the media content digest file. The storage address of the media content summary file is fed back to the application client. Moreover, when there is more than one digest file corresponding to one media content, the storage address of all the digest files may be fed back at one time, or only the storage address of one digest file may be fed back at a time according to the request of the application client.
通过上述方案,应用客户端可以通过动图轮播大图片文件的方式实现对媒体内容的关键帧截图的快速预览,一方面相比于静态海报的预览方式,有更加冲击的效果,给用户以更好的体验,另一方面用户能够获得更多信息从而提高用户确定搜索的准确度,避免了用户重复操作和资源的浪费。同时,与媒体内容相比摘要文件非常小,传输所需的时间以及占用的网络资源都非常小,从而进一步避免了网络资源的浪费。Through the above scheme, the application client can realize a quick preview of the key frame screenshot of the media content by rotating the large picture file by moving the image, and on the other hand, compared with the preview manner of the static poster, the impact effect is more A better experience, on the other hand, users can get more information to improve the accuracy of the user's search, avoiding repeated user operations and waste of resources. At the same time, compared with the media content, the summary file is very small, the time required for transmission and the occupied network resources are very small, thereby further avoiding waste of network resources.
基于上述图1所示的系统结构,本申请的实施例还提供了一种媒体内容搜索方法,该方法可应用于服务器13,可以根据用户输入的部分关键词和与该部分关键词相关联的媒体内容确定出相应的媒体内容列表供用户选择。Based on the system structure shown in FIG. 1 , the embodiment of the present application further provides a media content searching method, which is applicable to the server 13 , and may be based on a partial keyword input by the user and associated with the partial keyword. The media content determines a corresponding list of media content for the user to select.
图7示出了本申请实施例提供的媒体内容搜索方法的流程图。如该方法由服务器执行,图7所示,该方法包括以下步骤:FIG. 7 is a flowchart of a media content searching method provided by an embodiment of the present application. If the method is performed by a server, as shown in FIG. 7, the method includes the following steps:
步骤701:接收来自应用客户端的携带部分关键词的媒体内容搜索请求。Step 701: Receive a media content search request that carries a part of the keyword from the application client.
这里,上述部分关键词可以是搜索目标媒体内容时用户输入的查询内容。例如,用户想要搜索媒体内容《速度与激情8》时,可以输入部分关键词“速度”作为查询内容,也可以输入部分关键词“激情”作为查询内容。Here, the partial keyword may be the query content input by the user when searching for the target media content. For example, when the user wants to search for the media content "Speed and Passion 8", he may input part of the keyword "speed" as the query content, or input part of the keyword "passion" as the query content.
步骤702:根据所述部分关键词确定出至少一个文本关键词。Step 702: Determine at least one text keyword according to the partial keyword.
这里,上述文本关键词可以是目标媒体内容的名称。例如,电影《速度与激情8》的名称“速度与激情8”。Here, the above text keyword may be the name of the target media content. For example, the title "Speed and Passion 8" in the movie "Speed and Passion 8".
在一些实例中,服务器13通常会保存一个候选关键词库以完成对媒体内容的搜索。在这种情况下,服务器13在接收到应用客户端发送的用户输入的部分关键词后,可以将上述部分关键词与候选关键词库中的候选关键词进行模糊匹配,以得到匹配度最高的一个或者多个文本关键词。例如,当用户输入部分关键词“三”时,可以从候选关键词库中匹配出“三生三世十里桃花”、“新三国”等等多个文本关键词。In some instances, server 13 typically maintains a library of candidate keywords to complete the search for media content. In this case, after receiving the partial keyword input by the user sent by the application client, the server 13 may perform fuzzy matching on the partial keyword and the candidate keyword in the candidate keyword library to obtain the highest matching degree. One or more text keywords. For example, when the user inputs a part of the keyword "three", a plurality of text keywords such as "Sansheng Sanshi Shili Peach Blossom", "New Three Kingdoms" and the like can be matched from the candidate keyword library.
步骤703:根据自身记录的上述部分关键词与上述至少一个文本关键词的关联度对所述至少一个文本关键词进行排序。Step 703: Sort the at least one text keyword according to the degree of association between the partial keyword recorded by the self and the at least one text keyword.
可以理解,上述模糊匹配的方法在用户输入的部分关键词不具备较强的区别度时很可能会匹配到非常多的文本关键词,从而可能会淹没掉用户真正想搜索的媒体内容的名称。还采用上面的示例,当用户输入部分关键词“三”时,服务器13可能会从候选关键词库中匹配出非常多的包含“三”的文本关键词。根据这些文本关键词返回的大 量的搜索结果会导致用户很难从中快速找到自己想要搜索的目标媒体内容《三生三世十里桃花》。It can be understood that the above fuzzy matching method is likely to match a very large number of text keywords when some keywords input by the user do not have strong discrimination, and thus may drown out the name of the media content that the user really wants to search. Also taking the above example, when the user inputs the partial keyword "three", the server 13 may match a very large number of text keywords containing "three" from the candidate keyword library. The large number of search results returned based on these text keywords can make it difficult for users to quickly find the target media content "Sansei Sanshi Shili Peach Blossom" that they want to search.
如此,在一些实例中,服务器13可以预先记录部分关键词和文本关键词之间的关联度。部分关键词与文本关键词的关联度代表用户输入一个部分关键词进行检索并最终选择了一个文本关键词所对应媒体内容的概率统计值,例如被选择的次数或者被选择次数占所有搜索次数的比例等。其中,某个部分关键词和某个文本关键词之间的关联度越高,表明用户在输入该部分关键词后最终选择该文本关键词对应的媒体内容的概率越大。在具体实现时,可以为部分关键词设置一个或者多个关联计数器,其中,每个关联计数器用于对该部分关键词与某一个文本关键词的关联次数进行计数,以记录该部分关键词与某一个文本关键词的关联度。在服务器13启动运行之初,通常没有此类数据的统计。因此,当用户输入某个部分关键词后,服务器13会根据该部分关键词从候选关键词库中匹配出一个或多个文本关键词,并将这些文本关键词对应的媒体内容的媒体内容信息提供给用户进行选择。此时,如果用户选择了其中某个媒体内容,则说明该部分关键词和该媒体内容对应的文本关键词产生了一次关联,从而可以将与该部分关键词和该文本关键词对应的关联度加1,也即将该部分关键词和该文本关键词对应的关联计数器加1(如果该部分关键词和该文本关键词之前并没有对应的关联计数器,则可以先建立一个与该部分关键词和该文本关键词对应的关联技术器并将其计数值设置为1)。通过这样的方法,当有大量用户进行媒体内容的搜索并找到自己想要搜索的目标媒体内容后,每一个部分关键词将与一个或多个媒体内容的文本关键词具有一定的关联度。As such, in some examples, the server 13 may pre-record the degree of association between the partial keywords and the text keywords. The degree of association between the partial keyword and the text keyword represents a probability statistic that the user inputs a partial keyword to search and finally selects a media content corresponding to a text keyword, such as the number of times selected or the number of times selected is the number of times of all searches. Proportion and so on. The higher the degree of association between a certain partial keyword and a certain text keyword, the greater the probability that the user finally selects the media content corresponding to the text keyword after inputting the partial keyword. In a specific implementation, one or more association counters may be set for some keywords, wherein each association counter is used to count the number of associations of the partial keywords with a certain text keyword to record the partial keywords and The relevance of a text keyword. At the beginning of the server 13 startup, there is usually no statistics for such data. Therefore, when the user inputs a certain partial keyword, the server 13 matches one or more text keywords from the candidate keyword library according to the partial keyword, and media content information of the media content corresponding to the text keywords. Provide the user with a choice. At this time, if the user selects one of the media contents, it indicates that the part of the keyword and the text keyword corresponding to the media content generate an association, so that the degree of association corresponding to the part of the keyword and the text keyword can be Adding 1 also adds 1 to the associated counter corresponding to the partial keyword and the text keyword (if there is no corresponding associated counter before the partial keyword and the text keyword, then a keyword and the partial keyword may be first established. The associated technology corresponding to the text keyword and its count value is set to 1). By such a method, when a large number of users search for media content and find the target media content that they want to search, each partial keyword will have a certain degree of relevance to the text keywords of one or more media content.
在这种情况下,服务器13在收到用户输入的部分关键词后将不 仅仅在候选关键词库进行匹配,还可以进一步根据自身记录的部分关键词与文本关键词的关联度对匹配出的文本关键词进行排序,以将与该部分关键词关联度高的文本关键词排在前面,从而将用户更可能选择的媒体内容排在前面,以提高用户的搜索效率。In this case, after receiving the partial keywords input by the user, the server 13 not only matches the candidate keyword library, but also further matches the partial keywords of the self-recording and the text keywords. The text keywords are sorted to rank the text keywords with high degree of relevance to the partial keywords, thereby ranking the media content that the user is more likely to select, so as to improve the search efficiency of the user.
例如,当前《三生三世十里桃花》是热门的媒体内容,经过统计最多的用户在输入部分关键词““三”后,最终会选择《三生三世十里桃花》。在这种情况下,经过上述关联度的设置可以得到部分关键词“三”和文本关键词“三生三世十里桃花”的关联度最高。这样,当又有用户输入部分关键词“三”时,除了可以匹配得到文本关键词“三生三世十里桃花”之外,还可以按照部分关键词“三”与各个文本关键词的关联度进行排序,从而将文本关键词“三生三世十里桃花”排在其他文本关键词的前面。这样在返回给用户的最终搜索结果中,媒体内容《三生三世十里桃花》将排在最前面。For example, the current "Sansheng Sanshi Shili Peach Blossom" is a popular media content. After inputting some keywords "three", the most users will choose "Sansheng Sanshi Shili Peach Blossom". In this case, after The above correlation degree setting can get the highest degree of relevance between the partial keyword "three" and the text keyword "Sansheng Sanshi Shili Peach Blossom". Thus, when there is another user inputting part of the keyword "three", in addition to matching the text key In addition to the word "Sansheng Sanshi Shili Peach Blossom", you can also sort the relevance of some keywords "three" and each text keyword, so that the text keyword "Sansheng Sanshi Shili Peach Blossom" is placed in other text keywords. In the end, in the final search results returned to the user, the media content "Sansheng Sanshi Shili Peach Blossom" will be at the forefront.
此外,如果与部分关键词匹配的文本关键词较多时,还可以根据关联度保留关联度较大的前N个文本关键词,其中,N为预设值。In addition, if there are more text keywords matching some keywords, the top N text keywords with greater relevance may be retained according to the degree of association, where N is a preset value.
步骤704:确定与上述至少一个文本关键词对应至少一个媒体内容。Step 704: Determine at least one media content corresponding to the at least one text keyword.
由于上述文本关键词可以是目标媒体内容的名称,因此,服务器13可以根据一个文本关键词确定一个文本内容,并获该文本内容的媒体内容信息。Since the text keyword may be the name of the target media content, the server 13 may determine a text content based on a text keyword and obtain media content information of the text content.
步骤705:按照所述至少一个文本关键词的顺序将对应的媒体内容的媒体内容信息反馈给应用客户端。Step 705: Feed the media content information of the corresponding media content to the application client according to the sequence of the at least one text keyword.
在一些实施例中,上述媒体内容信息包括上述媒体内容的名称、主要演员、海报、以及上述媒体内容的URL等等中的部分或者全部信息。In some embodiments, the media content information includes some or all of the information of the media content, the main actor, the poster, and the URL of the media content.
在本申请的一些实施例中,上述方法还可以进一步包括:根据用户最终选择播放的媒体内容所对应的文本关键词,更新上述部分关键词与该文本关键词的关联度。也即,例如将上述部分关键词与该文本关键词所对应关联计数器的值加1。In some embodiments of the present application, the method may further include: updating a degree of association between the partial keyword and the text keyword according to a text keyword corresponding to the media content that the user finally selects to play. That is, for example, the value of the above-mentioned partial keyword and the associated counter corresponding to the text keyword is incremented by one.
在上述实施例提供的方法中,通过设置部分关键词与文本关键词之间的关联度,并按照关联度对文本关键词对应的媒体内容进行排序,可以实现将候选媒体内容按照热度排序的效果,从而使得更可能被用户选择的媒体内容的信息被显示在前面,从而在大概率的情况下缩短用户搜索媒体内容的时间、提高用户的搜索效率,避免了不必要的翻页、查找、浏览等操作,从而节省网络侧以及终端侧的硬件资源和网络资源。In the method provided by the foregoing embodiment, by setting the degree of association between the partial keyword and the text keyword, and sorting the media content corresponding to the text keyword according to the degree of association, the effect of sorting the candidate media content according to the heat can be achieved. So that the information of the media content that is more likely to be selected by the user is displayed in front, thereby shortening the time for the user to search for the media content, improving the search efficiency of the user, and avoiding unnecessary page turning, searching, browsing, in the case of a large probability. And so on, thereby saving hardware resources and network resources on the network side and the terminal side.
更进一步,在本申请的一些实施例中,还可以将上述两个实施例的技术方案结合起来,也即在根据关联度对媒体内容进行排序的基础之上也为用户提供对媒体内容的预览功能,从而进一步缩短用户搜索媒体内容的时间、提高用户的搜索效率,进一步避免不必要的媒体内容下载以及播放等操作,从而进一步节省网络侧以及终端侧的硬件资源和网络资源。Further, in some embodiments of the present application, the technical solutions of the foregoing two embodiments may also be combined, that is, the user is provided with a preview of the media content based on the ranking of the media content according to the degree of association. The function further shortens the time for the user to search for the media content, improves the search efficiency of the user, and further avoids unnecessary operations such as downloading and playing the media content, thereby further saving hardware resources and network resources on the network side and the terminal side.
为了实现上述方案,如前所述,服务器13还需要为每个媒体内容生成摘要文件,并在反馈媒体内容信息的同时将该媒体内容的摘要文件的存储地址反馈给应用客户端。这样,应用客户端在接收到用户针对某个媒体内容的预览请求后即可根据摘要文件的存储地址下载该媒体内容的摘要文件,并通过播放该摘要文件实现对媒体内容的快速预览。In order to implement the above solution, as described above, the server 13 also needs to generate a digest file for each media content, and feed back the storage address of the media content to the application client while feeding back the media content information. In this way, after receiving the preview request of the user for a certain media content, the application client can download the summary file of the media content according to the storage address of the summary file, and play a quick preview of the media content by playing the summary file.
具体地,如前所述,服务器13生成媒体内容摘要文件的方法以 及应用客户端11浏览摘要文件的方法在前文已经进行了详细描述,在此不再赘述了。Specifically, as described above, the method for the server 13 to generate the media content summary file and the method for the application client 11 to browse the summary file have been described in detail in the foregoing, and are not described herein again.
通过上述方案,一方面通过将部分关键词和媒体内容进行关联并积累关联次数,进而实现对关联的媒体内容进行排序,规避了纯文字联想和媒体内容名称匹配带来的误差和覆盖度不足的问题。另一方面可以通过播放摘要文件的方式实现对媒体内容的关键帧截图的快速预览,相比于静态海报的预览方式,有更加冲击的效果,给用户以更好的体验,同时使用户能够获得更多信息从而提高用户确定搜索的准确度,避免了用户重复操作和资源的浪费。Through the above scheme, on the one hand, by associating some keywords with the media content and accumulating the number of associations, the related media content is sorted, and the error and coverage caused by the matching of the pure text association and the media content name are avoided. problem. On the other hand, a quick preview of the key frame screenshots of the media content can be realized by playing the summary file, which has a more impact effect compared to the preview mode of the static poster, giving the user a better experience and enabling the user to obtain More information thus improves the accuracy of the user's determination of the search, avoiding the user's repeated operations and waste of resources.
对应以上各种媒体内容的搜索方法,本申请还提供了实现上述方法的应用客户端800。Corresponding to the above various media content search methods, the present application also provides an application client 800 that implements the above method.
在本申请的一些实例中,上述实现媒体内容的搜索方法的应用客户端800可由图8A所示的结构图实现,包括:发送模块801、接收模块802、展示模块803以及预览模块804,各模块的功能如下:In some examples of the present application, the application client 800 for implementing the search method of the media content may be implemented by the structure diagram shown in FIG. 8A, including: a sending module 801, a receiving module 802, a displaying module 803, and a preview module 804, each module. The function is as follows:
发送模块801接收携带部分关键词的媒体内容搜索请求,并发送所述部分关键词至服务器进行媒体内容搜索;The sending module 801 receives a media content search request that carries a part of keywords, and sends the partial keyword to the server for media content search;
接收模块802接收服务器反馈的一个或多个媒体内容的媒体内容信息;The receiving module 802 receives media content information of one or more media content that is fed back by the server;
展示模块803展示所述一个或多个媒体内容的媒体内容信息;The presentation module 803 displays media content information of the one or more media content;
预览模块804响应于用户针对一媒体内容的预览请求,下载所述媒体内容的摘要文件,并在所述媒体内容对应的预览窗内播放所述媒体内容的摘要文件。The preview module 804 downloads the summary file of the media content in response to the user's preview request for a media content, and plays the summary file of the media content in a preview window corresponding to the media content.
在一些实例中,图8B是展示模块803的内部结构图,如图8B所示,展示模块803包括展开单元8031、下载单元8032和预览单元 8033。其中,各个单元功能如下:In some examples, FIG. 8B is an internal structural diagram of the display module 803. As shown in FIG. 8B, the presentation module 803 includes an expansion unit 8031, a download unit 8032, and a preview unit 8033. Among them, each unit has the following functions:
展开单元8031,以列表方式展示所述一个或多个媒体内容的部分媒体内容信息;响应于针对所述列表中一个媒体内容的展开请求,显示所述媒体内容的展示区域并在所述展示区域内展示所述的媒体内容的预览窗以及所述媒体内容的全部媒体内容信息;An expanding unit 8031, displaying part of the media content information of the one or more media content in a list manner; displaying a display area of the media content and in the display area in response to an expansion request for one media content in the list Presenting a preview window of the media content and all media content information of the media content;
下载单元8032,响应于用户针对一媒体内容的预览请求,根据所述摘要文件的存储地址下载所述媒体内容的摘要文件;以及The downloading unit 8032, in response to the user's preview request for a media content, downloading the digest file of the media content according to the storage address of the digest file;
预览单元8033,在所述预览窗内播放所述媒体内容的摘要文件。The preview unit 8033 plays a summary file of the media content in the preview window.
具体而言,当所述摘要文件为大图片文件时,预览单元8033可以包括:拆分子模块,用于按照所述摘要文件的拼接规则,将所述大图片文件反向拆分成多张截图;播放区域设置子模块,用于根据单张截图的尺寸设置所述预览窗内播放区域;移动播放子模块,用于在所述播放区域内展示第一张截图,并每隔预定的时间间隔T,按照预定的移动规则移动所述大图片文件,以展示下一张截图,直至预览结束。Specifically, when the digest file is a large picture file, the preview unit 8033 may include: a disassembly module, configured to split the large picture file into multiple screenshots according to the splicing rule of the digest file. a play area setting sub-module, configured to set a play area in the preview window according to a size of a single screenshot; a mobile play sub-module, configured to display the first screenshot in the play area, and every predetermined time interval T, moving the large picture file according to a predetermined movement rule to display the next screenshot until the end of the preview.
上述展示模块803还可以进一步包括:进度调整单元8034,根据用户的播放进度调整操作以及用户当前在预览窗内的操作位置调整预览进度。The display module 803 may further include: a progress adjustment unit 8034 that adjusts the preview progress according to the user's playback progress adjustment operation and the user's current operation position in the preview window.
具体而言,进度调整单元8034包括:操作位置获取子模块,响应于用户的播放进度调整操作,获取用户当前在预览窗内的操作位置;播放进度确定子模块,用于根据用户当前在预览窗内的操作位置,确定所述操作位置对应的媒体内容的播放进度值;进度调整子模块,用于根据所述播放进度值确定所述操作位置对应所述媒体内容的截图在摘要文件中的位置。然后,预览模块就可以继续从该位置处开始播放该摘要文件了。Specifically, the progress adjustment unit 8034 includes: an operation position acquisition sub-module, in response to the user's play progress adjustment operation, acquiring an operation position of the user currently in the preview window; and a play progress determination sub-module for displaying the preview window according to the user currently a working position within the device, determining a playing progress value of the media content corresponding to the operating position; and a progress adjusting submodule, configured to determine, according to the playing progress value, a position of the screenshot corresponding to the media content in the summary file according to the playing progress value . The preview module can then continue to play the summary file from that location.
进度调整单元8034具体的操作方法可以参考上述步骤205-207。For the specific operation method of the progress adjustment unit 8034, refer to the above steps 205-207.
图9示出了实现媒体内容搜索方法的应用客户端800所在的计算设备900的组成结构图。如图9所示,该计算设备包括一个或者多个处理器(CPU)902、通信模块904、存储器906、用户接口910,以及用于互联这些组件的通信总线908。FIG. 9 shows a block diagram of the computing device 900 in which the application client 800 implementing the media content search method is located. As shown in FIG. 9, the computing device includes one or more processors (CPUs) 902, communication modules 904, memory 906, user interface 910, and a communication bus 908 for interconnecting these components.
处理器902可通过通信模块904接收和发送数据以实现网络通信和/或本地通信。The processor 902 can receive and transmit data through the communication module 904 to enable network communication and/or local communication.
用户接口910包括一个或多个输出设备912,其包括一个或多个扬声器和/或一个或多个可视化显示器。用户接口910也包括一个或多个输入设备914,其包括诸如,键盘,鼠标,声音命令输入单元或扩音器,触屏显示器,触敏输入板,姿势捕获摄像机或其他输入按钮或控件等。User interface 910 includes one or more output devices 912 that include one or more speakers and/or one or more visual displays. User interface 910 also includes one or more input devices 914 including, for example, a keyboard, a mouse, a voice command input unit or loudspeaker, a touch screen display, a touch sensitive tablet, a gesture capture camera or other input button or control, and the like.
存储器906可以是高速随机存取存储器,诸如DRAM、SRAM、DDR RAM、或其他随机存取固态存储设备;或者非易失性存储器,诸如一个或多个磁盘存储设备、光盘存储设备、闪存设备,或其他非易失性固态存储设备。The memory 906 can be a high speed random access memory such as DRAM, SRAM, DDR RAM, or other random access solid state storage device; or a non-volatile memory such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, Or other non-volatile solid-state storage devices.
存储器906存储处理器902可执行的指令集,包括:The memory 906 stores a set of instructions executable by the processor 902, including:
操作系统916,包括用于处理各种基本系统服务和用于执行硬件相关任务的程序;Operating system 916, including programs for processing various basic system services and for performing hardware related tasks;
应用918,包括用于实现媒体内容搜索各种应用程序,这种应用程序能够实现上述各实例中的处理流程,比如可以包括图8所示的媒体内容搜索方法的用户终端800中的部分或全部单元。各单元或模块801-804中的至少一个模块可以存储有机器可执行指令。处理器902通过执行存储器906中各模块801-804中至少一个模块中的机器可执行指令,进而能够实现上述各模块801-804中的至少一个模块的功能。The application 918 includes various applications for implementing media content search, such an application being capable of implementing the processing flow in each of the above examples, such as some or all of the user terminals 800 that may include the media content search method illustrated in FIG. unit. At least one of the units or modules 801-804 can store machine executable instructions. The processor 902 can implement the functions of at least one of the modules 801-804 described above by executing machine executable instructions in at least one of the modules 801-804 in the memory 906.
对应以上媒体内容的搜索方法,本申请还提供了实现上述方法的服务器1000。Corresponding to the search method of the above media content, the present application also provides a server 1000 that implements the above method.
在本申请的一些实例中,上述实现媒体内容的搜索方法的服务器1000可由图10所示的结构图实现,包括摘要文件生成模块1001、第一接收模块1002、确定模块1003和第一发送模块1004,各模块的功能如下:In some examples of the present application, the server 1000 for implementing the search method of the media content may be implemented by the structure diagram shown in FIG. 10, including the digest file generating module 1001, the first receiving module 1002, the determining module 1003, and the first sending module 1004. The functions of each module are as follows:
摘要文件生成模块1001主要用于在一个媒体内容上传以后,比如在编码打水印的过程中,从所述媒体内容中提取多个图像帧,生成所述媒体内容的至少一个摘要文件。The digest file generating module 1001 is mainly configured to extract a plurality of image frames from the media content after the media content is uploaded, such as in the process of encoding watermarking, to generate at least one digest file of the media content.
第一接收模块1002用于接收来自应用客户端的携带部分关键词的媒体内容搜索请求,并根据所述部分关键词确定一个或者多个文本关键词。The first receiving module 1002 is configured to receive a media content search request that carries a partial keyword from the application client, and determine one or more text keywords according to the partial keyword.
确定模块1003用于根据上述文本关键词确定一个或多个媒体内容,并获取所述一个或多个媒体内容的媒体内容信息以及摘要文件的存储地址。The determining module 1003 is configured to determine one or more media content according to the text keyword, and obtain media content information of the one or more media content and a storage address of the digest file.
发送模块1004用于将所述一个或多个媒体内容的媒体内容信息以及摘要文件的存储地址反馈给所述应用客户端。The sending module 1004 is configured to feed back the media content information of the one or more media content and the storage address of the digest file to the application client.
在本申请的实施例中,当摘要文件是大图片文件时,摘要文件生成模块1001包括:截图模块10011和拼接模块10012。上述摘要文件生成模块1001还可以进一步包括地址生成模块10013。In the embodiment of the present application, when the digest file is a large picture file, the digest file generating module 1001 includes: a screenshot module 10011 and a splicing module 10012. The above summary file generating module 1001 may further include an address generating module 10013.
其中,截图模块10011,按照每隔预先确定的时间间隔a从媒体内容截取一帧图像的频率,从所述媒体内容中截取多张截图。The screenshot module 10011 intercepts a plurality of screenshots from the media content according to a frequency of intercepting one frame of image from the media content every predetermined time interval a.
拼接模块10012,将每P张截图按照预定拼接规则进行拼接生成一个大图片文件,并将所生成的至少一个大图片文件分别作为所述媒体内容的一个或者多个摘要文件。The splicing module 10012 combines each P screenshot according to a predetermined splicing rule to generate a large picture file, and uses the generated at least one large picture file as one or more summary files of the media content.
地址生成模块10013,按预定规则,将上述摘要文件的文件名拼接在CDN的域名后,生成该摘要文件的存储地址。The address generation module 10013, after splicing the file name of the digest file to the domain name of the CDN according to a predetermined rule, generates a storage address of the digest file.
在本申请的一些实施例中,上述服务器1000还可以进一步包括:排序模块,用于记录部分关键词与文本关键词的关联度,并根据自身记录的所述部分关键词与所述至少一个文本关键词的关联度,对所述至少一个文本关键词进行排序。此时,上述发送模块1004将按照所述至少一个文本关键词的顺序,将所述一个或多个媒体内容的媒体内容信息以及摘要文件的存储地址反馈给所述应用客户端。In some embodiments of the present application, the server 1000 may further include: a sorting module, configured to record a degree of association between the partial keyword and the text keyword, and according to the partial keyword and the at least one text recorded by itself The degree of association of the keywords, the at least one text keyword is sorted. At this time, the sending module 1004 feeds back the media content information of the one or more media content and the storage address of the digest file to the application client according to the order of the at least one text keyword.
通过上述方案,服务器预先为每个媒体内容生成一个摘要文件,应用客户端可以在用户的请求之下播放该摘要文件,也即通过动图轮播的方式实现对媒体内容的关键帧截图的快速预览。这种方式一方面相比于静态海报的预览方式,有更加冲击的效果,给用户以更好的体验;另一方面用户能够获得更多信息从而提高用户确定搜索的准确度,避免了用户不必要的重复操作,从而避免了终端侧及网络侧硬件资源和网络资源的浪费。Through the above solution, the server generates a digest file for each media content in advance, and the application client can play the digest file under the request of the user, that is, realize the quick capture of the key frame of the media content by means of the image rotation. Preview. On the one hand, this method has a more impact effect than the preview mode of the static poster, giving the user a better experience; on the other hand, the user can obtain more information to improve the accuracy of the user to determine the search, and avoid the user. The necessary repetitive operations avoid waste of hardware resources and network resources on the terminal side and the network side.
本申请的实施例还提供了实现上述方法的服务器1100。在本申请的一些实例中,上述实现媒体内容的搜索方法的服务器1100可由图11所示的结构图实现,包括第二接收模块1101、第一确定模块1102、排序模块1103、第二确定模块1104和第二发送模块1105,各模块的功能如下:Embodiments of the present application also provide a server 1100 that implements the above method. In some examples of the present application, the server 1100 for implementing the search method of the media content may be implemented by the structure diagram shown in FIG. 11, and includes a second receiving module 1101, a first determining module 1102, a sorting module 1103, and a second determining module 1104. And the second sending module 1105, the functions of each module are as follows:
第二接收模块1101,接收应用客户端发送的用户输入的部分关键词;The second receiving module 1101 receives a partial keyword input by the user sent by the application client;
第一确定模块1102,根据所述部分关键词确定出至少一个文本关键词;The first determining module 1102 determines at least one text keyword according to the partial keyword;
排序模块1103,记录部分关键词与文本关键词的关联度,并根据自身记录的上述部分关键词与上述至少一个文本关键词的关联度对所述至少一个文本关键词进行排序;The sorting module 1103 records the degree of association between the partial keyword and the text keyword, and sorts the at least one text keyword according to the degree of association between the partial keyword and the at least one text keyword recorded by the self;
第二确定模块1104,确定与上述至少一个文本关键词对应至少一个媒体内容;以及The second determining module 1104 is configured to determine at least one media content corresponding to the at least one text keyword; and
第二发送模块1105,按照所述至少一个文本关键词的顺序将对应的媒体内容的媒体内容信息反馈给应用客户端。The second sending module 1105 feeds back the media content information of the corresponding media content to the application client according to the sequence of the at least one text keyword.
在本申请的一些实例中,上述实现媒体内容的搜索方法的服务器1100进一步包括:建立模块1106,根据用户输入的部分关键词和选择点击的媒体内容,更新部分关键词与媒体内容所对应的文本关键词的关联度。In some examples of the present application, the server 1100 for implementing the search method of the media content further includes: an establishing module 1106, updating the text corresponding to the partial keyword and the media content according to the partial keyword input by the user and the media content selected for the click The degree of relevance of the keyword.
在一些实例中,建立模块1106进一步设置一个关联计数器,用于对每一个部分关键词与某一个媒体内容所对应的文本关键词的关联次数进行计数。响应于用户输入某个部分关键词的媒体内容搜索操作以及点击搜索结果页面上某一个媒体内容的操作,将上述部分关键词以及上述媒体内容所对应的文本关键词对应的关联计数器加1。此时,上述关联计数器的值即为上述部分关键词与上述媒体内容所对应文本关键词的关联次数。In some examples, the setup module 1106 further sets an association counter for counting the number of associations of each partial keyword with a text keyword corresponding to a particular media content. In response to the user inputting a media content search operation of a certain partial keyword and clicking an operation of a certain media content on the search result page, the partial counter and the associated counter corresponding to the text keyword corresponding to the media content are incremented by one. At this time, the value of the correlation counter is the number of times the partial keyword is associated with the text keyword corresponding to the media content.
在一些实例中,排序模块1103可以进一步在排序之后保留关联度前N个文本关键词,其中,N为预设值。In some examples, the ranking module 1103 can further retain the top N text keywords of the relevance after sorting, where N is a preset value.
上述实施例的服务器通过设置部分关键词与文本关键词之间的关联度,并按照关联度对文本关键词对应的媒体内容进行排序,可以实现将候选媒体内容按照热度排序的效果,从而使得更可能被用户选择的媒体内容的信息被显示在前面,从而在大概率的情况下缩短用户搜索媒体内容的时间、提高用户的搜索效率,避免了不必要的翻页、 查找、浏览等操作,从而节省网络侧以及终端侧的硬件资源和网络资源。In the server of the above embodiment, by setting the degree of association between the partial keyword and the text keyword, and sorting the media content corresponding to the text keyword according to the degree of association, the effect of sorting the candidate media content according to the heat can be achieved, thereby making the The information of the media content that may be selected by the user is displayed in front, thereby shortening the time for the user to search for the media content, improving the search efficiency of the user, and avoiding unnecessary page turning, searching, browsing, etc., in a large probability. Save hardware resources and network resources on the network side and terminal side.
在本申请的一些实例中,上述实现媒体内容的搜索方法的服务器1100还可以进一步包括上述摘要文件生成模块1001。在这种情况下,上述第二发送模块1105在反馈媒体内容的媒体内容信息时还将进一步将该媒体内容的摘要文件反馈给应用客户端。In some examples of the present application, the server 1100 that implements the search method of the media content may further include the above-described digest file generating module 1001. In this case, the second sending module 1105 further feeds back the summary file of the media content to the application client when feeding the media content information of the media content.
通过上述方案,一方面通过将部分关键词和媒体内容进行关联并积累关联次数,进而实现对关联的媒体内容进行排序,规避了纯文字联想和媒体内容名称匹配带来的误差和覆盖度不足的问题。另一方面可以通过播放摘要文件的方式实现对媒体内容的关键帧截图的快速预览,相比于静态海报的预览方式,有更加冲击的效果,给用户以更好的体验,同时使用户能够获得更多信息从而提高用户确定搜索的准确度,避免了用户重复操作和资源的浪费。Through the above scheme, on the one hand, by associating some keywords with the media content and accumulating the number of associations, the related media content is sorted, and the error and coverage caused by the matching of the pure text association and the media content name are avoided. problem. On the other hand, a quick preview of the key frame screenshots of the media content can be realized by playing the summary file, which has a more impact effect compared to the preview mode of the static poster, giving the user a better experience and enabling the user to obtain More information thus improves the accuracy of the user's determination of the search, avoiding the user's repeated operations and waste of resources.
图12示出了实现媒体内容搜索方法的服务器1000或1100所在的计算设备1200的组成结构图。如图12所示,该计算设备包括一个或者多个处理器(CPU)1202、通信模块1204、存储器1206、用户接口1210,以及用于互联这些组件的通信总线1208。FIG. 12 shows a compositional diagram of a computing device 1200 in which a server 1000 or 1100 implementing a media content search method is located. As shown in FIG. 12, the computing device includes one or more processors (CPUs) 1202, communication modules 1204, memories 1206, user interfaces 1210, and a communication bus 1208 for interconnecting these components.
处理器1202可通过通信模块1204接收和发送数据以实现网络通信和/或本地通信。The processor 1202 can receive and transmit data through the communication module 1204 to effect network communication and/or local communication.
用户接口1210包括一个或多个输出设备1212,其包括一个或多个扬声器和/或一个或多个可视化显示器。用户接口1210也包括一个或多个输入设备1214,其包括诸如,键盘,鼠标,声音命令输入单元或扩音器,触屏显示器,触敏输入板,姿势捕获摄像机或其他输入按钮或控件等。User interface 1210 includes one or more output devices 1212 that include one or more speakers and/or one or more visual displays. User interface 1210 also includes one or more input devices 1214 including, for example, a keyboard, a mouse, a voice command input unit or loudspeaker, a touch screen display, a touch sensitive tablet, a gesture capture camera or other input button or control, and the like.
存储器1206可以是高速随机存取存储器,诸如DRAM、SRAM、DDR RAM、或其他随机存取固态存储设备;或者非易失性存储器,诸如一个或多个磁盘存储设备、光盘存储设备、闪存设备,或其他非易失性固态存储设备。The memory 1206 can be a high speed random access memory such as DRAM, SRAM, DDR RAM, or other random access solid state storage device; or a non-volatile memory such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, Or other non-volatile solid-state storage devices.
存储器1206存储处理器1202可执行的指令集,包括:The memory 1206 stores a set of instructions executable by the processor 1202, including:
操作系统1216,包括用于处理各种基本系统服务和用于执行硬件相关任务的程序;An operating system 1216, including a program for processing various basic system services and for performing hardware related tasks;
应用1218,包括用于实现媒体内容搜索各种应用程序,这种应用程序能够实现上述各实例中的处理流程,比如可以包括图10所示服务器1000中的部分或全部单元或者图11所示服务器1100中的部分或全部单元。各单元或模块1001-1004或1101-1106中的至少一个模块可以存储有机器可执行指令。处理器1202通过执行存储器1206中各模块1001-1004或1101-1106中至少一个模块中的机器可执行指令,进而能够实现上述各模块1001-1004或1101-1106中的至少一个模块的功能。The application 1218 includes various applications for implementing media content search, and the application can implement the processing flow in each of the above examples, for example, may include some or all of the units in the server 1000 shown in FIG. 10 or the server shown in FIG. Some or all of the units in 1100. At least one of the units or modules 1001-1004 or 1101-1106 may store machine executable instructions. The processor 1202 can implement the functions of at least one of the modules 1001-1004 or 1101-1106 described above by executing machine executable instructions in at least one of the modules 1001-1004 or 1101-1106 in the memory 1206.
需要说明的是,上述各流程和各结构图中不是所有的步骤和模块都是必须的,可以根据实际的需要忽略某些步骤或模块。各步骤的执行顺序不是固定的,可以根据需要进行调整。各模块的划分仅仅是为了便于描述采用的功能上的划分,实际实现时,一个模块可以分由多个模块实现,多个模块的功能也可以由同一个模块实现,这些模块可以位于同一个设备中,也可以位于不同的设备中。It should be noted that not all the steps and modules in the foregoing processes and the various structural diagrams are necessary, and some steps or modules may be omitted according to actual needs. The order of execution of each step is not fixed and can be adjusted as needed. The division of each module is only for the convenience of description of the functional division. In actual implementation, one module can be implemented by multiple modules, and the functions of multiple modules can also be implemented by the same module. These modules can be located in the same device. It can also be located in different devices.
各实施例中的硬件模块可以以硬件方式或硬件平台加软件的方式实现。上述软件包括机器可读指令,存储在非易失性存储介质中。因此,各实施例也可以体现为软件产品。The hardware modules in the embodiments may be implemented in a hardware manner or a hardware platform plus software. The above software includes machine readable instructions stored in a non-volatile storage medium. Thus, embodiments can also be embodied as software products.
因此,本申请的一些实例还提供了一种计算机可读存储介质,其 上存储有计算机指令,其中,所述计算机指令被处理器执行时实现上述图2-7中任一图所述方法的步骤。Accordingly, some examples of the present application also provide a computer readable storage medium having stored thereon computer instructions, wherein the computer instructions are executed by a processor to implement the method of any of Figures 2-7 above. step.
各例中,硬件可以由专门的硬件或执行机器可读指令的硬件实现。例如,硬件可以为专门设计的永久性电路或逻辑器件(如专用处理器,如FPGA或ASIC)用于完成特定的操作。硬件也可以包括由软件临时配置的可编程逻辑器件或电路(如包括通用处理器或其它可编程处理器)用于执行特定操作。In each case, the hardware may be implemented by specialized hardware or hardware that executes machine readable instructions. For example, the hardware can be a specially designed permanent circuit or logic device (such as a dedicated processor such as an FPGA or ASIC) for performing a particular operation. The hardware may also include programmable logic devices or circuits (such as including general purpose processors or other programmable processors) that are temporarily configured by software for performing particular operations.
另外,本申请的每个实例可以通过由数据处理设备如计算机执行的数据处理程序来实现。显然,数据处理程序构成了本申请。此外,通常存储在一个存储介质中的数据处理程序通过直接将程序读取出存储介质或者通过将程序安装或复制到数据处理设备的存储设备(如硬盘和或内存)中执行。因此,这样的存储介质也构成了本申请,本申请还提供了一种非易失性存储介质,其中存储有数据处理程序,这种数据处理程序可用于执行本申请上述方法实例中的任何一种实例。Additionally, each instance of the present application can be implemented by a data processing program executed by a data processing device such as a computer. Obviously, the data processing program constitutes the present application. Further, a data processing program usually stored in a storage medium is executed by directly reading a program out of a storage medium or by installing or copying the program to a storage device (such as a hard disk and or a memory) of the data processing device. Therefore, such a storage medium also constitutes the present application, and the present application also provides a non-volatile storage medium in which a data processing program is stored, which can be used to execute any of the above-mentioned method examples of the present application. An example.
图8A、图8B、图10和图11中的模块对应的机器可读指令可以使计算机上操作的操作系统等来完成这里描述的部分或者全部操作。非易失性计算机可读存储介质可以是插入计算机内的扩展板中所设置的存储器中或者写到与计算机相连接的扩展单元中设置的存储器。安装在扩展板或者扩展单元上的CPU等可以根据指令执行部分和全部实际操作。The machine readable instructions corresponding to the modules in Figures 8A, 8B, 10, and 11 may cause an operating system or the like operating on a computer to perform some or all of the operations described herein. The non-transitory computer readable storage medium may be inserted into a memory provided in an expansion board within the computer or written to a memory provided in an expansion unit connected to the computer. The CPU or the like installed on the expansion board or the expansion unit can perform part and all of the actual operations according to the instructions.
另外,在本申请各个实例中的装置及各模块可以集成在一个处理单元中,也可以是各个模块单独物理存在,也可以两个或两个以上装置或模块集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the devices and modules in the various examples of the present application may be integrated into one processing unit, or each module may exist physically separately, or two or more devices or modules may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明, 凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are made within the spirit and principles of the present invention, should be included in the present invention. Within the scope of protection.

Claims (25)

  1. 一种媒体内容搜索方法,由用户终端执行,所述方法包括:A media content searching method is performed by a user terminal, and the method includes:
    接收携带部分关键词的媒体内容搜索请求;Receiving a media content search request carrying a part of keywords;
    发送所述部分关键词至服务器进行媒体内容搜索;Sending the partial keyword to the server for media content search;
    接收服务器反馈的一个或多个媒体内容的媒体内容信息;Receiving media content information of one or more media content fed back by the server;
    展示所述一个或多个媒体内容的媒体内容信息;Presenting media content information of the one or more media content;
    响应于用户针对媒体内容的预览请求,下载所述媒体内容的摘要文件;其中,所述摘要文件为服务器根据从所述媒体内容提取的多个图像帧而生成的对应该媒体内容的媒体文件;以及And downloading, in response to the user's preview request for the media content, the digest file of the media content; wherein the digest file is a media file corresponding to the media content generated by the server according to the plurality of image frames extracted from the media content; as well as
    在所述媒体内容对应的预览窗内播放所述媒体内容的摘要文件。Playing a summary file of the media content in a preview window corresponding to the media content.
  2. 根据权利要求1所述的方法,其中,所述展示所述一个或多个媒体内容的媒体内容信息包括:The method of claim 1, wherein the displaying the media content information of the one or more media content comprises:
    在页面上为所述一个或多个媒体内容分别设置展示区域,在所述展示区域内分别展示所对应媒体内容的媒体内容信息;其中,所述预览窗设置在每个媒体内容的展示区域内预先确定的位置;或者Setting a display area for the one or more media content on the page, respectively displaying media content information of the corresponding media content in the display area; wherein the preview window is disposed in a display area of each media content a predetermined location; or
    在页面上以列表方式显示所述一个或多个媒体内容的部分媒体内容信息;响应于针对一媒体内容的展开请求,显示所述媒体内容的展示区域并在所述展示区域内展示所述媒体内容的预览窗以及所述媒体内容的全部媒体内容信息。Displaying partial media content information of the one or more media content in a list on a page; displaying a display area of the media content and displaying the media in the display area in response to a deployment request for a media content a preview window of content and all media content information of the media content.
  3. 根据权利要求1所述的方法,其中,所述媒体内容的摘要文件为服务器根据从所述媒体内容提取的多个图像帧而生成的大图片文件;The method of claim 1, wherein the digest file of the media content is a large picture file generated by the server according to a plurality of image frames extracted from the media content;
    所述在所述媒体内容对应的预览窗内播放所述媒体内容的摘要文件包括:在所述预览窗内自动轮播所述大图片文件中的各个图像帧。The playing the summary file of the media content in a preview window corresponding to the media content comprises: automatically rotating each image frame in the large picture file in the preview window.
  4. 根据权利要求3所述的方法,其特征在于,所述在所述预览窗内自动轮播所述大图片文件中的各个图像帧包括:The method according to claim 3, wherein said automatically rotating each image frame in said large picture file within said preview window comprises:
    按照所述大图片文件的拼接规则,将所述大图片文件反向拆分成多张截图;Splitting the large picture file into multiple screenshots according to the splicing rule of the large picture file;
    根据单张截图的尺寸设置所述预览窗的播放区域;Setting a play area of the preview window according to a size of a single screenshot;
    在所述播放区域内展示第一张截图;以及Displaying the first screenshot in the play area;
    每隔预定的时间间隔,按照预定的移动规则移动所述大图片文件,展示下一张截图,直至预览结束。The large picture file is moved according to a predetermined movement rule every predetermined time interval, and the next screenshot is displayed until the preview ends.
  5. 根据权利要求4所述的方法,其特征在于,所述每隔预定的时间间隔,按照预定的移动规则移动所述大图片文件包括:The method according to claim 4, wherein said moving said large picture file according to a predetermined movement rule every predetermined time interval comprises:
    A、每隔预定的时间间隔,将所述大图片文件向左移动单个截图的宽度,直至所述大图片文件的一行截图展示完;A. moving the large picture file to the left by a width of a single screenshot every predetermined time interval until a one-line screenshot of the large picture file is displayed;
    B、将所述大图片文件向上移动单个截图的高度,并将所述大图片文件向右移动至该行最左侧的一个截图,然后返回A开始下一行截图的展示。B. Move the large picture file up to the height of a single screenshot, and move the large picture file to the right to a screenshot on the leftmost side of the line, and then return to A to start the next line of the screenshot.
  6. 根据权利要求1所述的方法,其中,所述媒体内容的摘要文件为服务器根据从所述媒体内容提取的多个图像帧而生成的动图文件;The method of claim 1, wherein the digest file of the media content is an animation file generated by a server based on a plurality of image frames extracted from the media content;
    所述在所述媒体内容对应的预览窗内播放所述媒体内容的摘要文件包括:在所述预览窗内运行所述动图文件。The playing the summary file of the media content in a preview window corresponding to the media content comprises: running the animation file in the preview window.
  7. 根据权利要求1所述的方法,其中,所述方法进一步包括:The method of claim 1 wherein the method further comprises:
    响应于播放进度调整操作,获取用户当前在预览窗内的操作位置;Acquiring the operation position of the user currently in the preview window in response to the play progress adjustment operation;
    根据用户当前在预览窗内的操作位置,确定所述操作位置对应的媒体内容的播放进度值;以及Determining a play progress value of the media content corresponding to the operation location according to an operation position of the user currently in the preview window;
    根据所述播放进度值确定所述操作位置对应所述媒体内容的截图在摘要文件中的位置;以及Determining, according to the playback progress value, a location of the screenshot corresponding to the media content in the digest file;
    从所确定的位置处播放所述摘要文件。The summary file is played from the determined location.
  8. 根据权利要求7所述的方法,其中,所述根据用户当前在预览窗内的操作位置,确定所述操作位置对应的媒体内容的播放进度值包括:根据所述操作位置在水平方向上相对于所述预览窗的左边框和右边框位置确定所述操作位置对应的媒体内容的播放进度值;The method according to claim 7, wherein the determining, according to an operation position of the user currently in the preview window, determining a play progress value of the media content corresponding to the operation position comprises: horizontally speaking with respect to the operation position according to the operation position The left border and the right border position of the preview window determine a play progress value of the media content corresponding to the operation position;
    所述根据所述播放进度值确定所述操作位置对应所述媒体内容的截图在摘要文件中的位置包括:根据算式(T/a)/P确定所述操作位置对应所述媒体内容的截图在摘要文件中的位置;其中,T为所述操作位置对应的播放进度值;a为服务器对媒体内容进行截屏时采用的时间间隔;媒体内容的每个摘要文件所包含的截图的数量由P;(T/a)/P的商向下取整的值为所述操作位置对应的截图所在的摘要文件;(T/a)/P的余数为所述操作位置对应的截图在摘要文件中的位置。Determining, according to the play progress value, the location of the screenshot corresponding to the media content in the digest file includes: determining, according to the formula (T/a)/P, that the operation location corresponds to the screenshot of the media content a location in the summary file; where T is the playback progress value corresponding to the operation location; a is the time interval taken by the server to take a screen shot of the media content; the number of screenshots included in each summary file of the media content is P; The quotient of (T/a)/P is rounded down to the summary file of the screenshot corresponding to the operation position; the remainder of (T/a)/P is the screenshot corresponding to the operation position in the summary file. position.
  9. 一种媒体内容搜索方法,由服务器执行,包括:A media content search method, executed by a server, comprising:
    在一个媒体内容上传以后,从所述媒体内容中提取多个图像帧,生成所述媒体内容的至少一个摘要文件;After uploading a media content, extracting a plurality of image frames from the media content, and generating at least one digest file of the media content;
    接收来自应用客户端的携带部分关键词的媒体内容搜索请求;Receiving a media content search request from a client client that carries a partial keyword;
    根据所述部分关键词确定一个或者多个文本关键词;Determining one or more text keywords according to the partial keywords;
    根据所述一个或者多个文本关键词确定的一个或多个媒体内容;One or more media content determined based on the one or more text keywords;
    获取所述一个或多个媒体内容的媒体内容信息以及摘要文件的存储地址;Obtaining media content information of the one or more media content and a storage address of the digest file;
    将所述一个或多个媒体内容的媒体内容信息以及摘要文件的存储地址反馈给所述应用客户端。The media content information of the one or more media content and the storage address of the digest file are fed back to the application client.
  10. 根据权利要求9所述的方法,其中,所述从所述媒体内容中提取多个图像帧,生成所述媒体内容的至少一个摘要文件包括:The method of claim 9, wherein the extracting the plurality of image frames from the media content, generating the at least one summary file of the media content comprises:
    按照每隔预先确定的时间间隔a从所述媒体内容截取一帧图像的频率,从所述媒体内容中截取多张截图,a为正整数;Intercepting a frequency of one frame of image from the media content at every predetermined time interval a, and extracting a plurality of screenshots from the media content, where a is a positive integer;
    将每P张截图按照预定拼接规则进行拼接生成一个大图片文件;其中P正整数;以及Splicing each P screenshot according to a predetermined splicing rule to generate a large picture file; wherein P is a positive integer;
    将所生成的至少一个大图片文件作为所述媒体内容的一个或者多个摘要文件。The generated at least one large picture file is taken as one or more digest files of the media content.
  11. 根据权利要求9所述的方法,其中,所述从所述媒体内容中提取多个图像帧,生成所述媒体内容的至少一个摘要文件包括:The method of claim 9, wherein the extracting the plurality of image frames from the media content, generating the at least one summary file of the media content comprises:
    按照每隔预先确定的时间间隔a从所述媒体内容截取一帧图像的频率,从所述媒体内容中截取多张截图,a为正整数;Intercepting a frequency of one frame of image from the media content at every predetermined time interval a, and extracting a plurality of screenshots from the media content, where a is a positive integer;
    将每P张截图生成一个动图文件;其中P为正整数;以及Generate an animation file for each P screenshot; where P is a positive integer;
    将所生成的至少一个动图文件作为所述媒体内容的一个或者多个摘要文件。The generated at least one animation file is used as one or more summary files of the media content.
  12. 根据权利要求10或11所述的方法,其中,所述从所述媒体内容中截取多张截图,包括:在截取媒体内容的一帧图像时,对应不 同用户终端不同型号的显示设备,调整截图的尺寸,截取不同尺寸的图像,生成对应不同显示设备型号的摘要文件。The method according to claim 10 or 11, wherein the capturing a plurality of screenshots from the media content comprises: when capturing a frame image of the media content, corresponding to different display devices of different user terminals, adjusting the screenshot Dimensions, capture images of different sizes, and generate summary files corresponding to different display device models.
  13. 根据权利要求9所述的方法,其中,所述将所述摘要文件的存储地址反馈给所述应用客户端包括:根据应用客户端所在用户终端的显示设备的型号,确定对应所述显示设备型号的摘要文件,并将对应所述显示设备型号的摘要文件的存储地址反馈给所述应用客户端。The method according to claim 9, wherein the feeding back the storage address of the digest file to the application client comprises: determining, according to the model of the display device of the user terminal where the application client is located, the corresponding display device model And a summary file, and the storage address corresponding to the summary file of the display device model is fed back to the application client.
  14. 根据权利要求9所述的方法,其中,所述方法进一步包括:The method of claim 9 wherein the method further comprises:
    在根据所述部分关键词确定一个或者多个文本关键词之后,根据自身记录的所述部分关键词与所述一个或多个文本关键词的关联度对所述一个或多个文本关键词进行排序;其中,所述部分关键词与文本关键词的关联度代表用户输入一个部分关键词进行检索并最终选择了一个文本关键词所对应媒体内容的概率统计值。After determining one or more text keywords according to the partial keywords, performing the one or more text keywords according to the degree of association between the partial keywords recorded by the self and the one or more text keywords Sorting; wherein the degree of association between the partial keyword and the text keyword represents a probability statistical value of the media content corresponding to the user inputting a partial keyword for searching and finally selecting a text keyword.
  15. 根据权利要求14所述的方法,其中,所述方法进一步包括:根据用户最终选择播放的媒体内容所对应的文本关键词,更新所述部分关键词与所述文本关键词的关联度。The method according to claim 14, wherein the method further comprises: updating the degree of association of the partial keyword with the text keyword according to a text keyword corresponding to the media content that the user finally selects to play.
  16. 根据权利要求9所述的方法,其中,所述将所述一个或多个媒体内容的媒体内容信息以及摘要文件的存储地址反馈给所述应用客户端包括:按照所述一个或多个文本关键词的顺序将对应的媒体内容的媒体内容信息以及摘要文件的存储地址反馈给所述应用客户端。The method of claim 9, wherein the feeding back the media content information of the one or more media content and the storage address of the digest file to the application client comprises: following the one or more text keys The order of the words feeds back the media content information of the corresponding media content and the storage address of the digest file to the application client.
  17. 一种媒体内容搜索方法,由服务器执行,所述方法包括:A media content searching method is performed by a server, and the method includes:
    接收来自应用客户端的携带部分关键词的媒体内容搜索请求;Receiving a media content search request from a client client that carries a partial keyword;
    根据所述部分关键词确定一个或者多个文本关键词;Determining one or more text keywords according to the partial keywords;
    根据自身记录的所述部分关键词与所述至少一个文本关键词的关联度对所述至少一个文本关键词进行排序;其中,所述部分关键词与文本关键词的关联度代表用户输入一个部分关键词进行检索并最终选择了一个文本关键词所对应媒体内容的概率统计值;Sorting the at least one text keyword according to the degree of association between the partial keyword and the at least one text keyword recorded by the self; wherein the degree of association between the partial keyword and the text keyword represents a part of the user input The keyword is searched and finally selects a probability statistical value of the media content corresponding to a text keyword;
    根据所述一个或者多个文本关键词确定的一个或多个媒体内容;One or more media content determined based on the one or more text keywords;
    获取所述一个或多个媒体内容的媒体内容信息以及摘要文件的存储地址;Obtaining media content information of the one or more media content and a storage address of the digest file;
    按照所述至少一个文本关键词的顺序将对应的媒体内容的媒体内容信息以及摘要文件的存储地址反馈给所述应用客户端。And returning the media content information of the corresponding media content and the storage address of the digest file to the application client according to the sequence of the at least one text keyword.
  18. 根据权利要求17所述的方法,其中,所述方法进一步包括:根据用户最终选择播放的媒体内容所对应的文本关键词,更新所述部分关键词与所述文本关键词的关联度。The method according to claim 17, wherein the method further comprises: updating the degree of association of the partial keyword with the text keyword according to a text keyword corresponding to the media content that the user finally selects to play.
  19. 一种用户终端,其中,所述用户终端包括:A user terminal, wherein the user terminal includes:
    发送模块,用于接收携带部分关键词的媒体内容搜索请求,并发送所述部分关键词至服务器进行媒体内容搜索;a sending module, configured to receive a media content search request that carries a part of the keyword, and send the partial keyword to the server for media content search;
    接收模块,用于接收服务器反馈的一个或多个媒体内容的媒体内容信息;a receiving module, configured to receive media content information of one or more media content that is fed back by the server;
    展示模块,用于展示所述一个或多个媒体内容的媒体内容信息;a display module, configured to display media content information of the one or more media content;
    预览模块,响应于用户针对一媒体内容的预览请求,下载所述媒体内容的摘要文件,并在所述媒体内容对应的预览窗内播放所述媒体内容的摘要文件。The preview module, in response to the user's preview request for a media content, downloads a summary file of the media content, and plays a summary file of the media content in a preview window corresponding to the media content.
  20. 一种用户终端,包括存储器和处理器,所述存储器中存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如权利要求1-8任一项所述的方法。A user terminal comprising a memory and a processor, wherein the memory stores a computer program, the computer program being executed by the processor, causing the processor to perform the method of any one of claims 1-8 method.
  21. 一种服务器,其中,所述服务器包括:A server, wherein the server comprises:
    摘要文件生成模块,用于从所述媒体内容中提取多个图像帧,生成所述媒体内容的至少一个摘要文件;a summary file generating module, configured to extract a plurality of image frames from the media content, and generate at least one summary file of the media content;
    第一接收模块,用于接收来自应用客户端的携带部分关键词的媒体内容搜索请求,并根据所述部分关键词确定一个或者多个文本关键词;a first receiving module, configured to receive a media content search request that carries a part of the keyword from the application client, and determine one or more text keywords according to the partial keyword;
    确定模块,用于根据上述文本关键词确定一个或多个媒体内容,并获取所述一个或多个媒体内容的媒体内容信息以及摘要文件的存储地址;以及a determining module, configured to determine one or more media content according to the text keyword, and obtain media content information of the one or more media content and a storage address of the digest file;
    发送模块,用于将所述一个或多个媒体内容的媒体内容信息以及摘要文件的存储地址反馈给所述应用客户端。And a sending module, configured to feed back the media content information of the one or more media content and the storage address of the digest file to the application client.
  22. 一种服务器,包括存储器和处理器,所述存储器中存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如权利要求9-16任一项所述的方法。A server comprising a memory and a processor, wherein the memory stores a computer program, the computer program being executed by the processor, causing the processor to perform the method of any one of claims 9-16 .
  23. 一种服务器,其中,所述服务器包括:A server, wherein the server comprises:
    接收模块,用于接收应用客户端发送的用户输入的部分关键词;a receiving module, configured to receive a part of a keyword input by a user sent by an application client;
    第一确定模块,用于根据所述部分关键词确定出至少一个文本关键词;a first determining module, configured to determine at least one text keyword according to the partial keyword;
    排序模块,用于记录部分关键词与文本关键词的关联度,并根据 自身记录的上述部分关键词与上述至少一个文本关键词的关联度对所述至少一个文本关键词进行排序;a sorting module, configured to record a degree of association between the partial keyword and the text keyword, and sort the at least one text keyword according to the degree of association between the partial keyword and the at least one text keyword recorded by the self;
    第二确定模块,用于确定与上述至少一个文本关键词对应至少一个媒体内容;以及a second determining module, configured to determine at least one media content corresponding to the at least one text keyword; and
    发送模块,用于按照所述至少一个文本关键词的顺序将对应的媒体内容的媒体内容信息反馈给应用客户端。And a sending module, configured to feed back the media content information of the corresponding media content to the application client according to the order of the at least one text keyword.
  24. 一种服务器,包括存储器和处理器,所述存储器中存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如权利要求17-18任一项所述的方法。A server comprising a memory and a processor, the memory storing a computer program, the computer program being executed by the processor, causing the processor to perform the method of any one of claims 17-18 .
  25. 一种存储介质,其特征在于,存储有机器可读指令,可以使至少一个处理器执行如权利要求1-18任一项所述的方法。A storage medium characterized by storing machine readable instructions, which may cause at least one processor to perform the method of any of claims 1-18.
PCT/CN2018/114462 2017-11-09 2018-11-08 Media content search method, device and storage medium WO2019091416A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711097780.6A CN109766457B (en) 2017-11-09 2017-11-09 Media content searching method, device and storage medium
CN201711097780.6 2017-11-09

Publications (1)

Publication Number Publication Date
WO2019091416A1 true WO2019091416A1 (en) 2019-05-16

Family

ID=66438247

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/114462 WO2019091416A1 (en) 2017-11-09 2018-11-08 Media content search method, device and storage medium

Country Status (2)

Country Link
CN (1) CN109766457B (en)
WO (1) WO2019091416A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111694984A (en) * 2020-06-12 2020-09-22 百度在线网络技术(北京)有限公司 Video searching method and device, electronic equipment and readable storage medium
CN112149025A (en) * 2020-10-19 2020-12-29 腾讯科技(深圳)有限公司 Media resource display method and device, storage medium and electronic equipment
CN112445983A (en) * 2019-09-03 2021-03-05 百度在线网络技术(北京)有限公司 Search result processing method, device and equipment and computer readable storage medium
CN112699254A (en) * 2021-01-05 2021-04-23 北京字节跳动网络技术有限公司 Media content screening method and device and computer storage medium
CN112752121A (en) * 2020-05-26 2021-05-04 腾讯科技(深圳)有限公司 Video cover generation method and device
CN113626585A (en) * 2021-08-27 2021-11-09 京东方科技集团股份有限公司 Abstract generation method and device, electronic equipment and storage medium
CN115209233A (en) * 2022-06-25 2022-10-18 平安银行股份有限公司 Video playing method and related device and equipment

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110600003A (en) * 2019-10-18 2019-12-20 北京云迹科技有限公司 Robot voice output method and device, robot and storage medium
CN111818362A (en) * 2020-05-31 2020-10-23 武汉市慧润天成信息科技有限公司 Multimedia data cloud storage system and method
CN112328872A (en) * 2020-10-27 2021-02-05 北京字节跳动网络技术有限公司 Information display method, information search method and device
CN114449329A (en) * 2022-01-27 2022-05-06 北京碧云数创科技有限公司 File display and play method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120323897A1 (en) * 2011-06-14 2012-12-20 Microsoft Corporation Query-dependent audio/video clip search result previews
CN102857793A (en) * 2011-07-01 2013-01-02 上海聚力传媒技术有限公司 Method and device for supplying video access service
CN103473273A (en) * 2013-08-22 2013-12-25 百度在线网络技术(北京)有限公司 Information search method, information search device and server
CN106339394A (en) * 2015-07-09 2017-01-18 腾讯科技(北京)有限公司 Method and device for processing information

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8166010B2 (en) * 2005-07-26 2012-04-24 Taptu Limited Processing and sending search results over a wireless network to a mobile device
CN104090923B (en) * 2012-05-04 2018-06-26 北京奇虎科技有限公司 The methods of exhibiting and device of a kind of rich media information in browser
CN103970813A (en) * 2013-12-27 2014-08-06 乐视网信息技术(北京)股份有限公司 Multimedia content searching method and system
CN106227873A (en) * 2016-07-29 2016-12-14 乐视控股(北京)有限公司 Searching method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120323897A1 (en) * 2011-06-14 2012-12-20 Microsoft Corporation Query-dependent audio/video clip search result previews
CN102857793A (en) * 2011-07-01 2013-01-02 上海聚力传媒技术有限公司 Method and device for supplying video access service
CN103473273A (en) * 2013-08-22 2013-12-25 百度在线网络技术(北京)有限公司 Information search method, information search device and server
CN106339394A (en) * 2015-07-09 2017-01-18 腾讯科技(北京)有限公司 Method and device for processing information

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112445983A (en) * 2019-09-03 2021-03-05 百度在线网络技术(北京)有限公司 Search result processing method, device and equipment and computer readable storage medium
CN112445983B (en) * 2019-09-03 2023-09-26 百度在线网络技术(北京)有限公司 Method, device and equipment for processing search results and computer readable storage medium
CN112752121A (en) * 2020-05-26 2021-05-04 腾讯科技(深圳)有限公司 Video cover generation method and device
CN112752121B (en) * 2020-05-26 2023-06-09 腾讯科技(深圳)有限公司 Video cover generation method and device
CN111694984A (en) * 2020-06-12 2020-09-22 百度在线网络技术(北京)有限公司 Video searching method and device, electronic equipment and readable storage medium
CN111694984B (en) * 2020-06-12 2023-06-20 百度在线网络技术(北京)有限公司 Video searching method, device, electronic equipment and readable storage medium
CN112149025A (en) * 2020-10-19 2020-12-29 腾讯科技(深圳)有限公司 Media resource display method and device, storage medium and electronic equipment
CN112149025B (en) * 2020-10-19 2023-08-29 腾讯科技(深圳)有限公司 Media resource display method and device, storage medium and electronic equipment
CN112699254A (en) * 2021-01-05 2021-04-23 北京字节跳动网络技术有限公司 Media content screening method and device and computer storage medium
CN113626585A (en) * 2021-08-27 2021-11-09 京东方科技集团股份有限公司 Abstract generation method and device, electronic equipment and storage medium
CN115209233A (en) * 2022-06-25 2022-10-18 平安银行股份有限公司 Video playing method and related device and equipment
CN115209233B (en) * 2022-06-25 2023-08-25 平安银行股份有限公司 Video playing method, related device and equipment

Also Published As

Publication number Publication date
CN109766457B (en) 2022-12-23
CN109766457A (en) 2019-05-17

Similar Documents

Publication Publication Date Title
WO2019091416A1 (en) Media content search method, device and storage medium
CN108965737B (en) Media data processing method, device and storage medium
US11218776B2 (en) Method for pushing video information, apparatus, device and storage medium
US20170289643A1 (en) Method of displaying advertising during a video pause
US8966373B2 (en) Method and system for presenting network resources
US10515142B2 (en) Method and apparatus for extracting webpage information
US20180213289A1 (en) Method of authorizing video scene and metadata
WO2017215175A1 (en) Page processing method and device, terminal, and server
US20110289458A1 (en) User interface animation for a content system
US11630862B2 (en) Multimedia focalization
US20140046938A1 (en) History records sorting method and apparatus
CN110019933A (en) Video data handling procedure, device, electronic equipment and storage medium
US8805866B2 (en) Augmenting metadata using user entered metadata
US11272253B2 (en) Video pushing method, apparatus, device and storage medium
CN104144357A (en) Video playing method and system
US20110125731A1 (en) Information processing apparatus, information processing method, program, and information processing system
CN113536137A (en) Information display method and device and computer storage medium
WO2022134689A1 (en) Multimedia resource display method and device
US8935725B1 (en) Visually browsing videos
US9189547B2 (en) Method and apparatus for presenting a search utility in an embedded video
CN103686308A (en) Method and system for setting video shuffle playing
JP5624056B2 (en) Method, apparatus and computer program for generating a query
JP2004112379A (en) Image retrieving system
US20230297618A1 (en) Information display method and electronic apparatus
WO2015000433A1 (en) Multimedia search method, terminal, server and system

Legal Events

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

Ref document number: 18876498

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18876498

Country of ref document: EP

Kind code of ref document: A1