CN104038832A - Video playing method and device - Google Patents

Video playing method and device Download PDF

Info

Publication number
CN104038832A
CN104038832A CN 201410063134 CN201410063134A CN104038832A CN 104038832 A CN104038832 A CN 104038832A CN 201410063134 CN201410063134 CN 201410063134 CN 201410063134 A CN201410063134 A CN 201410063134A CN 104038832 A CN104038832 A CN 104038832A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
frame
target
image
video
frames
Prior art date
Application number
CN 201410063134
Other languages
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

Links

Abstract

The disclosure discloses a video playing method and device, and belongs to the technical field of videos. The method comprises that an index graph of a target video is generated according to images in multiple frames of the target video. The index graph comprises multiple areas which are corresponding to the images in the multiple frames. A request of a terminal for a target video index is received, and the index graph is sent to the terminal. When an instruction, which is returned by the terminal, for selecting target areas in the multiple areas of the index graph is received, the target video is transmitted to the terminal according to the frames corresponding to the target areas. The index graph for the target video is generated according to the images corresponding to the multiple frames in the target video; and when a user clicks and selects the target areas in the index graph, the target video is played according to the frames corresponding to the target areas. As for the generated index graph, contents in the video can be completely displayed so that video index efficiency is enhanced.

Description

一种播放视频的方法及装置 A method and apparatus for a video

技术领域 FIELD

[0001] 本公开涉及视频技术领域,特别涉及一种播放视频的方法及装置。 [0001] The present disclosure relates to video technology, and particularly relates to a method and an apparatus for playing a video.

背景技术 Background technique

[0002] 随着互联网的发展,网络中存储有越来越多的视频内容以供人们学习和工作使用。 [0002] With the development of Internet, network storage, more and more video content for people to study and work use.

[0003] 在播放视频的时候会加载视频的索引,以便用户根据索引选取该视频中较热门的播放时间点。 [0003] When playing video loaded video index, so that the user selects the more popular video play time point according to the index. 其中,索引在视频的播放进度条中展现,通过在热门的播放时间点设置特定标识,并通过文字的形式对该热门的播放时间点加以描述。 Among them, the index of the video playback progress bar to show, by setting specific identity in the popular play time point, and described by text in the form of the popular play time point. 用户则根据各热门的播放时间点对应的描述选择自己喜好的观看内容并点击对应的特定标识,来设置视频的播放进度。 According to the users of the popular playback time point corresponding description to choose their own viewing preferences and click on a specific content corresponding to the identification, to set the playback progress of the video.

[0004] 发明人发现相关技术至少存在以下问题: [0004] The inventors have found that problems related art has at least the following:

[0005] 通过视频的进度条来展现索引的方式,仅可以得到对视频中内容的文字性的描述,由于这些索引对应的热门的播放时间点是通过用户或视频制作者根据自身的喜好设定的,因此获得的视频的索引并不全面,无法覆盖完整的视频内容。 [0005] index to show the progress bar by way of the video, can be obtained only in the description of the video content of the text, since these popular play time point corresponding to the index is set by the user according to their own preferences or video creator , so the video index obtained is not comprehensive, can not cover the full video content.

发明内容 SUMMARY

[0006] 为了解决相关技术的问题,本公开实施例提供了一种播放视频的方法及装置。 [0006] In order to solve the problems of the related art, embodiments of the present disclosure provides a method and apparatus for video playback. 所述技术方案如下: The technical solutions are as follows:

[0007] 根据本公开实施例的第一方面,提供一种播放视频的方法,包括: [0007] According to a first aspect of the disclosed embodiment of the present embodiment, there is provided a video playback method, comprising:

[0008] 根据目标视频中的多个帧中的图像,生成所述目标视频的索引图,所述索引图中包含与所述多个帧中的图像相对应的多个区域; [0008] The plurality of the target video image frames, generating a target video index map, the index comprising a plurality of drawing regions of said plurality of frames corresponding to an image;

[0009] 接收终端请求所述目标视频索引的请求,并将所述索引图发送给所述终端; [0009] The receiving terminal request requesting the target video index, and the index to the terminal of FIG;

[0010] 当接收到对所述终端返回的对所述索引图的多个区域中目标区域的选取命令时,根据所述目标区域对应的帧开始向所述终端传输所述目标视频。 [0010] When a command is received to select a plurality of regions of the index figure of a target area returned by the terminal, according to a frame corresponding to the target region of the target start transmitting video to the terminal.

[0011] 根据本公开实施例的第二方面,提供一种播放视频的方法,包括: [0011] According to a second aspect of the disclosed embodiment of the present embodiment, there is provided a video playback method, comprising:

[0012] 获取目标视频的索引图,所述索引图根据目标视频中的多个帧中的图像生成,所述索引图中包含与所述多个帧中的图像相对应的多个区域; [0012] FIG acquisition target video index of the target video index map is generated according to a plurality of image frames, the index comprising a plurality of drawing regions of said plurality of frames corresponding to an image;

[0013] 当接收到对所述索引图的多个区域中目标区域的选取命令时,根据所述目标区域对应的帧开始播放所述目标视频。 [0013] When a command is received to select a plurality of regions of the target area in the index image of the target region according to a frame corresponding to the target start playing video.

[0014] 根据本公开实施例的第三方面,提供一种播放视频的装置,包括: [0014] According to a third aspect of the disclosed embodiment of the present embodiment, there is provided a video playback apparatus, comprising:

[0015] 生成模块,用于根据目标视频中的多个帧中的图像,生成所述目标视频的索引图,所述索引图中包含与所述多个帧中的图像相对应的多个区域; [0015] generating module, according to the target in a plurality of frames of video images, FIG generating an index of the target video, the index comprising a plurality of drawing regions of said plurality of frames of image corresponding ;

[0016] 接收模块,用于接收终端请求所述目标视频索引的请求,并将所述索引图发送给所述终端; [0016] a receiving module configured to receive a request terminal requesting the target video index, and the index to the terminal of FIG;

[0017] 传输模块,用于当接收到对所述终端返回的对所述索引图的多个区域中目标区域的选取命令时,根据所述目标区域对应的帧开始向所述终端传输所述目标视频。 [0017] The transmission module, configured to, when receiving the command returned by the terminal to select a plurality of regions in the target region of the index image when the target region according to a frame corresponding to the start transmission to the terminal target video. [0018] 根据本公开实施例的第四方面,提供一种播放视频的装置,包括: [0018] According to a fourth aspect of the disclosed embodiment of the present embodiment, there is provided a video playback apparatus, comprising:

[0019] 获取模块,用于获取目标视频的索引图,所述索引图根据目标视频中的多个帧中的图像生成,所述索引图中包含与所述多个帧中的图像相对应的多个区域; [0019] The acquisition module acquiring a target video index images, the index map is generated according to the target in a plurality of frames of video images, the index of the drawing comprises a plurality of frames of image corresponding a plurality of regions;

[0020] 播放模块,用于当接收到对所述索引图的多个区域中目标区域的选取命令时,根据所述目标区域对应的帧开始播放所述目标视频。 [0020] a playing module, configured to, when receiving a command to select a plurality of regions of the target area in the index image of the target region according to a frame corresponding to the target start playing video.

[0021] 根据本公开实施例的第五方面,提供一种服务器,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令: [0021] According to a fifth aspect of the disclosed embodiment of the present embodiment, there is provided a server comprising a memory and one or more than one program, wherein the one or more programs stored in the memory, and configured to by one or more a processor to perform the one or more programs including instructions for performing the following operations:

[0022] 根据目标视频中的多个帧中的图像,生成所述目标视频的索引图,所述索弓I图中包含与所述多个帧中的图像相对应的多个区域; [0022] The plurality of the target video image frames, generating a target video index images, the index comprising a plurality of figures I bow region and the plurality of frames corresponding to an image;

[0023] 接收终端请求所述目标视频索引的请求,并将所述索引图发送给所述终端; [0023] The receiving terminal request requesting the target video index, and the index to the terminal of FIG;

[0024] 当接收到对所述终端返回的对所述索引图的多个区域中目标区域的选取命令时,根据所述目标区域对应的帧开始向所述终端传输所述目标视频。 [0024] When a command is received to select a plurality of regions of the index figure of a target area returned by the terminal, according to a frame corresponding to the target region of the target start transmitting video to the terminal.

[0025] 根据本公开实施例的第六方面,提供一种终端,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令: [0025] According to a sixth aspect of the disclosed embodiment of the present embodiment, there is provided a terminal comprising a memory, and one or more than one program, wherein the one or more programs stored in the memory, and configured to by one or more a processor to perform the one or more programs including instructions for performing the following operations:

[0026] 获取目标视频的索引图,所述索引图根据目标视频中的多个帧中的图像生成,所述索引图中包含与所述多个帧中的图像相对应的多个区域; [0026] FIG acquisition target video index of the target video index map is generated according to a plurality of image frames, the index comprising a plurality of drawing regions of said plurality of frames corresponding to an image;

[0027] 当接收到对所述索引图的多个区域中目标区域的选取命令时,根据所述目标区域对应的帧开始播放所述目标视频。 [0027] When a command is received to select a plurality of regions of the target area in the index image of the target region according to a frame corresponding to the target start playing video.

[0028] 本公开的实施例提供的技术方案可以包括以下有益效果: [0028] The present embodiment provides a technical solution of the disclosure may comprise the following advantageous effects:

[0029] 根据目标视频中多个帧对应的图像,生成目标视频的索引图;当用户在索引图中点选了目标区域后,根据目标区域对应的帧开始播放该目标视频。 [0029] The video image of the object corresponding to the plurality of frames, generating a target video index image; when the user clicked the drawing target region in the index, according to start playing the video target frame corresponding to the target area. 对于生成的索引图可以完整的体现视频中的内容,提闻了对视频进行索引的效率。 For index map may be generated to reflect the content of complete video, smell mentioned video indexing efficiency.

[0030] 应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。 [0030] It should be understood that both the foregoing general description and the details described hereinafter are merely exemplary and explanatory and are not intended to limit the present disclosure.

附图说明 BRIEF DESCRIPTION

[0031] 此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。 [0031] The accompanying drawings, which are incorporated herein and constitute a part of this specification, illustrate embodiments consistent with the principles of the embodiments of the present disclosure, and together with the description serve to explain the present disclosure.

[0032] 图1是本公开是根据一示例性实施例示出的一种播放视频的方法流程图; [0032] FIG. 1 is a flow diagram of the present disclosure is a method of playing video shown according to an exemplary embodiment;

[0033] 图2是本公开是根据一示例性实施例示出的一种播放视频的方法流程图; [0033] FIG. 2 is a flow diagram of the present disclosure is a method of playing video shown according to an exemplary embodiment;

[0034] 图3是本公开是根据一示例性实施例示出的一种播放视频的方法流程图; [0034] FIG. 3 is a flow diagram of the present disclosure is a method of playing video shown according to an exemplary embodiment;

[0035] 图4是本公开是根据一示例性实施例示出的一种播放视频的方法中索引图的示意图; [0035] FIG. 4 is a schematic diagram illustrating the method of the present disclosure is for a video according to an exemplary embodiment of the index map;

[0036] 图5是本公开是根据一示例性实施例示出的一种播放视频的方法中用户点击索引图中目标区域后终端播放目标区域对应的关键帧的示意图; [0036] FIG. 5 is that the present disclosure in accordance with an exemplary embodiment of a user clicks a schematic view of a key frame corresponding to the target region of the terminal displays the index in FIG method of playing the target area shown in video;

[0037] 图6是本公开是根据一示例性实施例示出的一种播放视频的方法流程图; [0037] FIG 6 is a flowchart illustrating the present disclosure is a method of playing video shown according to an exemplary embodiment;

[0038] 图7是本公开是根据一示例性实施例示出的一种播放视频的装置结构示意图;[0039] 图8是本公开是根据一示例性实施例示出的一种播放视频的装置结构示意图; [0038] FIG. 7 is present disclosure is a schematic view of the device structure according to an exemplary embodiment illustrates a playback video; [0039] FIG 8 that the present disclosure is a device configuration for a video shown according to an exemplary embodiment schematic;

[0040] 图9是本公开是根据一示例性实施例示出的一种服务器设备的结构示意图; [0040] FIG. 9 is a diagram showing that the present structure of a server apparatus according to the illustrated exemplary embodiments of the present disclosure;

[0041] 图10是本公开是根据一示例性实施例示出的一种终端设备的结构示意图。 [0041] FIG. 10 is a schematic view of the present disclosure is a terminal device of the structure shown in accordance with an exemplary embodiment.

具体实施方式 detailed description

[0042] 为使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本公开实施方式作进一步地详细描述。 [0042] For purposes of this disclosure, the technical solutions and advantages clearer, the following embodiments in conjunction with the accompanying drawings of embodiment of the present disclosure will be described in further detail.

[0043] 实施例一 [0043] Example a

[0044] 本公开实施例提供了一种播放视频的方法,参见图1,方法流程包括: [0044] The present disclosed embodiments provide a method of playing a video, a process flow Referring to FIG comprising:

