WO2019174237A1 - 搜索视频的方法、装置及设备 - Google Patents

搜索视频的方法、装置及设备 Download PDF

Info

Publication number
WO2019174237A1
WO2019174237A1 PCT/CN2018/111322 CN2018111322W WO2019174237A1 WO 2019174237 A1 WO2019174237 A1 WO 2019174237A1 CN 2018111322 W CN2018111322 W CN 2018111322W WO 2019174237 A1 WO2019174237 A1 WO 2019174237A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
information
related information
index library
preset index
Prior art date
Application number
PCT/CN2018/111322
Other languages
English (en)
French (fr)
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 WO2019174237A1 publication Critical patent/WO2019174237A1/zh

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/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
    • 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/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles
    • 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
    • G06F16/73Querying
    • G06F16/735Filtering based on additional data, e.g. user or group profiles
    • 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
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/783Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • G06F16/7844Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using original textual content or text extracted from visual content or transcript of audio data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • 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/47217End-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 controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • 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/482End-user interface for program selection
    • H04N21/4828End-user interface for program selection for searching program descriptors

Definitions

  • the present application relates to the field of search technologies, and in particular, to a method, device, and device for searching for video.
  • Searching based on the title or profile in the web page may result in search results that may not meet the actual needs of the user.
  • the title of the video in the searched web page does not match the actual content of the video.
  • the keywords used in the search are not in the title or description of the video, resulting in no relevant videos being searched.
  • the embodiments of the present application provide a method, apparatus, and device for searching for a video to solve or alleviate one or more of the technical problems in the prior art, and at least provide a beneficial choice.
  • an embodiment of the present application provides a method for searching for a video, including:
  • the preset index library includes video related information extracted from a plurality of videos and a The playback position of the extracted video related information in the corresponding video;
  • the play position information includes a play position of the video related information in the target video.
  • the video related information includes video title information, and
  • Matching the search condition with video related information in the preset index library including:
  • Video title information in the preset index library includes text information of a video title identified from video frames of multiple videos .
  • the embodiment of the present application is in the second embodiment of the first aspect
  • the video related information includes video subtitle information, and
  • Matching the search condition with video related information in the preset index library including:
  • the video subtitle information in the preset index library includes text information converted from a subtitle file of a plurality of videos or text information of subtitles recognized from video frames of the plurality of videos.
  • the embodiment of the present application is in the third embodiment of the first aspect
  • the video related information includes video voice information, and
  • Matching the search condition with video related information in the preset index library including:
  • the video voice information in the preset index library includes text information that is identified from voices included in the plurality of videos.
  • an embodiment of the present application provides a method for searching for a video, including:
  • the play position information includes a play position of the video related information of the target video in the target video, wherein the video related information is in a preset index library according to a search condition.
  • the method further includes:
  • a play position of the video related information in the target video is displayed in the form of a progress bar.
  • the method further includes:
  • a play position of the video related information in the target video is displayed through a floating layer.
  • an embodiment of the present application provides an apparatus for searching for a video, including:
  • a matching module configured to acquire a search condition and a preset index library, and match the search condition with video related information in the preset index library, where the preset index library includes extracted from multiple videos. Video related information and a playback position of the extracted video related information in the corresponding video;
  • An acquiring module configured to determine, in response to the video related information that matches the search condition in the preset index library, determine a target video corresponding to the video related information, and acquire the video related information at the target The playback position in the video;
  • a sending module configured to send play location information, where the play location information includes a play position of the video related information in the target video.
  • the matching module includes:
  • a first matching submodule configured to match the search condition with video title information in the preset index library, where the video title information in the preset index library is included in a video frame of multiple videos Identify the textual information of the resulting video title.
  • the matching module includes:
  • a second matching submodule configured to match the search condition with video subtitle information in the preset index library
  • the video subtitle information in the preset index library includes text information converted from a subtitle file of a plurality of videos or text information of subtitles obtained from video frames of the plurality of videos.
  • the matching module includes:
  • a third matching submodule configured to match the search condition with video related information in the preset index library
  • the video voice information in the preset index library includes text information that is identified from voices included in the plurality of videos.
  • an apparatus for searching for a video including:
  • a receiving module configured to receive play position information of the target video, where the play position information includes a play position of the video related information of the target video in the target video, where the video related information is according to a search condition Retrieved from the default index library;
  • a setting module configured to use, according to the play location information, a play position of the video related information of the target video in the target video as a current play position of the target video.
  • the apparatus further includes:
  • the first display module is configured to display, in a play interface of the target video, a play position of the video related information in the target video in the form of a progress bar.
  • the apparatus further includes:
  • an embodiment of the present application provides an apparatus.
  • the device includes:
  • One or more processors are One or more processors;
  • a storage device for storing one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method as described above.
  • an embodiment of the present application provides a computer readable storage medium, configured to store computer software instructions for a device for searching for video, where the method for performing the foregoing first aspect and the second self-search video is The program involved in the device for searching for video.
  • the technical solution of the present application matches the search condition with the video related information in the preset index database, and when the two match, the video related information of the target video is obtained at the target. a play position in the video, and transmitting play position information, where the play position information includes a play position of the video related information in the target video. This allows for a more accurate search of the video and allows for precise positioning of the playback position of the searched video.
  • FIG. 1 is a flowchart of a method for searching for a video according to Embodiment 1 of the present application;
  • FIG. 2 is a flowchart of a method for searching for a video according to Embodiment 3 of the present application;
  • FIG. 3 is a schematic diagram of an apparatus for searching for video according to Embodiment 4 of the present application.
  • FIG. 4 is a schematic diagram of an apparatus for searching for video according to Embodiment 5 of the present application.
  • FIG. 5 is a schematic diagram of an apparatus for searching for video according to Embodiment 6 of the present application.
  • FIG. 6 is a schematic diagram of a device according to Embodiment 7 of the present application.
  • FIG. 7 is a schematic diagram of a play interface of a method for searching for video according to Embodiment 3 of the present application.
  • the present application provides a method of accurately searching for a search video of a target video directly from keywords.
  • FIG. 1 is a flowchart of a method for searching for a video according to an embodiment of the present application.
  • the method for searching for video in the embodiment of the present application includes:
  • S101 Acquire a search condition and a preset index library, and match the search condition with video related information in the preset index database, where the preset index library includes video related information extracted from multiple videos. And the playback position of the extracted video related information in the corresponding video.
  • the method of searching for video of this embodiment can be performed in a server.
  • the server may extract the search condition in the search request, and match the search condition with the video related information in the preset index library.
  • the search condition may include a keyword for searching or input that the user inputs or selects in the search box.
  • the video related information may include information such as video title information, video subtitle information, and video voice information that can describe the content presented by the video.
  • the video related information may also include objects described in the video. For example, if an image of a star is presented in a video frame, the name of the star can be used as information about the video. For another example, if an image of a certain scenic spot is presented in another video frame, the name of the scenic spot may be used as video content related information.
  • the embodiment of the present application searches for a video based on video related information, which can improve the accuracy of the search.
  • S102 Determine, in the preset index library, video related information that matches the search condition, determine a target video corresponding to the video related information, and acquire the video related information in the target video. Play position.
  • the play position in the embodiment of the present application may be a time position when the video related information of the target video first appears from the beginning of the target video.
  • the beginning of the video may be, for example, the first frame of the video, or skipping the advertisement, the first frame after the slice or the slice header, and the like.
  • the embodiment of the present application may determine, according to the video related information included in the preset index library and the play position of the video related information in the corresponding video, the play position of the video related information in the target video. Then, the play position information including the play position is sent to the play end, so that the play end can start playing the video from the play position when receiving the play instruction.
  • index library for a video is as follows:
  • Video number or address Video content related information play time 1 ZZZ 1:00 2 YYY 1:01 3 XXX 1:02
  • ZZZ is the video title information, which appears at the 1:00 hour position from the start of playback
  • YYY is the video subtitle information, which appears at the 1:01 hour position from the start of the play time
  • XXX is the video voice information of the video, which appears at the 1:02 hour position from the start of the play time.
  • the user wants to search for a news video.
  • the title of the news video is “** School enrollment this year”.
  • the video related information in the index library is “** School enrollment this year”.
  • Users can enter the keyword "**school enrollment this year” in the search box of the search engine.
  • the keyword may be matched with the video related information in the index library. If they match, the playback location in the index library titled "** School Enrollment This Year” is displayed in its corresponding news video. If the total length of the video is 3 minutes, the title appears at the 5th second position from the beginning of the video. Then, the server can send a play command including "play 5 seconds" to the player for the video, so that the player can start playing from the 5th second of the video.
  • the search condition is matched with the video related information in the index library to send the play position of the video related information of the target video in the corresponding target video to the playing end, so that the search position can be more accurately searched. Go to the video and accurately position the playback position of the searched video.
  • the embodiment of the present application provides a method for searching for video. Continue to combine Figure 1.
  • the video related information may include, but is not limited to, video title information, video subtitle information, and video voice information.
  • Matching the search condition with the video related information in the index library may match the search condition with the video title information, the video subtitle information, and the video voice information in the index library. Therefore, step S101 can include the following cases:
  • the video related information is video title information.
  • step S101 the search condition is matched with the video title information in the preset index library, wherein the video title information in the preset index library includes the video frame information identified from the plurality of videos.
  • the textual information of the video title is matched with the video title information in the preset index library.
  • the video related information is video subtitle information.
  • step S101 the search condition is matched with the video subtitle information in the preset index library
  • the video subtitle information in the preset index library includes text information converted from a subtitle file of a plurality of videos or text information of subtitles recognized from video frames of the plurality of videos.
  • the video related information is video voice information.
  • step S101 the search condition is matched with video voice information in the preset index library
  • the video voice information in the preset index library includes text information that is identified from voices included in the plurality of videos.
  • the video related information of the corresponding target video may be extracted from the video frame and saved in a preset index library for subsequent search.
  • a certain frame image of a video is a star photo, and after being identified, the star name is obtained, and the correspondence between the star name and the frame image (or time) can be saved in a preset index library.
  • a certain frame image of the video is a photo of an attraction, and the name of the scenic spot (or location, etc.) is recognized, and the name of the scenic spot (or location, etc.) and the frame image may be saved in a preset index library ( Or the correspondence of time).
  • the search condition is "Scenic A”
  • the play time of "Scenic A" in its corresponding video can be obtained.
  • multiple eligible videos may appear during the search.
  • the multiple videos can be sorted according to preset criteria. For example, it is possible to sort multiple videos according to the click rate and then send the top ranked video to the player.
  • the technical solution of the present application searches for video related content such as video title information, video subtitle information, and video voice information of the video, so that the keyword and the video related content are accurately matched, thereby improving the accuracy of the search.
  • FIG. 2 is a flowchart of a method for searching for a video according to an embodiment of the present application.
  • the method for searching for video in the embodiment of the present application includes:
  • S201 Receive play position information of a target video, where the play position information includes a play position of the video related information of the target video in the target video, and wherein the video related information is preset according to a search condition. Retrieved from the index library.
  • the method for searching for video in this embodiment can be performed on a playback terminal, for example, a mobile device, a PAD, a computer, or the like, in which a video player is installed.
  • the terminal device sends a request for a search video to the server, wherein the request may include a search condition.
  • the player can then receive the target video from the server.
  • the server can retrieve in the index library based on the search criteria. If the information matching the video related information is retrieved, the server can further determine the play position of the video related information in the target video.
  • the server may then send a play instruction to the play end for the target video, where the play command includes a play position where the video content information is located in the target video.
  • the playing position of the target video may be set to the received playing time, so as to achieve accurate positioning in the target video according to the search condition.
  • the search condition corresponding to the video related information in the target video includes “XXX”, and the play time of the video related information in the target video is 1 hour and 2 minutes, and the play position of the target video may be set to be at the play end. 1 hour and 2 minutes.
  • S203 Display, in a play interface of the target video, a play position of the video related information in the target video in the form of a progress bar.
  • the method may further include:
  • the playing progress bar and the floating layer may also be displayed at the same time.
  • the positioned playback position can be displayed, and the floating layer can include similar prompts such as “precisely positioned to X hours X minutes X seconds”.
  • the floating layer includes "precisely positioned to 01:47".
  • the current play position of the target video is set according to the play time, and the play progress bar is displayed at the same time, so that the play position of the searched video can be performed. Precise positioning while giving users a better experience.
  • FIG. 3 is a schematic diagram of an apparatus for searching for video according to an embodiment of the present application.
  • the device for searching for video in the embodiment of the present application includes:
  • the matching module 31 is configured to acquire a search condition and a preset index library, and match the search condition with video related information in the preset index library, where the preset index library includes extracting from multiple videos. Video related information and the playback position of the extracted video related information in the corresponding video;
  • the obtaining module 32 is configured to: in response to the video related information that matches the search condition in the preset index library, determine a target video corresponding to the video related information, and obtain the video related information in the The playback position in the target video;
  • the sending module 33 is configured to send play location information, where the play location information includes a play position of the video related information in the target video.
  • the technical solution of the present application can search for a video more accurately, and can accurately locate the playing time of the searched video.
  • the beneficial effects are the same as those in the first embodiment, and details are not described herein again.
  • FIG. 4 it is a schematic diagram of an apparatus for searching for video according to an embodiment of the present application.
  • the device for searching for video in the embodiment of the present application includes:
  • the matching module 31 includes:
  • the first matching sub-module 311 is configured to match the search condition with video title information in the preset index library, where the video title information in the preset index library includes video frames from multiple videos. The text information of the obtained video title.
  • the matching module includes:
  • the second matching sub-module 312 is configured to match the search condition with video subtitle information in the preset index library
  • the video subtitle information in the preset index library includes text information converted from a subtitle file of a plurality of videos or text information of subtitles recognized from video frames of the plurality of videos.
  • the matching module includes:
  • the third matching sub-module 313 is configured to match the search condition with video related information in the preset index library
  • the video voice information in the preset index library includes text information that is identified from voices included in the plurality of videos.
  • the technical solution of the present application searches for video content such as video title information, video subtitle information, and video voice information of the video, so that the search condition and the video content are accurately matched, and the search accuracy is improved, and the beneficial effect is the same as that in the second embodiment. , will not repeat them here.
  • FIG. 5 is a schematic diagram of an apparatus for searching for video according to an embodiment of the present application.
  • the device for searching for video in the embodiment of the present application includes:
  • the receiving module 51 is configured to receive play position information of the target video, where the play position information includes a play position of the video related information of the target video in the target video, where the video related information is according to a search condition Retrieved in the default index library;
  • the setting module 52 is configured to use, according to the play position information, a play position of the video related information of the target video in the target video as a current play position of the target video.
  • the device further includes:
  • the first display module 53 is configured to display, in a play interface of the target video, a play position of the video related information in the target video in the form of a progress bar.
  • the device further includes:
  • the second display module 54 is configured to display, by the floating layer, a play position of the video related information in the target video in a play interface that plays the target video.
  • the technical solution of the present application can accurately locate the playing position of the searched video.
  • the technical effect is the same as that of the third embodiment, and details are not described herein again.
  • Embodiment 7 of the present application provides an apparatus. As shown in FIG. 6, the apparatus includes a memory 61 and a processor 62.
  • the memory 61 stores therein a computer program executable on the processor 62.
  • the processor 62 implements the information classification method in the above embodiment when the computer program is executed.
  • the number of memories 61 and processors 62 may be one or more.
  • the device also includes:
  • the communication interface 63 is used for communication between the memory 61 and the processor 62 and an external device.
  • the memory 61 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • the bus may be an Industrial Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Component (EISA) bus.
  • ISA Industrial Standard Architecture
  • PCI Peripheral Component
  • EISA Extended Industry Standard Component
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 6, but it does not mean that there is only one bus or one type of bus.
  • the memory 61, the processor 62, and the communication interface 63 are integrated on one chip, the memory 61, the processor 62, and the communication interface 63 can complete communication with each other through the internal interface.
  • the embodiment of the present application provides a computer readable storage medium storing a computer program, which when executed by a processor, implements the method described in any of the embodiments of FIG. 1-2.
  • first and second are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated.
  • features defining “first” and “second” may include at least one of the features, either explicitly or implicitly.
  • the meaning of "a plurality” is two or more unless specifically and specifically defined otherwise.
  • a "computer-readable medium” can be any apparatus that can contain, store, communicate, propagate, or transport a program for use in an instruction execution system, apparatus, or device, or in conjunction with such an instruction execution system, apparatus, or device.
  • the computer readable medium described in the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. More specific examples of computer readable storage media, at least (non-exhaustive list) include the following: electrical connections (electronic devices) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM) ), read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable read only memory (CDROM).
  • the computer readable storage medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if necessary, other Processing is performed in a suitable manner to obtain the program electronically and then stored in computer memory.
  • a computer readable signal medium may include a data signal that is propagated in a baseband or as part of a carrier, carrying computer readable program code. Such propagated data signals can take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer readable signal medium can also be any computer readable medium other than a computer readable storage medium, which can transmit, propagate, or transport a program for use in or in connection with an instruction execution system, an input method, or a device.
  • Program code embodied on a computer readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, optical cable, radio frequency (RF), and the like, or any suitable combination of the foregoing.
  • portions of the application can be implemented in hardware, software, firmware, or a combination thereof.
  • multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
  • each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as separate products, may also be stored in a computer readable storage medium.
  • the storage medium may be a read only memory, a magnetic disk or an optical disk, or the like.

