WO2017000744A1 - Subtitle-of-motion-picture loading method and apparatus for online playing - Google Patents

Subtitle-of-motion-picture loading method and apparatus for online playing Download PDF

Info

Publication number
WO2017000744A1
WO2017000744A1 PCT/CN2016/084556 CN2016084556W WO2017000744A1 WO 2017000744 A1 WO2017000744 A1 WO 2017000744A1 CN 2016084556 W CN2016084556 W CN 2016084556W WO 2017000744 A1 WO2017000744 A1 WO 2017000744A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
subtitle
video
video file
files
Prior art date
Application number
PCT/CN2016/084556
Other languages
French (fr)
Chinese (zh)
Inventor
王鹏飞
肖江
雷晓俊
Original Assignee
北京奇虎科技有限公司
奇智软件(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京奇虎科技有限公司, 奇智软件(北京)有限公司 filed Critical 北京奇虎科技有限公司
Publication of WO2017000744A1 publication Critical patent/WO2017000744A1/en

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/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/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/254Management at additional data server, e.g. shopping server, rights management server
    • H04N21/2541Rights Management
    • 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/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • H04N21/2355Processing of additional data, e.g. scrambling of additional data or processing content descriptors involving reformatting operations of additional data, e.g. HTML pages
    • 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/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • 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/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/254Management at additional data server, e.g. shopping server, rights management server
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • H04N21/25816Management of client data involving client authentication
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25891Management of end-user data being end-user preferences

Definitions

  • the present invention relates to Internet technologies, and in particular, to a subtitle loading method and apparatus for online play.
  • Subtitles of motion picture refers to the display of non-image content such as dialogues in television, movies, and stage works in text form.
  • the dialogue subtitles of the film and television works generally appear at the bottom of the screen.
  • subtitles There are many types of subtitles, which are used in conjunction with audio and video files of different formats. For example, some video files embed subtitles directly in the picture, that is, subtitles are part of the picture. Such subtitles have poor flexibility and cannot be hidden and adjusted.
  • Built-in subtitles refer to the subtitle data contained in the video file, which can be automatically read during playback. Although the subtitle data is inside the video file, it can be hidden and adjusted.
  • the current mainstream players provide automatic loading of external subtitles, which can automatically load subtitle files in the same folder as audio and video files. Some players can also automatically download subtitles from the network. These players can only be played only. Subtitles are automatically loaded when the file is stored locally.
  • audio and video files stored in the cloud can already support online playback. Since the video files stored in the cloud are not downloaded and do not occupy local storage space, they are used more and more widely.
  • the existing cloud online playing technology does not support the loading of external subtitles, which seriously affects the user's use.
  • the present invention has been made in order to provide a caption loading method and apparatus for online play that overcomes the above problems or at least partially solves the above problems.
  • a further object of the present invention is to improve the user's experience of playing video files stored in the cloud online.
  • a caption loading method for online play includes: acquiring an online play request of a video file stored in the cloud; extracting file information of the audio and video file; acquiring a subtitle file corresponding to the audio and video file according to the file information; and playing the video file online to respond to online play Request, and load the subtitle file corresponding to the audio and video file during playback.
  • the subtitle loading device for online play includes: a request acquisition module configured to acquire an online play request of a video file stored in the cloud; an information extraction module configured to extract file information of the audio and video file; and a subtitle acquisition module configured to be based on the file information Obtaining a subtitle file corresponding to the audio and video file; and a subtitle loading module configured to play the audio and video file online to respond to the online play request, and loading the subtitle file corresponding to the audio and video file during the playing process.
  • a computer program comprising computer readable code, when the computer readable code is run on a computing device, causing the computing device to perform the Subtitle loading method for online playback.
  • a computer readable medium storing the above computer program is provided.
  • the subtitle loading method and device for online play of the present invention can use the file information of the played video file to match the corresponding subtitle file, and automatically load the subtitle file when playing in the cloud online, so that the user can watch the cloud storage online.
  • the method and device for loading subtitles of the present invention can also utilize the big data stored in the cloud, and the subtitles that are most suitable for the current video file are matched according to the actual number of subtitle loadings, thereby further improving the user experience. .
  • FIG. 1 is a structural diagram of an application system of a caption loading device for online play according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a caption loading device for online play according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a caption loading device for online play according to another embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a method for subtitle loading for online play, in accordance with one embodiment of the present invention.
  • Figure 5 is a schematic block diagram of a computing device for performing a method of subtitle loading for online play in accordance with the present invention
  • Fig. 6 schematically shows a storage unit for holding or carrying program code implementing a method of subtitle loading for online play according to the present invention.
  • a plurality of cloud storage clients 110 may be configured in various types of user terminal devices, such as smart phones and individuals.
  • a smart terminal with a network connection function such as a computer or a tablet.
  • the cloud storage client 110 provides the client with a local function of the cloud storage.
  • the cloud storage client 110 can send an online play request to the cloud storage server 120, and the cloud storage server 120 plays the streaming media response in response to the online play request. The data is played.
  • the cloud storage server 120 is connected to the cloud storage client 110 through the Internet or other data transmission channel for storing various files and data of the user.
  • the cloud storage server 120 can respond to the online play request of the cloud storage client 110 and provide corresponding streaming media data.
  • the cloud storage server 120 can also search for the subtitle file corresponding to the currently played video file for the cloud storage client 110 to load.
  • FIG. 2 is a schematic diagram of a caption loading device 200 for online play according to an embodiment of the present invention.
  • the caption loading device for online play may generally include: a request acquiring module 210, an information extracting module 220, and a caption acquiring module. 230, and a subtitle loading module 240.
  • the request obtaining module 210 may be configured to obtain an online play request of the video file stored in the cloud; the online play request may include various information of the video file to be played, such as a file name, an identifier, and a URL (Uniform Resource Locator) Locator).
  • the online play request may further include user information such as the identifier of the requester, a password, and the like for verifying the authority of the user.
  • the information extraction module 220 may be configured to extract file information of the audio and video files, and the file information may include a hash value of the audio and video file, a file name of the audio and video file, a length of the audio and video file, a size of the video file, a copyright information of the video file, and a video file.
  • File format Using these file information, you can determine the audio and video files that need to be played online, and can be used as a basis for matching subtitles.
  • the subtitle obtaining module 230 may be configured to acquire the subtitle file corresponding to the audio and video file according to the file information. Preferably, the subtitle obtaining module 230 matches the subtitle file corresponding to the audio and video file from the subtitle file stored in the cloud according to the file information.
  • the subtitle file stored in the cloud may be not limited to files stored in the cloud by the sender of the play request, and may also include all files stored in the cloud, such as files uploaded by other users.
  • the subtitle obtaining module 230 may be configured to: capture the subtitle file corresponding to the audio and video file from the Internet according to the file information, and save the subtitle file to the cloud. That is, the subtitle acquisition module 230 can automatically utilize the Internet resources to implement the capture of the subtitles.
  • FIG. 3 is a schematic diagram of a caption loading device 200 for online play according to another embodiment of the present invention.
  • the caption loading device 200 for online play of this embodiment may further add settings based on the previous embodiment: Subtitle selection module 250, statistics module 260, sorting module 270, and rights verification module 280.
  • the above modules can be flexibly configured according to the functions to be implemented of the caption loading device 200 for online play of the present embodiment.
  • the subtitle selection module 250 may be configured to provide subtitle selection in the play interface. Interface, using a selection interface to obtain a subtitle file corresponding to a plurality of audio and video files Selecting an operation; and loading a subtitle file corresponding to the selected video file by the caption loading module, the selection interface may be a check box, a drop-down box, a button, etc. preset in the setting menu, and may not be limited to the above when actually used. form.
  • the caption loading device 200 for online play of this embodiment can also utilize the data statistics function of big data to provide a better viewing experience for viewers playing online.
  • One of the alternative ways is to determine the more suitable subtitles by counting the number of times the different users select the subtitles.
  • the statistics module 260 can be configured to count the selected number of times of the subtitle files corresponding to the plurality of video files.
  • the sorting module 270 is configured to sort the subtitle files corresponding to the plurality of video files according to the number of times; and the subtitle selection module 250 is further configured to: display the subtitle files corresponding to the plurality of video files in the subtitle selection interface according to the sorted result, the selected number of times
  • the most subtitles are preferably the first subtitles, which is convenient for the user to select.
  • the subtitle loading module 240 may also load the subtitle file corresponding to the most frequently selected video file as the initial subtitle and before loading the step of selecting the subtitle file corresponding to the plurality of video files. Therefore, the subtitles that meet the preferences of most users are used as the initial subtitles, which further saves the user's operation and further improves the convenience of use.
  • the rights verification module 280 can also be configured to verify that the client that sends the online play request has the right to play the video file.
  • the rights verification module 280 can determine the rights of the user according to the user identification information attached to the online play request, and only allow the user to view the audio and video programs within the rights. For example, the rights verification module 280 can only allow users to play their own uploaded video files online.
  • the embodiment of the invention further provides a subtitle loading method for online play.
  • the caption loading method for online play can be performed by the caption loading device 200 for online play of any of the above embodiments to provide accurate captions for users who view the cloud-stored video files online.
  • 4 is a schematic diagram of a method for subtitle loading for online play, in accordance with one embodiment of the present invention.
  • the method of subtitle recording for online play may generally include:
  • Step S402 acquiring an online play request of the video file stored in the cloud
  • Step S404 extracting file information of the video file
  • Step S406 acquiring a subtitle file corresponding to the audio and video file according to the file information
  • Step S408 playing the video file online to respond to the online play request, and loading the subtitle file corresponding to the video file during the playing process.
  • the online play request obtained in step S402 can be generated and sent by the cloud storage user through the cloud storage client.
  • the online play request may include login information such as identification information of the video file to be played and an identifier of the user.
  • the step S402 may perform an operation such as parsing the online play request, and verify that the cloud client 110 that sends the online play request has the online play permission of the video file requested to be played according to the login information.
  • the cloud client 110 can be configured in various smart terminals with network connection functions used by the user, such as but not limited to devices such as smart phones, personal computers, and tablets.
  • Step S404 may extract file information of the video file according to the data parsed in the online play request, and the information may include, but is not limited to, a hash value of the video file, a file name of the video file, a length of the video file, and a size of the video file. , copyright information of audio and video files, file format of audio and video files. Using these file information, you can determine the audio and video files that need to be played online, and can be used as a basis for matching subtitles.
  • step S406 the subtitle file of the video file to be played may be queried from the file stored in the cloud.
  • an optional process of step S406 is to match the subtitle file corresponding to the video file from the subtitle file stored in the cloud according to the file information.
  • the subtitle file stored in the cloud may not be limited to files stored in the cloud by the sender of the play request, and may also include all files stored in the cloud.
  • the subtitle file corresponding to the audio and video file may be further captured from the Internet according to the file information, and saved to the cloud.
  • the optional subtitle file corresponding to the video file is: generating a subtitle query request according to the file information of the audio and video file, and sending a subtitle query request to the subtitle resource library on the Internet, and the subtitle resource library is returned in response to the subtitle query request.
  • the subtitle file may also match the returned subtitle file with the video file, for example, confirm the matching degree of the subtitle file from the length and the like. If it matches, the subtitle file is stored in association with the video file.
  • the step S406 can also be converted into a unified format for supporting online play after the subtitle file is acquired, for automatic loading.
  • the step of loading the subtitle file corresponding to the audio and video file in the playback process may further provide a subtitle selection interface in the play interface, and use the selection interface to obtain a selection operation of the subtitle file corresponding to the plurality of audio and video files; and loading the selected The subtitle file corresponding to the audio and video file.
  • An optional process is: preset a subtitle selection button in a play interface or a setting interface for online play, and after the subtitle selection button is selected by the user, provide information such as the name of the plurality of subtitle files in the form of a list, etc. For the viewer to choose, and according to the selected subtitle file for loading and playing, to meet the user's use requirements.
  • the caption loading method for online play of this embodiment can also utilize the data statistics function of big data to provide a better viewing experience for viewers playing online.
  • One of the alternative ways is to determine the more suitable subtitles by counting the number of times the different users select the subtitles. For example, the number of times that the plurality of subtitles corresponding to the audio and video file are selected during playback may be counted, and the subtitle files corresponding to the plurality of video files are sorted according to the number of times.
  • the ranking result may be arranged, for example, the subtitle with the most selection time is used as the first item of the list for the user to select.
  • the method further includes: loading the subtitle file corresponding to the video file with the most selected number of times as the initial subtitle. Therefore, the subtitles that meet the preferences of most users are used as the initial subtitles, which further saves the user's operation and further improves the convenience of use.
  • the caption loading method and device for online play in this embodiment can use the file information of the played video file to match the corresponding subtitle file, and automatically load the subtitle file when playing in the cloud online, so that the user can watch the cloud storage online.
  • the content of the subtitles is highly matched, and no user operation is required, and the big data stored in the cloud can be utilized, and the subtitles that are most suitable for the current audio and video files are matched according to the actual number of subtitle loadings, thereby further improving the user experience.
  • modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
  • the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined.
  • Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of some or all of the components of the caption loading device for online play in accordance with embodiments of the present invention.
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • Figure 5 illustrates a computing device that can implement a caption loading method for online play.
  • the computing device conventionally includes a processor 510 and a computer program product or computer readable medium in the form of a memory 520.
  • the memory 520 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM.
  • Memory 520 has a memory space 530 for program code 531 for performing any of the method steps described above.
  • storage space 530 for program code may include various program code 531 for implementing various steps in the above methods, respectively.
  • the program code can be read from or written to one or more computer program products.
  • These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such computer program products are typically portable or fixed storage units as described with reference to FIG.
  • the storage unit may have storage segments, storage spaces, and the like that are similarly arranged to memory 520 in the computing device of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit includes computer readable code 531 ', ie, code readable by a processor, such as 510, that when executed by a computing device causes the computing device to perform each of the methods described above step.