[0045] 在步骤101中,根据目标视频中的多个帧中的图像,生成目标视频的索引图,索引图中包含与多个帧中的图像相对应的多个区域,本实施例的方法用于服务器中; [0045] In step 101, the target in a plurality of frames of video images, generating a target video index images, the index comprising a plurality of drawing regions of the plurality of frames corresponding to an image, the present embodiment of the method for the server;

[0046] 在步骤102中,接收终端请求目标视频索引的请求,并将索引图发送给终端,本实施例的方法用于服务器中; [0046] In step 102, the receiving terminal's request requesting the target video index, and transmits to the terminal an index map, the method according to the present embodiment is used in the server;

[0047] 在步骤103中,当接收到对终端返回的对索引图的多个区域中目标区域的选取命令时,根据目标区域对应的帧开始向终端传输目标视频,本实施例的方法用于服务器中。 [0047] In step 103, when receiving the select command plurality FIG region index of the target area returned by the terminal, according to the frame corresponding to the target region of the target video transmission to the terminal starts, the method according to the present embodiment is used server.

[0048] 本公开实施例根据目标视频中多个帧对应的图像,生成目标视频的索引图;当用户在索引图中点选了目标区域后,根据目标区域对应的帧开始播放该目标视频。 [0048] The present embodiment discloses a video image of the object corresponding to the plurality of frames, generating a target video index image; when the user clicked the drawing target region in the index, according to start playing the video target frame corresponding to the target area. 对于生成的索引图可以完整的体现视频中的内容,提闻了对视频进行索引的效率。 For index map may be generated to reflect the content of complete video, smell mentioned video indexing efficiency.

[0049] 实施例二 [0049] Second Embodiment

[0050] 本公开实施例提供了一种播放视频的方法,参见图2,方法流程包括: [0050] The present disclosed embodiments provide a method of playing a video, see FIG. 2, flow of the method comprising:

[0051] 在步骤201中,获取目标视频的索引图,索引图根据目标视频中的多个帧中的图像生成,索引图中包含与多个帧中的图像相对应的多个区域,本实施例的方法用于终端中; [0051] In step 201, the index image acquired target video, the index image generating target video view of a plurality of frames, the plurality of regions included in the index map and a plurality of frames corresponding to an image, the present embodiment Example for a terminal;

[0052] 在步骤202中,当接收到对索引图的多个区域中目标区域的选取命令时,根据目标区域对应的帧开始播放目标视频,本实施例的方法用于终端中。 [0052] In step 202, when receiving a command selecting a plurality of target region index map in the region, the target region of the frame corresponding to the target start playing a video, the method according to the present embodiment is used in the terminal.

[0053] 本公开实施例根据目标视频中多个帧对应的图像,生成目标视频的索引图;当用户在索引图中点选了目标区域后,根据目标区域对应的帧开始播放该目标视频。 [0053] The present embodiment discloses a video image of the object corresponding to the plurality of frames, generating a target video index image; when the user clicked the drawing target region in the index, according to start playing the video target frame corresponding to the target area. 对于生成的索引图可以完整的体现视频中的内容,提闻了对视频进行索引的效率。 For index map may be generated to reflect the content of complete video, smell mentioned video indexing efficiency.

[0054] 实施例三 [0054] Example three

[0055] 本公开实施例提供了一种播放视频的方法,参见图3,方法流程包括: [0055] The present disclosed embodiments provide a method of playing a video, see Figure 3, flow of the method comprising:

[0056] 在步骤301中,根据目标视频中的多个帧中的图像,生成目标视频的索引图,索引图中包含与多个帧中的图像相对应的多个区域,本实施例的方法用于服务器中。 [0056] In step 301, the target in a plurality of frames of video images, generating a target video index images, the index comprising a plurality of drawing regions of the plurality of frames corresponding to an image, the present embodiment of the method for servers.

[0057] 其中,根据目标视频生成索引图的过程,是通过提取目标视频中的多个关键帧,并将关键帧中的图像按照时间顺序拼接成为一张图片,一个关键帧的图像与该图片中的一个区域相对应。 [0057] wherein a process of generating a target video index image, by extracting a plurality of target video key frames and key frames in a time sequence image becomes a mosaic picture, a key frame image with the picture a corresponding area.

[0058] 其中,关键帧可以理解为代表不同场景中比较突出的图像,视频是由多个场景中的不同图像构成的,因此将每一个场景中选取一个关键帧,并将每一个关键帧中的图像拼接称为索引图,以使用户可以完整的了解目标视频的内容,并可以根据自己的喜好选取目标视频的播放的时间。 [0058] wherein, the key frame may be understood to represent different scenes more prominent image, the video image is composed of a plurality of scenes different configuration, therefore select a key frame of each scene, and each keyframe the image mosaic is called index map, so users can complete understanding of the target video content, and can choose the time to play the target video to your liking. [0059] 其中,提取关键帧的过程为: [0059] wherein, the process of extracting key frames as:

[0060] 在步骤3011中,分析目标视频中各帧之间的相关性,将具备相关性的帧组成一个帧集合,本实施例的方法用于服务器中。 [0060] In step 3011, the correlation between the target video frames, the frames have a correlation frame set, the method according to the present embodiment is used in the server.

[0061] 相关性的分析是通过对目标视频中的各帧之间通过相关性算法计算得到各帧之间的相关值,并通过预先设置的阈值来判断各帧之间是否具备相关性。 [0061] Correlation analysis is by and through a preset threshold value includes determining whether the correlation between frames of video between the target frame to obtain correlation values ​​between each of the frames by calculating a correlation algorithm, pair. 将具备相关性的各帧组合称为一个帧集合,即各帧中属于同一个场景的组成一个帧集合。 Each frame includes a combination of the correlation called a frame set, i.e. each frame belonging to the same scene composed of a frame set.

[0062] 对于步骤3011中分析目标视频中各帧之间的相关性的过程可以通过以下两种方式实现,可以分别使用两种方式中的一种方式,也可以包括两种方式的结合使用,来得到最终的相关性分析结果。 [0062] For the 3011 target video analysis step process correlation between the frames can be done in two ways, may be used in one of two ways, respectively, it may also include a combination of two ways, to get the final results of correlation analysis. 可选的,步骤3011可以进一步为: Optionally, step 3011 may further be:

[0063] 在步骤30111中,在目标视频中选取第一帧和第二帧,本实施例的方法用于服务器中; [0063] In step 30111, to select the first and second frames in a video target, the method of the present embodiment is used in the server;

[0064] 在步骤30112中,当第一帧和第二帧的图像颜色分布的相似性大于预设相似性时,则确定第一巾贞和第二巾贞具备相似性,本实施例的方法用于服务器中。 [0064] In Step 30112, when the image of the first and second frames the color distribution of similarity greater than a predetermined similarity, then the first and second towels towels Chen Chen method comprising similarity, the present embodiment determines for servers.

[0065] 其中,通过各帧之间的图像颜色分布来确定相似性。 [0065] wherein the image color distribution between the frames to determine the similarity. 其中,图像颜色分布可以通过直方图算法得到图像颜色分布,并进行对比得到各帧之间图像的相关性。 Wherein the image color distribution image color distribution, and compares obtained correlation between the image frames may be obtained by the histogram algorithm.

[0066] 在步骤30113中,当第一帧和第二帧对应的音频频率波动幅度小于预设幅度,且第一帧和第二帧之间时间连续时,则确定第一帧和第二帧具备相似性,本实施例的方法用于服务器中。 [0066] In Step 30113, when the audio frequency fluctuations of the first and second frames corresponding to less than a preset amplitude, and are continuous between the first and second frames of time, it is determined that the first and second frames similarity is provided, the method according to the present embodiment is used in the server.

[0067] 其中,通过各帧在时间上对应的声音波形的频率,来确定各帧之间的相关性,其中具备相关性的各帧之间需要保持在时间上是连续的。 [0067] wherein the frequency of the sound wave through the frames correspond in time to determine the correlation between the frames, wherein the holding time is required between the successive frames have correlation. 其中,确定属于具备相关性的各帧的条件为:连续时间上的音频频率波动幅度小于预设幅度的帧,确定为具备相似性的帧。 Wherein each frame includes a determination condition belonging correlation as: an audio frequency fluctuations in the successive time frames is less than a predetermined magnitude, the frame is determined to have similarity.

[0068] 在步骤3012中,在每一个帧集合中选取一个关键帧,并获取每一个帧集合的关键帧中的图像,本实施例的方法用于服务器中。 [0068] In step 3012, select a frame set in each key frame, and key frames of each acquired image frame set in the method of the present embodiment is used in the server.

[0069] 分析各帧之间的相关性后,将具备相关性的各帧租车称为一个帧集合后,需要在每个帧集合中至少选取一个关键帧代表该帧集合。 [0069] After analyzing the correlation between the frames, the frames comprising correlation car after referred to as a frame set, it is necessary to select at least one key frame representing the frame set in each frame set. 本步骤中,选取关键帧的过程可以通过图像显著性检测算法计算得到每一个帧集合中的关键帧。 In this step, the process of selecting the key frame can be calculated for each keyframe in a frame set by the image saliency detection algorithm.

[0070] 可以选的,,步骤3012中选取关键帧的过程可以为: [0070] ,, may be selected from the key frame selected in step 3012 the process may be:

[0071] 在步骤30121中,在每一个帧集合中选取时间上连续排列的多个帧;当时间上连续排列的多个帧中的图像像素之间的变化率小于预设变化率时,从时间上连续排列的多个中贞中随机选取一个作为关键巾贞,本实施例的方法用于服务器中。 [0071] In step 30121, to select a plurality of temporally continuous frames arranged in each frame set; when the rate of change between a plurality of temporally consecutive frames are arranged in the pixel less than a preset rate of change, from temporally successive arrangement of a plurality of randomly selected Zhen as a key towel Zhen, the method according to the present embodiment is used in the server.

[0072] 其中,每一个帧集合中的各帧可能时间上并不是完全连续的,即同一场景可能在不同时间重复出现,因此需要在每一个帧集合中选取时间上连续的各帧作为选取关键帧的条件。 [0072] wherein each frame in each frame set time may not completely continuous, i.e., the same scene may be repeated at different times, it is necessary to select a frame set in each of temporally continuous frames as a key selection conditions frames. 另外,各帧中图像像素之间的变化率小于预设变化率则代表这些帧中的图像在一定时间内较稳定变化不大,因此选取此种情况的帧作为关键帧。 Further, the rate of change between each frame image pixels smaller than the preset rate of change of these image frames represents the more stable over time changes little, and therefore such a case is selected frames as keyframes.

[0073] 在步骤30122中,获取关键帧中的完整图像,在完整图像中获取高于完整图像的像素平均值的关键区域,并将关键区域中的图像确定为关键帧的图像,本实施例的方法用于服务器中。 [0073] In step 30122, for a complete image in the key frame, the key to obtaining the average area of ​​the pixel in the complete image is higher than the complete image, and determines the key area of ​​the image is a key frame image, the present embodiment method for a server.

[0074] 本步骤在选取的关键帧的图像中进一步的确定该图像中的关键区域,并将关键区域作为该关键帧的图像拼接入索引图中。 [0074] This step further determination key region of the image in the selected key frame image, and the image as the key frame spliced ​​into the index key region FIG. 其中,进一步提取关键区域的算法可以进一步通过图像显著性检测算法得到,这种方式可以突出关键帧中的图像的主题,更加精确的定位关键帧中的图像想要表达的内容。 Wherein the key region is further extracted by the algorithm may further significant image detection algorithm obtained in this way can highlight the subject image in the key frame, expression of desired content more accurate positioning of the key frame image.

[0075] 例如:关键帧中的图像为一片草地上站立一个人,图像显著性检测算法可以计算到图像的平均像素值,而图像中的人所位于的区域中的整体平均像素要高于整张图像的平均像素,因此可以将人所位于的区域作为关键区域,进行提取作为该关键帧的图像。 [0075] For example: key frame image to a standing one on the grass, the image saliency detection algorithm may calculate the average pixel value of the image, and the overall average pixel person in the image is located in the region higher than the whole average pixel images, so that a person can be located in the region as a critical region, is extracted as the image of the key frame.

[0076] 在步骤3013中,根据每一个帧集合的关键帧的播放时间顺序,将每一个帧集合的关键帧的图像拼接成为目标视频的索引图,并记录每一个帧集合的关键帧的图像在索引图中的每一个区域的对应关系,本实施例的方法用于服务器中。 [0076] In step 3013, according to playback time of key frames for each frame set order, the image mosaic key frame of each frame set becomes the index image target video, and records an image key frames each frame set a correspondence relationship of each region of the index figure, the method according to the present embodiment is used in the server.

