CN104093084B - A kind of method and device for playing video - Google Patents

A kind of method and device for playing video Download PDF

Info

Publication number
CN104093084B
CN104093084B CN201410258086.8A CN201410258086A CN104093084B CN 104093084 B CN104093084 B CN 104093084B CN 201410258086 A CN201410258086 A CN 201410258086A CN 104093084 B CN104093084 B CN 104093084B
Authority
CN
China
Prior art keywords
video
data
advertisement
data flow
data field
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410258086.8A
Other languages
Chinese (zh)
Other versions
CN104093084A (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 Liebao Network Technology Co Ltd
Original Assignee
Beijing Liebao Network 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 Liebao Network Technology Co Ltd filed Critical Beijing Liebao Network 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
Active 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 kind of method and device for playing video.Methods described includes:Obtain the video data stream for playing video;In the video data stream, the video data corresponding to advertisement video is determined;Play other video datas in addition to the video data corresponding to the advertisement video in the video data stream.By determining the position of the advertisement video in video data stream, realize and skip advertisement video content during video is played.

Description

A kind of method and device for playing video
Technical field
The present invention relates to Computer Applied Technology field, more particularly to a kind of method and device for playing video.
Background technology
At present, with the extensive use of internet, the industry associated with internet is also greatly developed, such as video. When playing video, video supplier can insert advertisement in program video, and user can not skip advertisement direct viewing video, Advertisement can only be waited to review video after playing.So such broadcast mode have impact on the viewing experience of user.
The content of the invention
The embodiment of the present invention provides a kind of method and device for playing video, is skipped for realizing during video is played Advertisement video content.
A kind of method for playing video, comprises the following steps:Obtain the data flow of video;In the data flow of the video In, determine the data of advertisement;Play other data flows in addition to the data of the advertisement in the data flow of the video.By The video data corresponding to determination advertisement video in the video data stream of video is played, and advertisement video is skipped when playing video Part directly plays the video content after advertisement.The video content of program can directly be played and no longer play video supply by realizing The advertisement of business's insertion.
It is described to determine the data of advertisement in the data flow of the video, including:In the data flow of the video, root According to the bebinning character or termination character of data field, the data field of advertisement is determined.Because the data word corresponding to advertisement video The bebinning character of section and termination character are fixed, by the bebinning character of data field with terminating word in video data stream Symbol, determines the data field corresponding to advertisement video.Can accurately really by the bebinning character and termination character of data field Determine the data field of advertisement video.
It is described in the data flow of the video, according to the bebinning character or termination character of data field, determine advertisement Data field, including:It is determined that the bebinning character or termination character of the first data field in stating the data flow of video whether be Predetermined advertisement character, if it is, determining the data field that first data field is advertisement.Pass through bebinning character or end Character determines the data field of advertisement, can accurately judge the first data field whether be advertisement data field.
It is described in the data flow of the video, according to the bebinning character or termination character of data field, determine advertisement Data field, including:In the data flow of video, by starting/termination character of the first data field and other data fields Starting/termination character is compared;Count starting/termination character of the first data field and starting/knot of other data fields Beam character identical quantity, and starting/termination character of starting/termination character of the first data field and other data fields The quantity differed;If the quantity differed is more than identical quantity, data of first data field corresponding to advertisement are determined Field.By the bebinning character or termination character of all fields in correction data stream, one or more data fields are judged It is advertisement video that bebinning character or termination character, which are different from the bebinning character of other data fields or the data field of termination character, Corresponding data field.Due in the data flow of video, the data field of advertisement and the data field of program video rise What beginning character and termination character differed, and because the time corresponding to each data field is substantially identical, Er Qie The time of program video is far longer than the time of advertisement in the data flow of video, so the quantity of the data field of advertisement is much few In the quantity of the data field of program video, therefore by contrasting the bebinning character of all data fields or the number of termination character Amount, can accurately determine the bebinning character or termination character of the data field of advertisement in the data flow of video, and from can be with The data field of advertisement is determined by the bebinning character or termination character of advertisement.
It is described in the data flow of the video, according to the bebinning character or termination character of data field, determine advertisement Data field, including:According to the bebinning character or termination character of the data field in the data flow for stating video, it is determined that described regard The initial data field of advertisement in the data flow of frequency;According to default Ad Length, the initial data word of the advertisement is determined The data field in default Ad Length after section is the data field of advertisement.Inserted inside program video broadcasting wide It is usually fixed to accuse video time, if it is determined that first data field of advertisement video, then the default time should behind The video of broadcasting is advertisement video, reduces the determined number of the data field of advertisement video, is more quickly judged wide Video is accused, and helps to skip advertisement video broadcasting program video faster.
It is described to determine the data of advertisement in the data flow of the video, including:In the data flow of video, according to regarding Web page address in the index information of frequency, determine the data corresponding to advertisement.In split blade type video structure video, the number of video Differ, therefore pass through according to the web page address in the index information in index information in stream, and in advertisement and program video Web page address in index information can accurately determine the data of the advertisement in video data stream.
It is above-mentioned in the data flow of video, according to the web page address in the index information of video, determine the data of advertisement, bag Include:Judge whether the fixed character in the web page address in the index information of the first burst video is default advertisement character, if It is, it is determined that the first burst video is advertisement;Or judge web page address in the index information of the first burst video with it is pre- If advertisement web page address it is whether identical, if, it is determined that the first burst video is advertisement;Or by first video Web page address in index information is compared with the web page address in the index information for the burst video that played, if different Quantity be more than identical quantity, it is determined that the first burst video is advertisement;Or judge the index letter of the first burst video Web page address in breath whether be default video source web page address, if not, it is determined that the first burst video is advertisement. Burst video is handled according to the method that different situation selections is suitable, makes accessible video more extensive, is not easy out The situation of advertisement video can not now be skipped.
Other data flows in the data flow for playing the video in addition to the data of the advertisement, including:According to regarding The data flow of the played in order video of data field in the data flow of frequency, when playing to the data of advertisement, skip the number of advertisement According to playing the data of the program video after the data of advertisement;Or the data of advertisement are deleted, the data of other videos are combined into The data flow of new video plays out.By skip advertisement or delete advertisement, play in the data flow of video except advertisement with The data flow of outer video, it can reach and only play program video when playing video, the purpose without playing advertisement in video.
A kind of device for playing video, including:Acquisition module, for obtaining the data flow of video;Determining module, for In the data flow of the video, the data of advertisement are determined;Playing module, except described wide in the data flow for playing the video Other data flows outside the data of announcement.
The determining module, including:First determining unit, if of the first data field in the data flow of the video Beginning character or termination character are predetermined advertisement character, for determining data field of first data field for advertisement.
The determining module, including:Judging unit, for rising the first data field in the data flow of the video Beginning/termination character is compared with starting/termination character of other data fields in the data flow of the video;Second determines Unit, if the quantity differed is more than identical quantity, for determining data field of first data field for advertisement.
The determining module, including:Start field determining unit, for the data word in the data flow according to the video The bebinning character or termination character of section, determine the initial data field of the advertisement in the data flow of the video;3rd determines list Member, for according to default Ad Length, determining the number in the default Ad Length after the initial data field of the advertisement It is the data field of advertisement according to field.
The determining module, including:Fixed character determining unit, first point in data flow for judging the video Whether the fixed character in web page address in the index information of piece video is default advertisement character, if, it is determined that this One burst video is advertisement;Or default network address determining unit, the first burst video in the data flow for judging the video Index information in web page address it is whether identical with the web page address of default advertisement, if, it is determined that first burst regards Frequency is advertisement;Or compare network address determining unit, for by the index information of the first burst video in the data flow of the video In web page address compared with the web page address of above played every video, if different quantity is more than identical number Amount, it is determined that the first burst video is advertisement;Or video source determining unit, in the data flow for judging the video Web page address in the index information of one burst video whether be default video source web page address, if not, it is determined that should First burst video is advertisement.
The playing module, including:First plays submodule, the order for data field in the data flow according to video The data flow of video is played, when playing to the data of advertisement, the data of advertisement is skipped, plays the program after the data of advertisement and regard The data of frequency;Or second play submodule, for deleting the data of advertisement, the data of other videos are combined into new video Data flow play out.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write Specifically noted structure is realized and obtained in book, claims and accompanying drawing.
Below by drawings and examples, technical scheme is described in further detail.
Brief description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and a part for constitution instruction, the reality with the present invention Apply example to be used to explain the present invention together, be not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart for the method for playing video in the embodiment of the present invention;
Fig. 2 a are the structural representation of one data word section in the video of complete formula video structure in the embodiment of the present invention;
Fig. 2 b are the structural representation of a burst in the video of split blade type video structure in the embodiment of the present invention;
Fig. 3 be the embodiment of the present invention in the video of complete formula video structure it is a kind of determine advertisement data field side The flow chart of method;
Fig. 4 is the data field of another determination advertisement in the video of complete formula video structure in the embodiment of the present invention The flow chart of method;
Fig. 5 is a kind of structural representation for the device for playing video in the embodiment of the present invention;
Fig. 6 is the structural representation of determining module in the embodiment of the present invention;
Fig. 7 is the kind structural representation of determining module in the embodiment of the present invention;
Fig. 8 is the kind structural representation of determining module in the embodiment of the present invention;
Fig. 9 is the kind structural representation of determining module in the embodiment of the present invention;
Figure 10 is the kind structural representation of playing module in the embodiment of the present invention.
Embodiment
The preferred embodiments of the present invention are illustrated below in conjunction with accompanying drawing, it will be appreciated that described herein preferred real Apply example to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
A kind of method for playing video is disclosed in one embodiment of the invention, as shown in figure 1, including:
S101, the data flow of video is obtained, wherein, the data flow of the video includes the data of advertisement.
Optionally, in an embodiment of the present invention, the video to be played can be the image frame of consecutive variations, or even The set of the image frame and sound of continuous change, such as film in video website, TV play, variety, animation or live etc. Deng.
The video file format of the video to be played includes but is not limited to:AVI (Audio Video Interactive, Audio Video Interleaved), WMV (Windows Media Video, windows media video), MPEG (Moving Picture Experts Group, dynamic image expert group), (Real Media Variable Bit Rate, real-time media are variable by RMVB Bit rate), M3U8 (M3U8 is M3U one kind, and its coded format is UTF-8 forms) etc..
S102, in the data flow of video, determine the data of advertisement.
S103, play other data flows in addition to the data of advertisement in the data flow of video.
At present, user the supplier of these videos, can insert advertisement in video when browsing some videos, advertisement Data are included in the data flow of video, and client is sent to by network.While the data flow of client-cache video, The data buffer storage of advertisement can be got off.
The method provided using one embodiment of the invention, by determining the data of advertisement in the data flow of video, The data of advertisement are excluded during broadcasting, realizes and skips the purpose that advertisement directly plays video.
Optionally, in S102, the data flow of video, can include:Content-data and/or web page address.Wherein, content Data include, the data field of the data field of advertisement and non-advertisement, for example, TV play, film, variety show etc..
Optionally, the structure of above-mentioned video flowing can be complete formula video structure or split blade type video structure.Complete formula regards Frequency structure is made up of multiple data fields, and as shown in Figure 2 a, each data field includes bebinning character, termination character and at least One data word section;Split blade type video structure includes multiple burst videos, and the index information of these burst videos is stored in one In index file, as shown in Figure 2 b, the index information of each burst video can be the form of duration screening page address.
Optionally, if video is the video of complete formula video structure, in S102, determining the data of advertisement can pass through In the following manner is realized:
S102a, in the data flow of video, according to the bebinning character or termination character of data field, determine advertisement Data field.
Because the bebinning character of the data field of advertisement is different from the banner word of the data field of non-advertisement with termination character Symbol and termination character, therefore, pass through the bebinning character and termination character of data field, it is possible to determine the data field of advertisement. Illustrated below by taking any data field (being referred to as the first data field) in the data flow of video as an example.
Optionally, it is above-mentioned in the data flow of video, according to the bebinning character or termination character of data field, it is determined that extensively The data field (S102a) of announcement can include:
S102a-1:Whether the bebinning character or termination character for determining the first data field are predetermined advertisement character, such as Fruit is to determine data field of first data field for advertisement.
For example, if predetermined advertisement character is " AZXY ", bebinning character is searched in the data flow of the video of acquisition For the data field of " AZXY ", if the bebinning character of the data field searched out is " AZXY " character, it is determined that the data word Section is the data field of advertisement, when the bebinning character of the data field searched out is not " AZXY ", it is determined that the data field is The data field of program video.
Optionally, it is as shown in figure 3, above-mentioned in the data flow of video, according to the bebinning character of data field or end Character, determining the data field (S102a) of advertisement can include:
S102a-2:In the data flow of video, by starting/termination character of the first data field and other data fields Starting/termination character be compared;
S102a-3:Count starting/termination character of the first data field and starting/termination character of other data fields Identical quantity, and starting/termination character of the first data field differ with starting/termination character of other data fields Quantity.
S102a-4:If the quantity differed is more than identical quantity, number of first data field corresponding to advertisement is determined According to field.
Optionally, it is as shown in figure 4, above-mentioned in the data flow of video, according to the bebinning character of data field or end Character, determining the data field (S102a) of advertisement can include:
S102a-5:According to the bebinning character or termination character of data field, determine wide in the data flow of the video The initial data field of announcement;
S102a-6:According to default Ad Length, the default advertisement length after the initial data field of the advertisement is determined Data field in degree is the data field of advertisement.
Preferably, can be by the way of above-mentioned S102a-1 descriptions, or the side that S102a-2 to S102a-4 is described Formula, or other modes, to determine the initial data field of above-mentioned advertisement.
Preferably, the data field in the default Ad Length after the initial data field of above-mentioned advertisement is advertisement Data field, can be above-mentioned advertisement initial data field bebinning character or termination character after default Ad Length Interior data field is the data field of advertisement.
The time span for the advertisement that supplier inserts in video playback is usually fixed, such as 45S, if it is determined that advertisement Initial data field, then the video that default time span planted agent plays behind can consider to be advertisement.This mode Reduce the determined number of the data field of advertisement, more quickly judge advertisement and skip advertisement broadcasting program video.
Optionally, if video is the video of split blade type video structure, in S102, determining the data of advertisement can pass through In the following manner is realized:
S102b, in the data flow of video, according to the web page address in the index information of video, determine corresponding to advertisement Data.Illustrated below by taking any burst video (being referred to as the first burst video) in the data flow of video as an example.
Optionally, it is above-mentioned in the data flow of video, according to the web page address in the index information of video, determine advertisement Data (S102b) can include:
S102b-1, judge whether the fixed character in the web page address in the index information of the first burst video is default Advertisement character, if, it is determined that the first burst video is advertisement.Can be with such as in web page address, in advertisement web page address Comprising character " AD ", and do not have character " AD " in the web page address of video.
Or S102b-2, judge the web page address in the index information of the first burst video and the webpage of default advertisement Whether address is identical, if, it is determined that the first burst video is advertisement.The program is with being applied to know in advance the webpage of advertisement Location.
Or S102b-3, by the web page address in the index information of first video and the burst video that played Web page address in index information is compared, if different quantity is more than identical quantity, it is determined that the first burst video For advertisement.Because the source of advertisement and the source of video are different, therefore the web page address of advertisement is different from the web page address of video. The program is applied to possibly not know in advance the web page address of advertisement or program, but the length of advertisement is far below program Length, advertisement is determined by way of this feature can be compared by quantity.
Or S102b-4, judge whether the web page address in the index information of the first burst video is default video source Web page address, if not, it is determined that the first burst video is advertisement.The program is with being applied to know in advance the webpage of program Location.
Alternatively, other data flows (S103) in the data flow of above-mentioned broadcasting video in addition to the data of advertisement can wrap Include:
S103a, according to the data flow of the played in order video of data field in the data flow of video, when broadcasting to advertisement During data, the data of advertisement are skipped, play the data of the program video after the data of advertisement.
For example, when playing integral expression video structure video, in the data flow of the video of acquisition, in the data flow of video The order of data field is, the data field of 5 program videos, the data field of 3 advertisements, the data word of 4 program videos Section, with the data flow of the data flow played in order of the video video, after the content for playing preceding 5 data fields, skip the 6th number According to field to the 8th data field, the 9th data field is directly played to the content of the 13rd data field.
In another example when playing split blade type video structure video, in the data flow of the video of acquisition, the data flow of video The order of middle split blade type video structure video is the program video of 3 split blade type video structures, 1 split blade type video structure Advertisement, the program video of 1 split blade type video structure.With the played in order of split blade type video structure video in the data flow of video The data flow of the video, after the program video for the preceding 3 split blade type video structures that finish playing, determine the 4th split blade type video Structured video is the advertisement of split blade type video structure, continues to judge whether the 5th split blade type video structure video is that split blade type regards The advertisement of frequency structure, the 5th split blade type video structure video are the program videos of split blade type video structure, then skip 4th piece point Chip video structure video, directly play the 5th split blade type video structure video.
Again alternatively, other data flows (S103) in the data flow of above-mentioned broadcasting video in addition to the data of advertisement can be with Including:
S103b, the data of advertisement are deleted, the data flow that the data of other videos are combined into new video plays out.
For example, when obtaining complete formula video structure video, in the data flow of the video of acquisition, in the data flow of video The order of data field is, the data field of 5 program videos, the data field of 3 advertisements, the data word of 4 program videos Section, the data field that the 6th data field to the 8th data field is advertisement is determined, then the 6th data are deleted in the data flow of video Field combines the 1st data field to the 5th data field and the 9th data field to the 13rd data field to the 8th data field The data flow of Cheng Xin video.
In another example when playing split blade type video structure video, in the data flow of the video of acquisition, the data flow of video The order of middle split blade type video structure video is the program video of 3 split blade type video structures, 1 split blade type video structure Advertisement, the program video of 1 split blade type video structure.It is split blade type video structure to determine the 4th split blade type video structure video Advertisement, then in the data flow of video delete the 4th split blade type video structure video, the 1st split blade type video structure is regarded Frequency is combined into the data flow of new video to the 3rd split blade type video structure video and the 5th split blade type video structure video.
A kind of method implementation process for playing video is the foregoing described, the process can be realized by device, below to device Built-in function and structure are introduced.
As shown in figure 5, a kind of device for playing video, including:Acquisition module 501, determining module 502 and playing module 503。
Acquisition module 501, for obtaining the data flow of video;
Determining module 502, in the data flow of the video, determining the data of advertisement;
Playing module 503, other data flows in the data flow for playing the video in addition to the data of the advertisement;
Optionally, if video is the video of complete formula video structure, as shown in fig. 6, above-mentioned determining module 502, can be wrapped Include:
First determining unit 601, if the bebinning character or termination character of the first data field are predetermined advertisement character, For determining data field of first data field for advertisement.
Optionally, if video is the video of complete formula video structure, as shown in fig. 7, above-mentioned determining module 502, can be wrapped Include:
Judging unit 701, for by starting/termination character of the first data field in the data flow of the video and institute Starting/the termination character for stating other data fields in the data flow of video is compared.
Second determining unit 702, if the quantity differed is more than identical quantity, for determining first data word Section is the data field of advertisement.
Optionally, if video is the video of complete formula video structure, as shown in figure 8, above-mentioned determining module 502, can be wrapped Include:
Start field determining unit 801, for the data field in the data flow according to the video bebinning character or Termination character, determine the initial data field of the advertisement in the data flow of the video;
3rd determining unit 802, for according to default Ad Length, after the initial data field for determining the advertisement Default Ad Length in data field be advertisement data field.
Optionally, when video data stream is the video data stream of burst video, shown in institute Fig. 9, the determining module 502, any one in the following units can be comprised at least:
Fixed character determining unit 901, the index letter of the first burst video in the data flow for judging the video Whether the fixed character in web page address in breath is default advertisement character, if, it is determined that the first burst video is wide Accuse.
Default network address determining unit 902, the index letter of the first burst video in the data flow for judging the video Whether the web page address in breath is identical with the web page address of default advertisement, if, it is determined that the first burst video is advertisement.
Compare network address determining unit 903, for by the index information of the first burst video in the data flow of the video In web page address compared with the web page address of above played every video, if different quantity is more than identical number Amount, it is determined that the first burst video is advertisement.
Video source determining unit 904, the index information of the first burst video in the data flow for judging the video In web page address whether be default video source web page address, if not, it is determined that the first burst video is advertisement.
Optionally, as shown in Figure 10, above-mentioned playing module 503, can include:
First plays submodule 1001, the data for the played in order video of data field in the data flow according to video Stream, when playing to the data of advertisement, the data of advertisement are skipped, play the data of the program video after the data of advertisement;Or
Second plays submodule 1002, and for deleting the data of advertisement, the data of other videos are combined into new video Data flow play out.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more The shape for the computer program product that usable storage medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (4)

  1. A kind of 1. method for playing video, it is characterised in that including:
    The data flow of video is obtained, wherein the data flow architecture of the video includes:Complete formula video structure or split blade type video Structure;
    In the data flow of the video, the data of advertisement are determined;
    Play other data flows in addition to the data of the advertisement in the data flow of the video;
    Wherein, it is described in the data flow of the video if the data flow architecture of the video is complete formula video structure, really Determine the data of advertisement, including:
    In the data flow of the video, according to the bebinning character or termination character of data field, the data field of advertisement is determined;
    Wherein, it is described in the data flow of the video, according to the bebinning character or termination character of data field, determine advertisement Data field, including:
    It is determined that whether the bebinning character or termination character of the first data field in stating the data flow of video are predetermined advertisement Character, if it is, determining the data field that first data field is advertisement;Or
    In the data flow of video, by starting/termination character of the first data field and starting/end word of other data fields Symbol is compared;Count starting/termination character of the first data field and starting/termination character identical of other data fields Quantity, and the number that starting/termination character of the first data field differs with starting/termination character of other data fields Amount;If the quantity differed is more than identical quantity, data field of first data field corresponding to advertisement is determined;Or
    According to the bebinning character or termination character of the data field in the data flow for stating video, the data flow of the video is determined In advertisement initial data field;According to default Ad Length, determine pre- after the initial data field of the advertisement If the data field in Ad Length is the data field of advertisement;
    If the data flow architecture of the video is split blade type video structure, described in the data flow of the video, it is determined that extensively The data of announcement, including:
    In the data flow of video, according to the web page address in the index information of video, the data corresponding to advertisement are determined;
    Wherein, it is described in the data flow of video, according to the web page address in the index information of video, the data of advertisement are determined, Including:
    Judge whether the fixed character in the web page address in the index information of the first burst video is default advertisement character, if It is, it is determined that the first burst video is advertisement;Or
    Judge whether the web page address in the index information of the first burst video is identical with the web page address of default advertisement, if It is, it is determined that the first burst video is advertisement;Or
    By the webpage in the index information of the web page address in the index information of first video and the burst video that played Address is compared, if different quantity is more than identical quantity, it is determined that the first burst video is advertisement;Or
    Judge the web page address in the index information of the first burst video whether be default video source web page address, if not It is, it is determined that the first burst video is advertisement.
  2. 2. the method as described in claim 1, it is characterised in that except the advertisement in the data flow for playing the video Other data flows outside data, including:
    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, jump The data of advertisement are crossed, play the data of the program video after the data of advertisement;Or
    The data of advertisement are deleted, the data flow that the data of other videos are combined into new video plays out.
  3. A kind of 3. device for playing video, it is characterised in that including:
    Acquisition module, for obtaining the data flow of video, wherein the data flow architecture of the video includes:Complete formula video structure Or split blade type video structure;
    Determining module, in the data flow of the video, determining the data of advertisement;
    Playing module, other data flows in the data flow for playing the video in addition to the data of the advertisement;
    Wherein, however, it is determined that the structure of the data flow of the video is complete formula video structure, then the determining module, including:The One determining unit, if the bebinning character or termination character of the first data field in the data flow of the video are predetermined wide Character is accused, for determining data field of first data field for advertisement;
    Wherein, the determining module, including:
    Judging unit, for by starting/termination character of the first data field in the data flow of the video and the video Data flow in starting/termination characters of other data fields be compared;Second determining unit, if the quantity differed More than identical quantity, for determining data field of first data field for advertisement;Or
    The determining module, including:
    Start field determining unit, bebinning character or end word for the data field in the data flow according to the video Symbol, determine the initial data field of the advertisement in the data flow of the video;
    3rd determining unit, it is default after the initial data field of the advertisement for according to default Ad Length, determining Data field in Ad Length is the data field of advertisement;Or
    The determining module, is specifically used for:In the data flow of video, by starting/termination character of the first data field and its Starting/the termination character of its data field is compared;Count starting/termination character of the first data field and other data words Starting/termination character identical quantity of section, and of starting/termination character of the first data field and other data fields The quantity that beginning/termination character differs;If the quantity differed is more than identical quantity, determine the first data field for advertisement institute Corresponding data field;
    If the data flow architecture of the video is split blade type video structure, the determining module, including:
    4th determining unit, in the data flow of video, according to the web page address in the index information of video, determining advertisement Corresponding data;
    Wherein, the determining module also includes:
    Fixed character determining unit, the net in the index information of the first burst video in the data flow for judging the video Whether the fixed character in page address is default advertisement character, if, it is determined that the first burst video is advertisement;Or
    Default network address determining unit, the net in the index information of the first burst video in the data flow for judging the video Whether page address is identical with the web page address of default advertisement, if, it is determined that the first burst video is advertisement;Or
    Compare network address determining unit, for by the webpage in the index information of the first burst video in the data flow of the video Address is compared with the web page address for the every video that above played, if different quantity is more than identical quantity, really The fixed first burst video is advertisement;Or
    Video source determining unit, the webpage in the index information of the first burst video in the data flow for judging the video Address whether be default video source web page address, if not, it is determined that the first burst video is advertisement.
  4. 4. device as claimed in claim 3, it is characterised in that the playing module, including:
    First plays submodule, for the data flow of the played in order video of data field in the data flow according to video, when broadcasting When putting to the data of advertisement, the data of advertisement are skipped, play the data of the program video after the data of advertisement;Or
    Second plays submodule, and for deleting the data of advertisement, the data of other videos are combined into the data flow of new video Play out.
CN201410258086.8A 2014-06-11 2014-06-11 A kind of method and device for playing video Active 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 CN104093084A (en) 2014-10-08
CN104093084B true CN104093084B (en) 2018-03-30

Family

ID=51640756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410258086.8A Active 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)