Abstract

The present invention provides a subtitle-of-motion-picture loading method and apparatus for online playing. The subtitle-of-motion-picture loading method for online playing comprises: obtaining an online playing request of a video and audio file stored in the Cloud; extracting file information of the video and audio file; obtaining a subtitle-of-motion-picture file corresponding to the video and audio file according to the file information; and playing the video and audio file online in response to the online playing request, and loading the subtitle-of-motion-picture file corresponding to the video and audio file in the playing process. By means of the solution of the present invention, a corresponding subtitle-of-motion-picture file can be obtained by means of matching using file information of a played video and audio file, and the subtitle-of-motion-picture file is automatically loaded when the video and audio file is played online in the Cloud, thereby making it convenient for a user to watch content stored in the Cloud online; and the subtitle-of-motion-picture matching degree is high and user operations are omitted, thereby improving the use experiment of the user.

Description

用于在线播放的字幕加载方法和装置Subtitle loading method and device for online play 技术领域Technical field
本发明涉及互联网技术,特别是涉及一种用于在线播放的字幕加载方法和装置。The present invention relates to Internet technologies, and in particular, to a subtitle loading method and apparatus for online play.
背景技术Background technique
字幕(subtitles of motion picture)是指以文字形式显示电视、电影、舞台作品中的对话等非影像内容。影视作品的对话字幕,一般出现在屏幕下方。Subtitles of motion picture refers to the display of non-image content such as dialogues in television, movies, and stage works in text form. The dialogue subtitles of the film and television works generally appear at the bottom of the screen.
字幕的种类有很多种,配合不同格式的影音文件使用,例如有的视频文件在画面中直接嵌入字幕,也就是字幕是画面的一部分,这种字幕的灵活性差,不能隐藏和调整。内置字幕是指在视频文件中包含有字幕数据,可在播放时自动读取,这类字幕数据虽然在视频文件内部,但是可以隐藏和调整。另外还有一种外置字幕,可以作为一个单独文件进行下载和使用。There are many types of subtitles, which are used in conjunction with audio and video files of different formats. For example, some video files embed subtitles directly in the picture, that is, subtitles are part of the picture. Such subtitles have poor flexibility and cannot be hidden and adjusted. Built-in subtitles refer to the subtitle data contained in the video file, which can be automatically read during playback. Although the subtitle data is inside the video file, it can be hidden and adjusted. There is also an external subtitle that can be downloaded and used as a separate file.
目前的主流播放器都提供外置字幕的自动加载功能,可以自动加载与影音文件同一文件夹下的字幕文件,有些播放器还可以自动从网络上匹配下载字幕,这些播放器一般仅能在播放本地存储文件时自动加载字幕。随着云技术的发展,云端存储的影音文件已经可以支持在线播放。由于在线播放云端存储的影音文件无需进行下载,也不占用本地的存储空间,其使用也越来越广泛。然而现有的云端在线播放技术均不支持外置字幕的加载,严重影响了用户使用。The current mainstream players provide automatic loading of external subtitles, which can automatically load subtitle files in the same folder as audio and video files. Some players can also automatically download subtitles from the network. These players can only be played only. Subtitles are automatically loaded when the file is stored locally. With the development of cloud technology, audio and video files stored in the cloud can already support online playback. Since the video files stored in the cloud are not downloaded and do not occupy local storage space, they are used more and more widely. However, the existing cloud online playing technology does not support the loading of external subtitles, which seriously affects the user's use.
发明内容Summary of the invention
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的用于在线播放的字幕加载方法和装置。In view of the above problems, the present invention has been made in order to provide a caption loading method and apparatus for online play that overcomes the above problems or at least partially solves the above problems.
本发明一个进一步的目的是提高用户在线观看播放云端存储的影音文件的体验。A further object of the present invention is to improve the user's experience of playing video files stored in the cloud online.
根据本发明的一个方面,提供了一种用于在线播放的字幕加载方法。该用于在线播放的字幕加载方法包括:获取云端存储的影音文件的在线播放请求;提取影音文件的文件信息;根据文件信息获取影音文件对应的字幕文件;以及在线播放影音文件,以响应在线播放请求,并且在播放过程中加载影音文件对应的字幕文件。According to an aspect of the present invention, a caption loading method for online play is provided. The subtitle loading method for online play includes: acquiring an online play request of a video file stored in the cloud; extracting file information of the audio and video file; acquiring a subtitle file corresponding to the audio and video file according to the file information; and playing the video file online to respond to online play Request, and load the subtitle file corresponding to the audio and video file during playback.
根据本发明的另一个方面,还提供了一种用于在线播放的字幕加载装置。该用于在线播放的字幕加载装置包括:请求获取模块,配置成获取云端存储的影音文件的在线播放请求;信息提取模块,配置成提取影音文件的文件信息;字幕获取模块,配置成根据文件信息获取影音文件对应的字幕文件;以及字幕加载模块,配置成在线播放影音文件,以响应在线播放请求,并且在播放过程中加载影音文件对应的字幕文件。 According to another aspect of the present invention, there is also provided a caption loading device for online play. The subtitle loading device for online play includes: a request acquisition module configured to acquire an online play request of a video file stored in the cloud; an information extraction module configured to extract file information of the audio and video file; and a subtitle acquisition module configured to be based on the file information Obtaining a subtitle file corresponding to the audio and video file; and a subtitle loading module configured to play the audio and video file online to respond to the online play request, and loading the subtitle file corresponding to the audio and video file during the playing process.
依据本发明的又一方面,提供了一种计算机程序,其包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行根据上文所述的用于在线播放的字幕加载方法。According to still another aspect of the present invention, a computer program is provided, comprising computer readable code, when the computer readable code is run on a computing device, causing the computing device to perform the Subtitle loading method for online playback.
依据本发明的再一方面,提供了一种计算机可读介质,其中存储了上述的计算机程序。According to still another aspect of the present invention, a computer readable medium storing the above computer program is provided.
本发明的有益效果包括:Advantageous effects of the present invention include:
本发明的用于在线播放的字幕加载方法和装置,可以利用被播放的影音文件的文件信息匹配得出对应的字幕文件,并在云端在线播放时自动加载字幕文件,便于用户在线观看云端存储的内容,字幕匹配程度高,无需用户操作。The subtitle loading method and device for online play of the present invention can use the file information of the played video file to match the corresponding subtitle file, and automatically load the subtitle file when playing in the cloud online, so that the user can watch the cloud storage online. Content, subtitle matching is high, no user action is required.
进一步地,本发明用于在线播放的字幕加载方法和装置,还可以利用云端存储的大数据,根据实际使用的字幕加载次数匹配得出最合适当前影音文件的字幕,进一步提高了用户的使用体验。Further, the method and device for loading subtitles of the present invention can also utilize the big data stored in the cloud, and the subtitles that are most suitable for the current video file are matched according to the actual number of subtitle loadings, thereby further improving the user experience. .
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, and the above-described and other objects, features and advantages of the present invention can be more clearly understood. Specific embodiments of the invention are set forth below.
附图说明DRAWINGS
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those skilled in the art from a The drawings are only for the purpose of illustrating the preferred embodiments and are not to be construed as limiting. Throughout the drawings, the same reference numerals are used to refer to the same parts. In the drawing:
图1是根据本发明一个实施例的用于在线播放的字幕加载装置的应用系统架构图;1 is a structural diagram of an application system of a caption loading device for online play according to an embodiment of the present invention;
图2是根据本发明一个实施例的用于在线播放的字幕加载装置的示意图;2 is a schematic diagram of a caption loading device for online play according to an embodiment of the present invention;
图3是根据本发明另一实施例的用于在线播放的字幕加载装置的示意图;3 is a schematic diagram of a caption loading device for online play according to another embodiment of the present invention;
图4是根据本发明一个实施例的用于在线播放的字幕加载的方法的示意图;4 is a schematic diagram of a method for subtitle loading for online play, in accordance with one embodiment of the present invention;
图5示意性地示出了用于执行根据本发明的用于在线播放的字幕加载的方法的计算设备的框图;以及Figure 5 is a schematic block diagram of a computing device for performing a method of subtitle loading for online play in accordance with the present invention;
图6示意性地示出了用于保持或者携带实现根据本发明的用于在线播放的字幕加载的方法的程序代码的存储单元。Fig. 6 schematically shows a storage unit for holding or carrying program code implementing a method of subtitle loading for online play according to the present invention.
具体实施方式detailed description
下面结合附图和具体的实施方式对本发明作进一步的描述。The invention is further described below in conjunction with the drawings and specific embodiments.
图1是根据本发明一个实施例的用于在线播放的字幕加载装置的应用系统架构图,多个云端存储客户端110可以配置各类用户终端设备中,例如智能手机、个人 电脑、平板电脑等具有网络连接功能的智能终端中。云端存储客户端110为客户提供云端存储的本地功能,在本实施例中云端存储客户端110可以向云端存储服务器120发出在线播放请求,并将云端存储服务器120响应于在线播放请求的流媒体播放数据进行播放。1 is an application system architecture diagram of a caption loading device for online play according to an embodiment of the present invention. A plurality of cloud storage clients 110 may be configured in various types of user terminal devices, such as smart phones and individuals. In a smart terminal with a network connection function such as a computer or a tablet. The cloud storage client 110 provides the client with a local function of the cloud storage. In this embodiment, the cloud storage client 110 can send an online play request to the cloud storage server 120, and the cloud storage server 120 plays the streaming media response in response to the online play request. The data is played.
云端存储服务器120过互联网或其他数据传输通道与云端存储客户端110数据连接,用于存储用户各种文件和数据。在本实施例中,云端存储服务器120可以响应云端存储客户端110的在线播放请求,并提供相应的流媒体数据。此外云端存储服务器120还可以搜索当前播放影音文件对应的字幕文件,供云端存储客户端110加载。The cloud storage server 120 is connected to the cloud storage client 110 through the Internet or other data transmission channel for storing various files and data of the user. In this embodiment, the cloud storage server 120 can respond to the online play request of the cloud storage client 110 and provide corresponding streaming media data. In addition, the cloud storage server 120 can also search for the subtitle file corresponding to the currently played video file for the cloud storage client 110 to load.
图2是根据本发明一个实施例的用于在线播放的字幕加载装置200的示意图,该用于在线播放的字幕加载装置一般性地可以包括:请求获取模块210、信息提取模块220、字幕获取模块230、以及字幕加载模块240。FIG. 2 is a schematic diagram of a caption loading device 200 for online play according to an embodiment of the present invention. The caption loading device for online play may generally include: a request acquiring module 210, an information extracting module 220, and a caption acquiring module. 230, and a subtitle loading module 240.
请求获取模块210可以配置成获取云端存储的影音文件的在线播放请求;该在线播放请求中可以包括有需要播放的影音文件的各种信息,例如文件名、标识、URL(Uniform Resource Locator,统一资源定位器)。此外在线播放请求中还可以包括请求方的标识、密码等用户信息,以供验证用户的权限。The request obtaining module 210 may be configured to obtain an online play request of the video file stored in the cloud; the online play request may include various information of the video file to be played, such as a file name, an identifier, and a URL (Uniform Resource Locator) Locator). In addition, the online play request may further include user information such as the identifier of the requester, a password, and the like for verifying the authority of the user.
信息提取模块220可以配置成提取影音文件的文件信息,这些文件信息可以包括影音文件的散列值、影音文件的文件名、影音文件的长度、影音文件的大小、影音文件的版权信息、影音文件的文件格式。利用这些文件信息可以确定出需要在线播放的影音文件,并且可以作为匹配字幕的依据。The information extraction module 220 may be configured to extract file information of the audio and video files, and the file information may include a hash value of the audio and video file, a file name of the audio and video file, a length of the audio and video file, a size of the video file, a copyright information of the video file, and a video file. File format. Using these file information, you can determine the audio and video files that need to be played online, and can be used as a basis for matching subtitles.
字幕获取模块230可以配置成根据文件信息获取影音文件对应的字幕文件,优选地,字幕获取模块230根据文件信息从云端存储的字幕文件中匹配出影音文件对应的字幕文件。云端存储的字幕文件可以并不局限于播放请求的发送方预先存储于云端的文件,还可以包括云端存储的所有文件,例如其他用户上传的文件。在云端存储的字幕文件中不存在影音文件对应的字幕文件的情况下,字幕获取模块230还可以配置成:根据文件信息从互联网上抓取影音文件对应的字幕文件,并保存至云端中。也就是字幕获取模块230可以自动利用互联网资源实现字幕的抓取。The subtitle obtaining module 230 may be configured to acquire the subtitle file corresponding to the audio and video file according to the file information. Preferably, the subtitle obtaining module 230 matches the subtitle file corresponding to the audio and video file from the subtitle file stored in the cloud according to the file information. The subtitle file stored in the cloud may be not limited to files stored in the cloud by the sender of the play request, and may also include all files stored in the cloud, such as files uploaded by other users. In a case where the subtitle file corresponding to the audio and video file does not exist in the subtitle file stored in the cloud, the subtitle obtaining module 230 may be configured to: capture the subtitle file corresponding to the audio and video file from the Internet according to the file information, and save the subtitle file to the cloud. That is, the subtitle acquisition module 230 can automatically utilize the Internet resources to implement the capture of the subtitles.
图3是根据本发明另一实施例的用于在线播放的字幕加载装置200的示意图,该实施例的用于在线播放的字幕加载装置200在上一实施例的基础上还可以进一步增加设置:字幕选择模块250、统计模块260、排序模块270、权限验证模块280。以上模块可以根据本实施例的用于在线播放的字幕加载装置200的所要实现的功能灵活进行配置。FIG. 3 is a schematic diagram of a caption loading device 200 for online play according to another embodiment of the present invention. The caption loading device 200 for online play of this embodiment may further add settings based on the previous embodiment: Subtitle selection module 250, statistics module 260, sorting module 270, and rights verification module 280. The above modules can be flexibly configured according to the functions to be implemented of the caption loading device 200 for online play of the present embodiment.
在字幕获取模块230获取到的影音文件对应的字幕文件为多个的情况下,例如多种语言的字幕文件、不同版本的字幕文件等,字幕选择模块250可以配置成在播放界面中提供字幕选择接口,利用选择接口获取对多个影音文件对应的字幕文件的 选择操作;以及以供字幕加载模块加载被选择的影音文件对应的字幕文件,该选择接口可以为预置于设置菜单中的复选框、下拉框、按钮等,在实际使用时,可不限于以上形式。In a case where there are a plurality of subtitle files corresponding to the video file acquired by the subtitle obtaining module 230, such as a subtitle file of a plurality of languages, a subtitle file of a different version, or the like, the subtitle selection module 250 may be configured to provide subtitle selection in the play interface. Interface, using a selection interface to obtain a subtitle file corresponding to a plurality of audio and video files Selecting an operation; and loading a subtitle file corresponding to the selected video file by the caption loading module, the selection interface may be a check box, a drop-down box, a button, etc. preset in the setting menu, and may not be limited to the above when actually used. form.
另外本实施例的用于在线播放的字幕加载装置200还可以利用大数据的数据统计功能为在线播放的观看者提供更好的观看体验。其中一种可选的方式,通过统计不同用户对字幕的选择次数,确定更适合的字幕。例如统计模块260可以配置成统计多个影音文件对应的字幕文件的被选择的次数。排序模块270配置成按照次数对多个影音文件对应的字幕文件进行排序;并且字幕选择模块250还配置成:按照排序的结果在字幕选择接口中展示多个影音文件对应的字幕文件,被选择次数最多的字幕优选为排序第一的字幕,方便了用户进行选择。In addition, the caption loading device 200 for online play of this embodiment can also utilize the data statistics function of big data to provide a better viewing experience for viewers playing online. One of the alternative ways is to determine the more suitable subtitles by counting the number of times the different users select the subtitles. For example, the statistics module 260 can be configured to count the selected number of times of the subtitle files corresponding to the plurality of video files. The sorting module 270 is configured to sort the subtitle files corresponding to the plurality of video files according to the number of times; and the subtitle selection module 250 is further configured to: display the subtitle files corresponding to the plurality of video files in the subtitle selection interface according to the sorted result, the selected number of times The most subtitles are preferably the first subtitles, which is convenient for the user to select.
字幕加载模块240还可以在获取对多个影音文件对应的字幕文件的选择操作的步骤之前,将被选择的次数最多的影音文件对应的字幕文件作为初始字幕并加载。从而将符合多数用户观看喜好的字幕作为初始字幕,更加节省了用户的操作,进一步提高了使用便利性。The subtitle loading module 240 may also load the subtitle file corresponding to the most frequently selected video file as the initial subtitle and before loading the step of selecting the subtitle file corresponding to the plurality of video files. Therefore, the subtitles that meet the preferences of most users are used as the initial subtitles, which further saves the user's operation and further improves the convenience of use.
此外,权限验证模块280还可以配置成验证发送在线播放请求的客户端具备播放影音文件的权限。权限验证模块280可以根据在线播放请求附属的用户标识信息确定该用户的权限,仅允许用户观看其权限内的影音节目。例如权限验证模块280可仅允许用户在线播放其自行上传的影音文件。In addition, the rights verification module 280 can also be configured to verify that the client that sends the online play request has the right to play the video file. The rights verification module 280 can determine the rights of the user according to the user identification information attached to the online play request, and only allow the user to view the audio and video programs within the rights. For example, the rights verification module 280 can only allow users to play their own uploaded video files online.
本发明实施例还提供了一种用于在线播放的字幕加载方法。该用于在线播放的字幕加载方法可由以上实施例中的任一种用于在线播放的字幕加载装置200来执行,以为在线观看云端存储的影音文件的用户提供准确的字幕。图4是根据本发明一个实施例的用于在线播放的字幕加载的方法的示意图。该用于在线播放的字幕记载的方法一般性地可以包括:The embodiment of the invention further provides a subtitle loading method for online play. The caption loading method for online play can be performed by the caption loading device 200 for online play of any of the above embodiments to provide accurate captions for users who view the cloud-stored video files online. 4 is a schematic diagram of a method for subtitle loading for online play, in accordance with one embodiment of the present invention. The method of subtitle recording for online play may generally include:
步骤S402,获取云端存储的影音文件的在线播放请求;Step S402, acquiring an online play request of the video file stored in the cloud;
步骤S404,提取影音文件的文件信息;Step S404, extracting file information of the video file;
步骤S406,根据文件信息获取影音文件对应的字幕文件;Step S406, acquiring a subtitle file corresponding to the audio and video file according to the file information;
步骤S408,在线播放影音文件,以响应在线播放请求,并且在播放过程中加载影音文件对应的字幕文件。Step S408, playing the video file online to respond to the online play request, and loading the subtitle file corresponding to the video file during the playing process.
步骤S402中获取到的在线播放请求可以由云端存储的用户通过云端存储客户端生成并发送。该在线播放请求可以包括有需要播放的影音文件的标识信息以及用户的标识等登录信息。步骤S402在获取到在线播放请求后,可以对在线播放请求进行解析等操作,并根据登录信息验证发送在线播放请求的云端客户端110具备其所请求播放的影音文件的在线播放权限。云端客户端110可以配置于用户使用的各种具有网络连接功能的智能终端中,例如但不限于智能手机、个人电脑、平板电脑等设备。 The online play request obtained in step S402 can be generated and sent by the cloud storage user through the cloud storage client. The online play request may include login information such as identification information of the video file to be played and an identifier of the user. After obtaining the online play request, the step S402 may perform an operation such as parsing the online play request, and verify that the cloud client 110 that sends the online play request has the online play permission of the video file requested to be played according to the login information. The cloud client 110 can be configured in various smart terminals with network connection functions used by the user, such as but not limited to devices such as smart phones, personal computers, and tablets.
步骤S404可以根据在线播放请求中解析出的数据,提取影音文件的文件信息,这些信息可以包括但不限于:影音文件的散列值、影音文件的文件名、影音文件的长度、影音文件的大小、影音文件的版权信息、影音文件的文件格式。利用这些文件信息可以确定出需要在线播放的影音文件,并且可以作为匹配字幕的依据。Step S404 may extract file information of the video file according to the data parsed in the online play request, and the information may include, but is not limited to, a hash value of the video file, a file name of the video file, a length of the video file, and a size of the video file. , copyright information of audio and video files, file format of audio and video files. Using these file information, you can determine the audio and video files that need to be played online, and can be used as a basis for matching subtitles.
步骤S406可以从云端存储的文件中查询出需要播放的影音文件的字幕文件,例如步骤S406的一种可选流程为根据文件信息从云端存储的字幕文件中匹配出影音文件对应的字幕文件。云端存储的字幕文件可以并不局限于播放请求的发送方预先存储于云端的文件,还可以包括云端存储的所有文件。在云端存储的字幕文件中不存在影音文件对应的字幕文件的情况下,还可以进一步根据文件信息从互联网上抓取影音文件对应的字幕文件,并保存至云端中。抓取影音文件对应的字幕文件的一种可选成为:根据影音文件的文件信息生成字幕查询请求,向互联网上的字幕资源库发送字幕查询请求,抓取字幕资源库响应于字幕查询请求返回的字幕文件,进一步地,还可以对返回的字幕文件与影音文件进行匹配,例如从长度等方面确认字幕文件的匹配程度。如果匹配则将字幕文件与影音文件进行关联存储。In step S406, the subtitle file of the video file to be played may be queried from the file stored in the cloud. For example, an optional process of step S406 is to match the subtitle file corresponding to the video file from the subtitle file stored in the cloud according to the file information. The subtitle file stored in the cloud may not be limited to files stored in the cloud by the sender of the play request, and may also include all files stored in the cloud. In the case that the subtitle file corresponding to the audio and video file does not exist in the subtitle file stored in the cloud, the subtitle file corresponding to the audio and video file may be further captured from the Internet according to the file information, and saved to the cloud. The optional subtitle file corresponding to the video file is: generating a subtitle query request according to the file information of the audio and video file, and sending a subtitle query request to the subtitle resource library on the Internet, and the subtitle resource library is returned in response to the subtitle query request. The subtitle file, further, may also match the returned subtitle file with the video file, for example, confirm the matching degree of the subtitle file from the length and the like. If it matches, the subtitle file is stored in association with the video file.
由于互联网上的字幕文件的格式较多,步骤S406在获取到字幕文件后还可以转换为统一的支持在线播放的格式,以供自动加载。Since the format of the subtitle file on the Internet is large, the step S406 can also be converted into a unified format for supporting online play after the subtitle file is acquired, for automatic loading.
同一影音文件对应的字幕可能存在多种版本,例如不同语言的版本、不同翻译制作人员的版本等。例如同一个高清的电影文件,可以同时对应有:中文字幕文件、英文字幕文件、中英文对照字幕文件、粤语字幕文件等多个版本的字幕文件。不同的字幕文件适合于不同的用户使用。在此情况先在播放过程中加载影音文件对应的字幕文件的步骤还可以在播放界面中提供字幕选择接口,利用选择接口获取对多个影音文件对应的字幕文件的选择操作;以及加载被选择的影音文件对应的字幕文件。一种可选的流程为,在播放界面中或者在线播放的设置界面中预置一个字幕选择按钮,在该字幕选择按钮被用户选择后,以列表等形式提供多种字幕文件的名称等信息,以供观看者选择,并按照选择出字幕文件进行加载播放,满足用户的使用要求。There may be multiple versions of subtitles corresponding to the same audio file, such as versions in different languages, versions of different translation producers, and the like. For example, the same high-definition movie file can simultaneously have multiple versions of subtitle files such as Chinese subtitle files, English subtitle files, Chinese and English control subtitle files, and Cantonese subtitle files. Different subtitle files are suitable for different users. In this case, the step of loading the subtitle file corresponding to the audio and video file in the playback process may further provide a subtitle selection interface in the play interface, and use the selection interface to obtain a selection operation of the subtitle file corresponding to the plurality of audio and video files; and loading the selected The subtitle file corresponding to the audio and video file. An optional process is: preset a subtitle selection button in a play interface or a setting interface for online play, and after the subtitle selection button is selected by the user, provide information such as the name of the plurality of subtitle files in the form of a list, etc. For the viewer to choose, and according to the selected subtitle file for loading and playing, to meet the user's use requirements.
本实施例的用于在线播放的字幕加载方法还可以利用大数据的数据统计功能为在线播放的观看者提供更好的观看体验。其中一种可选的方式,通过统计不同用户对字幕的选择次数,确定更适合的字幕。例如可以统计影音文件在播放时对应的多个字幕分别被选择的次数,按照次数对多个影音文件对应的字幕文件进行排序。在上述字幕信息的展示列表中,可按照排序结果进行排列,例如将被选择次数最多的字幕作为列表的首项,以供用户优选选择。The caption loading method for online play of this embodiment can also utilize the data statistics function of big data to provide a better viewing experience for viewers playing online. One of the alternative ways is to determine the more suitable subtitles by counting the number of times the different users select the subtitles. For example, the number of times that the plurality of subtitles corresponding to the audio and video file are selected during playback may be counted, and the subtitle files corresponding to the plurality of video files are sorted according to the number of times. In the display list of the subtitle information, the ranking result may be arranged, for example, the subtitle with the most selection time is used as the first item of the list for the user to select.
在获取对多个影音文件对应的字幕文件的选择操作的步骤之前还可以包括:将被选择的次数最多的影音文件对应的字幕文件作为初始字幕并加载。从而将符合多数用户观看喜好的字幕作为初始字幕,更加节省了用户的操作,进一步提高了使用便利性。 Before the step of obtaining a selection operation of the subtitle file corresponding to the plurality of video files, the method further includes: loading the subtitle file corresponding to the video file with the most selected number of times as the initial subtitle. Therefore, the subtitles that meet the preferences of most users are used as the initial subtitles, which further saves the user's operation and further improves the convenience of use.
本实施例的用于在线播放的字幕加载方法和装置,可以利用被播放的影音文件的文件信息匹配得出对应的字幕文件,并在云端在线播放时自动加载字幕文件,便于用户在线观看云端存储的内容,字幕匹配程度高,无需用户操作并且还可以利用云端存储的大数据,根据实际使用的字幕加载次数匹配得出最合适当前影音文件的字幕,进一步提高了用户的使用体验。The caption loading method and device for online play in this embodiment can use the file information of the played video file to match the corresponding subtitle file, and automatically load the subtitle file when playing in the cloud online, so that the user can watch the cloud storage online. The content of the subtitles is highly matched, and no user operation is required, and the big data stored in the cloud can be utilized, and the subtitles that are most suitable for the current audio and video files are matched according to the actual number of subtitle loadings, thereby further improving the user experience.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that the embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of the description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, the various features of the invention are sometimes grouped together into a single embodiment, in the above description of the exemplary embodiments of the invention, Figure, or a description of it. However, the method disclosed is not to be interpreted as reflecting the intention that the claimed invention requires more features than those recited in the claims. Rather, as the following claims reflect, inventive aspects reside in less than all features of the single embodiments disclosed herein. Therefore, the claims following the specific embodiments are hereby explicitly incorporated into the embodiments, and each of the claims as a separate embodiment of the invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will appreciate that the modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components. In addition to such features and/or at least some of the processes or units being mutually exclusive, any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined. Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features that are included in other embodiments and not in other features, combinations of features of different embodiments are intended to be within the scope of the present invention. Different embodiments are formed and formed. For example, in the following claims, any one of the claimed embodiments can be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的用于在线播放的字幕加载装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。 The various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or digital signal processor (DSP) may be used in practice to implement some or all of some or all of the components of the caption loading device for online play in accordance with embodiments of the present invention. Features. The invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein. Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
例如,图5示出了可以实现用于在线播放的字幕加载方法的计算设备。该计算设备传统上包括处理器510和以存储器520形式的计算机程序产品或者计算机可读介质。存储器520可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器520具有用于执行上述方法中的任何方法步骤的程序代码531的存储空间530。例如,用于程序代码的存储空间530可以包括分别用于实现上面的方法中的各种步骤的各个程序代码531。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图6所述的便携式或者固定存储单元。该存储单元可以具有与图5的计算设备中的存储器520类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码531’,即可以由例如诸如510之类的处理器读取的代码,这些代码当由计算设备运行时,导致该计算设备执行上面所描述的方法中的各个步骤。For example, Figure 5 illustrates a computing device that can implement a caption loading method for online play. The computing device conventionally includes a processor 510 and a computer program product or computer readable medium in the form of a memory 520. The memory 520 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM. Memory 520 has a memory space 530 for program code 531 for performing any of the method steps described above. For example, storage space 530 for program code may include various program code 531 for implementing various steps in the above methods, respectively. The program code can be read from or written to one or more computer program products. These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such computer program products are typically portable or fixed storage units as described with reference to FIG. The storage unit may have storage segments, storage spaces, and the like that are similarly arranged to memory 520 in the computing device of FIG. The program code can be compressed, for example, in an appropriate form. Typically, the storage unit includes computer readable code 531 ', ie, code readable by a processor, such as 510, that when executed by a computing device causes the computing device to perform each of the methods described above step.
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。"an embodiment," or "an embodiment," or "an embodiment," In addition, it is noted that the phrase "in one embodiment" is not necessarily referring to the same embodiment.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It is to be noted that the above-described embodiments are illustrative of the invention and are not intended to be limiting, and that the invention may be devised without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as a limitation. The word "comprising" does not exclude the presence of the elements or steps that are not recited in the claims. The word "a" or "an" The invention can be implemented by means of hardware comprising several distinct elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means can be embodied by the same hardware item. The use of the words first, second, and third does not indicate any order. These words can be interpreted as names.
此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。 In addition, it should be noted that the language used in the specification has been selected for the purpose of readability and teaching, and is not intended to be construed or limited. Therefore, many modifications and changes will be apparent to those skilled in the art without departing from the scope of the invention. The disclosure of the present invention is intended to be illustrative, and not restrictive, and the scope of the invention is defined by the appended claims.

