Summary of the invention
The objective of the invention is to overcome the deficiency that prior art exists, a kind of video anti-counterfeiting monitoring device and method for supervising thereof are provided.
Purpose of the present invention is achieved through the following technical solutions:
Video anti-counterfeiting monitoring device, characteristics are: the on-site supervision camera connects video anti-fake circuit board, video anti-fake circuit board connects monitor and computer respectively by transmission network, and computer is equipped with video frequency collection card and display, the vision signal of computer receiver, video anti-fake circuit board transmission; On-site supervision camera collection analog video input signal, generate false proof dynamic logo by video anti-fake circuit board, the field video signal of false proof dynamic logo and passage carries out and overlap-add procedure, the analog video signal of false proof dynamic logo of superposeing is input on the monitor of Surveillance center and carries out on-site supervision, maximum 8 passages, video also is input to the passage video frequency collection card in the computer simultaneously, and by computer each passage is carried out automatic video frequency monitoring, identification and false proof.
Further, above-mentioned video anti-counterfeiting monitoring device, wherein, described video anti-fake circuit board comprises vision signal separated in synchronization module, micro controller module, library stores module and video character laminating module, described vision signal separated in synchronization module connects micro controller module and video character laminating module respectively, described library stores module connects the video character laminating module, and described power supply clock module connects micro controller module and video character laminating module respectively.
Further, above-mentioned video anti-counterfeiting monitoring device, be applicable to common surveillance, each the used logo of anti-fake circuit board that vision signal is joined storehouse, road is all inequality, use different algorithms, position and size that logo stack back is occurred on video are all inequality, during computer Recognition, with this each road vision signal is distinguished, formed the key relation.
Video anti-counterfeiting method for supervising of the present invention specifically may further comprise the steps---
1. video anti-fake circuit board is constantly selected different logos according to pseudo-random algorithm by the time interval, generates coordinate position and logo size;
2. video anti-fake circuit board is added to logo on the on-site supervision camera video signal, transmits again;
3. the monitoring image that shows the logo that superposeed on the receiving terminal monitor, logo move about by generating coordinate position and logo size on image, remind the current circuit situation of monitor staff;
4. computer by capture card cut-away view picture, analyze logo, and if preestablish logo and be not inconsistent, then report to the police;
5. if having the people to tear monitoring circuit open or pseudo-video is deceived in introducing, logo stops migration, the computer warning.
Substantive distinguishing features and obvious improvement that technical solution of the present invention is outstanding are mainly reflected in:
1. the present invention has designed a kind of video monitoring system that greater security ensures that possesses, the method of stack dynamic pseudo-random logo symbol on monitoring screen, on the single-chip microcomputer of monitoring camera head end embedded video anti-fake circuit board of design according to pre-designed pseudo random sequence stack logo character signal in the vision signal at the scene, main control end video anti-counterfeiting supervisory control system is carried out pattern recognition to the dynamic pseudo-random logo symbol that superposes in the frame of video that enters continuously, coupling, analyze, logo character information in the synchronous detecting vision signal is realized highly reliable real-time live video monitoring;
2. this video anti-counterfeiting supervisory control system has prevented system monitoring camera has been replaced when normal monitoring in real time, monitored picture is switched, monitoring circuit is invaded, video source is by illegal acts such as the pseudo-video of the illegal third party replace, make the image better authenticity and the reliability of monitor video, thereby have higher fail safe; Native system is applicable to the occasion that the monitoring security performance is had relatively high expectations, as important departments such as museum, bank, customs and company warehouses; Can believe, along with video monitoring technology rapid development and range of application are constantly expanded, native system guarantees that to the on-site supervision of important department, to the real-time monitoring of high-tech, high value object authenticity, real-time and the playback property of monitoring live video played a greater and greater role;
3. prevent that unique personnel from tearing the moving-wire road open, introduces and deceive pseudo-video; Its scheme is simple, and result of use is better, is applicable to general supervisory control system; It is the new design of a practicality.
Embodiment
Interrupted, change, switch by illegal in order to prevent the video signal transmission wire road, and prevent to be introduced into the pseudo-video source of the illegal third party, developed video anti-counterfeiting monitoring device, live video is added anti-false signal, at the video monitoring end live video of the anti-false signal that superposeed is carried out pattern recognition, coupling, carry out synchronous detecting in real time, realized guarantee the video monitoring system fail safe, in a single day system finds that vision signal is unusual, just can realize timely warning.The embedded video anti-fake circuit board adopts the integrated design scheme with the video monitoring camera, produce a whole set of pseudorandom logo symbol sebolic addressing by the embedded video anti-fake circuit board, order according to the pseudorandom symbol sebolic addressing, dynamic pseudo-random logo symbol successively superposes in the monitoring camera analog video output signal, signal is after being transferred to main monitoring client, the video anti-counterfeiting monitor system software that moves in the main monitoring client carries out pattern recognition to the live video of the anti-false signal of dynamic pseudo-random that superposeed, coupling, dynamic pseudo-random logo symbol to stack carries out real-time synchronous detecting affirmation, has prevented the introducing of pseudo-vision signal.Simultaneously; monitoring camera is disassembled, split moving, the change of circuit for anti-locking system is in operation at main monitoring client; monitored picture is by illegal operations such as instantaneous interruptions; the video anti-counterfeiting supervisory control system has been carried out real-time monitoring to vision signal; in case find the unusual or instantaneous interruption of live video, just can in time report to the police.Effectively ensured the authenticity of live video.System also provides and each monitor channel is carried out continuously dynamically video recording, instant static image has caught, writes down each policer operation and the unusual functions such as audit log of video, guarantee authenticity, real-time and the playback property afterwards of monitoring live video, be convenient to the reproduction of examining and detect live video afterwards.
As shown in Figure 1, video anti-counterfeiting monitoring device, on-site supervision camera 1 connects videoanti-fake circuit board 2, and videoanti-fake circuit board 2 connectsmonitor 3 and computer 4 respectively by transmission network A, and computer 4 is equipped with videofrequency collection card 5 and display 6.On-site supervision camera 1 is gathered the analog video input signal, the field video signal of 2 pairs of passages of every embedded video anti-fake circuit board carries out false proof dynamic logo and generates and overlap-add procedure, after the processing by each piece embedded video anti-fake circuit board, the stack of maximum 8 passages the analog video signal of false proof dynamic logo be imported into and carry out on-site supervision on themonitor 3, also be input to simultaneously the 8 passage videos input capture card 4 in thecomputer 3, each passage carried out video monitoring, identification and false proof by the video anti-counterfeiting monitor system software that moves on thecomputer 3.
Video anti-counterfeiting monitoring device is applicable to common surveillance, each the used logo of anti-fake circuit board that vision signal is joined storehouse, road is all inequality, use different algorithms, position and size that logo stack back is occurred on video are all inequality, during computer Recognition, with this each road vision signal is distinguished, formed the key relation.
The video anti-counterfeiting method for supervising, concrete steps are:
1. video anti-fake circuit board is constantly selected different logos according to pseudo-random algorithm by the time interval, generates coordinate position and logo size;
2. video anti-fake circuit board is added to logo on the on-site supervision camera video signal, transmits again;
3. the monitoring image that shows the logo that superposeed on the receiving terminal monitor, logo move about by generating coordinate position and logo size on image, remind the current circuit situation of monitor staff;
4. computer by capture card cut-away view picture, analyze logo, and if preestablish logo and be not inconsistent, then report to the police;
5. if having the people to tear monitoring circuit open or pseudo-video is deceived in introducing, logo stops migration, the computer warning.
As shown in Figure 2, video anti-fake circuit board, comprise power supply clock module, vision signal separated in synchronization module 201, micro controller module 203, library stores module 204 and video character laminating module 202, vision signal separated in synchronization module 201 connects micro controller module 203 and video character laminating module 202 respectively, library stores module 204 connects video character laminating module 202, and the power supply clock module connects micro controller module 203 and video character laminating module 202 respectively.Wherein, vision signal separated in synchronization module 201 employing models are the chip of LM1881N; It is the chip of AT89C51 that micro controller module 203 adopts model; It is the chip of MB90092 that video character laminating module 202 adopts model; It is the chip of AM29F040B that library stores module 204 adopts model.
Vision signal is from on-site supervision camera 1, and its bandwidth is 6MHz, except that picture signal, also comprises synchronization line field signal, blanking signal, serrated pulse signal and pre-and-post equalization pulse etc. in the composite analog video signal, is the zero level datum mark with the blanking level.Because row, field system chronizing impulse are the benchmark that character shows, the composite analog video signal of input separates trip, field system chronizing impulse through synchronizing separator circuit earlier.Vision signal separated in synchronization module 201 adopts a row separator chip of the LM1881N model of National Semiconductor company, the integrated level height of this chip, only a small amount of peripheral circuit of need just can extract the synchronizing signal in the vision signal effectively, isolates composite synchronizing signal, field sync signal, blanking signal, parity field signal in PAL, NTSC, the Sequential Color and Memory system formula vision signal.Vision signal separated in synchronization module 201 is input as the composite analog video signal of pal mode, be connected into LM1881N through coupling capacitance, as shown in Figure 3, output composite synchronizing signal and field sync signal, 201 outputs of vision signal separated in synchronization module are used separately as row, the field synchronization input signal of follow-up video character chip superposed MB90092.
It is the chip of AT89C51 that micro controller module 203 adopts model, because AT89C51 itself does not have Serial Peripheral Interface (SPI), therefore, in software design, utilizes the common I/O mouth Serial Communication Simulation of AT89C51, utilizes software to realize that simulation SPI mode communicates.In side circuit, by P1.0, the P1.1 of AT89C51, P1.2 respectively as data I/O (SIN), serial clock (SCLK) and the chip selection signal (CS) of MB90092, MB90092 is not input to the order wire of AT89C51, this simulation SPI system bus only needs 3 order wires to realize, as shown in Figure 4.AT89C51 also is used to detect whether normal transmission of vision signal, when in a single day on-site supervision camera 1 is cut off, vision signal separated in synchronization module 201 chip LM1881N can detect less than the video field sync signal, with this signal conveys to AT89C51, stop to carry out logo character stack saltus step by AT89C51 control of video laminating module 202, provide warning message simultaneously, so that the related personnel checks unusually.After handling unusually, if will start native system, only need artificial triggering signal of external interrupt INT1 to AT89C51, system then continues operate as normal.
Library stores module 204 adopts the Flash Memory AM29F040B of AMD, and the memory capacity of this chip is the 512K byte, can store 4096 characters, and each character takies 128 bytes.Select 24 * 24 dot matrix fonts for use, adopt false proof logo character library editor to generate software, generate 24 * 24 false proof logo dot matrix fonts, burned in advance word-base chip.As shown in Figure 5, each row has 24 points, because each point uses a bit to represent, if this bit value is 1, represents that then this position display is a stain, otherwise, represent that then this position do not fill stain, and 8 bits are a byte, so each line data needs 3 bytes in left, center, right to deposit, and theleft side 32 bytes leave in the continuous space from top to bottom, the same left side of storage organization on centre and the right.Because the character that used character overlap chip MB90092 supports shows that dot matrix is 24 * 32, for adapting to MB90092, it is blank that the 24th~31 byte of each logo character, 56~63 bytes, 88~127 bytes should be, and promptly each part the 24th~31 byte of the left, center, right of each word is changed to blank.
The library stores structure that video anti-fake circuit board adopts is different with general library stores structure, in general character library, the information of common same word is to be stored in the continuous zone of a slice, and the character library that adopts, each word is divided into three parts in left, center, right, and each part is totally 32 bytes from top to bottom.As Fig. 6, the storage organization of this character library is arranged to: 4096 logo characters are divided into 32 groups, every group of 128 characters.Take out the left-hand component of 128 characters of first group earlier, deposit in the storage chip successively, taking out the mid portion of these 128 characters again deposits in the storage chip, taking out the right-hand component of these 128 characters at last deposits in the storage chip, accounting for 128 * 96B altogether is the memory space of 12KB, stored first group after, vacate the space of 4KB, according to deposit other each group successively in upper type, vacate 4KB equally between each group thereafter again.
32 bytes of corresponding each part of the ADR0 of MB90092~ADR4; The corresponding character code low level of ADR5~ADR11; The corresponding character code high position of ADR14~ADR20; Address wire ADR12, ADR13=00, left, center, right three parts of 01,10 o'clock corresponding logo character of difference need not when " 11 "; These addresses are sought when MB90092 works automatically, and its address wire ADR0~ADR4, ADR12~ADR13, ADR5~ADR11, ADR14~ADR18 link to each other with address wire A0~A18 of AM29F040B respectively; When the AM29F040B sheet is chosen CE put low level, when signal WE puts high level for writing; Read signal OE is by the READ signal controlling of MB90092.
Each all is made up of the false proof logo character of the required stack ofvideo 24 * 32 dot matrix, and promptly each logo character is represented by 96 byte datas.Read the order of dot array data according to the address interface of circuit and outside character memory relation and circuit, earlier required character is burnt among the external memory storage AM29F040B, outside character memory like this brings great convenience to design, and system can change false proof logo character library as required at any time.
It is the chip of MB90092 that video character laminating module 202 adopts model, MB90092 is a video character chip superposed made from CMOS technology that Japanese FUJITSU company releases, its inner integrated display memory (VRAM), plug-in character library interface and flying-spot video generator, outside only need to connect a spot of circuit element just can character display and figure.Chip functions is powerful, and interface is simple, and programming is convenient, can embed easily in the various digital video monitor systems.
As Fig. 7, the major function of MB90092 is as follows:
Dual display function can be provided, and main screen and sub-screen can independent or overlapping demonstrations;
The main screen capacity of display: 24 characters * 12 row (maximum 288 characters);
Character boundary have standard (24 * 32 dot matrix), double wide, double height, double wide * double height, four times wide * double high various modes;
Character color: each character can be provided with 8 kinds of different colors and 8 kinds of background colours separately;
Display position can be arranged to horizontal direction and vertical direction arbitrarily, can set line-spacing simultaneously;
Existing composite video signal and the input of Y/C separating video signal also have composite video signal, Y/C separating video signal and the output of RGB digital video signal;
The internal video signal generator can be supported NTSC or pal mode, and can select line by line or interlace mode;
Can communicate by CS, SCLK, three pins of SIN and external control system;
Can receive external command and data and behind decoder decode, deliver to each register by the serial input control module;
The NTSC/PAL signal generator can produce the NTSC/PAL clock signal of system;
The display-memory control module can produce the control clock signal of each module;
Available display-memory VRAM store character code, character color, character background color, feature and row control information;
The font memory control module can read character font data in the outside font memory by address and READ signal;
Can handle the character data of fetching from CGROM by output control module, produce the signals such as border, background of character simultaneously;
The vision signal synthesizer produces vision signal and luminance signal under the control of inner synchronousing signal;
It is with outer video signal that analog switch can be used to select or internal video signal synthesizes with character signal.
Micro controller module 203 chip AT89C51 simulation serial data mouth sends instruction to MB90092, and each instruction is made up of two bytes.Preceding 5 of first byte is command code, and all the other positions and second byte are data, realizes the various controls that character is superposeed and shows by these instructions.MB90092 has 14 control commands, whereinorder 1 andorder 2 be divided into three kinds again, the specific instructions function is as follows:
Order 0:VRAM address control.The character display-memory (VRAM) of MB90092 comprises main screen character control RAM, son screen row control RAM and main screen row control RAM.Be used to control three kinds of different functions of RAM and makeorder 1 withorder 2 three kinds of different forms be arranged respectively, order 0 is used to select the address of VRAM;
Order 1-1: mainscreen character control 1;
Order 2-1: main screen character control 2.Order 1-1 and 2-1 are used for main screen character control RAM is write, and they can be each character designated color of main screen, background colour and the code of character in character ROM;
Order 1-2: sonscreen row control 1;
Order 2-2: son screen row control 2.Order 1-2 and 2-2 are mainly used in antithetical phrase screen row control RAM and write, can refer to the code of the every start of line character of stator plates in character ROM, every line character color, character output control and show control etc.;
Order 1-3: mainscreen row control 1;
Order 2-3: main screen row control 2.Order 1-3 and 2-3 are used for main screen row control RAM is write, and they are used to specify color phase place, shaded background chromatic effect, row background colour, character boundary, character display priority and the character output control format of the every line character of main screen;
Order 3:VRAM writes control.When the VRAM filling is set at 1, MB90092 will fill all VRAM once according to the content that sets;
Order 4: screen control 1.Control is inside and outside to be selected synchronously, line by line/interlacing scan is selected, the NTSC/PAL system is selected and show control etc.;
Order 5: screen control 2.The selection of control background special efficacy, the setting of main screen between-line spacing etc.;
Order 6: mainscreen row control 3;
Order 7: the vertical display position control of main screen.The vertical original position that can between the 0th~63 row, specify main screen to show;
Order 8: the horizontal display position control of main screen.The horizontal original position that can between the 0th~511 row, specify main screen to show;
Order 9: the kanji pattern shows control;
Order 10: color control.But designated character color, character background colour and screen background color control;
Order 11: son screen control.If stator plates character color and character background special efficacy;
Order 12: the vertical display position control of son screen.Can between the 0th~255 row, refer to the vertical original position that stator plates shows;
Order 13: the horizontal display position control of son screen.Can between the 0th~1022 row, refer to the horizontal original position that stator plates shows.
In the video anti-fake circuit board design, only utilized the main screen Presentation Function of MB90092.The groundwork process of system is: need to receive separated in synchronization module 201 isolated capable field sync signals show the time as character benchmark on the one hand; Need to receive the various control commands that AT89C51 sends by the serial of P1 mouth on the other hand, also to directly read the character pattern information in the FLASH character library simultaneously, deliver in the ram in slice by setting successively, at last the character among the RAM in the vision signal of standard and the sheet is superposeed, output on the computer 4 ofmonitor 3 or main monitoring client.
The video anti-fake circuit board circuit voltage is 5v DC, L7805CV obtains through voltage transitions by the voltage stabilizing chip, the power supply clock module is that the two passive crystal oscillators of 12MHz and 17.7344MHz are formed by frequency, be respectively micro controller module 203 master chip AT89C51 12MHz is provided operating frequency, and provide 17.7344MHz operating frequency for the master chip MB90092 of video character laminating module 202.
During concrete the application, on-the-spot composite analog video signal by the pal mode of the 201 pairs of on-site supervision cameras of vision signal separated in synchronization module input carries out the separation of field signal, vision signal separated in synchronization module 201 output composite synchronizing signal and field sync signals are used for micro controller module 203; Realize controlled function by micro controller module 203, micro controller module 203 sends instruction to video character laminating module 202, by the various controls of instruction realization, and have the function whether the detection field video signal reaches warning unusually concurrently to stack of logo character and demonstration; Library stores module 204 adopts the Flash Memory chip AM29F040B of AMD, and false proof logo character library editor generates software and generates 24 * 24 false proof logo dot matrix fonts and burned in advance word-base chip; 202 pairs of in-site modeling video input signals of video character laminating module carry out actual false proof logo character stack and produce mixed video output.Owing to can be connected to 8 passage input video capture cards in the main control end computer 4 at most by the mixed video output signal of 8 video anti-fake circuit boards respectively, thereby this equipment can be handled the monitoring of 1~8 road video anti-counterfeiting simultaneously.
In sum, the present invention has designed a kind of video monitoring system that greater security ensures that possesses, the method of stack dynamic pseudo-random logo symbol on monitoring screen, on the single-chip microcomputer of monitoring camera head end embedded video anti-fake circuit board of design according to pre-designed pseudo random sequence stack logo character signal in the vision signal at the scene, main control end video anti-counterfeiting supervisory control system is carried out pattern recognition to the dynamic pseudo-random logo symbol that superposes in the frame of video that enters continuously, coupling, analyze, logo character information in the synchronous detecting vision signal is realized highly reliable real-time live video monitoring.
Designed multiple identification, coupling and detection algorithm, synchronous detecting mechanism adopts a series of stratified detection, checking and fault-tolerant means from coarse to fine in specific implementation, both guaranteed the stability of system, has prevented false alarm again.
This video anti-counterfeiting supervisory control system has prevented system, and monitoring camera is replaced when normal monitoring in real time, monitored picture is switched, monitoring circuit is invaded, video source is by illegal acts such as the pseudo-video of the illegal third party replace, make the image better authenticity and the reliability of monitor video, thereby have higher fail safe.Native system is applicable to the occasion that the monitoring security performance is had relatively high expectations, as important departments such as museum, bank, customs and company warehouses.Can believe, along with video monitoring technology rapid development and range of application are constantly expanded, native system guarantees that to the on-site supervision of important department, to the real-time monitoring of high-tech, high value object authenticity, real-time and the playback property of monitoring live video played a greater and greater role.
Modern design of the present invention prevents that unique personnel from tearing the moving-wire road open, introduces and deceive pseudo-video; Its scheme is simple, and result of use is better, is applicable to general supervisory control system; It is the new design of a practicality.
What need understand is: the above only is a preferred implementation of the present invention; for those skilled in the art; under the prerequisite that does not break away from the principle of the invention, can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.