CN103716676B - The video program play method and device of intelligent television - Google Patents
The video program play method and device of intelligent television Download PDFInfo
- Publication number
- CN103716676B CN103716676B CN201310749619.8A CN201310749619A CN103716676B CN 103716676 B CN103716676 B CN 103716676B CN 201310749619 A CN201310749619 A CN 201310749619A CN 103716676 B CN103716676 B CN 103716676B
- Authority
- CN
- China
- Prior art keywords
- frame
- video
- block
- reference video
- frequency program
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000000151 deposition Methods 0.000 claims description 8
- 241000208340 Araliaceae Species 0.000 claims description 2
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims description 2
- 235000003140 Panax quinquefolius Nutrition 0.000 claims description 2
- 235000008434 ginseng Nutrition 0.000 claims description 2
- 241000872198 Serjania polyphylla Species 0.000 claims 2
- 238000012163 sequencing technique Methods 0.000 claims 1
- 239000002699 waste material Substances 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 230000003111 delayed effect Effects 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000002860 competitive effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
Landscapes
- Controls And Circuits For Display Device (AREA)
- Transforming Electric Information Into Light Information (AREA)
Abstract
The present invention discloses a kind of video program play method of intelligent television, comprises the following steps:The frame of video of video frequency program is deposited in into the first buffer area by reproduction time order;The predetermined frame of video of video frequency program is obtained as reference video frame, n block is divided into and deposits in the second buffer area;Successively obtain reference video frame after frame of video and carry out monochrome pixels comparison in difference respectively with each block of reference video frame, obtain the frame number of the corresponding frame of video in positive starting position of video frequency program and deposit in the 3rd buffer area;According to the frame number deposited in the 3rd buffer area, from the frame of video of the positive part of video frequency program is directly read display caching area by the first buffer area, the positive part of the video frequency program is played in display.Invention additionally discloses a kind of video program play device of intelligent television.The automatic head for skipping video frequency program can be achieved in the present invention, eliminate user to wait the time that positive is wasted, more preferable Consumer's Experience is brought to user.
Description
Technical field
The present invention relates to the video program play method and dress in ntelligent television technolog field, more particularly to a kind of intelligent television
Put.
Background technology
With the development of TV tech, occur in that a variety of including TV reception, live broadcast stream media, access internet etc.
The intelligent television that function is integrated.The seamless connection of intelligent television and internet so that user can be realized as mutually using TV
Networking search, viewing Online Video, online viewing competitive sports, a variety of applications such as deliver microblogging, browse web sites.
User by network using intelligent television when watching TV series, because substantially each collection has one thousand
Same head, and many times, these head user simultaneously think viewing need not, this can undoubtedly waste user it is substantial amounts of when
Between.On the other hand, when user needs to skip head, remote controller is all obtained each time and carries out F.F., user is significantly reduced
Experience.
The content of the invention
It is a primary object of the present invention to provide a kind of video program play method of intelligent television, it is intended to reduce user and exist
Stand-by period during video program play, improve Consumer's Experience.
In order to achieve the above object, the present invention proposes a kind of video program play method of intelligent television, including following step
Suddenly:
Step A, the video frequency program for receiving needs broadcasting, and the frame of video of the video frequency program is deposited by reproduction time order
It is put in the first buffer area;
Step B, the predetermined frame of video of the video frequency program is obtained out of described first buffer area as reference video
Frame, the predetermined frame of video is located at the leader of the video frequency program, and the reference video frame is divided into n block
And the second buffer area is deposited in, wherein n is natural number and n >=2;
Step C, successively from the video frequency program is obtained in first buffer area be located at the reference video frame after
Frame of video and each block of acquired frame of video and the reference video frame is subjected to monochrome pixels comparison in difference, root respectively
The frame number of the corresponding frame of video in positive starting position of the video frequency program is obtained according to monochrome pixels comparison in difference result, will be described
Frame number deposits in the 3rd buffer area;
Step D, according to the frame number deposited in the 3rd buffer area, from first buffer area directly from the video
The positive starting position of program reads the frame of video of the positive part of the video frequency program in display caching area, and display is played
The positive part of the video frequency program.
Preferably, the step C is specifically included:
Step C1, it is located at next of the reference video frame from the video frequency program is obtained in first buffer area
Frame of video, and the frame of video currently obtained is divided into the n corresponding with the reference video frame according to the pre-defined rule
Block, carries out monochrome pixels poor with the corresponding block of the reference video frame respectively by n block of the frame of video currently obtained
Different comparison, finds out the original area of the frame of video currently obtained the block minimum relative to the reference video frame monochrome pixels difference
Block positional information, the 3rd buffer area is deposited in by the original block positional information;
Step C2, continuation obtain next frame of video of the video frequency program out of described first buffer area, and according to institute
State pre-defined rule and the frame of video currently obtained is divided into the n block corresponding with the reference video frame, will currently obtain
N block of frame of video carry out monochrome pixels comparison in difference with the corresponding block of the reference video frame respectively, find out current
The current block positional information of the frame of video of the acquisition block minimum relative to the reference video frame monochrome pixels difference, judges
Whether the current block positional information is identical with the original block positional information, if identical, returns and performs step C2;
If it is not the same, then performing step C3;
Step C3, judge the starting position of the frame of video that currently obtains as the positive part of the video frequency program, and ought
The frame number of the frame of video of preceding acquisition deposits in the 3rd buffer area.
Preferably, the reference video frame is divided into n block in the step B and deposits in the step of the second buffer area
It is rapid to be specially:
Subregion N1 on during the reference video frame is divided into according to the display location on screen, center subregion N2, in
Lower subregion N3, left subregion N4 and five rectangle blocks of right subregion N5 simultaneously deposit in the second buffer area.
Preferably, the upper left corner of screen is defined as to the origin [0,0] of XY coordinate systems, determined along the direction of screen laterally to the right
Justice is the X-axis positive direction of XY coordinate systems, and the Y-axis positive direction of XY coordinate systems is defined as along the longitudinal downwardly direction of screen, screen
Lateral dimension is x, and the longitudinal size of screen is y,
Upper display locations of the subregion N1 on screen is in the reference video frame:By coordinate points [0.25x, 0],
The rectangular area that [0.75x, 0], [0.25x, 0.25y], [0.75x, 0.25y] are surrounded;
Display locations of the center subregion N2 of the reference video frame on screen is:By coordinate points [0.25x, 0.25y],
The rectangular area that [0.75x, 0.25y], [0.25x, 0.75y], [0.75x, 0.75y] are surrounded;
Lower display locations of the subregion N3 on screen is in the reference video frame:By coordinate points [0.25x, 0.75y],
The rectangular area that [0.75x, 0.75y], [0.25x, y], [0.75x, y] are surrounded;
Display locations of the left subregion N4 of the reference video frame on screen is:By coordinate points [0,0], [0.25x, 0],
The rectangular area that [0, y], [0.25x, y] are surrounded;
Display locations of the right subregion N5 on screen is in the reference video frame:By coordinate points [0.75x, 0], [x,
0], the rectangular area that [0.75x, y], [x, 0.25y] are surrounded.
Preferably, in the step C1 by n block of the frame of video currently obtained respectively with the reference video frame
The step of correspondence block carries out monochrome pixels comparison in difference specifically includes:
Step C11, using such as following formula(1)Calculate each block and the reference video frame of the frame of video currently obtained
The white pixel difference of correspondence block;
Wi=|NWpi-NWri| (1)
Above formula(1)In, i is natural number and 1≤i≤n, WiRepresent institute in current i-th of block for obtaining frame of video
There are the absolute value of the difference of all white pixels in white pixel i-th of block corresponding with the reference video frame, NWpiTable
Show all white pixel summations in current i-th of block for obtaining frame of video;NWriRepresent the i-th of the reference video frame
All white pixel summations in individual block;
Step C12, using such as following formula(2)Calculate each block and the reference video frame of the frame of video currently obtained
The black picture element difference of correspondence block;
Bi=|NBpi-NBri| (2)
Above formula(2)In, i is natural number and 1≤i≤n, BiRepresent institute in current i-th of block for obtaining frame of video
There are the absolute value of the difference of all black picture elements in black picture element i-th of block corresponding with the reference video frame, NBpiTable
Show all black picture element summations in current i-th of block for obtaining frame of video;NBriRepresent the i-th of the reference video frame
All black picture element summations in individual block;
Step C13, using such as following formula(3)Calculate each block and the reference video frame of the frame of video currently obtained
The black and white pixel value difference of correspondence block;
BWi=Bi+Wi(3)
Above formula(3)In, i is natural number and 1≤i≤n, BWiRepresent presently described current i-th of block for obtaining frame of video
The black and white pixel value difference of i-th of block corresponding with the reference video frame.
The present invention also provides a kind of video program play device of intelligent television, including receiving module, memory module, image
Processing module and display module, wherein:
The receiving module is used to receive the video frequency program for needing to play;
The memory module includes the first buffer area, the second buffer area and the 3rd buffer area, and first buffer area is used for
The frame of video of the video frequency program is deposited by reproduction time order;
Described image processing module, the predetermined video for obtaining the video frequency program out of described first buffer area
Frame is as reference video frame, and the predetermined frame of video is located at the leader of the video frequency program, and by the reference
Frame of video is divided into n block, and wherein n is natural number and n >=2;
Described image processing module, is additionally operable to from the video frequency program is obtained successively in first buffer area be located at institute
State the frame of video after reference video frame and acquired frame of video and the reference video frame are subjected to monochrome pixels diversity ratio
Compared with, and obtain according to monochrome pixels comparison in difference result the frame of the corresponding frame of video in positive starting position of the video frequency program
Number;
Second buffer area, for depositing the n block that the reference video frame is divided into;
3rd buffer area, the frame number of the corresponding frame of video in positive starting position for depositing the video frequency program;
The display module, for according to the frame number deposited in the 3rd buffer area, being incited somebody to action from first buffer area
The frame of video of the positive part of the video frequency program is read in display caching area, and display is playing the video frequency program just
Piece part.
Preferably, described image processing module includes block division unit, comparing unit and judging unit, wherein:
The block division unit, the predetermined video for obtaining the video frequency program out of described first buffer area
The reference video frame is divided into n block, and the acquisition out of described first buffer area successively by frame as reference video frame
It is located at the frame of video after the reference video frame in the video frequency program, and according to the pre-defined rule by the frame of video of acquisition
It is divided into the n block corresponding with the reference video frame;
The comparing unit, for the corresponding area by n block of the frame of video of acquisition respectively with the reference video frame
Block carries out monochrome pixels comparison in difference, finds out the frame of video of acquisition relative to reference video frame monochrome pixels difference minimum
The block locations information of block, and first frame of video after the reference video frame is black relative to the reference video frame
The block locations information of the minimum block of white pixel difference is used as original block positional information;And by the reference video frame it
The area of the later each frame of video of the rear first frame of video block minimum relative to the reference video frame monochrome pixels difference
Block positional information is used as current block positional information;
The judging unit, for judge the current block positional information and the original block positional information whether phase
Together, and when differing the starting position of the frame of video that currently obtains as the positive part of the video frequency program is judged;
3rd buffer area, is additionally operable to storage the first block locations information, and deposit the video frequency program
The frame number of frame of video corresponding to the starting position of positive part.
Preferably, the block division unit specifically for:By the reference video frame according to the display position on screen
Put in being divided into subregion N1, center subregion N2, in lower subregion N3, five rectangle blocks of left subregion N4 and right subregion N5.
Preferably, the upper left corner of screen is defined to the origin [0,0] of XY coordinate systems, defined along the direction of screen laterally to the right
For the X-axis positive direction of XY coordinate systems, the Y-axis positive direction of XY coordinate systems, the horizontal stroke of screen are defined as along the longitudinal downwardly direction of screen
It is x to size, the longitudinal size of screen is y,
Upper display locations of the subregion N1 on screen is in the reference video frame:By coordinate points [0.25x, 0],
The rectangular area that [0.75x, 0], [0.25x, 0.25y], [0.75x, 0.25y] are surrounded;
Display locations of the center subregion N2 of the reference video frame on screen is:By coordinate points [0.25x, 0.25y],
The rectangular area that [0.75x, 0.25y], [0.25x, 0.75y], [0.75x, 0.75y] are surrounded;
Lower display locations of the subregion N3 on screen is in the reference video frame:By coordinate points [0.25x, 0.75y],
The rectangular area that [0.75x, 0.75y], [0.25x, y], [0.75x, y] are surrounded;
Display locations of the left subregion N4 of the reference video frame on screen is:By coordinate points [0,0], [0.25x, 0],
The rectangular area that [0, y], [0.25x, y] are surrounded;
Display locations of the right subregion N5 on screen is in the reference video frame:By coordinate points [0.75x, 0], [x,
0], the rectangular area that [0.75x, y], [x, 0.25y] are surrounded.
Preferably, described image processing module specifically for:
Using such as following formula(1)Calculate each block of the frame of video currently obtained and the corresponding block of the reference video frame
White pixel difference;
Wi=|NWpi-NWri| (1)
Above formula(1)In, i is natural number and 1≤i≤n, WiRepresent institute in current i-th of block for obtaining frame of video
There are the absolute value of the difference of all white pixels in white pixel i-th of block corresponding with the reference video frame, NWpiTable
Show all white pixel summations in current i-th of block for obtaining frame of video;NWriRepresent the i-th of the reference video frame
All white pixel summations in individual block;
Using such as following formula(2)Calculate each block of the frame of video currently obtained and the corresponding block of the reference video frame
Black picture element difference;
Bi=|NBpi-NBri| (2)
Above formula(2)In, i is natural number and 1≤i≤n, BiRepresent institute in current i-th of block for obtaining frame of video
There are the absolute value of the difference of all black picture elements in black picture element i-th of block corresponding with the reference video frame, NBpiTable
Show all black picture element summations in current i-th of block for obtaining frame of video;NBriRepresent the i-th of the reference video frame
All black picture element summations in individual block;
Using such as following formula(3)Calculate each block of the frame of video currently obtained and the corresponding block of the reference video frame
Black and white pixel value difference;
BWi=Bi+Wi(3)
Above formula(3)In, i is natural number and 1≤i≤n, BWiRepresent presently described current i-th of block for obtaining frame of video
The black and white pixel value difference of i-th of block corresponding with the reference video frame.
The video program play method and device of the intelligent television of the present invention, by monochrome pixels comparison in difference come detection lug
The situation of change for position and head word occur of head word, so that it is determined that the starting position of the positive part of video frequency program, when
During user's watching video program, the display module of intelligent television can read video directly since the positive part of video frequency program
The frame of video of program, so as to realize the automatic head for skipping video frequency program, user is eliminated to wait that positive wastes when
Between, more preferable Consumer's Experience is brought to user, it is more intelligent, and a large amount of unnecessary energy wastes can be saved.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the embodiment of video program play method one of intelligent television of the present invention.
Fig. 2 for intelligent television shown in Fig. 1 video program play method in step S30 refinement schematic flow sheet.
The refinement schematic flow sheet that Fig. 3 is step S31 in Fig. 2.
Fig. 4 is the structural representation of the embodiment of video program play device one of intelligent television of the present invention.
Fig. 5 for intelligent television shown in Fig. 4 video program play device in memory module structural representation.
Fig. 6 for intelligent television shown in Fig. 4 video program play device in image processing module structural representation.
In order that the technical scheme of invention is clearer, clear, it is described in further detail below in conjunction with accompanying drawing.
Embodiment
It should be appreciated that embodiment described herein is not used to limit this hair only to explain the present invention
It is bright.
Reference picture 1, is the schematic flow sheet of the embodiment of video program play method one of intelligent television of the present invention.This implementation
The video program play method for the intelligent television that example is provided, comprises the following steps:
Step S10, the video frequency program for receiving needs broadcasting, and the frame of video of the video frequency program is pressed into reproduction time order
Deposit in the first buffer area;
It is the collection of drama with head to need the video frequency program played, and can come from internet, family lan, all kinds of electricity
Depending on signal etc..When user by intelligent television watches video frequency program, it is desirable to when skipping the head of video frequency program, can be by
One button is set on the remote control of intelligent television or intelligent television, by operating the button intelligent television is performed the video
Program broadcasting method or the automatic detection by intelligent television, are with piece when detecting the video frequency program to be played
During the collection of drama of head, the video program play method is performed automatically.
When performing the video program play method, when intelligent television receives the video frequency program for needing to play, intelligence
Can television system can create the first buffer area, and the frame of video of the video frequency program deposited in first by reproduction time order delayed
Area is deposited, and the display caching area for not being sent directly to display module is played out.
Step S20, the predetermined frame of video of the video frequency program is obtained out of described first buffer area as with reference to regarding
Frequency frame, the predetermined frame of video is located at the leader of the video frequency program, and the reference video frame is divided into n area
Block simultaneously deposits in the second buffer area, and wherein n is natural number and n >=2;
The predetermined frame of video of the video frequency program is obtained as reference video frame, wherein the predetermined frame of video can be with
It is first frame of video of video frequency program, can also be other frame of video after first frame of video in video frequency program, only
Ensure that the predetermined frame of video is located at the leader of the video frequency program.Some collection of drama class video frequency programs are most opened
Several frame of video begun(Several frame of video that i.e. leader most starts)It is possible to do not occur head word also, in order to make
The reference video frame is located at the leader of the video frequency program and ensures occurred head word in reference video frame, with suitable
With further types of collection of drama class video frequency program, the predetermined frame of video be preferred to use in video frequency program first frame of video it
Other frame of video afterwards, for example, select the 100th video note of video frequency program as reference video frame, and the of video frequency program
100 videos generally fall into leader and head word have occurred, or play for the 30th second in selection video frequency program
Frame of video is typically larger than 2 minutes as the head as reference video frame, collection of drama class video frequency program, the frame of video played for the 30th second
In generally fall into leader and head word occurred, the selection of reference video frames is not limited to given example,
Can also be other selections, specifically can be according to the frame rate of video frequency program and the duration of leader depending on.
The reference video frame is divided into n block and the second buffer area is deposited in, its purpose is to head are literary
The region that word occurs makes a distinction with the region without head word.
Step 30, successively from the video frequency program is obtained in first buffer area be located at the reference video frame after
Frame of video and each block of acquired frame of video and the reference video frame is subjected to monochrome pixels comparison in difference, root respectively
The frame number of the corresponding frame of video in positive starting position of the video frequency program is obtained according to monochrome pixels comparison in difference result, will be described
Frame number deposits in the 3rd buffer area;
Pixel of the head word of the leader of video frequency program when presenting is usually black(That is R=0, G=0, B=0,
The pixel of red, green, blue three is most dark)Or white(That is R=255, G=255, B=255, the pixel of red, green, blue three is most bright).Pass through
Frame of video after the reference video frame is obtained successively and by acquired frame of video and each block of the reference video frame
Monochrome pixels comparison in difference is carried out respectively, according to monochrome pixels comparison in difference as a result, it is possible to block where finding out head word
Position, and can interpolate that whether head word disappears, when finding head word message, then illustrate that leader terminates, from
And obtain the frame number of the corresponding frame of video in positive starting position of the video frequency program.
Step S40, according to the frame number deposited in the 3rd buffer area, directly regarded from first buffer area from described
The positive starting position of frequency program reads the frame of video of the positive part of the video frequency program in display caching area, and display is broadcast
Put the positive part of the video frequency program.
The display module of intelligent television can detect the frame number that frame of video whether is deposited in the 3rd buffer area in real time,
Once detect the frame number of frame of video, then can be according to the frame number deposited in the 3rd buffer area, from first buffer area
The frame of video of the positive part of the video frequency program directly is read into display from the positive starting position of the video frequency program to delay
Deposit in area, the positive part of the video frequency program is played in display, so as to skip the head of video frequency program.
The video program play method of above-mentioned intelligent television, going out for head word is detected by monochrome pixels comparison in difference
Existing position and the situation of change of head word, so that it is determined that the starting position of the positive part of video frequency program, is regarded when user watches
During frequency program, the display module of intelligent television can read the video of video frequency program directly since the positive part of video frequency program
Frame, so as to realize the automatic head for skipping video frequency program, eliminates user to wait the time that positive is wasted, to user with
Carry out more preferable Consumer's Experience, it is more intelligent, and a large amount of unnecessary energy wastes can be saved.
When the situation of change for position and head word occur of head word is detected by monochrome pixels comparison in difference, lead to
Each block progress monochrome pixels for each block and frame of video thereafter for choosing that frame of video will most be started by crossing
Comparison in difference, is able to confirm that out the block where head word, passes through each block by that frame of video of selection is most started
Continue to carry out monochrome pixels comparison in difference one by one with each block of frame of video afterwards, be able to detect that the change of head word
Situation, so that the positive starting position of video frequency program is obtained, can also be by successively by each block of previous frame of video with after
Each block of one frame of video carries out monochrome pixels comparison in difference, to detect the situation of change of head word, so as to be regarded
The positive starting position of frequency program.
Reference picture 2, Fig. 2 illustrates for the refinement flow of step S30 in the video program play method of intelligent television shown in Fig. 1
Figure.In the present embodiment, the step S30 is specifically included:
It is step S31, next positioned at the reference video frame from the video frequency program is obtained in first buffer area
Frame of video, and the frame of video currently obtained is divided into according to the pre-defined rule n corresponding with the reference video frame
Individual block, monochrome pixels are carried out by n block of the frame of video currently obtained with the corresponding block of the reference video frame respectively
Comparison in difference, finds out the initial of the frame of video currently obtained the block minimum relative to the reference video frame monochrome pixels difference
Block locations information, the 3rd buffer area is deposited in by the original block positional information;
Step S32, continuation obtain next frame of video of the video frequency program out of described first buffer area, and according to institute
State pre-defined rule and the frame of video currently obtained is divided into the n block corresponding with the reference video frame, will currently obtain
N block of frame of video carry out monochrome pixels comparison in difference with the corresponding block of the reference video frame respectively, find out current
The current block positional information of the frame of video of the acquisition block minimum relative to the reference video frame monochrome pixels difference, judges
Whether the current block positional information is identical with the original block positional information, if identical, returns and performs step
S32;If it is not the same, then performing step S33;
Step S33, judge the starting position of the frame of video that currently obtains as the positive part of the video frequency program, and ought
The frame number of the frame of video of preceding acquisition deposits in the 3rd buffer area.
Monochrome pixels comparison in difference is carried out one by one with follow-up frame of video by selecting reference video frame, can reduce ratio
The error of relatively result, so as to more accurately obtain the positive starting position of video frequency program.
When judging whether the current block positional information is identical with the original block positional information, if identical, say
The head word of bright video frequency program is still existed in current video frame, current frame of video remain as leader, it is necessary to after
It is continuous to judge next frame of video;If it is not the same, the head word of explanation video frequency program has been to disappear in current video frame, currently
Frame of video have enter into positive part, without continue judge next frame of video, judge that the frame of video currently obtained regards as described in
The starting position of the positive part of frequency program, and the frame number of the frame of video currently obtained is deposited in into the 3rd buffer area.
When carrying out block division to reference video frame, primary concern is that head word is generally occurred in video frequency program
Position.In the present embodiment, the reference video frame is divided into n block and deposits in second in the step S20 and delayed
The step of depositing area be specially:
Subregion N1 on during the reference video frame is divided into according to the display location on screen, center subregion N2, in
Lower subregion N3, left subregion N4 and five rectangle blocks of right subregion N5 simultaneously deposit in the second buffer area.
Specifically, the upper left corner of screen is defined as the origin [0,0] of XY coordinate systems by the present embodiment, horizontal to the right along screen
Direction be defined as the X-axis positive directions of XY coordinate systems, the Y-axis for being defined as XY coordinate systems along the longitudinal downwardly direction of screen is square
To, the lateral dimension of screen is x, and the longitudinal size of screen is y,
Upper display locations of the subregion N1 on screen is in the reference video frame:By coordinate points [0.25x, 0],
The rectangular area that [0.75x, 0], [0.25x, 0.25y], [0.75x, 0.25y] are surrounded;
Display locations of the center subregion N2 of the reference video frame on screen is:By coordinate points [0.25x, 0.25y],
The rectangular area that [0.75x, 0.25y], [0.25x, 0.75y], [0.75x, 0.75y] are surrounded;
Lower display locations of the subregion N3 on screen is in the reference video frame:By coordinate points [0.25x, 0.75y],
The rectangular area that [0.75x, 0.75y], [0.25x, y], [0.75x, y] are surrounded;
Display locations of the left subregion N4 of the reference video frame on screen is:By coordinate points [0,0], [0.25x, 0],
The rectangular area that [0, y], [0.25x, y] are surrounded;
Display locations of the right subregion N5 on screen is in the reference video frame:By coordinate points [0.75x, 0], [x,
0], the rectangular area that [0.75x, y], [x, 0.25y] are surrounded.
In reference picture 3, the present embodiment, in the step S31 by n block of the frame of video currently obtained respectively with it is described
The step of corresponding block of reference video frame carries out monochrome pixels comparison in difference specifically includes:
Step S311, using such as following formula(1)Calculate each block and the reference video frame of the frame of video currently obtained
Corresponding block white pixel difference;
Wi=|NWpi-NWri| (1)
Above formula(1)In, i is natural number and 1≤i≤n, WiRepresent institute in current i-th of block for obtaining frame of video
There are the absolute value of the difference of all white pixels in white pixel i-th of block corresponding with the reference video frame, NWpiTable
Show all white pixel summations in current i-th of block for obtaining frame of video;NWriRepresent the i-th of the reference video frame
All white pixel summations in individual block;
Summation for how to count white pixel in frame of video, this is existing known to image processing techniques personnel
Technology, will not be repeated here.
Step S312, using such as following formula(2)Calculate each block and the reference video frame of the frame of video currently obtained
Corresponding block black picture element difference;
Bi=|NBpi-NBri| (2)
Above formula(2)In, i is natural number and 1≤i≤n, BiRepresent institute in current i-th of block for obtaining frame of video
There are the absolute value of the difference of all black picture elements in black picture element i-th of block corresponding with the reference video frame, NBpiTable
Show all black picture element summations in current i-th of block for obtaining frame of video;NBriRepresent the i-th of the reference video frame
All black picture element summations in individual block;
Summation for how to count black picture element in frame of video, this is existing known to image processing techniques personnel
Technology, will not be repeated here.
Step S313, using such as following formula(3)Calculate each block and the reference video frame of the frame of video currently obtained
Corresponding block black and white pixel value difference;
BWi=Bi+Wi(3)
Above formula(3)In, i is natural number and 1≤i≤n, BWiRepresent presently described current i-th of block for obtaining frame of video
The black and white pixel value difference of i-th of block corresponding with the reference video frame.
Frame of video is divided into five subregions with above-mentioned(That is n=5)Exemplified by, it is assumed that:
In the frame of video currently obtained(First frame of video after reference video frame)In, in upper subregion N1, center point
Area N2, in lower subregion N3, left subregion N4, right subregion N5 white pixel summation NWp1、NWp2、NWp3、NWp4、NWp5Respectively
100th, 100,90,100,140, its black picture element summation NBp1、NBp2、NBp3、NBp4、NBp5Respectively 1000,100,290,10,
40;
In reference video frame, in upper subregion N1, center subregion N2, in lower subregion N3, left subregion N4, right subregion N5 it is white
Color pixel summation NWr1、NWr2、NWr3、NWr4、NWr5Respectively 120,55,60,5,135, its black picture element summation NBr1、
NBr2、NBr3、NBr4、NBr5Respectively 1200,5,60,5,39.
According to above-mentioned formula(1)Calculated, can obtain currently obtaining in frame of video subregion N1, center subregion N2,
In in lower subregion N3, left subregion N4, right subregion N5 in all white pixels block corresponding with the reference video frame it is all in vain
The absolute value W of the difference of color pixel1、W2、W3、W4、W5Respectively 20,45,30,95,5.
According to above-mentioned formula(2)Calculated, can obtain currently obtaining in frame of video subregion N1, center subregion N2,
In in lower subregion N3, left subregion N4, right subregion N5 in all white pixels block corresponding with the reference video frame it is all in vain
The absolute value B of the difference of color pixel1、B2、B3、B4、B5Respectively 200,95,230,5,1.
Further according to above-mentioned(3)Calculated, upper subregion N1, center in presently described current acquisition frame of video can be obtained
Subregion N2, in black and white pixel difference in lower subregion N3, left subregion N4, right subregion N5 with the corresponding block of the reference video frame
Value BW1、BW2、BW3、BW4、BW5Difference 220,140,260,100,6.
By sorting from small to large, the black and white pixel value difference BW of minimum can be obtained5For 6, its corresponding subregion is the right side
Subregion N5(As original block positional information), it is the subregion that head word occurs.
For each frame of video after first frame of video after reference video frame, as the method previously described, it can obtain
To the subregion corresponding to minimum minimum black and white pixel value difference(As current block positional information), by by current block
Positional information is compared with original block positional information, if identical, illustrates that head word does not disappear, current video frame is still
For leader, it is necessary to continue to judge next frame of video, if it is not the same, then illustrating that head word disappears, current video frame is
For positive part, the frame number of the frame of video currently obtained is deposited in into the 3rd buffer area.
Reference picture 4, Fig. 4 is the structural representation of the embodiment of video program play device one of intelligent television of the present invention.This
The video program play device for the intelligent television that embodiment is provided, including receiving module 11, memory module 12, image processing module
13 and display module 14, wherein:
The receiving module 11 is used to receive the video frequency program for needing to play;
It is the collection of drama with head to need the video frequency program played, and can come from internet, family lan, all kinds of electricity
Depending on signal etc..When user by intelligent television watches video frequency program, it is desirable to when skipping the head of video frequency program, can be by
One button is set on the remote control of intelligent television or intelligent television, by operating the button intelligent television is opened the video
Program broadcasting apparatus or the automatic detection by intelligent television, are with piece when detecting the video frequency program to be played
During the collection of drama of head, the video program play device is automatically turned on.
Reference picture 5, Fig. 5 for intelligent television shown in Fig. 4 video program play device in memory module 12 structural representation
Figure.The memory module 12 includes the first buffer area 121, the second buffer area 122 and the 3rd buffer area 123, first caching
Area 121 is used for the frame of video that the video frequency program is deposited by reproduction time order;
Described image processing module 13, the predetermined for obtaining the video frequency program out of described first buffer area regards
Frequency frame is as reference video frame, and the predetermined frame of video is located at the leader of the video frequency program, and by the ginseng
Examine frame of video and be divided into n block, wherein n is natural number and n >=2;
The predetermined frame of video of the video frequency program is obtained as reference video frame, wherein the predetermined frame of video can be with
It is first frame of video of video frequency program, can also be other frame of video after first frame of video in video frequency program, only
Ensure that the predetermined frame of video is located at the leader of the video frequency program.Some collection of drama class video frequency programs are most opened
Several frame of video begun(Several frame of video that i.e. leader most starts)It is possible to do not occur head word also, in order to make
The reference video frame is located at the leader of the video frequency program and ensures occurred head word in reference video frame, with suitable
With further types of collection of drama class video frequency program, the predetermined frame of video be preferred to use in video frequency program first frame of video it
Other frame of video afterwards, for example, select the 100th video note of video frequency program as reference video frame, and the of video frequency program
100 videos generally fall into leader and head word have occurred, or play for the 30th second in selection video frequency program
Frame of video is typically larger than 2 minutes as the head as reference video frame, collection of drama class video frequency program, the frame of video played for the 30th second
In generally fall into leader and head word occurred, the selection of reference video frames is not limited to given example,
Can also be other selections, specifically can be according to the frame rate of video frequency program and the duration of leader depending on.
The reference video frame is divided into n block and the second buffer area is deposited in, its purpose is to head are literary
The region that word occurs makes a distinction with the region without head word.
Described image processing module 13, is additionally operable to from the video frequency program is obtained successively in the described first 121st area of caching
Acquired frame of video and the reference video frame are simultaneously carried out monochrome pixels by frame of video after the reference video frame
Comparison in difference, and obtain according to monochrome pixels comparison in difference result the corresponding video in positive starting position of the video frequency program
The frame number of frame;
Pixel of the head word of the leader of video frequency program when presenting is usually black(That is R=0, G=0, B=0,
The pixel of red, green, blue three is most dark)Or white(That is R=255, G=255, B=255, the pixel of red, green, blue three is most bright).Pass through
Frame of video after the reference video frame is obtained successively and by acquired frame of video and each block of the reference video frame
Monochrome pixels comparison in difference is carried out respectively, according to monochrome pixels comparison in difference as a result, it is possible to block where finding out head word
Position, and can interpolate that whether head word disappears, when finding head word message, then illustrate that leader terminates, from
And obtain the frame number of the corresponding frame of video in positive starting position of the video frequency program.
Second buffer area 122, for depositing the n block that the reference video frame is divided into;
3rd buffer area 123, the frame of the corresponding frame of video in positive starting position for depositing the video frequency program
Number;
The display module 14, for according to the frame number deposited in the 3rd buffer area 123, from the described first caching
Area 121 reads the frame of video of the positive part of the video frequency program in display caching area, and the video is played in display
The positive part of program.
The display module 14 of intelligent television can detect in the 3rd buffer area 123 whether deposited frame of video in real time
Frame number, once detect the frame number of frame of video, then can be according to the frame number deposited in the 3rd buffer area 123, from described
One buffer area 121 directly reads the frame of video of the positive part of the video frequency program from the positive starting position of the video frequency program
Get in display caching area, the positive part of the video frequency program is played in display, so as to skip the head of video frequency program.
The video program play device of above-mentioned intelligent television, by setting image processing module to carry out monochrome pixels diversity ratio
Relatively come the situation of change for position and head word occur for detecting head word, so that it is determined that the positive part of video frequency program is opened
Beginning position, when user's watching video program, the display module of intelligent television can be separated directly from the positive portion of video frequency program
Beginning reads the frame of video of video frequency program, so as to realize the automatic head for skipping video frequency program, eliminates user to wait just
The time that piece is wasted, more preferable Consumer's Experience is brought to user, it is more intelligent, and a large amount of unnecessary energy waves can be saved
Take.
When the situation of change for position and head word occur of head word is detected by monochrome pixels comparison in difference, lead to
Each block progress monochrome pixels for each block and frame of video thereafter for choosing that frame of video will most be started by crossing
Comparison in difference, is able to confirm that out the block where head word, passes through each block by that frame of video of selection is most started
Continue to carry out monochrome pixels comparison in difference one by one with each block of frame of video afterwards, be able to detect that the change of head word
Situation, so that the positive starting position of video frequency program is obtained, can also be by successively by each block of previous frame of video with after
Each block of one frame of video carries out monochrome pixels comparison in difference, to detect the situation of change of head word, so as to be regarded
The positive starting position of frequency program.
Reference picture 6, Fig. 6 for intelligent television shown in Fig. 4 video program play device in image processing module 13 structure
Schematic diagram.In the present embodiment, described image processing module 13 includes block division unit 131, comparing unit 132 and judges single
Member 133, wherein:
The block division unit 131, for obtaining the video frequency program out of described first buffer area 121 is predetermined
Frame of video is opened as reference video frame, and the reference video frame is divided into n block, and successively from first buffer area
Obtain the frame of video being located in the video frequency programs after reference video frame in 121, and according to the pre-defined rule by acquisition
Frame of video is divided into the n block corresponding with the reference video frame;
Monochrome pixels comparison in difference is carried out one by one with follow-up frame of video by selecting reference video frame, can reduce ratio
The error of relatively result, so as to more accurately obtain the positive starting position of video frequency program.
The comparing unit 132, for n block of the frame of video of acquisition is corresponding with the reference video frame respectively
Block carries out monochrome pixels comparison in difference, and the frame of video for finding out acquisition is minimum relative to the reference video frame monochrome pixels difference
Block block locations information, and by first frame of video after the reference video frame relative to the reference video frame
The block locations information of the minimum block of monochrome pixels difference is used as original block positional information;And by the reference video frame
The later each frame of video of the first frame of video afterwards block minimum relative to the reference video frame monochrome pixels difference
Block locations information is used as current block positional information;
The judging unit 133, be for judging the current block positional information with the original block positional information
It is no identical, and judge when differing the starting position of the frame of video that currently obtains as the positive part of the video frequency program;
3rd buffer area 123, is additionally operable to storage the first block locations information, and deposit the video frequency program
Positive part starting position corresponding to frame of video frame number.
When carrying out block division to reference video frame, primary concern is that head word is generally occurred in video frequency program
Position.In the present embodiment, the block division unit 131 specifically for:By the reference video frame according on screen
Display location be divided into upper subregion N1, center subregion N2, in lower subregion N3, five rectangle regions of left subregion N4 and right subregion N5
Block.
Specifically, the present embodiment defines the upper left corner of screen the origin [0,0] of XY coordinate systems, along screen laterally to the right
Direction is defined as the X-axis positive direction of XY coordinate systems, and the Y-axis positive direction of XY coordinate systems is defined as along the longitudinal downwardly direction of screen,
The lateral dimension of screen is x, and the longitudinal size of screen is y,
Upper display locations of the subregion N1 on screen is in the reference video frame:By coordinate points [0.25x, 0],
The rectangular area that [0.75x, 0], [0.25x, 0.25y], [0.75x, 0.25y] are surrounded;
Display locations of the center subregion N2 of the reference video frame on screen is:By coordinate points [0.25x, 0.25y],
The rectangular area that [0.75x, 0.25y], [0.25x, 0.75y], [0.75x, 0.75y] are surrounded;
Lower display locations of the subregion N3 on screen is in the reference video frame:By coordinate points [0.25x, 0.75y],
The rectangular area that [0.75x, 0.75y], [0.25x, y], [0.75x, y] are surrounded;
Display locations of the left subregion N4 of the reference video frame on screen is:By coordinate points [0,0], [0.25x, 0],
The rectangular area that [0, y], [0.25x, y] are surrounded;
Display locations of the right subregion N5 on screen is in the reference video frame:By coordinate points [0.75x, 0], [x,
0], the rectangular area that [0.75x, y], [x, 0.25y] are surrounded.
In the present embodiment, described image processing module 13 specifically for:
Using such as following formula(1)Calculate each block of the frame of video currently obtained and the corresponding block of the reference video frame
White pixel difference;
Wi=|NWpi-NWri| (4)
Above formula(4)In, i is natural number and 1≤i≤n, WiRepresent institute in current i-th of block for obtaining frame of video
There are the absolute value of the difference of all white pixels in white pixel i-th of block corresponding with the reference video frame, NWpiTable
Show all white pixel summations in current i-th of block for obtaining frame of video;NWriRepresent the i-th of the reference video frame
All white pixel summations in individual block;
Summation for how to count white pixel in frame of video, this is existing known to image processing techniques personnel
Technology, will not be repeated here.
Using such as following formula(5)Calculate each block of the frame of video currently obtained and the corresponding block of the reference video frame
Black picture element difference;
Bi=|NBpi-NBri| (5)
Above formula(5)In, i is natural number and 1≤i≤n, BiRepresent institute in current i-th of block for obtaining frame of video
There are the absolute value of the difference of all black picture elements in black picture element i-th of block corresponding with the reference video frame, NBpiTable
Show all black picture element summations in current i-th of block for obtaining frame of video;NBri represents the i-th of the reference video frame
All black picture element summations in individual block;
Summation for how to count black picture element in frame of video, this is existing known to image processing techniques personnel
Technology, will not be repeated here.
Using such as following formula(6)Calculate each block of the frame of video currently obtained and the corresponding block of the reference video frame
Black and white pixel value difference;
BWi=Bi+Wi(6)
Above formula(6)In, i is natural number and 1≤i≤n, BWiRepresent presently described current i-th of block for obtaining frame of video
The black and white pixel value difference of i-th of block corresponding with the reference video frame.
Frame of video is divided into five subregions with above-mentioned(That is n=5)Exemplified by, it is assumed that:
In the frame of video currently obtained(First frame of video after reference video frame)In, in upper subregion N1, center point
Area N2, in lower subregion N3, left subregion N4, right subregion N5 white pixel summation NWpx, NWp2、NWp3、NWp4、NWp5Respectively
100th, 100,90,100,140, its black picture element summation NBp1、NBp2、NBp3、NBp4、NBp5Respectively 1000,100,290,10,
40;
In reference video frame, in upper subregion N1, center subregion N2, in lower subregion N3, left subregion N4, right subregion N5 it is white
Color pixel summation NWr1、NWr2、NWr3、NWr4、NWr5Respectively 120,55,60,5,135, its black picture element summation NBr1、
NBr2、NBr3、NBr4、NBr5Respectively 1200,5,60,5,39.
According to above-mentioned formula(4)Calculated, can obtain currently obtaining in frame of video subregion N1, center subregion N2,
In in lower subregion N3, left subregion N4, right subregion N5 in all white pixels block corresponding with the reference video frame it is all in vain
The absolute value W of the difference of color pixel1、W2、W3、W4、W5Respectively 20,45,30,95,5.
According to above-mentioned formula(5)Calculated, can obtain currently obtaining in frame of video subregion N1, center subregion N2,
In in lower subregion N3, left subregion N4, right subregion N5 in all white pixels block corresponding with the reference video frame it is all in vain
The absolute value B of the difference of color pixel1、B2、B3、B4、B5Respectively 200,95,230,5,1.
Further according to above-mentioned(6)Calculated, upper subregion N1, center in presently described current acquisition frame of video can be obtained
Subregion N2, in black and white pixel difference in lower subregion N3, left subregion N4, right subregion N5 with the corresponding block of the reference video frame
Value BW1、BW2、BW3、BW4、BW5Difference 220,140,260,100,6.
By sorting from small to large, the black and white pixel value difference BW of minimum can be obtained5For 6, its corresponding subregion is the right side
Subregion N5(As original block positional information), it is the subregion that head word occurs.
For each frame of video after first frame of video after reference video frame, as the method previously described, it can obtain
To the subregion corresponding to minimum minimum black and white pixel value difference(As current block positional information), by by current block
Positional information is compared with original block positional information, if identical, illustrates that head word does not disappear, current video frame is still
For leader, it is necessary to continue to judge next frame of video, if it is not the same, then illustrating that head word disappears, current video frame is
For positive part, the frame number of the frame of video currently obtained is deposited in into the 3rd buffer area.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize
Equivalent structure or the flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (8)
1. a kind of video program play method of intelligent television, it is characterised in that comprise the following steps:
Step A, the video frequency program for receiving needs broadcasting, and the frame of video of the video frequency program is deposited in by reproduction time order
First buffer area;
Step B, the predetermined frame of video of the video frequency program is obtained out of described first buffer area as reference video frame, institute
The leader that the predetermined frame of video is located at the video frequency program is stated, the reference video frame is divided into n block and deposited
The second buffer area is put in, wherein n is natural number and n >=2;
Step C, successively the regarding after the reference video frame from the video frequency program is obtained in first buffer area
Each block of acquired frame of video and the reference video frame is simultaneously carried out monochrome pixels comparison in difference by frequency frame respectively, according to black
White pixel comparison in difference result obtains the frame number of the corresponding frame of video in positive starting position of the video frequency program, by the frame number
Deposit in the 3rd buffer area;
Step D, according to the frame number deposited in the 3rd buffer area, from first buffer area directly from the video frequency program
Positive starting position the frame of video of the positive part of the video frequency program is read in display caching area, display is played described
The positive part of video frequency program;
The step C is specifically included:
Step C1, the next video from the video frequency program is obtained in first buffer area positioned at the reference video frame
Frame, and the frame of video currently obtained is divided into according to the pre-defined rule n block corresponding with the reference video frame,
N block of the frame of video currently obtained is subjected to monochrome pixels diversity ratio with the corresponding block of the reference video frame respectively
Compared with finding out the original block position of the frame of video that currently the obtains block minimum relative to the reference video frame monochrome pixels difference
Confidence is ceased, and the original block positional information is deposited in into the 3rd buffer area;
Step C2, continuation obtain next frame of video of the video frequency program out of described first buffer area, and according to described pre-
The frame of video currently obtained is then divided into the n block corresponding with the reference video frame by set pattern, by regarding for currently obtaining
N block of frequency frame carries out monochrome pixels comparison in difference with the corresponding block of the reference video frame respectively, finds out current acquisition
The frame of video block minimum relative to the reference video frame monochrome pixels difference current block positional information, judge described
Whether current block positional information is identical with the original block positional information, if identical, returns and performs step C2;If
Differ, then perform step C3;
Step C3, judge the starting position of the frame of video that currently obtains as the positive part of the video frequency program, and will currently obtain
The frame number of the frame of video taken deposits in the 3rd buffer area.
2. the video program play method of intelligent television as claimed in claim 1, it is characterised in that by institute in the step B
Reference video frame is stated to be divided into n block and be specially the step of depositing in the second buffer area:
Subregion N1 on during the reference video frame is divided into according to the display location on screen, center subregion N2, in lower point
Area N3, left subregion N4 and five rectangle blocks of right subregion N5 simultaneously deposit in the second buffer area.
3. the video program play method of intelligent television as claimed in claim 2, it is characterised in that determine the upper left corner of screen
Justice is the origin [0,0] of XY coordinate systems, the X-axis positive direction of XY coordinate systems is defined as along the direction of screen laterally to the right, along screen
Longitudinal downwardly direction is defined as the Y-axis positive direction of XY coordinate systems, and the lateral dimension of screen is x, and the longitudinal size of screen is y,
Upper display locations of the subregion N1 on screen is in the reference video frame:By coordinate points [0.25x, 0], [0.75x,
0], the rectangular area that [0.25x, 0.25y], [0.75x, 0.25y] are surrounded;
Display locations of the center subregion N2 of the reference video frame on screen is:By coordinate points [0.25x, 0.25y],
The rectangular area that [0.75x, 0.25y], [0.25x, 0.75y], [0.75x, 0.75y] are surrounded;
Lower display locations of the subregion N3 on screen is in the reference video frame:By coordinate points [0.25x, 0.75y],
The rectangular area that [0.75x, 0.75y], [0.25x, y], [0.75x, y] are surrounded;
Display locations of the left subregion N4 of the reference video frame on screen is:By coordinate points [0,0], [0.25x, 0], [0,
Y], [0.25x, y] rectangular area for surrounding;
Display locations of the right subregion N5 of the reference video frame on screen is:By coordinate points [0.75x, 0], [x, 0],
The rectangular area that [0.75x, y], [x, 0.25y] are surrounded.
4. the video program play method of the intelligent television as described in any one in claims 1 to 3, it is characterised in that
N block of the frame of video currently obtained is subjected to black and white with the corresponding block of the reference video frame respectively in the step C1
The step of pixel difference compares specifically includes:
Step C11, that each block of frame of video currently obtained is calculated using such as following formula (1) is corresponding with the reference video frame
The white pixel difference of block;
Wi=| NWpi-NWri| (1)
In above formula (1), i is natural number and 1≤i≤n, WiRepresent all whites in current i-th of block for obtaining frame of video
The absolute value of the difference of all white pixels, NWp in pixel i-th of block corresponding with the reference video frameiRepresent described
All white pixel summations in current i-th of block for obtaining frame of video;NWriRepresent i-th of block of the reference video frame
In all white pixel summations;
Step C12, that each block of frame of video currently obtained is calculated using such as following formula (2) is corresponding with the reference video frame
The black picture element difference of block;
Bi=| NBpi-NBri| (2)
In above formula (2), i is natural number and 1≤i≤n, BiRepresent all black in current i-th of block for obtaining frame of video
The absolute value of the difference of all black picture elements, NBp in pixel i-th of block corresponding with the reference video frameiRepresent described
All black picture element summations in current i-th of block for obtaining frame of video;NBriRepresent i-th of block of the reference video frame
In all black picture element summations;
Step C13, that each block of frame of video currently obtained is calculated using such as following formula (3) is corresponding with the reference video frame
The black and white pixel value difference of block;
BWi=Bi+Wi (3)
In above formula (3), i is natural number and 1≤i≤n, BWiRepresent presently described current i-th of block for obtaining frame of video and institute
State the black and white pixel value difference of corresponding i-th of the block of reference video frame.
5. the video program play device of a kind of intelligent television, it is characterised in that at receiving module, memory module, image
Module and display module are managed, wherein:
The receiving module is used to receive the video frequency program for needing to play;
The memory module includes the first buffer area, the second buffer area and the 3rd buffer area, and first buffer area is used for by broadcasting
Put the frame of video that time sequencing deposits the video frequency program;
Described image processing module, the predetermined frame of video for obtaining the video frequency program out of described first buffer area is made
For reference video frame, the predetermined frame of video is located at the leader of the video frequency program, and by the reference video
Frame is divided into n block, and wherein n is natural number and n >=2;
Described image processing module, is additionally operable to from the video frequency program is obtained successively in first buffer area be located at the ginseng
Examine the frame of video after frame of video and acquired frame of video and the reference video frame are subjected to monochrome pixels comparison in difference, with
And the frame number of the corresponding frame of video in positive starting position of the video frequency program is obtained according to monochrome pixels comparison in difference result;
Second buffer area, for depositing the n block that the reference video frame is divided into;
3rd buffer area, the frame number of the corresponding frame of video in positive starting position for depositing the video frequency program;
The display module, for according to the frame number deposited in the 3rd buffer area, from first buffer area by described in
The frame of video of the positive part of video frequency program is read in display caching area, and the positive portion of the video frequency program is played in display
Point;
Described image processing module includes block division unit, comparing unit and judging unit, wherein:
The block division unit, the predetermined frame of video for obtaining the video frequency program out of described first buffer area is made
For reference video frame, the reference video frame is divided into n block, and successively out of described first buffer area described in acquisition
It is located at the frame of video after the reference video frame in video frequency program, and divides the frame of video of acquisition according to the pre-defined rule
For the n block corresponding with the reference video frame;
The comparing unit, for n block of the frame of video of acquisition to be entered with the corresponding block of the reference video frame respectively
Row monochrome pixels comparison in difference, finds out the frame of video of the acquisition block minimum relative to the reference video frame monochrome pixels difference
Block locations information, and by first frame of video after the reference video frame relative to the reference video frame black and white picture
The block locations information of the minimum block of plain difference is used as original block positional information;And by after the reference video frame
The block position of the later each frame of video of the first frame of video block minimum relative to the reference video frame monochrome pixels difference
Confidence breath is used as current block positional information;
The judging unit, for judging whether the current block positional information is identical with the original block positional information,
And the starting position of the frame of video that currently obtains as the positive part of the video frequency program is judged when differing;
3rd buffer area, is additionally operable to deposit the original block positional information, and deposit the positive of the video frequency program
The frame number of frame of video corresponding to partial starting position.
6. the video program play device of intelligent television as claimed in claim 5, it is characterised in that the block division unit
Specifically for:Subregion N1 on during the reference video frame is divided into according to the display location on screen, center subregion N2, in
Lower subregion N3, left subregion N4 and five rectangle blocks of right subregion N5.
7. the video program play device of intelligent television as claimed in claim 6, it is characterised in that determine the upper left corner of screen
The origin [0,0] of adopted XY coordinate systems, the X-axis positive direction of XY coordinate systems is defined as along the direction of screen laterally to the right, vertical along screen
The Y-axis positive direction of XY coordinate systems is defined as to downwardly direction, the lateral dimension of screen is x, and the longitudinal size of screen is y,
Upper display locations of the subregion N1 on screen is in the reference video frame:By coordinate points [0.25x, 0], [0.75x,
0], the rectangular area that [0.25x, 0.25y], [0.75x, 0.25y] are surrounded;
Display locations of the center subregion N2 of the reference video frame on screen is:By coordinate points [0.25x, 0.25y],
The rectangular area that [0.75x, 0.25y], [0.25x, 0.75y], [0.75x, 0.75y] are surrounded;
Lower display locations of the subregion N3 on screen is in the reference video frame:By coordinate points [0.25x, 0.75y],
The rectangular area that [0.75x, 0.75y], [0.25x, y], [0.75x, y] are surrounded;
Display locations of the left subregion N4 of the reference video frame on screen is:By coordinate points [0,0], [0.25x, 0], [0,
Y], [0.25x, y] rectangular area for surrounding;
Display locations of the right subregion N5 of the reference video frame on screen is:By coordinate points [0.75x, 0], [x, 0],
The rectangular area that [0.75x, y], [x, 0.25y] are surrounded.
8. the video program play device of the intelligent television as described in any one in claim 5 to 7, it is characterised in that
Described image processing module specifically for:
Each block of the frame of video currently obtained using such as following formula (1) calculating is white with the corresponding block of the reference video frame
Color pixel difference;
Wi=| NWpi-NWri| (1)
In above formula (1), i is natural number and 1≤i≤n, WiRepresent all whites in current i-th of block for obtaining frame of video
The absolute value of the difference of all white pixels, NWp in pixel i-th of block corresponding with the reference video frameiRepresent described
All white pixel summations in current i-th of block for obtaining frame of video;NWriRepresent i-th of block of the reference video frame
In all white pixel summations;
Each block of the frame of video currently obtained using such as following formula (2) calculating is black with the corresponding block of the reference video frame
Color pixel difference;
Bi=| NBpi-NBri| (2)
In above formula (2), i is natural number and 1≤i≤n, BiRepresent all black in current i-th of block for obtaining frame of video
The absolute value of the difference of all black picture elements, NBp in pixel i-th of block corresponding with the reference video frameiRepresent described
All black picture element summations in current i-th of block for obtaining frame of video;NBriRepresent i-th of block of the reference video frame
In all black picture element summations;
Each block of the frame of video currently obtained using such as following formula (3) calculating is black with the corresponding block of the reference video frame
White pixel difference;
BWi=Bi+Wi (3)
In above formula (3), i is natural number and 1≤i≤n, BWiRepresent presently described current i-th of block for obtaining frame of video and institute
State the black and white pixel value difference of corresponding i-th of the block of reference video frame.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310749619.8A CN103716676B (en) | 2013-12-30 | 2013-12-30 | The video program play method and device of intelligent television |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310749619.8A CN103716676B (en) | 2013-12-30 | 2013-12-30 | The video program play method and device of intelligent television |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103716676A CN103716676A (en) | 2014-04-09 |
CN103716676B true CN103716676B (en) | 2017-07-28 |
Family
ID=50409172
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310749619.8A Expired - Fee Related CN103716676B (en) | 2013-12-30 | 2013-12-30 | The video program play method and device of intelligent television |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103716676B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9418296B1 (en) * | 2015-03-17 | 2016-08-16 | Netflix, Inc. | Detecting segments of a video program |
CN112770176B (en) * | 2020-12-23 | 2022-10-25 | 北京爱奇艺科技有限公司 | Video frame determination method and device, electronic equipment and computer readable medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101354745A (en) * | 2008-09-03 | 2009-01-28 | 深圳市迅雷网络技术有限公司 | Method and apparatus for recognizing video document |
CN101510260A (en) * | 2008-02-14 | 2009-08-19 | 富士通株式会社 | Caption staying time determining apparatus and method |
CN102323948A (en) * | 2011-09-07 | 2012-01-18 | 上海大学 | Automatic detection method for title sequence and tail leader of TV play video |
CN102497594A (en) * | 2011-12-16 | 2012-06-13 | 乐视网信息技术(北京)股份有限公司 | Play method of serial video files |
CN103152632A (en) * | 2013-03-05 | 2013-06-12 | 天脉聚源(北京)传媒科技有限公司 | Method and device for locating multimedia program |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010079559A1 (en) * | 2009-01-06 | 2010-07-15 | 日本電気株式会社 | Credit information segment detection method, credit information segment detection device, and credit information segment detection program |
-
2013
- 2013-12-30 CN CN201310749619.8A patent/CN103716676B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101510260A (en) * | 2008-02-14 | 2009-08-19 | 富士通株式会社 | Caption staying time determining apparatus and method |
CN101354745A (en) * | 2008-09-03 | 2009-01-28 | 深圳市迅雷网络技术有限公司 | Method and apparatus for recognizing video document |
CN102323948A (en) * | 2011-09-07 | 2012-01-18 | 上海大学 | Automatic detection method for title sequence and tail leader of TV play video |
CN102497594A (en) * | 2011-12-16 | 2012-06-13 | 乐视网信息技术(北京)股份有限公司 | Play method of serial video files |
CN103152632A (en) * | 2013-03-05 | 2013-06-12 | 天脉聚源(北京)传媒科技有限公司 | Method and device for locating multimedia program |
Also Published As
Publication number | Publication date |
---|---|
CN103716676A (en) | 2014-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102215375B (en) | The system of selection of the video source of the sprite of more pictures and device in multimedia conferencing | |
CN103686342B (en) | Method for playing network film and electronic device thereof | |
CN110996153B (en) | Scene recognition-based sound and picture quality enhancement method and system and display | |
CN105763950A (en) | Bullet screen display method and system | |
CN109151504A (en) | A kind of video adaptive identifying method, apparatus and storage medium | |
CN103428572B (en) | A kind of methods, devices and systems for carrying out band prebrowsing | |
CN101500150B (en) | Monitoring method for video information display content | |
US7432984B2 (en) | Automatic zoom apparatus and method for playing dynamic images | |
CN107948737A (en) | The recommendation method and device of TV programme | |
CN108134959A (en) | Smart home broadcasting control system based on sleep state detection | |
CN107205172A (en) | A kind of method and device that search is initiated based on video content | |
CN104581132B (en) | Detecting system and detection method | |
CN103716676B (en) | The video program play method and device of intelligent television | |
CN103414856A (en) | Method and device for carrying out channel preview | |
CN105791953B (en) | Control method for playing back and device | |
US7936936B2 (en) | Method of visualizing a large still picture on a small-size display | |
CN103530895A (en) | Method and device for detecting mosaic | |
CN103414941A (en) | Program editing method and device based on intelligent television | |
EP2063636B1 (en) | Video processing device and video processing method | |
JP2007325310A (en) | Apparatus and method for displaying program information | |
CN108093246A (en) | A kind of recognition methods of top box of digital machine video playback area and device | |
CN107682738A (en) | A kind of method of searching television network information channel | |
CN105828130A (en) | Multi-terminal program synchronous preview method and device | |
CN110505512A (en) | Played in full screen method, terminal device and computer readable storage medium | |
CN107431846A (en) | Image transfer method, equipment and system based on multiple video cameras |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170728 |