CN105721900A - Video switching method, apparatus and system - Google Patents
Video switching method, apparatus and system Download PDFInfo
- Publication number
- CN105721900A CN105721900A CN201410736757.7A CN201410736757A CN105721900A CN 105721900 A CN105721900 A CN 105721900A CN 201410736757 A CN201410736757 A CN 201410736757A CN 105721900 A CN105721900 A CN 105721900A
- Authority
- CN
- China
- Prior art keywords
- video
- lines
- standard
- medium data
- occurrence frequency
- 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
Links
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a video switching method and apparatus, a video data processing method and apparatus, and a video switching system. The video switching method comprises the steps: sampling in the current playing video, and obtaining a sampling video; analyzing the sampling video, and acquiring the multimedia data contained in the sampling video and the appeared frequency of the multimedia data; sending the multimedia data and the appeared frequency of the multimedia data to a video server, and giving a request to the video server for a program information list which contains the multimedia data and is greater than or equal to the appeared frequency of the multimedia data; and according to the program selection situation of a user, switching the video. The video switching method can acquire the related other video program information according to the images and lines of the current video to avoid manual maintenance of a great deal of video program information so as to reduce the workload.
Description
Technical field
The present invention relates to multimedia-data procession field, be specifically related to a kind of video switching method and device.Present invention simultaneously relates to a kind of video data handling procedure and device and a kind of video switching system.
Background technology
Merge TV refer to that DVB (DigitalVideoBroadcasting, DVB) is live, OTT (OverTheTop) program request and the interactive Novel television of high definition, make live, program request, interactive fusion television experience.Merge the wired live seamless fusion with OTT program request of realizing television, it is achieved the real-time interactive between spectators and content, mobile phone and TV.Merge TV and support the intelligent TV set of all brands and model, only need " 6 key " on remote controller just can complete all mutual and manipulation.From a live key to program request, can also return to live by a key from program request in turn.It is possible not only to mobile phone remote TV, changes channel, look for video, it is also possible to from mobile phone push jack to TV, play high definition video on TV.Additionally when playing program and advertisement, moreover it is possible to wired value-added services such as the interaction between spectators and television content and advertiser, guess, game are provided.
OTT is that Internet operator is to internet television Set Top Box business " pet name ", its essence is to utilize unified Content Management and distribution platform, by open the Internet, the video of high definition, game and application is provided to Intelligent set top box, it it is global " cloud TV " technological system framework, such as: by by the video program transmission of the Internet transmission to TV, terminal can be television set, computer, Set Top Box, PAD, smart mobile phone etc..
A kind of very common occasion using fusion TV, it is that spectators need to obtain other video program informations relevant to the video content being currently played, and by the selection to other video program informations, other videos that the video being currently played is switched to spectators' selection play out.Such as: the video being currently played is by the film of certain actor, spectators want to watch other video frequency programs having this performer to participate in.
Traditionally, user obtains other video program informations relevant to the video content being currently played and is based on the search operation being carried out associated video program information by the programme information of textual representation.The programme information of all videos of the method is by textual representation, for instance: the programme informations such as video name, protagonist, director are by textual representation.The method comprises the steps: 1) in program information table, inquire about the programme information of the video being currently played;2) programme information according to the video being currently played, obtains other video program informations relevant to the video content being currently played.Therefore, the method is to be obtained the programme information using literal expression of current video by program information table, and obtains other relevant video program informations according to Word message.The shortcoming of employing the method is: cannot obtain other relevant video program informations according to the image of current video with lines.In sum, the application scenarios of the method is comparatively single, and the typing and edit request to server end video program information is high.
Therefore, there is the problem that cannot obtain other relevant video program informations according to the image of current video with lines in prior art.
Summary of the invention
The present invention provides a kind of video switching method and device, the problem that cannot obtain other relevant video program informations according to the image of current video with lines to solve prior art to exist.The present invention additionally provides a kind of video data handling procedure and device and a kind of video switching system.
The present invention provides a kind of video switching method, including:
Currently playing video is sampled, obtains sample video;
Described sample video is resolved, obtains multi-medium data and occurrence frequency thereof that described sample video includes;
Described multi-medium data and occurrence frequency thereof are sent to video server, includes described multi-medium data and the program information list more than or equal to described multi-medium data occurrence frequency to the request of described video server;
Program according to user selects situation, and video is switched over.
Optionally, described sample video is resolved, obtains multi-medium data and occurrence frequency thereof that described sample video includes, specifically include:
The frame of video of described sample video is read frame by frame;
According to default standard picture storehouse, obtain the standard picture comprised in current video frame;
The occurrence number of described standard picture is carried out accumulative renewal.
Optionally, the standard picture storehouse that described basis is preset, obtain the standard picture comprised in current video frame and include:
Travel through each standard picture in described standard picture storehouse, with the area size of described standard picture for size foundation in described current video frame, described current video frame is chosen matching candidate region;
Calculate the image difference degree between each matching candidate region and described standard picture one by one;
In all of matching candidate region, choose the matching candidate region that described image difference degree is minimum, as selected matching area, by unitization for the image difference degree of described selected matching area, obtain the unitization image difference degree of described selected matching area;
Described unitization image difference degree and predetermined image difference degree threshold value are compared, if less than equal to described image difference degree threshold value, then judges that described current video frame includes described standard picture.
Optionally, described sample video is resolved, obtains multi-medium data and occurrence frequency thereof that described sample video includes, specifically include:
Obtain captions and voice that described sample video includes;
Described voice is converted to word, using described captions and described word as video lines;
According to default standard unit dictionary and described video lines, obtain the standard lines that described video lines include;
The occurrence number of described standard lines is carried out accumulative renewal.
Optionally, standard unit dictionary that described basis is preset and described video lines, obtain the standard lines that described video lines include and include:
Travel through each standard lines in described standard unit dictionary, it is judged that whether described video lines exist described standard lines;
When described video lines exist described standard lines, then judge that described video lines include described standard lines.
Accordingly, the application also provides for a kind of video switching device, including:
Sampling unit, for sampling in currently playing video, obtains sample video;
Resolution unit, for described sample video is resolved, obtains multi-medium data and occurrence frequency thereof that described sample video includes;
Transmitting element, for sending described multi-medium data and occurrence frequency thereof to video server, includes described multi-medium data and the program information list more than or equal to described multi-medium data occurrence frequency to the request of described video server;
Switch unit, selects situation for the program according to user, video is switched over.
Optionally, described resolution unit includes:
Read subelement, for the frame of video of described sample video is read frame by frame;
First obtains subelement, for according to the standard picture storehouse preset, obtaining the standard picture comprised in current video frame;
First count sub-element, for carrying out accumulative renewal to the occurrence number of described standard picture.
Optionally, described acquisition subelement includes:
First chooses subelement, for traveling through each standard picture in described standard picture storehouse, with the area size of described standard picture for size foundation in described current video frame, chooses matching candidate region in described current video frame;
Computation subunit, for calculating the image difference degree between each matching candidate region and described standard picture one by one;
Second chooses subelement, for, in all of matching candidate region, choosing the matching candidate region that described image difference degree is minimum, as selected matching area, by unitization for the image difference degree of described selected matching area, obtain the unitization image difference degree of described selected matching area;
Relatively subelement, for described unitization image difference degree and predetermined image difference degree threshold value being compared, if less than equal to described image difference degree threshold value, then judges that described current video frame includes described standard picture.
Optionally, described resolution unit includes:
Second obtains subelement, for obtaining captions and the voice that described sample video includes;
Conversion subelement, for being converted to word by described voice, using described captions and described word as video lines;
3rd obtains subelement, for according to the standard unit dictionary preset and described video lines, obtaining the standard lines that described video lines include;
Second count sub-element, for carrying out accumulative renewal to the occurrence number of described standard lines.
Optionally, described 3rd acquisition subelement includes:
Judgment sub-unit, for traveling through each standard lines in described standard unit dictionary, it is judged that whether there are described standard lines in described video lines;
Judge subelement, for when described video lines exist described standard lines, then judging that described video lines include described standard lines.
Additionally, the application also provides for a kind of video data handling procedure, including:
Receive the acquisition video program information request that client sends;The request of described video program information includes multi-medium data and occurrence frequency thereof;
The video program information prestored is inquired about the video program information of the described occurrence frequency that the occurrence frequency including described multi-medium data and described multi-medium data is asked be more than or equal to described video program information;
To programme information described in described client loopback.
Accordingly, the application also provides for a kind of video data processing apparatus, including:
Receive unit, for receiving the acquisition video program information request that client sends;The request of described video program information includes multi-medium data and occurrence frequency thereof;
Query unit, for inquiring about the video program information of the described occurrence frequency that the occurrence frequency including described multi-medium data and described multi-medium data is asked be more than or equal to described video program information in the video program information prestored;
Loopback cell, is used for programme information described in described client loopback.
Additionally, the application also provides for a kind of video switching system, including: the video switching device according to any of the above-described item and the video data processing apparatus described in any one.
Compared with prior art, the invention have the advantages that
The video switching method of the application offer, video data handling procedure and related device and system, when playing live video or order video, by resolving the sample video in currently playing video, obtain multi-medium data and occurrence frequency thereof that sample video includes;Multi-medium data and occurrence frequency thereof are sent to video server, include the programme information of the occurrence frequency of the corresponding multi-medium data that the occurrence frequency of multi-medium data and multi-medium data includes be more than or equal to sample video to the request of described video server;Program according to user selects situation, and video is switched over, enabling obtain other relevant video program informations according to the image of current video with lines, it is to avoid the substantial amounts of video program information of manual maintenance, thus reaching to reduce the effect of workload.
Accompanying drawing explanation
Fig. 1 is the flow chart of the video switching method embodiment of the application;
Fig. 2 is the particular flow sheet of the video switching method embodiment step S102 of the application;
Fig. 3 is the particular flow sheet of the video switching method embodiment step S1022 of the application;
Fig. 4 is the particular flow sheet of the video switching method embodiment step S1026 of the application;
Fig. 5 is the schematic diagram of the video switching device embodiment of the application;
Fig. 6 is the schematic diagram of the video data handling procedure embodiment of the application;
Fig. 7 is the schematic diagram of the video data processing apparatus embodiment of the application;
Fig. 8 is the schematic diagram of the video switching system embodiment of the application.
Detailed description of the invention
Elaborate a lot of detail in the following description so that fully understanding the present invention.But the present invention can implement being much different from alternate manner described here, and those skilled in the art can do similar popularization when without prejudice to intension of the present invention, therefore the present invention is by the following public restriction being embodied as.
Refer to Fig. 1, it is the flow chart of video switching method embodiment of the application.Described method comprises the steps:
Step S101: sample in currently playing video, obtain sample video.
Currently playing video described in the embodiment of the present application refers to live video or Internet video.Live video refers to each TV programme that television station is playing, and Internet video refers to the video file being stored in video website.
The video switching method that the application provides, according to concrete application demand, it is possible to adopt the different method of samplings that currently playing video is sampled, obtain sample video.Such as: can according to the default sampling time, sample video fragment in currently playing video, as sample video.Different sample modes is all the change of detailed description of the invention, all without departing from the core of the application, therefore all within the protection domain of the application.
In the present embodiment, currently playing video is sampled, obtain sample video particularly as follows: according to the default sampling time, the video segment that sampling is positioned at after current time and time span is the described sampling time in currently playing video, as sample video.Sampling time described in the embodiment of the present application is adjustable.Such as: when spectators are watching live video or Internet video, it is possible to by remote controller, the concrete video sampling time is set.
Step S102: described sample video is resolved, obtains multi-medium data and occurrence frequency thereof that described sample video includes.
Multi-medium data described in the embodiment of the present application refers to default standard picture and at least one of standard lines.Standard picture and standard lines refer to the mark characteristic image of video or feature lines, for instance: standard picture can be the image informations such as the head portrait of the trade mark of certain brand or certain star, and standard lines can be the Word message such as name, place name.In actual applications, it is possible to synchronize to generate standard picture and standard lines according to third-party data message, can manual maintenance or newly-added information in follow-up operation process.
Occurrence frequency described in the embodiment of the present application refers to the number of times that a multi-medium data occurs in sample video.Frequency is to commence play out from sample video, after extracting multi-medium data, compares with the multi-medium data stored every time, if belonging to same multi-medium data, then the occurrence frequency of this multi-medium data adds 1.Such as: sample video occurs the trade mark of a McDonald, if this trade mark occurs again, then it is assumed that the occurrence frequency of this trade mark is 2.The occurrence frequency of standard lines is similar, a Liu De China occurs, then it is assumed that the occurrence frequency of these lines is 1, if again there are these lines, then it is assumed that the occurrence frequency of these lines is 2 in sample video.
Refer to Fig. 2, it is the particular flow sheet of video switching method embodiment step S102 of the application.Described described sample video is resolved, obtains multi-medium data and occurrence frequency thereof that described sample video includes, specifically include:
Step S1021: the frame of video of described sample video is read frame by frame.
The video switching method that the embodiment of the present application provides, reads each frame of video of described sample video frame by frame according to playing sequence, using the described frame of video that currently reads as current video frame.
Step S1022: according to default standard picture storehouse, obtain the standard picture comprised in current video frame.
Standard picture library storage standard picture described in the embodiment of the present application, in the present embodiment, standard picture library storage is at server end.
Refer to Fig. 3, it is the particular flow sheet of video switching method embodiment step S1022 of the application.In the present embodiment, the standard picture storehouse that described basis is preset, obtain the standard picture comprised in current video frame and include:
Step S10221: travel through each standard picture in described standard picture storehouse, with the area size of described standard picture for size foundation in described current video frame, chooses matching candidate region in described current video frame.
Current video frame described in the embodiment of the present application is probably the image of a large-size for standard picture.Size is the size of image, i.e. image area, and standard picture is probably a part for current video frame.By current video frame and standard picture are carried out images match, from current video frame, search the region matched with standard picture.
Step S10222: calculate the image difference degree between each matching candidate region and described standard picture one by one.
Image difference degree described in the embodiment of the present application refers to, the value differences sum of all corresponding pixel points between two images.In the present embodiment, matching candidate region is the region chosen from current video frame, the size in matching candidate region is equivalently-sized with standard picture, calculate the image difference degree between each matching candidate region and the standard picture in current video frame respectively, thus the image difference degree obtained between every pair of image.
Step S10223: in all of matching candidate region, choose the matching candidate region that described image difference degree is minimum, as selected matching area, by unitization for the image difference degree of described selected matching area, obtain the unitization image difference degree of described selected matching area.
In the present embodiment, to the image difference degree calculated by step S10222 between every a pair matching candidate region and the standard picture obtained, therefrom search the minima of all image difference degree, region the most similar to standard picture in matching candidate region that this minimum image diversity factor is corresponding and current video frame.Using this matching candidate region as selected matching area.By unitization for the image difference degree between this selected matching area and standard picture, by this image difference angle value area divided by standard picture, thus obtaining the image difference degree of unit are, i.e. the unitization image difference degree of selected matching area.
Step S10224: described unitization image difference degree and predetermined image difference degree threshold value are compared, if less than equal to described image difference degree threshold value, then judges that described current video frame includes described standard picture.
Image difference degree threshold value described herein is the threshold value of the acquired image difference degree of a large amount of regression training of process, this threshold value represents the maximum of the image difference degree between two images matched, that is: when the image difference degree between two images is more than described maximum, it is determined that two images do not mate;When image difference degree between two images is less than or equal to described maximum, then judge that two images are mutually matched, and namely judge that described current video frame includes described standard picture.
Step S1023: the occurrence number of described standard picture is carried out accumulative renewal.
By step S1022, after finding some standard picture that sample video includes, this standard picture occurrence frequency in described sample video is added one.
In the present embodiment, described sample video is resolved, obtains multi-medium data and occurrence frequency thereof that described sample video includes, specifically also include:
Step S1024: obtain captions and voice that described sample video includes.
Step S1025: described voice is converted to word, using described captions and described word as video lines.
In step S1025, pass through speech recognition technology, with the natural sentences of sound for separation, lines in sample video are recognized and converted into corresponding Word message in real time, simultaneously by the lines that the caption information extract real-time in sample video is relevant, and by caption information and Word message collectively as video lines.
Step S1026: according to default standard unit dictionary and described video lines, obtain the standard lines that described video lines include.
Standard platform library storage standard unit word information described in the embodiment of the present application, in the present embodiment, standard unit dictionary is stored in server end.
Refer to Fig. 4, it is the particular flow sheet of video switching method embodiment step S1026 of the application.In the present embodiment, standard unit dictionary that described basis is preset and described video lines, obtain the standard lines that described video lines include and include:
Step S10261: travel through each standard lines in described standard unit dictionary, it is judged that whether there are described standard lines in described video lines.
In step S10261, for each the standard lines in standard unit dictionary, judge whether video lines exist this standard lines respectively, thus obtaining all default standard lines that video lines include.
Step S10262: when there are described standard lines in described video lines, then judge that described video lines include described standard lines.
Step S1027: the occurrence number of described standard lines is carried out accumulative renewal.
Step S103: send described multi-medium data and occurrence frequency thereof to video server, includes described multi-medium data and the program information list more than or equal to described multi-medium data occurrence frequency to the request of described video server.
The video switching method that the embodiment of the present application provides, sent to video server by the described multi-medium data that sample video is included and occurrence frequency thereof, include the programme information of the occurrence frequency of the corresponding described multi-medium data that the occurrence frequency of described multi-medium data and described multi-medium data includes be more than or equal to described sample video to the request of described video server.After video server finds the programme information relevant to currently playing video, to the described programme information of requesting party's loopback.
Programme information described in the embodiment of the present application includes the information such as program category, programm name.According to concrete application needs, it is possible to program category to be carried out the classification of different modes.Such as: program category is live video and Internet video, or TV play, film, variety show etc..
Step S104: select situation according to the program of user, video is switched over.
In the present embodiment, after local device receives program information list, in screen, show the programme information of other videos relevant to currently playing video with list mode.User's content according to program information list, selects to want the program of switching.Local device receives user to after the selection of programme information, using video corresponding for the programme information of user's selection as to be switched video, and the program address according to be switched video, play to be switched video.
In step S104, the program identification according to the video program information that user selects, obtain the program address of this program, and play the video selected according to program address.No matter currently playing video is live video or Internet video, and namely to be switched video can be Internet video can also be live video.When user selects to be switched to Internet video, the program address of video is its storage address in video server;If user selects to be switched to live video, the program address of video is the channel address of this video.
In the above-described embodiment, it is provided that a kind of video switching method, corresponding, the application also provides for a kind of video switching device.Refer to Fig. 5, it is the schematic diagram of video switching device embodiment of the application.Owing to device embodiment is substantially similar to embodiment of the method, so describing fairly simple, relevant part illustrates referring to the part of embodiment of the method.Device embodiment described below is merely schematic.
A kind of video switching device of the present embodiment, including: sampling unit 501, for sampling in currently playing video, obtain sample video;Resolution unit 502, for described sample video is resolved, obtains multi-medium data and occurrence frequency thereof that described sample video includes;Transmitting element 503, for sending described multi-medium data and occurrence frequency thereof to video server, includes described multi-medium data and the program information list more than or equal to described multi-medium data occurrence frequency to the request of described video server;Switch unit 504, selects situation for the program according to user, video is switched over.
Optionally, described resolution unit 502 includes:
Read subelement, for the frame of video of described sample video is read frame by frame;
First obtains subelement, for according to the standard picture storehouse preset, obtaining the standard picture comprised in current video frame;
First count sub-element, for carrying out accumulative renewal to the occurrence number of described standard picture.
Optionally, described acquisition subelement includes:
First chooses subelement, for traveling through each standard picture in described standard picture storehouse, with the area size of described standard picture for size foundation in described current video frame, chooses matching candidate region in described current video frame;
Computation subunit, for calculating the image difference degree between each matching candidate region and described standard picture one by one;
Second chooses subelement, for, in all of matching candidate region, choosing the matching candidate region that described image difference degree is minimum, as selected matching area, by unitization for the image difference degree of described selected matching area, obtain the unitization image difference degree of described selected matching area;
Relatively subelement, for described unitization image difference degree and predetermined image difference degree threshold value being compared, if less than equal to described image difference degree threshold value, then judges that described current video frame includes described standard picture.
Optionally, described resolution unit 502 includes:
Second obtains subelement, for obtaining captions and the voice that described sample video includes;
Conversion subelement, for being converted to word by described voice, using described captions and described word as video lines;
3rd obtains subelement, for according to the standard unit dictionary preset and described video lines, obtaining the standard lines that described video lines include;
Second count sub-element, for carrying out accumulative renewal to the occurrence number of described standard lines.
Optionally, described 3rd acquisition subelement includes:
Judgment sub-unit, for traveling through each standard lines in described standard unit dictionary, it is judged that whether there are described standard lines in described video lines;
Judge subelement, for when described video lines exist described standard lines, then judging that described video lines include described standard lines.
Corresponding with above-mentioned video switching method, the application also provides for a kind of video data handling procedure.Refer to Fig. 6, it is the flow chart of video data handling procedure embodiment of the application, and the part that the present embodiment is identical with first embodiment content repeats no more, and refers to the appropriate section in embodiment one.A kind of video data handling procedure that the application provides, including:
Step S601: receive the acquisition video program information request that client sends;The request of described video program information includes multi-medium data and occurrence frequency thereof.
Multi-medium data and occurrence frequency thereof described in the embodiment of the present application are described in detail in embodiment one, do not repeat them here.
Optionally, described multi-medium data refers to standard picture and at least one of standard lines.
Step S602: inquire about the video program information of the described occurrence frequency that the occurrence frequency including described multi-medium data and described multi-medium data is asked be more than or equal to described video program information in the video program information prestored.
The video program information prestored described in the embodiment of the present application refers to the information of standard picture that live video or Internet video include and standard lines.Such as: the information such as standard picture and standard lines, program address, program category that the video program information of Internet video " film A " includes film title, includes.
The video data handling procedure that the embodiment of the present application provides, after obtaining the multi-medium data that includes of client current video and occurrence frequency thereof, in the video program information prestored, inquiry includes the occurrence frequency video program information be more than or equal to the occurrence frequency of client of multi-medium data and multi-medium data.
Step S603: to programme information described in described client loopback.
In the above-described embodiment, it is provided that a kind of video data handling procedure, corresponding, the application also provides for a kind of video data processing apparatus.Refer to Fig. 7, it is the schematic diagram of video data processing apparatus embodiment of the application.Owing to device embodiment is substantially similar to embodiment of the method, so describing fairly simple, relevant part illustrates referring to the part of embodiment of the method.Device embodiment described below is merely schematic.
A kind of video data processing apparatus of the present embodiment, including: receive unit 701, for receiving the acquisition video program information request that client sends;The request of described video program information includes multi-medium data and occurrence frequency thereof;Query unit 702, for inquiring about the video program information of the described occurrence frequency that the occurrence frequency including described multi-medium data and described multi-medium data is asked be more than or equal to described video program information in the video program information prestored;Loopback cell 703, is used for programme information described in described client loopback.
Present invention also provides a kind of video switching system, as shown in Figure 8, this system includes the video switching device 801 described in above-described embodiment and video data processing apparatus 802.Described video data processing apparatus 802 is usually deployed in server, but is not limited to server, it is also possible to be that by any equipment of video data handling procedure;Described video switching device 801 is usually deployed in the terminal unit such as intelligent television, PC, PAD, iPad.Such as, video switching device is deployed on intelligent television, the multi-medium data preset and occurrence frequency thereof that currently playing video includes can be obtained, and multi-medium data and occurrence frequency thereof are sent to video server, to the programme information that video server request is relevant to current video, then according to user's selection of programme information to returning, it is switched to associated video, it is thus possible to according to playing the multi-medium data that video includes, obtain other programme informations relevant to this video, it is to avoid the substantial amounts of video program information of manual maintenance.Video data processing apparatus is disposed on the server, it is possible to playing the multi-medium data that video includes according to client, obtains other programme informations relevant to this video, and to the associated video program information of client return.
The video switching method of the application offer, video data handling procedure and related device and system, when playing live video or order video, by resolving the sample video in currently playing video, obtain multi-medium data and occurrence frequency thereof that sample video includes;Multi-medium data and occurrence frequency thereof are sent to video server, include the programme information of the occurrence frequency of the corresponding multi-medium data that the occurrence frequency of multi-medium data and multi-medium data includes be more than or equal to sample video to the request of described video server;Program according to user selects situation, and video is switched over, enabling obtain other relevant video program informations according to the image of current video with lines, it is to avoid the substantial amounts of video program information of manual maintenance, thus reaching to reduce the effect of workload.
Although the present invention is with preferred embodiment openly as above; but it is not for limiting the present invention; any those skilled in the art are without departing from the spirit and scope of the present invention; can making possible variation and amendment, therefore protection scope of the present invention should be as the criterion with the scope that the claims in the present invention define.
In a typical configuration, computing equipment includes one or more processor (CPU), input/output interface, network interface and internal memory.
Internal memory potentially includes the forms such as the volatile memory in computer-readable medium, random access memory (RAM) and/or Nonvolatile memory, such as read only memory (ROM) or flash memory (flashRAM).Internal memory is the example of computer-readable medium.
1, computer-readable medium includes permanent and impermanency, removable and non-removable media can by any method or technology to realize information storage.Information can be computer-readable instruction, data structure, the module of program or other data.The example of the storage medium of computer includes, but it is not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus or any other non-transmission medium, can be used for the information that storage can be accessed by a computing device.According to defining herein, computer-readable medium does not include non-temporary computer readable media (transitorymedia), such as data signal and the carrier wave of modulation.
2, it will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program.Therefore, the application can adopt the form of complete hardware embodiment, complete software implementation or the embodiment in conjunction with software and hardware aspect.And, the application can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) wherein including computer usable program code.
Claims (13)
1. a video switching method, it is characterised in that including:
Currently playing video is sampled, obtains sample video;
Described sample video is resolved, obtains multi-medium data and occurrence frequency thereof that described sample video includes;
Described multi-medium data and occurrence frequency thereof are sent to video server, includes described multi-medium data and the program information list more than or equal to described multi-medium data occurrence frequency to the request of described video server;
Program according to user selects situation, and video is switched over.
2. video switching method according to claim 1, it is characterised in that described sample video is resolved, obtains multi-medium data and occurrence frequency thereof that described sample video includes, specifically includes:
The frame of video of described sample video is read frame by frame;
According to default standard picture storehouse, obtain the standard picture comprised in current video frame;
The occurrence number of described standard picture is carried out accumulative renewal.
3. video switching method according to claim 2, it is characterised in that the standard picture storehouse that described basis is preset, obtains the standard picture comprised in current video frame and includes:
Travel through each standard picture in described standard picture storehouse, with the area size of described standard picture for size foundation in described current video frame, described current video frame is chosen matching candidate region;
Calculate the image difference degree between each matching candidate region and described standard picture one by one;
In all of matching candidate region, choose the matching candidate region that described image difference degree is minimum, as selected matching area, by unitization for the image difference degree of described selected matching area, obtain the unitization image difference degree of described selected matching area;
Described unitization image difference degree and predetermined image difference degree threshold value are compared, if less than equal to described image difference degree threshold value, then judges that described current video frame includes described standard picture.
4. video switching method according to claim 1, it is characterised in that described sample video is resolved, obtains multi-medium data and occurrence frequency thereof that described sample video includes, specifically includes:
Obtain captions and voice that described sample video includes;
Described voice is converted to word, using described captions and described word as video lines;
According to default standard unit dictionary and described video lines, obtain the standard lines that described video lines include;
The occurrence number of described standard lines is carried out accumulative renewal.
5. video switching method according to claim 4, it is characterised in that standard unit dictionary that described basis is preset and described video lines, obtains the standard lines that described video lines include and includes:
Travel through each standard lines in described standard unit dictionary, it is judged that whether described video lines exist described standard lines;
When described video lines exist described standard lines, then judge that described video lines include described standard lines.
6. a video switching device, it is characterised in that including:
Sampling unit, for sampling in currently playing video, obtains sample video;
Resolution unit, for described sample video is resolved, obtains multi-medium data and occurrence frequency thereof that described sample video includes;
Transmitting element, for sending described multi-medium data and occurrence frequency thereof to video server, includes described multi-medium data and the program information list more than or equal to described multi-medium data occurrence frequency to the request of described video server;
Switch unit, selects situation for the program according to user, video is switched over.
7. video switching device according to claim 6, it is characterised in that described resolution unit includes:
Read subelement, for the frame of video of described sample video is read frame by frame;
First obtains subelement, for according to the standard picture storehouse preset, obtaining the standard picture comprised in current video frame;
First count sub-element, for carrying out accumulative renewal to the occurrence number of described standard picture.
8. video switching device according to claim 7, it is characterised in that described acquisition subelement includes:
First chooses subelement, for traveling through each standard picture in described standard picture storehouse, with the area size of described standard picture for size foundation in described current video frame, chooses matching candidate region in described current video frame;
Computation subunit, for calculating the image difference degree between each matching candidate region and described standard picture one by one;
Second chooses subelement, for, in all of matching candidate region, choosing the matching candidate region that described image difference degree is minimum, as selected matching area, by unitization for the image difference degree of described selected matching area, obtain the unitization image difference degree of described selected matching area;
Relatively subelement, for described unitization image difference degree and predetermined image difference degree threshold value being compared, if less than equal to described image difference degree threshold value, then judges that described current video frame includes described standard picture.
9. video switching device according to claim 6, it is characterised in that described resolution unit includes:
Second obtains subelement, for obtaining captions and the voice that described sample video includes;
Conversion subelement, for being converted to word by described voice, using described captions and described word as video lines;
3rd obtains subelement, for according to the standard unit dictionary preset and described video lines, obtaining the standard lines that described video lines include;
Second count sub-element, for carrying out accumulative renewal to the occurrence number of described standard lines.
10. video switching device according to claim 9, it is characterised in that the described 3rd obtains subelement includes:
Judgment sub-unit, for traveling through each standard lines in described standard unit dictionary, it is judged that whether there are described standard lines in described video lines;
Judge subelement, for when described video lines exist described standard lines, then judging that described video lines include described standard lines.
11. a video data handling procedure, it is characterised in that including:
Receive the acquisition video program information request that client sends;The request of described video program information includes multi-medium data and occurrence frequency thereof;
The video program information prestored is inquired about the video program information of the described occurrence frequency that the occurrence frequency including described multi-medium data and described multi-medium data is asked be more than or equal to described video program information;
To programme information described in described client loopback.
12. a video data processing apparatus, it is characterised in that including:
Receive unit, for receiving the acquisition video program information request that client sends;The request of described video program information includes multi-medium data and occurrence frequency thereof;
Query unit, for inquiring about the video program information of the described occurrence frequency that the occurrence frequency including described multi-medium data and described multi-medium data is asked be more than or equal to described video program information in the video program information prestored;
Loopback cell, is used for programme information described in described client loopback.
13. a video switching system, it is characterised in that including:
Video switching device according to claim 6;Video data processing apparatus according to claim 12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410736757.7A CN105721900B (en) | 2014-12-05 | 2014-12-05 | Video switching method, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410736757.7A CN105721900B (en) | 2014-12-05 | 2014-12-05 | Video switching method, apparatus and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105721900A true CN105721900A (en) | 2016-06-29 |
CN105721900B CN105721900B (en) | 2019-02-22 |
Family
ID=56143854
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410736757.7A Active CN105721900B (en) | 2014-12-05 | 2014-12-05 | Video switching method, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105721900B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050240957A1 (en) * | 2002-06-26 | 2005-10-27 | Sony Corporation | Information processing apparatus and method, and program |
CN101094372A (en) * | 2007-07-25 | 2007-12-26 | 北京中星微电子有限公司 | Device and method for recommending TV programs |
CN102208088A (en) * | 2010-03-31 | 2011-10-05 | 索尼公司 | Server apparatus, client apparatus, content recommendation method, and program |
CN103475911A (en) * | 2013-08-15 | 2013-12-25 | 安徽科大讯飞信息科技股份有限公司 | Television information providing method and system based on video characteristics |
CN103501449A (en) * | 2013-10-08 | 2014-01-08 | 十分(北京)信息科技有限公司 | Method and device for recommending video source associated with television program |
CN103500214A (en) * | 2013-09-30 | 2014-01-08 | 北京奇虎科技有限公司 | Word segmentation information pushing method and device based on video searching |
CN104036018A (en) * | 2014-06-25 | 2014-09-10 | 百度在线网络技术(北京)有限公司 | Video acquiring method and video acquiring device |
-
2014
- 2014-12-05 CN CN201410736757.7A patent/CN105721900B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050240957A1 (en) * | 2002-06-26 | 2005-10-27 | Sony Corporation | Information processing apparatus and method, and program |
CN101094372A (en) * | 2007-07-25 | 2007-12-26 | 北京中星微电子有限公司 | Device and method for recommending TV programs |
CN102208088A (en) * | 2010-03-31 | 2011-10-05 | 索尼公司 | Server apparatus, client apparatus, content recommendation method, and program |
CN103475911A (en) * | 2013-08-15 | 2013-12-25 | 安徽科大讯飞信息科技股份有限公司 | Television information providing method and system based on video characteristics |
CN103500214A (en) * | 2013-09-30 | 2014-01-08 | 北京奇虎科技有限公司 | Word segmentation information pushing method and device based on video searching |
CN103501449A (en) * | 2013-10-08 | 2014-01-08 | 十分(北京)信息科技有限公司 | Method and device for recommending video source associated with television program |
CN104036018A (en) * | 2014-06-25 | 2014-09-10 | 百度在线网络技术(北京)有限公司 | Video acquiring method and video acquiring device |
Also Published As
Publication number | Publication date |
---|---|
CN105721900B (en) | 2019-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11521608B2 (en) | Methods and systems for correcting, based on speech, input generated using automatic speech recognition | |
US8955005B2 (en) | Viewer behavior tracking using pattern matching and character recognition | |
JP2020166887A (en) | Methods and systems for displaying contextually relevant information regarding media asset | |
KR102087533B1 (en) | Communication devices, communication control methods, and computer programs | |
US8060373B2 (en) | System and method of identifying contact information | |
US10114893B2 (en) | Method and system for information querying | |
US20160164970A1 (en) | Application Synchronization Method, Application Server and Terminal | |
KR20150027279A (en) | Generating a sequence of audio fingerprints at a set top box | |
KR101293301B1 (en) | System and method for serching images using caption of moving picture in keyword | |
US11509969B2 (en) | Methods, systems, and apparatuses to respond to voice requests to play desired video clips in streamed media based on matched close caption and sub-title text | |
US11089073B2 (en) | Method and device for sharing multimedia content | |
US20190166170A1 (en) | Video Streaming Delivery | |
CN109600625B (en) | Program searching method, device, equipment and medium | |
KR20120091496A (en) | A system of providing a broadcast service and a method of providing thereof | |
WO2018145572A1 (en) | Method and device for implementing vr live streaming, ott service system, and storage medium | |
CN107864403B (en) | Method, device and system for inserting advertisement | |
US20180167673A1 (en) | System and method for mapping affiliated graphs using video fingerprints | |
CN110475121B (en) | Video data processing method and device and related equipment | |
CN105721900A (en) | Video switching method, apparatus and system | |
KR102303348B1 (en) | Apparatus and method for providing moving picture contents | |
KR20150071147A (en) | System and method of providing a related service using selected query image | |
RU2628773C2 (en) | Information processing device, method of information processing, program and system of joint use of content | |
WO2018123572A1 (en) | Video content reception system, video content reception method, and recording medium | |
CN115914738A (en) | Video generation method, device, server and storage medium | |
KR101403969B1 (en) | How to recognize the point of the subtitles of the video playback time code is lost |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200407 Address after: 518057 a3501, building 11, Shenzhen Bay science and technology ecological park, No. 16, South Science and technology road, high tech Zone, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province Patentee after: Dr. Peng big data Co., Ltd Address before: Chengdu hi tech West Zone business center, Sichuan Province Patentee before: DR.PENG TELECOM MEDIA GROUP Co.,Ltd. |