CN103716689A - Detection method for television channel changing and intelligent television set - Google Patents

Detection method for television channel changing and intelligent television set Download PDF

Info

Publication number
CN103716689A
CN103716689A CN201310730259.7A CN201310730259A CN103716689A CN 103716689 A CN103716689 A CN 103716689A CN 201310730259 A CN201310730259 A CN 201310730259A CN 103716689 A CN103716689 A CN 103716689A
Authority
CN
China
Prior art keywords
event
zapping
video data
queue
unknown key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310730259.7A
Other languages
Chinese (zh)
Other versions
CN103716689B (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.)
TCL Corp
Original Assignee
TCL Corp
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 TCL Corp filed Critical TCL Corp
Priority to CN201310730259.7A priority Critical patent/CN103716689B/en
Publication of CN103716689A publication Critical patent/CN103716689A/en
Application granted granted Critical
Publication of CN103716689B publication Critical patent/CN103716689B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention discloses a detection method for television channel changing and an intelligent television set. The detection method comprises the steps that A, when an unknown key-press event is found through monitoring, whether the audio and video processing process runs or not is judged, the step B is executed if yes, and the step C is executed if not; B, the time point of the unknown key-press event is recorded, the unknown key-press event is added into an event queue to be processed, and the step E is executed; C, the audio and video corresponding to the unknown key-press event are processed, whether the unknown key-press event is a channel changing event or not is judged according to a processing result, and the judging result is stored; D, whether the event queue to be processed is empty or not is judged; if yes, the audio and video processing process is terminated, and channel changing information is output when the judging result includes the channel changing information; if not, the step E is executed, the first unknown key-press event in the event queue to be processed is used as the current unknown key-press event, and the step C is executed. The detection method for television channel changing can efficiently and accurately detect the channel changing operation of television programs, and cannot produce detection omission.

Description