[0077] 其中,在拼接图片时,根据每一个提取的关键巾贞对应的时间顺序来排列关键巾贞对应的图像,并记录关键帧对应播放时间,同时设置索引图与目标视频的地址对应关系,以使用户在终端中点击索引图中的目标区域时,可以将目标视频的地址以及该目标区域对应的关键帧的播放时间传送给服务器,服务器则从该目标区域对应的关键帧开始向终端发送该目标视频的视频流。 [0077] wherein, when the entire image, according to the time sequence of the key towel Fok corresponding to each of the extracted alignment key towel Fok corresponding image, and recording the key frame corresponding to the playback time, and set the address index map and target video correspondence relationship keyframes, so that users click target region index figures in the terminal, playing time of the transmission of the address of the target video key frame and corresponding to the target area may be assigned to the server, from the start of the target area corresponding to the terminal send a video stream of the target video.

[0078] 可选的,由于电影等时间较长的视频,并且由于索引图的分辨率有限,导致无法在一张索引图中完整的展示视频中的内容。 [0078] Alternatively, due to the long time video movies, and due to the limited resolution of the index map, it can not lead to the complete contents of the video display in an index figure. 因此,可以将完整的视频根据预设的时间段切分成多段视频,将每一段切分后的视频通过本公开实施例中步骤301的各步骤完整执行,得到每一段切分后的视频对应的索引图,以使用户可以根据每一段切分后的视频对应的索引图得到更加精细的视频索引内容。 Accordingly, the complete video cut into according to a preset period of time multiple videos, the present embodiment discloses a video after each section sliced ​​embodiment the step of each step 301 is completely executed, to obtain the video after each section sliced ​​corresponding FIG index, so that the user can get a more precise index video content based on the video index images corresponding to each segment after the segmentation.

[0079] 如图4所示,该图示出了一张索引图的示意图,其中包含六个关键帧对应的场景画面,并按照时间顺序从上之下将该六个关键帧对应的场景画面存储于一张索引中。 [0079] As shown in FIG 4, which shows a schematic diagram of an index image, which comprises six key frame picture corresponding to a scene, and in order of time from the frame under the key corresponding to the six of scenes stored in an index.

[0080] 在步骤302中,向服务器发送获取目标视频的索引图的请求,并接收服务器返回的索引图,索引图根据目标视频中的多个帧中的图像生成,索引图中包含与多个帧中的图像相对应的多个区域,本实施例的方法用于终端中。 [0080] In step 302, transmits an acquisition request of the target video index images to the server, and receives the index returned by the server of FIG., The index image generating target view of the plurality of video frames, comprising a plurality of index figures a frame image corresponding to the plurality of regions, the method according to the present embodiment is used in the terminal.

[0081 ] 其中,本步骤通过用户在终端进行观看视频的操作时进行。 [0081] wherein, when the user performs an operation for viewing the video in this step by the terminal.

[0082] 在步骤303中,接收终端请求目标视频索引的请求,并将索引图发送给终端,本实施例的方法用于服务器中。 [0082] In step 303, the receiving terminal's request requesting the target video index, and the index image transmitted to the terminal, the method according to the present embodiment is used in the server.

[0083] 在步骤304中,向服务器发送对索引图的多个区域中目标区域的选取命令,本实施例的方法用于终端中。 [0083] In step 304, transmits commands to select a plurality of regions in the target region of the index image to the server, the method according to the present embodiment is used in the terminal.

[0084] 如图4所示,当用户点击索引图中第三个关键帧对应的场景画面对应的区域时,该第三个关键帧对应的场景画面的区域即为目标区域,并向服务器发送从第三个关键帧开始获取视频流的选取命令。 [0084] As shown, when the user clicks the area in the index image corresponding to the third key frame picture corresponding to the scene, the target area is the area of ​​the third key frame picture corresponding to a scene 4, and transmits the server select the command to start getting video stream from the third keyframe.

[0085] 在步骤305中,当接收到对终端返回的对索引图的多个区域中目标区域的选取命令时,根据目标区域对应的帧开始向终端传输目标视频,本实施例的方法用于服务器中。 [0085] In step 305, when receiving the select command plurality FIG region index of the target area returned by the terminal, according to the frame corresponding to the target region of the target video transmission to the terminal starts, the method according to the present embodiment is used server.

[0086] 在步骤306中,接收并播放服务器从目标区域对应的帧开始传输的目标视频,本实施例的方法用于终端中。 [0086] In step 306, the target receives and plays the video server starts transmission from the frame corresponding to the target region, the method according to the present embodiment is used in the terminal.

[0087] 如图5所示,图中示出了用户点击索引图中目标区域后终端播放目标区域对应的关键帧的示意图,即终端中在用户点击索引图中第三个关键帧对应的场景画面对应的区域后,服务器向终端返回从第三个关键帧开始的视频流,并从第三个关键帧开始进行播放的示意图。 [0087] shown in Figure 5, there is shown a schematic diagram of a key frame after the user clicks the index FIG terminal plays the target area corresponding to the target region, i.e., the terminal user clicks on an index map corresponding to the third key frame of a scene after the region corresponding to the screen, the server returns the video stream starting from the third key frames to the terminal, and play starts from a schematic view of the third key frames. [0088] 本公开实施例根据目标视频中多个帧对应的图像,生成目标视频的索引图;当用户在索引图中点选了目标区域后,根据目标区域对应的帧开始播放该目标视频。 [0088] The present embodiment discloses a video image of the object corresponding to the plurality of frames, generating a target video index image; when the user clicked the drawing target region in the index, according to start playing the video target frame corresponding to the target area. 对于生成的索引图可以完整的体现视频中的内容,提闻了对视频进行索引的效率。 For index map may be generated to reflect the content of complete video, smell mentioned video indexing efficiency.

[0089] 实施例四 [0089] Fourth Embodiment

[0090] 本公开实施例提供了一种播放视频的方法,参见图6,方法流程包括: [0090] The present disclosed embodiments provide a method of playing video, see Fig 6, flow of the method comprising:

[0091] 在步骤601中,根据目标视频中的多个帧中的图像,生成目标视频的索引图,本实施例的方法用于终端中。 [0091] In step 601, the target in a plurality of frames of video images, generating a target video index map, the method according to the present embodiment is used in the terminal.

[0092] 其中,索引图根据目标视频中的多个帧中的图像生成,索引图中包含与多个帧中的图像相对应的多个区域,本实施例的方法用于终端中。 [0092] wherein the index image generating a target video image according to a plurality of frames, the plurality of regions included in the index map and a plurality of frames corresponding to an image, the method according to the present embodiment is used in the terminal.

[0093] 由于本公开实施例中目标视频存储于终端本地,因此可以对于生成目标视频的过程可以通过用户查看并准备播放目标视频时进行;还可以预先生成目标视频对应的索引图,并在用户查看并准备播放目标视频时直接将预先生成的索引图展示。 [0093] Since the present disclosure embodiment, the target video is stored in the local terminal, it is possible to view and ready for playback target video by a user for the process of generating the target video; can also be generated in advance the target video index corresponding to FIG, and user the pre-generated index map shows a direct view and ready to play when the target video.

[0094] 可以选的,生成目标视频的索引图的过程可以为: [0094] can be selected to generate a target video index image process may be:

[0095] 在步骤6011中,分析目标视频中各帧之间的相关性,将具备相关性的帧组成一个帧集合,本实施例的方法用于终端中。 [0095] In step 6011, the correlation between the target video frames, the frames have a correlation frame set, the method according to the present embodiment is used in the terminal.

[0096] 对于步骤6011中分析目标视频中各帧之间的相关性的过程可以通过以下两种方式实现,可以分别使用两种方式中的一种方式,也可以将两种方式结合使用来得到最终的相关性分析结果。 [0096] For the analysis target in Step 6011 the video correlation process between the frames can be done in two ways, may be used in one of two ways, respectively, may be used to combine the two to obtain the final results of correlation analysis. 可选的,步骤3011可以进一步为: Optionally, step 3011 may further be:

[0097] 在步骤60111中,在目标视频中选取第一帧和第二帧,本实施例的方法用于终端中; [0097] In step 60111, the selection of the first and second frames in a video target, the method of the present embodiment is used in a terminal;

[0098] 在步骤60112中,当第一帧和第二帧的图像颜色分布的相似性大于预设相似性时,则确定第一巾贞和第二巾贞具备相似性,本实施例的方法用于终端中。 [0098] In Step 60112, when the image of the first and second frames the color distribution of similarity greater than a predetermined similarity, then the first and second towels towels Chen Chen method comprising similarity, the present embodiment determines for the terminal.

[0099] 其中,通过各帧之间的图像颜色分布来确定相似性。 [0099] wherein the image color distribution between the frames to determine the similarity. 其中,图像颜色分布可以通过直方图算法得到图像颜色分布,并进行对比得到各帧之间图像的相关性。 Wherein the image color distribution image color distribution, and compares obtained correlation between the image frames may be obtained by the histogram algorithm.

[0100] 在步骤60113中,当第一帧和第二帧对应的音频频率波动幅度小于预设幅度,且第一帧和第二帧之间时间连续时,则确定第一帧和第二帧具备相似性,本实施例的方法用于终端中。 [0100] In Step 60113, when the first and second frames corresponding to the audio frequency fluctuation less than the predetermined amplitude, and time interval between the first frame and the second frame are continuous, it is determined that the first and second frames similarity is provided, the method according to the present embodiment is used in the terminal.

[0101] 其中,通过各帧在时间上对应的声音波形的频率,来确定各帧之间的相关性,其中具备相关性的各帧之间需要保持在时间上是连续的。 [0101] wherein the frequency of the sound wave through the frames correspond in time to determine the correlation between the frames, wherein the holding time is required between the successive frames have correlation. 其中,确定属于具备相关性的各帧的条件为:连续时间上的音频频率波动幅度小于预设幅度的帧,确定为具备相似性的帧。 Wherein each frame includes a determination condition belonging correlation as: an audio frequency fluctuations in the successive time frames is less than a predetermined magnitude, the frame is determined to have similarity.

[0102] 在步骤6012中,在每一个帧集合中选取一个关键帧,并获取所述每一个帧集合的关键帧中的图像,本实施例的方法用于终端中。 [0102] In step 6012, select a frame set in each key frame, key frame and acquiring an image of each frame in the set, the method according to the present embodiment is used in the terminal.

[0103] 可以选的,获取关键巾贞,并获取关键巾贞中的图像的过程可以进一步的为: [0103] may be selected from the acquired key towel Chen, Chen and acquires an image of the key towel may further process as follows:

[0104] 在步骤60121中,在每一个帧集合中选取时间上连续排列的多个帧;当时间上连续排列的多个帧中的图像像素之间的变化率小于预设变化率时,从时间上连续排列的多个帧中随机选取一个作为关键帧,本实施例的方法用于终端中; [0104] In Step 60121, a selected plurality of successive time frames arranged in each frame set; when the rate of change between a plurality of temporally consecutive frames are arranged in the pixel less than a preset rate of change, from a plurality of temporally consecutive frames are arranged randomly selected as a key frame, the method according to the present embodiment is used in a terminal;

[0105] 在步骤60122中,获取关键帧中的完整图像,在完整图像中获取高于完整图像的像素平均值的关键区域,并将关键区域中的图像确定为关键帧的图像,本实施例的方法用于终端中。 [0105] In step 60122, for a complete image in the key frame, the key to obtaining the average area of ​​the pixel in the complete image is higher than the complete image, and determines the key area of ​​the image is a key frame image, the present embodiment the method for the terminal. [0106] 在步骤6013中,根据所述每一个帧集合的关键帧的播放时间顺序,将所述每一个帧集合的关键帧的图像拼接成为所述目标视频的索引图,并记录所述每一个帧集合的关键帧的图像在所述索引图中的每一个区域的对应关系,本实施例的方法用于终端中。 [0106] In step 6013, according to playback time of the collection of key frames for each frame of a sequence, the image mosaic key frames each frame becomes the set target video index map, and recording each of a key frame image frame set correspondence between each region in the index figures, the method according to the present embodiment is used in the terminal.

[0107] 在步骤602中,当接收到对索引图的多个区域中目标区域的选取命令时,在本地存储的目标视频中,从目标区域对应的帧开始播放目标视频,本实施例的方法用于终端中。 Method [0107] In step 602, upon receiving the index image selection command plurality of regions of the target area, the target video locally stored, the target start playing video from the frame corresponding to the target region, the present embodiment for the terminal.

[0108] 本步骤中,用户通过点击索引图中的目标区域,来执行播放目标视频的操作。 [0108] In this step, the user clicks the target area in the index image, performing an operation target video player.

[0109] 本公开实施例根据目标视频中多个帧对应的图像,生成目标视频的索引图;当用户在索引图中点选了目标区域后,根据目标区域对应的帧开始播放该目标视频。 The disclosed embodiments [0109] According to the present embodiment a plurality of video frames corresponding to the target image, generating a target video index map; when the user clicked the drawing target region in the index, according to start playing the video target frame corresponding to the target area. 对于生成的索引图可以完整的体现视频中的内容,提闻了对视频进行索引的效率。 For index map may be generated to reflect the content of complete video, smell mentioned video indexing efficiency.

[0110] 实施例五 [0110] Embodiment V

