[go: up one dir, main page]

CN108737885A - A kind of analysis Online Video plays the method and device of interim card - Google Patents

A kind of analysis Online Video plays the method and device of interim card Download PDF

Info

Publication number
CN108737885A
CN108737885A CN201810579322.4A CN201810579322A CN108737885A CN 108737885 A CN108737885 A CN 108737885A CN 201810579322 A CN201810579322 A CN 201810579322A CN 108737885 A CN108737885 A CN 108737885A
Authority
CN
China
Prior art keywords
interim card
frame picture
icon
frame
card icon
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.)
Pending
Application number
CN201810579322.4A
Other languages
Chinese (zh)
Inventor
尹燃
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201810579322.4A priority Critical patent/CN108737885A/en
Publication of CN108737885A publication Critical patent/CN108737885A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/23418Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

An embodiment of the present invention provides the method and devices that a kind of analysis Online Video plays interim card, including:During playing Online Video, screen recording is carried out to the video of broadcasting according to fixed frame per second, obtains recorded video;Recorded video is split into framing picture by frame;It identifies in every frame picture and whether contains interim card icon, obtain recognition result;Based on recognition result, video cardton data are determined.Using the embodiment of the present invention, the interim card data for obtaining the Online Video that different Online Video playing programs play can be realized.

Description

