CN112291585B - Multimedia resource searching method and device, electronic equipment and storage medium - Google Patents

Multimedia resource searching method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112291585B
CN112291585B CN201910677798.6A CN201910677798A CN112291585B CN 112291585 B CN112291585 B CN 112291585B CN 201910677798 A CN201910677798 A CN 201910677798A CN 112291585 B CN112291585 B CN 112291585B
Authority
CN
China
Prior art keywords
search
search result
resource
title
resources
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201910677798.6A
Other languages
Chinese (zh)
Other versions
CN112291585A (en
Inventor
徐春霞
范冰冰
梁浩
孙亦超
王飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu Online Network Technology Beijing Co Ltd
Shanghai Xiaodu Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Shanghai Xiaodu Technology Co Ltd
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 Beijing Baidu Netcom Science and Technology Co Ltd, Shanghai Xiaodu Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910677798.6A priority Critical patent/CN112291585B/en
Publication of CN112291585A publication Critical patent/CN112291585A/en
Application granted granted Critical
Publication of CN112291585B publication Critical patent/CN112291585B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42203Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS] sound input device, e.g. microphone
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/232Content retrieval operation locally within server, e.g. reading video streams from disk arrays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • H04N21/4325Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/225Feedback of the input speech

Abstract

The application provides a multimedia resource searching method, a multimedia resource searching device, electronic equipment and a storage medium, and belongs to the technical field of computer application. Wherein, the method comprises the following steps: acquiring a search word of a user and current search time; judging whether the search word contains a title; if the search terms contain the title, acquiring a first search result from the first search library according to the title; acquiring a second search result from a second search library according to the title and the current search time; and combining the first search result and the second search result, and displaying the combined search result to the user. Therefore, by the method for searching the multimedia resources, the search results of a plurality of search libraries are fused, the richness of the movie and television resources is improved, a user does not need to switch the search libraries by himself, the user operation is simplified, and the user experience is improved.

Description

Multimedia resource searching method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer application technologies, and in particular, to a method and an apparatus for searching multimedia resources, an electronic device, and a storage medium.
Background
With the continuous development of science and technology, the internet has been deeply involved in the aspects of daily life of people. The use of the internet for work, learning, entertainment, etc. has been a constant state of the information society. Internet televisions, intelligent voice interactive televisions and the like are also popularized in common families, and richer video resources are brought to people.
Currently, a smart television can generally provide live service and on-demand service for a user. The user can save watching live broadcast resources by selecting corresponding television stations through the set top box of the radio and television, and can search on-demand resources through character search, voice search and the like. Therefore, when a user searches for video resources in a text, voice or other manner, only on-demand resources can be searched, and live resources cannot be searched. When watching the live broadcast, a user needs to know which television station the wanted movie resource is live broadcast on, and then locate to the television station to watch the movie resource.
The applicant finds that the live broadcast resources and the on-demand resources of the existing smart television are completely split, so that the corresponding live broadcast contents cannot be directly accessed when the movie and television resources are retrieved, switching between two television systems is often required, the operation is complex, and the user experience is influenced.
Disclosure of Invention
The multimedia resource searching method, the multimedia resource searching device, the electronic equipment, the storage medium and the computer program product are used for solving the problems that in the related technology, live broadcast resources and on-demand resources of a smart television are completely split, so that corresponding live broadcast contents cannot be directly accessed when movie and television resources are searched, switching between two television systems is often needed, operation is complex, and user experience is influenced.
An embodiment of an aspect of the present application provides a method for searching a multimedia resource, including: acquiring search terms and current search time of a user; judging whether the search word contains a title or not; if the search word contains the title, acquiring a first search result from a first search library according to the title; acquiring a second search result from a second search library according to the title and the current search time; and combining the first search result and the second search result, and displaying the combined search result to the user.
Another embodiment of the present application provides a multimedia resource searching apparatus, including: the first acquisition module is used for acquiring search terms of a user and current search time; the judging module is used for judging whether the search word contains a title; the second acquisition module is used for acquiring a first search result from the first search library according to the title if the search word contains the title; the third acquisition module is used for acquiring a second search result from a second search library according to the title and the current search time; and the first merging module is used for merging the first search result and the second search result and displaying the merged search result to the user.
An embodiment of another aspect of the present application provides an electronic device, which includes: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the method for searching multimedia resources as described above when executing the program.
In another aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the method for searching a multimedia resource as described above.
In another aspect of the present application, a computer program product is provided, which includes a computer program, and when the computer program is executed by a processor, the computer program implements the method for searching a multimedia resource according to the embodiment of the present application.
The method, the device, the electronic device, the computer-readable storage medium and the computer program for searching multimedia resources provided by the embodiment of the application can acquire a search word and current search time of a user, judge whether the search word contains a title, acquire a first search result from a first search library according to the title when the search word contains the title, acquire a second search result from a second search library according to the title and the current search time, further merge the first search result and the second search result, and show the merged search result to the user. Therefore, when the search word of the user is obtained, the search results are obtained from the plurality of search libraries and combined according to the title and the current search time in the search word of the user, and therefore the richness of movie and television resources is improved by fusing the search results of the plurality of search libraries, the search libraries do not need to be switched by the user, the user operation is simplified, and the user experience is improved.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart illustrating a method for searching a multimedia resource according to an embodiment of the present application;
FIG. 2-1 is a schematic view of a display interface in which search results after merging only include a plurality of live resources;
fig. 2-2 is a schematic diagram of a display interface in which the merged search results include both an on-demand resource and a live resource.
2-3 are schematic diagrams of display interfaces in which the merged search results include both a plurality of on-demand resources and live resources;
fig. 3 is a schematic flowchart of another multimedia resource searching method according to an embodiment of the present application;
FIG. 4 is a schematic view of a display interface of the merged search results that includes both on-demand resources and carousel resources;
fig. 5 is a schematic structural diagram of an apparatus for searching a multimedia resource according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the like elements throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
The embodiment of the application aims at the problems that in the related technology, live broadcast resources and on-demand resources of an intelligent television are completely split, so that corresponding live broadcast contents cannot be directly accessed when movie and television resources are retrieved, switching between two television systems is often needed, operation is complex, and user experience is affected, and a multimedia resource searching method is provided.
The method for searching the multimedia resources, provided by the embodiment of the application, can acquire the search word of the user and the current search time, and judge whether the search word contains the title, when the search word contains the title, a first search result is acquired from a first search library according to the title, a second search result is acquired from a second search library according to the title and the current search time, and then the first search result and the second search result are combined, and the combined search result is displayed for the user. Therefore, when the search words of the user are obtained, the search results are obtained from the plurality of search libraries and combined according to the titles and the current search time in the search words of the user, so that the richness of movie and television resources is improved by fusing the search results of the plurality of search libraries, the user does not need to switch the search libraries by himself, the user operation is simplified, and the user experience is improved.
A method, an apparatus, an electronic device, a storage medium, and a computer program product for searching a multimedia resource provided by the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a method for searching a multimedia resource according to an embodiment of the present disclosure.
As shown in fig. 1, the method for searching multimedia resources includes the following steps:
step 101, obtaining a search term of a user and current search time.
It should be noted that the method for searching for multimedia resources according to the embodiment of the present application may be applied to various scenes that need to search for multimedia resources, such as a smart television, but is not limited thereto. For convenience of description, the following description takes the smart television as a specific application scenario.
The current search time refers to the time when the search term of the user is acquired.
In the embodiment of the application, a user can input a search word in a text or voice mode by controlling an external device of the smart television or the smart television. If the user inputs the search word in a text mode, the text content input by the user can be directly determined as the search word of the user; if the user inputs the search word in a voice mode, the acquired voice data can be analyzed to obtain the text content corresponding to the voice data, and the text content corresponding to the voice data is determined as the search word of the user. And recording the time of acquiring the search terms to determine the current search time.
In the embodiment of the application, the device for acquiring the search terms of the user can be determined according to the functions of the smart television. If the smart television has an input device, such as a voice input device like a microphone, the device for acquiring the search term of the user may be the smart television; if the smart television is controlled by other external equipment, the equipment for acquiring the search terms of the user can be the external equipment for controlling the smart television, for example, a television remote controller; for another example, in an intelligent home scene, the device for acquiring the search term of the user may be a mobile terminal such as a mobile phone and a tablet computer for controlling an intelligent television, or an intelligent robot.
For example, if the user says "limit challenge" at 18.
And 102, judging whether the search word contains a title or not.
As a possible implementation manner, after the search word of the user is obtained, the search word may be parsed to determine whether the word includes a title. Optionally, word segmentation processing may be performed on the search word first to determine each word segment included in the search word, and each word segment is combined to determine each phrase included in the search word, so that each word segment and each phrase included in the search word are compared with locally stored multimedia resources and titles of multimedia resources in the internet to determine whether the search word includes titles.
Specifically, if each participle included in the search word and each phrase have a participle or phrase that is the same as the title of the multimedia resource, the search word may include the title, and the participle or phrase is determined as the title included in the search word; if the participles and phrases contained in the search word are not participles or phrases with the same title as the multimedia resource, the search word can be determined not to contain the title.
For example, if the search word of the user is "limit challenge", it may be determined that the search word includes two parts, namely "limit" and "challenge", and a phrase "limit challenge", so that the "limit", "challenge" and "limit challenge" may be compared with the titles of the locally stored multimedia resources and the multimedia resources in the internet, respectively, so that the "limit challenge" and the titles of the multimedia resources may be determined to be the same, it may be determined that the search word includes the title, and the "limit challenge" is determined as the title included in the search word.
It should be noted that the above examples are only illustrative and should not be construed as limiting the present application. In actual use, a mode of determining whether the search term includes the title may be selected according to actual needs, which is not limited in the embodiment of the present application.
Step 103, if the search term contains a title, obtaining a first search result from a first search library according to the title.
In the embodiment of the application, if the search term includes the title, the search is performed accurately according to the title included in the search term and the current search time, that is, the multimedia resource with the same title as the title included in the search term is obtained.
The first search library can be an on-demand content library; the first search result refers to a multimedia resource which is obtained from the first search library and has the same title as the title contained in the search term.
As a possible implementation manner, if the method for searching for multimedia resources in the embodiment of the present application is applied to a smart television, the first search library may be an on-demand content library to search for rich on-demand content for a user. Therefore, the title included in the search word can be compared with the title of each multimedia resource in the first search library to determine whether the first search library contains the multimedia resource with the same title as the title in the search word, and if so, the multimedia resource with the same title as the title included in the search word is determined as a first search result; if not, the first search result is empty.
And 104, acquiring a second search result from a second search library according to the title and the current search time.
The second search library can be a live content library; the second search result refers to a multimedia resource which is obtained from the second search library, has the same title as the title contained in the search term, and is live or about to be live.
As a possible implementation manner, the live content library may be docked by a third-party live Application program (APP). Specifically, the third-party live broadcast APP may be installed in an external device controlling the smart television or the smart television to obtain an Electronic Program Guide (EPG) resource of the third-party live broadcast APP, including a title, a play set/period number, a play time, and a corresponding television station of each multimedia resource included in the EPG, so that the obtained EPG of the third-party live broadcast APP may be used as the second search library, and the title included in the search term may be compared with the title of each interface included in the EPG to determine whether the multimedia resource whose title is the same as the title included in the search term exists in the EPG.
Specifically, if there is no multimedia resource with the same title as the title included in the search term in the EPG, the second search result is null; if the multimedia resource with the same title as the title contained in the search word exists in the EPG, further determining whether the multimedia resource is live broadcast at the current search time according to the current search time and the playing time of the multimedia resource, and if so, determining the multimedia resource as a second search result; and if the multimedia resource is determined not to be live in the current search time, discarding the multimedia resource.
For example, if the title included in the search word is "news broadcasting", the current search time is 18, the title in the epg is "news broadcasting", the play time is 19-19, and the corresponding tv station is a multimedia resource of a chinese Central tv station set (CCTV 1 for short), the multimedia resource needs to be discarded; if the current search time is 19.
Further, in order to avoid that the user misses the multimedia resource which is about to be live broadcasted and is desired to watch, the multimedia resource which is about to be live broadcasted can be determined as the second search result. That is, in a possible implementation form of the embodiment of the present application, the step 104 may include:
acquiring the playing time of the multimedia resource corresponding to the title;
generating a time range according to the playing time;
judging whether the current searching time belongs to the time range or not;
if the multimedia resource belongs to the time range, acquiring the multimedia resource corresponding to the title in the second search library;
and if the multimedia resource does not belong to the time range, the multimedia resource corresponding to the title is not acquired in the second search library.
As a possible implementation manner, a time threshold may be preset, the starting playing time and the ending playing time of the multimedia resource are determined according to the playing time corresponding to the title included in the search term, and then the lower limit value of the time range is generated according to the difference between the starting playing time and the time threshold of the multimedia resource, that is, the difference between the starting playing time and the time threshold of the multimedia resource is determined as the lower limit value of the time range; and generating an upper limit value of the time range according to the playing ending time of the multimedia resource, namely determining the playing ending time of the multimedia resource as the upper limit value of the time range. Then, according to the current search time and the generated time range, whether the current search time belongs to the generated time range is determined, if yes, the fact that the multimedia resource corresponding to the title contained in the search word is about to be live broadcast or live broadcast can be determined, and therefore the multimedia resource can be determined as a second search result, namely the multimedia resource is obtained in a second search library; if not, it may be determined that the multimedia resource is not live in the current search time, and is not live in a period of time after the current search time, so that the multimedia resource may be discarded, i.e., the multimedia resource is not obtained in the second search repository.
For example, if the title of a piece included in the search word is "news linkage broadcast", the current search time is 18, and the preset time threshold is 10 minutes, and a multimedia resource with the piece name of "news linkage broadcast", and the play time is 19.
It should be noted that the above examples are only illustrative and should not be construed as limiting the present application. In actual use, the time threshold value may be preset according to actual needs, and the rule of the time range may be determined, which is not limited in the embodiment of the present application.
And 105, combining the first search result and the second search result, and displaying the combined search result to the user.
In this embodiment of the application, after the first search result and the second search result are respectively obtained from the first search library and the second search library, the obtained first search result and the obtained second search result may be merged, and the merged search result may be displayed to a user. Specifically, the presentation manner of the search results after the merging may be determined according to the content included in the search results after the merging. The following description will be made by taking the first search library as an on-demand content library and the second search library as a live content library.
Situation one
The combined search results only comprise the first search result, namely only comprise on-demand resources, and the first search result comprises a plurality of on-demand resources, so that the plurality of on-demand resources can be displayed in a list form for a user to select; if the first search result only contains one on-demand resource, the detailed page of the on-demand resource, such as a poster, collection information, movie information, a plot summary and the like, can be directly displayed.
Situation two
The combined search results only contain a second search result, namely only live broadcast resources, and the second search result only contains one live broadcast resource, so that a television station corresponding to the live broadcast resource can be accessed through a third-party live broadcast APP, and the live broadcast resource can be directly played; if the second search result contains multiple live broadcast resources, one live broadcast resource can be selected by default through a third-party live broadcast APP, the television station corresponding to the live broadcast resource is automatically entered for playing, and other live broadcast resources and corresponding television station information are displayed in a floating layer mode, so that a user can freely select live broadcasts of other television stations to only watch the live broadcasts, as shown in fig. 2-1, the combined search result is a display interface schematic diagram only containing multiple live broadcast resources.
If the user does not want to watch the default selected television station, other television stations displayed in the floating layer can be selected to watch other live broadcast resources by controlling keys in external equipment of the smart television or by voice; if the operation instruction of the user to other television stations in the floating layer is not received within the preset time length, the floating layer can be automatically hidden; or, the floating layer can be hidden according to the return operation input by the user through the external equipment for controlling the smart television.
Optionally, when selecting the default live broadcast resource, if only one live broadcast resource is live broadcast, the live broadcast resource that is live broadcast may be selected as the default resource; if one live broadcast resource is being played, the live broadcast resource with the smallest difference between the starting playing time and the current searching time can be selected as the default resource.
It should be noted that the manner of selecting the default played live broadcast resource may include, but is not limited to, the situations listed above, and during actual use, a suitable manner of selecting the default played live broadcast resource may be determined according to actual needs, which is not limited in this embodiment of the present application.
Situation three
The merged search results comprise the first search result and the second search result, namely the on-demand resources and the live resources. If the combined search result only contains one on-demand resource, the detail page of the on-demand resource and a button in live broadcast can be directly displayed, so that a user can select to watch the on-demand resource or the live broadcast resource according to needs, if the user wants to watch the live broadcast resource, the smart television can be controlled to play the live broadcast resource through a voice mode or through a key of external equipment for controlling the smart television, if a plurality of live broadcast resources exist, after the user selects to play the live broadcast resource, the display mode of the live broadcast resources is the same as the second case, namely one live broadcast resource is selected by default to be played, other live broadcast resources are displayed in a floating layer mode, and the details are not repeated. As shown in fig. 2-2, the combined search result includes a display interface diagram of both an on-demand resource and a live resource.
And if the combined search result contains a plurality of on-demand resources, displaying the plurality of on-demand resources in a list form, and displaying the live broadcast resources at the head in a small window player form, wherein the content played in the small window player is the live broadcast resource corresponding to the television station selected by default. The user can select an on-demand resource through a voice mode or through a key of external equipment for controlling the smart television, enter a detail page of the on-demand resource and play the on-demand resource, and also can play the live resource through selecting a small window player in a full screen mode. As shown in fig. 2-3, a schematic view of a display interface is shown in which the search results after merging include both a plurality of on-demand resources and live resources.
The manner of displaying the search result after the combination may include, but is not limited to, the above-listed cases. In actual use, the display mode of the search result can be preset according to actual needs, and the embodiment of the application does not limit the display mode.
The method for searching the multimedia resource, provided by the embodiment of the application, can acquire the search word and the current search time of the user, and judge whether the search word contains a title, when the search word contains the title, a first search result is acquired from a first search library according to the title, a second search result is acquired from a second search library according to the title and the current search time, and then the first search result and the second search result are combined, and the combined search result is displayed to the user. Therefore, when the search words of the user are obtained, the search results are obtained from the plurality of search libraries and combined according to the titles and the current search time in the search words of the user, so that the richness of movie and television resources is improved by fusing the search results of the plurality of search libraries, the user does not need to switch the search libraries by himself, the user operation is simplified, and the user experience is improved.
In a possible implementation form of the present application, in the EPG of the third-party live broadcast APP, only the title, play set/period, play time, and accurate information for the tv table lamp of the multimedia resource are included, so that the corresponding live broadcast resource can be obtained only by the accurate title, and sometimes the user may not have an explicit search target, so that the corresponding live broadcast resource cannot be obtained. Therefore, when the search is not accurate, the loss of the live broadcast resources can be made up by acquiring the carousel resources, and the universal requirement retrieval of the user can be met.
The method for searching multimedia resources provided in the embodiment of the present application is further described below with reference to fig. 3.
Fig. 3 is a flowchart illustrating another method for searching a multimedia resource according to an embodiment of the present disclosure.
As shown in fig. 3, the method for searching multimedia resources includes the following steps:
step 201, obtaining the search terms of the user and the current search time.
Step 202, judging whether the search word contains a title, if so, executing step 203; otherwise, step 206 is performed.
Step 203, obtaining a first search result from the first search library according to the title.
And step 204, acquiring a second search result from a second search library according to the title and the current search time.
The detailed implementation process and principle of the steps 201-204 may refer to the detailed description of the above embodiments, and are not described herein again.
Step 205, merging the first search result and the second search result, and displaying the merged search result to the user.
In the embodiment of the application, when the first search result and the second search result are combined, in order to reduce the selection cost of the user, a duplicate removal operation may be performed on multimedia resources in the first search result and the second search result first to filter out duplicate resources, and then the duplicate removed multimedia resources are combined and displayed to the user.
Optionally, when the first search result and the second search result contain the same multimedia resource, the multimedia resource in the first search result may be reserved. That is, in a possible implementation form of the embodiment of the present application, step 205 may include:
and if the same multimedia resource is included in the first search result and the second search result, reserving the multimedia resource in the first search result.
As a possible implementation manner, if the first search library is an on-demand content library and the second search library is a live content library, when the first search result and the second search result include the same multimedia resource, the multimedia resource in the first search result may be reserved, and the same multimedia resource in the second search result may be discarded, so that when the on-demand resource and the live resource are repeated, the user may preferentially obtain the on-demand resource, so that the user may select a schedule and the like according to the own needs and preferences when watching, and thereby the personalized needs of the user are met.
Optionally, different deduplication strategies may be adopted for different multimedia resources. For example, the condition for performing duplicate removal and screening on the multimedia resource may be preset, so as to perform duplicate removal on the first search result and the second search result according to the screening condition. That is, in a possible implementation form of the embodiment of the present application, step 205 may further include:
obtaining a screening condition of the multimedia resource corresponding to the title according to the title;
and screening the first search result and/or the second search result according to the screening condition.
As a possible implementation manner, for some special multimedia resources, for example, multimedia resources with a higher repetition rate, a filtering condition may be preset, so that when the multimedia resources are repeated, the multimedia resources may be deduplicated according to the preset filtering condition, so as to improve efficiency and reliability of deduplication.
Specifically, when it is determined that the first search result or the second search result respectively includes the same multimedia resource, or the same multimedia resource exists between the first search result and the second search result, the filtering condition of the multimedia resource corresponding to the title may be determined according to the title of the multimedia resource, and then the first search result and/or the second search result may be filtered according to the obtained filtering condition, so as to remove the duplicated multimedia resource.
For example, the first search result includes a multimedia resource with a title of "news simulcast" first broadcasted by the television station CCTV1 in 1 month and 1 day in 2019, and a multimedia resource with a title of "news simulcast" broadcasted by each province television station in 1 month and 1 day in 2019, and the screening condition is obtained as "only reserving the first broadcasted resource of CCTV 1" according to the title of "news simulcast", so that the multimedia resource with a title of "news simulcast" first broadcasted by CCTV1 in 1 month and 1 day in 2019 in the first search result can be removed, and the multimedia resource with a title of "news simulcast" broadcasted by each province television station in 1 month and 1 day in 2019 is removed.
It should be noted that the above examples are only illustrative and should not be construed as limiting the present application. In actual use, the screening conditions for the multimedia resources can be preset according to actual needs, which is not limited in the embodiment of the present application.
Step 206, obtaining a third search result from the first search library according to the search term.
In the embodiment of the application, if the acquired search term does not contain the title, non-precise search can be directly performed according to the acquired search term, so that the universal requirement search of the user is met.
Optionally, the resource information included in the search term may be determined first, where the resource information includes at least one of the following information: and the name of the person, the type of the film and television and the like, and further acquiring the multimedia resource which is consistent with the resource information from the first search library as a third search result according to the resource information contained in the search terms.
Specifically, the tag information of each multimedia resource in the first search library may be first obtained, and the tag information of each multimedia resource in the first search library is compared with the resource information included in the search term to determine a multimedia resource corresponding to the resource information, that is, a multimedia resource corresponding to the name of a person, the type of a movie, and the like included in the search term, as a third search result.
It should be noted that the name of the person included in the resource information may be a name of a director, a name of a starring actor, and the like of the multimedia resource, and the type of the movie may be thriller, comedy, suspense, and the like, or may also be a television, a movie, a variety program, and the like, which is not limited in this embodiment of the present application.
For example, if the obtained search term is "play a movie", that is, the resource information included in the search term is a movie type, and the movie type is "movie", the latest movie or the movie with a higher score including a movie in the tag may be obtained from the first search library as the third search result; if the obtained search term is a "movie on a planet's tour", that is, the resource information included in the search term is a name of a person, and the name of the person is a planet, a movie on which the director is a planet's tour or a movie on which the actor is a planet's tour can be obtained according to the tag information of each multimedia resource in the first search library. Similarly, the search terms of general demand may also include "play a television show", "i want to see a science-fiction big", "thriller-thriller", "bean-score high", "TVB drama", "gold-inferior movie", and the like.
And step 207, acquiring a fourth search result from the third search library according to the search term and the current search time.
The third search library may be a carousel resource library. It should be noted that the carousel is that the same set of programs are played in a cycle by using a plurality of channels at a certain time interval (for example, 10 minutes), and the user achieves the forward and backward video on demand effect by channel selection. The service is also an improved form of the traditional live broadcast service, is a play mode between on-demand and live broadcast, is particularly suitable for hot new-film play and hot event report, and aims to effectively distribute the service and expand the service capability in a short time.
As a possible implementation manner, since the EPG of the third-party live broadcast APP is used for searching for live broadcast resources, an accurate title generally needs to be obtained, and therefore, when a search term does not contain a title, the third-party live broadcast APP with a carousel resource library can be obtained, and through the search term and the current search time, the carousel resources which are live broadcast in the carousel resource library are obtained to replace live broadcast resources, so that user experience is further improved.
Optionally, the multimedia resource corresponding to the resource information may be obtained from the third search library according to the resource information included in the search term, and used as the candidate multimedia resource, and the fourth search result may be obtained from the candidate multimedia resource according to the current search time and the play time of the candidate multimedia resource.
Specifically, the resource information included in the search term and the tag information of each multimedia resource in the carousel resource library (i.e., the third resource library) may be determined, and the multimedia resource whose tag information matches the resource information (name, type of movie and television, etc.) included in the search term is determined, and if there is no multimedia resource whose tag information matches the resource information included in the search term in the carousel resource library, the fourth search result is empty; and if the multimedia resource with the label consistent with the resource information contained in the search word exists in the carousel resource library, determining the multimedia resource as a candidate multimedia resource. Then, further according to the current search time and the playing time of the candidate multimedia resources, determining whether the candidate multimedia resources are in carousel at the current search time, if so, determining the candidate multimedia resources as a fourth search result; and if the candidate multimedia resource is determined not to be in carousel in the current search time, discarding the candidate multimedia resource.
It should be noted that, the manner of determining whether the candidate multimedia resource is being broadcast in turn at the current search time is the same as the manner of determining whether the candidate multimedia resource is being broadcast in turn at the current search time in the foregoing embodiment, and reference may be made to the detailed description of the foregoing embodiment, which is not repeated herein.
And step 208, merging the third search result and the fourth search result, and displaying the merged search result to the user.
In this embodiment of the application, after the third search result and the fourth search result are respectively obtained from the first search library and the third search library, the obtained first search result and the obtained second search result may be merged, and the merged search result may be displayed to the user. Specifically, the presentation manner of the search results after the merging may be determined according to the content included in the search results after the merging. The following description will specifically use the first search library as the on-demand content library and the third search library as the carousel content library.
As a possible implementation manner, if the search results after combination only include the third search result, that is, only include the on-demand resource, the manner of displaying the search results after combination is the same as the manner of displaying in case one of the foregoing embodiments; if the search results after merging only include the fourth search result, that is, only include the live resources, the manner of displaying the search results after merging is the same as that of the case two in the foregoing embodiment, as shown in fig. 2-1, and details are not repeated here.
The following describes a case where the combined search results include both on-demand resources and carousel resources. If the combined search results contain both on-demand resources and carousel resources, the on-demand resources can be displayed in a list form, and the carousel resources are displayed at the head in a live broadcast small window form of a third-party live broadcast APP9 (such as a television family APP), wherein the content played in the live broadcast small window is the carousel resource corresponding to the television station selected by default. The user can select one on-demand resource through a voice mode or through a key of external equipment for controlling the smart television, enter a detail page of the on-demand resource and play the resource, or select a live broadcast small window to play the carousel resource in a full screen mode, wherein if a plurality of carousel resources exist, after the user selects the full screen to play the carousel resource, the display mode of the plurality of carousel resources is the same as the second case of the previous embodiment, namely, one carousel resource is selected by default to play, and other carousel resources are displayed in a floating layer mode, which is not described herein again. As shown in fig. 4, a schematic view of a display interface is shown in which the merged search result includes both on-demand resources and carousel resources.
The manner of displaying the search results after merging may include, but is not limited to, the above-listed cases. In actual use, the display mode of the search result can be preset according to actual needs, and the embodiment of the application does not limit the display mode.
The method for searching for multimedia resources, provided by the embodiment of the application, can obtain a search word and current search time of a user, and when the search word includes a title, obtain a first search result from a first search library according to the title, and obtain a second search result from a second search library according to the title and the current search time, further combine the first search result and the second search result, and present the combined search result to the user, and when the search word does not include the title, obtain a third search result from the first search library according to the search word, and obtain a fourth search result from the third search library according to the search word and the current search time, further combine the third search result and the fourth search result, and present the combined search result to the user. Therefore, when the search words of the user are obtained, the search results are obtained from the plurality of search libraries and combined according to the search words of the user and the current search time, so that the search results of the plurality of search libraries are fused, the user does not need to switch the search libraries by himself or herself, the user operation is simplified, two modes of accurate search and non-accurate search are provided, the richness of movie and television resources is further improved, the universal demand search of the user is met, and the user experience is further improved.
In order to implement the above embodiments, the present application further provides a multimedia resource searching apparatus.
Fig. 5 is a schematic structural diagram of a multimedia resource searching apparatus according to an embodiment of the present disclosure.
As shown in fig. 5, the apparatus 30 for searching multimedia resources includes:
a first obtaining module 31, configured to obtain a search term of a user and current search time;
a judging module 32, configured to judge whether the search term includes a title;
a second obtaining module 33, configured to, if the search term includes a title, obtain a first search result from a first search library according to the title;
a third obtaining module 34, configured to obtain a second search result from a second search library according to the title and the current search time; and
the first merging module 35 is configured to merge the first search result and the second search result, and display the merged search result to the user.
In practical use, the apparatus for searching for multimedia resources provided in the embodiments of the present application may be configured in any electronic device to execute the method for searching for multimedia resources.
The search device for multimedia resources, provided by the embodiment of the application, can acquire the search terms of a user and the current search time, and judge whether the search terms contain a title, when the search terms contain the title, a first search result is acquired from a first search library according to the title, a second search result is acquired from a second search library according to the title and the current search time, and then the first search result and the second search result are combined, and the combined search result is displayed for the user. Therefore, when the search words of the user are obtained, the search results are obtained from the plurality of search libraries and combined according to the titles and the current search time in the search words of the user, so that the richness of movie and television resources is improved by fusing the search results of the plurality of search libraries, the user does not need to switch the search libraries by himself, the user operation is simplified, and the user experience is improved.
In a possible implementation form of the present application, the first search repository is an on-demand content repository, and the second search repository is a live content repository.
Further, in another possible implementation form of the present application, the apparatus 30 for searching for multimedia resources further includes:
a fourth obtaining module, configured to, if the search term does not include the title, obtain a third search result from the first search library according to the search term;
a fifth obtaining module, configured to obtain a fourth search result from a third search library according to the search term and the current search time;
and the second merging module is used for merging the third search result and the fourth search result and displaying the merged search result to the user.
Further, in another possible implementation form of the present application, the third search library is a carousel content library.
Further, in another possible implementation form of the present application, the apparatus 30 for searching for a multimedia resource further includes:
a determining module, configured to determine resource information included in the search term, where the resource information includes at least one of the following information: name of person, type of movie;
correspondingly, the fourth obtaining module is specifically configured to:
according to the resource information contained in the search terms, multimedia resources corresponding to the resource information are obtained from the first search library and serve as third search results;
correspondingly, the fifth obtaining module is specifically configured to:
according to the resource information contained in the search terms, multimedia resources corresponding to the resource information are obtained from the third search library and serve as candidate multimedia resources;
and acquiring a fourth search result from the candidate multimedia resource according to the current search time and the playing time of the candidate multimedia resource.
In a possible implementation form of the present application, the third obtaining module 34 is specifically configured to:
acquiring the playing time of the multimedia resource corresponding to the title;
generating a time range according to the playing time;
judging whether the current searching time belongs to the time range or not;
if the multimedia resource belongs to the time range, acquiring the multimedia resource corresponding to the title in the second search library;
and if the multimedia resource does not belong to the time range, the multimedia resource corresponding to the title is not acquired in the second search library.
In a possible implementation form of the present application, the first merging module 35 is specifically configured to:
and if the same multimedia resource is included in the first search result and the second search result, reserving the multimedia resource in the first search result.
Further, in another possible implementation form of the present application, the first merging module 35 is further configured to:
obtaining a screening condition of the multimedia resource corresponding to the title according to the title;
and screening the first search result and/or the second search result according to the screening condition.
It should be noted that the foregoing explanation on the embodiment of the multimedia resource searching method shown in fig. 1 and fig. 3 is also applicable to the multimedia resource searching apparatus 30 of this embodiment, and is not repeated here.
The apparatus for searching multimedia resources according to the embodiment of the present application may obtain a search term and a current search time of a user, and when the search term includes a title, obtain a first search result from a first search library according to the title, and obtain a second search result from a second search library according to the title and the current search time, further combine the first search result and the second search result, and present the combined search result to the user, and when the search term does not include the title, obtain a third search result from the first search library according to the search term, and obtain a fourth search result from the third search library according to the search term and the current search time, further combine the third search result and the fourth search result, and present the combined search result to the user. Therefore, when the search words of the user are obtained, the search results are obtained from the plurality of search libraries and combined according to the search words of the user and the current search time, so that the search results of the plurality of search libraries are fused, the user does not need to switch the search libraries by himself or herself, the user operation is simplified, two modes of accurate search and non-accurate search are provided, the richness of movie and television resources is further improved, the universal demand search of the user is met, and the user experience is further improved.
In order to implement the above embodiments, the present application further provides an electronic device.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
As shown in fig. 6, the electronic device 200 includes:
a memory 210 and a processor 220, a bus 230 connecting different components (including the memory 210 and the processor 220), wherein the memory 210 stores a computer program, and when the processor 220 executes the program, the method for searching multimedia resources according to the embodiment of the present application is implemented.
Bus 230 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 200 typically includes a variety of electronic device readable media. Such media may be any available media that is accessible by electronic device 200 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 210 may also include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 240 and/or cache memory 250. The electronic device 200 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 260 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, commonly referred to as a "hard drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 230 by one or more data media interfaces. Memory 210 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the application.
A program/utility 280 having a set (at least one) of program modules 270 may be stored, for example, in the memory 210, such program modules 270 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination of which may comprise an implementation of a network environment. The program modules 270 generally perform the functions and/or methodologies of the embodiments described herein.
Electronic device 200 may also communicate with one or more external devices 290 (e.g., keyboard, pointing device, display 291, etc.), with one or more devices that enable a user to interact with electronic device 200, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 200 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 292. Also, the electronic device 200 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 293. As shown, the network adapter 293 communicates with the other modules of the electronic device 200 via a bus 230. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 220 executes various functional applications and data processing by executing programs stored in the memory 210.
It should be noted that, for the implementation process and the technical principle of the electronic device of this embodiment, reference is made to the foregoing explanation of the method for searching for multimedia resources in the embodiment of the present application, and details are not described here again.
The electronic device provided by the embodiment of the application can execute the method for searching multimedia resources as described above, acquire a search word and current search time of a user, and determine whether the search word includes a title, acquire a first search result from a first search library according to the title when the search word includes the title, acquire a second search result from a second search library according to the title and the current search time, further merge the first search result and the second search result, and present the merged search result to the user. Therefore, when the search words of the user are obtained, the search results are obtained from the plurality of search libraries and combined according to the titles and the current search time in the search words of the user, so that the richness of movie and television resources is improved by fusing the search results of the plurality of search libraries, the user does not need to switch the search libraries by himself, the user operation is simplified, and the user experience is improved.
In order to implement the above embodiments, the present application also proposes a computer-readable storage medium.
The computer readable storage medium stores thereon a computer program, and the computer program is executed by a processor to implement the method for searching a multimedia resource according to the embodiment of the present application.
In order to implement the foregoing embodiment, an embodiment of a further aspect of the present application provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program implements the method for searching a multimedia resource according to the embodiment of the present application.
In an alternative implementation, the present embodiments may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the consumer electronic device, partly on the consumer electronic device, as a stand-alone software package, partly on the consumer electronic device and partly on a remote electronic device, or entirely on the remote electronic device or server. In the case of remote electronic devices, the remote electronic devices may be connected to the consumer electronic device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external electronic device (e.g., through the internet using an internet service provider).
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (12)