Claims (18)

  1. 一种用于在线播放的字幕加载方法,包括:A subtitle loading method for online play, comprising:
    获取云端存储的影音文件的在线播放请求;Obtain an online play request of a video file stored in the cloud;
    提取所述影音文件的文件信息;Extracting file information of the video file;
    根据所述文件信息获取所述影音文件对应的字幕文件;以及Obtaining a subtitle file corresponding to the audio and video file according to the file information;
    在线播放所述影音文件,以响应所述在线播放请求,并且在播放过程中加载所述影音文件对应的字幕文件。The video file is played online in response to the online play request, and the subtitle file corresponding to the video file is loaded during playback.
  2. 根据权利要求1所述的方法,其中,根据文件信息获取所述影音文件对应的字幕文件的步骤包括:The method of claim 1, wherein the step of acquiring the subtitle file corresponding to the video file according to the file information comprises:
    根据所述文件信息从所述云端存储的字幕文件中匹配出所述影音文件对应的字幕文件。And matching, according to the file information, a subtitle file corresponding to the video file from the subtitle file stored in the cloud.
  3. 根据权利要求2所述的方法,其中,The method of claim 2, wherein
    在所述云端存储的字幕文件中不存在所述影音文件对应的字幕文件的情况下,根据所述文件信息从互联网上抓取所述影音文件对应的字幕文件,并保存至所述云端中。If the subtitle file corresponding to the video file does not exist in the subtitle file stored in the cloud, the subtitle file corresponding to the video file is captured from the Internet according to the file information, and saved in the cloud.
  4. 根据权利要求1至3中任一项所述的方法,其中,The method according to any one of claims 1 to 3, wherein
    所述影音文件对应的字幕文件为多个;并且The video file corresponds to a plurality of subtitle files; and
    在播放过程中加载所述影音文件对应的字幕文件的步骤包括:在播放界面中提供字幕选择接口,利用所述选择接口获取对多个所述影音文件对应的字幕文件的选择操作;以及加载被选择出的所述影音文件对应的字幕文件。The step of loading the subtitle file corresponding to the video file during the playback process includes: providing a subtitle selection interface in the play interface, and acquiring, by using the selection interface, a selection operation of the subtitle file corresponding to the plurality of the audio and video files; The selected subtitle file corresponding to the audio and video file.
  5. 根据权利要求4所述的方法,还包括:The method of claim 4 further comprising:
    统计多个所述影音文件对应的字幕文件的被选择的次数;Counting the selected number of times of the subtitle files corresponding to the plurality of video files;
    按照所述次数对多个所述影音文件对应的字幕文件进行排序;并且Sorting the subtitle files corresponding to the plurality of video files according to the number of times; and
    在播放界面中提供字幕选择接口的步骤包括:按照所述排序的结果在所述字幕选择接口中展示多个所述影音文件对应的字幕文件。The step of providing a caption selection interface in the play interface includes: displaying a plurality of caption files corresponding to the video file in the caption selection interface according to the sorted result.
  6. 根据权利要求5所述的方法,其中,在获取对多个所述影音文件对应的字幕文件的选择操作的步骤之前还包括:The method according to claim 5, further comprising: before the step of acquiring a selection operation of the subtitle file corresponding to the plurality of video files:
    将被选择的次数最多的所述影音文件对应的字幕文件作为初始字幕并加载。The subtitle file corresponding to the video file with the most selection is selected as the initial subtitle and loaded.
  7. 根据权利要求1至6中任一项所述的方法,其中,在获取云端存储的影音文件的在线播放请求的步骤之后还包括:The method according to any one of claims 1 to 6, further comprising: after acquiring the online play request of the video file stored in the cloud, the method further comprising:
    验证发送所述在线播放请求的客户端具备播放所述影音文件的权限。The client that sends the online play request is verified to have the right to play the video file.
  8. 根据权利要求1至7中任一项所述的方法,其中所述文件信息包括以下任意一项或多项:The method according to any one of claims 1 to 7, wherein the file information comprises any one or more of the following:
    所述影音文件的散列值、所述影音文件的文件名、所述影音文件的长度、所述影 音文件的大小、所述影音文件的版权信息、所述影音文件的文件格式。a hash value of the video file, a file name of the video file, a length of the video file, and the shadow The size of the sound file, the copyright information of the video file, and the file format of the video file.
  9. 一种用于在线播放的字幕加载装置,包括:A caption loading device for online play, comprising:
    请求获取模块,配置成获取云端存储的影音文件的在线播放请求;The request acquisition module is configured to obtain an online play request of the video file stored in the cloud;
    信息提取模块,配置成提取所述影音文件的文件信息;An information extraction module configured to extract file information of the audio and video file;
    字幕获取模块,配置成根据所述文件信息获取所述影音文件对应的字幕文件;以及a subtitle obtaining module, configured to acquire a subtitle file corresponding to the audio and video file according to the file information;
    字幕加载模块,配置成在线播放所述影音文件,以响应所述在线播放请求,并且在播放过程中加载所述影音文件对应的字幕文件。And a caption loading module configured to play the video file online in response to the online play request, and load a subtitle file corresponding to the video file during playing.
  10. 根据权利要求9所述的装置,其中所述字幕获取模块还配置成:The apparatus of claim 9, wherein the caption acquisition module is further configured to:
    根据所述文件信息从所述云端存储的字幕文件中匹配出所述影音文件对应的字幕文件。And matching, according to the file information, a subtitle file corresponding to the video file from the subtitle file stored in the cloud.
  11. 根据权利要求10所述的装置,其中,The device according to claim 10, wherein
    在所述云端存储的字幕文件中不存在所述影音文件对应的字幕文件的情况下,所述字幕获取模块还配置成:根据所述文件信息从互联网上抓取所述影音文件对应的字幕文件,并保存至所述云端中。In a case where the subtitle file corresponding to the video file does not exist in the subtitle file stored in the cloud, the subtitle obtaining module is further configured to: capture the subtitle file corresponding to the audio and video file from the Internet according to the file information. And saved to the cloud.
  12. 根据权利要求9至11中任一项所述的装置,其中,The apparatus according to any one of claims 9 to 11, wherein
    所述影音文件对应的字幕文件为多个;并且The video file corresponds to a plurality of subtitle files; and
    所述装置还包括字幕选择模块,所述字幕选择模块配置成:在播放界面中提供字幕选择接口,利用所述选择接口获取对多个所述影音文件对应的字幕文件的选择操作;以及以供所述字幕加载模块加载被选择出的所述影音文件对应的字幕文件。The device further includes a subtitle selection module, the subtitle selection module is configured to: provide a subtitle selection interface in the play interface, and use the selection interface to acquire a selection operation of the subtitle file corresponding to the plurality of the audio and video files; The caption loading module loads the subtitle file corresponding to the selected video file.
  13. 根据权利要求12所述的装置,还包括:The apparatus of claim 12, further comprising:
    统计模块,配置成统计多个所述影音文件对应的字幕文件的被选择的次数;以及a statistics module configured to count the selected number of times of the subtitle files corresponding to the plurality of video files;
    排序模块,配置成按照所述次数对多个所述影音文件对应的字幕文件进行排序;并且a sorting module configured to sort the subtitle files corresponding to the plurality of video files according to the number of times; and
    所述字幕选择模块还配置成:按照所述排序的结果在所述字幕选择接口中展示多个所述影音文件对应的字幕文件。The caption selection module is further configured to display a plurality of caption files corresponding to the video file in the caption selection interface according to the sorted result.
  14. 根据权利要求13所述的装置,其中,The device according to claim 13, wherein
    所述字幕加载模块还配置成:在获取对多个所述影音文件对应的字幕文件的选择操作的步骤之前,将被选择的次数最多的所述影音文件对应的字幕文件作为初始字幕并加载。The caption loading module is further configured to: before acquiring the step of selecting a caption file corresponding to the plurality of the video files, the caption file corresponding to the video file with the most selected number of times is used as the initial caption and loaded.
  15. 根据权利要求9至14中任一项所述的装置,还包括:The apparatus according to any one of claims 9 to 14, further comprising:
    权限验证模块,配置成验证发送所述在线播放请求的客户端具备播放所述影音文件的权限。The rights verification module is configured to verify that the client that sends the online play request has the right to play the video file.
  16. 根据权利要求9至14中任一项所述的装置,其中所述文件信息包括以下任意一项或多项: The apparatus according to any one of claims 9 to 14, wherein the file information comprises any one or more of the following:
    所述影音文件的散列值、所述影音文件的文件名、所述影音文件的长度、所述影音文件的大小、所述影音文件的版权信息、所述影音文件的文件格式。a hash value of the video file, a file name of the video file, a length of the video file, a size of the video file, copyright information of the video file, and a file format of the video file.
  17. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行根据权利要求1至8任一项所述的用于在线播放的字幕加载方法。A computer program comprising computer readable code, when the computer readable code is run on a computing device, causing the computing device to perform subtitle loading for online play according to any one of claims 1-8 method.
  18. 一种计算机可读介质,其中存储了如权利要求17所述的计算机程序。 A computer readable medium storing the computer program of claim 17.
