CN106507191B - It is synchronous to relay content monitoring method and device - Google Patents
It is synchronous to relay content monitoring method and device Download PDFInfo
- Publication number
- CN106507191B CN106507191B CN201611025572.0A CN201611025572A CN106507191B CN 106507191 B CN106507191 B CN 106507191B CN 201611025572 A CN201611025572 A CN 201611025572A CN 106507191 B CN106507191 B CN 106507191B
- Authority
- CN
- China
- Prior art keywords
- video
- frame image
- buffer area
- frame
- preset
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 36
- 238000012544 monitoring process Methods 0.000 title claims abstract description 25
- 238000001514 detection method Methods 0.000 claims description 36
- 238000012806 monitoring device Methods 0.000 claims description 6
- 235000013399 edible fruits Nutrition 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 10
- 230000008569 process Effects 0.000 description 6
- 230000005611 electricity Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44204—Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4331—Caching operations, e.g. of an advertisement for later insertion during playback
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
A kind of synchronous relay content monitoring method provided in an embodiment of the present invention and device, it is related to radio, TV and film industries IPTV and relays monitoring field, the described method includes: receiving reference video and rebroadcast video signal, and the first buffer area and the second buffer area corresponding with first buffer area of memory are respectively stored into as unit of frame;Obtain the first video and corresponding second video;Based on preset video comparison rules, compares the first video and the second video and according to the result of the comparison, obtain the time offset t of the first video and the second video;It obtains n-th frame image and obtains the n-th+t frame image after the second video location;Based on preset video comparison rules, n-th frame image and the n-th+t frame image are compared and according to comparing result, judge whether the reference video received is synchronous with rebroadcast video signal;If asynchronous, simultaneously automatic alarm is recorded, automatic discovery, the alarm to IPTV vision signal Simultaneous Monitoring are realized with this.
Description
Technical field
The present invention relates to radio, TV and film industries IPTV to relay monitoring field, monitors in particular to a kind of synchronous content of relaying
Method and device.
Background technique
Existing relay monitoring technology is mostly to carry out audio-visual quality monitoring to multistage reradiated signal, does not carry out relay letter
Number monitoring whether synchronized.It is asynchronous if there is reradiated signal, but reradiated signal the case where there are no mass defects, it can only
Pass through artificial discovery and intervenes.Broadcast and telecast work personnel will complete the synchronous of different channel and relay content monitoring task, need
Subjective judgement discovery, it is desirable that staff has found in time, handles in time, substantially increases the operating pressure and essence of staff
Refreshing pressure, when especially participating in the relay work of national occasion, pressure is very big.
Summary of the invention
In view of this, the embodiment of the present invention be designed to provide it is a kind of it is synchronous relay content monitoring method and device, with
It solves the problems, such as that staff is needed to relay content monitoring task to complete the synchronous of IPTV vision signal.
In a first aspect, being applied to IPTV, the side the embodiment of the invention provides a kind of synchronous relay content monitoring method
Method includes: to receive reference video and rebroadcast video signal, and by the reference video and turn respectively as unit of frame
Broadcast vision signal storage to memory the first buffer area and the second buffer area corresponding with first buffer area, wherein institute
It states reference video and rebroadcast video signal includes the IPTV vision signal of same signal source transmitting;Obtain described first
In buffer area first detection initial position start Coutinuous store the first video and it is described first detection initial position it is opposite
The second detection initial position in second buffer area answered starts the second video of Coutinuous store;Based on preset video ratio
To rule, first video and second video and according to the result of the comparison, acquisition first video with it is described
The time offset t of second video;N-th frame figure after obtaining first video location being stored in first buffer area
The n-th+t frame image after picture and second video location being stored in second buffer area;Based on described preset
Video comparison rules, compare the n-th frame image and the n-th+t frame image and according to comparing result, receive described in judgement
Reference video it is whether synchronous with rebroadcast video signal;If it is determined that the reference video received and relay regard
Frequency signal is asynchronous, then record and automatic alarm.
Second aspect, the embodiment of the invention provides a kind of synchronous relay content monitoring devices, are applied to IPTV, the dress
Setting includes: receiving unit, receives reference video and rebroadcast video signal, and respectively by the REF video as unit of frame
Signal and rebroadcast video signal store the first buffer area and the second buffer area corresponding with first buffer area to memory,
Wherein, the reference video and rebroadcast video signal include the IPTV vision signal of same signal source transmitting;First
Acquiring unit, for obtain in first buffer area first detection initial position start Coutinuous store the first video and
The second detection initial position in corresponding second buffer area in first detection initial position starts Coutinuous store
Second video;Comparing unit, for being based on preset video comparison rules, first video and second video are simultaneously
According to the result of the comparison, the time offset t of first video and second video is obtained;Second acquisition unit is used for
N-th frame image after obtaining first video location that is stored in first buffer area and to be stored in described second slow
The n-th+t frame image after depositing second video location in area;Judging unit, for comparing rule based on the preset video
Then, the n-th frame image and the n-th+t frame image are compared and according to comparing result, the REF video received described in judgement
Whether signal is synchronous with rebroadcast video signal;Recording unit, for if it is determined that the reference video received with turn
It is asynchronous to broadcast vision signal, then record and automatic alarm.
The embodiment of the invention provides a kind of synchronous relay content monitoring method and devices, are applied to IPTV, the method
Include: by receiving reference video and rebroadcast video signal, and as unit of frame respectively by the reference video and
Rebroadcast video signal stores the first buffer area and the second buffer area corresponding with first buffer area to memory, wherein
The reference video and rebroadcast video signal include the IPTV vision signal of same signal source transmitting;Then institute is obtained
State in the first buffer area first detection initial position start Coutinuous store the first video and it is described first detection start bit
Set the second video that the second detection initial position in corresponding second buffer area starts Coutinuous store;Based on preset
Video comparison rules, first video and second video and according to the result of the comparison, acquisition first video
With the time offset t of second video;After obtaining first video location being stored in first buffer area
The n-th+t frame image after n-th frame image and second video location being stored in second buffer area;Based on described
Preset video comparison rules, compare the n-th frame image and the n-th+t frame image and according to comparing result, described in judgement
Whether the reference video received is synchronous with rebroadcast video signal;If it is determined that the reference video received with
Rebroadcast video signal is asynchronous, then record and automatic alarm, realize the automatic hair to IPTV vision signal Simultaneous Monitoring with this
Existing, alarm, reduces manual work.
Other features and advantages of the present invention will be illustrated in subsequent specification, also, partly be become from specification
It is clear that by implementing understanding of the embodiment of the present invention.The objectives and other advantages of the invention can be by written theory
Specifically noted structure is achieved and obtained in bright book, claims and attached drawing.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of structural block diagram that can be applied to the electronic equipment in the embodiment of the present application;
Fig. 2 is the synchronous flow chart for relaying content monitoring method that first embodiment of the invention provides;
Fig. 3 is the first schematic diagram of the acquisition video for the synchronization relaying method that first embodiment of the invention provides;
Fig. 4 is the schematic diagram for the masking-out that first embodiment of the invention provides;
Fig. 5 is the second schematic diagram of the acquisition video for the synchronization relaying method that first embodiment of the invention provides;
Fig. 6 is the synchronous relay content monitoring device that second embodiment of the invention provides.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist
The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below
Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile of the invention
In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
Referring to Fig. 1, Fig. 1 shows a kind of structural block diagram of electronic equipment 100 that can be applied in the embodiment of the present application.
The electronic equipment 100 can be used as user terminal, be also possible to computer or server, the user terminal can for mobile phone or
Tablet computer.As shown in Figure 1, electronic equipment 100 may include memory 110, storage control 111, processor 112 with it is synchronous
Relay content monitoring device.
Memory 110, storage control 111 are directly or indirectly electrically connected between each element of processor 112, to realize
The transmission or interaction of data.For example, can realize electricity by one or more communication bus or signal bus between these elements
Connection.Synchronous relay content monitoring method respectively includes at least one can store in the form of software or firmware (firmware)
Software function module in memory 110, for example, it is described it is synchronous relay software function module that content monitoring device includes or
Computer program.
Memory 110 can store various software programs and module, in synchronous relay provided by the embodiments of the present application
Hold monitoring method and the corresponding program instruction/module of device.Software of the processor 112 by operation storage in the memory 110
Program and module, thereby executing various function application and data processing, i.e. synchronous relay in realization the embodiment of the present application
Content monitoring method.Memory 110 can include but is not limited to random access memory (Random Access Memory,
RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only
Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM),
Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..
Processor 112 can be a kind of IC chip, have signal handling capacity.Above-mentioned processor can be general
Processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network
Processor, abbreviation NP) etc.;It can also be digital signal processor (DSP), specific integrated circuit (ASIC), ready-made programmable
Gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.It can
To realize or execute disclosed each method, step and the logic diagram in the embodiment of the present application.General processor can be micro-
Processor or the processor are also possible to any conventional processor etc..
First embodiment
Referring to Fig. 2, the embodiment of the invention provides a kind of synchronous relay content monitoring methods, which comprises
S200: reference video and rebroadcast video signal are received, and is respectively believed the REF video as unit of frame
Number and rebroadcast video signal storage to memory the first buffer area and the second buffer area corresponding with first buffer area,
In, the reference video and rebroadcast video signal include the IPTV vision signal of same signal source transmitting;
S210: obtain the first detection initial position in first buffer area start Coutinuous store the first video and
The second detection initial position in corresponding second buffer area in first detection initial position starts Coutinuous store
Second video;
Referring to Fig. 3, the reference video and rebroadcast video signal are believed from the IPTV video of same signal source
Number, it is respectively stored into the first buffer area and the second buffer area corresponding with first buffer area;Set vision signal from
A left side receives right broadcast flow direction, and the first detection initial position A obtained in first buffer area starts Coutinuous store to the left
The second detection initial position B in first video, and second buffer area corresponding with location A starts Coutinuous store to the left
The second video.As an implementation, PAL television standard, 25 frame per second.First video includes first caching
The first detection initial position A in area starts 25 frame images of Coutinuous store;Second video includes described first detecting
The second detection initial position B in corresponding second buffer area of beginning position A starts 25 frame images of Coutinuous store.
S220: preset video comparison rules are based on, first video is with second video and compared with
As a result, obtaining the time offset t of first video and second video;
Based on step S220, gradually each frame image of first video and second video one by one is each
Frame image is counted if the difference of first video and each frame image of second video is greater than preset discrepancy threshold
Number, if the sum counted ignores frame-skipping number less than preset, based on the first frame image and institute for obtaining first video
The frame number for stating the first frame image of the second video is poor, calculates time offset t.
As an implementation, referring to Fig. 4, Fig. 4 is the signal for the masking-out 300 that first embodiment of the invention provides
Figure.The embodiment of the present invention supports masking-out 300 to filter the image-region for not needing to compare, i.e., in such as Fig. 4, comparison area 302, and first
Ignore region 304, second ignores region 306.For example, first, which ignores region 304, includes time and each electricity in continuous pictures
The logo of television stations, second, which ignores region 306, includes some prompt informations, Simultaneous Monitoring task of these information for two pictures
It will not have a huge impact, the information compared can be ignored by belonging to.It is gradually relatively more described one by one according to negligible information
Each frame image of first video and each frame image of second video, if first video and second video
Each frame image difference be greater than preset discrepancy threshold just count, set in each frame image, can set maximum allowable
The pixel number threshold value of error is 1000-1500;As an implementation, gradually first video one by one is each
Y-component difference in the YUV component of each pixel of frame image Yu each frame image of second video, if the Y points
It measures difference and is greater than preset Y discrepancy threshold, such as preset Y discrepancy threshold can be 15-30, just count.
Certainly, above method of counting includes pixel number threshold value and/or preset Y discrepancy threshold, if what is counted is total
Number ignores frame-skipping number less than preset, such as preset frame-skipping number of ignoring is 3, then based on the first frame for obtaining first video
The frame number of image and the first frame image of second video is poor, utilizes (frame number is poor) × (time of each frame) to obtain the time inclined
Shifting amount t.
S230: it n-th frame image after obtaining first video location that is stored in first buffer area and deposits
The n-th+t frame image after storing up second video location in second buffer area;
Referring to Fig. 5, obtaining the n-th frame image after the first video location A being stored in first buffer area
And the n-th+t frame image after the second video location B being stored in second buffer area is obtained, n can be for arbitrarily just
Number.
S240: being based on the preset video comparison rules, compares the n-th frame image and the n-th+t frame image simultaneously
According to comparing result, whether the reference video received described in judgement is synchronous with rebroadcast video signal;
Based on step S240, the preset video comparison rules are based on, the n-th frame image and the n-th+t are compared
Frame image judges if the difference of the n-th frame image and the n-th+t frame image is less than the preset discrepancy threshold
The reference video received is synchronous with rebroadcast video signal;If the n-th frame image and the n-th+t frame image
Difference be greater than the preset discrepancy threshold, then the reference video that receives described in judgement is different from rebroadcast video signal
Step.
If the difference of the n-th frame image and the n-th+t frame image is less than the preset discrepancy threshold, judge
The reference video received is synchronous with rebroadcast video signal, return step S220.
S250: it if it is determined that the reference video received is asynchronous with rebroadcast video signal, then records simultaneously certainly
Dynamic alarm.
As an implementation, inventory is compared to program first to be grouped, synchronize to relay content and monitor and compare,
Related personnel is notified for relaying failure timely and accurately automatic alarm such as SMS alarm or sound-light alarm according to comparison result
It is handled, for failure interface queries, further increases the great movable safety of relay.
Higher level request is answered, Jiangsu Province broadcast television monitoring center is needed, monitoring Jiangsu Province Yancheng channel is relaying center electricity
It is whether synchronous in IPTV relay content with a set of CCTV-1 of the Chinese Central Television (CCTV) when television stations news hookup program.
The road A reference video: the Jiangsu Province broadcast television monitoring center a set of CCTV-1's of the received Chinese Central Television (CCTV)
IPTV programme signal;
The road B rebroadcast video signal: Jiangsu Province broadcast television monitoring center is received using the set-top box of Jiangsu Province's Yancheng City
The IPTV signal of Yancheng channel.
Channel resolution ratio a set of with the CCTV-1 Chinese Central Television (CCTV) in Jiangsu Province Yancheng is identical, and screen intensity is identical, is not present
There is the case where fuzziness difference.15 are set by luminance difference threshold value.The pixel number threshold value that the limits of error are arranged is
1000, it retrieves and broadcasts the world news period in 19:26:30, asynchronous relay phenomenon at one occur, and it is pre- to have carried out acousto-optic
It is alert.Occur nonsynchronous the reason is that Yancheng channel is due to transmission network packet loss problem, the mosaic that 5 seconds durations occurs in picture causes
's.
Export result are as follows: the world news period is broadcasted in 19:26:30, asynchronous relay phenomenon at one occurs, it is asynchronous
Relaying the duration is 5 seconds.
The embodiment of the invention provides a kind of synchronous relay content monitoring methods, pass through and receive reference video and relay
Vision signal, and respectively cached the reference video and the storage of rebroadcast video signal to the first of memory as unit of frame
Area and the second buffer area corresponding with first buffer area, wherein the reference video and rebroadcast video signal packet
Include the IPTV vision signal of same signal source transmitting;Then the first detection initial position in first buffer area is obtained
Start second in corresponding second buffer area of the first video and first detection initial position of Coutinuous store
Detection initial position starts the second video of Coutinuous store;Based on preset video comparison rules, first video with
Second video and according to the result of the comparison obtains the time offset t of first video and second video;It obtains
N-th frame image after first video location being stored in first buffer area and it is stored in second buffer area
The n-th+t frame image after interior second video location;Based on the preset video comparison rules, the n-th frame is compared
Image and the n-th+t frame image and according to comparing result, the reference video and rebroadcast video received described in judgement is believed
Number whether synchronize;If it is determined that the reference video received is asynchronous with rebroadcast video signal, then record and automatic
Alarm realizes automatic discovery, the alarm to IPTV vision signal Simultaneous Monitoring with this, reduces manual work, effectively avoid
The generation of the accident of relay greatly improved and relay movable safety.
Second embodiment
Referring to Fig. 6, being applied to IPTV, described device the present invention provides a kind of synchronous relay content monitoring device 400
400 include:
Receiving unit 410 receives reference video and rebroadcast video signal, and respectively by the benchmark as unit of frame
Vision signal and the storage of rebroadcast video signal are delayed to the first buffer area of memory and corresponding with first buffer area second
Deposit area, wherein the reference video and rebroadcast video signal include the IPTV vision signal of same signal source transmitting;
First acquisition unit 420, the first detection initial position for obtaining in first buffer area start continuously to deposit
The second detection start bit in corresponding second buffer area of first video of storage and first detection initial position
Set the second video for starting Coutinuous store;
First video includes that the first detection initial position in first buffer area starts 25 frames of Coutinuous store
Image;Second video includes second detecting in corresponding second buffer area in the first detection initial position
Beginning position starts 25 frame images of Coutinuous store.
Comparing unit 430, for being based on preset video comparison rules, first video and second video
And according to the result of the comparison, the time offset t of first video and second video is obtained;
As an implementation, the comparing unit 430, for gradually each frame of first video one by one
Each frame image of image and second video, if the difference of each frame image of first video and second video
It is different just to be counted greater than preset discrepancy threshold, if the sum counted ignores frame-skipping number less than preset, described in obtaining
The first frame image of first video and the frame number of the first frame image of second video are poor, calculate time offset t.
As an implementation, the comparing unit 430, for gradually each frame of first video one by one
Y-component difference in the YUV component of each pixel of image Yu each frame image of second video, if the Y-component
Difference is greater than preset Y discrepancy threshold and just counts.
Second acquisition unit 440, after obtaining first video location being stored in first buffer area
The n-th+t frame image after n-th frame image and second video location being stored in second buffer area;
Judging unit 450 compares the n-th frame image and described n-th for being based on the preset video comparison rules
+ t frame image and according to comparing result, whether the reference video received described in judgement is synchronous with rebroadcast video signal;
As an implementation, the judging unit 450, for being based on the preset video comparison rules, comparison
The n-th frame image and the n-th+t frame image, if the difference of the n-th frame image and the n-th+t frame image is less than institute
Preset discrepancy threshold is stated, then the reference video received described in judgement is synchronous with rebroadcast video signal;If described n-th
The difference of frame image and the n-th+t frame image is greater than the preset discrepancy threshold, then the benchmark view received described in judgement
Frequency signal is asynchronous with rebroadcast video signal.
Recording unit 460, for if it is determined that the reference video received is asynchronous with rebroadcast video signal,
Then record and automatic alarm.
It should be noted that each unit in the present embodiment can be by software code realization, at this point, above-mentioned each unit
It can be stored in memory 110.The above each unit can equally be realized by hardware such as IC chip.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through
Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing
Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product,
Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code
Part, a part of the module, section or code, which includes that one or more is for implementing the specified logical function, to be held
Row instruction.It should also be noted that function marked in the box can also be to be different from some implementations as replacement
The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes
It can execute in the opposite order, this depends on the function involved.It is also noted that every in block diagram and or flow chart
The combination of box in a box and block diagram and or flow chart can use the dedicated base for executing defined function or movement
It realizes, or can realize using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation together
Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.It needs
Illustrate, herein, relational terms such as first and second and the like be used merely to by an entity or operation with
Another entity or operation distinguish, and without necessarily requiring or implying between these entities or operation, there are any this realities
The relationship or sequence on border.Moreover, the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability
Contain, so that the process, method, article or equipment for including a series of elements not only includes those elements, but also including
Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device.
In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element
Process, method, article or equipment in there is also other identical elements.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should also be noted that similar label and letter exist
Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing
It is further defined and explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
It should be noted that, in this document, 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 including 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.
Claims (8)
1. a kind of synchronous relay content monitoring method, which is characterized in that be applied to IPTV, which comprises
Reference video and rebroadcast video signal are received, and is respectively regarded the reference video and relay as unit of frame
Frequency signal stores the first buffer area and the second buffer area corresponding with first buffer area to memory, wherein the base
Quasi- vision signal and rebroadcast video signal include the IPTV vision signal of same signal source transmitting;
Obtain the first video and described first that the first detection initial position in first buffer area starts Coutinuous store
The second detection initial position in corresponding second buffer area in detection initial position starts the second video of Coutinuous store;
Based on preset video comparison rules, first video and second video and according to the result of the comparison are obtained
Obtain the time offset t of first video and second video;Wherein, described to be based on preset video comparison rules, than
First video and second video and according to the result of the comparison obtain first video and second video
Time offset t, comprising: gradually each frame figure of each frame image of first video and second video one by one
Picture counts if the difference of first video and each frame image of second video is greater than preset discrepancy threshold,
If the sum counted be less than it is preset ignore frame-skipping number, based on the first frame image that obtains first video and described the
The frame number of the first frame image of two videos is poor, calculates time offset t;
N-th frame image after obtaining first video location that is stored in first buffer area and it is stored in described the
The n-th+t frame image after second video location in two buffer areas;
Based on the preset video comparison rules, compares the n-th frame image and the n-th+t frame image and tied according to comparison
Whether fruit, the reference video received described in judgement are synchronous with rebroadcast video signal;
If it is determined that the reference video received is asynchronous with rebroadcast video signal, then simultaneously automatic alarm is recorded.
2. the method according to claim 1, wherein described be based on the preset video comparison rules, comparison
The n-th frame image and the n-th+t frame image and according to comparing result, the reference video received described in judgement with turn
Broadcast whether vision signal synchronizes, comprising:
Based on the preset video comparison rules, the n-th frame image and the n-th+t frame image are compared, if described n-th
The difference of frame image and the n-th+t frame image is less than the preset discrepancy threshold, then the benchmark view received described in judgement
Frequency signal is synchronous with rebroadcast video signal;If the difference of the n-th frame image and the n-th+t frame image is greater than described default
Discrepancy threshold, then the reference video that receives described in judgement is asynchronous with rebroadcast video signal.
3. method according to claim 1 or 2, which is characterized in that gradually first video one by one it is every
Each frame image of one frame image and second video, if each frame image of first video and second video
It is just counted greater than preset discrepancy threshold, comprising:
Gradually each each pixel of frame image of each frame image of first video and second video one by one
YUV component in Y-component difference, if the Y-component difference be greater than preset discrepancy threshold if count.
4. the method according to claim 1, wherein the described method includes:
First video includes that the first detection initial position in first buffer area starts 25 frame images of Coutinuous store;
Second video includes the second detection start bit in corresponding second buffer area in first detection initial position
Set the 25 frame images for starting Coutinuous store.
5. a kind of synchronous relay content monitoring device, which is characterized in that be applied to IPTV, described device includes:
Receiving unit is received reference video and rebroadcast video signal, and is respectively believed the REF video as unit of frame
Number and rebroadcast video signal storage to memory the first buffer area and the second buffer area corresponding with first buffer area,
In, the reference video and rebroadcast video signal include the IPTV vision signal of same signal source transmitting;
First acquisition unit, the first detection initial position for obtaining in first buffer area start the first of Coutinuous store
The second detection initial position in corresponding second buffer area of video and first detection initial position starts to connect
Renew the second video of storage;
Comparing unit, for being based on preset video comparison rules, first video and second video and basis
Comparison result obtains the time offset t of first video and second video;Wherein, the comparing unit is also used
In gradually each frame image of each frame image of first video and second video one by one, if described first
The difference of video and each frame image of second video is greater than preset discrepancy threshold and just counts, if the sum counted is small
Ignore frame-skipping number in preset, then the first frame figure based on the first frame image and second video for obtaining first video
The frame number of picture is poor, calculates time offset t;
Second acquisition unit, for obtaining the n-th frame figure after first video location being stored in first buffer area
The n-th+t frame image after picture and second video location being stored in second buffer area;
Judging unit compares the n-th frame image and the n-th+t frame figure for being based on the preset video comparison rules
As and according to comparing result, whether the reference video received described in judgement synchronous with rebroadcast video signal;
Recording unit, for if it is determined that the reference video received is asynchronous with rebroadcast video signal, then recording
And automatic alarm.
6. device according to claim 5, which is characterized in that the comparing unit, for gradually one by one more described the
Y-component difference in the YUV component of each pixel of each frame image Yu each frame image of second video of one video,
It is counted if the Y-component difference is greater than preset Y discrepancy threshold.
7. device according to claim 5, which is characterized in that the judging unit, for being based on the preset video
Comparison rules compare the n-th frame image and the n-th+t frame image, if the n-th frame image and the n-th+t frame figure
The difference of picture is less than the preset discrepancy threshold, then the reference video and rebroadcast video signal received described in judgement is same
Step;If the difference of the n-th frame image and the n-th+t frame image is greater than the preset discrepancy threshold, described in judgement
The reference video received is asynchronous with rebroadcast video signal.
8. device according to claim 5, which is characterized in that described device includes:
First video includes that the first detection initial position in first buffer area starts 25 frame images of Coutinuous store;
Second video includes the second detection start bit in corresponding second buffer area in first detection initial position
Set the 25 frame images for starting Coutinuous store.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611025572.0A CN106507191B (en) | 2016-11-15 | 2016-11-15 | It is synchronous to relay content monitoring method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611025572.0A CN106507191B (en) | 2016-11-15 | 2016-11-15 | It is synchronous to relay content monitoring method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106507191A CN106507191A (en) | 2017-03-15 |
CN106507191B true CN106507191B (en) | 2019-09-10 |
Family
ID=58327513
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611025572.0A Expired - Fee Related CN106507191B (en) | 2016-11-15 | 2016-11-15 | It is synchronous to relay content monitoring method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106507191B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107277500B (en) * | 2017-06-27 | 2019-03-19 | 中央电视台 | The treating method and apparatus that video compares |
CN112887707A (en) * | 2021-01-22 | 2021-06-01 | 北京锐马视讯科技有限公司 | Video and audio rebroadcasting monitoring method and device, equipment and storage medium |
CN114422807B (en) * | 2022-03-28 | 2022-10-21 | 麒麟软件有限公司 | Transmission optimization method based on Spice protocol |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1477508A (en) * | 2002-08-23 | 2004-02-25 | 天津百维软件科技有限公司 | Method for automatically-detecting computer video multimedia playback function |
CN101500150A (en) * | 2009-02-17 | 2009-08-05 | 上海申通轨道交通研究咨询有限公司 | Monitoring method for video information display content |
CN101690187A (en) * | 2007-07-06 | 2010-03-31 | 佳能株式会社 | Broadcast program recording apparatus and control method for the same |
KR20110130906A (en) * | 2010-05-28 | 2011-12-06 | 엘지이노텍 주식회사 | Broadcasting signal receiver having a function to automatically control a chroma signal and method for receiving a broadcasting signal using the same |
CN103067778A (en) * | 2013-01-06 | 2013-04-24 | 北京华兴宏视技术发展有限公司 | Data monitoring system and data monitoring method |
-
2016
- 2016-11-15 CN CN201611025572.0A patent/CN106507191B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1477508A (en) * | 2002-08-23 | 2004-02-25 | 天津百维软件科技有限公司 | Method for automatically-detecting computer video multimedia playback function |
CN101690187A (en) * | 2007-07-06 | 2010-03-31 | 佳能株式会社 | Broadcast program recording apparatus and control method for the same |
CN101500150A (en) * | 2009-02-17 | 2009-08-05 | 上海申通轨道交通研究咨询有限公司 | Monitoring method for video information display content |
KR20110130906A (en) * | 2010-05-28 | 2011-12-06 | 엘지이노텍 주식회사 | Broadcasting signal receiver having a function to automatically control a chroma signal and method for receiving a broadcasting signal using the same |
CN103067778A (en) * | 2013-01-06 | 2013-04-24 | 北京华兴宏视技术发展有限公司 | Data monitoring system and data monitoring method |
Also Published As
Publication number | Publication date |
---|---|
CN106507191A (en) | 2017-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106412626B (en) | A kind of processing method and processing device of live video | |
CN105916004B (en) | A kind of Overlapping display method and system of image | |
CN106507191B (en) | It is synchronous to relay content monitoring method and device | |
CN105376642B (en) | Video playing resolution ratio switching method and system | |
CN106028147B (en) | Vision signal monitoring method and vision signal monitor system | |
US20110229106A1 (en) | System for playback of ultra high resolution video using multiple displays | |
CN102215375B (en) | The system of selection of the video source of the sprite of more pictures and device in multimedia conferencing | |
CN107483860B (en) | Security monitoring video storage and playback method suitable for improving case solving efficiency | |
CN108632666B (en) | Video detection method and video detection equipment | |
CN102446272A (en) | Method and device for segmenting and recognizing station caption as well as television comprising device | |
CN101500150B (en) | Monitoring method for video information display content | |
CN103795920A (en) | Photo processing method and device | |
US11677896B2 (en) | Synchronizing media in multiple devices | |
CN109862383A (en) | A kind of method and system for realizing video playing monitoring based on frame feature | |
CN107277295B (en) | Audio video synchronization processing unit and method | |
CN102426514A (en) | Synchronous displaying method and device for large-screen spliced wall | |
EP3236362B1 (en) | Information pushing method and system | |
CN102547370A (en) | Black frame and frozen frame monitoring method and system for video signal | |
CN111314734A (en) | Information pushing method and device in smart television and controller | |
US8873642B2 (en) | Video content analysis methods and systems | |
CN107734278B (en) | Video playback method and related device | |
CN115914676A (en) | Real-time monitoring comparison method and system for ultra-high-definition video signals | |
Coria et al. | Automatic stereoscopic 3D video reframing | |
CN108024121B (en) | Voice barrage synchronization method and system | |
CN112887707A (en) | Video and audio rebroadcasting monitoring method and device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190910 |
|
CF01 | Termination of patent right due to non-payment of annual fee |