A kind of analysis Online Video plays the method and device of interim card
Technical field
The present invention relates to image identification technical field, more particularly to a kind of analysis Online Video play interim card method and Device.
Background technology
For Online Video provider, interim card is a playback problem for being very easy to cause customer complaint.Study user When watching Online Video the case where interim card, help to provide better Video service.The method of existing analysis Online Video interim card, It is that interim card data are calculated based on data delivery.Data delivery refers to that interim card occurs during broadcasting for Online Video, regards online Frequency playing program can send the http request of a carrying interim card relevant information to server.The interim card relevant information includes hair The video information of raw interim card, play time, facility information, regional information, system time, network state etc..Then it receives The server of http request carries out interim card data statistics.
Inventor has found that at least there are the following problems for the prior art in the implementation of the present invention:
Data delivery is to play journey dependent on Online Video in the function of the interiors of products realization of video playing application program The cooperation of the server of sequence and Online Video playing program, can not be applied on competing product.So Online Video playing program can only The interim card data for obtaining the Online Video of itself broadcasting can not obtain the Online Video of other Online Video playing programs broadcasting Interim card data.
Invention content
The embodiment of the present invention is designed to provide a kind of method and device of new analysis Online Video broadcasting interim card, with Realize the interim card data for obtaining the Online Video that different Online Video playing programs play.Specific technical solution is as follows:
The embodiment of the present invention provides a kind of method that analysis Online Video plays interim card, including:
During playing Online Video, screen recording is carried out to the video of broadcasting according to fixed frame per second, is obtained Recorded video;
The recorded video is split into framing picture by frame;
It identifies in every frame picture and whether contains interim card icon, obtain recognition result;
Based on the recognition result, video cardton data are determined.
Further, after the recorded video being pressed frame fractionation framing picture described, described in the identification every Whether containing before interim card icon in frame picture, further include:
To the frame picture number;
Whether contain interim card icon in every frame picture of the identification, obtains recognition result, including:
It is identified successively according to number order in every frame picture and whether contains interim card icon, obtained containing interim card icon Frame picture number.
Further, interim card icon whether is contained in every frame picture of the identification, including:
For frame picture described in every, in the region that a preset zone position parameter for the frame picture indicates It is interior, identify whether containing the interim card icon, if contained, determines and contain the interim card icon in the frame picture, if be free of Have, determines and do not contain the interim card icon in the frame picture;Or
For frame picture described in every, in the region that the preset multiple regions location parameter of the frame picture indicates In, contain the interim card icon in the frame picture if there is containing interim card figure target area, determining, if it does not, determining The interim card icon is not contained in the frame picture.
Further, interim card icon whether is contained in every frame picture of the identification, including:
For frame picture described in every, the image in region indicated the zone position parameter of the frame picture is according to mean value Hash algorithm extracts the First Eigenvalue, and Second Eigenvalue is extracted according to perceptual hash algorithm;
Based on the First Eigenvalue and the first default characteristic value, the first Hamming distance is calculated, described first is default Characteristic value is the image to the interim card icon, according to the extraction of mean value hash algorithm;
Based on the Second Eigenvalue and the second default characteristic value, the second Hamming distance is calculated, described second is default Characteristic value is the image to the interim card icon, according to the extraction of perceptual hash algorithm;
When first Hamming distance is less than the first distance threshold and second Hamming distance is less than second distance threshold value When, it determines and contains the interim card icon in the frame picture, otherwise, it determines not containing the interim card icon in the frame picture.
Further, described to be based on the recognition result, determine video cardton data, including:
Based on the recognition result, the first quantity of the frame picture containing the interim card icon is determined, and use described the The sum of one quantity divided by frame picture obtains interim card ratio;Or
Based on the recognition result, the first quantity of the frame picture containing the interim card icon is determined, and use described the One quantity divided by the fixed frame per second, obtain interim card total duration;Or
Based on the recognition result, the number that interim card occurs, a frame picture or more for containing the interim card icon are determined Zhang Lianxu contains the frame picture of the interim card icon, as the frame picture included by an interim card;Or
Based on the recognition result, determine that a frame picture containing the interim card icon or multiple continuously contain the card Second quantity of the frame picture of icon, a frame picture containing the interim card icon or multiple continuously contain the interim card figure Target frame picture as the frame picture included by an interim card, and uses second quantity divided by the fixed frame per second, obtains The duration of the secondary interim card.
The embodiment of the present invention also provides a kind of device of analysis Online Video broadcasting interim card, including:
Module is recorded, for during playing Online Video, being carried out to the video of broadcasting according to fixed frame per second Screen recording obtains recorded video;
Video splits module, for the recorded video to be split framing picture by frame;
Whether interim card icon-based programming module contains interim card icon in every frame picture for identification, obtains identification knot Fruit;
Interim card determining module determines video cardton data for being based on the recognition result.
Further, above-mentioned apparatus further includes:
Number module is right after the recorded video is split framing picture by frame in video fractionation module The frame picture number;
The interim card icon-based programming module, specifically for identified successively according to number order in every frame picture whether Containing interim card icon, the number of the frame picture containing interim card icon is obtained.
Further, the interim card icon-based programming module is specifically used for being directed to every frame picture, in the frame picture In the region that a preset zone position parameter indicates, whether contain the interim card icon for identification, if contained, It determines and contains the interim card icon in the frame picture, if do not contained, determine and do not contain the interim card icon in the frame picture;Or Person
For being directed to every frame picture, in the area that the preset multiple regions location parameter of the frame picture indicates In domain, contain the interim card icon in the frame picture if there is containing interim card figure target area, determining, if it does not, really The interim card icon is not contained in the fixed frame picture.
Further, the interim card icon-based programming module, including:
Characteristics extraction submodule indicates the zone position parameter of the frame picture for being directed to every frame picture Region in image according to mean value hash algorithm extract the First Eigenvalue, according to perceptual hash algorithm extract Second Eigenvalue;
First Hamming distance computational submodule is calculated for being based on the First Eigenvalue and the first default characteristic value To the first Hamming distance, the first default characteristic value is the image to the interim card icon, is extracted according to mean value hash algorithm 's;
Second Hamming distance computational submodule is calculated for being based on the Second Eigenvalue and the second default characteristic value To the second Hamming distance, the second default characteristic value is the image to the interim card icon, is extracted according to perceptual hash algorithm 's;
Interim card icon determination sub-module, for being less than the first distance threshold and second Chinese when first Hamming distance When prescribed distance is less than second distance threshold value, determines and contain the interim card icon in the frame picture, otherwise, it determines in the frame picture not Contain the interim card icon.
Further, the interim card determining module, including:
Interim card determines the frame picture containing the interim card icon than determination sub-module for being based on the recognition result First quantity, and using first quantity divided by the sum of frame picture, obtain interim card ratio;Or
Interim card total duration determination sub-module determines the frame figure containing the interim card icon for being based on the recognition result First quantity of piece, and first quantity divided by the fixed frame per second are used, obtain interim card total duration;Or
Interim card number determination sub-module determines the number that interim card occurs, one containing for being based on the recognition result State interim card icon frame picture or multiple continuously contain the interim card icon frame picture, as the frame figure included by an interim card Piece;Or
Interim card duration determination sub-module determines a frame for containing the interim card icon for being based on the recognition result Picture or multiple continuously contain the interim card icon frame picture the second quantity, one contain the interim card icon frame picture Or multiple continuously contain the frame picture of the interim card icon, as the frame picture included by an interim card, and use described second Quantity divided by the fixed frame per second, obtain the duration of the secondary interim card.
The embodiment of the present invention also provides a kind of electronic equipment, including processor, communication interface, memory and communication bus, Wherein, processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any of the above-described analysis Online Video The step of playing interim card method.
At the another aspect that the present invention is implemented, a kind of computer readable storage medium is additionally provided, it is described computer-readable Instruction is stored in storage medium, when run on a computer so that computer executes any of the above-described analysis and exists The step of line video playing interim card method.
At the another aspect that the present invention is implemented, the embodiment of the present invention additionally provides a kind of computer program production comprising instruction Product, when run on a computer so that computer executes any of the above-described analysis Online Video and plays interim card method The step of.
Analysis Online Video provided in an embodiment of the present invention plays the method and device of interim card, does not depend on data delivery, directly The content recordal of seeing Online Video spectators is connect into video, by analyzing the case where interim card icon occurs in the video recorded, Interim card data are obtained, does not need to realize in the interiors of products of video playing application program, difference is obtained online to realize The interim card data for the Online Video that video reproduction program plays.Certainly, it implements any of the products of the present invention or method might not It needs to reach all the above advantage simultaneously.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described.
Fig. 1 is the flow chart that analysis Online Video provided in an embodiment of the present invention plays interim card method;
Fig. 2 is the detailed process of one embodiment that analysis Online Video provided in an embodiment of the present invention plays interim card method Figure;
Fig. 3 be one provided in an embodiment of the present invention identification, one frame picture whether the flow containing interim card figure calibration method Figure;
Fig. 4 is the structural schematic diagram for the device that analysis Online Video provided in an embodiment of the present invention plays interim card;
Fig. 5 is the structural schematic diagram of interim card icon-based programming module provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention is described.
An embodiment of the present invention provides a kind of methods that analysis Online Video plays interim card, below by specific embodiment, The present invention is described in detail.
Referring to Fig. 1, Fig. 1 is a kind of flow chart that analysis Online Video provided in an embodiment of the present invention plays interim card method, Include the following steps:
Step 101, during playing Online Video, screen recording is carried out to the video of broadcasting according to fixed frame per second.
The video of recording is split framing picture by step 102 by frame.
Whether contain interim card icon in every step 103, identification frame picture, obtains recognition result.
Step 104 is based on recognition result, determines video cardton data.
The method that analysis Online Video provided in an embodiment of the present invention plays interim card, does not depend on data delivery, directly will be The content recordal that line video spectators see is blocked at video by analyzing the case where interim card icon occurs in the video recorded Data do not need to realize in the interiors of products of video playing application program, obtain different Online Videos to realize and broadcast Put the interim card data of the Online Video of program broadcasting.
In above-mentioned method shown in FIG. 1, interim card icon can be the image of static state, can also be continuous multiple frames image composition Dynamic icon.
Below in conjunction with the accompanying drawings, the method for playing interim card to above-mentioned analysis Online Video provided in an embodiment of the present invention carries out detailed Thin description.
Fig. 2 show the detailed of one embodiment of analysis Online Video broadcasting interim card method provided in an embodiment of the present invention Flow chart:
Step 201 plays Online Video.
In the embodiment of the present invention, terminal device can be with played in full screen Online Video, or in known Online Video broadcast area Online Video is played in the case of the size in domain and position.
Step 202 carries out screen recording according to fixed frame per second to the video of broadcasting.
It, can be by calling third-party screen recording program to be recorded in the embodiment of the present invention.For interim card data Accuracy, the fixation frame per second that the present invention uses can be not less than Online Video itself frame per second.
The video of recording is split framing picture, and the frame picture number to obtaining successively by step 203 by frame.
In the embodiment of the present invention, the video of recording is split into framing picture by frame, the video that the unit interval records is split out The quantity of the frame picture come is consistent with the fixation frame per second of step 202.Split video while, can the frame picture split out, According to the chronological order of recorded video, number consecutively from small to large.
Step 204 obtains frame picture to be identified.
In the embodiment of the present invention, when entering step 204 for the first time, it can obtain and number minimum frame figure in all frame pictures Piece when entering back into step 204 later, can obtain the Next Serial Number frame picture of the last frame picture for entering step 204 acquisitions.
Whether step 205, identification current number frame picture contain interim card icon.If containing card in current number frame picture Pause icon, enters step 206, if not containing interim card icon in current number frame picture, enters step 207.
Step 206, the number for recording the frame picture containing interim card icon.
Step 207 judges whether current number frame picture is last frame picture.If current number frame picture is most Latter frame picture, enters step 208, if current number frame picture is not last frame picture, enters step 204.
Step 208 determines interim card data.
In the embodiment of the present invention, 208 are entered step, the frame picture containing interim card icon that can be recorded according to step 206 Number, analyze and simultaneously determine interim card data.
The sum for the frame picture number containing interim card icon that statistic procedure 206 records determines the frame containing interim card icon First quantity of picture.Using first quantity divided by the sum of frame picture, interim card ratio can be obtained.
Using the fixation frame per second in first quantity divided by step 202, interim card total duration is obtained.
The frame picture number containing interim card icon that analytical procedure 206 records, one or more continuously numbers as The number of frame picture included by interim card, it may be determined that the number that interim card occurs.
For any one secondary interim card, the second quantity of the number for belonging to the secondary interim card is determined, and removed using second quantity With the fixation frame per second in step 202, the duration of the secondary interim card can be obtained.
In the embodiment of the present invention, before playing Online Video, can it is pre-set by with specific Hamming distance Compare size to identify the threshold value of frame picture, including the first distance threshold and the first distance threshold.If two images are according to equal The Hamming distance for being worth the characteristic value of hash algorithm extraction is less than first distance threshold, and the two images are according to perceptual hash The Hamming distance of the characteristic value of algorithm extraction is less than the second distance threshold value, it is possible to assert that the two images are similar enough. For two images similar enough, if one of image is a part for a pictures, it can be assumed that the picture Contain the two images.
It further, can be with the zone position parameter of pre-set interim card icon, first before playing Online Video Default characteristic value and the second default characteristic value.Wherein, zone position parameter illustrates the location and shape of the image of interim card icon, First default characteristic value is that the image of interim card icon is extracted according to mean value hash algorithm, and the second default characteristic value is interim card icon Image extract according to perceptual hash algorithm.
Particularly, when interim card icon is the dynamic icon of continuous multiple frames image composition, each frame of interim card icon all may be used The the first default characteristic value extracted according to mean value hash algorithm with the zone position parameter of the image of the pre-set frame, the frame The the second default characteristic value extracted according to perceptual hash algorithm with the frame image.Furthermore, it is possible to be played to by interim card icon The information of several frames obtains corresponding pre-set zone position parameter, the first default characteristic value and the second default spy Value indicative.
Fig. 3 be one provided in an embodiment of the present invention identification, one frame picture whether the flow containing interim card figure calibration method Figure, can specifically include following steps:
Step 301 obtains frame picture to be identified.
Step 302, the present frame to be identified for determining interim card icon.
In the embodiment of the present invention, interim card icon can be the image of static state, can also be the dynamic of continuous multiple frames image composition State icon.When interim card icon is the dynamic icon of continuous multiple frames image composition, identify whether a frame picture contains interim card figure Mark, needs that each frame of interim card icon is identified, as long as identifying the image for the frame that the frame picture contains interim card icon, It may determine that the frame picture contains the interim card icon.
In the embodiment of the present invention, when entering step 302 for the first time, determine that the present frame to be identified of interim card icon is interim card The first frame of icon when entering back into step 302 later, determines that the present frame to be identified of interim card icon enters step for the last time The next frame of 302 frames determined.
Particularly, static interim card icon can be considered the interim card icon of only 1 frame image.
Step 303, the zone position parameter of present frame to be identified for obtaining interim card icon, the first default characteristic value and the Two default characteristic values.
Step 304, identify the frame picture whether the image containing interim card icon present frame.If the frame picture is without containing card The image of icon present frame, enters step 305, if the frame picture contains the image of interim card icon present frame, enters step 306.
In the embodiment of the present invention, to figure of the frame picture in the region that the zone position parameter that step 303 obtains indicates Picture, the First Eigenvalue is extracted according to mean value hash algorithm, and Second Eigenvalue is extracted according to perceptual hash algorithm;Based on first spy The first default characteristic value that value indicative is determined with step 303, is calculated the first Hamming distance.Based on the Second Eigenvalue and step 303 the second default characteristic values determined, are calculated the second Hamming distance.
When first Hamming distance is less than the first distance threshold and second Hamming distance is less than second distance threshold value, sentence Otherwise the image that the frame picture contains interim card icon present frame that breaks judges that the frame picture does not contain the figure of interim card icon present frame Picture.
Step 305 judges whether the present frame of interim card icon is last frame.If the present frame of interim card icon is last One frame, enters step 307, if the present frame of interim card icon is not last frame, enters step 302.
In the embodiment of the present invention, particularly, the first frame of static interim card icon is also last frame.
Step 306 determines and contains interim card icon in the frame picture.
Step 307 determines in the frame picture without containing interim card icon.
Based on same inventive concept, interim card method is played according to the analysis Online Video that the above embodiment of the present invention provides, Correspondingly, another embodiment of the present invention additionally provides a kind of analysis Online Video broadcasting interim card device, structural schematic diagram such as Fig. 4 It is shown, it specifically includes:
Record module 401, for during playing Online Video, according to fixation frame per second to the video of broadcasting into Row screen recording, obtains recorded video;
Video splits module 402, for the recorded video to be split framing picture by frame;
Whether interim card icon-based programming module 403 contains interim card icon in every frame picture for identification, is identified As a result;
Interim card determining module 404 determines video cardton data for being based on the recognition result.
Further, above-mentioned apparatus further includes:
Number module 405, for the video split module 402 by the recorded video by frame split framing picture it Afterwards, to the frame picture number;
Interim card icon-based programming module 403, specifically for identified successively according to number order in every frame picture whether Containing interim card icon, the number of the frame picture containing interim card icon is obtained.
Further, interim card icon-based programming module 403 is specifically used for being directed to every frame picture, in the frame picture In the region that a preset zone position parameter indicates, whether contain the interim card icon for identification, if contained, It determines and contains the interim card icon in the frame picture, if do not contained, determine and do not contain the interim card icon in the frame picture;Or Person
For frame picture described in every, in the region that the preset multiple regions location parameter of the frame picture indicates In, contain the interim card icon in the frame picture if there is containing interim card figure target area, determining, if it does not, determining The interim card icon is not contained in the frame picture.
Further, interim card icon-based programming module 403, as shown in figure 5, including:
Characteristics extraction submodule 501, for being directed to every frame picture, to the zone position parameter table of the frame picture The image in region shown extracts the First Eigenvalue according to mean value hash algorithm, and second feature is extracted according to perceptual hash algorithm Value;
First Hamming distance computational submodule 502 is calculated for being based on the First Eigenvalue and the first default characteristic value The first Hamming distance is obtained, the first default characteristic value is carried according to mean value hash algorithm to the image of the interim card icon It takes;
Second Hamming distance computational submodule 503 is calculated for being based on the Second Eigenvalue and the second default characteristic value The second Hamming distance is obtained, the second default characteristic value is carried according to perceptual hash algorithm to the image of the interim card icon It takes;
Interim card icon determination sub-module 504, for being less than the first distance threshold and described the when first Hamming distance When two Hamming distances are less than second distance threshold value, determine and contain the interim card icon in the frame picture, otherwise, it determines the frame picture In do not contain the interim card icon.
Further, interim card determining module 404, including:
Interim card determines the frame picture containing the interim card icon than determination sub-module for being based on the recognition result First quantity, and using first quantity divided by the sum of frame picture, obtain interim card ratio;Or
Interim card total duration determination sub-module determines the frame figure containing the interim card icon for being based on the recognition result First quantity of piece, and first quantity divided by the fixed frame per second are used, obtain interim card total duration;Or
Interim card number determination sub-module determines the number that interim card occurs, one containing for being based on the recognition result State interim card icon frame picture or multiple continuously contain the interim card icon frame picture, as the frame figure included by an interim card Piece;Or
Interim card duration determination sub-module determines a frame for containing the interim card icon for being based on the recognition result Picture or multiple continuously contain the interim card icon frame picture the second quantity, one contain the interim card icon frame picture Or multiple continuously contain the frame picture of the interim card icon, as the frame picture included by an interim card, and use described second Quantity divided by the fixed frame per second, obtain the duration of the secondary interim card.
Based on same inventive concept, interim card method is played according to the analysis Online Video that the above embodiment of the present invention provides, Correspondingly, the embodiment of the present invention additionally provides a kind of electronic equipment, as shown in fig. 6, including processor 601, communication interface 602, Memory 603 and communication bus 604, wherein processor 601, communication interface 602, memory 603 are complete by communication bus 604 At mutual communication,
Memory 603, for storing computer program;
Processor 601 when for executing the program stored on memory 603, realizes any of the above-described analysis Online Video The step of playing interim card method.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, controlling bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), can also include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can It reads to be stored with instruction in storage medium, when run on a computer so that computer executes in above-described embodiment any point Analyse the step of Online Video plays interim card method.
In another embodiment provided by the invention, a kind of computer program product including instruction is additionally provided, when it When running on computers so that computer executes the step that any analysis Online Video in above-described embodiment plays interim card method Suddenly.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or its arbitrary combination real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to the flow or function described in the embodiment of the present invention.The computer can be all-purpose computer, special meter Calculation machine, computer network or other programmable devices.The computer instruction can be stored in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state disk Solid State Disk (SSD)) etc..
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, identical similar portion between each embodiment Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device and For electronic equipment embodiment, since it is substantially similar to the method embodiment, so description is fairly simple, related place referring to The part of embodiment of the method illustrates.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (11)