[0111] 本公开实施例提供了一种播放视频的装置,参见图7,该装置包括: [0111] embodiments of the present disclosure provides an apparatus for a video, see FIG. 7, the apparatus comprising:

[0112] 生成模块701,用于根据目标视频中的多个帧中的图像,生成目标视频的索引图,索引图中包含与多个帧中的图像相对应的多个区域; [0112] generation module 701, according to the target in a plurality of frames of video images, generating a target video index images, the index comprising a plurality of drawing regions of the plurality of frames corresponding to an image;

[0113] 接收模块702,用于接收终端请求目标视频索引的请求,并将索引图发送给终端; [0113] a receiving module 702, a terminal for receiving a request requesting the target video index, and transmits to the terminal of FIG index;

[0114] 传输模块703,用于当接收到对终端返回的对索引图的多个区域中目标区域的选取命令时,根据目标区域对应的帧开始向终端传输目标视频。 [0114] a transmission module 703, when receiving the command for selecting a plurality of regions in the index image of the target area returned by the terminal, according to the frame corresponding to the target region of the start of the video terminal to the transmission target.

[0115] 其中,生成模块701,包括: [0115] wherein the generation module 701, comprising:

[0116] 分析单元7011,用于分析目标视频中各帧之间的相关性,将具备相关性的帧组成 [0116] analyzing unit 7011 for analyzing a target video correlation between frames, the frames comprising correlation

一个巾贞集合; Chen set a towel;

[0117] 第一获取单元7012,用于在每一个帧集合中选取一个关键帧,并获取每一个帧集合的关键帧中的图像; [0117] a first obtaining unit 7012, configured to select a key frame in each frame set, and acquires an image of each of the key frames in the frame set;

[0118] 生成单元7013,用于根据每一个帧集合的关键帧的播放时间顺序,将每一个帧集合的关键帧的图像拼接成为目标视频的索引图,并记录每一个帧集合的关键帧的图像在索引图中的每一个区域的对应关系。 [0118] generating unit 7013, according to the play time for each key frame sequence frame set, the key frame of each mosaic image frame set becomes a target video index image, and recording the key frame of each frame set FIG image correspondence relationship of each of the index area.

[0119] 其中,分析单元7011,包括: [0119] wherein, the analyzing unit 7011, comprising:

[0120] 第一选取子单元,用于在目标视频中选取第一帧和第二帧; [0120] The first sub-selection unit for selecting the first and second frames in a video target;

[0121] 第一确定子单元,用于当第一帧和第二帧的图像颜色分布的相似性大于预设相似性时,则确定第一帧和第二帧具备相似性; [0121] a first determining subunit, configured to, when the first frame and the second frame image color distribution of similarity greater than a predetermined similarity, determining a first and second frames includes a similarity;

[0122] 第二确定子单元,用于当第一帧和第二帧对应的音频频率波动幅度小于预设幅度,且第一帧和第二帧之间时间连续时,则确定第一帧和第二帧具备相似性。 [0122] The second determining sub-unit, configured to, when the first and second frames corresponding to the audio frequency fluctuation less than a preset amplitude, and are continuous between the first and second frames of time, it is determined that the first frame and The second frame includes a similarity.

[0123] 其中,第一获取单元7012,包括: [0123] wherein the first obtaining unit 7012, comprising:

[0124] 第二选取子单元,用于在每一个帧集合中选取时间上连续排列的多个帧;当时间上连续排列的多个帧中的图像像素之间的变化率小于预设变化率时,从时间上连续排列的多个帧中随机选取一个作为关键帧; [0124] The second selecting sub-unit, configured to select a plurality of temporally continuous frames arranged in each frame set; when the rate of change between a plurality of temporally consecutive frames are arranged in the pixel less than a preset rate of change when a plurality of frames continuously arranged from a time randomly selected as a key frame;

[0125] 第一获取子单元,用于获取关键帧中的完整图像,在完整图像中获取高于完整图像的像素平均值的关键区域,并将关键区域中的图像确定为关键帧的图像。 [0125] a first obtaining subunit, configured to obtain a complete image of the key frame, obtaining an average value higher than the pixel in the complete image of a complete image of the key areas and key areas of the image as the image of the key frame.

[0126] 本公开实施例根据目标视频中多个帧对应的图像,生成目标视频的索引图;当用户在索引图中点选了目标区域后,根据目标区域对应的帧开始播放该目标视频。 [0126] The disclosed embodiments present a video image of the object corresponding to the plurality of frames, generating a target video index image; when the user clicked the target area in the index image, based on the frame corresponding to the target region of the target video starts playing. 对于生成的索引图可以完整的体现视频中的内容,提闻了对视频进行索引的效率。 For index map may be generated to reflect the content of complete video, smell mentioned video indexing efficiency. [0127] 实施例六 [0127] Sixth Embodiment

[0128] 本公开实施例提供了一种播放视频的装置,参见图8,该装置包括: [0128] The present disclosed embodiments provide an apparatus for the video player, see FIG. 8, the apparatus comprising:

[0129] 获取模块801,用于获取目标视频的索引图,索引图根据目标视频中的多个帧中的图像生成,索引图中包含与多个帧中的图像相对应的多个区域; [0129] obtaining module 801, configured to obtain a target video index images, the index image generated based on the target in the plurality of frames of video images, a plurality of regions included in the index map and a plurality of frames corresponding to an image;

[0130] 播放模块802,用于当接收到对索引图的多个区域中目标区域的选取命令时,根据目标区域对应的帧开始播放目标视频。 [0130] a playing module 802, when receiving the command for selecting a plurality of target region index map in the region, the region corresponding to the target frame start playback target video.

[0131] 其中,获取模块801,包括: [0131] The obtaining module 801, comprising:

[0132] 第二获取单元8011,用于向服务器发送获取目标视频的索引图的请求,并接收服务器返回的索引图; [0132] The second obtaining unit 8011, configured to send a request for acquiring the target video index map to the server, and receives the index returned by the server of FIG;

[0133] 第三获取单元8012,用于根据目标视频中的多个帧中的图像,生成目标视频的索引图; [0133] The third obtaining unit 8012, according to the target in a plurality of frames of video images, generating a target video index map;

[0134] 其中,第三获取单元8012,包括: [0134] wherein the third obtaining unit 8012, comprising:

[0135] 分析子单元,用于分析目标视频中各帧之间的相关性,将具备相关性的帧组成一个帧集合; [0135] sub-analysis unit for analyzing the correlation between the target video frames, the frames have a correlation frame set;

[0136] 第二获取子单元,用于在每一个帧集合中选取一个关键帧,并获取所述每一个帧集合的关键帧中的图像; [0136] The second obtaining sub-unit, configured to select a key frame in each frame set, and acquires the set key frame image each frame;

[0137] 生成子单元,用于根据所述每一个帧集合的关键帧的播放时间顺序,将所述每一个帧集合的关键帧的图像拼接成为所述目标视频的索引图,并记录所述每一个帧集合的关键帧的图像在所述索引图中的每一个区域的对应关系。 [0137] generating sub-unit, according to playback time of the collection of key frames for each frame of a sequence, the image mosaic key frames each frame becomes the set target video index map, and recording a correspondence relationship between the image of each frame set key frames in the index figures for each region.

[0138] 其中,分析子单元用于: [0138] wherein the subunit for analysis:

[0139] 在目标视频中选取第三帧和第四帧; [0139] Select the third frame and the fourth frame in the target video;

[0140] 当第三帧和第四帧的图像颜色分布的相似性大于预设相似性时,则确定第三帧和第四帧具备相似性; [0140] When the third frame and the fourth frame image color distribution of similarity greater than a predetermined similarity, determining a third frame and the fourth frame includes a similarity;

[0141] 当第三帧和第四帧对应的音频频率波动幅度小于预设幅度,且第三帧和第四帧之间时间连续时,则确定第三帧和第四帧具备相似性。 [0141] When the audio frequency fluctuations corresponding to the third frame and the fourth frame is less than a preset amplitude, and are continuous between the third frame and the fourth frame time, it is determined that the third frame and the fourth frame includes a similarity.

[0142] 其中,第二获取子单元用于: [0142] wherein the second obtaining subunit configured to:

[0143] 在每一个帧集合中选取时间上连续排列的多个帧;当时间上连续排列的多个帧中的图像像素之间的变化率小于预设变化率时,从时间上连续排列的多个帧中随机选取一个作为关键帧; [0143] In the selection of a plurality of frames each time a frame set arranged continuously; when the rate of change between a plurality of temporally consecutive frames are arranged in the pixel less than a preset rate of change, successively arranged from the time randomly select a plurality of frames as a key frame;

[0144] 获取关键帧中的完整图像,在完整图像中获取高于完整图像的像素平均值的关键区域,并将关键区域中的图像确定为关键帧的图像。 [0144] For a complete image of the key frame, the key to obtaining the complete area of ​​the pixel is higher than the average in the complete image of the image, and the critical areas of the image as the image of the key frame.

[0145] 其中,所播放模块802,包括: [0145] wherein the playback module 802, comprising:

[0146] 第一播放单元8021,用于向服务器发送对索引图的多个区域中目标区域的选取命令,接收并播放服务器从目标区域对应的帧开始传输的目标视频; [0146] The first playback unit 8021, configured to send commands to select a plurality of regions in the target region of the index image to the server, the server receives and begins to play the target video frame transmitted from the target corresponding to a region;

[0147] 第二播放单元8022,用于在本地存储的目标视频中,从目标区域对应的帧开始播放目标视频。 [0147] The second playback unit 8022, the target video for local storage, the playback start frame of the target video from the target area corresponds.

[0148] 本公开实施例根据目标视频中多个帧对应的图像,生成目标视频的索引图;当用户在索引图中点选了目标区域后,根据目标区域对应的帧开始播放该目标视频。 [0148] The present embodiment discloses a video image of the object corresponding to the plurality of frames, generating a target video index image; when the user clicked the drawing target region in the index, according to start playing the video target frame corresponding to the target area. 对于生成的索引图可以完整的体现视频中的内容,提闻了对视频进行索引的效率。 For index map may be generated to reflect the content of complete video, smell mentioned video indexing efficiency. [0149] 实施例七 [0149] Seventh Embodiment

[0150] 本公开实施例提供了一种服务器设备,参见图9,是本公开实施例中服务器设备的结构示意图。 [0150] The present disclosure provides structural diagram of an embodiment of a server apparatus, see FIG. 9, the present disclosure is a server apparatus according to the embodiment. 参见图9,该服务器可以用于实施上述实施例中提供的方法。 Referring to Figure 9, the server may be used in the above-described embodiments provide a method embodiment.

[0151] 该服务器设备1900可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(central processing units, CPU) 1922 (例如,一个或一个以上处理器)和存储器1932,一个或一个以上存储应用程序1942或数据1944的存储介质1930 (例如一个或一个以上海量存储设备)。 [0151] The server device 1900 may be a relatively large difference due to different properties or configuration, may include one or more central processors (central processing units, CPU) 1922 (e.g., one or more processors) and a memory 1932 , one or more application programs stored in the storage medium 1944 or data 19,301,942 (e.g., one or more mass storage devices). 其中,存储器1932和存储介质1930可以是短暂存储或持久存储。 Wherein the memory storage medium 1932, and 1930 may be stored in transient or persistent storage. 存储在存储介质1930的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对服务器中的一系列指令操作。 1930 stored in the storage medium of the program may include one or more modules (not shown shown), each of the server module may include a series of instructions. 更进一步地,中央处理器1922可以设置为与存储介质1930通信,在服务器设备1900上执行存储介质1930中的一系列指令操作。 Still further, the central processor 1922 may be provided to the operations performed in the storage medium 1930 of the 1930 series of instructions stored on a communication medium to the server device 1900.

[0152] 服务器设备1900还可以包括一个或一个以上电源1926,一个或一个以上有线或无线网络接口1950,一个或一个以上输入输出接口1958,一个或一个以上键盘1956,和/或,一个或一个以上操作系统1941,例如Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM,FreeBSDTM 等等。 [0152] The server device 1900 may also include one or more power sources 1926, one or more wired or wireless network interface 1950, one or more input and output interface 1958, one or more keyboard 1956, and / or one or more than 1941 operating system, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM and so on.

[0153] 本公开实施例根据目标视频中多个帧对应的图像,生成目标视频的索引图;当用户在索引图中点选了目标区域后,根据目标区域对应的帧开始播放该目标视频。 [0153] The present embodiment discloses a video image of the object corresponding to the plurality of frames, generating a target video index image; when the user clicked the drawing target region in the index, according to start playing the video target frame corresponding to the target area. 对于生成的索引图可以完整的体现视频中的内容,提闻了对视频进行索引的效率。 For index map may be generated to reflect the content of complete video, smell mentioned video indexing efficiency.

[0154] 此外,典型地,本公开的终端可为各种手持终端设备,例如手机、个人数字助理(PDA)等,因此本公开的保护范围不应限定为某种特定类型的终端。 [0154] Further, typically, the terminal of the present disclosure may be a variety of handheld devices, such as mobile phones, personal digital assistant (PDA), etc., and therefore the scope of the present disclosure should not be limited to a particular type of terminal.