PCT/CN2016/084556 2015-07-01 2016-06-02 Subtitle-of-motion-picture loading method and apparatus for online playing WO2017000744A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510379775.9A CN105100833A (en) 2015-07-01 2015-07-01 Subtitle loading method and device for online playing
CN201510379775.9 2015-07-01

Publications (1)

Publication Number Publication Date
WO2017000744A1 true WO2017000744A1 (en) 2017-01-05

Family

ID=54580233

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084556 WO2017000744A1 (en) 2015-07-01 2016-06-02 Subtitle-of-motion-picture loading method and apparatus for online playing

Country Status (2)

Country Link
CN (1) CN105100833A (en)
WO (1) WO2017000744A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111601142A (en) * 2020-05-08 2020-08-28 青岛海信传媒网络技术有限公司 Subtitle display method and display equipment

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100833A (en) * 2015-07-01 2015-11-25 北京奇虎科技有限公司 Subtitle loading method and device for online playing
CN106804011B (en) * 2017-02-10 2021-03-30 深圳创维数字技术有限公司 Method and system for loading subtitle file during video playing
CN110798635A (en) * 2019-10-16 2020-02-14 重庆爱奇艺智能科技有限公司 Method and device for matching subtitle files for video
CN113923473A (en) * 2021-09-28 2022-01-11 安徽听见科技有限公司 Video and audio playing method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179093A (en) * 2011-12-22 2013-06-26 腾讯科技(深圳)有限公司 Matching system and method for video subtitles
US20130347023A1 (en) * 2012-05-21 2013-12-26 Rnd By Us B.V. Method for requesting digital content, for providing digital content, and for producing a personal profile of a user
CN103678381A (en) * 2012-09-17 2014-03-26 腾讯科技(深圳)有限公司 Caption processing method, device and system
US9031382B1 (en) * 2011-10-20 2015-05-12 Coincident.Tv, Inc. Code execution in complex audiovisual experiences
CN104702988A (en) * 2015-03-13 2015-06-10 小米科技有限责任公司 AV (Audio/Video) playing method and device
CN105100833A (en) * 2015-07-01 2015-11-25 北京奇虎科技有限公司 Subtitle loading method and device for online playing

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR960003880B1 (en) * 1992-10-12 1996-03-23 엘지전자주식회사 Caption display control apparatus and the method thereof
CN103309865B (en) * 2012-03-07 2017-03-22 腾讯科技(深圳)有限公司 Method and system for realizing video source clustering

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9031382B1 (en) * 2011-10-20 2015-05-12 Coincident.Tv, Inc. Code execution in complex audiovisual experiences
CN103179093A (en) * 2011-12-22 2013-06-26 腾讯科技(深圳)有限公司 Matching system and method for video subtitles
US20130347023A1 (en) * 2012-05-21 2013-12-26 Rnd By Us B.V. Method for requesting digital content, for providing digital content, and for producing a personal profile of a user
CN103678381A (en) * 2012-09-17 2014-03-26 腾讯科技(深圳)有限公司 Caption processing method, device and system
CN104702988A (en) * 2015-03-13 2015-06-10 小米科技有限责任公司 AV (Audio/Video) playing method and device
CN105100833A (en) * 2015-07-01 2015-11-25 北京奇虎科技有限公司 Subtitle loading method and device for online playing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111601142A (en) * 2020-05-08 2020-08-28 青岛海信传媒网络技术有限公司 Subtitle display method and display equipment