1. a kind of method that analysis Online Video plays interim card, which is characterized in that including:
During playing Online Video, screen recording is carried out to the video of broadcasting according to fixed frame per second, is recorded Video;
The recorded video is split into framing picture by frame;
It identifies in every frame picture and whether contains interim card icon, obtain recognition result;
Based on the recognition result, video cardton data are determined.
2. according to the method described in claim 1, it is characterized in that, the recorded video is split framing picture by frame described Later, further include whether containing before interim card icon in every frame picture of the identification:
To the frame picture number;
Whether contain interim card icon in every frame picture of the identification, obtains recognition result, including:
It is identified successively according to number order in every frame picture and whether contains interim card icon, obtain the frame containing interim card icon The number of picture.
3. according to the method described in claim 1, it is characterized in that, whether containing interim card in every frame picture of the identification Icon, including:
Know in the region of the preset zone position parameter expression of the frame picture for frame picture described in every Not whether not contain the interim card icon, if contained, determines and contain the interim card icon in the frame picture, if do not contained, really The interim card icon is not contained in the fixed frame picture;Or
For frame picture described in every, in the region of the preset multiple regions location parameter expression of the frame picture, such as Fruit, which exists, contains interim card figure target area, determines and contains the interim card icon in the frame picture, if it does not, determining the frame figure The interim card icon is not contained in piece.
4. according to the method described in claim 1, it is characterized in that, whether containing interim card in every frame picture of the identification Icon, including:
For frame picture described in every, the image in region indicated the zone position parameter of the frame picture is according to mean value Hash Algorithm extracts the First Eigenvalue, and Second Eigenvalue is extracted according to perceptual hash algorithm;
Based on the First Eigenvalue and the first default characteristic value, the first Hamming distance, the first default feature is calculated Value, is the image to the interim card icon, according to the extraction of mean value hash algorithm;
Based on the Second Eigenvalue and the second default characteristic value, the second Hamming distance, the second default feature is calculated Value, is the image to the interim card icon, according to the extraction of perceptual hash algorithm;
When first Hamming distance is less than the first distance threshold and second Hamming distance is less than second distance threshold value, really Contain the interim card icon in the fixed frame picture, otherwise, it determines not containing the interim card icon in the frame picture.
5. according to the method described in claim 1, it is characterized in that, it is described be based on the recognition result, determine video cardton Data, including:
Based on the recognition result, the first quantity of the frame picture containing the interim card icon is determined, and counted using described first The sum of amount divided by frame picture, obtains interim card ratio;Or
Based on the recognition result, the first quantity of the frame picture containing the interim card icon is determined, and counted using described first Amount divided by the fixed frame per second, obtain interim card total duration;Or
Based on the recognition result, the number that interim card occurs, a frame picture containing the interim card icon or multiple companies are determined The continuous frame picture containing the interim card icon, as the frame picture included by an interim card;Or
Based on the recognition result, determine that a frame picture containing the interim card icon or multiple continuously contain the interim card figure Second quantity of target frame picture, a frame picture containing the interim card icon or multiple continuously contain the interim card icon Frame picture as the frame picture included by an interim card, and uses second quantity divided by the fixed frame per second, obtains this time The duration of interim card.
6. a kind of analysis Online Video plays the device of interim card, which is characterized in that including:
Module is recorded, for during playing Online Video, screen to be carried out to the video of broadcasting according to fixed frame per second It records, obtains recorded video;
Video splits module, for the recorded video to be split framing picture by frame;
Whether interim card icon-based programming module contains interim card icon in every frame picture for identification, obtains recognition result;
Interim card determining module determines video cardton data for being based on the recognition result.
7. device according to claim 6, which is characterized in that above-mentioned apparatus further includes:
Number module, after the recorded video is split framing picture by frame in video fractionation module, to described Frame picture number;
The interim card icon-based programming module, specifically for identifying in every frame picture whether contain successively according to number order Interim card icon obtains the number of the frame picture containing interim card icon.
8. device according to claim 6, which is characterized in that the interim card icon-based programming module is specifically used for for every Zhang Suoshu frame pictures, the frame picture a preset zone position parameter indicate region in, for identification whether Containing the interim card icon, if contained, determines in the frame picture and determine the frame if do not contained containing the interim card icon The interim card icon is not contained in picture;Or
For frame picture described in every, in the region of the preset multiple regions location parameter expression of the frame picture, such as Fruit, which exists, contains interim card figure target area, determines and contains the interim card icon in the frame picture, if it does not, determining the frame figure The interim card icon is not contained in piece.
9. device according to claim 6, which is characterized in that the interim card icon-based programming module, including:
Characteristics extraction submodule, for being directed to every frame picture, to the area of the zone position parameter expression of the frame picture Image in domain extracts the First Eigenvalue according to mean value hash algorithm, and Second Eigenvalue is extracted according to perceptual hash algorithm;
First Hamming distance computational submodule is calculated for being based on the First Eigenvalue and the first default characteristic value One Hamming distance, the first default characteristic value are the images to the interim card icon, according to the extraction of mean value hash algorithm;
Second Hamming distance computational submodule is calculated for being based on the Second Eigenvalue and the second default characteristic value Two Hamming distances, the second default characteristic value are the images to the interim card icon, according to the extraction of perceptual hash algorithm;
Interim card icon determination sub-module, for being less than the first distance threshold and second Hamming distance when first Hamming distance When from less than second distance threshold value, determines and contain the interim card icon in the frame picture, otherwise, it determines not contained in the frame picture The interim card icon.
10. device according to claim 6, which is characterized in that the interim card determining module, including:
Interim card determines first of the frame picture containing the interim card icon than determination sub-module for being based on the recognition result Quantity, and using first quantity divided by the sum of frame picture, obtain interim card ratio;Or
Interim card total duration determination sub-module determines the frame picture containing the interim card icon for being based on the recognition result First quantity, and first quantity divided by the fixed frame per second are used, obtain interim card total duration;Or
Interim card number determination sub-module determines the number that interim card occurs, one contains the card for being based on the recognition result The frame picture of icon or multiple continuously contain the frame picture of the interim card icon, as the frame picture included by an interim card; Or
Interim card duration determination sub-module determines a frame picture for containing the interim card icon for being based on the recognition result Or the second quantity of multiple frame pictures for continuously containing the interim card icon, a frame picture or more for containing the interim card icon Zhang Lianxu contains the frame picture of the interim card icon, as the frame picture included by an interim card, and uses second quantity Divided by the fixed frame per second, obtain the duration of the secondary interim card.
11. a kind of electronic equipment, which is characterized in that including processor, communication interface, memory and communication bus, wherein processing Device, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any method and steps of claim 1-5.
CN201810579322.4A 2018-06-07 2018-06-07 A kind of analysis Online Video plays the method and device of interim card Pending CN108737885A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810579322.4A CN108737885A (en) 2018-06-07 2018-06-07 A kind of analysis Online Video plays the method and device of interim card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810579322.4A CN108737885A (en) 2018-06-07 2018-06-07 A kind of analysis Online Video plays the method and device of interim card