[0155] 此外,根据本公开的方法还可以被实现为由CPU执行的计算机程序。 [0155] Further, the method according to the present disclosure may also be implemented as a computer program executed by the CPU. 在该计算机程序被CPU执行时,执行本公开的方法中限定的上述功能。 When the computer program is executed by the CPU, execute the above-described functions of the present disclosure methods are defined.

[0156] 此外,上述方法步骤以及系统单元也可以利用控制器以及用于存储使得控制器实现上述步骤或单元功能的计算机程序的计算机可读存储设备实现。 [0156] Further, the above-described method steps and system unit can also use a controller and a computer for storing such a computer program controller means to achieve the above steps or functions implemented readable storage device.

[0157] 此外,应该明白的是,本文的计算机可读存储设备(例如,存储器)可以是易失性存储器或非易失性存储器,或者可以包括易失性存储器和非易失性存储器两者。 [0157] Further, it should be appreciated that, herein, computer readable storage device (e.g., memory) may be volatile memory or nonvolatile memory, or can include both volatile memory and nonvolatile memory . 作为例子而非限制性的,非易失性存储器可以包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦写可编程ROM(EEPROM)或快闪存储器。 By way of example and not restrictive, nonvolatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. 易失性存储器可以包括随机存取存储器(RAM),该RAM可以充当外部高速缓存存储器。 Volatile memory can include random access memory (RAM), which can act as external cache RAM memory. 作为例子而非限制性的,RAM可以以多种形式获得,比如同步RAM (DRAM)、动态RAM (DRAM)、同步DRAM (SDRAM)、双数据速率SDRAM (DDR SDRAM)、增强SDRAM (ESDRAM)、同步链路DRAM (SLDRAM)以及直接RambusRAM(DRRAM)。 By way of example and not limitation, RAM is available in many forms obtained, such as synchronous RAM (DRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct RambusRAM (DRRAM). 所公开的方面的存储设备意在包括但不限于这些和其它合适类型的存储器。 The storage device disclosed aspects are intended to include, but not limited to, these and other suitable types of memory.

[0158] 本领域技术人员还将明白的是,结合这里的公开所描述的各种示例性逻辑块、模块、电路和算法步骤可以被实现为电子硬件、计算机软件或两者的组合。 [0158] Those skilled in the art will also be appreciated that, herein incorporated various illustrative logical blocks described in this disclosure, modules, circuits, and algorithm steps may be implemented as electronic hardware, computer software, or both. 为了清楚地说明硬件和软件的这种可互换性,已经就各种示意性组件、方块、模块、电路和步骤的功能对其进行了一般性的描述。 To clearly illustrate this hardware and software, interchangeability having been generally described, various illustrative components, blocks, modules, circuits, and steps have. 这种功能是被实现为软件还是被实现为硬件取决于具体应用以及施加给整个系统的设计约束。 This functionality is implemented as software or hardware is implemented depending on the application and design constraints imposed on the overall system. 本领域技术人员可以针对每种具体应用以各种方式来实现的功能,但是这种实现决定不应被解释为导致脱离本公开的范围。 Those skilled in the art for each particular application may function in various ways to achieve, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.

[0159] 结合这里的公开所描述的各种示例性逻辑块、模块和电路可以利用被设计成用于执行这里功能的下列部件来实现或执行:通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或其它可编程逻辑器件、分立门或晶体管逻辑、分立的硬件组件或者这些部件的任何组合。 [0159] incorporated herein various illustrative logical blocks described in this disclosure, modules, and circuits may be designed to use the following means for performing the functions herein be implemented or performed: a general purpose processor, a digital signal processor (DSP), application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, any or a combination of these components. 通用处理器可以是微处理器,但是可替换地,处理器可以是任何传统处理器、控制器、微控制器或状态机。 A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. 处理器也可以被实现为计算设备的组合,例如,DSP和微处理器的组合、多个微处理器、一个或多个微处理器结合DSP核、或任何其它这种配置。 A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.

[0160] 结合这里的公开所描述的方法或算法的步骤可以直接包含在硬件中、由处理器执行的软件模块中或这两者的组合中。 [0160] The steps of a method disclosed herein in conjunction with the described or algorithm may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. 软件模块可以驻留在RAM存储器、快闪存储器、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、可移动盘、⑶-ROM、或本领域已知的任何其它形式的存储介质中。 A software module may reside in any other form of storage medium RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, ⑶-ROM, or known in the art. 示例性的存储介质被耦合到处理器,使得处理器能够从该存储介质中读取信息或向该存储介质写入信息。 An exemplary storage medium is coupled to the processor such that the processor can read information from the storage medium and write information to, the storage medium. 在一个替换方案中,存储介质可以与处理器集成在一起。 In one alternative, the storage medium may be integral to the processor. 处理器和存储介质可以驻留在ASIC中。 The processor and the storage medium may reside in an ASIC. ASIC可以驻留在用户终端中。 The ASIC may reside in a user terminal. 在一个替换方案中,处理器和存储介质可以作为分立组件驻留在用户终端中。 In one alternative, the processor and the storage medium may reside as discrete components in a user terminal.

[0161] 在一个或多个示例性设计中,功能可以在硬件、软件、固件或其任意组合中实现。 [0161], the function may be implemented in hardware, software, firmware, or any combination thereof In one or more exemplary designs. 如果在软件中实现,则可以将功能作为一个或多个指令或代码存储在计算机可读介质上或通过计算机可读介质来传送。 If implemented in software, the functions may be used as on a computer readable medium or transmitted by a computer-readable medium of one or more instructions or code. 计算机可读介质包括计算机存储介质和通信介质,该通信介质包括有助于将计算机程序从一个位置传送到另一个位置的任何介质。 Computer-readable media includes both computer storage media and communication media, communication media includes the help of a computer program from one place to another in any position of the medium. 存储介质可以是能够被通用或专用计算机访问的任何可用介质。 Storage medium may be a general purpose or special purpose computer capable of accessing any available media. 作为例子而非限制性的,该计算机可读介质可以包括RAM、ROM、EEPROM、CD-ROM或其它光盘存储设备、磁盘存储设备或其它磁性存储设备,或者是可以用于携带或存储形式为指令或数据结构的所需程序代码并且能够被通用或专用计算机或者通用或专用处理器访问的任何其它介质。 By way of example and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or can be used to carry or store instruction in the form of desired program code or data structures and that can be a general purpose or special purpose computer or a general-purpose or special-purpose processor of any other medium. 此外,任何连接都可以适当地称为计算机可读介质。 Also, any connection is properly termed a computer-readable medium. 例如,如果使用同轴线缆、光纤线缆、双绞线、数字用户线路(DSL)或诸如红外线、无线电和微波的无线技术来从网站、服务器或其它远程源发送软件,则上述同轴线缆、光纤线缆、双绞线、DSL或诸如红外先、无线电和微波的无线技术均包括在介质的定义。 For example, if using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave from a website, server, or other remote source, the above-described coaxial cable, fiber optic cable, twisted pair, DSL, or to such as infrared, radio, and wireless technologies microwave are included in the definition of medium. 如这里所使用的,磁盘和光盘包括压缩盘(CD)、激光盘、光盘、数字多功能盘(DVD)、软盘、蓝光盘,其中磁盘通常磁性地再现数据,而光盘利用激光光学地再现数据。 As used herein Disk and disc, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers . 上述内容的组合也应当包括在计算机可读介质的范围内。 Combinations of the above should also be included within the scope of computer-readable media.

[0162] 实施例八 [0162] Example eight

[0163] 本公开实施例提供了一种终端设备,参见图10,是本发明实施例中终端设备结构示意图。 [0163] Example embodiments of the present disclosure provides a terminal device, see Figure 10, is a schematic diagram of the structure of a terminal apparatus of the present embodiment of the invention. 参见图10,该终端可以用于实施上述实施例中提供的方法。 Referring to FIG. 10, the terminal can be used in the above-described embodiment, a method provided in the Examples. 优选的: It preferred:

[0164] 终端设备1000可以包括通信单元110、包括有一个或一个以上计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、WIFI (WirelessFidelity,无线保真)模块170、包括有一个或者一个以上处理核心的处理器180、以及电源190等部件。 [0164] the terminal device 1000 may include a communication unit 110, includes one or more computer-readable storage medium, a memory 120, an input unit 130, a display 140, a sensor 150, an audio circuit 160, WIFI (WirelessFidelity, wireless fidelity) unit module 170, processor 180 includes one or more processing cores, and a power supply 190 and other components. 本领域技术人员可以理解,图中示出的终端设备结构并不构成对终端设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。 Those skilled in the art will appreciate, the figures of the terminal apparatus shown do not limit the terminal device, may include more or fewer components than shown, or a combination of some of the components, or a different arrangement of components. 其中: among them:

[0165] 通信单元110可用于收发信息或通话过程中,信号的接收和发送,该通信单元110可以为RF (Rad1 Frequency,射频)电路、路由器、调制解调器、等网络通信设备。 [0165] The communication unit 110 may be used during a call or send and receive information, receiving and sending signals, the communication unit 110 may be a RF (Rad1 Frequency, RF) circuit, a router, a modem, a network communication device and the like. 特别地,当通信单元110为RF电路时,将基站的下行信息接收后,交由一个或者一个以上处理器180处理;另外,将涉及上行的数据发送给基站。 In particular, when the communication unit 110 is an RF circuit, a base station after receiving downstream information, referred to the one or more processors 180 process; Further, the uplink data directed to the base station. 通常,作为通信单元的RF电路包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、率禹合器、LNA (Low Noise Amplifier,低噪声放大器)、双工器等。 Typically, the RF communication circuit unit include, but are not limited to an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM) card, a transceiver, and Yu is the rate, LNA (Low Noise Amplifier , a low noise amplifier), and a duplexer. 此外,通信单元110还可以通过无线通信与网络和其他设备通信。 Further, the communication unit 110 may also communicate with other networks and devices by wireless communication. 无线通信可以使用任一通信标准或协议,包括但不限于GSM (Global System of Mobile communicat1n,全球移动通讯系统)、GPRS (GeneralPacket Rad1 Service,通用分组无线服务)、CDMA (Code Divis1n Multiple Access,码分多址)、WCDMA (Wideband Code Divis1n Multiple Access,宽带码分多址)、LTE (Long TermEvolut1n,长期演进)、电子邮件、SMS (Short Messaging Service,短消息服务)等。 The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communicat1n, Global System for Mobile Communications), GPRS (GeneralPacket Rad1 Service, General Packet Radio Service), CDMA (Code Divis1n Multiple Access, Code Division Multiple Access), WCDMA (wideband Code Divis1n Multiple Access, wideband Code Division Multiple Access), LTE (long TermEvolut1n, long Term Evolution), e-mail, SMS (short messaging service, short message service) and so on. 存储器120可用于存储软件程序以及模块,处理器180通过运行存储在存储器120的软件程序以及模块,从而执行各种功能应用以及数据处理。 The memory 120 may be used to store software programs and modules, a processor 180, to perform various functions and data processing applications in a memory, and a software program storage module 120 via running. 存储器120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端设备1000的使用所创建的数据(比如音频数据、电话本等)等。 The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, at least a function of the desired application (such as a sound playback function, an image playback function, etc.); data storage area may store data terminal equipment 1000 using the created (such as audio data, telephone book, etc.). 此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。 In addition, memory 120 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage devices, flash memory devices, or other volatile solid-state memory device. 相应地,存储器120还可以包括存储器控制器,以提供处理器180和输入单元130对存储器120的访问。 Accordingly, the memory 120 may further include a memory controller to provide the processor 180 and the input unit 130 of the memory access 120.

[0166] 输入单元130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。 [0166] The input unit 130 may be used to receive input numeric or character information, and generate user setting and function control for a keyboard, mouse, joystick, trackball, or the optical input signal. 优选地,输入单元130可包括触敏表面131以及其他输入设备132。 Preferably, the input unit 130 may include a touch sensitive surface 131 and other input devices 132. 触敏表面131,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面131上或在触敏表面131附近的操作),并根据预先设定的程式驱动相应的连接装置。 Touch sensitive surface 131, also known as a touch screen or a touch panel, the user may collect on or near the touch operation (such as a user finger, a pen or any other suitable object or accessory on the touch sensitive surface 131 or a touch-sensitive surface 131 close operation), and drive the corresponding connection device in accordance with a preset program. 可选的,触敏表面131可包括触摸检测装置和触摸控制器两个部分。 Alternatively, the touch-sensitive surface 131 may include a touch detection device and a touch controller. 其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。 The touch detecting means detects a user touch position, and the detection signal caused by the touch operation, the touch signal to the controller; a touch controller receives touch information from the touch detecting device, and converts it into contact coordinates, sending to processor 180 and command processor 180 can receive and execute sent. 此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面131。 Further, using resistive, capacitive, infrared and surface acoustic wave type implementations, and other touch sensitive surface 131. 除了触敏表面131,输入单元130还可以包括其他输入设备132。 In addition to the touch-sensitive surface 131, input unit 130 may further include other input device 132. 优选地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。 Preferably, the other input devices 132 may include, but are not limited to physical keyboard, function keys (such as volume control keys, key switches, etc.), a trackball, a mouse, a joystick, one or more.

