The utility model content
The utility model embodiment provides a kind of television terminal of channel-identification, is used for realizing making television terminal know channel information.
A kind of television terminal of channel-identification comprises:
Sending module is used for sending video interception to server, and the indication server carries out the channel analysis according to video interception;
Receiver module is used for the channel information that reception server sends.
Described television terminal also comprises: the sectional drawing module is used for obtaining a plurality of video interception according to default continuous sectional drawing of the time interval.
Preferably, sending module sends video interception to server after definite channel changes.
Described television terminal also comprises: analysis module, be used for the color in the station symbol zone of video interception is analyzed, and judge according to change in color whether channel changes.
A kind of server of channel-identification comprises:
Receiver module is used to receive the video interception that television terminal sends;
Analysis module is used for the station symbol of video interception is analyzed, and determines the station symbol in the video interception;
Enquiry module is used for the corresponding relation according to station symbol and channel information, determines the channel information of the station symbol correspondence that analyzes;
Sending module, the channel information that is used for determining sends to television terminal.
Preferably, analysis module has one of following function at least:
A plurality of corner areas to video interception are carried out the station symbol analysis;
A plurality of nonoverlapping station symbol in the video interception is analyzed;
A plurality of overlapping station symbol in the video interception is analyzed.
Preferably, a plurality of nonoverlapping station symbol in the video interception is analyzed, or when a plurality of overlapping station symbol in the video interception analyzed, analysis module determined can identify in a plurality of station symbols the main station symbol of current channel.
Preferably, analysis module is analyzed station symbol according to the color in the station symbol zone of video interception.
Other features and advantages of the utility model will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the utility model.The purpose of this utility model and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Below by drawings and Examples, the technical solution of the utility model is described in further detail.
Embodiment
Below in conjunction with accompanying drawing preferred embodiment of the present utility model is described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the utility model, and be not used in qualification the utility model.
By sending video interception, make server know the video content of the current broadcast of television terminal side in the present embodiment, thereby determine the channel information of its broadcast to server.Like this, television terminal just can obtain channel information from server, and then realizes the propelling movement etc. of other application.
Referring to Fig. 1, the main method flow process of television terminal side channel-identification is as follows in the present embodiment:
Step 101: send video interception to server, the indication server carries out the channel analysis according to video interception.
Step 102: the channel information that reception server sends.
Present embodiment mid band information comprises: the information relevant with channel such as channel identication, frequency range.
Before step 101, the television terminal side need obtain video interception, and specifically acquisition mode has multiple, as real-time acquisition video interception.Perhaps, the continuous sectional drawing of the time interval according to default obtains a plurality of video interception.The default time interval is 0.1 second level, 1 second level etc.The video interception quantity that obtains is N continuously, and the preferable span of N is 100~200.
Preferable, the television terminal side does not need to send video interception to server when channel unread changes, and after each channel change, sends video interception to server, opens video interception as continuous transmission N.Can reduce the quantity that sends video interception like this.
It is multiple that the television terminal side judges that specifically mode that whether channel changes has, and analyzes as the color to the station symbol zone of video interception, judges according to change in color whether channel changes, and wherein the station symbol zone comprises four angular zones in the video interception.
The television terminal side judges that specifically the process whether channel change is as follows:
Because station symbol its pixel value in a plurality of video interception all is constant, obtain the pixel characteristic that K opens station symbol neighboring area and station symbol in the sectional drawing, and utilize this pixel characteristic training pattern to be trained as training sample, training pattern can specifically adopt vector machine (SVM) model.Wherein, pixel characteristic can adopt color histogram to represent.
Obtained after the training pattern, the television terminal side just can utilize this training pattern to judge whether channel changes.Promptly, the video interception that newly obtains is input in the training pattern, the pixel characteristic of video interception and the characteristic set in the training pattern are mated, if the similarity of coupling surpasses default threshold value, then output valve is true, the pixel value relation that is station symbol and peripheral region does not change, and determines that then channel unread changes, otherwise determines that channel changes.
Introduce the process of television terminal side channel-identification below by a specific embodiment.
Referring to Fig. 2 A, the detailed method flow process of television terminal side channel-identification is as follows in the present embodiment:
Step 201: television terminal carries out video interception.At least need to obtain two video interception this moment.
Step 202: television terminal is analyzed the color in the station symbol zone of video interception.
Step 203: television terminal judges whether channel changes, if then continue step 204, otherwise continue step 201.
Step 204: the video interception of television terminal after with channel change sends to server.
Step 205: server is determined corresponding channel information according to the video interception of receiving.
Step 206: the channel information that the television terminal reception server sends.
Television terminal also can local carry out the identification and the analysis of station symbol, and then definite channel information, does not need video interception is sent to server.Its process is as follows, shown in Fig. 2 B:
Step 211: obtain video interception.
Step 212: the station symbol in the video interception is analyzed, determined the station symbol in the video interception.
Step 213:, determine the channel information of the station symbol correspondence that analyzes according to the corresponding relation of station symbol and channel information.
More than introduced the implementation procedure of television terminal side, corresponding, server side also improves to some extent, and the implementation procedure to server side is introduced below.
Referring to Fig. 3, the main method flow process of server side channel-identification is as follows in the present embodiment:
Step 301: receive the video interception that television terminal sends.
Step 302: the station symbol in the video interception is analyzed, determined the station symbol in the video interception.
Step 303:, determine the channel information of the station symbol correspondence that analyzes according to the corresponding relation of station symbol and channel information.
Step 304: the channel information of determining is sent to television terminal.
Wherein, server side comprises a lot of aspects to the analysis of the station symbol in the video interception, analyzes as the corner areas to video interception, and corner areas is the zone that the station symbol most probable occurs.This part zone is analyzed, can be improved the efficient of analysis, and reduce the interference of extraneous areas, improve the accuracy of analyzing analyzing.
And, may exist a channel to relay the situation of the program of another channel, so just a plurality of station symbols may appear in a video interception, a plurality of station symbols possibilities are overlapping may be not overlapping, then relate to analysis to a plurality of station symbols, determine to identify in a plurality of station symbols the main station symbol of current channel, promptly identify the station symbol of the channel of broadcast program.
To the identification of the station symbol under the various situations, all be based on training pattern and realize.The process of structure training pattern is as follows:
If N TV station arranged, each intercepting K of TV station is opened sectional drawing as training sample, get the training sample that L opens figure conduct " no station symbol " scene that does not comprise any Channel icons simultaneously in addition.
Because the position of station symbol in video interception be constant substantially, therefore, the K of each channel to be opened figure superpose, the plain mean value of capture can be determined the position of the station symbol of each channel basically.Center with each station symbol t is the center, gets a rectangular area R (t).
To N channel, train N+1 model (comprising a no station symbol model), suppose that training pattern is M (t), then for the pairing model M of channel N (t) (t), to all N*K+L pictures, subgraph S (i) according to corresponding rectangular area R (t) the intercepting picture of N (t) extracts feature then, and (svm) trains with SVMs.Shown in following function.
svm_model=svm_train(featurelist,labellist);
Labellist is the pairing label of feature list (tabulation) (label) information, if this feature belongs to station symbol t, then label is 1, is 0 if not label then.Can train N model and 1 no station symbol scene Recognition model relevant like this with station symbol.
Can obtain training pattern by said method, just can analyze the station symbol in the video interception afterwards by this training pattern.Concrete mode is as follows:
For the video interception of an input, according to each model, extract feature, be input in the following anticipation function.
[Predict_label,probability]=svm_predict(svm_model,feature)
Wherein, svm_model represents that the training pattern that adopts, feature represent the feature of extracting, and svm_predict represents the vector machine anticipation function.If function returns: predict_label==1, then expression is predicted as current model, if predict_label==0, then expression is not current model, probablility is a fiducial probability.At last, get predict_abel be 1 and the highest pairing station symbol of model of fiducial probability be the station symbol of prediction.
For the situation that a plurality of station symbols superpose, a platform has multiple station symbol, only need mark the main station symbol that should be identified as under this scene the situation of correspondence also as training sample, carry out above-mentioned model training and get final product.
Introduce the implementation procedure of server side channel-identification in detail below by an exemplary embodiments.
Referring to Fig. 4, the detailed method flow process of server side channel-identification is as follows in the present embodiment:
Step 401: server receives the video interception that television terminal sends.
Step 402: server carries out color analysis to the image of the corner areas in the video interception, obtains the color analysis data.
Step 403: server joins default training pattern with the color analysis data.
Step 404: whether server has the analysis of station symbol by training pattern, and the analysis of a plurality of station symbol situations, determines station symbol.Especially determine main station symbol.
Step 405: server is determined the channel information of the station symbol correspondence of acquisition according to the default station symbol and the corresponding relation of channel information.
Step 406: server sends to television terminal with the channel information of determining.
Understood the method implementation procedure of channel-identification by above description, this process mainly realizes that by television terminal and server internal structure and the function to these two equipment is introduced below.
Referring to Fig. 5, television terminal comprises in the present embodiment: sending module 501 and receiver module 502.Television terminal can be specially the equipment that television set (especially intelligent TV set), computer, portable terminal etc. have video playback capability.Sending module 501 and receiver module 502 all can belong to the I/O interface.
Sending module 501 is used for sending video interception to server, and the indication server carries out the channel analysis according to video interception.Preferable, sending module 501 sends video interception to server after definite channel changes.
Receiver module 502 is used for the channel information that reception server sends.
Information interaction between television terminal and the server can realize by wireless interconnected net mode.
Preferable, television terminal also comprises sectional drawing module 503 and analysis module 504, referring to shown in Figure 6.
Sectional drawing module 503 is used for obtaining a plurality of video interception according to default continuous sectional drawing of the time interval.Sectional drawing module 503 can be specially picture processing chip, and television terminal also comprises register.Sectional drawing module 503 intercepts picture from register, obtain video interception, and be stored in other register.
Analysis module 504 is used for the color in the station symbol zone of video interception is analyzed, and judges according to change in color whether channel changes.Analysis module 504 can be specially picture processing chip, obtains video interception from register, and analyzes.
Referring to Fig. 7, server comprises in the present embodiment: receiver module 701, analysis module 702, enquiry module 703 and sending module 704.Receiver module 701 and sending module 704 all can belong to the I/O interface.
Receiver module 701 is used to receive the video interception that television terminal sends, and is stored in the register in the server.
Analysis module 702 is used for the station symbol of video interception is analyzed, and determines the station symbol in the video interception.Analysis module 702 can be specially picture processing chip, obtains video interception from register, and analyzes.
Enquiry module 703 is used for the corresponding relation according to station symbol and channel information, determines the channel information of the station symbol correspondence that analyzes.Enquiry module 703 can be specially process chip, and server also comprises memory, is used to store the corresponding relation of station symbol and channel information.Enquiry module 703 is connected with memory with analysis module 702.
The channel information that sending module 704 is used for determining sends to television terminal.
Preferable, analysis module 702 has one of following function at least: a plurality of corner areas to video interception are carried out the station symbol analysis; A plurality of nonoverlapping station symbol in the video interception is analyzed; A plurality of overlapping station symbol in the video interception is analyzed.
Preferable in the present embodiment, a plurality of nonoverlapping station symbol in the video interception is analyzed, or when a plurality of overlapping station symbol in the video interception analyzed, analysis module 702 determined can identify in a plurality of station symbols the main station symbol of current channel.Wherein, analysis module 702 is analyzed station symbol according to the color in the station symbol zone of video interception.
By sending video interception, make server know the video content of the current broadcast of television terminal side in the present embodiment, thereby determine the channel information of its broadcast to server.Like this, television terminal just can obtain channel information from server, and then realizes the propelling movement etc. of other application.Present embodiment is particularly useful for occurring the situation of new channel, only needs the record in the update service device.Television terminal changes the back at discovery channel and sends video interception to server, just can obtain corresponding channel information from server, and especially the channel information of new channel does not need television terminal is upgraded on a large scale, and the change amount is less.Television terminal also judges whether to take place channel change by default training pattern in the present embodiment, just sends video interception when changing, to reduce volume of transmitted data.Server can analyze station symbol under the multiple situation more accurately by default training pattern, and can improve analysis efficiency.
Those skilled in the art should understand that embodiment of the present utility model can be provided as method, system or computer program.Therefore, the utility model can adopt complete hardware embodiment, complete software implementation example or in conjunction with the form of the embodiment of software and hardware aspect.And the utility model can adopt the form that goes up the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) that wherein include computer usable program code.
The utility model is that reference is described according to the flow chart and/or the block diagram of method, equipment (system) and the computer program of the utility model embodiment.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computer or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, make on computer or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of carrying out on computer or other programmable devices is provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
Obviously, those skilled in the art can carry out various changes and modification to the utility model and not break away from spirit and scope of the present utility model.Like this, if of the present utility model these are revised and modification belongs within the scope of the utility model claim and equivalent technologies thereof, then the utility model also is intended to comprise these changes and modification interior.