Abstract

本申请公开了一种搜索视频的方法、装置及设备。所述方法包括:获取搜索条件和预设索引库,将所述搜索条件与所述预设索引库中的视频相关信息进行匹配,其中,所述预设索引库包括从多个视频中提取的视频相关信息以及所提取的视频相关信息在对应的视频中的播放位置;响应于在所述预设索引库中包含与所述搜索条件匹配的视频相关信息,确定与所述视频相关信息对应的目标视频,并且获取所述视频相关信息在所述目标视频中的播放位置;以及发送播放位置信息,其中,所述播放位置信息包括所述视频相关信息在所述目标视频中的播放位置。本申请技术方案能够更准确地搜索到视频,而且可以对所搜索的视频的播放位置进行精准的定位。

Description

搜索视频的方法、装置及设备
本申请要求于2018年3月16日提交中国专利局、申请号为201810220541.3发明名称为“一种搜索视频的方法、装置和服务器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及搜索技术领域,尤其涉及一种搜索视频的方法、装置及设备。
背景技术
随着互联网技术的发展,用户越来越多地通过互联网搜索视频资源。基于目前的搜索技术,在搜索视频资源时,用户可以在搜索页中输入关键字。然后将关键字与网页中视频的标题或简介相匹配,最终获得搜索结果。
基于网页中的标题或简介进行搜索,得出的搜索结果可能不符合用户的实际需求。例如,搜索到的网页中的视频的标题与该视频的实际内容不一致。再如,搜索采用的关键字并不在视频的标题或简介中,导致搜索不到相关视频。
发明内容
本申请实施例提供一种搜索视频的方法、装置及设备,以解决或缓解背景技术中的一项或多项以上技术问题,至少提供一种有益的选择。
第一方面,本申请实施例提供了一种搜索视频的方法,包括:
获取搜索条件和预设索引库,将所述搜索条件与所述预设索引库中的视频相关信息进行匹配,其中,所述预设索引库包括从多个视频中提取的视频相关信息以及所提取的视频相关信息在对应的视频中的播放位置;
响应于在所述预设索引库中包含与所述搜索条件匹配的视频相关信息,确定与所述视频相关信息对应的目标视频,并且获取所述视频相关信息在所述目标视频中的播放位置;以及
发送播放位置信息,其中,所述播放位置信息包括所述视频相关信息在所述目标视频中的播放位置。
结合第一方面,本申请实施例在第一方面的第一种实施方式中,
所述视频相关信息包括视频标题信息,并且
将所述搜索条件与所述预设索引库中的视频相关信息进行匹配,包括:
将所述搜索条件与所述预设索引库中的视频标题信息进行匹配,其中,所述预设索引库中的视频标题信息包括从多个视频的视频帧中识别得到的视频标题的文本信息。
结合第一方面,本申请实施例在第一方面的第二实施方式中,
所述视频相关信息包括视频字幕信息,并且
将所述搜索条件与所述预设索引库中的视频相关信息进行匹配,包括:
将所述搜索条件与所述预设索引库中的视频字幕信息进行匹配;
其中,所述预设索引库中的视频字幕信息包括由多个视频的字幕文件转换得到的文本信息或从多个视频的视频帧中识别得到的字幕的文本信息。
结合第一方面,本申请实施例在第一方面的第三实施方式中,
所述视频相关信息包括视频语音信息,并且
将所述搜索条件与所述预设索引库中的视频相关信息进行匹配,包括:
将所述搜索条件与所述预设索引库中的视频语音信息进行匹配;
其中,所述预设索引库中的视频语音信息包括从与多个视频所包含的语音中识别得到的文本信息。
第二方面,本申请实施例提供了一种搜索视频的方法,包括:
接收目标视频的播放位置信息,其中所述播放位置信息包括所述目标视频的视频相关信息在所述目标视频中的播放位置,其中,所述视频相关信息是根据搜索条件在预设索引库中检索得到的;以及
根据所述播放位置信息,将所述目标视频的视频相关信息在所述目标视频中的播放位置作为所述目标视频的当前播放位置。
结合第二方面,本申请实施例在第二方面的第一实施方式中,所述方法 还包括:
在所述目标视频的播放界面中,以进度条的形式展示所述视频相关信息在所述目标视频中的播放位置。
结合第二方面,本申请实施例在第二方面的第二实施方式中,所述方法还包括:
在播放所述目标视频的播放界面中,通过浮层展示所述视频相关信息在所述目标视频中的播放位置。
第三方面,本申请实施例提供了一种搜索视频的装置,包括:
匹配模块,配置为获取搜索条件和预设索引库,将所述搜索条件与所述预设索引库中的视频相关信息进行匹配,其中,所述预设索引库包括从多个视频中提取的视频相关信息以及所提取的视频相关信息在对应的视频中的播放位置;
获取模块,配置为响应于在所述预设索引库中包含与所述搜索条件匹配的视频相关信息,确定与所述视频相关信息对应的目标视频,并且获取所述视频相关信息在所述目标视频中的播放位置;以及
发送模块,配置为发送播放位置信息,其中,所述播放位置信息包括所述视频相关信息在所述目标视频中的播放位置。
结合第三方面,本申请实施例在第三方面的第一实施方式中,所述匹配模块包括:
第一匹配子模块,配置为将所述搜索条件与所述预设索引库中的视频标题信息进行匹配,其中,所述预设索引库中的视频标题信息包括从多个视频的视频帧中识别得到的视频标题的文本信息。
结合第三方面,本申请实施例在第三方面的第二实施方式中,所述匹配模块包括:
第二匹配子模块,配置为将所述搜索条件与所述预设索引库中的视频字幕信息进行匹配;
其中,所述预设索引库中的视频字幕信息包括由多个视频的字幕文件转 换得到的文本信息或从多个视频的视频帧中识别得到的字幕的文本信息。
结合第三方面,本申请实施例在第三方面的第三实施方式中,所述匹配模块包括:
第三匹配子模块,配置为将所述搜索条件与所述预设索引库中的视频相关信息进行匹配;
其中,所述预设索引库中的视频语音信息包括从与多个视频所包含的语音中识别得到的文本信息。
第四方面,本申请实施例提供了一种搜索视频的装置,包括:
接收模块,配置为接收目标视频的播放位置信息,其中所述播放位置信息包括所述目标视频的视频相关信息在所述目标视频中的播放位置,其中,所述视频相关信息是根据搜索条件在预设索引库中检索得到的;以及
设置模块,配置为根据所述播放位置信息,将所述目标视频的视频相关信息在所述目标视频中的播放位置作为所述目标视频的当前播放位置。
结合第四方面,本申请实施例在第四方面的第一实施方式中,所述装置还包括:
第一展示模块,配置为在所述目标视频的播放界面中,以进度条的形式展示所述视频相关信息在所述目标视频中的播放位置。
结合第四方面,本申请实施例在第四方面的第二实施方式中,所述装置还包括:
配置为在播放所述目标视频的播放界面中,通过浮层展示所述视频相关信息在所述目标视频中的播放位置。
第五方面,本申请实施例提供了一种设备。所述设备包括:
一个或多个处理器;
存储装置,用于存储一个或多个程序;
当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如权上所述的方法。
第六方面,本申请实施例提供了一种计算机可读存储介质,用于存储搜索视频的装置所用的计算机软件指令,其包括用于执行上述第一方面和第二斋中搜索视频的方法为搜索视频的装置所涉及的程序。
上述技术方案中的一个技术方案具有如下优点或有益效果:本申请技术方案将搜索条件与预设索引库中的视频相关信息进行匹配,当二者匹配时,获取目标视频的视频相关信息在目标视频中的播放位置,并且发送播放位置信息,此处,播放位置信息包括所述视频相关信息在所述目标视频中的播放位置。这样能够更准确地搜索到视频,而且可以对所搜索的视频的播放位置进行精准的定位。
上述概述仅仅是为了说明书的目的,并不意图以任何方式进行限制。除上述描述的示意性的方面、实施方式和特征之外,通过参考附图和以下的详细描述,本申请进一步的方面、实施方式和特征将会是容易明白的。
附图说明
在附图中,除非另外规定,否则贯穿多个附图相同的附图标记表示相同或相似的部件或元素。这些附图不一定是按照比例绘制的。应该理解,这些附图仅描绘了根据本申请公开的一些实施方式,而不应将其视为是对本申请范围的限制。
图1为本申请实施例一的搜索视频的方法的流程图;
图2为本申请实施例三的搜索视频的方法的流程图;
图3为本申请实施例四的搜索视频的装置的示意图;
图4为本申请实施例五的搜索视频的装置的示意图;
图5为本申请实施例六的搜索视频的装置的示意图;
图6为本申请实施例七的设备的示意图;
图7为本申请实施例三的搜索视频的方法的播放界面的示意图。
具体实施方式
在下文中,仅简单地描述了某些示例性实施例。正如本领域技术人员可认识到的那样,在不脱离本申请的精神或范围的情况下,可通过各种不同方 式修改所描述的实施例。因此,附图和描述被认为本质上是示例性的而非限制性的。
用户在搜索视频时,往往需要通过输入关键字的方式进行搜索。例如,输入对视频的描述或视频中的台词作为关键字。但是,用户的搜索目标是相关的视频内容,基于目前的搜索技术,通过关键字进行匹配,搜索结果大多为文字或者图片。用户需要从搜索结果中筛选出与视频相关的文字或图片,然后查看图片或文字可以了解视频的相关信息。为此,本申请提供了一种能够直接根据关键字准确地搜索到目标视频的搜索视频的方法。
实施例一
如图1所示,为本申请实施例的搜索视频的方法的流程图。本申请实施例的搜索视频的方法包括:
S101,获取搜索条件和预设索引库,将所述搜索条件与所述预设索引库中的视频相关信息进行匹配,其中,所述预设索引库包括从多个视频中提取的视频相关信息以及所提取的视频相关信息在对应的视频中的播放位置。
本实施例的搜索视频的方法可以在服务器中执行。服务器接收终端发送的搜索请求后,可以提取搜索请求中的搜索条件,并将搜索条件与预设索引库中的视频相关信息进行匹配。在本申请实施例中,搜索条件可以包括用户在搜索框中输入或选择的用于搜索的关键字。
其中,视频相关信息可以包括视频标题信息、视频字幕信息和视频语音信息等能够描述视频所呈现的内容的信息。
另外,视频相关信息也可以包括视频中描述的对象。例如,如果某一视频帧中呈现了某明星的图像,则该明星的姓名可以作为视频的相关信息。再例如,另一视频帧中呈现了某景区的图像,则该景区的名称可以作为视频内容相关信息。
本申请实施例基于视频相关信息对视频进行搜索,可以提高搜索的准确度。
S102,响应于在所述预设索引库中包含与所述搜索条件匹配的视频相关 信息,确定与所述视频相关信息对应的目标视频,并且获取所述视频相关信息在所述目标视频中的播放位置。
本申请实施例中的播放位置可以为从目标视频的开头开始,目标视频的视频相关信息第一次出现时的时间位置。视频的开头可以是例如视频的第一帧,或者跳过广告、片花或片头之后的第一帧等。
S103,发送播放位置信息,其中,所述播放位置信息包括所述视频相关信息在所述目标视频中的播放位置。
具体地,本申请实施例可以根据预设索引库中包含的视频相关信息以及视频相关信息在对应的视频中的播放位置,来确定视频相关信息在目标视频的播放位置。然后将包含该播放位置的播放位置信息发送至播放端,使播放端在接收到播放指令时,能够从该播放位置处开始播放视频。
例如,某视频的索引库如下:
视频编号或地址 视频内容相关信息 播放时间
1 ZZZ 1:00
2 YYY 1:01
3 XXX 1:02
“ZZZ”为视频标题信息,其出现在由开始播放起的第1:00小时位置处,“YYY”为视频字幕信息,其出现在由开始播放时间起算的第1:01小时位置处,“XXX”为该视频的视频语音信息,其出现在由开始播放时间起算的第1:02小时位置处。
在一个应用场景中,用户欲搜索某新闻视频,新闻视频的标题为“**学校今年招生情况”,相应地,索引库中的视频相关信息为“**学校今年招生情况”。用户可以在搜索引擎的搜索框中输入关键字“**学校今年招生情况”。本申请实施例中,可以将该关键字与索引库中的视频相关信息进行匹配。如果相匹配,则获取索引库中标题为“**学校今年招生情况”在其对应的新闻视频中所处的播放位置。如视频总长为3分钟,从视频开头计算,该标题出现在第5秒位置处。然后,服务器可以针对该视频,向播放端发送包括“播 放5秒”的播放指令,以使得播放端可以从该视频的第5秒开始播放。
本申请技术方案中,将搜索条件与索引库中的视频相关信息进行匹配,以向播放端发送目标视频的视频相关信息在其对应的目标视频中所处的播放位置,这样能够更准确地搜索到视频,而且可以对所搜索的视频的播放位置进行精准的定位。
实施例二
在实施例一的基础上,本申请实施例提供一种搜索视频的方法。继续结合图1。
视频相关信息可以包括但不限于视频标题信息、视频字幕信息和视频语音信息等内容。将搜索条件与索引库中的视频相关信息进行匹配,可以是将搜索条件与索引库中的视频标题信息、视频字幕信息和视频语音信息等进行匹配。因此,步骤S101可以包括以下情况:
A,视频相关信息为视频标题信息。
在步骤S101中,将所述搜索条件与所述预设索引库中的视频标题信息进行匹配,其中,所述预设索引库中的视频标题信息包括从多个视频的视频帧中识别得到的视频标题的文本信息。
B,视频相关信息为视频字幕信息。
在步骤S101中,将所述搜索条件与所述预设索引库中的视频字幕信息进行匹配;
其中,所述预设索引库中的视频字幕信息包括由多个视频的字幕文件转换得到的文本信息或从多个视频的视频帧中识别得到的字幕的文本信息。
C,视频相关信息为视频语音信息。
在步骤S101中,将所述搜索条件与所述预设索引库中的视频语音信息进行匹配;
其中,所述预设索引库中的视频语音信息包括从与多个视频所包含的语音中识别得到的文本信息。
此外,还可以从视频帧中提取对应的目标视频的视频相关信息,保存到预设索引库中,以供后续搜索使用。
比如,视频的某一帧图像为一个明星的照片,经识别,得到该明星的名字,可以在预设索引库中保存该明星的名字与该帧图像(或时间)的对应关系。
再如,视频的某一帧图像为一个景点的照片,经识别得到该景区(或地点等)的名称,可以在预设索引库中保存该景区(或地点等)的名称与该帧图像(或时间)的对应关系。当搜索条件为“景区A”时,如果在预设索引库中匹配到对应的条目,则可以得到“景区A”在其对应的视频中所处的播放时间。
在一个实现方式中,由于不同的视频中可能包括相同的视频内容,因此在搜索时,可能出现多个符合要求的视频。这时可以根据预设标准对该多个视频进行排序。例如,对于可以按照点击率的高低,对多个视频进行排序,然后将排名最靠前的一个视频发送至播放端。
本申请的技术方案根据视频的视频标题信息、视频字幕信息及视频语音信息等视频相关内容进行搜索,使关键字与视频相关内容进行准确的匹配,提高搜索的准确率。
实施例三
如图2所示,为本申请实施例的搜索视频的方法的流程图。本申请实施例的搜索视频的方法包括:
S201,接收目标视频的播放位置信息,其中所述播放位置信息包括所述目标视频的视频相关信息在所述目标视频中的播放位置,并且其中,所述视频相关信息是根据搜索条件在预设索引库中检索得到的。
本实施例的搜索视频的方法可以在播放端,例如,安装了视频播放器的手机、PAD、电脑等终端设备中执行。该终端设备向服务器发送搜索视频的请求,其中该请求可以包括搜索条件。然后播放端可以从服务器接收目标视频。服务器可以根据搜索条件在索引库中进行检索。如果检索到与视频相关 信息相匹配的信息,则服务器可以进一步确定该视频相关信息在目标视频中的播放位置。然后服务器可以针对该目标视频向播放端发送播放指令,在该播放指令中包括视频内容信息在目标视频中所处的播放位置。
S202,根据所述播放位置信息,将所述目标视频的视频相关信息在所述目标视频中的播放位置作为所述目标视频的当前播放位置。
本申请实施例中,在收到视频相关内容的播放时间后,可以将目标视频的播放位置设置为所接收到的播放时间,以实现根据搜索条件在目标视频中准确的定位。例如,搜索条件在目标视频中对应的视频相关信息包括“XXX”,该视频相关信息在目标视频中所处的播放时间为1小时2分,则可在播放端将目标视频的播放位置设置为1小时2分。
S203,在所述目标视频的播放界面中,以进度条的形式展示所述视频相关信息在所述目标视频中的播放位置。
在一种可能的实现方式中,该方法还可以包括:
S204,在播放所述目标视频的播放界面中,通过浮层展示所述视频相关信息在所述目标视频中的播放位置。
为使用户能够明确播放起始点及播放进度,本申请实施例中,在为用户呈现目标视频的播放界面时,还可以同时展示播放进度条和浮层。在进度条中可以显示定位到的播放位置,在浮层中可以包括“已精准定位到X小时X分X秒”等类似的提示。参见图7,浮层中包括“已精准定位到01:47”。
本申请技术方案中,根据服务器发送的视频相关信息在目标视频中的播放位置,根据该播放时间设置目标视频的当前播放位置,同时展示播放进展条,这样可以对所搜索的视频的播放位置进行精准的定位,同时使用户获得更好的体验。
实施例四
如图3所示,为本申请实施例的搜索视频的装置的示意图。本申请实施例的搜索视频的装置包括:
匹配模块31,配置为获取搜索条件和预设索引库,将所述搜索条件与所述预设索引库中的视频相关信息进行匹配,其中,所述预设索引库包括从多个视频中提取的视频相关信息以及所提取的视频相关信息在对应的视频中的播放位置;
获取模块32,配置为响应于在所述预设索引库中包含与所述搜索条件匹配的视频相关信息,确定与所述视频相关信息对应的目标视频,并且获取所述视频相关信息在所述目标视频中的播放位置;以及
发送模块33,配置为发送播放位置信息,其中,所述播放位置信息包括所述视频相关信息在所述目标视频中的播放位置。
本申请技术方案能够更准确地搜索到视频,而且可以对所搜索的视频的播放时间进行精准的定位,该有益效果与实施例一相同,在此不再赘述。
实施例五
在实施例五的基础上,如图4所示,为本申请实施例的搜索视频的装置的示意图。本申请实施例的搜索视频的装置包括:
所述匹配模块31包括:
第一匹配子模块311,配置为将所述搜索条件与所述预设索引库中的视频标题信息进行匹配,其中,所述预设索引库中的视频标题信息包括从多个视频的视频帧中识别得到的视频标题的文本信息。
进一步地,所述匹配模块包括:
第二匹配子模块312,配置为将所述搜索条件与所述预设索引库中的视频字幕信息进行匹配;
其中,所述预设索引库中的视频字幕信息包括由多个视频的字幕文件转换得到的文本信息或从多个视频的视频帧中识别得到的字幕的文本信息。
进一步地,所述匹配模块包括:
第三匹配子模块313,配置为将所述搜索条件与所述预设索引库中的视频相关信息进行匹配;
其中,所述预设索引库中的视频语音信息包括从与多个视频所包含的语音中识别得到的文本信息。
本申请的技术方案根据视频的视频标题信息、视频字幕信息及视频语音信息等视频内容进行搜索,使搜索条件与视频内容进行准确的匹配,提高搜索的准确率,该有益效果与实施例二相同,在此不再赘述。
实施例六
如图5所示,为本申请实施例的搜索视频的装置的示意图。本申请实施例的搜索视频的装置包括:
接收模块51,配置为接收目标视频的播放位置信息,其中所述播放位置信息包括所述目标视频的视频相关信息在所述目标视频中的播放位置,其中,所述视频相关信息是根据搜索条件在预设索引库中检索得到的;以及
设置模块52,配置为根据所述播放位置信息,将所述目标视频的视频相关信息在所述目标视频中的播放位置作为所述目标视频的当前播放位置。
进一步地,所述装置还包括:
第一展示模块53,配置为在所述目标视频的播放界面中,以进度条的形式展示所述视频相关信息在所述目标视频中的播放位置。
进一步地,所述装置还包括:
第二展示模块54,配置为在播放所述目标视频的播放界面中,通过浮层展示所述视频相关信息在所述目标视频中的播放位置。
本申请技术方案可以对所搜索的视频的播放位置进行精准的定位,该技术效果与实施例三的技术效果相同,在此不再赘述。
实施例七
本申请实施例七提供一种设备,如图6所示,该设备包括:存储器61和处理器62,存储器61内存储有可在处理器62上运行的计算机程序。处理器 62执行所述计算机程序时实现上述实施例中的信息分类方法。存储器61和处理器62的数量可以为一个或多个。
该设备还包括:
通信接口63,用于存储器61和处理器62与外部设备之间的通信。
存储器61可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。
如果存储器61、处理器62和通信接口63独立实现,则存储器61、处理器62和通信接口63可以通过总线相互连接并完成相互间的通信。所述总线可以是工业标准体系结构(ISA,Industry Standard Architecture)总线、外部设备互连(PCI,Peripheral Component)总线或扩展工业标准体系结构(EISA,Extended Industry Standard Component)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图6中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
可选的,在具体实现上,如果存储器61、处理器62及通信接口63集成在一块芯片上,则存储器61、处理器62及通信接口63可以通过内部接口完成相互间的通信。
实施例八
本申请实施例提供了一种计算机可读存储介质,其存储有计算机程序,该程序被处理器执行时实现如图1-2任一实施例所述的方法。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或 暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,“计算机可读介质”可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。
本申请实施例所述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质的更具体的示例至少(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式只读存储器(CDROM)。另外,计算机可读存储介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。
在本申请实施例中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任 何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于指令执行系统、输入法或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。
此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读存储介质中。所述存储介质可以是只读存储器,磁盘或光盘等。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到其各种变化或替换,这些都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (16)

  1. 一种搜索视频的方法,其特征在于,包括:
    获取搜索条件和预设索引库,将所述搜索条件与所述预设索引库中的视频相关信息进行匹配,其中,所述预设索引库包括从多个视频中提取的视频相关信息以及所提取的视频相关信息在对应的视频中的播放位置;
    响应于在所述预设索引库中包含与所述搜索条件匹配的视频相关信息,确定与所述视频相关信息对应的目标视频,并且获取所述视频相关信息在所述目标视频中的播放位置;以及
    发送播放位置信息,其中,所述播放位置信息包括所述视频相关信息在所述目标视频中的播放位置。
  2. 根据权利要求1所述的方法,其特征在于,所述视频相关信息包括视频标题信息,并且
    将所述搜索条件与所述预设索引库中的视频相关信息进行匹配,包括:
    将所述搜索条件与所述预设索引库中的视频标题信息进行匹配,其中,所述预设索引库中的视频标题信息包括从多个视频的视频帧中识别得到的视频标题的文本信息。
  3. 根据权利要求1所述的方法,其特征在于,所述视频相关信息包括视频字幕信息,并且
    将所述搜索条件与所述预设索引库中的视频相关信息进行匹配,包括:
    将所述搜索条件与所述预设索引库中的视频字幕信息进行匹配;
    其中,所述预设索引库中的视频字幕信息包括由多个视频的字幕文件转换得到的文本信息或从多个视频的视频帧中识别得到的字幕的文本信息。
  4. 根据权利要求1所述的方法,其特征在于,所述视频相关信息包括视频语音信息,并且
    将所述搜索条件与所述预设索引库中的视频相关信息进行匹配,包括:
    将所述搜索条件与所述预设索引库中的视频语音信息进行匹配;
    其中,所述预设索引库中的视频语音信息包括从与多个视频所包含的语音中识别得到的文本信息。
  5. 一种搜索视频的方法,其特征在于,包括:
    接收目标视频的播放位置信息,其中所述播放位置信息包括所述目标视频的视频相关信息在所述目标视频中的播放位置,其中,所述视频相关信息是根据搜索条件在预设索引库中检索得到的;以及
    根据所述播放位置信息,将所述目标视频的视频相关信息在所述目标视频中的播放位置作为所述目标视频的当前播放位置。
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:
    在所述目标视频的播放界面中,以进度条的形式展示所述视频相关信息在所述目标视频中的播放位置。
  7. 根据权利要求5所述的方法,其特征在于,所述方法还包括:
    在播放所述目标视频的播放界面中,通过浮层展示所述视频相关信息在所述目标视频中的播放位置。
  8. 一种搜索视频的装置,其特征在于,包括:
    匹配模块,配置为获取搜索条件和预设索引库,将所述搜索条件与所述预设索引库中的视频相关信息进行匹配,其中,所述预设索引库包括从多个视频中提取的视频相关信息以及所提取的视频相关信息在对应的视频中的播放位置;
    获取模块,配置为响应于在所述预设索引库中包含与所述搜索条件匹配的视频相关信息,确定与所述视频相关信息对应的目标视频,并且获取所述视频相关信息在所述目标视频中的播放位置;以及
    发送模块,配置为发送播放位置信息,其中,所述播放位置信息包括所述视频相关信息在所述目标视频中的播放位置。
  9. 根据权利要求8所述的装置,其特征在于,所述匹配模块包括:
    第一匹配子模块,配置为将所述搜索条件与所述预设索引库中的视频标题信息进行匹配,其中,所述预设索引库中的视频标题信息包括从多个视频 的视频帧中识别得到的视频标题的文本信息。
  10. 根据权利要求8所述的装置,其特征在于,所述匹配模块包括:
    第二匹配子模块,配置为将所述搜索条件与所述预设索引库中的视频字幕信息进行匹配;
    其中,所述预设索引库中的视频字幕信息包括由多个视频的字幕文件转换得到的文本信息或从多个视频的视频帧中识别得到的字幕的文本信息。
  11. 根据权利要求8所述的装置,其特征在于,所述匹配模块包括:
    第三匹配子模块,配置为将所述搜索条件与所述预设索引库中的视频相关信息进行匹配;
    其中,所述预设索引库中的视频语音信息包括从与多个视频所包含的语音中识别得到的文本信息。
  12. 一种搜索视频的装置,其特征在于,所述装置包括:
    接收模块,配置为接收目标视频的播放位置信息,其中所述播放位置信息包括所述目标视频的视频相关信息在所述目标视频中的播放位置,其中,所述视频相关信息是根据搜索条件在预设索引库中检索得到的;以及
    设置模块,配置为根据所述播放位置信息,将所述目标视频的视频相关信息在所述目标视频中的播放位置作为所述目标视频的当前播放位置。
  13. 根据权利要求12所述的装置,其特征在于,所述装置还包括:
    第一展示模块,配置为在所述目标视频的播放界面中,以进度条的形式展示所述视频相关信息在所述目标视频中的播放位置。
  14. 根据权利要求12所述的装置,其特征在于,所述装置还包括:
    第二展示模块,配置为在播放所述目标视频的播放界面中,通过浮层展示所述视频相关信息在所述目标视频中的播放位置。
  15. 一种设备,其特征在于,所述设备包括:
    一个或多个处理器;
    存储装置,用于存储一个或多个程序;
    当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如权利要求1-7中任一所述的方法。
  16. 一种计算机可读存储介质,其存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-7中任一所述的方法。
PCT/CN2018/111322 2018-03-16 2018-10-23 搜索视频的方法、装置及设备 WO2019174237A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810220541.3 2018-03-16
CN201810220541.3A CN108401189A (zh) 2018-03-16 2018-03-16 一种搜索视频的方法、装置及服务器

Publications (1)

Publication Number Publication Date
WO2019174237A1 true WO2019174237A1 (zh) 2019-09-19

Family

ID=63092586

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/111322 WO2019174237A1 (zh) 2018-03-16 2018-10-23 搜索视频的方法、装置及设备

Country Status (2)

Country Link
CN (1) CN108401189A (zh)
WO (1) WO2019174237A1 (zh)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108401189A (zh) * 2018-03-16 2018-08-14 百度在线网络技术(北京)有限公司 一种搜索视频的方法、装置及服务器
CN111491198B (zh) * 2019-01-28 2023-02-17 抖音视界有限公司 一种小视频搜索方法和装置
CN109933691B (zh) * 2019-02-11 2023-06-09 北京百度网讯科技有限公司 用于内容检索的方法、装置、设备和存储介质
CN111723236A (zh) * 2019-03-18 2020-09-29 百度在线网络技术(北京)有限公司 视频索引建立方法、装置、设备及计算机可读介质
CN110502661A (zh) * 2019-07-08 2019-11-26 天脉聚源(杭州)传媒科技有限公司 一种视频搜索方法、系统及存储介质
CN110865833A (zh) * 2019-09-29 2020-03-06 上海萌家网络科技有限公司 一种应用客户端、服务端及更新用户状态的方法
CN110913241B (zh) * 2019-11-01 2022-09-30 北京奇艺世纪科技有限公司 一种视频检索方法、装置、电子设备及存储介质
CN110909209B (zh) * 2019-11-26 2022-12-27 北京达佳互联信息技术有限公司 直播视频的搜索方法及装置、设备、服务器和存储介质
CN111988663B (zh) * 2020-08-28 2022-09-06 北京百度网讯科技有限公司 视频播放节点的定位方法、装置、设备以及存储介质
CN112052352B (zh) * 2020-09-07 2024-04-30 北京达佳互联信息技术有限公司 视频排序方法、装置、服务器及存储介质
CN112163102B (zh) * 2020-09-29 2023-03-17 北京字跳网络技术有限公司 搜索内容匹配方法、装置、电子设备及存储介质
CN113596601A (zh) * 2021-01-19 2021-11-02 腾讯科技(深圳)有限公司 一种视频画面的定位方法、相关装置、设备及存储介质
CN114827654B (zh) * 2021-01-19 2024-05-03 腾讯科技(北京)有限公司 一种视频搜索方法、装置、设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686200A (zh) * 2013-12-27 2014-03-26 乐视致新电子科技(天津)有限公司 智能电视视频资源搜索的方法和系统
US20140140681A1 (en) * 2012-11-21 2014-05-22 Hon Hai Precision Industry Co., Ltd. Video content search method, system, and device
CN103838751A (zh) * 2012-11-23 2014-06-04 鸿富锦精密工业(深圳)有限公司 视频内容搜索系统及方法
CN104731938A (zh) * 2015-03-30 2015-06-24 北京奇艺世纪科技有限公司 一种视频搜索方法及装置
CN104915433A (zh) * 2015-06-24 2015-09-16 宁波工程学院 一种影视视频检索方法
CN108401189A (zh) * 2018-03-16 2018-08-14 百度在线网络技术(北京)有限公司 一种搜索视频的方法、装置及服务器

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140140681A1 (en) * 2012-11-21 2014-05-22 Hon Hai Precision Industry Co., Ltd. Video content search method, system, and device
CN103838751A (zh) * 2012-11-23 2014-06-04 鸿富锦精密工业(深圳)有限公司 视频内容搜索系统及方法
CN103686200A (zh) * 2013-12-27 2014-03-26 乐视致新电子科技(天津)有限公司 智能电视视频资源搜索的方法和系统
CN104731938A (zh) * 2015-03-30 2015-06-24 北京奇艺世纪科技有限公司 一种视频搜索方法及装置
CN104915433A (zh) * 2015-06-24 2015-09-16 宁波工程学院 一种影视视频检索方法
CN108401189A (zh) * 2018-03-16 2018-08-14 百度在线网络技术(北京)有限公司 一种搜索视频的方法、装置及服务器

Also Published As

Publication number Publication date
CN108401189A (zh) 2018-08-14

Similar Documents

Publication Publication Date Title
WO2019174237A1 (zh) 搜索视频的方法、装置及设备
US20200322684A1 (en) Video recommendation method and apparatus
US9201959B2 (en) Determining importance of scenes based upon closed captioning data
US8812474B2 (en) Methods and apparatus for identifying and providing information sought by a user
WO2017161776A1 (zh) 弹幕推送方法及装置
WO2015070673A1 (zh) 浏览器侧进行网络搜索的方法与浏览器
US9837125B2 (en) Generation of correlated keyword and image data
WO2016107126A1 (zh) 图片搜索方法和装置
US20080046925A1 (en) Temporal and spatial in-video marking, indexing, and searching
CN110913241B (zh) 一种视频检索方法、装置、电子设备及存储介质
US10007725B2 (en) Analyzing user searches of verbal media content
CN105898362A (zh) 检索视频内容的方法和装置
US10347300B2 (en) Correlation of recorded video presentations and associated slides
US9263059B2 (en) Deep tagging background noises
US20200218760A1 (en) Music search method and device, server and computer-readable storage medium
CN109697245A (zh) 基于网页视频的语音搜索方法和装置
KR20200049193A (ko) 콘텐츠 추천 방법 및 이를 지원하는 서비스 장치
US11836197B2 (en) Search processing method and apparatus based on clipboard data
CN109299314B (zh) 音乐检索与推荐的方法、装置、存储介质和终端设备
TWI709905B (zh) 資料分析方法及資料分析系統
CN109101964B (zh) 确定多媒体文件中首尾区域的方法、设备及存储介质
KR20210009903A (ko) 질의 응답 방법 및 이를 수행하는 장치들
CN110942070B (zh) 内容展示方法、装置、电子设备及计算机可读存储介质
US8196046B2 (en) Parallel visual radio station selection
KR20200042287A (ko) 영상 컨텐츠 관련 음악 정보 제공 방법 및 이를 지원하는 서비스 장치

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: 18909665

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 13.01.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18909665

Country of ref document: EP

Kind code of ref document: A1