[0167] 显示单元140可用于显示由用户输入的信息或提供给用户的信息以及终端设备1000的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。 [0167] The display unit 140 may be used to display information input by the user or information provided to the user terminal apparatus 1000 various graphical user interfaces, graphical user interface which may be composed of graphics, text, icons, video, and any combination thereof . 显示单元140可包括显示面板141,可选的,可以采用IXD(Liquid CrystalDisplay,液晶显示器)、0LED (Organic Light-Emitting D1de,有机发光二极管)等形式来配置显示面板141。 The display unit 140 may include a display panel 141, optionally, may be employed IXD (Liquid CrystalDisplay, liquid crystal display), 0LED (Organic Light-Emitting D1de, the organic light emitting diode) or the like to form a display panel 141. 进一步的,触敏表面131可覆盖显示面板141,当触敏表面131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。 Further, the touch-sensitive surface 131 may cover the display panel 141, the touch-sensitive surface 131 when the detected on or near the touch operation, to the processor 180 to determine the type of touch event, then processor 180 according to a touch event provide a corresponding type of visual output on the display panel 141. 虽然在图10中,触敏表面131与显示面板141是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面131与显示面板141集成而实现输入和输出功能。 Although in FIG. 10, the touch-sensitive surface 131 and the display panel 141 as two separate components to achieve input and output functions, in some embodiments, it may be a touch-sensitive surface 131 and the display panel 141 integrated to implement the input and output functions.

[0168] 终端设备1000还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。 [0168] the terminal device 1000 may further include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. 光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在终端设备1000移动到耳边时,关闭显示面板141和/或背光。 When the optical sensor may include an ambient light sensor and proximity sensor, an ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of ambient light, the proximity sensor may be in the mobile terminal device 1000 to the ear, close the display panel 141 and / or backlight. 作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端设备1000还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。 As a motion sensor, the accelerometer may detect the size of the respective directions (usually three axes) acceleration may be stationary detect the magnitude and direction of gravity, it is used for identifying of a cell phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), related to vibration identification features (such as a pedometer, percussion) and the like; as other sensors 1000 may be a gyroscope, a barometer, hygrometer, a thermometer, an infrared sensor arranged at a terminal device, here No longer.

[0169] 音频电路160、扬声器161,传声器162可提供用户与终端设备1000之间的音频接口。 [0169] Audio circuitry 160, speaker 161, a microphone 162 provide an audio interface between a user and the terminal device 1000. 音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一终端设备,或者将音频数据输出至存储器120以便进一步处理。 Electrical signal circuit 160 converts the audio data may be audio received, transmitted to a speaker 161, a sound signal output from the speaker 161 is converted to; the other hand, the microphone 162 converts the sound signals into electrical signals collected by the audio circuit 160 after receiving the data into audio, then the audio processor 180 outputs the data processed by RF circuitry 110 for transmission to another terminal device such as, or outputs the audio data to the memory 120 for further processing. 音频电路160还可能包括耳塞插孔,以提供外设耳机与终端设备1000的通信。 The audio circuit 160 may also include an earphone jack for peripheral earphone and the communication terminal apparatus 1000.

[0170] 为了实现无线通信,该终端设备上可以配置有无线通信单元170,该无线通信单元170可以为WIFI模块。 [0170] In order to achieve wireless communication, the terminal device may be configured with a wireless communication unit 170, the wireless communication unit 170 may be module WIFI. WIFI属于短距离无线传输技术,终端设备1000通过无线通信单元170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。 WIFI a short-range wireless transmission technology, the terminal device 1000 may help the user e-mail through the wireless communication unit 170, browse and access streaming media, etc., which provides wireless broadband Internet access for the user. 虽然图中示出了无线通信单元170,但是可以理解的是,其并不属于终端设备1000的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。 While there is shown a wireless communication unit 170, it will be appreciated that it is not configured to be part of the terminal device 1000, and can be omitted without changing the essence of the invention in the ranges as needed.

[0171] 处理器180是终端设备1000的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行终端设备1000的各种功能和处理数据,从而对手机进行整体监控。 [0171] The processor 180 is a control center 1000 of the terminal apparatus, using various interfaces and circuits connected to the various parts of the entire mobile phone, by running or executing software programs stored in memory 120 and / or modules stored in memory 120 and calls data in the various data processing functions and performs terminal device 1000, so that overall mobile phone monitoring. 可选的,处理器180可包括一个或多个处理核心;优选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。 Optionally, processor 180 may include one or more processing cores; Preferably, the processor 180 may be integrated application processor and the modem processor, wherein the application processor main processing operating system, user interface and applications , the modem processor mainly processes wireless communication. 可以理解的是,上述调制解调处理器也可以不集成到处理器180中。 It will be appreciated that the modem processor may not be integrated into the processor 180.

[0172] 终端设备1000还包括给各个部件供电的电源190 (比如电池),优选的,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。 [0172] the terminal device 1000 further includes a power supply to the various components 190 (such as a battery), preferably, the power source through the power management system 180 is logically connected to the processor to manage power management system is achieved by charging, discharging, and power consumption management. 电源190还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。 The power supply 190 may also include one or more DC or AC power supply, any recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator and the like.

[0173] 尽管未示出,终端设备1000还可以包括摄像头、蓝牙模块等,在此不再赘述。 [0173] Although not shown, the terminal device 1000 may further include a camera, a Bluetooth module, etc., which are not repeated herein. 在本实施例中,终端设备还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行一个或者一个以上程序包含用于进行本发明实施例提供的方法的指令。 In the present embodiment, the terminal device further comprises a memory, and one or more than one program, wherein the one or more programs stored in the memory, and the execution by the one or more processors, one or more programs comprising a controller configured instructions for performing the method according to an embodiment of the present invention.

[0174] 本公开实施例根据目标视频中多个帧对应的图像,生成目标视频的索引图;当用户在索引图中点选了目标区域后,根据目标区域对应的帧开始播放该目标视频。 [0174] The disclosed embodiments present a video image of the object corresponding to the plurality of frames, generating a target video index image; when the user clicked the target area in the index image, based on the frame corresponding to the target region of the target video starts playing. 对于生成的索引图可以完整的体现视频中的内容,提闻了对视频进行索引的效率。 For index map may be generated to reflect the content of complete video, smell mentioned video indexing efficiency.

[0175] 此外,典型地,本公开的移动终端可为各种手持终端设备,例如手机、个人数字助理(PDA)等,因此本公开的保护范围不应限定为某种特定类型的移动终端。 [0175] Further, typically, the mobile terminal of the present disclosure may be a variety of handheld devices, such as mobile phones, personal digital assistant (PDA), etc., and therefore the scope of the present disclosure should not be limited to a particular type of mobile terminal.

[0176] 此外,根据本公开的方法还可以被实现为由CPU执行的计算机程序。 [0176] Further, the method according to the present disclosure may also be implemented as a computer program executed by the CPU. 在该计算机程序被CPU执行时,执行本公开的方法中限定的上述功能。 When the computer program is executed by the CPU, execute the above-described functions of the present disclosure methods are defined.

[0177] 此外,上述方法步骤以及系统单元也可以利用控制器以及用于存储使得控制器实现上述步骤或单元功能的计算机程序的计算机可读存储设备实现。 [0177] Further, the above-described method steps and system unit can also use a controller and a computer for storing such a computer program controller means to achieve the above steps or functions implemented readable storage device.

