CN106302477A - A kind of net cast method of testing and system - Google Patents
A kind of net cast method of testing and system Download PDFInfo
- Publication number
- CN106302477A CN106302477A CN201610692527.4A CN201610692527A CN106302477A CN 106302477 A CN106302477 A CN 106302477A CN 201610692527 A CN201610692527 A CN 201610692527A CN 106302477 A CN106302477 A CN 106302477A
- Authority
- CN
- China
- Prior art keywords
- key frame
- similarity
- test image
- image
- live video
- 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
Links
- 238000010998 test method Methods 0.000 title claims abstract description 20
- 238000012360 testing method Methods 0.000 claims abstract description 85
- 238000000034 method Methods 0.000 claims description 28
- 239000000284 extract Substances 0.000 claims description 4
- 238000000605 extraction Methods 0.000 claims description 3
- 238000004891 communication Methods 0.000 description 10
- 230000000875 corresponding effect Effects 0.000 description 9
- 230000015654 memory Effects 0.000 description 7
- 230000032683 aging Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000000007 visual effect Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- VYZAMTAEIAYCRO-UHFFFAOYSA-N Chromium Chemical compound [Cr] VYZAMTAEIAYCRO-UHFFFAOYSA-N 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000010191 image analysis Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 210000003205 muscle Anatomy 0.000 description 1
- 230000002688 persistence Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/61—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/01—Social networking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/61—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
- H04L65/612—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/80—Responding to QoS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Computing Systems (AREA)
- Economics (AREA)
- Biomedical Technology (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
The invention discloses a kind of net cast method of testing and system, by obtaining the first key frame of original live video flowing, and obtain the second key frame in the scheduled time before the moment that described first key frame occurs;When described first key frame occurs, it is extracted in the image of the live video stream of terminal plays, obtains testing image;Obtain the first similarity of described test image and described first key frame, obtain the second similarity of described test image and described second key frame;If arbitrary not less than predetermined value in described first similarity and described second similarity, then judge that described terminal plays is normal.The present invention is by contrasting terminal and the server end image at the key frame sectional drawing of the key frame of video time point of same direct broadcast band, it is judged that whether this terminal occurs postponing problem that is long, that affect Consumer's Experience during live play.
Description
Technical field
The present invention relates to video display arts field, particularly relate to a kind of net cast method of testing and system.
Background technology
Along with the fast development of mobile Internet, the fusion of multi-screen unification, the quick increase of live video terminal, live broadcast
The test job putting device develops into include each terminals such as mobile phone, flat board, TV, box from simple PC end platform.Video
Time live, during persistence is play, live retardance can be along with buffering along with the difference of client network environment
Time continuous superposition, the time that when now player carries out live play, meeting real time correction postpones.Now, for some important ratio
Match live delay test the most particularly important.
The Chinese patent of Application No. 201410224695.1 propose order video test different terminals always from
Dynamicization method of testing, does not mention live test, and this patent does not point out live special ageing test side simultaneously
Method, i.e. during live, different terminals live ageing is the need to ensure that, in different network environments,
Live ageing regulation the shortest time delays be allow (depending on the demand of live time delay, some class of playing chess straight
Broadcasting regulation is 10s, and some individual's the live of show may be 30s, even 60s etc.).And beyond this latency period, then can be big
The experience that big reduction is live.
Summary of the invention
In order to ensure under each terminal, different network environments, watch the live of some channel at different time points
Delay can not differ too many, the invention provides a kind of net cast method of testing and system, it is possible to automatically monitor certain for the moment
Carve the live quality of each terminal.
The present invention is achieved in that a kind of net cast method of testing, including:
Obtain the first key frame of original live video flowing, and obtain the pre-timing before the moment that described first key frame occurs
The second interior key frame;
When described first key frame occurs, it is extracted in the image of the live video stream of terminal plays, obtains testing image;
Obtain the first similarity of described test image and described first key frame, obtain described test image and close with described second
Second similarity of key frame;
If arbitrary not less than predetermined value in described first similarity and described second similarity, then just judging described terminal plays
Often.
Further, described method also includes:
Obtain the 3rd key frame in the scheduled time before the moment that described first key frame occurs;
Obtain the described test image third phase with described 3rd key frame like degree;
If described first similarity, described second similarity and third phase are like arbitrary not less than predetermined value in degree, then judge described
Terminal plays is normal.
Further, described method also includes:
If described first similarity, described second similarity and described third phase are respectively less than predetermined value like degree, then terminal is sent out again
Send playing request.
Further, described acquisition described test image and the first similarity of described first key frame, obtain described survey
Attempt, as the second similarity with described second key frame, to obtain the third phase of described test image and described 3rd key frame seemingly
Degree, including:
Extract described test image, the first key frame, the second key frame and the marginal information of the 3rd key frame respectively, according to described
Marginal information obtains described test image and the first similarity of described first key frame, described test image and described the respectively
The third phase of the second similarity of two key frames and described test image and described 3rd key frame is like degree.
Further, described method also includes:
According to time delay needs, described live video is classified;
Classification according to described live video sets the scheduled time of the live video of every kind.
Further, the classification of live video includes: plays chess, one-man show, competes and perform.
Further, described predetermined value is 80%.
Present invention also offers a kind of net cast test system, including:
First acquisition module, for obtaining the first key frame of original live video flowing, and obtains described first key frame appearance
Moment before the scheduled time in the second key frame;
Second acquisition module, for when described first key frame occurs, being extracted in the live video stream of terminal plays
Image, obtains testing image;
3rd acquisition module, for obtaining the first similarity of described test image and described first key frame, obtains described survey
Attempt as the second similarity with described second key frame;
Judge module, in described first similarity and described second similarity arbitrary not less than predetermined value time, it is determined that institute
State terminal plays normal.
Further, described system also includes:
Described first acquisition module is additionally operable to obtain the 3rd in the scheduled time before the moment that described first key frame occurs
Key frame;
Described 3rd acquisition module is additionally operable to obtain the described test image third phase with described 3rd key frame like degree;
Described judge module is additionally operable to arbitrary in described first similarity, described second similarity and third phase are like degree being not less than
During predetermined value, it is determined that described terminal plays is normal.
Further, described judge module is additionally operable to:
If described first similarity, described second similarity and described third phase are respectively less than predetermined value like degree, then terminal is sent out again
Send playing request.
Further, described 3rd acquisition module includes:
Edge extraction unit, crucial for extracting described test image, the first key frame, the second key frame and the 3rd respectively
The marginal information of frame;
Similarity acquiring unit, for obtaining described test image and described first key frame respectively according to described marginal information
Second similarity of the first similarity, described test image and described second key frame and described test image and described SAN GUAN
The third phase of key frame is like degree.
Further, described system also includes:
Taxon, for according to time delay needs, classifies to described live video;
Time setting unit, for setting the scheduled time of the live video of every kind according to the classification of described live video.
Implement the present invention, have the advantages that
(1) present invention by obtain original live video flowing the first key frame, and obtain described first key frame occur time
The second key frame in the scheduled time before quarter;When described first key frame occurs, it is extracted in the straight of terminal plays
Broadcast the image of video flowing, obtain testing image;Obtain the first similarity of described test image and described first key frame, obtain
Described test image and the second similarity of described second key frame;If described first similarity and described second similarity are appointed
One is not less than predetermined value, then judge that described terminal plays is normal.The present invention by contrast terminal and server end same directly
Broadcast the image of the key frame sectional drawing of the key frame of video time point of channel, it is judged that whether this terminal occurs during live play
Postpone long, the problem affecting Consumer's Experience.
(2) present invention extracts described test image, the first key frame, the second key frame and the edge of the 3rd key frame respectively
Information, obtains described test image and the first similarity of described first key frame, described survey respectively according to described marginal information
Attempt as the third phase with the second similarity of described second key frame and described test image and described 3rd key frame is like degree.
Use edge to carry out judging the similarity of image, only used limited pixel just to describe most visual information, thus subtracted
Light server or terminal, in the burden of image analysis processing, improve image comparison efficiency.Additionally, be positioned on zone boundary
Edge substantially can describe the shape of zones of different, is particularly well-suited to the contrast of similarity between different images.
(3) present invention is according to time delay needs, classifies described live video;The classification of live video includes: play chess, individual
Elegant, compete and perform.The present invention sets the scheduled time of the live video of every kind according to the classification of described live video, from
And different delay times can be set for inhomogeneous live video, it is possible to take into account user and watch experience and the terminal of video
The success rate play.
(4) method of the present invention has higher reliability: chosen the time of live play by technological means, before intercepting
The image that end is play, contrasts with three key frame images of this time point, if with the similarity of a certain image 80% with
On, then prove that this terminal is live normally.
(5) method of testing of the present invention has comprehensive: owing to test platform is more, test equipment and network environment differences
Relatively big, the present invention can the live live situation playing channel in difference of comprehensive collection.
(6) method of the present invention has persistency: can be from the long-time angle play, the live play of detection front end.
(7) method of the present invention has ageing: within the time delay allowed, detect the situation that each end is live.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art and advantage, below will be to enforcement
In example or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only
It is only some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work,
Other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the hardware block diagram of the terminal of the embodiment of the present invention;
Fig. 2 is the flow chart of the method that the embodiment of the present invention 1 provides;
Fig. 3 is another flow chart of the method that the embodiment of the present invention 1 provides;
Fig. 4 is the another flow chart of the method that the embodiment of the present invention 1 provides;
Fig. 5 is the structured flowchart of the system that the embodiment of the present invention 2 provides;
Fig. 6 is the structured flowchart of the 3rd acquisition module that the embodiment of the present invention 2 provides;
Fig. 7 is another structured flowchart of the system that the embodiment of the present invention 2 provides;
Fig. 8 is the structured flowchart of the terminal that the embodiment of the present invention 3 provides.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with in the embodiment of the present invention
Accompanying drawing, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only
The embodiment of a present invention part rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under not making creative work premise, all should belong to the model of present invention protection
Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, "
Two " it is etc. for distinguishing similar object, without being used for describing specific order or precedence.Should be appreciated that so use
Data can exchange in the appropriate case, in order to embodiments of the invention described herein can with except here diagram or
Order beyond those described is implemented.Additionally, term " includes " and " having " and their any deformation, it is intended that cover
Cover non-exclusive comprising, such as, contain series of steps or the process of unit, method, system, product or equipment are not necessarily limited to
Those steps clearly listed or unit, but can include the most clearly listing or for these processes, method, product
Or intrinsic other step of equipment or unit.
Embodiment 1
According to embodiments of the present invention, it is provided that the embodiment of a kind of net cast method of testing, it should be noted that at accompanying drawing
Step shown in flow chart can perform in the computer system of such as one group of computer executable instructions, and, although
Flow chart shows logical order, but in some cases, can perform shown with the order being different from herein or retouch
The step stated.
The embodiment of the method that the embodiment of the present application one is provided can be in mobile terminal, terminal or similar fortune
Calculate in device and perform.As a example by running on computer terminals, Fig. 1 is net cast method of testing according to embodiments of the present invention
The hardware block diagram of terminal.As it is shown in figure 1, terminal 100 can include one or more (only showing in figure
Going out one) processor 102(processor 102 can include but not limited to Micro-processor MCV or PLD FPGA etc.
Processing means), for storing the memorizer 104 of data and for the transmitting device 106 of communication function.The common skill in this area
Art personnel are appreciated that the structure shown in Fig. 2 is only signal, and the structure of above-mentioned electronic installation is not caused restriction by it.Such as,
Terminal 100 may also include the assembly more or more less than shown in Fig. 2, or has join different from shown in Fig. 2
Put.
Memorizer 104 can be used for storing software program and the module of application software, such as the video in the embodiment of the present invention
Programmed instruction/module that live method of testing is corresponding, processor 102 is stored in the software program in memorizer 104 by operation
And module, thus perform the application of various function and data process, i.e. realize above-mentioned net cast method of testing.Memorizer
104 can include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic storage device, sudden strain of a muscle
Deposit or other non-volatile solid state memories.In some instances, memorizer 104 can farther include relative to processor
102 remotely located memorizeies, these remote memories can be connected to terminal 10 by network.The reality of above-mentioned network
Example includes but not limited to the Internet, intranet, LAN, mobile radio communication and combinations thereof.
Transmitting device 106 is for receiving via a network or sending data.Above-mentioned network instantiation can include
The wireless network that the communication providers of terminal 100 provides.In an example, transmitting device 106 includes a network
Adapter (Network Interface Controller, referred to as NIC), it can be connected with other network equipments by base station
Thus communication can be carried out with the Internet.In an example, transmitting device 106 can be radio frequency (Radio Frequency, letter
It is referred to as RF) module, it is for wirelessly carrying out communication with the Internet.
Under above-mentioned running environment, this application provides net cast method of testing as shown in Figure 2.The method can be answered
In intelligent terminal, the processor in intelligent terminal performing, intelligent terminal can be smart mobile phone, put down
Plate computer etc..Certainly, the part steps in the method can be performed by server.Intelligent terminal is provided with at least one
Individual application program, the kind of the embodiment of the present invention not defining application, can be system class application program, it is also possible to for soft
Part class application program.
Step S101, obtain original live video flowing the first key frame, and obtain described first key frame occur time
The second key frame in the scheduled time before quarter.
Specifically, the executive agent of step S101 is server, and server is when playing original live video flowing, to live
Source video file carries out video code conversion, obtains, after burst cutting, the video flowing that website can be play.After transcoding, video flowing is carried out
Analyze, get the key frame data of video, namely the first key frame, be stored in data base, and in the time allowing delay
At least one key frame picture, namely the second key frame carries out sectional drawing storage.
The key frame time point that data base obtains for storing transcoding server end and the key in the time of permission delay
The key frame sectional drawing that frame time point is corresponding, stores the time point of terminal plays and corresponding video content image simultaneously.
Step S102, when described first key frame occur when, be extracted in the image of the live video stream of terminal plays,
Obtain testing image.
Specifically, the executive agent of step S102 can be the terminal playing live video.It is crucial that server obtains first
While frame, send instructions to terminal, notice terminal real-time interception test image.
Step S103, obtain the first similarity of described test image and described first key frame, obtain described test figure
As the second similarity with described second key frame;
If arbitrary not less than predetermined value in described first similarity of step S104 and described second similarity, then judge described end
End is play normal.
The present invention by obtain original live video flowing the first key frame, and obtain described first key frame occur time
The second key frame in the scheduled time before quarter;When described first key frame occurs, it is extracted in the straight of terminal plays
Broadcast the image of video flowing, obtain testing image;Obtain the first similarity of described test image and described first key frame, obtain
Described test image and the second similarity of described second key frame;If described first similarity and described second similarity are appointed
One is not less than predetermined value, then judge that described terminal plays is normal.The present invention by contrast terminal and server end same directly
Broadcast the image of the key frame sectional drawing of the key frame of video time point of channel, it is judged that whether this terminal occurs during live play
Postpone long, the problem affecting Consumer's Experience.
As the optional embodiment of one, as it is shown on figure 3, the method comprise the steps that
Step S201: obtain original live video flowing the first key frame, and obtain described first key frame occur moment it
The SAN GUAN in the scheduled time before the moment that front the second key frame in the scheduled time and described first key frame occur
Key frame.
Step S202: when described first key frame occurs, be extracted in the image of the live video stream of terminal plays,
Obtain testing image.
Step S203: obtain the first similarity of described test image and described first key frame, obtains described test figure
As the second similarity with described second key frame, obtain the described test image third phase with described 3rd key frame like degree.
Step S204: if described first similarity, described second similarity and third phase are like arbitrary not less than predetermined in degree
Value, then judge that described terminal plays is normal.
As the optional embodiment of one, as shown in Figure 4, described method also includes:
Step S205: if described first similarity, described second similarity and described third phase are respectively less than predetermined value like degree, then eventually
End resends playing request.
For example, terminal live video stream, when playing to key frame time point, intercept key frame images and be stored in data
Storehouse, obtains a key frame sectional drawing, in real time to databases the key frame of the corresponding time point of server end and allow to prolong
The sectional drawing of 2 key frame time points in the slow time carries out 3 keys of image comparison, front end key frame and back-end server
Frame carries out the similarity of contrast images one by one, and then provides this live video whether in long-time different terminals and network environment
The judged result of the situation inconsistent with rear end key frame live video file occurs.Or it is delayed over the time of regulation, shadow
Ring viewing experience.
As the optional embodiment of one, step S203 includes:
Extract described test image, the first key frame, the second key frame and the marginal information of the 3rd key frame respectively, according to described
Marginal information obtains described test image and the first similarity of described first key frame, described test image and described the respectively
The third phase of the second similarity of two key frames and described test image and described 3rd key frame is like degree.
Specifically, image comparison is by the corresponding pass to picture material, feature, structure, relation, texture and gray scale etc.
System, similarity and conforming analysis, it is judged that image is the most similar or identical.When contrasting two width images, simplest method is
Each pixel in contrast images, to judge the similarity of two width images.But in general, make to contrast two width figures in this way
As the difference in pixel can only be obtained accurately, and it is not suitable for the image identification of most of reality.In order to preferably analyze two
The similarity of width image, not only will be from pixel angle, more should be in conjunction with the feature of image.The most frequently used characteristics of image includes face
Bag, texture and shape, but the most also have a lot of correlational study to launch around image border.Edge as one critically important and
Particularly useful visual signature, it has only used limited pixel just to describe most visual information, additionally, be positioned at regional edge
Edge in boundary substantially can describe the shape of zones of different, and the present invention is carried out with the edge of key frame sectional drawing for Main Basis
Image comparison.
As the optional embodiment of one, described method also includes:
Step S100: according to time delay needs, described live video is classified;Classification according to described live video sets every kind
The scheduled time of other live video.
The classification of live video includes: plays chess, one-man show, competes and perform.
Described predetermined value is 80%.
For example, the main object of the present invention is the time of the delay judging a certain live video under different terminals to be
No in allowed band.Owing to front end is when net cast, for distinct device, different operating system, the broadcast mode taked
Different, thus need to verify this live video in each different network environments, the broadcast mode of different terminals, if energy
Within the delay scope admissible time of regulation, the video content that normal play is live.By client to live middle video
Flow each key frame and carry out sectional drawing, the live broadcast state image at key frame time point can be obtained, contrast corresponding time point
Key frame images in the time delay allowed before the key frame shot image information of the former video file of server end, just obtains using visitor
Play this live file during family end is live the most problematic: judge live during whether can play, and whether play
The situation that live time delay is bigger occurs.To consistent being defined as of contrast images: the similarity of current back end key frame sectional drawing is pre-
Time more than definite value (such as 80%), it is determined that for unanimously.Such as: live video postpones to allow in 10 seconds, determining according to key frame
Justice, can the time point of live key frame and before 10s in select the key frame picture of 2 crucial pictures and client
Contrast one by one, if wherein the comparing result similarity of 1 time is more than 80%, then illustrate live delay this terminal be
Within regulation delay time.Concrete depending on the demand of live time delay, the live regulation of some class of playing chess is 10s, some individual
The live of show may be 30s, even 60s etc., thus live with admissible with the image comparison quantity of rear end key frame
Time delay is correlated with.
Embodiment 2
As it is shown in figure 5, present invention also offers a kind of net cast test system, including:
First acquisition module, for obtaining the first key frame of original live video flowing, and obtains described first key frame appearance
Moment before the scheduled time in the second key frame;
Second acquisition module, for when described first key frame occurs, being extracted in the live video stream of terminal plays
Image, obtains testing image;
3rd acquisition module, for obtaining the first similarity of described test image and described first key frame, obtains described survey
Attempt as the second similarity with described second key frame;
Judge module, in described first similarity and described second similarity arbitrary not less than predetermined value time, it is determined that institute
State terminal plays normal.
As one preferred embodiment, described first acquisition module is additionally operable to obtain what described first key frame occurred
The 3rd key frame in the scheduled time before moment;
Described 3rd acquisition module is additionally operable to obtain the described test image third phase with described 3rd key frame like degree;
Described judge module is additionally operable to arbitrary in described first similarity, described second similarity and third phase are like degree being not less than
During predetermined value, it is determined that described terminal plays is normal.
As the optional embodiment of one, described judge module is additionally operable to:
If described first similarity, described second similarity and described third phase are respectively less than predetermined value like degree, then terminal is sent out again
Send playing request.
As the optional embodiment of one, as shown in Figure 6, described 3rd acquisition module includes:
Edge extraction unit, crucial for extracting described test image, the first key frame, the second key frame and the 3rd respectively
The marginal information of frame;
Similarity acquiring unit, for obtaining described test image and described first key frame respectively according to described marginal information
Second similarity of the first similarity, described test image and described second key frame and described test image and described SAN GUAN
The third phase of key frame is like degree.
As the optional embodiment of one, as it is shown in fig. 7, described system also includes time setting module, described time
Setting module includes:
Taxon, for according to time delay needs, classifies to described live video;
Time setting unit, for setting the scheduled time of the live video of every kind according to the classification of described live video.
As optional embodiment, the system of the present invention also include obtain end message, facility information, system information,
Browser information, player types information, direct broadcast band information and the module of key frame time point.Specifically:
1. terminal: which kind of live play platform appointment is, including PC, flat board, mobile phone, box, television set etc..
2. equipment: identify each equipment specifying information, UserAngent etc..
3. system: include the windows operating system of PC, Android and ios system etc..
4. browser: ie, chrome, safari, QQ, 360 major browsers such as grade.
5. player types: flash player, APP application version, H5 player etc..
6. direct broadcast band: channelid.
7. key frame time point: the key frame time point that server, client key frame sectional drawing are inconsistent occurs.
The system of the present invention, the executive agent of the first acquiring unit is server, regards for live source video file
Frequently transcoding, obtains, after burst cutting, the video flowing that website can be play.After transcoding, video flowing is analyzed, gets video
Key frame data, be stored in data base, and in the time that a key frame of key frame of video time point and allowing is postponed
The picture of two key frame time points carries out sectional drawing storage.
The system of the present invention also includes data base, for storing key frame time point and the permission that transcoding server end obtains
At least two key frame sectional drawings corresponding to key frame time point in the time postponed, store the time point of client terminal playing simultaneously
With corresponding video content image.
Embodiment 3
Embodiments of the invention also provide for a kind of terminal, and this terminal can be any in terminal group
One computer terminal.Alternatively, in the present embodiment, above computer terminal can also replace with the ends such as mobile terminal
End equipment.
Alternatively, in the present embodiment, during above computer terminal may be located at multiple network equipments of computer network
At least one network equipment.
Alternatively, Fig. 8 is the structured flowchart of terminal according to embodiments of the present invention.As shown in Figure 8, this computer
Terminal A may include that one or more (only illustrating one in figure) processor 161, memorizer 163 and transmitting device 165.
Wherein, memorizer 163 can be used for storing software program and module, as the short text in the embodiment of the present invention is classified
Programmed instruction/module corresponding to method and apparatus, processor 161 is stored in the software program in memorizer 163 by operation
And module, thus perform the application of various function and data process, i.e. realize above-mentioned short text classification.Memorizer 163 can
Including high speed random access memory, it is also possible to include nonvolatile memory, as one or more magnetic storage device, flash memory,
Or other non-volatile solid state memories.In some instances, memorizer 163 can farther include relative to processor 161
Remotely located memorizer, these remote memories can be connected to terminal A by network.The example bag of above-mentioned network
Include but be not limited to the Internet, intranet, LAN, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 165 is for receiving via a network or sending data.Above-mentioned network instantiation
Cable network and wireless network can be included.In an example, transmitting device 165 includes a network adapter, and it can pass through
Netting twine and other network equipments are connected with router thus can carry out communication with the Internet or LAN.In an example, pass
Defeated device 165 is radio-frequency module, and it is for wirelessly carrying out communication with the Internet.
Wherein, specifically, memorizer 163 is for storing deliberate action condition and the information of default access user, Yi Jiying
Use program.
Processor 161 can call information and the application program of memorizer 163 storage by transmitting device, following to perform
Step:
Optionally, above-mentioned processor 161 can also carry out the program code of following steps:
The first step, obtain original live video flowing the first key frame, and obtain described first key frame occur moment before
The scheduled time in the second key frame.
Second step, when described first key frame occurs, is extracted in the image of the live video stream of terminal plays,
To test image.
3rd step, obtains the first similarity of described test image and described first key frame, obtains described test image
With the second similarity of described second key frame, obtain the described test image third phase with described 3rd key frame like degree.
4th step, if arbitrary not less than predetermined value in described first similarity and described second similarity, then judges described
Terminal plays is normal.
Alternatively, the concrete example in the present embodiment is referred to showing described in above-described embodiment 1 and embodiment 2
Example, the present embodiment does not repeats them here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
If the integrated unit in above-described embodiment realizes and as independent product using the form of SFU software functional unit
When selling or use, can be stored in the storage medium that above computer can read.Based on such understanding, the skill of the present invention
Part that prior art is contributed by art scheme the most in other words or this technical scheme completely or partially can be with soft
The form of part product embodies, and this computer software product is stored in storage medium, including some instructions with so that one
Platform or multiple stage computer equipment (can be for personal computer, server or the network equipment etc.) perform each embodiment institute of the present invention
State all or part of step of method.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not has in certain embodiment
The part described in detail, may refer to the associated description of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, can be by other side
Formula realizes.Wherein, device embodiment described above is only schematically, the division of the most described unit, and the most only one
Kind of logic function divides, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or
It is desirably integrated into another system, or some features can be ignored, or do not perform.Another point, shown or discussed mutual it
Between coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, unit or module or communication link
Connect, can be being electrical or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit
The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme
's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list
Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For Yuan, under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications, these improvements and modifications also should
It is considered as protection scope of the present invention.
The above is the preferred embodiment of the present invention, it is noted that for those skilled in the art
For, under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications, these improvements and modifications are also considered as
Protection scope of the present invention.
Claims (12)
1. a net cast method of testing, it is characterised in that including:
Obtain the first key frame of original live video flowing, and obtain the pre-timing before the moment that described first key frame occurs
The second interior key frame;
When described first key frame occurs, it is extracted in the image of the live video stream of terminal plays, obtains testing image;
Obtain the first similarity of described test image and described first key frame, obtain described test image and close with described second
Second similarity of key frame, obtains the described test image third phase with described 3rd key frame like degree;
If arbitrary not less than predetermined value in described first similarity and described second similarity, then just judging described terminal plays
Often.
Net cast method of testing the most according to claim 1, it is characterised in that described method also includes:
Obtain the 3rd key frame in the scheduled time before the moment that described first key frame occurs;
Obtain the described test image third phase with described 3rd key frame like degree;
If described first similarity, described second similarity and third phase are like arbitrary not less than predetermined value in degree, then judge described
Terminal plays is normal.
Net cast method of testing the most according to claim 2, it is characterised in that described method also includes:
If described first similarity, described second similarity and described third phase are respectively less than predetermined value like degree, then terminal is sent out again
Send playing request.
Net cast method of testing the most according to claim 2, it is characterised in that described acquisition described test image and institute
State the first similarity of the first key frame, obtain the second similarity of described test image and described second key frame, obtain institute
State the third phase seemingly degree of test image and described 3rd key frame, including:
Extract described test image, the first key frame, the second key frame and the marginal information of the 3rd key frame respectively, according to described
Marginal information obtains described test image and the first similarity of described first key frame, described test image and described the respectively
The third phase of the second similarity of two key frames and described test image and described 3rd key frame is like degree.
Net cast method of testing the most according to claim 2, it is characterised in that described method also includes:
According to time delay needs, described live video is classified;
Classification according to described live video sets the scheduled time of the live video of every kind.
Net cast method of testing the most according to claim 5, it is characterised in that the classification of live video includes: play chess,
One-man show, compete and perform.
Net cast method of testing the most according to claim 1, it is characterised in that described predetermined value is 80%.
8. a net cast test system, it is characterised in that including:
First acquisition module, for obtaining the first key frame of original live video flowing, and obtains described first key frame appearance
Moment before the scheduled time in the second key frame;
Second acquisition module, for when described first key frame occurs, being extracted in the live video stream of terminal plays
Image, obtains testing image;
3rd acquisition module, for obtaining the first similarity of described test image and described first key frame, obtains described survey
Attempt as the second similarity with described second key frame;
Judge module, in described first similarity and described second similarity arbitrary not less than predetermined value time, it is determined that institute
State terminal plays normal.
Net cast the most according to claim 8 test system, it is characterised in that
Described first acquisition module is additionally operable to obtain the 3rd in the scheduled time before the moment that described first key frame occurs
Key frame;
Described 3rd acquisition module is additionally operable to obtain the described test image third phase with described 3rd key frame like degree;
Described judge module is additionally operable to arbitrary in described first similarity, described second similarity and third phase are like degree being not less than
During predetermined value, it is determined that described terminal plays is normal.
Net cast the most according to claim 9 test system, it is characterised in that described judge module is additionally operable to:
If described first similarity, described second similarity and described third phase are respectively less than predetermined value like degree, then terminal is sent out again
Send playing request.
11. net cast according to claim 9 test systems, it is characterised in that described 3rd acquisition module includes:
Edge extraction unit, crucial for extracting described test image, the first key frame, the second key frame and the 3rd respectively
The marginal information of frame;
Similarity acquiring unit, for obtaining described test image and described first key frame respectively according to described marginal information
Second similarity of the first similarity, described test image and described second key frame and described test image and described SAN GUAN
The third phase of key frame is like degree.
12. net cast according to claim 9 test systems, it is characterised in that described system also includes that the time sets
Module, described time setting module includes:
Taxon, for according to time delay needs, classifies to described live video;
Time setting unit, for setting the scheduled time of the live video of every kind according to the classification of described live video.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610692527.4A CN106302477A (en) | 2016-08-18 | 2016-08-18 | A kind of net cast method of testing and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610692527.4A CN106302477A (en) | 2016-08-18 | 2016-08-18 | A kind of net cast method of testing and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106302477A true CN106302477A (en) | 2017-01-04 |
Family
ID=57660633
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610692527.4A Pending CN106302477A (en) | 2016-08-18 | 2016-08-18 | A kind of net cast method of testing and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106302477A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106803997A (en) * | 2017-03-14 | 2017-06-06 | 广州视源电子科技股份有限公司 | System and method for detecting client playing state in audio and video live broadcast |
CN107959849A (en) * | 2017-12-12 | 2018-04-24 | 广州华多网络科技有限公司 | Live video quality assessment method, storage medium and terminal |
CN108111913A (en) * | 2017-12-22 | 2018-06-01 | 北京奇艺世纪科技有限公司 | A kind of generation method of live video stream, device and electronic equipment |
CN108513149A (en) * | 2017-02-28 | 2018-09-07 | 北京新唐思创教育科技有限公司 | A kind of live streaming delay testing method and its device |
CN108650520A (en) * | 2018-03-30 | 2018-10-12 | 北京金山安全软件有限公司 | Video live broadcast control method, related equipment and computer storage medium |
CN108769734A (en) * | 2018-05-15 | 2018-11-06 | 安徽天卓信息技术有限公司 | Real-time progress adjusting method and its control system is broadcast live based on BS structural networks |
CN109510980A (en) * | 2019-01-10 | 2019-03-22 | 湖南快乐阳光互动娱乐传媒有限公司 | Live broadcast delay measurement method and system |
CN110049313A (en) * | 2019-04-17 | 2019-07-23 | 微梦创科网络科技(中国)有限公司 | A kind of video measurement method and system |
CN110381308A (en) * | 2019-07-01 | 2019-10-25 | 北京字节跳动网络技术有限公司 | A kind of system for testing live video treatment effect |
CN111372032A (en) * | 2020-03-25 | 2020-07-03 | 苏州科达科技股份有限公司 | Video synthesis testing method, device, equipment and readable storage medium |
CN111641847A (en) * | 2020-06-11 | 2020-09-08 | 南昌威爱教育科技有限公司 | Data transmission method for virtual reality teaching |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104038775A (en) * | 2014-06-05 | 2014-09-10 | Tcl集团股份有限公司 | Method and device for identifying channel information |
CN104320690A (en) * | 2014-10-13 | 2015-01-28 | 四川长虹电器股份有限公司 | Television playing method and terminal television |
CN104796730A (en) * | 2014-01-20 | 2015-07-22 | 腾讯科技(深圳)有限公司 | Method and device for detecting low-speed users in network video live broadcast and system |
CN105357591A (en) * | 2015-11-16 | 2016-02-24 | 北京理工大学 | QoE monitoring and optimization method for adaptive code rate video direct broadcast |
CN103974061B (en) * | 2014-05-27 | 2016-05-25 | 合一网络技术(北京)有限公司 | A kind of method of testing and system play |
CN105872586A (en) * | 2016-04-01 | 2016-08-17 | 成都掌中全景信息技术有限公司 | Real time video identification method based on real time video streaming collection |
-
2016
- 2016-08-18 CN CN201610692527.4A patent/CN106302477A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104796730A (en) * | 2014-01-20 | 2015-07-22 | 腾讯科技(深圳)有限公司 | Method and device for detecting low-speed users in network video live broadcast and system |
CN103974061B (en) * | 2014-05-27 | 2016-05-25 | 合一网络技术(北京)有限公司 | A kind of method of testing and system play |
CN104038775A (en) * | 2014-06-05 | 2014-09-10 | Tcl集团股份有限公司 | Method and device for identifying channel information |
CN104320690A (en) * | 2014-10-13 | 2015-01-28 | 四川长虹电器股份有限公司 | Television playing method and terminal television |
CN105357591A (en) * | 2015-11-16 | 2016-02-24 | 北京理工大学 | QoE monitoring and optimization method for adaptive code rate video direct broadcast |
CN105872586A (en) * | 2016-04-01 | 2016-08-17 | 成都掌中全景信息技术有限公司 | Real time video identification method based on real time video streaming collection |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108513149A (en) * | 2017-02-28 | 2018-09-07 | 北京新唐思创教育科技有限公司 | A kind of live streaming delay testing method and its device |
CN108513149B (en) * | 2017-02-28 | 2021-04-09 | 北京新唐思创教育科技有限公司 | Live broadcast delay test method and device |
CN106803997A (en) * | 2017-03-14 | 2017-06-06 | 广州视源电子科技股份有限公司 | System and method for detecting client playing state in audio and video live broadcast |
CN107959849A (en) * | 2017-12-12 | 2018-04-24 | 广州华多网络科技有限公司 | Live video quality assessment method, storage medium and terminal |
CN108111913A (en) * | 2017-12-22 | 2018-06-01 | 北京奇艺世纪科技有限公司 | A kind of generation method of live video stream, device and electronic equipment |
CN108650520B (en) * | 2018-03-30 | 2020-09-04 | 北京金山安全软件有限公司 | Video live broadcast control method, related equipment and computer storage medium |
CN108650520A (en) * | 2018-03-30 | 2018-10-12 | 北京金山安全软件有限公司 | Video live broadcast control method, related equipment and computer storage medium |
CN108769734B (en) * | 2018-05-15 | 2020-09-04 | 安徽赛安安全技术有限公司 | Method for adjusting live broadcast real-time progress based on BS (browser/server) structure network and control system thereof |
CN108769734A (en) * | 2018-05-15 | 2018-11-06 | 安徽天卓信息技术有限公司 | Real-time progress adjusting method and its control system is broadcast live based on BS structural networks |
CN109510980A (en) * | 2019-01-10 | 2019-03-22 | 湖南快乐阳光互动娱乐传媒有限公司 | Live broadcast delay measurement method and system |
CN109510980B (en) * | 2019-01-10 | 2020-07-03 | 湖南快乐阳光互动娱乐传媒有限公司 | Live broadcast delay measurement method and system |
CN110049313A (en) * | 2019-04-17 | 2019-07-23 | 微梦创科网络科技(中国)有限公司 | A kind of video measurement method and system |
CN110381308A (en) * | 2019-07-01 | 2019-10-25 | 北京字节跳动网络技术有限公司 | A kind of system for testing live video treatment effect |
CN110381308B (en) * | 2019-07-01 | 2021-06-15 | 北京字节跳动网络技术有限公司 | System for testing live video processing effect |
CN111372032A (en) * | 2020-03-25 | 2020-07-03 | 苏州科达科技股份有限公司 | Video synthesis testing method, device, equipment and readable storage medium |
CN111372032B (en) * | 2020-03-25 | 2021-04-23 | 苏州科达科技股份有限公司 | Video synthesis testing method, device, equipment and readable storage medium |
CN111641847A (en) * | 2020-06-11 | 2020-09-08 | 南昌威爱教育科技有限公司 | Data transmission method for virtual reality teaching |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106302477A (en) | A kind of net cast method of testing and system | |
CN106658199A (en) | Video content display method and apparatus | |
CN110163300A (en) | A kind of image classification method, device, electronic equipment and storage medium | |
CN106454407A (en) | Video live broadcast method and device | |
CN108062507B (en) | Video processing method and device | |
CN110225367A (en) | It has been shown that, recognition methods and the device of object information in a kind of video | |
CN110796098B (en) | Method, device, equipment and storage medium for training and auditing content auditing model | |
CN107484019A (en) | The dissemination method and device of a kind of video file | |
EP3461136B1 (en) | Video playing method and device | |
US8659654B2 (en) | Image verification with tiered tolerance | |
CN106454481A (en) | Live broadcast interaction method and apparatus of mobile terminal | |
CN110025956A (en) | A kind of competing data push method of electricity, device and server | |
CN111405339B (en) | Split screen display method, electronic equipment and storage medium | |
CN104284234B (en) | Multiple terminal rooms share the method and system of synchronous images | |
CN105338564B (en) | A kind of client adaptation method, client, server and system | |
CN108076386A (en) | Video cardton detection method and device, storage medium | |
CN106168956A (en) | data statistical analysis method and system for intelligent terminal | |
CN103946871A (en) | Image processing device, image recognition device, image recognition method, and program | |
CN110505490A (en) | Multi-medium data recognition methods and system | |
CN105279778A (en) | Method and terminal for picture color filling | |
CN112116394A (en) | Method and computer-readable storage medium for advertisement placement monitoring | |
CN114598919B (en) | Video processing method, device, computer equipment and storage medium | |
CN107767157A (en) | A kind of outdoor video effect analysis method and system | |
CN105049714A (en) | Figure image preview method and device | |
CN107578265A (en) | A kind of value of advertisement screen determines method, apparatus and server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170104 |