The detection method of TV zapping and intelligent television
Technical field
The present invention relates to household electrical appliance, particularly a kind of detection method of TV zapping and intelligent television.
Background technology
At present, most of television set has all adopted the equipment such as Set Top Box to watch TV programme, and now television set is only as a display device.Because the remote controller of the equipment such as Set Top Box is the same with the remote controller of television set, what launch is all infrared signal, so, user is when sending the instructions such as zapping, adjusting sound by remote controller to Set Top Box, television set equally also can receive these ultra-red orders, and just television set possibly cannot determine what concrete key assignments is.
Existing television set, when detecting the operations such as user's zapping, can only judge by analyzing the feature of audio, video data.But, audio, video data feature when much the audio, video data feature of some period of TV programme is to zapping is very similar, easily causes wrong diagnosis, does not meet intelligent human-machine interaction development trend, also be not easy to user when watching TV programme, user carried out to the services such as information pushing.
Summary of the invention
The object of the present invention is to provide a kind of detection method and intelligent television of TV zapping, be intended to improve the recognition efficiency of unknown key-press event.
In order to achieve the above object, the present invention has taked following technical scheme:
A detection method for TV zapping, it comprises:
A, while having listened to unknown key-press event, judge that whether process that audio frequency and video process is in operation; If it is perform step B; Otherwise, execution step C;
B, record the time point of described unknown key-press event, described unknown key-press event is added in pending event queue, and perform step E;
C, audio frequency and video corresponding to described unknown key-press event are processed, according to result, judged whether unknown key-press event is zapping event, and store judged result;
D, judge that whether pending event queue is empty; If so, end-sound Video processing process, when described judged result has zapping information, exports zapping information; Otherwise execution step E;
E, using first the unknown key-press event in pending event queue as current unknown key-press event, and perform step C.
In the detection method of described TV zapping, described step C specifically comprises:
C1, the time of reception of current unknown key-press event of take are starting point, obtain the audio, video data in Preset Time section;
C2, the audio, video data of this period is carried out respectively to voice data and video data process, this result is stored in analysis result queue.
In the detection method of described TV zapping, described step C2 specifically comprises:
C20, described audio, video data is divided into voice data and video data;
C21, take the time and described voice data and video data are divided into some sections as node;
C22, whether analyze each section audio data in mute state, and analyze each section of video data and whether remain static;
C23, deposit sound, video audio data analysis result and video data analysis result in analysis result queue;
C24, based on described analysis result queue, judge that whether described unknown key-press event is zapping event, stores corresponding judged result.
In the detection method of described TV zapping, described analysis result queue comprises the queue of voice data analysis result and the queue of video data analysis result;
Described step C24 is specially:
C241, analyze the queue of described audio frequency judged result, when the voice data of the first preset time period is during in mute state, judge that voice data that described Preset Time is corresponding is in mute state, described the first preset time is less than described Preset Time;
C242, analyze the queue of described video judged result, when the video data of the second preset time period remains static, judge that video data that described Preset Time is corresponding is in mute state, described the second preset time is less than described Preset Time;
C243, when voice data corresponding to described Preset Time is when mute state and described video data remain static, unknown key-press event corresponding to the Preset Time starting point of take is zapping event, output zapping information; When voice data corresponding to described Preset Time is in non-mute state and/or described video data during in nonstatic state, unknown key-press event corresponding to described Preset Time starting point is non-zapping event;
C244, described zapping event or non-zapping event are stored in judged result queue.
In the detection method of described TV zapping, described step D is specially:
D1, judge that whether described pending event queue is empty, if end-sound Video processing process forwards step D2 to, if not, forward described step e to;
D2, analyze described judged result queue and whether carry zapping information, if export corresponding zapping information.
In the detection method of described TV zapping, described in described step C22, analyze each section of described voice data and whether in mute state, specifically comprise:
C221, described this section of audio, video data is converted to pcm audio data;
C222, judge whether the amplitude of described pcm audio data is less than the first predetermined threshold value, if so, judge that these section audio data are mute state.
In the detection method of described TV zapping, in step C22, analyze each section of described video data and whether remain static and specifically comprise:
C223, obtain the two continuous frames video data of this section of video;
Whether C224, the similarity that adopts video data parser to analyze two frame video datas are greater than the second predetermined threshold value, if so, judge whether video data remains static.
In the detection method of described TV zapping, described video data parser is SSIM algorithm, and its computing formula is:
Figure 2013107302597100002DEST_PATH_IMAGE001
Wherein, x, y represents two frame image datas, for the pixel average of image x,
Figure 2013107302597100002DEST_PATH_IMAGE003
for the pixel average of image y,
Figure 97502DEST_PATH_IMAGE004
for the pixel variance of image x,
Figure 2013107302597100002DEST_PATH_IMAGE005
for the pixel variance of image y,
Figure 262818DEST_PATH_IMAGE006
for the pixel covariance of image x and image y, with constant value, with value be:
Wherein, the bit value that the value of k is each pixel value deducts 1.
In the detection method of described TV zapping, after described step e, also comprise:
F, judge that whether described analysis result queue is empty, if forward described step C1 to, otherwise forwards step F 1 to;
F1, calculate the difference of the time point that last time point corresponding to described analysis result queue is corresponding with described current unknown key-press event, described Preset Time section is deducted to described difference, obtain remaining time;
F3, obtain the audio, video data in described remaining time of section;
F4, in described analysis result queue, according to first in first out, remove the analysis result of described remaining time of segment length, forward step C2 to.
For realizing an intelligent television for above-mentioned detection method, it comprises:
Monitor module, for monitoring unknown key-press event;
Judge module, for when monitoring has unknown key-press event, judges whether the process that audio frequency and video are processed is being moved; And judge whether pending event queue is empty;
Logging modle, for recording the time point of described unknown key-press event, adds described unknown key-press event in pending event queue;
Processing module, for using first unknown key-press event of pending event queue as current unknown key-press event; Audio frequency and video corresponding to described unknown key-press event are processed, according to result, judged whether unknown key-press event is zapping event, and store judged result; And when end-sound Video processing process, when described judged result has zapping information, output zapping information.
Compared to prior art, the detection method of a kind of TV zapping provided by the invention and intelligent television, based on queue mechanism, Voice & Video data characteristics while whether meeting zapping by sound, the unknown key-press event of Video processing analysis, and provide corresponding result, can be efficiently and detect accurately the zapping operation of TV programme, and can not produce undetected, for the services such as intelligent man-machine interaction and information pushing provide the foundation.
Accompanying drawing explanation
Fig. 1 is the flow chart of the detection method of TV zapping of the present invention.
Fig. 2 is the structured flowchart of intelligent television of the present invention.
Fig. 3 is the structured flowchart of processing module in intelligent television of the present invention.
Embodiment
The invention provides a kind of detection method and intelligent television of TV zapping, for making object of the present invention, technical scheme and effect clearer, clear and definite, referring to accompanying drawing, developing simultaneously, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Refer to Fig. 1, the flow chart of its detection method that is TV zapping of the present invention.As shown in Figure 1, the detection method of TV zapping provided by the invention comprises:
S100, while having listened to unknown key-press event, judge that whether process that audio frequency and video process is in operation; If it is perform step S200; Otherwise, execution step S300;
S200, record the time point of described unknown key-press event, described unknown key-press event is added in pending event queue, and perform step S500;
S300, audio frequency and video corresponding to described unknown key-press event are processed, according to result, judged whether unknown key-press event is zapping event, and store judged result;
S400, judge that whether pending event queue is empty; If so, end-sound Video processing process, when described judged result has zapping information, exports zapping information; Otherwise execution step S500;
S500, using first the unknown key-press event in pending event queue as current unknown key-press event, and perform step S300.
Take and watch TV programme as example by Set Top Box, when user sends the ultra-red orders such as zapping by remote controller to Set Top Box, intelligent TV set can receive the key-press event of remote controller, but None-identified goes out concrete key value.For this class key-press event, the present invention is labeled as Unknown Key event (being unknown key-press event).
Consider the randomness that user operates: user may also may press key many times continuously separately by primary key, among these a series of continuous key-press, may have one or several zapping operation or there is no zapping operation etc. at all.
In the specific implementation, during follow-up continuous Unknown Key event that intelligent TV set receives in processing the process of a Unknown Key event, possibly cannot carry out in time sound, Video processing, therefore the present invention is when monitoring has unknown key-press event, need judge whether that the process that described unknown key-press event is carried out to audio frequency and video processing is in operation, if not operation, directly process this unknown key-press event, if in operation, according to the time point of unknown key-press event, described unknown key-press event is added in pending event queue, the all unknown key-press event of sequential processing according to unknown key-press event, and consider continuous key-press event (due to time interval of continuous key-press event be probably less than process the time that unknown key-press event is required), after each unknown key-press event is disposed, whether all detect pending event queue is empty, in case leak-stopping inspection, effectively audio, video data corresponding to each Unknown Key event analyzed in assurance timely, and then judge the operation that each unknown key-press event is corresponding.
Wherein, in step S100, when intelligent television has received a unknown key-press event, record current time point
Figure 897007DEST_PATH_IMAGE010
, and check whether audio frequency and video analyzing and processing process is carrying out, if do not had, performs step S300, by step S300, this is processed audio frequency and video corresponding to described unknown key-press event, stores corresponding result.If when receiving this unknown key-press event, the process that existing audio frequency and video are processed, in operation, joins event queue by this unknown key-press event
Figure 2013107302597100002DEST_PATH_IMAGE011
in, record the time point that receives this unknown key-press event simultaneously
Figure 382477DEST_PATH_IMAGE012
, wherein,
Figure 991313DEST_PATH_IMAGE014
for the event number in event queue, continue afterwards the unknown key-press event of monitoring reception.
Described step S400 specifically comprises: judge that whether described pending event queue is empty, if end-sound Video processing process, and analyze described judged result queue and whether carry zapping information, if export corresponding zapping information; If pending event queue is not empty, using first the unknown key-press event in pending event queue as current unknown key-press event, execution step S300.
The present invention is based on queue mechanism, according to the time point of unknown key-press event, all unknown key-press event are sorted in pending event queue by time of reception point, when unknown key-press event is carried out to sound, Video processing, sequential processes according to time of reception point, can not hunt leak, thereby can not miss possible zapping operation.
In step S300, when audio, video data is processed, audio frequency and video corresponding to each unknown key-press event need to analyze voice data and the video data of one section of set time length, thereby analytical engine top box zapping whether.While starting the analyzing and processing process of audio frequency and video, the time of reception that can take when the unknown key-press event of pre-treatment is starting point, in Preset Time section
Figure 2013107302597100002DEST_PATH_IMAGE015
in, obtain continuously the audio, video data that Set Top Box is transferred to television set, and carry out real-time analyzing and processing, and stores processor result.
Therefore, described step S300 specifically comprises: the first step, the time of reception of current unknown key-press event of take are starting point, obtain the audio, video data in Preset Time section; Second step, the audio, video data of this period is carried out respectively to voice data and video data process, this result is stored in analysis result queue.Wherein, Preset Time section
Figure 40172DEST_PATH_IMAGE015
need be greater than the switching time of Set Top Box zapping, this Preset Time section be preferably 1.5-3 second, more excellent is 2 seconds.
When zapping, the feature of voice data is: for some time quiet had again sound after zapping completes; The feature of video data is: video pictures static (wherein, blank screen also belongs to a kind of of picture still) for some time, in zapping, completing rear video picture has had again variation.While therefore judging zapping event, only need to judge whether the voice data in Preset Time section is whether quiet and corresponding video data is static.
Therefore,, when audio, video data is carried out to voice data and video data Treatment Analysis, specifically comprise: step a, described audio, video data is divided into voice data and video data; Step b, take the time and described voice data and video data are divided into some sections as node; Step c, whether analyze each section audio data in mute state, and analyze each section of video data and whether remain static; Steps d, deposit voice data analysis result and video data analysis result in analysis result queue; Step e, based on described analysis result queue, judge that whether described unknown key-press event is zapping event, stores corresponding judged result.When the present invention is empty in analysis result queue, and while having zapping event in judged result, just export result, thus can be efficiently and the zapping that detects more accurately television set operate.
Wherein, described analysis result queue comprises the queue of voice data analysis result and the queue of video data analysis result, therefore described step e specifically comprises: first analyze the queue of described audio frequency judged result, when the voice data of the first preset time period is during in mute state, judge that voice data that described Preset Time is corresponding is in mute state, described the first preset time is less than described Preset Time, and, analyze the queue of described video judged result, when the video data of the second preset time period remains static, judge that video data that described Preset Time is corresponding is in mute state, described the second preset time is less than described Preset Time, described the first preset time refers to the voice data of Preset Time is carried out after segmentation, the time period that continuous multi-stage voice data is corresponding, described the second preset time refers to the video data of Preset Time is carried out after segmentation, the time period that continuous multi-stage video data is corresponding, and described the first preset time time more corresponding than each section of described audio frequency is long, the time that described the second preset time is more corresponding than each section of described video is long, but the first preset time can equate with the second preset time, this is not restricted herein, when voice data corresponding to described Preset Time is when mute state and described video data remain static, unknown key-press event corresponding to the Preset Time starting point of take is zapping event, output zapping information, when voice data corresponding to described Preset Time is in non-mute state and/or described video data during in nonstatic state, unknown key-press event corresponding to described Preset Time starting point is non-zapping event, afterwards, described zapping event or non-zapping event are stored in judged result queue.
The present invention, can be with the very little time period when carrying out sound, Video processing in order to save memory space, to improve accuracy of detection and processing speed ,
Figure 2013107302597100002DEST_PATH_IMAGE017
for unit carries out, wherein,
Figure 865673DEST_PATH_IMAGE016
,
Figure 514961DEST_PATH_IMAGE017
be chosen as tens to hundreds of millisecond, as 50-500 millisecond.So before audio, video data being carried out to sound, video analysis processing, need to be to the audio, video data in Preset Time section with the time period ,
Figure 207421DEST_PATH_IMAGE017
for unit carries out segment processing.
Afterwards, adopt voice data parser whether to analyze voice data in every section of audio, video data in mute state, analysis time section in, whether audio frequency is in mute state; Meanwhile, whether the video data that adopts video data parser to analyze in every section of audio, video data remains static, analysis time section
Figure 102882DEST_PATH_IMAGE017
in, between video pictures frame, whether remain static.And by each
Figure 963522DEST_PATH_IMAGE016
with
Figure 86330DEST_PATH_IMAGE017
the analysis processing result of the Voice & Video in the time period, deposits respectively the analysis result queue of Voice & Video in with
Figure 2013107302597100002DEST_PATH_IMAGE019
in.
When described Preset Time
Figure 148144DEST_PATH_IMAGE015
during arrival, inquire about sound, the video analysis result of described analysis result in lining up
Figure 800973DEST_PATH_IMAGE018
with
Figure 343950DEST_PATH_IMAGE019
, according to described sound, video analysis result with
Figure 380573DEST_PATH_IMAGE019
, judge whether zapping event, and exported judged result, particularly, work as continuous multi-stage audio frequency corresponding to time, all in mute state, judges described Preset Time
Figure 477153DEST_PATH_IMAGE015
corresponding audio frequency is in mute state; Work as continuous multi-stage
Figure 335519DEST_PATH_IMAGE017
time, corresponding video all remained static, and judged described Preset Time corresponding video remains static, and so that in described Preset Time, how long corresponding audio frequency is used as quiet judgment standard continuously, can establish according to actual conditions, this is not restricted herein; And so that in described Preset Time, how long corresponding video is used as static judgment standard continuously, can establish according to actual conditions, this is not restricted equally herein.In the present embodiment, Preset Time in every section of interior audio, video data, if continuous time section voice data be quiet, continuous time, the video data of section was static, also had part voice data to have sound, the video data of part-time section changes, and represents that this unknown key-press event is zapping event; If at this Preset Time
Figure 931345DEST_PATH_IMAGE015
in, all voice datas are that quiet, video data is staticly to represent that this unknown key-press event is shut down event.
When the voice data in every section of audio, video data is analyzed according to the voice data feature of zapping, its method specifically comprises: the voice data in every section of audio, video data is converted to PCM(Pulse-code modulation, pulse code modulation) voice data; Afterwards, judge whether the amplitude of described pcm audio data is less than the first predetermined threshold value, if so, judge that these section audio data are mute state; Otherwise, represent that the voice data in this section of audio, video data is non-mute state.
In the ideal situation, the pvw value of pcm audio data is zero, and the present invention considers the impact of noise, and it is 5~20 that the present embodiment arranges the first predetermined threshold value, when the amplitude (being the absolute value of numerical value) of pcm audio data is less than this first predetermined threshold value, be judged as quiet.
According to the voice data feature of zapping, when judging whether video data remains static, can be according to judging according to the similarity of continuous videos image frame data or the corresponding histogrammic similarity of video pictures frame data, if the similarity between different video frame data is very high, think that video pictures is static.
Wherein, take the similarity of video pictures frame data when basis for estimation judges whether video data remains static, specifically comprise: the two continuous frames video data that first obtains this section of video; Then, whether the similarity that adopts video data parser to analyze two frame video datas be greater than the second predetermined threshold value, if so, judges that video data remains static.
In the present embodiment, need obtain two continuous frames data analysis and process when video data is analyzed, described video data parser is SSIM algorithm, and its computing formula is:
Figure 11427DEST_PATH_IMAGE001
Wherein, x, y represents two frame image datas,
Figure 210328DEST_PATH_IMAGE002
for the pixel average of image x,
Figure 675944DEST_PATH_IMAGE003
for the pixel average of image y,
Figure 623303DEST_PATH_IMAGE004
for the pixel variance of image x,
Figure 439949DEST_PATH_IMAGE005
for the pixel variance of image y,
Figure 990010DEST_PATH_IMAGE006
for the pixel covariance of image x and image y, with
Figure 5556DEST_PATH_IMAGE008
constant value,
Figure 856969DEST_PATH_IMAGE007
with
Figure 86087DEST_PATH_IMAGE008
value be:
Figure 667241DEST_PATH_IMAGE009
Wherein, the bit value that the value of k is each pixel value deducts 1.
When whether analysis video data is static, the similarity of the larger expression two width view data of its SSIM value is larger, therefore the second pre-set threshold value maximum be 1, the present embodiment is considered noise effect, by the second pre-set threshold value
Figure 2013107302597100002DEST_PATH_IMAGE021
be made as 0.9, when SSIM value is greater than 0.9, represent that similarity is very high, can think image freeze, otherwise think that similarity is not high, be that video pictures changes.
When adopting Histogram Matching algorithm to judge whether video data remains static, specifically comprise: first obtain two frame video datas in every section of audio, video data, and generate corresponding histogram; Then adopt the histogrammic similarity of Histogram Matching Algorithm Analysis two frame video datas whether to be greater than the 3rd predetermined threshold value, if so, judge that video data remains static; Otherwise, think that video pictures changes, wherein said the 3rd predetermined threshold value can be established according to actual conditions, this is not restricted herein.
It should be noted that when judging that whether video data is static, can also adopt other algorithm, as PSNR(PeakSignaltoNoiseRatio, Y-PSNR) algorithm, normalizated correlation coefficient scheduling algorithm, the present invention is not restricted this.
In the detection method of TV zapping provided by the invention, in the processing procedure of a key-press event, if also have other key-press event in Preset Time, now need audio, video data to be processed to overlap, and the audio frequency and video of lap had been analyzed, now only need carry out audio frequency, video analysis to the audio, video data of remaining time.This is in processes the analysis result that only needs storage Preset Time length in event queue, when next key-press event need to be processed, need to remove from front to back unnecessary analysis result.Therefore the present invention has judged whether after zapping event by step S300, also needs to continue to judge in pending event queue whether have unknown key-press event, if had, performs step the first step in S300; Otherwise the difference of calculating the time point that last time point corresponding to described analysis result queue is corresponding with described current unknown key-press event, deducts described difference by described Preset Time section, obtains remaining time; Obtain again afterwards the audio, video data in described remaining time of section: in described analysis result queue, according to first in first out, remove the analysis result of described remaining time of segment length, the second step forwarding in step S300 is also stored in this result in analysis result queue the audio, video data of this period, and according to the time of reception of current unknown key-press event, remove the queue of Voice & Video analysis result
Figure 594977DEST_PATH_IMAGE018
with
Figure 424524DEST_PATH_IMAGE019
interior out-of-date outcome record.This step is for fear of this type of situation:
Randomness due to user's operation, may, in a series of continuous key-press, have zapping order, shutdown command, power-on command etc.If user is when remote controller, last button is closing key, and intelligent television cannot obtain sound, vision signal again, and now direct end-sound Video processing process, no longer exports result.
If there is the combination button of shutdown--start in a series of continuous key-press, for example, after pressing closing key, in Preset Time, press again key, although now intelligent television shuts down, cannot receive sound, vision signal, but after intelligent television start, intelligent television also can continue to obtain Voice & Video data analysis to be processed, after preventing that user from pressing the wrong button, and its control command information dropout.In step S300, if judge that unknown key-press event is not zapping event, need to continue to judge whether unknown key-press event is shut down event, if shut down event also needs to judge whether next unknown key-press event is start event in the given time; When the unknown key-press event of the next one is start event, continue to carry out S400, otherwise, empty pending event queue, end-sound Video processing process.
In sum, in the detection method of TV zapping provided by the invention, when intelligent television receives a unknown key-press event, just take is starting point this moment, start the analyzing and processing process of Voice & Video data, judge Voice & Video data characteristics when whether sound, video data feature in Preset Time section meets zapping.If do not receive other unknown key-press event in this Preset Time section, finish this analyzing and processing process, and whether provide the analysis judged result of zapping; If in this Preset Time section, one or more unknown key-press event have been received continuously again, the time of reception of each unknown key-press event of take is starting point, analyze in follow-up each unknown key-press event, voice data in Preset Time section and video data, and provide successively analysis judged result corresponding to each unknown key-press event.After judging zapping event, intelligent television just can push corresponding message according to zapping event, for the services such as intelligent human-machine interaction and information pushing provide the foundation.
Zapping detection method based on above-mentioned, the present invention also corresponding provide a kind of for realize described zapping detection method intelligent television it comprise: monitor module 101, judge module 102, logging modle 103 and processing module 104.
Wherein, described monitoring module 101 is for monitoring unknown key-press event.Described judge module 102, for when monitoring has unknown key-press event, judges whether the process that audio frequency and video are processed is being moved; And judge whether pending event queue is empty.Described logging modle 103, for recording the time point of described unknown key-press event, adds described unknown key-press event in pending event queue.Described processing module 104, for audio frequency and video corresponding to described unknown key-press event are processed, judges according to result whether unknown key-press event is zapping event, and stores judged result; And when end-sound Video processing process, when described judged result has zapping information, output zapping information.Specifically refer to above-described embodiment.
During concrete enforcement, processing module 104 comprises acquiring unit, processing unit, result judging unit and result output unit.Wherein, acquiring unit is starting point for take the time of reception of current unknown key-press event, obtains the audio, video data in Preset Time section; Processing unit carries out respectively voice data and video data processing for the audio, video data of this period, and this result is stored in analysis result queue; Result judging unit is for judging according to result whether unknown key-press event is zapping event; Result output unit is for exporting the result of processing unit.
Processing unit is when carrying out analyzing and processing to unknown key-press event, described audio, video data is divided into voice data and video data, take the time is divided into some sections by described voice data and video data as node, then whether analyze each section audio data in mute state, and analyze each section of video data and whether remain static, and by sound, video data analysis result and video data analysis result deposit analysis result queue in, afterwards based on described analysis result queue, judge whether described unknown key-press event is zapping event, store corresponding its sound of result, the analysis and processing method of video data refers to above-described embodiment.
The detection method of a kind of TV zapping provided by the invention and intelligent television, based on queue mechanism, Voice & Video data characteristics while whether meeting zapping by sound, the unknown key-press event of Video processing analysis, and provide corresponding result, can be efficiently and detect accurately the zapping operation of TV programme, and can not produce undetectedly, for the services such as intelligent man-machine interaction and information pushing provide the foundation, be a much progress in intelligent human-machine interaction field.
Be understandable that, for those of ordinary skills, can be equal to replacement or change according to technical scheme of the present invention and inventive concept thereof, and all these changes or replacement all should belong to the protection range of the appended claim of the present invention.