1. A method for searching multimedia resources, comprising:
acquiring search terms and current search time of a user;
judging whether the search word contains a title or not;
if the search terms contain the title, acquiring a first search result from a first search library according to the title, wherein the first search library is an on-demand content library;
acquiring a second search result from a second search library according to the title and the current search time, wherein the second search library is a live broadcast content library; and
merging the first search result and the second search result, and presenting the merged search result to the user, wherein presenting the merged search result to the user includes: if the combined search result only comprises the second search result and the second search result only comprises one live broadcast resource, entering a television station corresponding to the live broadcast resource through a third-party live broadcast APP, and directly playing the live broadcast resource; if the second search result contains a plurality of live broadcast resources, selecting one live broadcast resource by default through the third-party live broadcast APP, automatically entering a television station corresponding to the live broadcast resource for playing, and displaying other live broadcast resources and corresponding television station information in a floating layer mode;
after judging whether the search term contains the title, the method further comprises the following steps:
if the search word does not contain the title, acquiring a third search result from the first search library according to the search word;
acquiring a fourth search result from a third search library according to the search terms and the current search time, wherein the third search library is a carousel content library;
merging the third search result and the fourth search result, and presenting the merged search result to the user, where presenting the merged search result to the user includes: if the combined search result contains both on-demand resources and carousel resources, displaying the on-demand resources in a list form, displaying the carousel resources at the head in a live small window form of a third-party live APP, and if the search result contains a plurality of carousel resources, selecting one carousel resource by default to play and displaying other carousel resources in a floating layer manner.
2. The method for searching for multimedia resources according to claim 1, wherein the obtaining a second search result from a second search repository according to the title and the current search time comprises:
acquiring the playing time of the multimedia resource corresponding to the title;
generating a time range according to the playing time;
judging whether the current searching time belongs to the time range or not;
if the multimedia resource belongs to the time range, acquiring the multimedia resource corresponding to the title in the second search library;
and if the multimedia resource does not belong to the time range, the multimedia resource corresponding to the title is not acquired in the second search library.
3. The method for searching for multimedia resources according to claim 1, wherein before obtaining the third search result from the first search repository according to the search term, the method further comprises:
determining resource information contained in the search term, wherein the resource information comprises at least one of the following information: name of person, type of movie;
the obtaining of the third search result from the first search library according to the search term includes:
according to the resource information contained in the search terms, multimedia resources corresponding to the resource information are obtained from the first search library and serve as a third search result;
the obtaining a fourth search result from a third search library according to the search term and the current search time includes:
according to the resource information contained in the search terms, multimedia resources corresponding to the resource information are obtained from the third search library and serve as candidate multimedia resources;
and acquiring a fourth search result from the candidate multimedia resource according to the current search time and the playing time of the candidate multimedia resource.
4. The method for searching a multimedia resource according to any one of claims 1-2, wherein said combining the first search result and the second search result comprises:
and if the same multimedia resource is included in the first search result and the second search result, reserving the multimedia resource in the first search result.
5. The method of searching for multimedia resources of claim 4, wherein said combining the first search result and the second search result further comprises:
obtaining a screening condition of the multimedia resource corresponding to the title according to the title;
and screening the first search result and/or the second search result according to the screening condition.
6. An apparatus for searching a multimedia resource, comprising:
the first acquisition module is used for acquiring search terms of a user and current search time;
the judging module is used for judging whether the search word contains a title;
the second acquisition module is used for acquiring a first search result from a first search library according to the title if the search word contains the title, wherein the first search library is an on-demand content library;
a third obtaining module, configured to obtain a second search result from a second search library according to the title and the current search time, where the second search library is a live content library; and
a first merging module, configured to merge the first search result and the second search result, and present the search result after merging to the user, where the presenting the search result after merging to the user includes: if the combined search result only contains the second search result and the second search result only contains one live broadcast resource, entering a television station corresponding to the live broadcast resource through a third-party live broadcast APP and directly playing the live broadcast resource; if the second search result contains a plurality of live broadcast resources, selecting one live broadcast resource by default through the third-party live broadcast APP, automatically entering a television station corresponding to the live broadcast resource for playing, and displaying other live broadcast resources and corresponding television station information in a floating layer mode;
a fourth obtaining module, configured to, if the search term does not include the title, obtain a third search result from the first search library according to the search term;
a fifth obtaining module, configured to obtain a fourth search result from a third search library according to the search term and the current search time, where the third search library is a carousel content library;
a second merging module, configured to merge the third search result and the fourth search result, and present the search result after merging to the user, where the presenting the search result after merging to the user includes: if the combined search result contains both on-demand resources and carousel resources, displaying the on-demand resources in a list form, displaying the carousel resources at the head in a live broadcast small window form of a third-party live broadcast APP, and if the search result contains a plurality of carousel resources, selecting one carousel resource by default to play and displaying other carousel resources in a floating layer manner.
7. The apparatus for searching for multimedia resources according to claim 6, wherein the third obtaining module is specifically configured to:
acquiring the playing time of the multimedia resource corresponding to the title;
generating a time range according to the playing time;
judging whether the current searching time belongs to the time range or not;
if the multimedia resource belongs to the time range, acquiring the multimedia resource corresponding to the title in the second search library;
and if the multimedia resource does not belong to the time range, the multimedia resource corresponding to the title is not acquired in the second search library.
8. The apparatus for searching for multimedia resources of claim 6, further comprising:
a determining module, configured to determine resource information included in the search term, where the resource information includes at least one of the following information: name of person, type of movie;
the fourth obtaining module is specifically configured to:
according to the resource information contained in the search terms, multimedia resources corresponding to the resource information are obtained from the first search library and serve as third search results;
the fifth obtaining module is specifically configured to:
according to the resource information contained in the search terms, multimedia resources corresponding to the resource information are obtained from the third search library and serve as candidate multimedia resources;
and acquiring a fourth search result from the candidate multimedia resource according to the current search time and the playing time of the candidate multimedia resource.
9. The apparatus for searching for multimedia resources according to any of claims 6 to 7, wherein the first combining module is specifically configured to:
and if the first search result and the second search result comprise the same multimedia resource, reserving the multimedia resource in the first search result.
10. The apparatus for searching for multimedia resources according to claim 9, wherein the first combining module is further configured to:
obtaining a screening condition of the multimedia resource corresponding to the title according to the title;
and screening the first search result and/or the second search result according to the screening condition.
11. An electronic device, comprising: memory, processor and program stored on the memory and executable on the processor, characterized in that the processor implements a method for searching a multimedia resource according to any of claims 1 to 5 when executing the program.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of searching for multimedia resources according to any one of claims 1 to 5.
CN201910677798.6A 2019-07-25 2019-07-25 Multimedia resource searching method and device, electronic equipment and storage medium Active CN112291585B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910677798.6A CN112291585B (en) 2019-07-25 2019-07-25 Multimedia resource searching method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910677798.6A CN112291585B (en) 2019-07-25 2019-07-25 Multimedia resource searching method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112291585A CN112291585A (en) 2021-01-29
CN112291585B true CN112291585B (en) 2023-01-31

