CN103716689B - The detection method and intelligent television of television channel change - Google Patents
The detection method and intelligent television of television channel change Download PDFInfo
- Publication number
- CN103716689B CN103716689B CN201310730259.7A CN201310730259A CN103716689B CN 103716689 B CN103716689 B CN 103716689B CN 201310730259 A CN201310730259 A CN 201310730259A CN 103716689 B CN103716689 B CN 103716689B
- Authority
- CN
- China
- Prior art keywords
- event
- video data
- unknown key
- press event
- queue
- 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
- 238000001514 detection method Methods 0.000 title claims abstract description 36
- 238000012545 processing Methods 0.000 claims abstract description 52
- 238000000034 method Methods 0.000 claims abstract description 28
- 238000004458 analytical method Methods 0.000 claims description 58
- 230000003068 static effect Effects 0.000 claims description 28
- 238000007405 data analysis Methods 0.000 claims description 13
- 238000012544 monitoring process Methods 0.000 claims description 8
- 241001269238 Data Species 0.000 claims description 3
- 238000004364 calculation method Methods 0.000 claims description 3
- 235000013399 edible fruits Nutrition 0.000 claims description 3
- 238000007689 inspection Methods 0.000 abstract description 4
- 230000003993 interaction Effects 0.000 description 5
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Abstract
The invention discloses the detection method of television channel change and intelligent television, when its detection method includes A, listened to unknown key-press event, judge the process of audio frequency and video processing whether in operation;If it is step B is performed;Otherwise step C is performed;B, the time point for recording the unknown key-press event, the unknown key-press event is added in pending event queue, and perform step E;C, the corresponding audio frequency and video of the unknown key-press event are handled, judge whether unknown key-press event is zapping event according to result, and stored and sentence result;D, judge whether pending event queue is empty;If it is end-sound Video processing process, when it is described sentence result and have zapping information when, export zapping information;Otherwise perform step E, using first unknown key-press event in pending event queue as current unknown key-press event, and perform step C.It is of the invention efficiently and accurately to detect the zapping operation of TV programme, and missing inspection will not be produced.
Description
Technical field
The present invention relates to household electrical appliance, the detection method and intelligent television of more particularly to a kind of television channel change.
Background technology
At present, most of television set all employs the equipment such as set top box to watch TV programme, now television set only conduct
One display device.Because the remote control of the equipment such as set top box is as the remote control of television set, transmitting is all infrared signal,
So, user to set top box by remote control when sending the instructions such as zapping, regulation sound, and television set can also equally be received
These ultra-red orders, simply television set is possibly can not determine that what specific key assignments is.
Existing television set can only be sentenced when detecting the operation such as user's zapping by analyzing the feature of audio, video data
It is disconnected.But, the audio, video data feature when audio, video data feature of many TV programme some periods is with zapping is much like, holds
Easily cause wrong diagnosis, do not meet intelligent human-machine interaction development trend, be also not easy to user when watching TV programme, user is carried out
The services such as information push.
The content of the invention
It is an object of the invention to provide a kind of detection method of television channel change and intelligent television, it is intended to improves unknown button
The recognition efficiency of event.
In order to achieve the above object, this invention takes following technical scheme:
A kind of detection method of television channel change, it includes:
A, when having listened to unknown key-press event, judge the process of audio frequency and video processing whether in operation;If it is hold
Row step B;Otherwise, step C is performed;
B, the time point for recording the unknown key-press event, the unknown key-press event is added into pending event queue
In, and perform step E;
C, the corresponding audio frequency and video of the unknown key-press event are handled, unknown key-press event is judged according to result
Whether it is zapping event, and store judged result;
D, judge whether pending event queue is empty;If it is, end-sound Video processing process, knot is judged when described
When fruit has zapping information, zapping information is exported;Otherwise step E is performed;
E, using first unknown key-press event in pending event queue as current unknown key-press event, and perform
Step C.
In the detection method of described television channel change, the step C is specifically included:
C1, using the reception time of current unknown key-press event as starting point, obtain preset time period in audio, video data;
C2, the audio, video data to this time carry out voice data and video data processing respectively, by the result
It is stored in analysis result queue.
In the detection method of described television channel change, the step C2 is specifically included:
C20, the audio, video data is divided into voice data and video data;
C21, by node of the time voice data and video data be divided into some sections;
Whether C22, each section audio data of analysis are in mute state, and whether analyze each section of video data in quiet
Only state;
C23, by sound, video frequency data results and video data analysis result be stored in analysis result queue;
C24, based on the analysis result queue, whether judge the unknown key-press event is zapping event, storage correspondence
Judged result.
In the detection method of described television channel change, the analysis result queue include audio data analysis result queue and
Video data analysis result queue;
The step C24 is specially:
C241, the analysis audio judged result queue, when the voice data of the first preset time period is in mute state
When, judge that the corresponding voice data of the preset time is in mute state, when first preset time is less than described default
Between;
C242, the analysis video judged result queue, when the video data of the second preset time period remains static
When, judge that the corresponding video data of the preset time is in mute state, when second preset time is less than described default
Between;
C243, when the corresponding voice data of the preset time is in mute state and the video data it is in static shape
During state, using the corresponding unknown key-press event of preset time starting point as zapping event, zapping information is exported;When the preset time pair
When the voice data answered is in non-mute state and/or the video data in nonstatic state, the preset time starting point
Corresponding unknown key-press event is non-zapping event;
C244, the zapping event or non-zapping event be stored in judged result queue.
In the detection method of described television channel change, the step D is specially:
D1, judge whether the pending event queue is empty, if then end-sound Video processing process, goes to step
D2, if it is not, going to the step E;
Whether D2, the analysis judged result queue carry zapping information, if then exporting corresponding zapping information.
Analyzing each section of voice data in the detection method of described television channel change, described in the step C22 is
It is no to be specifically included in mute state:
C221, this section of audio, video data be converted into PCM audio data;
C222, judge the PCM audio data amplitude whether be less than the first predetermined threshold value, if it is, judging the section
Voice data is mute state.
In the detection method of described television channel change, analyze whether each section of video data is in step C22
Inactive state is specifically included:
C223, the two continuous frames video data for obtaining this section of video;
Whether C224, the similarity for analyzing using video data parser two frame video datas are more than the second default threshold
Value, if it is, judging whether video data remains static.
In the detection method of described television channel change, the video data parser is SSIM algorithms, its calculation formula
For:
Wherein, x, y represent two field pictures data,For image x pixel average,For image y pixel average,
For image x pixel variance,For image y pixel variance,For image x and image y pixel covariance,WithIt is
Constant value,WithValue be:
Wherein, k value subtracts 1 for the bit value of each pixel value.
In the detection method of described television channel change, also include after the step E:
F, judge whether the analysis result queue is empty, if then going to the step C1, otherwise go to step F1;
F1, the calculating analysis result queue corresponding last time point are corresponding with the current unknown key-press event
Time point difference, the preset time period is subtracted into the difference, remaining time is obtained;
F3, the audio, video data obtained in the remaining time section;
F4, in the analysis result queue, according to first in first out, remove the analysis of the remaining time segment length
As a result, step C2 is gone to.
A kind of intelligent television for being used to realize above-mentioned detection method, it includes:
Module is monitored, for monitoring unknown key-press event;
Judge module, for when monitoring has unknown key-press event, judging the process of audio frequency and video processing whether in operation;
And judge whether pending event queue is empty;
Logging modle, at the time point for recording the unknown key-press event, the unknown key-press event is added and waits to locate
Manage in event queue;
Processing module, for regarding first unknown key-press event in pending event queue as current unknown button thing
Part;Audio frequency and video corresponding to the unknown key-press event are handled, according to result judge unknown key-press event whether be
Zapping event, and store judged result;And in end-sound Video processing process, when the judged result has zapping information
When, export zapping information.
The detection method and intelligent television of a kind of television channel change provided compared to prior art, the present invention, based on queue
Mechanism, analyzes Voice & Video data characteristics when whether unknown key-press event meets zapping, and provide by sound, Video processing
Corresponding result, can efficiently and accurately detect the zapping operation of TV programme, and will not produce missing inspection, be intelligence
Man-machine interaction and information push etc. service provide the foundation.
Brief description of the drawings
Fig. 1 is the flow chart of the detection method of television channel change 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 present invention provides the detection method and intelligent television of a kind of television channel change, to make the purpose of the present invention, technical scheme
And effect is clearer, clear and definite, the present invention is described in more detail for the embodiment that develops simultaneously referring to the drawings.It should be appreciated that this
The specific embodiment of place description is not intended to limit the present invention only to explain the present invention.
Referring to Fig. 1, its flow chart for the detection method of television channel change of the present invention.As shown in figure 1, what the present invention was provided
The detection method of television channel change includes:
S100, when having listened to unknown key-press event, judge the process of audio frequency and video processing whether in operation;If it is
Perform step S200;Otherwise, step S300 is performed;
S200, the time point for recording the unknown key-press event, the unknown key-press event is added into pending event team
In row, and perform step S500;
S300, the corresponding audio frequency and video of the unknown key-press event are handled, unknown button is judged according to result
Whether event is zapping event, and store judged result;
S400, judge whether pending event queue is empty;If it is, end-sound Video processing process, sentences when described
When disconnected result has zapping information, zapping information is exported;Otherwise step S500 is performed;
S500, using first unknown key-press event in pending event queue as current unknown key-press event, and
Perform step S300.
Exemplified by watching TV programme by set top box, user sends the ultra-red orders such as zapping by remote control to set top box
When, intelligent TV set can receive the key-press event of remote control, but None- identified goes out specific key value.Pressed for this kind of
Key events, the present invention is marked as Unknown Key events(I.e. unknown key-press event).
The randomness operated in view of user:User may individually press primary key, it is also possible to continuously key many times be pressed, at this
There may be one or several zappings to operate or at all without zapping operation etc. among a series of continuous key-press.
In the specific implementation, what intelligent TV set was received during a Unknown Key event is handled is follow-up
During continuous Unknown Key events, possibly can not carry out sound, Video processing in time, thus the present invention monitoring have it is unknown by
During key events, the process that audio frequency and video processing is carried out to the unknown key-press event need to be determined whether in operation, if do not had
Operation, directly handles the unknown key-press event, if in operation, will be described unknown according to the time point of unknown key-press event
Key-press event is added in pending event queue, according to all unknown key-press events of the sequential processing of unknown key-press event, and is examined
Consider continuous key-press event(Because the time interval of continuous key-press event is possibly less than needed for one unknown key-press event of processing
Time), after each unknown key-press event is disposed, whether be empty, to prevent leak-stopping if detecting pending event queue
Inspection, is effectively ensured and timely analyzes the corresponding audio, video data of each Unknown Key events, and then judges each unknown button
The corresponding operation of event.
Wherein, in the step s 100, when intelligent television have received a unknown key-press event, the current time is recorded
Point, and check whether audio frequency and video analyzing and processing process is being carried out, if it is not, performing step S300, pass through
The corresponding audio frequency and video of step S300 unknown key-press events described to this pair are handled, and store corresponding result.If
When receiving the unknown key-press event, the unknown key-press event is then added to event by the process of existing audio frequency and video processing in operation
QueueIn, while recording the time point for receiving this unknown key-press event, wherein,For in event queue
Event number, continues the unknown key-press event of monitoring reception afterwards.
The step S400 is specifically included:Whether be empty, if then terminating audio frequency and video if judging the pending event queue
Treatment progress, and analyze whether the judged result queue carries zapping information, if then exporting corresponding zapping information;If treating
It is not sky to handle event queue, then regard first unknown key-press event in pending event queue as current unknown button
Event, performs step S300.
The present invention is based on queue mechanism, when all unknown key-press events being pressed into reception according to the time point of unknown key-press event
Between put in pending event queue sort, to unknown key-press event carry out sound, Video processing when, according to receive time point it is suitable
Sequence processing, will not hunt leak, so that possible zapping operation will not be missed.
In step S300, when handling audio, video data, the corresponding audio frequency and video of each unknown key-press event
The voice data and video data of one section of set time length of analysis are needed, so as to whether analyze set top box zapping.Start sound to regard
, can be using the reception time of currently processed unknown key-press event as starting point, in preset time period during the analyzing and processing process of frequencyIt is interior, the audio, video data that set top box is transferred to television set is continuously acquired, and analyzed and processed in real time, and at storage
Manage result.
Therefore, the step S300 is specifically included:The first step, using the reception time of current unknown key-press event as rise
Point, obtains the audio, video data in preset time period;Second step, the audio, video data to this time carry out voice data respectively
With video data processing, the result is stored in analysis result queue.Wherein, preset time periodMachine need to be more than
The switching time of top box zapping, the preset time periodPreferably 1.5-3 seconds, more excellent was 2 seconds.
In zapping, voice data is characterized in:For some time Jing Yin, has sound again after the completion of zapping;Depending on
Frequency evidence is characterized in:Video pictures for some time are static(Wherein, blank screen falls within one kind of picture still), in zapping
After the completion of video pictures have change again.When therefore judging zapping event, only it need to judge that the voice data in preset time period is
No is whether Jing Yin and corresponding video data is static.
Therefore, when carrying out voice data and video data Treatment Analysis to audio, video data, specifically include:Step a, general
The audio, video data is divided into voice data and video data;Step b, by node of the time by the voice data and video counts
According to being divided into some sections;Step c, analyzing whether each section audio data are in mute state, and analyze each section of video data is
It is no to remain static;Step d, audio data analysis result and video data analysis result be stored in analysis result queue;Step
Rapid e, based on the analysis result queue, whether be zapping event, store and corresponding judge to tie if judging the unknown key-press event
Really.The present invention is space-time in analysis result queue, and when having zapping event in judged result, just exports result, from
And can it is efficient and it is accurate detect television set zapping operation.
Wherein, the analysis result queue includes audio data analysis result queue and video data analysis result queue;
Therefore the step e is specifically included:The audio judged result queue is first analyzed, at the voice data of the first preset time period
When mute state, judge that the corresponding voice data of the preset time is in mute state, first preset time is less than
The preset time;Also, the video judged result queue is analyzed, when the video data of the second preset time period is in static
During state, judge that the corresponding video data of the preset time is in mute state, second preset time is less than described pre-
If the time, first preset time is referred to after being segmented to the voice data of preset time, continuous multi-stage voice data
Corresponding period, second preset time refers to after being segmented to the video data of preset time that continuous multi-stage is regarded
Frequency is according to the corresponding period, and first preset time audio more described than each section corresponding time is long, and described second is pre-
It is long to put time video more described than each section corresponding time, but the first preset time can be equal with the second preset time, herein
This is not restricted;When the corresponding voice data of the preset time is in mute state and the video data in static shape
During state, using the corresponding unknown key-press event of preset time starting point as zapping event, zapping information is exported;When the preset time pair
When the voice data answered is in non-mute state and/or the video data in nonstatic state, the preset time starting point
Corresponding unknown key-press event is non-zapping event;Afterwards, the zapping event or non-zapping event are stored in judged result
In queue.
The present invention, can be with when carrying out sound, Video processing in order to save memory space, improve accuracy of detection and processing speed
With the period of very little、Carried out for unit, wherein,、It is chosen as tens to hundreds of milliseconds, such as 50-
500 milliseconds.Therefore sound, video analysis before processing are being carried out, it is necessary to the audio frequency and video number in preset time period to audio, video data
Period according to this、Segment processing is carried out for unit.
Afterwards, whether Jing Yin shape is in using the voice data in every section of audio, video data of audio data analysis Algorithm Analysis
State, i.e. analysis time sectionInterior, whether audio is in mute state;Meanwhile, analyze every section using video data parser
Whether the video data in audio, video data remains static, i.e. analysis time sectionIt is interior, between video pictures frame whether
Remain static.And will be eachWithThe analysis processing result of Voice & Video in period, is stored in respectively
The analysis result queue of Voice & VideoWithIn.
When the preset timeDuring arrival, the sound inquired about during the analysis result is lined up, video analysis resultWith, according to the sound, video analysis resultWith, zapping event is determined whether, and export judgement
As a result, specifically, continuous multi-stage is worked asTime, corresponding audio was in mute state, then judged the preset timeCorresponding audio is in mute state;Work as continuous multi-stageTime, corresponding video was in inactive state, then judged
The preset timeCorresponding video remains static, and with continuous how long corresponding in the preset time
Audio is used as Jing Yin judgment standard, can be set, this is not restricted according to actual conditions herein;And with the preset time
Continuous how long corresponding video is used as static judgment standard, can be set, this is not made equally according to actual conditions herein
Limitation.In the present embodiment, preset timeIn every section of interior audio, video data, if the voice data of continuous time section
To be Jing Yin, the video data of continuous time section is static, and also portion of audio data has sound, the video data of part-time section
Change, then it represents that the unknown key-press event is zapping event;If in the preset timeInterior, all voice data
It is static for Jing Yin, video data, it is shutdown event to represent the unknown key-press event.
When being analyzed according to the audio data characteristics of zapping the voice data in every section of audio, video data, its method tool
Body includes:Voice data in every section of audio, video data is converted into PCM(Pulse-code modulation, pulse code is adjusted
System)Voice data;Afterwards, judge whether the amplitude of the PCM audio data is less than the first predetermined threshold value, if it is, judging
The section audio data are mute state;Otherwise, it is non-mute state to represent the voice data in this section of audio, video data.
In the ideal situation, the pvw value of PCM audio data is zero, and the present invention considers the influence of noise, the present embodiment
It is 5~20 to set the first predetermined threshold value, when the amplitude of PCM audio data(That is the absolute value of numerical value)Less than first predetermined threshold value
When, it is judged as Jing Yin.
, can be according to continuous when judging whether video data remains static according to the audio data characteristics of zapping
The histogrammic similarity of similarity or video pictures frame data correspondence of video pictures frame data is that foundation is judged, if
Similarity between different video frame data is very high, then it is assumed that video pictures are static.
Wherein, judge whether video data remains static by basis for estimation of the similarity of video pictures frame data
When, specifically include:First obtain the two continuous frames video data of this section of video;Then two, are analyzed using video data parser
Whether the similarity of frame video data is more than the second predetermined threshold value, if it is, judging that video data remains static.
In the present embodiment, when analyzing video data need to obtain two continuous frames data analyzes and processes, described
Video data parser is SSIM algorithms, and its calculation formula is:
Wherein, x, y represent two field pictures data,For image x pixel average,For image y pixel average,
For image x pixel variance,For image y pixel variance,For image x and image y pixel covariance,WithIt is
Constant value,WithValue be:
Wherein, k value subtracts 1 for the bit value of each pixel value.
When whether analysis video data is static, its SSIM value is bigger, and the similarity for representing two images data is bigger, because
This second pre-set threshold valueMaximum be 1, the present embodiment consider influence of noise, by the second pre-set threshold valueIf
For 0.9, represent that similarity is very high when SSIM values are more than 0.9, it is believed that image freeze, otherwise it is assumed that similarity is not high, regard
Frequency picture is change.
When judging whether video data remains static using Histogram Matching algorithm, specifically include:First obtain every
Two frame video datas in section audio, video data, and generate corresponding histogram;Then Histogram Matching Algorithm Analysis two is used
Whether the histogrammic similarity of frame video data is more than the 3rd predetermined threshold value, if it is, it is static to judge that video data is in
State;Otherwise it is assumed that video pictures are changes, wherein the 3rd predetermined threshold value can be set according to actual conditions, it is right herein
This is not restricted.
It should be noted that when judging whether video data is static, other algorithms, such as PSNR can also be used
(PeakSignaltoNoiseRatio, Y-PSNR)Algorithm, normalizated correlation coefficient scheduling algorithm, the present invention is not limited this
System.
In the detection method for the television channel change that the present invention is provided, in the processing procedure of a key-press event, if pre-
If there is other key-press events in the time, audio, video data to be processed is now needed to overlap, and the sound of lap is regarded
Frequency had been analyzed, then now only need to carry out audio, video analysis to the audio, video data of remaining time.This is in processing
The analysis result of predetermined time period only need to be stored in event queue, when next key-press event needs processing, it is necessary in the past
Unnecessary analysis result is removed after.Therefore the present invention is determined whether after zapping event by step S300, in addition it is also necessary to continued
Judge whether there is unknown key-press event in pending event queue, if then performing the first step in step S300;Otherwise count
Calculate the difference at time point corresponding with the current unknown key-press event at the analysis result queue corresponding last time point
Value, subtracts the difference by the preset time period, obtains remaining time;The sound obtained again afterwards in the remaining time section is regarded
Frequency evidence:In the analysis result queue, according to first in first out, the analysis knot of the remaining time segment length is removed
Really, the result to the audio, video data of this time and is stored in analysis result team by the second step gone in step S300
In row, and according to the reception time of current unknown key-press event, remove Voice & Video analysis result queueWithIt is interior
Out-of-date result record.This step is in order to avoid such situation:
Due to the randomness that user operates, may there are zapping order, shutdown command, start in a series of continuous key-press
Order etc..If user is in remote controller, last time button is closing key, then intelligent television can not obtain sound again, regard
Frequency signal, 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 by closing key, and pre-
If having pressed key in the time, although now intelligent television has been switched off, it is impossible to sound, vision signal are received, in intelligent television
After start, intelligent television can also continue to acquisition Voice & Video data and be analyzed and processed, and after preventing that user from pressing the wrong button, it is controlled
Command information processed is lost.I.e. in step S300, if it is determined that unknown key-press event is not zapping event, then need to continue to judge not
Whether be shutdown event, if shutdown event, also need to judge next unknown button thing in the given time if knowing key-press event
Whether part is power-on event;When next unknown key-press event is power-on event, S400 is continued executing with, otherwise, empties and waits to locate
Manage event queue, end-sound Video processing process.
In summary, in the detection method of television channel change that the present invention is provided, when intelligent television receive one it is unknown
During key-press event, just so that this moment for starting point, the analyzing and processing process of startup Voice & Video data is judged in preset time period
Whether sound, video data feature meet Voice & Video data characteristics during zapping.If do not connect in the preset time period
Receive other unknown key-press events, then terminate this analyzing and processing process, and provide whether the analysis judged result of zapping;If
In the preset time period, one or more unknown key-press events have been continuously received again, then with the reception of each unknown key-press event
Time is starting point, in the follow-up each unknown key-press event of analysis, voice data and video data in preset time period, and successively
Provide the corresponding analysis judged result of each unknown key-press event.After zapping event is judged, intelligent television just can be according to changing
Platform event pushes corresponding message, is that the service such as intelligent human-machine interaction and information push provides the foundation.
Based on above-mentioned zapping detection method, the present invention correspondingly provides a kind of for realizing the zapping detection method
Intelligent television it include:Monitor module 101, judge module 102, logging modle 103 and processing module 104.
Wherein, the monitoring module 101 is used to monitor unknown key-press event.The judge module 102 is used for when monitoring has
During unknown key-press event, judge the process of audio frequency and video processing whether in operation;And judge pending event queue whether be
It is empty.The logging modle 103 is used for the time point for recording the unknown key-press event, and the unknown key-press event is added and waits to locate
Manage in event queue.The processing module 104 is used to handle the corresponding audio frequency and video of the unknown key-press event, according to place
Reason result judges that whether unknown key-press event is zapping event, and store judged result;And in end-sound Video processing process
When, when the judged result has zapping information, export zapping information.Specifically refer to above-described embodiment.
When it is implemented, processing module 104 includes acquiring unit, processing unit, result judging unit and result output list
Member.Wherein, acquiring unit is used for using the reception time of current unknown key-press event as starting point, obtains the sound in preset time period
Video data;The audio, video data that processing unit is used for this time carries out voice data and video data processing respectively, by this
Result is stored in analysis result queue;As a result judging unit is used for whether judging unknown key-press event according to result
For zapping event;As a result output unit is used for the result for exporting processing unit.
Processing unit when being analyzed and processed to unknown key-press event, by the audio, video data be divided into voice data and
Video data, is divided into some sections by node of the time by the voice data and video data, then analyzes each section audio number
According to whether mute state is in, and analyze whether each section of video data remains static, and sound, video data analysis are tied
Fruit and the deposit analysis result queue of video data analysis result, afterwards based on the analysis result queue, judge described unknown press
Whether key events are zapping event, and corresponding its sound of result of storage, the analysis and processing method of video data refer to above-mentioned
Embodiment.
The detection method and intelligent television for a kind of television channel change that the present invention is provided, based on queue mechanism, pass through sound, video
Whether the unknown key-press event of Treatment Analysis meets Voice & Video data characteristics during zapping, and provides corresponding result,
The zapping operation of TV programme can efficiently and be accurately detected, and missing inspection will not be produced, is intelligent man-machine interaction and letter
The services such as breath push provide the foundation, and are a much progresses of field of intelligent man-machine interaction.
It is understood that for those of ordinary skills, can be with technique according to the invention scheme and its hair
Bright design is subject to equivalent substitution or change, and all these changes or replacement should all belong to the guarantor of appended claims of the invention
Protect scope.
Claims (9)
1. a kind of detection method of television channel change, it is characterised in that including:
A, when having listened to unknown key-press event, judge the process of audio frequency and video processing whether in operation;If it is step is performed
Rapid B;Otherwise, step C is performed;
B, the time point for recording the unknown key-press event, the unknown key-press event is added in pending event queue, and
Perform step E;
C, the corresponding audio frequency and video of the unknown key-press event are handled, whether unknown key-press event is judged according to result
For zapping event, and store judged result;
The step C is specifically included:
C1, using the reception time of current unknown key-press event as starting point, obtain preset time period in audio, video data;
C2, the audio, video data to this time carry out voice data and video data processing respectively, and the result is stored
In analysis result queue;
D, judge whether pending event queue is empty;If it is, end-sound Video processing process, when the judged result has
During zapping information, zapping information is exported;Otherwise step E is performed;
E, using first unknown key-press event in pending event queue as current unknown key-press event, and perform step
C。
2. the detection method of television channel change according to claim 1, it is characterised in that the step C2 is specifically included:
C20, the audio, video data is divided into voice data and video data;
C21, by node of the time voice data and video data be divided into some sections;
Whether C22, each section audio data of analysis are in mute state, and analyze whether each section of video data is in static shape
State;
C23, by sound, video data analysis result and video data analysis result be stored in analysis result queue;
C24, based on the analysis result queue, whether be zapping event, store and corresponding sentences if judging the unknown key-press event
Disconnected result.
3. the detection method of television channel change according to claim 2, it is characterised in that the analysis result queue includes sound
The queue of frequency data results and video data analysis result queue;
The step C24 is specially:
C241, the analysis audio judged result queue, when the voice data of the first preset time period is in mute state, sentence
The corresponding voice data of the preset time of breaking is in mute state, and first preset time is less than the preset time;
C242, the analysis video judged result queue, when the video data of the second preset time period remains static, sentence
The corresponding video data of the preset time of breaking is in mute state, and second preset time is less than the preset time;
C243, remain static when the corresponding voice data of the preset time is in mute state and the video data
When, using the corresponding unknown key-press event of preset time starting point as zapping event, export zapping information;When preset time correspondence
Voice data when being in non-mute state and/or the video data and being in nonstatic state, the preset time starting point pair
The unknown key-press event answered is non-zapping event;
C244, the zapping event or non-zapping event be stored in judged result queue.
4. the detection method of television channel change according to claim 3, it is characterised in that the step D is specially:
D1, judge whether the pending event queue is empty, if then end-sound Video processing process, goes to step D2, if
It is no, go to the step E;
Whether D2, the analysis judged result queue carry zapping information, if then exporting corresponding zapping information.
5. the detection method of television channel change according to claim 2, it is characterised in that analyzed described in the step C22
Whether each section of voice data specifically includes in mute state:
C221, this section of audio, video data be converted into PCM audio data;
C222, judge the PCM audio data amplitude whether be less than the first predetermined threshold value, if it is, judging the section audio
Data are mute state.
6. the detection method of television channel change according to claim 2, it is characterised in that each section is analyzed in step C22
Whether the video data, which remains static, specifically includes:
C223, the two continuous frames video data for obtaining this section of video;
C224, using video data parser analyze two frame video datas similarity whether be more than the second predetermined threshold value, such as
Fruit is then to judge that video data remains static.
7. the detection method of television channel change according to claim 6, it is characterised in that the video data parser is
SSIM algorithms, its calculation formula is:Explanation:Explanation: C:Users Administrator Desktop OA reply-it is old it is special OA- it is old it is special 1.22-PI131834-TCL groups-OA1 131834-PI-004- submit document _ 2013107302597 e1927452-2eb1-42b1-baca-73c1da651012 100001 dest_path_image001.jpg
Wherein, x, y represent two field pictures data,Explanation:Explanation: C:Users Administrator Desktop OA reply-it is old it is special OA- it is old it is special 1.22-PI131834-TCL groups-OA1 131834-PI-004- submit document _ 2013107302597 e1927452-2eb1-42b1-baca-73c1da651012 100001 671891dest_path_image002.jpgFor image x pixel average,Explanation:Explanation: C:Users Administrator Desktop OA reply-it is old it is special OA- it is old it is special 1.22-PI131834-TCL groups-OA1 131834-PI-004- submit document _ 2013107302597 e1927452-2eb1-42b1-baca-73c1da651012 100001 dest_path_image003.jpgFor image y pixel average,Explanation:Explanation: C:Users Administrator Desktop OA reply-it is old it is special OA- it is old it is special 1.22-PI131834-TCL groups-OA1 131834-PI-004- submit document _ 2013107302597 e1927452-2eb1-42b1-baca-73c1da651012 100001 991008dest_path_image004.jpgFor figure
As x pixel variance,Explanation:Explanation: C:Users Administrator Desktop OA reply-it is old it is special OA- it is old it is special 1.22-PI131834-TCL groups-OA1 131834-PI-004- submit document _ 2013107302597 e1927452-2eb1-42b1-baca-73c1da651012 100001 dest_path_image005.jpgFor image y pixel variance,Explanation:Explanation: C:Users Administrator Desktop OA reply-it is old it is special OA- it is old it is special 1.22-PI131834-TCL groups-OA1 131834-PI-004- submit document _ 2013107302597 e1927452-2eb1-42b1-baca-73c1da651012 100001 82592dest_path_image006.jpgFor image x and image y pixel covariance,Explanation:Explanation: C:Users Administrator Desktop OA reply-it is old it is special OA- it is old it is special 1.22-PI131834-TCL groups-OA1 131834-PI-004- submit document _ 2013107302597 e1927452-2eb1-42b1-baca-73c1da651012 100001 dest_path_image007.jpgWithExplanation:Explanation: C:Users Administrator Desktop OA reply-it is old it is special OA- it is old it is special 1.22-PI131834-TCL groups-OA1 131834-PI-004- submit document _ 2013107302597 e1927452-2eb1-42b1-baca-73c1da651012 100001 840463dest_path_image008.jpgIt is constant
Value,Explanation:Explanation: C:Users Administrator Desktop OA reply-it is old it is special OA- it is old it is special 1.22-PI131834-TCL groups-OA1 131834-PI-004- submit document _ 2013107302597 e1927452-2eb1-42b1-baca-73c1da651012 100001 192947dest_path_image007.jpgWithExplanation:Explanation: C:Users Administrator Desktop OA reply-it is old it is special OA- it is old it is special 1.22-PI131834-TCL groups-OA1 131834-PI-004- submit document _ 2013107302597 e1927452-2eb1-42b1-baca-73c1da651012 100001 197812dest_path_image008.jpgValue be:
Explanation:Explanation: C:Users Administrator Desktop OA reply-it is old it is special OA- it is old it is special 1.22-PI131834-TCL groups-OA1 131834-PI-004- submit document _ 2013107302597 e1927452-2eb1-42b1-baca-73c1da651012 100001 dest_path_image009.jpg
Wherein, k value subtracts 1 for the bit value of each pixel value.
8. the detection method of television channel change according to claim 2, it is characterised in that also include after the step E:
F, judge whether the analysis result queue is empty, if then going to the step C1, otherwise go to step F1;
When F1, the calculating analysis result queue corresponding last time point are corresponding with the current unknown key-press event
Between the difference put, the preset time period is subtracted into the difference, remaining time is obtained;
F3, the audio, video data obtained in the remaining time section;
F4, in the analysis result queue, according to first in first out, remove the analysis knot of the remaining time segment length
Really, step C2 is gone to.
9. a kind of intelligent television for being used to realize detection method described in claim 1, it is characterised in that including:
Module is monitored, for monitoring unknown key-press event;
Judge module, for when monitoring has unknown key-press event, judging the process of audio frequency and video processing whether in operation;And
Whether judge pending event queue is empty;
Logging modle, at the time point for recording the unknown key-press event, pending thing is added by the unknown key-press event
In part queue;
Processing module, for regarding first unknown key-press event in pending event queue as current unknown key-press event;
Audio frequency and video corresponding to the unknown key-press event are handled, and judge whether unknown key-press event is zapping according to result
Event, and store judged result;And in end-sound Video processing process, it is defeated when the judged result has zapping information
Go out zapping information.
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 CN103716689A (en) | 2014-04-09 |
CN103716689B true 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) |
Families Citing this family (5)
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 |
CN106303742B (en) * | 2016-07-26 | 2019-11-05 | 深圳Tcl数字技术有限公司 | The response method and device of panel button operation |
KR20190038002A (en) * | 2017-09-29 | 2019-04-08 | 삼성전자주식회사 | Display apparatus and control method thereof |
CN112543359B (en) * | 2020-11-12 | 2023-01-20 | 海信视像科技股份有限公司 | Display device and method for automatically configuring video parameters |
Citations (5)
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 |
-
2013
- 2013-12-26 CN CN201310730259.7A patent/CN103716689B/en not_active Expired - Fee Related
Patent Citations (5)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN103716689A (en) | 2014-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103716689B (en) | The detection method and intelligent television of television channel change | |
JP4847165B2 (en) | Video recording / reproducing method and video recording / reproducing apparatus | |
US8103062B2 (en) | Video processing apparatus | |
US10120536B2 (en) | Monitoring method | |
US20140043480A1 (en) | Video monitoring system and method | |
JP2005536794A (en) | Content identification method, apparatus, and software | |
CN101543075A (en) | Detection of gradual transitions in video sequences | |
US11763720B2 (en) | Methods, systems, and media for detecting a presentation of media content on a display device | |
WO2019218656A1 (en) | Smart television and screenshot-taking application method therefor, and storage medium | |
CN105611373A (en) | Video picture processing method and device | |
WO2017029787A1 (en) | Viewing state detection device, viewing state detection system and viewing state detection method | |
CN105611386A (en) | Video picture processing method and device | |
WO2015168893A1 (en) | Video quality detection method and device | |
CN105792005B (en) | The method and device of video recording control | |
CN110069198B (en) | User interaction platform and user interaction information identification display method | |
JP2008009938A (en) | Moving image data processor, moving image data processing method, moving image data processing program and storage medium recording the program | |
WO2023280117A1 (en) | Indication signal recognition method and device, and computer storage medium | |
WO2022044637A1 (en) | Image processing device, image processing method, and program | |
KR102440073B1 (en) | Apparatus and method for selecting optimized models | |
CN112101331B (en) | Security video fusion scheduling method and device | |
CN111726569A (en) | Monitoring content replacement detection system and method | |
CN116264620B (en) | Live broadcast recorded audio data acquisition and processing method and related device | |
CN115947181B (en) | Yarn mixing processing method, processing device and processing system of packer | |
CN116382721B (en) | Screen recording method and screen recording device of intelligent interaction panel | |
CN106060677A (en) | Video play method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
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 |