Claims (10)

1. a detection method for TV zapping, is characterized in that, comprising:
A, while having listened to unknown key-press event, judge that whether process that audio frequency and video process is in operation; If it is perform step B; Otherwise, execution step C;
B, record the time point of described unknown key-press event, described unknown key-press event is added in pending event queue, and perform step E;
C, audio frequency and video corresponding to described unknown key-press event are processed, according to result, judged whether unknown key-press event is zapping event, and store judged result;
D, judge that whether pending event queue is empty; If so, end-sound Video processing process, when described judged result has zapping information, exports zapping information; Otherwise execution step E;
E, using first the unknown key-press event in pending event queue as current unknown key-press event, and perform step C.
2. the detection method of TV zapping according to claim 1, is characterized in that, described step C specifically comprises:
C1, the time of reception of current unknown key-press event of take are starting point, obtain the audio, video data in Preset Time section;
C2, the audio, video data of this period is carried out respectively to voice data and video data process, this result is stored in analysis result queue.
3. the detection method of TV zapping according to claim 2, is characterized in that, described step C2 specifically comprises:
C20, described audio, video data is divided into voice data and video data;
C21, take the time and described voice data and video data are divided into some sections as node;
C22, whether analyze each section audio data in mute state, and analyze each section of video data and whether remain static;
C23, deposit sound, video audio data analysis result and video data analysis result in analysis result queue;
C24, based on described analysis result queue, judge that whether described unknown key-press event is zapping event, stores corresponding judged result.
4. the detection method of TV zapping according to claim 3, is characterized in that, described analysis result queue comprises the queue of voice data analysis result and the queue of video data analysis result;
Described step C24 is specially:
C241, analyze the queue of described audio frequency judged result, when the voice data of the first preset time period is during in mute state, judge that voice data that described Preset Time is corresponding is in mute state, described the first preset time is less than described Preset Time;
C242, analyze the queue of described video judged result, when the video data of the second preset time period remains static, judge that video data that described Preset Time is corresponding is in mute state, described the second preset time is less than described Preset Time;
C243, when voice data corresponding to described Preset Time is when mute state and described video data remain static, unknown key-press event corresponding to the Preset Time starting point of take is zapping event, output zapping information; When voice data corresponding to described Preset Time is in non-mute state and/or described video data during in nonstatic state, unknown key-press event corresponding to described Preset Time starting point is non-zapping event;
C244, described zapping event or non-zapping event are stored in judged result queue.
5. the detection method of TV zapping according to claim 4, is characterized in that, described step D is specially:
D1, judge that whether described pending event queue is empty, if end-sound Video processing process forwards step D2 to, if not, forward described step e to;
D2, analyze described judged result queue and whether carry zapping information, if export corresponding zapping information.
6. whether the detection method of TV zapping according to claim 3, is characterized in that, analyze each section of described voice data and in mute state, specifically comprise described in described step C22:
C221, described this section of audio, video data is converted to pcm audio data;
C222, judge whether the amplitude of described pcm audio data is less than the first predetermined threshold value, if so, judge that these section audio data are mute state.
7. whether the detection method of TV zapping according to claim 3, is characterized in that, analyze each section of described video data and remain static and specifically comprise in step C22:
C223, obtain the two continuous frames video data of this section of video;
Whether C224, the similarity that adopts video data parser to analyze two frame video datas are greater than the second predetermined threshold value, if so, judge whether video data remains static.
8. the detection method of TV zapping according to claim 7, is characterized in that, described video data parser is SSIM algorithm, and its computing formula is:
Wherein, x, y represents two frame image datas,
Figure 671891DEST_PATH_IMAGE002
for the pixel average of image x,
Figure 2013107302597100001DEST_PATH_IMAGE003
for the pixel average of image y,
Figure 991008DEST_PATH_IMAGE004
for the pixel variance of image x,
Figure 2013107302597100001DEST_PATH_IMAGE005
for the pixel variance of image y,
Figure 82592DEST_PATH_IMAGE006
for the pixel covariance of image x and image y, with
Figure 840463DEST_PATH_IMAGE008
constant value,
Figure 192947DEST_PATH_IMAGE007
with
Figure 197812DEST_PATH_IMAGE008
value be:
Figure 2013107302597100001DEST_PATH_IMAGE009
Wherein, the bit value that the value of k is each pixel value deducts 1.
9. the detection method of TV zapping according to claim 3, is characterized in that, after described step e, also comprises:
F, judge that whether described analysis result queue is empty, if forward described step C1 to, otherwise forwards step F 1 to;
F1, calculate the difference of the time point that last time point corresponding to described analysis result queue is corresponding with described current unknown key-press event, described Preset Time section is deducted to described difference, obtain remaining time;
F3, obtain the audio, video data in described remaining time of section;
F4, in described analysis result queue, according to first in first out, remove the analysis result of described remaining time of segment length, forward step C2 to.
10. for realizing an intelligent television for detection method described in claim 1, it is characterized in that, comprising:
Monitor module, for monitoring unknown key-press event;
Judge module, for when monitoring has unknown key-press event, judges whether the process that audio frequency and video are processed is being moved; And judge whether pending event queue is empty;
Logging modle, for recording the time point of described unknown key-press event, adds described unknown key-press event in pending event queue;
Processing module, for using first unknown key-press event of pending event queue as current unknown key-press event; Audio frequency and video corresponding to described unknown key-press event are processed, according to result, judged whether unknown key-press event is zapping event, and store judged result; And when end-sound Video processing process, when described judged result has zapping information, output zapping information.
CN201310730259.7A 2013-12-26 2013-12-26 The detection method and intelligent television of television channel change Expired - Fee Related CN103716689B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310730259.7A CN103716689B (en) 2013-12-26 2013-12-26 The detection method and intelligent television of television channel change

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310730259.7A CN103716689B (en) 2013-12-26 2013-12-26 The detection method and intelligent television of television channel change