Also Published As

Publication number Publication date
CN105100833A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
WO2017000744A1 (en) Subtitle-of-motion-picture loading method and apparatus for online playing
US11109117B2 (en) Unobtrusively enhancing video content with extrinsic data
WO2017161776A1 (en) Bullet comment pushing method and device
EP2901631B1 (en) Enriching broadcast media related electronic messaging
KR102212355B1 (en) Identification and presentation of internet-accessible content associated with currently playing television programs
US8689255B1 (en) Synchronizing video content with extrinsic data
US9332313B2 (en) Personalized augmented A/V stream creation
US7904452B2 (en) Information providing server, information providing method, and information providing system
US9426411B2 (en) Method and apparatus for generating summarized information, and server for the same
CN103004228A (en) Obtaining keywords for searching
US8805866B2 (en) Augmenting metadata using user entered metadata
US10694263B2 (en) Descriptive metadata extraction and linkage with editorial content
US9578359B2 (en) Localization process system
US9367572B2 (en) Metadata-based file-identification systems and methods
US20190109882A1 (en) System and Method for Assembling and Playing a Composite Audiovisual Program Using Single-Action Content Selection Gestures and Content Stream Generation
US20070016549A1 (en) Method system, and digital media for controlling how digital assets are to be presented in a playback device
BR112019010925A2 (en) recording process of a future broadcast program
US9219945B1 (en) Embedding content of personal media in a portion of a frame of streaming media indicated by a frame identifier
US11342002B1 (en) Caption timestamp predictor
CN101341721B (en) Share the method and apparatus of data content between transmitter and receiver
US10467231B2 (en) Method and device for accessing a plurality of contents, corresponding terminal and computer program
CN104396262A (en) Synchronized movie summary
KR20200042287A (en) Providing Method for music information related to audio/video contents and service device supporting the same
US11729480B2 (en) Systems and methods to enhance interactive program watching
KR101364892B1 (en) Media transmission system and method of obtaining and transmitting media from web page

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16817108

Country of ref document: EP

Kind code of ref document: A1