Summary of the invention
At the many drawbacks that exist in the prior art, the present invention proposes a kind of method that in the video safety defense monitoring system, realizes comprehensive network management, can be easily carry out the single equipment that work monitors by distinct interface and be linked in the network management system various, and be transferred to far-end server by Ethernet system, greatly reduce system's operation cost simultaneously.This method is to analog video employing synchronization signal detection and the detection way of combining of video amplitude, the reasonably operating state of video camera in the monitoring system of video camera simultaneously.
According to the present invention, a kind of method that realizes comprehensive network management in the video monitoring network management system is provided, this system is provided with the center NM server at the center, be used for all substations are provided with respectively, manage and add up;
Part is set comprises that central server is responsible for being provided with the mains switch machine time of each tested equipment in substation; The threshold value of each substation Network Management Equipment acquisition substation video alarm is set, the humiture alarm threshold value of each substation is set; The I/O input of substation Network Management Equipment, the relation that I/O exports corresponding various actuation of an alarms are set;
Administrative section comprises network equipment authority and client rights management, and the visit IP of substation operating state and warning authorizes, Password Management;
The Department of Statistics branch comprises all substations warnings of statistics, adds up all substation equipment running status;
This system is connected with several substation Network Management Equipments on network, each substation Network Management Equipment is responsible for
Gather the operating state of tested equipment on the corresponding substation;
Manage the mains switch time of tested equipment on this substation;
Add up the warning of each substation, and the operating state of tested equipment and the warning message of generation thereof are sent to the center NM server.
According to a preferred embodiment of the invention, this method specifically may further comprise the steps:
Step S1, each substation Network Management Equipment powers on, and system carries out initialization, reads the data of SRAM storage inside, and send liquid crystal display screen to show, the RAM that resets, open system is interrupted;
Step S2 enters main program, and response is at any time interrupted, and the receiving center NM server is provided with data by what Ethernet was sent here, and carries out respective stored;
Step S3 reads all outside expansion serial datas, judges to have or not new serial data to arrive.If there is complete packet to arrive,,, carry out the respective classified storage according to the address ram of distributing according to different serial datas source; If no new serial data arrives, directly forward next step S4 to;
Step S4 reads present clock, according to the timing switch machine data of SRAM storage, judges the switching on and shutting down state of a control, carries out the switching on and shutting down operation;
Step S5 reads the AD sampled data respectively, and stores;
Step S6 reads multichannel parallel port input state, and stores;
Step S7 with above-mentioned all data qualifications, extracts the relevant device state information, and compares with the data that are provided with that are stored in SRAM inside in advance, obtains the work at present state of internal system equipment.A current state and a last flow process state are compared, if change, then system mode is sent to center NM server and front panel liquid crystal display screen by Ethernet, show state changes; If no change directly forwards next step S8 to;
Step S8, the working state of system that obtains suddenly according to previous step is by the predefined interlock mode multichannel I/O delivery outlet that links;
Step S9, the inquiry of response Ethernet sends to center NM server and storage with the operating state of described tested equipment and the warning message of generation thereof by Ethernet;
Step S10, keyboard scan is provided with data.If data variation is set, change will be set store, and report and submit the center NM server by Ethernet; If no change directly forwards next step S11 power cut-off flow process to;
Step S11, a workflow finishes, and returns step S2 and enters next workflow.
According to a preferred embodiment of the invention, wherein said tested equipment comprises video simulation matrix, digital video code, character adder, distributor and front-end camera.
According to a preferred embodiment of the invention, the data of SRAM storage inside are that system is provided with data among the described step S1.
According to a preferred embodiment of the invention, the AD sampled data among the described step S3 is ambient temperature or humidity data.
According to a preferred embodiment of the invention, the multichannel parallel port among the described step S6 is 8 the tunnel.
According to a preferred embodiment of the invention, the relevant device state information among the described step S7 is a video amplitude information.
According to a preferred embodiment of the invention, the multichannel I/O delivery outlet among the described step S8 is 8 the tunnel.
According to the present invention, realize that in the video safety defense monitoring system method of video monitoring comprehensive network management has following feature and advantage:
The substation Network Management Equipment passes through 100M/10M self adaptation Ethernet card, thereby by the Ethernet flexible networking; Equipment has liquid crystal display screen this locality can show all settings of substation equipment and operating state.Keyboard can be provided with system parameters flexibly; Expand the accurate RS422 interface of 4 road signs by the spi bus mode, can insert the multiple equipment that carries out communication in the RS422 mode easily; By gathering the mode of video amplitude numerical value and audio video synchronization, video state is carried out more rational judgement; By the system clock system, judge the switching on and shutting down situation, and executive system internal switch machine operation; By the AD sampled data, obtain system environments temperature, humidity etc., report and submit the center NM server, make things convenient for the long-range unattended of system; By reading 8 tunnel parallel port input states, the convenient equipment of reporting to the police that inserts in the passive node mode; System can be by 8 road I/O output interlock miscellaneous equipment; Adopt SRAM to carry out efficient quick storage data.
Though will describe the present invention in conjunction with some exemplary enforcements and using method hereinafter, and it will be appreciated by those skilled in the art that and be not intended to the present invention is limited to these embodiment.Otherwise, be intended to cover all substitutes, correction and the equivalent that are included in defined spirit of the present invention of appending claims and the scope.
Other advantages of the present invention, target, to set forth in the following description to a certain extent with feature, and to a certain extent,, perhaps can obtain instruction from the practice of the present invention based on being conspicuous to those skilled in the art to investigating hereinafter.Target of the present invention and other advantages can be passed through following specification, claims, and the specifically noted structure realizes and obtains in the accompanying drawing.
Embodiment
Below in conjunction with accompanying drawing the specific embodiment of the present invention is described in further detail.It should be noted that the execution mode of in video monitoring system, realizing comprehensive network management according to the present invention as just example, but the invention is not restricted to this embodiment.
Video monitoring network management system according to the present invention is provided with the center NM server at the center, be used for all substations are provided with respectively, manage and add up.Part wherein is set comprises that central server is responsible for being provided with the mains switch machine time of each tested equipment in substation; The threshold value of each substation Network Management Equipment acquisition substation video alarm is set, the humiture alarm threshold value of each substation is set; The I/O input of substation Network Management Equipment, the relation that I/O exports corresponding various actuation of an alarms are set.Administrative section comprises network equipment authority and client rights management, and the visit IP of substation operating state and warning authorizes, Password Management.The Department of Statistics branch comprises all substations warnings of statistics, adds up all substation equipment running status.
Video monitoring network management system according to the present invention is connected with several substation Network Management Equipments on network, each substation Network Management Equipment is responsible for gathering the operating state of tested equipment on the corresponding substation; Manage the mains switch time of tested equipment on this substation; Add up the warning of each substation, and the operating state of tested equipment and the warning message of generation thereof are sent to the center NM server.
Fig. 1 shows the system topological figure that is used for the Integrated Network Management System of video monitoring system according to of the present invention.As shown in Figure 1, the center is provided with NM server, is used for all substations are provided with, manage; Adding up all substations reports to the police; Add up all substation equipment running status; Network equipment authority and client rights management.In a preferred embodiment, on network, can connect 32 clients,, corresponding substation equipment be monitored by the NM server mandate.Simultaneously, on network, can connect several substation Network Management Equipments, each substation Network Management Equipment is responsible for the operating state of the warning message of the operating state of the tested equipment on the corresponding substation of gathering and generation thereof, and wherein tested equipment comprises equipment such as video simulation matrix, digital video code, character adder, distributor, front-end camera; Manage the mains switch machine time of this tested equipment in station; Add up this station warning etc.And foregoing is sent to the center NM server.
A plurality of substation Network Management Equipment 1-n are connected to the center NM server by 10M/100M self adaptation Ethernet interface.According to a preferred embodiment of the invention, this system supports the ethernet communication agreement of standards such as UDP, TCP/IP.Central server is responsible for being provided with the mains switch machine time of each tested equipment in substation; The threshold value of each substation Network Management Equipment acquisition substation video alarm is set, the humiture alarm threshold value of each substation is set; The I/O input of substation Network Management Equipment, the relation that I/O exports corresponding various actuation of an alarms are set.And each substation Network Management Equipment receiving center NM server is provided with data (switching on and shutting down time, video alarm threshold value, arranged in matrix parameter, I/O input definition, I/O output definition etc.) to corresponding each station; Each substation Network Management Equipment is uploaded to the center NM server in real time with the operating state data of each tested equipment in substation; Each substation Network Management Equipment is uploaded to the center NM server in real time with the warning message of each tested equipment in substation; Each substation Network Management Equipment is uploaded to center NM server etc. with the environmental parameter of each substation.
Hereinafter with reference to a preferred embodiment of the present invention, the function of substation Network Management Equipment is described in detail.
The substation Network Management Equipment is gathered equipment alarm information such as a plurality of video simulation matrixes, the processing of many pictures, and reads the warning configuration information of these equipment, and judging reports to the police sets up not, and stores, and reports center NM server and panel liquid crystal screen and shows.
The substation Network Management Equipment receives the analog video amplitude data, and reads the SRAM internal alarm threshold value is set, compare with it, and storage, report center NM server and panel liquid crystal screen and show.By variation to this road analog video amplitude, can clearly judge the operating state of this video camera, for example whether aperture is opened etc.
The substation Network Management Equipment receives with the state of passive node as the equipment (for example various infrared monitoring equipment) of operating state indication or warning, and read the warning configuration information of these equipment, judging reports to the police sets up not, and stores, and reports center NM server and panel liquid crystal screen to show.
The substation Network Management Equipment has the I/O output port of 8 road band 500ma driving forces to be exported according to the parameter that sets in advance, and stores, and reports center NM server and panel liquid crystal screen to show.
The substation Network Management Equipment is gathered analog signals in real time, for example temperature, humidity etc., and read the warning configuration information of these equipment, judging reports to the police sets up not, and stores, and reports center NM server and panel liquid crystal screen to show.
The substation Network Management Equipment is realized power on/off function automatically according to the switching on and shutting down time of predefined multiple power supplies control port, and these states are reported the center NM server.
Panel liquid crystal shields real-time display working condition, and service data.
The substation Network Management Equipment detects keyboard commands, supports local directly modification parameter, and storage, reports the center NM server.
Hereinafter with reference to Fig. 2, the structured flowchart of substation according to the present invention Network Management Equipment is described.
As shown in Figure 2, utilize the core MCU of cheap W77E58 (MCU model), realize substation various interface expansion as substation system.
From MCU expansion a slice RTL8139, realize 10M/100M self adaptation Ethernet interface, be used for realizing that substation equipment is connected with the communication of far-end server.This system supports the ethernet communication agreement of standards such as UDP, TCP/IP.
1 GM8142 chip of simulation SPI serial port expansion from MCU, realize the expansion of 4 road RS422/485 COM port, be used for gathering a plurality of video simulation matrix warning messages, many pictures treatment facility, analog video amplitude data operational data etc., and video simulation matrix running parameter etc. is set.GM8142 is the chip of a slice SPI input tape 4 tunnel serials output, realizes that the baud rate scope of communication is: 300~921600.
From the MCU parallel port, utilize 8 I/O input ports of expansion such as tri-state bus driver 74HC245, photoelectrical coupler, can insert flexibly with passive node information is the equipment (for example various infrared monitoring equipment) of operating state indication or warning.
From the MCU parallel port, utilize tri-state bus driver 74HC245, latch 74HC573, Darlington transistor array ULN2008 to expand the I/O output port of 8 road band 500ma driving forces, needing in the control of video supervisory control system to be used for the equipment that links, for example warning lamp, warning signal, system's operation indicator light.
From the MCU parallel port, expand 1 ADC0804, realize gathering the analog signal function, utilize the switching between the electronic analog swtich CD4066 realization multichannel analog signals passage again.Add the humiture state that Temperature Humidity Sensor can the remote supervisory equipment machine room, the analog quantity of perhaps gathering miscellaneous equipment by this expansion.
From the MCU parallel port, utilize tri-state bus driver 74HC245, latch 74HC573, Darlington transistor array ULN2008, relay, expansion multiple power supplies control port, can control system inner AC220 power supply input realizes the functions such as remote on-off, automatic time switch machine to substation system.
From the MCU parallel port, utilize tri-state bus driver 74HC245, latch 74HC573, DS1230, the RAM of 62256 extension storage information 32K and the SRAM of 32K.Be used for related datas such as information that storage system camera video signal amplitude is provided with, timing switch machine information, analog matrix configuration information, communication information.
From the MCU parallel port, utilize tri-state bus driver 74HC245, liquid crystal display screen LM240641, push-button array, realize that the device panel liquid crystal display screen shows and keyboard is provided with function.Make things convenient for the network operator system network management to be provided with in the substation, and the operating state of supervision various device.
Referring now to Fig. 3,, substation webmaster management function and extensibility have been described.
As shown in Figure 3, can insert the equipment that various brand video matrixs, many picture processors, video detecting unit etc. are provided with, report to the police with communication modes flexibly according to substation of the present invention Network Management Equipment.
This substation Network Management Equipment can also insert analog quantity output equipments such as Temperature Humidity Sensor, acquisition system work at present ambient condition.
This substation Network Management Equipment can also insert power-supply controller of electric, thereby controls the multiple power supplies switching on and shutting down time neatly automatically.
This substation Network Management Equipment can also be exported by I/O and control multiple passive node outside interlocking equipment, for example warning lamp, warning signal, run indicator etc.
This substation Network Management Equipment can also be imported by I/O and insert other passive node input equipment, just be linked into the passive node input of Integrated Network Management System with the passive node form, with the equipment of reporting and submitting its operating state indication or reporting to the police, for example infrared correlation alarm etc.
It should be noted that, I/O input and I/O output are independently two parts of difference, the function of I/O input is that collection is the operating state of the equipment of operating state display message in the passive node mode, and the I/O input is programmable, and it is 256 kinds of state informations that maximum can be expanded input variable.The function of I/O output is when any alarm generation,, exports the not necessarily corresponding I/O input of these outputs by the pre-set warning output relation of programming.
Referring now to Fig. 4,, the method for work flow process of substation Network Management Equipment has been described.
Step S 1, and the substation Network Management Equipment powers on, and system carries out initialization, and the system that reads the SRAM storage inside such as is provided with at data, and send liquid crystal display screen to show, the RAM that resets, and open system is interrupted.
Step S2 enters main program, and response is at any time interrupted, and the receiving center NM server is provided with data by what Ethernet was sent here, and carries out respective stored.
Step S3 reads all outside expansion serial datas, judges to have or not new serial data to arrive.If there is complete packet to arrive,,, carry out the respective classified storage according to the address ram of distributing according to different serial datas source; If no new serial data arrives, directly forward next step S4 to.
Step S4 reads present clock, according to the timing switch machine data of SRAM storage, judges the switching on and shutting down state of a control, carries out the switching on and shutting down operation.
Step S5 reads the AD sampled data respectively, i.e. ambient temperature, humidity etc., and store.
Step S6 reads 8 tunnel parallel port input states, and stores.
Step S7 with above-mentioned all data qualifications, extracts relevant device state information, particularly video amplitude information, and compares with the data that are provided with that are stored in SRAM inside in advance, obtains the work at present state of internal system equipment.A current state and a last flow process state are compared, if change, then system mode is sent to center NM server and front panel liquid crystal display screen by Ethernet, show state changes; If no change directly forwards next step S8 to.
Step S8, the working state of system that obtains suddenly according to previous step is by predefined interlock mode 8 road I/O delivery outlets that link.
Step S9, the inquiry of response Ethernet sends to center NM server and storage with the operating state of equipment such as video simulation matrix, digital video code, character adder, distributor, front-end camera and the warning message of generation thereof by Ethernet.
Step S10 keyboard scan is provided with data.If data variation is set, change will be set store, and report and submit the center NM server by Ethernet; If no change directly forwards next step S11 power cut-off flow process to.
Step S11, a workflow finishes, and returns step S2 and enters next workflow.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.