Publications (2)

Publication Number Publication Date
CN103716689A true CN103716689A (en) 2014-04-09
CN103716689B CN103716689B (en) 2017-10-27

Family

ID=50409183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310730259.7A Expired - Fee Related CN103716689B (en) 2013-12-26 2013-12-26 The detection method and intelligent television of television channel change

Country Status (1)

Country Link
CN (1) CN103716689B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301714A (en) * 2014-10-09 2015-01-21 青岛海信电器股份有限公司 Method and device for detecting channel switching response time of television equipment
CN104918111A (en) * 2015-06-04 2015-09-16 Tcl集团股份有限公司 Live channel identification method and system of Android smart television
CN106303742A (en) * 2016-07-26 2017-01-04 深圳Tcl数字技术有限公司 The response method of panel button operation and device
WO2019066170A1 (en) * 2017-09-29 2019-04-04 삼성전자(주) Display device and control method therefor
CN112543359A (en) * 2020-11-12 2021-03-23 海信视像科技股份有限公司 Display device and method for automatically configuring video parameters

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1463143A (en) * 2003-06-02 2003-12-24 海信集团有限公司 Processing method of changing channels in still TV screen
WO2005032145A1 (en) * 2003-08-29 2005-04-07 Nielsen Media Research, Inc. Audio based methods and apparatus for detecting a channel change event
CN101035222A (en) * 2006-03-08 2007-09-12 深圳Tcl新技术有限公司 Fast channel switching method of the TV
CN101938672A (en) * 2010-09-14 2011-01-05 李典 Audience rating statistical system and statistical method thereof
CN102426647A (en) * 2011-10-28 2012-04-25 Tcl集团股份有限公司 Station identification method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1463143A (en) * 2003-06-02 2003-12-24 海信集团有限公司 Processing method of changing channels in still TV screen
WO2005032145A1 (en) * 2003-08-29 2005-04-07 Nielsen Media Research, Inc. Audio based methods and apparatus for detecting a channel change event
CN101035222A (en) * 2006-03-08 2007-09-12 深圳Tcl新技术有限公司 Fast channel switching method of the TV
CN101938672A (en) * 2010-09-14 2011-01-05 李典 Audience rating statistical system and statistical method thereof
CN102426647A (en) * 2011-10-28 2012-04-25 Tcl集团股份有限公司 Station identification method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301714A (en) * 2014-10-09 2015-01-21 青岛海信电器股份有限公司 Method and device for detecting channel switching response time of television equipment
CN104918111A (en) * 2015-06-04 2015-09-16 Tcl集团股份有限公司 Live channel identification method and system of Android smart television
CN106303742A (en) * 2016-07-26 2017-01-04 深圳Tcl数字技术有限公司 The response method of panel button operation and device
CN106303742B (en) * 2016-07-26 2019-11-05 深圳Tcl数字技术有限公司 The response method and device of panel button operation
WO2019066170A1 (en) * 2017-09-29 2019-04-04 삼성전자(주) Display device and control method therefor
CN112543359A (en) * 2020-11-12 2021-03-23 海信视像科技股份有限公司 Display device and method for automatically configuring video parameters

