[go: up one dir, main page]

CN104093084A - Method and device for playing video - Google Patents

Method and device for playing video Download PDF

Info

Publication number
CN104093084A
CN104093084A CN201410258086.8A CN201410258086A CN104093084A CN 104093084 A CN104093084 A CN 104093084A CN 201410258086 A CN201410258086 A CN 201410258086A CN 104093084 A CN104093084 A CN 104093084A
Authority
CN
China
Prior art keywords
video
data
advertisement
data field
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410258086.8A
Other languages
Chinese (zh)
Other versions
CN104093084B (en
Inventor
张宝良
徐友春
徐光圣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Science and Technology Co Ltd
Original Assignee
Beijing Kingsoft Internet Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Science and Technology Co Ltd filed Critical Beijing Kingsoft Internet Science and Technology Co Ltd
Priority to CN201410258086.8A priority Critical patent/CN104093084B/en
Publication of CN104093084A publication Critical patent/CN104093084A/en
Application granted granted Critical
Publication of CN104093084B publication Critical patent/CN104093084B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a method and apparatus for playing a video. The method comprises the following steps: obtaining a video data flow of a played video; in the video data flow, determining video data corresponding to an advertisement video; and playing the other video data, apart from the video data corresponding to the advertisement video, in the video data flow. According to the invention, through determining the position of the advertisement video in the video data flow, the content of the advertisement video can be skipped during a video playing process.

Description

一种播放视频的方法及装置Method and device for playing video

技术领域technical field

本发明涉及计算机应用技术领域,尤其涉及一种播放视频的方法及装置。The invention relates to the field of computer application technology, in particular to a method and device for playing video.

背景技术Background technique

目前,随着互联网的广泛应用,与互联网关联的产业也得到了大力发展,如视频。在播放视频时,视频供应商会在节目视频中插入广告,且用户不能跳过广告直接观看视频,只能等广告播放完后再观看视频。所以这样的播放方式影响了用户的观看体验。At present, with the wide application of the Internet, industries associated with the Internet have also been vigorously developed, such as video. When the video is played, the video provider will insert advertisements in the program video, and the user cannot skip the advertisement and watch the video directly, but can only watch the video after the advertisement is played. Therefore, such a playback mode affects the user's viewing experience.

发明内容Contents of the invention

本发明实施例提供一种播放视频的方法及装置,用于实现在播放视频过程中跳过广告视频内容。Embodiments of the present invention provide a method and device for playing video, which are used to skip advertisement video content during video playing.

一种播放视频的方法,包括以下步骤:获取视频的数据流;在所述视频的数据流中,确定广告的数据;播放所述视频的数据流中除所述广告的数据外的其它数据流。通过在播放视频的视频数据流中确定广告视频所对应的视频数据,并在播放视频时跳过广告视频部分直接播放广告后的视频内容。实现了可直接播放节目的视频内容而不再播放视频供应商插入的广告。A method for playing a video, comprising the following steps: acquiring a video data stream; determining advertisement data in the video data stream; playing other data streams in the video data stream except the advertisement data . The video data corresponding to the advertisement video is determined in the video data stream of the playing video, and the video content after the advertisement is directly played while the video is being played, skipping the part of the advertisement video. Realized that the video content of the program can be played directly without playing the advertisement inserted by the video provider.

所述在所述视频的数据流中,确定广告的数据,包括:在所述视频的数据流中,根据数据字段的起始字符或结束字符,确定广告的数据字段。因为广告视频所对应的数据字段的起始字符与结束字符是固定的,在视频数据流中通过数据字段的起始字符与结束字符,确定广告视频所对应的数据字段。通过数据字段的起始字符与结束字符可以准确的确定广告视频的数据字段。The determining the data of the advertisement in the data stream of the video includes: determining the data field of the advertisement in the data stream of the video according to the start character or the end character of the data field. Because the start character and the end character of the data field corresponding to the advertisement video are fixed, the data field corresponding to the advertisement video is determined by the start character and the end character of the data field in the video data stream. The data field of the advertisement video can be accurately determined by the start character and the end character of the data field.

所述在所述视频的数据流中,根据数据字段的起始字符或结束字符,确定广告的数据字段,包括:确定述视频的数据流中的第一数据字段的起始字符或者结束字符是否为预定的广告字符,如果是,确定所述第一数据字段为广告的数据字段。通过起始字符或结束字符确定广告的数据字段,可以准确的判断出第一数据字段是否为广告的数据字段。In the data stream of the video, determining the data field of the advertisement according to the start character or the end character of the data field includes: determining whether the start character or the end character of the first data field in the data stream of the video is is a predetermined advertisement character, if yes, determine that the first data field is an advertisement data field. By determining the data field of the advertisement through the start character or the end character, it can be accurately judged whether the first data field is the data field of the advertisement.

所述在所述视频的数据流中,根据数据字段的起始字符或结束字符,确定广告的数据字段,包括:在视频的数据流中,将第一数据字段的起始/结束字符与其它数据字段的起始/结束字符进行比较;统计第一数据字段的起始/结束字符与其它数据字段的起始/结束字符相同的数量,以及第一数据字段的起始/结束字符与其它数据字段的起始/结束字符不相同的数量;若不相同的数量大于相同的数量,确定第一数据字段为广告所对应的数据字段。通过对比数据流中的所有字段的起始字符或结束字符,判断一个或多个数据字段的起始字符或结束字符不同于其他数据字段的起始字符或结束字符的数据字段为广告视频所对应的数据字段。由于在视频的数据流中,广告的数据字段与节目视频的数据字段的起始字符及结束字符不相同的,并且由于每个数据字段所对应的时间基本是相同的,而且在视频的数据流中节目视频的时间远远大于广告的时间,所以广告的数据字段的数量远远少于节目视频的数据字段的数量,因此通过对比所有数据字段的起始字符或结束字符的数量,可以准确的确定视频的数据流中的广告的数据字段的起始字符或结束字符,而从可以通过广告的起始字符或结束字符确定广告的数据字段。In the data stream of the video, determining the data field of the advertisement according to the start character or the end character of the data field includes: in the data stream of the video, combining the start/end character of the first data field with other The start/end character of the data field is compared; the number of the start/end character of the first data field is the same as the start/end character of other data fields, and the start/end character of the first data field is the same as that of other data fields The number of different start/end characters of the field; if the different number is greater than the same number, determine that the first data field is the data field corresponding to the advertisement. By comparing the start characters or end characters of all fields in the data stream, it is judged that the start characters or end characters of one or more data fields are different from the start characters or end characters of other data fields, which correspond to the advertising video data field. Because in the video data stream, the start character and end character of the advertisement data field and the program video data field are different, and because the time corresponding to each data field is basically the same, and in the video data stream The time of the program video in the program is much longer than the time of the advertisement, so the number of data fields of the advertisement is far less than the number of data fields of the program video. Therefore, by comparing the number of start characters or end characters of all data fields, it can be accurately The start character or the end character of the data field of the advertisement in the data stream of the video is determined, and the data field of the advertisement can be determined by the start character or the end character of the advertisement.

所述在所述视频的数据流中,根据数据字段的起始字符或结束字符,确定广告的数据字段,包括:根据述视频的数据流中的数据字段的起始字符或者结束字符,确定所述视频的数据流中的广告的起始数据字段;根据预设的广告长度,确定所述广告的起始数据字段之后的预设广告长度内的数据字段均为广告的数据字段。在节目视频播放内部插入的广告视频时间一般是固定的,如果确定广告视频的第一个数据字段,则在其后预设的时间应播放的视频均为广告视频,减少了广告视频的数据字段的确定次数,更加快速的判断出广告视频,并有助于较快的跳过广告视频播放节目视频。In the data stream of the video, determining the data field of the advertisement according to the start character or the end character of the data field includes: determining the data field according to the start character or the end character of the data field in the data stream of the video The start data field of the advertisement in the data stream of the video; according to the preset length of the advertisement, it is determined that the data fields in the preset length of the advertisement after the start data field of the advertisement are all data fields of the advertisement. The time of the advertisement video inserted inside the program video playback is generally fixed. If the first data field of the advertisement video is determined, the videos that should be played at the preset time after that are all advertisement videos, which reduces the data fields of the advertisement video. The determined number of times can judge the advertising video more quickly, and help to skip the advertising video and play the program video faster.

所述在所述视频的数据流中,确定广告的数据,包括:在视频的数据流中,根据视频的索引信息中的网页地址,确定广告所对应的数据。在分片式视频结构视频中,视频的数据流中索引信息中,而广告与节目视频中的索引信息中的网页地址是不相同的,因此通过索引信息中的网页地址可以准确的确定视频数据流中的广告的数据。The determining the data of the advertisement in the data stream of the video includes: determining the data corresponding to the advertisement in the data stream of the video according to the webpage address in the index information of the video. In video with fragmented video structure, the index information in the video data stream is different from the webpage address in the index information in the advertisement and program video, so the video data can be accurately determined through the webpage address in the index information The data for the ad in the stream.

上述在视频的数据流中,根据视频的索引信息中的网页地址,确定广告的数据,包括:判断第一分片视频的索引信息中的网页地址中的固定字符是否为预设的广告字符,若是,则确定该第一分片视频为广告;或者判断第一分片视频的索引信息中的网页地址与预设的广告的网页地址是否相同,若是,则确定该第一分片视频为广告;或者将第一片视频的索引信息中的网页地址与已播放过的分片视频的索引信息中的网页地址进行比较,若不同的数量大于相同的数量,则确定该第一分片视频为广告;或者判断第一分片视频的索引信息中的网页地址是否为预设的视频源的网页地址,若不是,则确定该第一分片视频为广告。根据不同的情况选择适合的方法对分片视频进行处理,使可处理的视频更为广泛,不易出现无法跳过广告视频的情况。In the above-mentioned video data stream, according to the webpage address in the video index information, determining the data of the advertisement includes: judging whether the fixed characters in the webpage address in the index information of the first segment video are preset advertisement characters, If so, then determine that the first segmented video is an advertisement; or judge whether the webpage address in the index information of the first segmented video is identical to the webpage address of the preset advertisement, if so, then determine that the first segmented video is an advertisement ; or compare the web page address in the index information of the first video with the web page address in the index information of the fragmented video that has been played, if the different numbers are greater than the same number, then determine that the first video fragment is Advertisement; or determine whether the web page address in the index information of the first fragmented video is the webpage address of the preset video source, if not, then determine that the first fragmented video is an advertisement. According to different situations, choose a suitable method to process the segmented video, so that the video that can be processed is more extensive, and it is not easy to skip the situation where the advertising video cannot be skipped.

所述播放所述视频的数据流中除所述广告的数据外的其它数据流,包括:根据视频的数据流中数据字段的顺序播放视频的数据流,当播放至广告的数据时,跳过广告的数据,播放广告的数据后的节目视频的数据;或者删除广告的数据,将其他视频的数据组合成新的视频的数据流进行播放。通过跳过广告或删除广告,播放在视频的数据流中除广告以外的视频的数据流,可以达到在播放视频时只播放节目视频,而不播放视频中广告的目的。The other data streams in the data stream of playing the video except the data of the advertisement include: playing the data stream of the video according to the order of the data fields in the data stream of the video, when playing to the data of the advertisement, skip Advertisement data, the data of the program video after playing the advertisement data; or delete the advertisement data, and combine other video data into a new video data stream for playback. By skipping advertisements or deleting advertisements and playing data streams of videos other than advertisements in the data stream of the video, the purpose of only playing the program video but not the advertisements in the video can be achieved when the video is played.

一种播放视频的装置,包括:获取模块,用于获取视频的数据流;确定模块,用于在所述视频的数据流中,确定广告的数据;播放模块,用于播放所述视频的数据流中除所述广告的数据外的其它数据流。A device for playing video, comprising: an acquisition module, configured to acquire a video data stream; a determination module, configured to determine advertisement data in the video data stream; a playback module, configured to play the video data Other data streams in the stream other than the data for the ad in question.

所述确定模块,包括:第一确定单元,若所述视频的数据流中的第一数据字段的起始字符或者结束字符为预定的广告字符,用于确定第一数据字段为广告的数据字段。The determination module includes: a first determination unit, configured to determine that the first data field is an advertisement data field if the start character or the end character of the first data field in the video data stream is a predetermined advertisement character .

所述确定模块,包括:判断单元,用于将所述视频的数据流中的第一数据字段的起始/结束字符与所述视频的数据流中的其它数据字段的起始/结束字符进行比较;第二确定单元,如果不相同的数量大于相同的数量,用于确定所述第一数据字段为广告的数据字段。The determining module includes: a judging unit, configured to compare the start/end characters of the first data field in the video data stream with the start/end characters of other data fields in the video data stream Comparison; the second determination unit is used to determine that the first data field is an advertisement data field if the non-identical quantity is greater than the same quantity.

所述确定模块,包括:起始字段确定单元,用于根据所述视频的数据流中的数据字段的起始字符或结束字符,确定所述视频的数据流中的广告的起始数据字段;第三确定单元,用于根据预设的广告长度,确定所述广告的起始数据字段之后的预设广告长度内的数据字段均为广告的数据字段。The determination module includes: a start field determination unit, configured to determine the start data field of the advertisement in the data stream of the video according to the start character or end character of the data field in the data stream of the video; The third determining unit is configured to determine, according to a preset advertisement length, that all data fields within the preset advertisement length after the initial data field of the advertisement are data fields of the advertisement.

所述确定模块,包括:固定字符确定单元,用于判断所述视频的数据流中的第一分片视频的索引信息中的网页地址中的固定字符是否为预设的广告字符,若是,则确定该第一分片视频为广告;或预设网址确定单元,用于判断所述视频的数据流中的第一分片视频的索引信息中的网页地址与预设的广告的网页地址是否相同,若是,则确定该第一分片视频为广告;或比较网址确定单元,用于将所述视频的数据流中的第一分片视频的索引信息中的网页地址与前面已播放的每片视频的网页地址进行比较,若不同的数量大于相同的数量,则确定该第一分片视频为广告;或视频源确定单元,用于判断所述视频的数据流中的第一分片视频的索引信息中的网页地址是否为预设的视频源的网页地址,若不是,则确定该第一分片视频为广告。The determining module includes: a fixed character determining unit, configured to determine whether the fixed character in the webpage address in the index information of the first segmented video in the video data stream is a preset advertisement character, and if so, Determining that the first segmented video is an advertisement; or a preset URL determination unit, configured to determine whether the webpage address in the index information of the first segmented video in the data stream of the video is the same as the webpage address of the preset advertisement , if so, then determine that the first fragmented video is an advertisement; or compare the URL determination unit, for comparing the webpage address in the index information of the first fragmented video in the data stream of the video with each previously played video The webpage address of video is compared, if different quantity is greater than identical quantity, then determine that this first fragment video is advertisement; Or video source determination unit, for judging the first fragment video in the data flow of described video Whether the webpage address in the index information is the webpage address of the preset video source, if not, it is determined that the first segmented video is an advertisement.

所述播放模块,包括:第一播放子模块,用于根据视频的数据流中数据字段的顺序播放视频的数据流,当播放至广告的数据时,跳过广告的数据,播放广告的数据后的节目视频的数据;或者第二播放子模块,用于删除广告的数据,将其他视频的数据组合成新的视频的数据流进行播放。The playing module includes: a first playing sub-module, used to play the data stream of the video according to the order of the data fields in the data stream of the video, when playing to the data of the advertisement, skip the data of the advertisement, and play the data of the advertisement The data of the program video; or the second playing sub-module is used to delete the data of the advertisement, and combine the data of other videos into a data stream of a new video for playing.

本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.

下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。The technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments.

附图说明Description of drawings

附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明的实施例一起用于解释本发明,并不构成对本发明的限制。在附图中:The accompanying drawings are used to provide a further understanding of the present invention, and constitute a part of the description, and are used together with the embodiments of the present invention to explain the present invention, and do not constitute a limitation to the present invention. In the attached picture:

图1为本发明实施例中一种播放视频的方法的流程图;Fig. 1 is a flow chart of a method for playing video in an embodiment of the present invention;

图2a为本发明实施例中完整式视频结构的视频中一个数据字段的结构示意图;Fig. 2a is a schematic structural diagram of a data field in a video with a complete video structure in an embodiment of the present invention;

图2b为本发明实施例中分片式视频结构的视频中一个分片的结构示意图;Fig. 2b is a schematic structural diagram of a slice in a video of a sliced video structure in an embodiment of the present invention;

图3为本发明实施例中在完整式视频结构的视频中一种确定广告的数据字段的方法的流程图;Fig. 3 is a flow chart of a method for determining the data field of an advertisement in a video with a complete video structure in an embodiment of the present invention;

图4为本发明实施例中在完整式视频结构的视频中另一种确定广告的数据字段的方法的流程图;4 is a flowchart of another method for determining the data field of an advertisement in a video with a complete video structure in an embodiment of the present invention;

图5为本发明实施例中一种播放视频的装置的结构示意图;FIG. 5 is a schematic structural diagram of a device for playing video in an embodiment of the present invention;

图6为本发明实施例中确定模块的结构示意图;6 is a schematic structural diagram of a determination module in an embodiment of the present invention;

图7为本发明实施例中确定模块的种结构示意图;Fig. 7 is a schematic structural diagram of a determination module in an embodiment of the present invention;

图8为本发明实施例中确定模块的种结构示意图;Fig. 8 is a schematic structural diagram of a determination module in an embodiment of the present invention;

图9为本发明实施例中确定模块的种结构示意图;Fig. 9 is a schematic structural diagram of a determination module in an embodiment of the present invention;

图10为本发明实施例中播放模块的种结构示意图。Fig. 10 is a schematic diagram of the structure of the playback module in the embodiment of the present invention.

具体实施方式Detailed ways

以下结合附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

在本发明一个实施例公开了一种播放视频的方法,如图1所示,包括:One embodiment of the present invention discloses a method for playing video, as shown in Figure 1, including:

S101,获取视频的数据流,其中,所述视频的数据流包括广告的数据。S101. Acquire a video data stream, where the video data stream includes advertisement data.

可选的,在本发明的实施例中,所述待播放视频可以为连续变化的图像画面,或连续变化的图像画面与声音的集合,例如视频网站中的电影、电视剧、综艺、动漫或者直播等等。Optionally, in an embodiment of the present invention, the video to be played may be a continuously changing image frame, or a collection of continuously changing image frames and sounds, such as movies, TV dramas, variety shows, animations or live broadcasts on video websites etc.

所述待播放视频的视频文件格式包括但不限于:AVI(Audio Video Interactive,音频视频交错)、WMV(Windows Media Video,视窗媒体视频)、MPEG(Moving Picture ExpertsGroup,动态图像专家组)、RMVB(Real Media Variable Bit Rate,实时媒体可变比特率)、M3U8(M3U8是M3U的一种,它的编码格式是UTF-8格式)等。The video file formats of the described video to be played include but are not limited to: AVI (Audio Video Interactive, Audio Video Interleave), WMV (Windows Media Video, Windows Media Video), MPEG (Moving Picture Experts Group, Dynamic Image Experts Group), RMVB ( Real Media Variable Bit Rate, real-time media variable bit rate), M3U8 (M3U8 is a kind of M3U, its encoding format is UTF-8 format), etc.

S102,在视频的数据流中,确定广告的数据。S102. In the video data stream, determine advertisement data.

S103,播放视频的数据流中除广告的数据外的其它数据流。S103, playing other data streams in the video data stream except the advertisement data.

目前,用户在浏览一些视频时,这些视频的供应商,会在视频中插入广告,广告的数据包含在视频的数据流中,通过网络发送到客户端。客户端缓存视频的数据流的同时,也会将广告的数据缓存下来。At present, when a user browses some videos, the suppliers of these videos insert advertisements in the videos, and the data of the advertisements are included in the data stream of the videos and sent to the client through the network. When the client caches the video data stream, it also caches the advertisement data.

采用本发明一个实施例提供的方法,通过在视频的数据流中确定广告的数据,在播放时将广告的数据排除,实现了跳过广告直接播放视频的目的。By adopting the method provided by an embodiment of the present invention, by determining the advertisement data in the video data stream and excluding the advertisement data during playback, the purpose of skipping the advertisement and directly playing the video is realized.

可选的,在S102中,视频的数据流,可以包括:内容数据和/或网页地址。其中,内容数据包括,广告的数据字段及非广告的数据字段,例如,电视剧、电影、综艺节目等。Optionally, in S102, the video data stream may include: content data and/or web page address. Wherein, the content data includes advertisement data fields and non-advertisement data fields, for example, TV dramas, movies, and variety shows.

可选的,上述视频流的结构可以是完整式视频结构或分片式视频结构。完整式视频结构由多个数据字段组成,如图2a所示,每个数据字段包括起始字符、结束字符以及至少一个数据字段;分片式视频结构包括多个分片视频,这些分片视频的索引信息保存在一个索引文件中,如图2b所示,每个分片视频的索引信息可以是时长加网页地址的形式。Optionally, the structure of the above video stream may be a complete video structure or a fragmented video structure. The complete video structure consists of multiple data fields, as shown in Figure 2a, each data field includes a start character, an end character, and at least one data field; the fragmented video structure includes multiple fragmented videos, and these fragmented videos The index information of each segment video is stored in an index file, as shown in Figure 2b, the index information of each segmented video can be in the form of a duration plus a web page address.

可选的,若视频为完整式视频结构的视频,则在S102中,确定广告的数据可以通过以下方式实现:Optionally, if the video is a video with a complete video structure, then in S102, determining the data of the advertisement can be implemented in the following manner:

S102a,在视频的数据流中,根据数据字段的起始字符或者结束字符,确定广告的数据字段。S102a. In the data stream of the video, determine the data field of the advertisement according to the start character or the end character of the data field.

因为广告的数据字段的起始字符与结束字符不同于非广告的数据字段的起始字符和结束字符,因此,通过数据字段的起始字符与结束字符,就可以确定广告的数据字段。下面以视频的数据流中的任一数据字段(称为第一数据字段)为例进行说明。Since the start character and end character of the data field of the advertisement are different from those of the data field of the non-advertisement, the data field of the advertisement can be determined by the start character and the end character of the data field. In the following, any data field (referred to as the first data field) in the video data stream is taken as an example for description.

可选的,上述在视频的数据流中,根据数据字段的起始字符或者结束字符,确定广告的数据字段(S102a)可以包括:Optionally, in the above-mentioned video data stream, according to the start character or end character of the data field, determining the data field of the advertisement (S102a) may include:

S102a-1:确定第一数据字段的起始字符或者结束字符是否为预定的广告字符,如果是,确定所述第一数据字段为广告的数据字段。S102a-1: Determine whether the start character or the end character of the first data field is a predetermined advertisement character, and if so, determine that the first data field is an advertisement data field.

例如,如果预定的广告字符为“AZXY”,则在获取的视频的数据流中搜索起始字符为“AZXY”的数据字段,如果搜索出的数据字段的起始字符为“AZXY”字符,则确定该数据字段为广告的数据字段,当搜索出的数据字段的起始字符不是“AZXY”,则确定该数据字段为节目视频的数据字段。For example, if the predetermined advertisement character is "AZXY", then search for the data field whose starting character is "AZXY" in the data stream of the acquired video, if the starting character of the searched data field is "AZXY" character, then The data field is determined to be the data field of the advertisement, and when the initial character of the searched data field is not "AZXY", the data field is determined to be the data field of the program video.

可选的,如图3所示,上述在视频的数据流中,根据数据字段的起始字符或者结束字符,确定广告的数据字段(S102a)可以包括:Optionally, as shown in FIG. 3, in the above-mentioned video data stream, according to the start character or end character of the data field, determining the data field of the advertisement (S102a) may include:

S102a-2:在视频的数据流中,将第一数据字段的起始/结束字符与其它数据字段的起始/结束字符进行比较;S102a-2: In the video data stream, compare the start/end characters of the first data field with the start/end characters of other data fields;

S102a-3:统计第一数据字段的起始/结束字符与其它数据字段的起始/结束字符相同的数量,以及第一数据字段的起始/结束字符与其它数据字段的起始/结束字符不相同的数量。S102a-3: Count the same number of start/end characters of the first data field and start/end characters of other data fields, and start/end characters of the first data field and start/end characters of other data fields Not the same amount.

S102a-4:若不相同的数量大于相同的数量,确定第一数据字段为广告所对应的数据字段。S102a-4: If the different quantity is greater than the same quantity, determine that the first data field is the data field corresponding to the advertisement.

可选的,如图4所示,上述在视频的数据流中,根据数据字段的起始字符或者结束字符,确定广告的数据字段(S102a)可以包括:Optionally, as shown in FIG. 4, in the above-mentioned video data stream, according to the start character or end character of the data field, determining the data field of the advertisement (S102a) may include:

S102a-5:根据数据字段的起始字符或者结束字符,确定所述视频的数据流中的广告的起始数据字段;S102a-5: Determine the start data field of the advertisement in the data stream of the video according to the start character or end character of the data field;

S102a-6:根据预设的广告长度,确定所述广告的起始数据字段之后的预设广告长度内的数据字段均为广告的数据字段。S102a-6: According to the preset advertisement length, determine that the data fields within the preset advertisement length after the start data field of the advertisement are all advertisement data fields.

优选的,可以采用上述S102a-1描述的方式,或者是S102a-2至S102a-4描述的方式,或者是其他方式,来确定上述广告的起始数据字段。Preferably, the method described in S102a-1 above, or the method described in S102a-2 to S102a-4, or other methods may be used to determine the initial data field of the advertisement.

优选的,上述广告的起始数据字段之后的预设广告长度内的数据字段均为广告的数据字段,可以是上述广告的起始数据字段的起始字符或者结束字符之后的预设广告长度内的数据字段均为广告的数据字段。Preferably, the data fields in the preset advertisement length after the start data field of the above-mentioned advertisement are all data fields of the advertisement, which may be within the preset advertisement length after the start character or the end character of the start data field of the above-mentioned advertisement The data fields of are the data fields of the ad.

供应商在视频播放时插入的广告的时间长度一般是固定的,如45S,如果确定广告的起始数据字段,则在其后预设的时间长度内应播放的视频可以认为均为广告。这种方式减少了广告的数据字段的确定次数,更加快速的判断出广告并跳过广告播放节目视频。The duration of the advertisement inserted by the supplier when the video is played is generally fixed, such as 45S. If the initial data field of the advertisement is determined, then the video that should be played within the preset time length can be regarded as an advertisement. This method reduces the number of determinations of the data field of the advertisement, judges the advertisement more quickly and skips the advertisement to play the program video.

可选的,若视频为分片式视频结构的视频,则在S102中,确定广告的数据可以通过以下方式实现:Optionally, if the video is a video with a fragmented video structure, then in S102, determining the data of the advertisement can be implemented in the following manner:

S102b,在视频的数据流中,根据视频的索引信息中的网页地址,确定广告所对应的数据。下面以视频的数据流中的任一分片视频(称为第一分片视频)为例进行说明。S102b. In the video data stream, determine the data corresponding to the advertisement according to the web page address in the video index information. The following takes any segmented video (referred to as the first segmented video) in the video data stream as an example for illustration.

可选的,上述在视频的数据流中,根据视频的索引信息中的网页地址,确定广告的数据(S102b)可以包括:Optionally, in the data stream of the video, according to the web page address in the video index information, determining the advertisement data (S102b) may include:

S102b-1,判断第一分片视频的索引信息中的网页地址中的固定字符是否为预设的广告字符,若是,则确定该第一分片视频为广告。如在网页地址中,广告网页地址中可以包含字符“AD”,而视频的网页地址中并没有字符“AD”。S102b-1. Determine whether the fixed characters in the web page address in the index information of the first segment video are preset advertisement characters, and if so, determine that the first segment video is an advertisement. For example, in the webpage address, the character "AD" can be included in the webpage address of the advertisement, but there is no character "AD" in the webpage address of the video.

或者,S102b-2,判断第一分片视频的索引信息中的网页地址与预设的广告的网页地址是否相同,若是,则确定该第一分片视频为广告。该方案适用于预先获知广告的网页地址。Or, S102b-2, judge whether the web page address in the index information of the first segmented video is the same as the web page address of the preset advertisement, and if so, determine that the first segmented video is an advertisement. This scheme is suitable for knowing the address of the web page of the advertisement in advance.

或者,S102b-3,将第一片视频的索引信息中的网页地址与已播放过的分片视频的索引信息中的网页地址进行比较,若不同的数量大于相同的数量,则确定该第一分片视频为广告。由于广告的来源与视频的来源不同,因此广告的网页地址不同于视频的网页地址。该方案适用于预先可能无法获知广告或者节目的网页地址,但是广告的长度远低于节目的长度,通过这个特点可通过数量比较的方式确定广告。Or, S102b-3, comparing the webpage address in the index information of the first video with the webpage address in the index information of the segmented video that has been played, and if the different numbers are greater than the same number, then determine the first Segmented videos are advertisements. Because the source of the ad is different from the source of the video, the page address of the ad is different from the page address of the video. This scheme is applicable to the webpage addresses of advertisements or programs that may not be known in advance, but the length of the advertisements is much lower than that of the programs. This feature can be used to determine the advertisements through quantitative comparison.

或者,S102b-4,判断第一分片视频的索引信息中的网页地址是否为预设的视频源的网页地址,若不是,则确定该第一分片视频为广告。该方案适用于预先获知节目的网页地址。Or, S102b-4, judge whether the web page address in the index information of the first video segment is the web page address of the preset video source, if not, determine that the first video segment is an advertisement. This scheme is suitable for knowing the web page address of the program in advance.

可选地,上述播放视频的数据流中除广告的数据以外的其它数据流(S103)可以包括:Optionally, other data streams (S103) in the above-mentioned data stream for playing the video may include:

S103a,根据视频的数据流中数据字段的顺序播放视频的数据流,当播放至广告的数据时,跳过广告的数据,播放广告的数据后的节目视频的数据。S103a, play the data stream of the video according to the order of the data fields in the data stream of the video, when the data of the advertisement is played, skip the data of the advertisement, and play the data of the program video after the data of the advertisement.

例如,在播放完整式视频结构视频时,在获取的视频的数据流中,视频的数据流中数据字段的顺序为,5个节目视频的数据字段、3个广告的数据字段、4个节目视频的数据字段,以视频的数据流顺序播放该视频的数据流,播放完前5个数据字段的内容后,跳过第6数据字段至第8个数据字段,直接播放第9个数据字段至第13个数据字段的内容。For example, when playing a video with a complete video structure, in the acquired video data stream, the sequence of data fields in the video data stream is 5 data fields for program videos, 3 data fields for advertisements, 4 data fields for program videos data fields of the video, play the data stream of the video in the order of the data stream of the video, after playing the content of the first 5 data fields, skip the 6th data field to the 8th data field, and directly play the 9th data field to the 8th data field The contents of the 13 data fields.

又例如,在播放分片式视频结构视频时,在获取的视频的数据流中,视频的数据流中分片式视频结构视频的顺序为,3片分片式视频结构的节目视频,1片分片式视频结构的广告,1片分片式视频结构的节目视频。以视频的数据流中分片式视频结构视频的顺序播放该视频的数据流,当播放完成前3片分片式视频结构的节目视频后,确定第4片分片式视频结构视频为分片式视频结构的广告,继续判断第5片分片式视频结构视频是否为分片式视频结构的广告,第5片分片式视频结构视频是分片式视频结构的节目视频,则跳过第4片分片式视频结构视频,直接播放第5片分片式视频结构视频。For another example, when playing a video with a sliced video structure, in the acquired video data stream, the order of the video with a sliced video structure in the data stream of the video is: 3 pieces of program video with a sliced video structure, 1 slice Advertisement with segmented video structure, 1 program video with segmented video structure. Play the data stream of the video in the order of the fragmented video structure videos in the video data stream. After the first 3 fragmented video structure program videos are played, the fourth fragmented video structure video is determined to be a fragment Advertisement with video structure, continue to judge whether the fifth video with video structure of fragmentation is an advertisement with video structure of fragmentation, and the video with video structure with video fragmentation 5 is a program video with video structure of fragmentation, skip 4 pieces of fragmented video structure video, directly play the 5th piece of fragmented video structure video.

又可选地,上述播放视频的数据流中除广告的数据以外的其它数据流(S103)可以包括:Optionally, other data streams (S103) in the above-mentioned data stream of playing the video except the advertisement data may include:

S103b,删除广告的数据,将其他视频的数据组合成新的视频的数据流进行播放。S103b, delete the data of the advertisement, and combine the data of other videos into a data stream of a new video for playing.

例如,在获得完整式视频结构视频时,在获取的视频的数据流中,视频的数据流中数据字段的顺序为,5个节目视频的数据字段、3个广告的数据字段、4个节目视频的数据字段,确定第6数据字段至第8数据字段为广告的数据字段,则在视频的数据流中删除第6数据字段至第8数据字段,将第1数据字段至第5数据字段以及第9数据字段至第13数据字段组合成新的视频的数据流。For example, when obtaining a video with a complete video structure, in the acquired video data stream, the sequence of data fields in the video data stream is 5 data fields for program videos, 3 data fields for advertisements, 4 data fields for program videos If the data fields from the 6th to the 8th data fields are determined to be the data fields of the advertisement, delete the 6th to the 8th data fields in the data stream of the video, and replace the 1st to the 5th data fields and the The 9th data field to the 13th data field are combined into a new video data stream.

又例如,在播放分片式视频结构视频时,在获取的视频的数据流中,视频的数据流中分片式视频结构视频的顺序为,3片分片式视频结构的节目视频,1片分片式视频结构的广告,1片分片式视频结构的节目视频。确定第4片分片式视频结构视频为分片式视频结构的广告,则在视频的数据流中删除第4片分片式视频结构视频,将第1片分片式视频结构视频至第3片分片式视频结构视频以及第5片分片式视频结构视频组合成新的视频的数据流。For another example, when playing a video with a sliced video structure, in the acquired video data stream, the order of the video with a sliced video structure in the data stream of the video is: 3 pieces of program video with a sliced video structure, 1 slice Advertisement with segmented video structure, 1 program video with segmented video structure. If it is determined that the fourth segmented video structure video is an advertisement with segmented video structure, then delete the fourth segmented video structure video in the video data stream, and transfer the first segmented video structure video to the third The sliced video structure video and the fifth sliced video structure video are combined into a new video data stream.

以上描述了一种播放视频的方法实现过程,该过程可由装置实现,下面对装置的内部功能和结构进行介绍。The implementation process of a method for playing video is described above, which can be realized by a device, and the internal functions and structures of the device are introduced below.

如图5所示,一种播放视频的装置,包括:获取模块501、确定模块502及播放模块503。As shown in FIG. 5 , a device for playing video includes: an acquiring module 501 , a determining module 502 and a playing module 503 .

获取模块501,用于获取视频的数据流;Obtaining module 501, for obtaining the data flow of video;

确定模块502,用于在所述视频的数据流中,确定广告的数据;A determining module 502, configured to determine advertisement data in the video data stream;

播放模块503,用于播放所述视频的数据流中除所述广告的数据外的其它数据流;A playback module 503, configured to play other data streams in the data stream of the video except the data of the advertisement;

可选的,若视频为完整式视频结构的视频,如图6所示,上述确定模块502,可以包括:Optionally, if the video is a video with a complete video structure, as shown in Figure 6, the determination module 502 may include:

第一确定单元601,若第一数据字段的起始字符或者结束字符为预定的广告字符,用于确定第一数据字段为广告的数据字段。The first determining unit 601 is configured to determine that the first data field is an advertisement data field if the start character or the end character of the first data field is a predetermined advertisement character.

可选的,若视频为完整式视频结构的视频,如图7所示,上述确定模块502,可以包括:Optionally, if the video is a video with a complete video structure, as shown in Figure 7, the determination module 502 may include:

判断单元701,用于将所述视频的数据流中的第一数据字段的起始/结束字符与所述视频的数据流中的其它数据字段的起始/结束字符进行比较。The judging unit 701 is configured to compare the start/end characters of the first data field in the video data stream with the start/end characters of other data fields in the video data stream.

第二确定单元702,如果不相同的数量大于相同的数量,用于确定所述第一数据字段为广告的数据字段。The second determining unit 702 is configured to determine that the first data field is a data field of an advertisement if the non-identical quantity is greater than the same quantity.

可选的,若视频为完整式视频结构的视频,如图8所示,上述确定模块502,可以包括:Optionally, if the video is a video with a complete video structure, as shown in FIG. 8, the determination module 502 may include:

起始字段确定单元801,用于根据所述视频的数据流中的数据字段的起始字符或结束字符,确定所述视频的数据流中的广告的起始数据字段;The start field determination unit 801 is configured to determine the start data field of the advertisement in the data stream of the video according to the start character or end character of the data field in the data stream of the video;

第三确定单元802,用于根据预设的广告长度,确定所述广告的起始数据字段之后的预设广告长度内的数据字段均为广告的数据字段。The third determining unit 802 is configured to determine, according to the preset length of the advertisement, that the data fields within the preset length of the advertisement after the initial data field of the advertisement are all data fields of the advertisement.

可选的,在视频数据流为分片视频的视频数据流时,所图9所示,所述确定模块502,可以至少包括下列单元中的任一个:Optionally, when the video data stream is a video data stream of fragmented video, as shown in FIG. 9, the determining module 502 may at least include any one of the following units:

固定字符确定单元901,用于判断所述视频的数据流中的第一分片视频的索引信息中的网页地址中的固定字符是否为预设的广告字符,若是,则确定该第一分片视频为广告。The fixed character determining unit 901 is used to judge whether the fixed character in the web page address in the index information of the first fragment video in the data stream of the video is a preset advertisement character, and if so, determine the first fragment The video is an advertisement.

预设网址确定单元902,用于判断所述视频的数据流中的第一分片视频的索引信息中的网页地址与预设的广告的网页地址是否相同,若是,则确定该第一分片视频为广告。The preset URL determination unit 902 is configured to determine whether the web page address in the index information of the first fragment video in the video data stream is the same as the web page address of the preset advertisement, and if so, determine the first fragment The video is an advertisement.

比较网址确定单元903,用于将所述视频的数据流中的第一分片视频的索引信息中的网页地址与前面已播放的每片视频的网页地址进行比较,若不同的数量大于相同的数量,则确定该第一分片视频为广告。Compare the URL determination unit 903, for comparing the webpage address in the index information of the first segmented video in the data stream of the video with the webpage address of each segmented video that has been played before, if the different numbers are greater than the same quantity, it is determined that the first fragment video is an advertisement.

视频源确定单元904,用于判断所述视频的数据流中的第一分片视频的索引信息中的网页地址是否为预设的视频源的网页地址,若不是,则确定该第一分片视频为广告。The video source determining unit 904 is used to determine whether the webpage address in the index information of the first fragment video in the video data stream is the webpage address of the preset video source, if not, then determine the first fragment The video is an advertisement.

可选的,如图10所示,上述播放模块503,可以包括:Optionally, as shown in Figure 10, the playback module 503 may include:

第一播放子模块1001,用于根据视频的数据流中数据字段的顺序播放视频的数据流,当播放至广告的数据时,跳过广告的数据,播放广告的数据后的节目视频的数据;或者The first playing sub-module 1001 is used to play the data stream of the video according to the order of the data fields in the data stream of the video, when the data of the advertisement is played, the data of the advertisement is skipped, and the data of the program video after the data of the advertisement is played; or

第二播放子模块1002,用于删除广告的数据,将其他视频的数据组合成新的视频的数据流进行播放。The second playing sub-module 1002 is used to delete the advertisement data, and combine other video data into a new video data stream for playing.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.

Claims (14)

1. a method for displaying video, is characterized in that, comprising:
Obtain the data flow of video;
In the data flow of described video, determine the data of advertisement;
Play other data flow except the data of described advertisement in the data flow of described video.
2. the method for claim 1, is characterized in that, described in the data flow of described video, determines the data of advertisement, comprising:
In the data flow of described video, according to the bebinning character of data field or termination character, determine the data field of advertisement.
3. method as claimed in claim 2, is characterized in that, described in the data flow of described video, according to the bebinning character of data field or termination character, determines the data field of advertisement, comprising:
Whether bebinning character or the termination character of determining the first data field in the data flow of stating video are predetermined advertisement character, if so, determine the data field that described the first data field is advertisement.
4. method as claimed in claim 2, is characterized in that, described in the data flow of described video, according to the bebinning character of data field or termination character, determines the data field of advertisement, comprising:
In the data flow of video, by the first data field initial/termination character and other data field initial/termination character compares;
Add up the first data field initial/termination character and other data field initial/quantity that termination character is identical, and the first data field initial/termination character and other data field is initial/quantity that termination character is not identical;
If not identical quantity is greater than identical quantity, determine that the first data field is the corresponding data field of advertisement.
5. the method as described in any one in claim 2-4, is characterized in that, described in the data flow of described video, according to the bebinning character of data field or termination character, determines the data field of advertisement, comprising:
According to bebinning character or the termination character of stating the data field in the data flow of video, determine the initial data field of the advertisement in the data flow of described video;
According to default advertisement length, determine that the data field in the default advertisement length after the initial data field of described advertisement is the data field of advertisement.
6. the method for claim 1, is characterized in that, described in the data flow of described video, determines the data of advertisement, comprising:
In the data flow of video, according to the web page address in the index information of video, determine the corresponding data of advertisement.
7. method as claimed in claim 6, is characterized in that, above-mentioned in the data flow of video, according to the web page address in the index information of video, determines the data of advertisement, comprising:
Judge whether the fixed character in the web page address in the index information of the first burst video is default advertisement character, if so, determine that this first burst video is advertisement; Or
Judge that whether web page address in the index information of the first burst video is identical with the web page address of default advertisement, if so, determines that this first burst video is advertisement; Or
Web page address in the index information of the web page address in the index information of first video and the burst video play is compared, if different quantity is greater than identical quantity, determine that this first burst video is advertisement; Or
Judge that whether web page address in the index information of the first burst video is the web page address of default video source, if not, determine that this first burst video is advertisement.
8. the method as described in any one in claim 1-7, is characterized in that, other data flow in the data flow of the described video of described broadcasting except the data of described advertisement, comprising:
According to the data flow of the played in order video of data field in the data flow of video, when playing to the data of advertisement, the data of skip advertisements, the data of the program video after the data of broadcast advertisement; Or
The data of deleting advertisement, the data flow that the data of other videos is combined into new video is play.
9. a device for displaying video, is characterized in that, comprising:
Acquisition module, for obtaining the data flow of video;
Determination module, for the data flow at described video, determines the data of advertisement;
Playing module, for playing the data flow of described video other data flow except the data of described advertisement.
10. device as claimed in claim 9, is characterized in that, described determination module, comprising:
The first determining unit, if the bebinning character of the first data field in the data flow of described video or termination character are predetermined advertisement character, for the data field of determining that the first data field is advertisement.
11. devices as claimed in claim 9, is characterized in that, described determination module, comprising:
Judging unit, for by the first data field of the data flow of described video initial/other data field in the data flow of termination character and described video initial/termination character compares;
The second determining unit, if not identical quantity is greater than identical quantity, for the data field of determining that described the first data field is advertisement.
12. devices as claimed in claim 9, is characterized in that, described determination module, comprising:
Start field determining unit, for according to the bebinning character of the data field of the data flow of described video or termination character, determines the initial data field of the advertisement in the data flow of described video;
The 3rd determining unit, for according to default advertisement length, determines that the data field in the default advertisement length after the initial data field of described advertisement is the data field of advertisement.
13. devices as claimed in claim 9, is characterized in that, described determination module, comprising:
Fixed character determining unit, for judging whether the fixed character in the web page address in the index information of the first burst video of data flow of described video is default advertisement character, if so, determines that this first burst video is advertisement; Or
Default network address determining unit, for judging that whether web page address in the index information of the first burst video of data flow of described video is identical with the web page address of default advertisement, if so, definite this first burst video is advertisement; Or
Compare network address determining unit, for the web page address in the index information of the first burst video of the data flow of described video and the web page address of the every video of having play are above compared, if different quantity is greater than identical quantity, determine that this first burst video is advertisement; Or
Video source determining unit, for judging that whether web page address in the index information of the first burst video of data flow of described video is the web page address of default video source, if not, determine that this first burst video is advertisement.
14. devices as described in any one in claim 9-13, is characterized in that, described playing module, comprising:
First plays submodule, for according to the data flow of the played in order video of the data flow data field of video, and when playing to the data of advertisement, the data of skip advertisements, the data of the program video after the data of broadcast advertisement; Or
Second plays submodule, and for deleting the data of advertisement, the data flow that the data of other videos is combined into new video is play.
CN201410258086.8A 2014-06-11 2014-06-11 A kind of method and device for playing video Expired - Fee Related CN104093084B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410258086.8A CN104093084B (en) 2014-06-11 2014-06-11 A kind of method and device for playing video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410258086.8A CN104093084B (en) 2014-06-11 2014-06-11 A kind of method and device for playing video

Publications (2)

Publication Number Publication Date
CN104093084A true CN104093084A (en) 2014-10-08
CN104093084B CN104093084B (en) 2018-03-30

Family

ID=51640756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410258086.8A Expired - Fee Related CN104093084B (en) 2014-06-11 2014-06-11 A kind of method and device for playing video

Country Status (1)

Country Link
CN (1) CN104093084B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104581396A (en) * 2014-12-12 2015-04-29 北京百度网讯科技有限公司 Processing method and device for promotion information
CN105025358A (en) * 2015-07-06 2015-11-04 无锡天脉聚源传媒科技有限公司 Video playing method and device based on EPG
CN105611412A (en) * 2015-12-22 2016-05-25 小米科技有限责任公司 Video file playing method, video clip determining method and device
WO2016169321A1 (en) * 2015-04-20 2016-10-27 中兴通讯股份有限公司 Method for playing video, player and computer storage media
CN108235135A (en) * 2016-12-21 2018-06-29 天脉聚源(北京)科技有限公司 A kind of method and system of automatic fitration advertisement editor video
CN109618230A (en) * 2018-12-21 2019-04-12 深圳Tcl数字技术有限公司 Advertisement filtering method, intelligent terminal and computer-readable storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1541478A (en) * 2001-08-10 2004-10-27 皇家飞利浦电子股份有限公司 Automatic Commercial Skip Business
CN1595970A (en) * 2004-06-22 2005-03-16 威盛电子股份有限公司 Method and System for Detecting Advertisement Segments Based on Start/End Segment Specific Screens
US20070150353A1 (en) * 2005-12-24 2007-06-28 Rich Media Club, Llc System and method for creation, distribution and tracking of advertising via electronic networks
CN101002472A (en) * 2004-08-12 2007-07-18 皇家飞利浦电子股份有限公司 Select content from a video or audio stream
CN101207758A (en) * 2007-11-27 2008-06-25 深圳市同洲电子股份有限公司 Method for removing fragment in record program
WO2009155493A1 (en) * 2008-06-19 2009-12-23 Verizon Data Services Inc. Interactively shaping advertisements in a media stream
CN101783911A (en) * 2010-02-04 2010-07-21 康佳集团股份有限公司 Method for skipping advertisements in playing process of TV programs
CN103369272A (en) * 2012-03-27 2013-10-23 联想(北京)有限公司 Controlling method and controlling device for video playing of video terminal and video terminal
CN103561327A (en) * 2013-10-11 2014-02-05 深圳创维数字技术股份有限公司 Method, media server, video receiving terminals and system for advertisement filtering
CN103561292A (en) * 2013-11-07 2014-02-05 华为技术有限公司 Video file playing method and equipment
CN103686249A (en) * 2013-12-11 2014-03-26 深圳市龙视传媒有限公司 Method, system and related device for video playing

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1541478A (en) * 2001-08-10 2004-10-27 皇家飞利浦电子股份有限公司 Automatic Commercial Skip Business
CN1595970A (en) * 2004-06-22 2005-03-16 威盛电子股份有限公司 Method and System for Detecting Advertisement Segments Based on Start/End Segment Specific Screens
CN101002472A (en) * 2004-08-12 2007-07-18 皇家飞利浦电子股份有限公司 Select content from a video or audio stream
US20070150353A1 (en) * 2005-12-24 2007-06-28 Rich Media Club, Llc System and method for creation, distribution and tracking of advertising via electronic networks
CN101207758A (en) * 2007-11-27 2008-06-25 深圳市同洲电子股份有限公司 Method for removing fragment in record program
WO2009155493A1 (en) * 2008-06-19 2009-12-23 Verizon Data Services Inc. Interactively shaping advertisements in a media stream
CN101783911A (en) * 2010-02-04 2010-07-21 康佳集团股份有限公司 Method for skipping advertisements in playing process of TV programs
CN103369272A (en) * 2012-03-27 2013-10-23 联想(北京)有限公司 Controlling method and controlling device for video playing of video terminal and video terminal
CN103561327A (en) * 2013-10-11 2014-02-05 深圳创维数字技术股份有限公司 Method, media server, video receiving terminals and system for advertisement filtering
CN103561292A (en) * 2013-11-07 2014-02-05 华为技术有限公司 Video file playing method and equipment
CN103686249A (en) * 2013-12-11 2014-03-26 深圳市龙视传媒有限公司 Method, system and related device for video playing

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104581396A (en) * 2014-12-12 2015-04-29 北京百度网讯科技有限公司 Processing method and device for promotion information
WO2016169321A1 (en) * 2015-04-20 2016-10-27 中兴通讯股份有限公司 Method for playing video, player and computer storage media
CN105025358A (en) * 2015-07-06 2015-11-04 无锡天脉聚源传媒科技有限公司 Video playing method and device based on EPG
CN105611412A (en) * 2015-12-22 2016-05-25 小米科技有限责任公司 Video file playing method, video clip determining method and device
CN108235135A (en) * 2016-12-21 2018-06-29 天脉聚源(北京)科技有限公司 A kind of method and system of automatic fitration advertisement editor video
CN109618230A (en) * 2018-12-21 2019-04-12 深圳Tcl数字技术有限公司 Advertisement filtering method, intelligent terminal and computer-readable storage medium
CN109618230B (en) * 2018-12-21 2022-03-11 深圳Tcl数字技术有限公司 Advertisement filtering method, intelligent terminal and computer-readable storage medium

Also Published As

Publication number Publication date
CN104093084B (en) 2018-03-30

Similar Documents

Publication Publication Date Title
JP6935523B2 (en) Methods and systems for displaying contextually relevant information about media assets
AU2020260513B2 (en) Targeted ad redistribution
JP7284142B2 (en) Systems and methods for stitching advertisements into streaming content
US9191422B2 (en) Processing of social media for selected time-shifted multimedia content
US10841667B2 (en) Producing video data
CN104093084B (en) A kind of method and device for playing video
CN103947216B (en) Video Segment Rendering Tracking
US8863164B1 (en) Server side adaptive bit rate reporting
US20140280571A1 (en) Processing of user-specific social media for time-shifted multimedia content
US10169782B2 (en) Targeting ads engaged by a user to related users
US20170264934A1 (en) Auto video preview within a digital magazine
WO2017116231A1 (en) Live-stream video advertisement system
US10028033B2 (en) Systems and methods for stitching advertisements in streaming content
CN109565620A (en) Low latency HTTP live streaming
US9760631B1 (en) Video segment play-through reporting
US11206441B2 (en) Automated media production pipeline for generating personalized media content
US20160119661A1 (en) On-Demand Metadata Insertion into Single-Stream Content
CN105992022A (en) On-line recording and downloading method and system
CN112218128B (en) Advertisement video playing method, playing client and readable storage medium
CN104994429B (en) A kind of method and device playing video
CN106897304B (en) Multimedia data processing method and device
CN109309643B (en) Live broadcast time shift processing method, system and source station

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100041 Beijing, Shijingshan District Xing Xing street, building 30, No. 3, building 2, A-0070

Applicant after: Beijing Cheetah Network Technology Co.,Ltd.

Address before: 100041 room 1592A, building, No. 3 West Road, Badachu hi tech park, Beijing, Shijingshan District, China

Applicant before: BEIJING KINGSOFT NETWORK TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180330

CF01 Termination of patent right due to non-payment of annual fee