Family

ID=74419436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910677798.6A Active CN112291585B (en) 2019-07-25 2019-07-25 Multimedia resource searching method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112291585B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115314737A (en) * 2021-05-06 2022-11-08 青岛聚看云科技有限公司 Content display method, display equipment and server
CN114885188A (en) * 2022-04-20 2022-08-09 百度在线网络技术(北京)有限公司 Video processing method, device, equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108668174A (en) * 2017-03-28 2018-10-16 张克 It is a kind of to realize video resource and the social method blended and video social activity emerging system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7974962B2 (en) * 2005-01-06 2011-07-05 Aptiv Digital, Inc. Search engine for a video recorder
CN100591118C (en) * 2006-03-22 2010-02-17 联想(北京)有限公司 Method for sharing data among different video channels
CN103092958A (en) * 2013-01-18 2013-05-08 深圳市龙视传媒有限公司 Display method and device for search result
CN103729407A (en) * 2013-12-09 2014-04-16 乐视网信息技术(北京)股份有限公司 Method and device for playing live broadcast streaming media
CN105704509A (en) * 2016-01-18 2016-06-22 腾讯科技(深圳)有限公司 Processing method and system in played program
CN105592320A (en) * 2016-02-17 2016-05-18 浪潮软件集团有限公司 Data searching method and device
CN106791988B (en) * 2016-11-23 2020-05-26 海信视像科技股份有限公司 Multimedia data carousel method and terminal
CN109936747A (en) * 2017-12-18 2019-06-25 国家新闻出版广电总局广播科学研究院 The method and apparatus of radio and television programme televised live search
CN108965913A (en) * 2018-08-08 2018-12-07 北京奇艺世纪科技有限公司 A kind of method for processing video frequency and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108668174A (en) * 2017-03-28 2018-10-16 张克 It is a kind of to realize video resource and the social method blended and video social activity emerging system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于聚类与协同过滤组合算法的数字电视推荐系统设计;蓝琪等;《有线电视技术》;20160815(第08期);全文 *