[0178] 此外,应该明白的是,本文的计算机可读存储设备(例如,存储器)可以是易失性存储器或非易失性存储器,或者可以包括易失性存储器和非易失性存储器两者。 [0178] Further, it should be appreciated that, herein, computer readable storage device (e.g., memory) may be volatile memory or nonvolatile memory, or can include both volatile memory and nonvolatile memory . 作为例子而非限制性的,非易失性存储器可以包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦写可编程ROM(EEPROM)或快闪存储器。 By way of example and not restrictive, nonvolatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. 易失性存储器可以包括随机存取存储器(RAM),该RAM可以充当外部高速缓存存储器。 Volatile memory can include random access memory (RAM), which can act as external cache RAM memory. 作为例子而非限制性的,RAM可以以多种形式获得,比如同步RAM (DRAM)、动态RAM (DRAM)、同步DRAM (SDRAM)、双数据速率SDRAM (DDR SDRAM)、增强SDRAM (ESDRAM)、同步链路DRAM (SLDRAM)以及直接RambusRAM(DRRAM)。 By way of example and not limitation, RAM is available in many forms obtained, such as synchronous RAM (DRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct RambusRAM (DRRAM). 所公开的方面的存储设备意在包括但不限于这些和其它合适类型的存储器。 The storage device disclosed aspects are intended to include, but not limited to, these and other suitable types of memory.

[0179] 本领域技术人员还将明白的是,结合这里的公开所描述的各种示例性逻辑块、模块、电路和算法步骤可以被实现为电子硬件、计算机软件或两者的组合。 [0179] Those skilled in the art will also be appreciated that, herein incorporated various illustrative logical blocks described in this disclosure, modules, circuits, and algorithm steps may be implemented as electronic hardware, computer software, or both. 为了清楚地说明硬件和软件的这种可互换性,已经就各种示意性组件、方块、模块、电路和步骤的功能对其进行了一般性的描述。 To clearly illustrate this hardware and software, interchangeability having been generally described, various illustrative components, blocks, modules, circuits, and steps have. 这种功能是被实现为软件还是被实现为硬件取决于具体应用以及施加给整个系统的设计约束。 This functionality is implemented as software or hardware is implemented depending on the application and design constraints imposed on the overall system. 本领域技术人员可以针对每种具体应用以各种方式来实现的功能,但是这种实现决定不应被解释为导致脱离本公开的范围。 Those skilled in the art for each particular application may function in various ways to achieve, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.

[0180] 结合这里的公开所描述的各种示例性逻辑块、模块和电路可以利用被设计成用于执行这里功能的下列部件来实现或执行:通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或其它可编程逻辑器件、分立门或晶体管逻辑、分立的硬件组件或者这些部件的任何组合。 [0180] incorporated herein various illustrative logical blocks described in this disclosure, modules, and circuits may be designed to use the following means for performing the functions herein be implemented or performed: a general purpose processor, a digital signal processor (DSP), application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, any or a combination of these components. 通用处理器可以是微处理器,但是可替换地,处理器可以是任何传统处理器、控制器、微控制器或状态机。 A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. 处理器也可以被实现为计算设备的组合,例如,DSP和微处理器的组合、多个微处理器、一个或多个微处理器结合DSP核、或任何其它这种配置。 A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.

[0181] 结合这里的公开所描述的方法或算法的步骤可以直接包含在硬件中、由处理器执行的软件模块中或这两者的组合中。 [0181] The steps of a method disclosed herein in conjunction with the described or algorithm may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. 软件模块可以驻留在RAM存储器、快闪存储器、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、可移动盘、CD-ROM、或本领域已知的任何其它形式的存储介质中。 A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, CD-ROM, or any other form of storage medium known in the art. 示例性的存储介质被耦合到处理器,使得处理器能够从该存储介质中读取信息或向该存储介质写入信息。 An exemplary storage medium is coupled to the processor such that the processor can read information from the storage medium and write information to, the storage medium. 在一个替换方案中,存储介质可以与处理器集成在一起。 In one alternative, the storage medium may be integral to the processor. 处理器和存储介质可以驻留在ASIC中。 The processor and the storage medium may reside in an ASIC. ASIC可以驻留在用户终端中。 The ASIC may reside in a user terminal. 在一个替换方案中,处理器和存储介质可以作为分立组件驻留在用户终端中。 In one alternative, the processor and the storage medium may reside as discrete components in a user terminal.

[0182] 在一个或多个示例性设计中,功能可以在硬件、软件、固件或其任意组合中实现。 [0182], the function may be implemented in hardware, software, firmware, or any combination thereof In one or more exemplary designs. 如果在软件中实现,则可以将功能作为一个或多个指令或代码存储在计算机可读介质上或通过计算机可读介质来传送。 If implemented in software, the functions may be used as on a computer readable medium or transmitted by a computer-readable medium of one or more instructions or code. 计算机可读介质包括计算机存储介质和通信介质,该通信介质包括有助于将计算机程序从一个位置传送到另一个位置的任何介质。 Computer-readable media includes both computer storage media and communication media, communication media includes the help of a computer program from one place to another in any position of the medium. 存储介质可以是能够被通用或专用计算机访问的任何可用介质。 Storage medium may be a general purpose or special purpose computer capable of accessing any available media. 作为例子而非限制性的,该计算机可读介质可以包括RAM、ROM、EEPROM、CD-ROM或其它光盘存储设备、磁盘存储设备或其它磁性存储设备,或者是可以用于携带或存储形式为指令或数据结构的所需程序代码并且能够被通用或专用计算机或者通用或专用处理器访问的任何其它介质。 By way of example and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or can be used to carry or store instruction in the form of desired program code or data structures and that can be a general purpose or special purpose computer or a general-purpose or special-purpose processor of any other medium. 此外,任何连接都可以适当地称为计算机可读介质。 Also, any connection is properly termed a computer-readable medium. 例如,如果使用同轴线缆、光纤线缆、双绞线、数字用户线路(DSL)或诸如红外线、无线电和微波的无线技术来从网站、服务器或其它远程源发送软件,则上述同轴线缆、光纤线缆、双绞线、DSL或诸如红外先、无线电和微波的无线技术均包括在介质的定义。 For example, if using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave from a website, server, or other remote source, the above-described coaxial cable, fiber optic cable, twisted pair, DSL, or to such as infrared, radio, and wireless technologies microwave are included in the definition of medium. 如这里所使用的,磁盘和光盘包括压缩盘(CD)、激光盘、光盘、数字多功能盘(DVD)、软盘、蓝光盘,其中磁盘通常磁性地再现数据,而光盘利用激光光学地再现数据。 As used herein Disk and disc, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers . 上述内容的组合也应当包括在计算机可读介质的范围内。 Combinations of the above should also be included within the scope of computer-readable media.

[0183] 尽管前面公开的内容示出了本公开的示例性实施例,但是应当注意,在不背离权利要求限定的本公开的范围的前提下,可以进行多种改变和修改。 [0183] While the foregoing disclosure shows an exemplary embodiment of the present disclosure, it should be noted that, without departing from the scope of the present disclosure defined in the claims, various changes and modifications may be made. 根据这里描述的公开实施例的方法权利要求的功能、步骤和/或动作不需以任何特定顺序执行。 Without performing any particular order process according to an embodiment disclosed herein described required functions, steps and / or actions. 此外,尽管本公开的元素可以以个体形式描述或要求,但是也可以设想多个,除非明确限制为单数。 Furthermore, although elements of the present disclosure may be described or claimed in the form of an individual, it is also contemplated that a plurality of, unless explicitly restricted to the singular.

[0184] 以上所述的具体实施方式,对本公开的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本公开的具体实施方式而已,并不用于限定本公开的保护范围,凡在本公开的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。 [0184] The foregoing specific embodiments, the present disclosure objectives, technical solutions, and beneficial effects described in further detail, it should be understood that the above descriptions are merely specific embodiments of the present disclosure only, not intended to limit the scope of the present disclosure, within the spirit and principles of the present disclosure, any changes made, equivalent substitutions and improvements should be included within the scope of protection of the present disclosure.

Claims (22)

  1. 1.一种播放视频的方法,其特征在于,所述方法包括: 根据目标视频中的多个帧中的图像,生成所述目标视频的索引图,所述索引图中包含与所述多个帧中的图像相对应的多个区域; 接收终端请求所述目标视频索引的请求,并将所述索引图发送给所述终端; 当接收到对所述终端返回的对所述索引图的多个区域中目标区域的选取命令时,根据所述目标区域对应的帧开始向所述终端传输所述目标视频。 1. A method of playing a video, wherein the method comprises: the target in a plurality of frames of video images, FIG generating an index of the target video, the index comprising a plurality of drawing a plurality of regions corresponding to the image frame; receiving a request for the target terminal requests a video index, and the index to the terminal of FIG; when the receiving terminal returns to the plurality of index map when selecting the command areas in the target area, the target starts to transmit the video frames according to the terminal corresponding to the target region.
  2. 2.根据权利要求1所述的方法,其特征在于,所述根据目标视频中的多个帧中的图像,生成所述目标视频的索引图,包括: 分析目标视频中各帧之间的相关性,将具备相关性的帧组成一个帧集合; 在每一个帧集合中选取一个关键帧,并获取所述每一个帧集合的关键帧中的图像;根据所述每一个帧集合的关键帧的播放时间顺序,将所述每一个帧集合的关键帧的图像拼接成为所述目标视频的索引图,并记录所述每一个帧集合的关键帧的图像在所述索引图中的每一个区域的对应关系。 2. The method according to claim 1, wherein the target image according to the plurality of video frames, generates the index image of the target video, comprising: analyzing correlation between the frames of the target video of the frames includes a correlation frame set; selecting a key frame in each frame set, and acquires the set key frame image each frame; key frames according to the set of each frame playback time sequence, the mosaic image of said set of key frames each frame becomes the target video index map, and recording the image of each region of each key frame in the frame set of FIG index correspondence.
  3. 3.根据权利要求2所述的方法,其特征在于,所述分析目标视频中各帧之间的相关性,包括: 在所述目标视频中选取第一帧和第二帧; 当所述第一帧和所述第二帧的图像颜色分布的相似性大于预设相似性时,则确定所述第一帧和所述第二帧具备相似性; 当所述第一帧和所述第二帧对应的音频频率波动幅度小于预设幅度,且所述第一帧和所述第二帧之间时间连续时,则确定所述第一帧和所述第二帧具备相似性。 3. The method according to claim 2, characterized in that the correlation between the target video frames, comprising: selecting a first frame and a second frame of the target video; when the first similarity is greater than a predetermined color and said second image frame when the similarity distribution, determining that the first frame and the second frame includes a similarity; if the first frame and the second corresponding audio frames smaller than a preset amplitude fluctuation frequency, and the time between the first frame and the second frame are continuous, it is determined that the first frame and the second frame includes a similarity.
  4. 4.根据权利要求2所述的方法,其特征在于,所述在每一个帧集合中选取一个关键中贞,并获取所述每一个关键帧中的图像,包括: 在每一个帧集合中选取时间上连续排列的多个帧;当所述时间上连续排列的多个帧中的图像像素之间的变化率小于预设变化率时,从所述时间上连续排列的多个帧中随机选取一个作为关键帧; 获取所述关键帧中的完整图像,在所述完整图像中获取高于所述完整图像的像素平均值的关键区域,并将所述关键区域中的图像确定为所述关键帧的图像。 4. The method according to claim 2, wherein said selecting a key in Chen each frame set, and acquiring an image of each of the key frames, comprising: selecting in each frame set a plurality of frames continuously arranged in time; when the rate of change between a plurality of frames are successively arranged on the time of image pixels less than the predetermined change rate, from said plurality of temporally consecutive frames are arranged randomly selected as a key frame; for a complete image of the key frame, the key acquisition region average pixel value is higher than the complete image in the full image, and the image in the critical region is determined as the key image frame.
  5. 5.一种播放视频的方法,其特征在于,所述方法包括: 获取目标视频的索引图,所述索引图根据目标视频中的多个帧中的图像生成,所述索引图中包含与所述多个帧中的图像相对应的多个区域; 当接收到对所述索引图的多个区域中目标区域的选取命令时,根据所述目标区域对应的帧开始播放所述目标视频。 5. A method of playing a video, wherein the method comprises: obtaining a target video index images, the index image generating view of the target in a plurality of video frames, and the index included in the FIG. said plurality of frames of image regions corresponding to the plurality; when receiving a command to select a plurality of regions of the target area in the index image of the target region according to a frame corresponding to the target start playing video.
  6. 6.根据权利要求5所述的方法,其特征在于,所述获取目标视频的索引图,包括: 向服务器发送获取目标视频的索引图的请求,并接收所述服务器返回的索引图;或者, 根据目标视频中的多个帧中的图像,生成所述目标视频的索引图。 6. The method according to claim 5, wherein the obtaining target video index map, comprising: transmitting an acquisition request of the target video index images to the server, and the server returns the index image to the receiving; or the plurality of the target video image frames, generating an index of the target video FIG.
  7. 7.根据权利要求6所述的方法,其特征在于,所述根据目标视频中的多个帧中的图像,生成所述目标视频的索引图,包括: 分析目标视频中各帧之间的相关性,将具备相关性的帧组成一个帧集合; 在每一个帧集合中选取一个关键帧,并获取所述每一个帧集合的关键帧中的图像;根据所述每一个帧集合的关键帧的播放时间顺序,将所述每一个帧集合的关键帧的图像拼接成为所述目标视频的索引图,并记录所述每一个帧集合的关键帧的图像在所述索引图中的每一个区域的对应关系。 7. The method according to claim 6, wherein the target image according to the plurality of video frames, generates the index image of the target video, comprising: analyzing correlation between the frames of the target video of the frames includes a correlation frame set; selecting a key frame in each frame set, and acquires the set key frame image each frame; key frames according to the set of each frame playback time sequence, the mosaic image of said set of key frames each frame becomes the target video index map, and recording the image of each region of each key frame in the frame set of FIG index correspondence.
  8. 8.根据权利要求7所述的方法,其特征在于,所述分析目标视频中各帧之间的相关性,将具备相关性的帧组成一个帧集合,包括: 在所述目标视频中选取第三帧和第四帧; 当所述第三帧和所述第四帧的图像颜色分布的相似性大于预设相似性时,则确定所述第三帧和所述第四帧具备相似性; 当所述第三帧和所述第四帧对应的音频频率波动幅度小于预设幅度,且所述第三帧和所述第四帧之间时间连续时,则确定所述第三帧和所述第四帧具备相似性。 8. The method according to claim 7, characterized in that the correlation between the target video frames, the frames have a correlation frame set, comprising: selecting a first target in the video three and fourth frame; when the predetermined similarity, determining that the third frame and the fourth frame comprising a similarity of the third frame and the fourth frame image color distribution is greater than similarity; when the third frame and the fourth frame corresponding to the audio frequency fluctuation less than the predetermined amplitude, and the third frame and the fourth time between successive time frames, and determining that the third frame of the said frame includes a fourth similarity.
  9. 9.根据权利要求7所述的方法,其特征在于,所述在每一个帧集合中选取一个关键中贞,并获取所述每一个关键帧中的图像,包括: 在每一个帧集合中选取时间上连续排列的多个帧;当所述时间上连续排列的多个帧中的图像像素之间的变化率小于预设变化率时,从所述时间上连续排列的多个帧中随机选取一个作为关键帧; 获取所述关键帧中的完整图像,在所述完整图像中获取高于所述完整图像的像素平均值的关键区域,并将所述关键区域中的图像确定为所述关键帧的图像。 9. The method according to claim 7, wherein said selecting a key in Chen each frame set, and acquiring an image of each of the key frames, comprising: selecting in each frame set a plurality of frames continuously arranged in time; when the rate of change between a plurality of frames are successively arranged on the time of image pixels less than the predetermined change rate, from said plurality of temporally consecutive frames are arranged randomly selected as a key frame; for a complete image of the key frame, the key acquisition region average pixel value is higher than the complete image in the full image, and the image in the critical region is determined as the key image frame.
  10. 10.根据权利要求5所述的方法,其特征在于,所述根据所述目标区域对应的帧开始播放所述目标视频,包括: 向服务器发送对所述索引图的多个区域中目标区域的选取命令,接收并播放所述服务器从所述目标区域对应的帧开始传输的所述目标视频;或者, 在本地存储的所述目标视频中,从所述目标区域对应的帧开始播放所述目标视频。 10. The method according to claim 5, wherein said target starts playing the video frames according to the corresponding target region, comprising: transmitting to a server a plurality of regions of the index in the target area of ​​FIG. select command is received and begins playing the target video frame transmitted from the server corresponding to the target region; or, in the local storage in the target video, from the frame corresponding to the target region of the target to start playback video.
  11. 11.一种播放视频的装置,其特征在于,所述装置包括: 生成模块,用于根据目标视频中的多个帧中的图像,生成所述目标视频的索引图,所述索引图中包含与所述多个帧中的图像相对应的多个区域; 接收模块,用于接收终端请求所述目标视频索引的请求,并将所述索引图发送给所述终端; 传输模块,用于当接收到对所述终端返回的对所述索引图的多个区域中目标区域的选取命令时,根据所述目标区域对应的帧开始向所述终端传输所述目标视频。 A video playback apparatus, wherein, the apparatus comprising: a generating module, according to the target in a plurality of frames of video images, FIG generating an index of the target video, the index included in FIG. and a plurality of areas of said plurality of frames corresponding to an image; receiving means for receiving terminal requests the target video index request, and transmitting the index to the terminal of FIG.; a transmission module, configured to, when upon receiving the command for selecting a plurality of regions in the index map of a target area returned by the terminal, the target starts to transmit the video frames according to the terminal corresponding to the target region.
  12. 12.根据权利要求11所述的装置,其特征在于,所述生成模块,包括: 分析单元,用于分析目标视频中各帧之间的相关性,将具备相关性的帧组成一个帧集合; 第一获取单元,用于在每一个帧集合中选取一个关键帧,并获取所述每一个帧集合的关键帧中的图像; 生成单元,用于根据所述每一个帧集合的关键帧的播放时间顺序,将所述每一个帧集合的关键帧的图像拼接成为所述目标视频的索引图,并记录所述每一个帧集合的关键帧的图像在所述索引图中的每一个区域的对应关系。 12. The apparatus as claimed in claim 11, wherein the generating module, comprising: an analysis unit for analyzing the correlation between the target video frames, the frames have a correlation frame set; a first obtaining unit, configured to select a key frame in each frame set, and acquires the set key frame image each frame; generating means for playing according to the set of key frames of each frame chronological order, the mosaic image of the set of key frames each frame becomes the target video index map, and records the image corresponding to each of the key frames in the frame set of FIG each of the index area relationship.
  13. 13.根据权利要求12所述的装置,其特征在于,所述分析单元,包括: 第一选取子单元,用于在所述目标视频中选取第一帧和第二帧;第一确定子单元,用于当所述第一帧和所述第二帧的图像颜色分布的相似性大于预设相似性时,则确定所述第一帧和所述第二帧具备相似性; 第二确定子单元,用于当所述第一帧和所述第二帧对应的音频频率波动幅度小于预设幅度,且所述第一帧和所述第二帧之间时间连续时,则确定所述第一帧和所述第二帧具备相似性。 13. The apparatus as claimed in claim 12, wherein the analysis unit, comprising: selecting a first sub-unit, configured to select the first and second frames in the target video; a first determining subunit , when the first frame and the second color image frame when the similarity of distribution greater than the predetermined similarity, determining that the first frame and the second frame includes a similarity; second determining sub- means for, when the first audio frame and a frequency fluctuation corresponding to the second frame is less than a predetermined magnitude, and the time interval between the first frame and the second frame are continuous, it is determined that the first and a second frame comprising said similarity.
  14. 14.根据权利要求12所述的装置,其特征在于,所述第一获取单元,包括: 第二选取子单元,用于在每一个帧集合中选取时间上连续排列的多个帧;当所述时间上连续排列的多个帧中的图像像素之间的变化率小于预设变化率时,从所述时间上连续排列的多个帧中随机选取一个作为关键帧; 第一获取子单元,用于获取所述关键帧中的完整图像,在所述完整图像中获取高于所述完整图像的像素平均值的关键区域,并将所述关键区域中的图像确定为所述关键帧的图像。 14. The apparatus as claimed in claim 12, wherein said first acquisition unit, comprising: a second plurality of frames in each time frame set in the selection of successively arranged sub-selection unit for; when the said rate of change is less than a predetermined rate of change between a plurality of temporally consecutive frames of image pixels arranged in a plurality of successive time frames from said arrayed randomly selected as a key frame; a first obtaining subunit, for acquiring a complete image of the key frame, the key acquisition region average pixel value is higher than the complete image in the full image, and the critical areas of the image as being a key frame of the image .
  15. 15.一种播放视频的装置,其特征在于,所述装置包括: 获取模块,用于获取目标视频的索引图,所述索引图根据目标视频中的多个帧中的图像生成,所述索引图中包含与所述多个帧中的图像相对应的多个区域; 播放模块,用于当接收到对所述索引图的多个区域中目标区域的选取命令时,根据所述目标区域对应的帧开始播放所述目标视频。 A video playback apparatus, characterized in that said apparatus comprises: an obtaining module, configured to acquire target video index images, the index image generating view of the target in a plurality of video frames, the index FIG plurality of regions included in the plurality of frames corresponding to an image; playing module, when receiving a command to select a plurality of regions of the index in FIG target region, the target region according to the corresponding the target frame start playing the video.
  16. 16.根据权利要求1 5所述的装置,其特征在于,所述获取模块,包括: 第二获取单元,用于向服务器发送获取目标视频的索引图的请求,并接收所述服务器返回的索引图; 第三获取单元,用于根据目标视频中的多个帧中的图像,生成所述目标视频的索引图。 16. The apparatus according to claim 5, wherein the obtaining module comprises: a second acquisition unit for acquiring a request sent to the server of the target video index images, and receives the index returned by the server FIG; third obtaining unit, according to the target in a plurality of frames of video images, generating a target video index FIG.
  17. 17.根据权利要求16所述的装置,其特征在于,所述第三获取单元,包括: 分析子单元,用于分析目标视频中各帧之间的相关性,将具备相关性的帧组成一个帧集合; 第二获取子单元,用于在每一个帧集合中选取一个关键帧,并获取所述每一个帧集合的关键帧中的图像; 生成子单元,用于根据所述每一个帧集合的关键帧的播放时间顺序,将所述每一个帧集合的关键帧的图像拼接成为所述目标视频的索引图,并记录所述每一个帧集合的关键帧的图像在所述索引图中的每一个区域的对应关系。 17. The apparatus according to claim 16, wherein the third acquisition unit, comprising: sub-analysis means for analyzing the correlation between the target video frames, the frames have a correlation frame set; second obtaining sub-unit, configured to select a key frame in each frame set, and acquires the set key frame image each frame; subunit generating, for each frame set according to the playback time sequence of key frames, each frame image of the mosaic set key frame becomes a target video index images, and records the key frame image of each frame in the index set of figures the correspondence relationship of each region.
  18. 18.根据权利要求17所述的装置,其特征在于,所述分析子单元用于: 在所述目标视频中选取第三帧和第四帧; 当所述第三帧和所述第四帧的图像颜色分布的相似性大于预设相似性时,则确定所述第三帧和所述第四帧具备相似性; 当所述第三帧和所述第四帧对应的音频频率波动幅度小于预设幅度,且所述第三帧和所述第四帧之间时间连续时,则确定所述第三帧和所述第四帧具备相似性。 18. The apparatus according to claim 17, wherein said analyzing subunit configured to: select the third frame and the fourth frame in the target video; when the third frame and the fourth frame when the image similarity of the color distribution is greater than the predetermined similarity, determining that the third frame and the fourth frame includes similarity; when the third frame and the fourth frame corresponding to the audio frequency fluctuation less than preset magnitude, and the third frame and the fourth time between successive time frames, determining that the third frame and the fourth frame includes a similarity.
  19. 19.根据权利要求17所述的装置,其特征在于,所述第二获取子单元用于: 在每一个帧集合中选取时间上连续排列的多个帧;当所述时间上连续排列的多个帧中的图像像素之间的变化率小于预设变化率时,从所述时间上连续排列的多个帧中随机选取一个作为关键帧;获取所述关键帧中的完整图像,在所述完整图像中获取高于所述完整图像的像素平均值的关键区域,并将所述关键区域中的图像确定为所述关键帧的图像。 19. The apparatus according to claim 17, wherein the second acquisition sub-unit for: selecting a plurality of temporally continuous frames arranged in each frame set; when the plurality of temporally successive arrangement when the rate of change between frames of the image pixel is less than a predetermined change rate, from said plurality of temporally consecutive frames are arranged randomly selected as a key frame; for a complete image of the key frame, the full access to critical region of the pixel image is higher than the average value of the complete image and the image in the critical region is determined as the key frame image.
  20. 20.根据权利要求15所述的装置,其特征在于,所播放模块,包括: 第一播放单元,用于向服务器发送对所述索引图的多个区域中目标区域的选取命令,接收并播放所述服务器从所述目标区域对应的帧开始传输的所述目标视频; 第二播放单元,用于在本地存储的所述目标视频中,从所述目标区域对应的帧开始播放所述目标视频。 20. The apparatus according to claim 15, wherein the playing module comprises: a first playing unit, configured to send a command to select a plurality of regions of the target area in the index image to the server, receiving and playing the target video frame starts transmission from the server corresponding to the target region; a second playback unit for the video in the local storage of the target, the target area from the frame corresponding to the target start playing video .
  21. 21.一种服务器,其特征在于,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令: 根据目标视频中的多个帧中的图像,生成所述目标视频的索引图,所述索引图中包含与所述多个帧中的图像相对应的多个区域; 接收终端请求所述目标视频索引的请求,并将所述索引图发送给所述终端; 当接收到对所述终端返回的对所述索引图的多个区域中目标区域的选取命令时,根据所述目标区域对应的帧开始向所述终端传输所述目标视频。 21. A server, comprising a memory and one or more than one program, wherein the one or more programs stored in the memory and configured to be executed by the one or more processors, one or a more programs include instructions for performing the following operations: the target in a plurality of frames of video images, generating a target video index map, with the index of the drawing comprises a plurality of frames of image corresponding a plurality of regions; terminal receiving the request requesting the target video index and transmits the index map to the terminal; when the receiving terminal returns to the selected plurality of regions of the target area in FIG index when a command to start transfer of the target terminal according to the video frame corresponding to the target region.
  22. 22.—种终端,其特征在于,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令: 获取目标视频的索引图,所述索引图根据目标视频中的多个帧中的图像生成,所述索引图中包含与所述多个帧中的图像相对应的多个区域; 当接收到对所述索引图的多个区域中目标区域的选取命令时,根据所述目标区域对应的帧开始播放所述目标视频。 22.- type of terminal, which comprising a memory and one or more than one program, wherein the one or more programs stored in the memory and configured to be executed by the one or more processors, one or a more programs include instructions for performing the following operations: acquisition of the target video index images, the index map is generated according to the target in a plurality of frames of video images, the index images of the figures comprises a plurality of frames and a plurality of corresponding regions; when receiving a command to select a plurality of regions of the target area in the index image of the target region according to a frame corresponding to the target start playing video.
CN 201410063134 2014-02-22 2014-02-22 Video playing method and device CN104038832A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201410063134 CN104038832A (en) 2014-02-22 2014-02-22 Video playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201410063134 CN104038832A (en) 2014-02-22 2014-02-22 Video playing method and device

Publications (1)

Publication Number Publication Date
CN104038832A true true CN104038832A (en) 2014-09-10

Family

ID=51469399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201410063134 CN104038832A (en) 2014-02-22 2014-02-22 Video playing method and device

Country Status (1)

Country Link
CN (1) CN104038832A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219535A (en) * 2014-09-12 2014-12-17 无锡天脉聚源传媒科技有限公司 Program system and program broadcasting method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030061610A1 (en) * 2001-03-27 2003-03-27 Errico James H. Audiovisual management system
CN101106637A (en) * 2006-07-13 2008-01-16 中兴通讯股份有限公司 Method for playing media files in external storage device via STB
CN101257615A (en) * 2007-10-25 2008-09-03 复旦大学 User VCR operation method and stream medium distributing based on video dividing technique
CN102077580A (en) * 2009-04-30 2011-05-25 索尼公司 Display control device, display control method, and program
CN102932679A (en) * 2012-11-21 2013-02-13 合一网络技术(北京)有限公司 Network video previewing system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030061610A1 (en) * 2001-03-27 2003-03-27 Errico James H. Audiovisual management system
CN101106637A (en) * 2006-07-13 2008-01-16 中兴通讯股份有限公司 Method for playing media files in external storage device via STB
CN101257615A (en) * 2007-10-25 2008-09-03 复旦大学 User VCR operation method and stream medium distributing based on video dividing technique
CN102077580A (en) * 2009-04-30 2011-05-25 索尼公司 Display control device, display control method, and program
CN102932679A (en) * 2012-11-21 2013-02-13 合一网络技术(北京)有限公司 Network video previewing system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219535A (en) * 2014-09-12 2014-12-17 无锡天脉聚源传媒科技有限公司 Program system and program broadcasting method
CN104219535B (en) * 2014-09-12 2017-09-15 无锡天脉聚源传媒科技有限公司 A program broadcast system and method

Similar Documents

Publication Publication Date Title
US20120209841A1 (en) Bookmarking segments of content
US20140085538A1 (en) Techniques and apparatus for audio isolation in video processing
CN103616981A (en) Application process method, device and mobile terminal
CN104113787A (en) Program-based commenting method, terminal, server, and program-based commenting system
CN103514581A (en) Screen picture capturing method, device and terminal equipment
CN103871051A (en) Image processing method, device and electronic equipment
CN103473004A (en) Method, device and terminal equipment for displaying message
CN103400592A (en) Recording method, playing method, device, terminal and system
CN104066009A (en) Method, device, terminal, server and system for program identification
CN104967896A (en) Method for displaying bulletscreen comment information, and apparatus thereof
US20130195427A1 (en) Method and apparatus for developing and utilizing multi-track video files
CN103714161A (en) Image thumbnail generation method and device and terminal
US20150025882A1 (en) Method for operating conversation service based on messenger, user interface and electronic device using the same
CN103309562A (en) Desktop display method, desktop display device and mobile terminal
CN104133832A (en) Pirate application identification method and device
CN103313139A (en) History display method and device and electronic device
US20160054895A1 (en) Method of providing visual sound image and electronic device implementing the same
US20150121409A1 (en) Tv program identification method, apparatus, terminal, server and system
CN103425736A (en) Web information recognition method, device and system
CN103631493A (en) Image display method and device and electronic equipment
CN103823835A (en) Method and device for processing e-book directory and terminal equipment
CN104462128A (en) Method and device for processing multi-media files and terminal equipment
US20150066925A1 (en) Method and Apparatus for Classifying Data Items Based on Sound Tags
US20170237901A1 (en) Apparatus and method for providing dynamic panorama function
CN103605656A (en) Music recommendation method and device and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
RJ01