Publications (1)

Publication Number Publication Date
CN108737885A true CN108737885A (en) 2018-11-02

Family

ID=63932707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810579322.4A Pending CN108737885A (en) 2018-06-07 2018-06-07 A kind of analysis Online Video plays the method and device of interim card

Country Status (1)

Country Link
CN (1) CN108737885A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324707A (en) * 2019-07-12 2019-10-11 北京奇艺世纪科技有限公司 A kind of video starts broadcasting time-consuming test method and device
CN110430425A (en) * 2019-07-31 2019-11-08 北京奇艺世纪科技有限公司 A kind of video fluency determines method, apparatus, electronic equipment and medium
CN110475124A (en) * 2019-09-06 2019-11-19 广州虎牙科技有限公司 Video cardton detection method and device
CN110996094A (en) * 2019-11-01 2020-04-10 北京奇艺世纪科技有限公司 Method and device for detecting video jamming, computer equipment and storage medium
CN111614990A (en) * 2020-05-08 2020-09-01 北京达佳互联信息技术有限公司 Method and device for acquiring loading duration and electronic equipment
CN111726608A (en) * 2020-06-28 2020-09-29 北京百度网讯科技有限公司 A video freezing test method, device, electronic device and storage medium
CN112055198A (en) * 2020-09-10 2020-12-08 百度在线网络技术(北京)有限公司 Video testing method and device, electronic equipment and storage medium
WO2021159609A1 (en) * 2020-02-11 2021-08-19 深圳壹账通智能科技有限公司 Video lag identification method and apparatus, and terminal device
CN114125436A (en) * 2021-11-30 2022-03-01 中国电信股份有限公司 Soft probe monitoring level test method, device, storage medium and electronic equipment
CN114860538A (en) * 2022-04-27 2022-08-05 Oppo广东移动通信有限公司 Display interface jam reporting method, terminal, electronic device and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104036009A (en) * 2014-06-24 2014-09-10 北京奇虎科技有限公司 A method for searching for matching pictures, a picture search method and device
US20140259045A1 (en) * 2013-03-06 2014-09-11 Yahoo! Inc. Video advertisement wall
CN104410516A (en) * 2014-11-24 2015-03-11 中国联合网络通信集团有限公司 User-service awareness assessment method and device
CN104811751A (en) * 2015-04-28 2015-07-29 深圳市优网科技有限公司 Streaming media playing blockage pause recognition method and streaming media playing blockage pause recognition device
CN105761255A (en) * 2016-02-04 2016-07-13 网易(杭州)网络有限公司 Game frame stagnation test method and device
CN105913088A (en) * 2016-04-13 2016-08-31 厦门美图移动科技有限公司 Lag identification method, lag identification device and computing equipment
CN106375755A (en) * 2016-08-31 2017-02-01 福建省天奕网络科技有限公司 Video data stalling detection method and system
CN107509115A (en) * 2017-08-29 2017-12-22 武汉斗鱼网络科技有限公司 A kind of method and device for obtaining live middle Wonderful time picture of playing

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140259045A1 (en) * 2013-03-06 2014-09-11 Yahoo! Inc. Video advertisement wall
CN104036009A (en) * 2014-06-24 2014-09-10 北京奇虎科技有限公司 A method for searching for matching pictures, a picture search method and device
CN104410516A (en) * 2014-11-24 2015-03-11 中国联合网络通信集团有限公司 User-service awareness assessment method and device
CN104811751A (en) * 2015-04-28 2015-07-29 深圳市优网科技有限公司 Streaming media playing blockage pause recognition method and streaming media playing blockage pause recognition device
CN105761255A (en) * 2016-02-04 2016-07-13 网易(杭州)网络有限公司 Game frame stagnation test method and device
CN105913088A (en) * 2016-04-13 2016-08-31 厦门美图移动科技有限公司 Lag identification method, lag identification device and computing equipment
CN106375755A (en) * 2016-08-31 2017-02-01 福建省天奕网络科技有限公司 Video data stalling detection method and system
CN107509115A (en) * 2017-08-29 2017-12-22 武汉斗鱼网络科技有限公司 A kind of method and device for obtaining live middle Wonderful time picture of playing

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324707A (en) * 2019-07-12 2019-10-11 北京奇艺世纪科技有限公司 A kind of video starts broadcasting time-consuming test method and device
CN110324707B (en) * 2019-07-12 2021-12-10 北京奇艺世纪科技有限公司 Video playing time consumption testing method and device
CN110430425B (en) * 2019-07-31 2021-02-05 北京奇艺世纪科技有限公司 Video fluency determination method and device, electronic equipment and medium
CN110430425A (en) * 2019-07-31 2019-11-08 北京奇艺世纪科技有限公司 A kind of video fluency determines method, apparatus, electronic equipment and medium
CN110475124A (en) * 2019-09-06 2019-11-19 广州虎牙科技有限公司 Video cardton detection method and device
CN110475124B (en) * 2019-09-06 2021-10-08 广州虎牙科技有限公司 Video jamming detection method and device
CN110996094A (en) * 2019-11-01 2020-04-10 北京奇艺世纪科技有限公司 Method and device for detecting video jamming, computer equipment and storage medium
WO2021159609A1 (en) * 2020-02-11 2021-08-19 深圳壹账通智能科技有限公司 Video lag identification method and apparatus, and terminal device
CN111614990A (en) * 2020-05-08 2020-09-01 北京达佳互联信息技术有限公司 Method and device for acquiring loading duration and electronic equipment
CN111726608A (en) * 2020-06-28 2020-09-29 北京百度网讯科技有限公司 A video freezing test method, device, electronic device and storage medium
CN112055198A (en) * 2020-09-10 2020-12-08 百度在线网络技术(北京)有限公司 Video testing method and device, electronic equipment and storage medium
CN112055198B (en) * 2020-09-10 2023-12-05 百度在线网络技术(北京)有限公司 Video testing method and device, electronic equipment and storage medium
CN114125436A (en) * 2021-11-30 2022-03-01 中国电信股份有限公司 Soft probe monitoring level test method, device, storage medium and electronic equipment
CN114860538A (en) * 2022-04-27 2022-08-05 Oppo广东移动通信有限公司 Display interface jam reporting method, terminal, electronic device and medium