Also Published As

Publication number Publication date
CN112291585A (en) 2021-01-29

Similar Documents

Publication Publication Date Title
CN110149558B (en) Video playing real-time recommendation method and system based on content identification
KR101348598B1 (en) Digital television video program providing system and digital television and contolling method for the same
US8861898B2 (en) Content image search
US6973665B2 (en) System and method for determining the desirability of video programming events using keyword matching
US9743144B2 (en) System and method for content-based navigation of live and recorded TV and video programs
US20130097159A1 (en) System and method for providing information regarding content
US8214368B2 (en) Device, method, and computer-readable recording medium for notifying content scene appearance
US20110029499A1 (en) Content providing device, content providing method, and recording medium
US20130268261A1 (en) Semantic enrichment by exploiting top-k processing
JP2007174255A (en) Recording and reproducing device
US20090158343A1 (en) Recording device of broadcasting program
CN112291585B (en) Multimedia resource searching method and device, electronic equipment and storage medium
US20090100470A1 (en) Information processing device
CN104349173A (en) Video repeating method and device
US20130091522A1 (en) Method to display additional information on screen
CA2556641A1 (en) A system and method for content-based navigation of live and recorded tv and video programs
RU2316134C2 (en) Device and method for processing texts in digital broadcasting receiver
KR20160117933A (en) Display apparatus for performing a search and Method for controlling display apparatus thereof
JP2009094906A (en) Program information management server, program information acquisition device and program information acquisition system
EP3896985A1 (en) Reception device and control method
RU2301503C2 (en) Method for setting up a personal channel in multi-channel digital television
US8732759B2 (en) Method of browsing recorded news program and browsing apparatus for performing the method
CN100518260C (en) Method for providing recorded program content information
JP2014075052A (en) Video recording and reproducing device and program retrieval method
Zimmerman et al. Interface design for MyInfo: A personal news demonstrator combining Web and TV content

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210430

Address after: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant after: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

Applicant after: Shanghai Xiaodu Technology Co.,Ltd.

Address before: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant before: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

GR01 Patent grant
GR01 Patent grant