Also Published As

Publication number Publication date
CN103716689B (en) 2017-10-27

Similar Documents

Publication Publication Date Title
CN103716689A (en) Detection method for television channel changing and intelligent television set
US20070010998A1 (en) Dynamic generative process modeling, tracking and analyzing
Cernekova et al. Information theory-based shot cut/fade detection and video summarization
US20070053660A1 (en) Video processing apparatus
WO2019023921A1 (en) Gesture recognition method, apparatus, and device
CN105306931A (en) Smart TV anomaly detection method and device
JP2007243699A (en) Method and apparatus for video recording and playback
CN104601918A (en) Video recording method and device
US11763720B2 (en) Methods, systems, and media for detecting a presentation of media content on a display device
CN108665889B (en) Voice signal endpoint detection method, device, equipment and storage medium
CN105611373A (en) Video picture processing method and device
CN105611386A (en) Video picture processing method and device
US9911202B2 (en) Visual salience of online video as a predictor of success
US9204019B2 (en) Measuring device and method for calculating response time of electronic device
CN111274449B (en) Video playing method, device, electronic equipment and storage medium
CN105611380A (en) Video image processing method and device
JP2010016660A (en) Scene change detector, scene change detection method and program
JP2012033100A (en) Image processing device and method and computer program
Naemura et al. Real-time LDCRF-based method for inferring TV viewer interest
Plasberg et al. Feature selection under a complexity constraint
CN112101331B (en) Security video fusion scheduling method and device
CN112347975B (en) Visual converged communication scheduling system and implementation method thereof
CN106060677A (en) Video play method and device
Shim et al. Activated Viewport based Surveillance Event Detection in 360-degree Video
CN113742881A (en) Method and device for predicting working life of liquid cooling heat dissipation system and storage medium

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

Granted publication date: 20171027

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