Similar Documents

Publication Publication Date Title
CN108737885A (en) A kind of analysis Online Video plays the method and device of interim card
US11496613B2 (en) Detecting user interest in presented media items by observing volume change events
US20220366693A1 (en) Detection of demarcating segments in video
CN110430425B (en) Video fluency determination method and device, electronic equipment and medium
CN110290419B (en) Video playing method and device and electronic equipment
CN110012302A (en) A kind of network direct broadcasting monitoring method and device, data processing method
CN108471544B (en) Method and device for constructing video user portrait
CN108966016B (en) Video clip rebroadcasting method and device and terminal equipment
EP3345400A1 (en) Methods, systems and apparatus for media content control based on attention detection
CN110047513B (en) Video monitoring method and device, electronic equipment and storage medium
US10104428B2 (en) Video playing detection method and apparatus
CN110876079B (en) Video processing method, device and equipment
CN111601166A (en) Method, device, storage medium and server for determining family member composition
US20220201362A1 (en) Artificial intelligence and machine learning evaluation of elements in rendered video
CN110324707B (en) Video playing time consumption testing method and device
CN113727167A (en) Video resource playing method, device, equipment and readable storage medium
JP7118998B2 (en) Systems and methods for using media viewing data to improve device map accuracy
CN110806909A (en) Method and device for determining page frame dropping information of application program and electronic equipment
CN111294641B (en) Video playing method, system, device, electronic equipment and readable storage medium
CN116243829A (en) Page content display method, device, electronic device and readable storage medium
CN112511872A (en) Multimedia data playing control method, device, equipment and storage medium
HK40017817A (en) Systems and methods for improving accuracy of device maps using media viewing data
HK40017817B (en) Systems and methods for improving accuracy of device maps using media viewing data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181102

RJ01 Rejection of invention patent application after publication