Families Citing this family (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
CN106162362B (en) * 2015-04-20 2020-10-16 中兴通讯股份有限公司 Video playing method and player
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
CN109618230B (en) * 2018-12-21 2022-03-11 深圳Tcl数字技术有限公司 Advertisement filtering method, intelligent terminal and computer readable storage medium

Citations (9)

* 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 skipping service
CN1595970A (en) * 2004-06-22 2005-03-16 威盛电子股份有限公司 Method and system for detecting advertisement segment based on specific frame of beginning/ending segment
CN101002472A (en) * 2004-08-12 2007-07-18 皇家飞利浦电子股份有限公司 Selection of content from a stream of video or audio data
CN101207758A (en) * 2007-11-27 2008-06-25 深圳市同洲电子股份有限公司 Method for removing fragment in record program
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1964046A4 (en) * 2005-12-24 2013-01-09 Rich Media Club Llc System and method for the creation, distribution and tracking of advertising via electronic networks
US8887194B2 (en) * 2008-06-19 2014-11-11 Verizon Patent And Licensing Inc. Method and system for providing interactive advertisement customization

Patent Citations (9)

* 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 skipping service
CN1595970A (en) * 2004-06-22 2005-03-16 威盛电子股份有限公司 Method and system for detecting advertisement segment based on specific frame of beginning/ending segment
CN101002472A (en) * 2004-08-12 2007-07-18 皇家飞利浦电子股份有限公司 Selection of content from a stream of video or audio data
CN101207758A (en) * 2007-11-27 2008-06-25 深圳市同洲电子股份有限公司 Method for removing fragment in record program
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

Also Published As

Publication number Publication date
CN104093084A (en) 2014-10-08

Similar Documents

Publication Publication Date Title
CN104093084B (en) A kind of method and device for playing video
CN109565620A (en) Low latency HTTP real-time streaming transport
US20190333283A1 (en) Systems and methods for generating and presenting augmented video content
US11284170B1 (en) Video preview mechanism
JP5748765B2 (en) Streaming method and apparatus that operates by inserting other contents into main contents
US8737820B2 (en) Systems and methods for recording content within digital video
US20140156363A1 (en) Modifying functionality and advertisement content on media players
US10554924B2 (en) Displaying content between loops of a looping media item
CN105187896B (en) The media file playing method and system more being segmented
CN104902145B (en) A kind of player method and device of live stream video
CN104683858B (en) A kind of method for previewing and device of the content of Streaming Media
WO2017185601A1 (en) Method and device for providing and downloading video
CN108683945A (en) Video broadcasting method based on HLS protocol and device
CN107786903A (en) video interactive method and device
CN105898625A (en) Playing processing method and terminal equipment
CN104994429B (en) A kind of method and device playing video
CN104768083B (en) A kind of video broadcasting method and device of chapters and sections content displaying
CN104980817B (en) A kind of video flowing takes out frame method and device
JP2016072858A (en) Media data generation method, media data reproduction method, media data generation device, media data reproduction device, computer readable recording medium and program
CN108632644A (en) The methods of exhibiting and equipment of preview graph
KR102137327B1 (en) System for providing live thumbnail of streaming video
KR101520788B1 (en) Method for Playing Movie Synchronous
CN108881968A (en) A kind of network video advertisement put-on method and system
CN106713948A (en) Video sectional loading method and device
CN104683882B (en) A kind of generation of Streaming Media speed file and player method, device

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
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 LIEBAO 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 Internet Science and Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant