Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Referring to Fig. 1, be the structural representation of safety-protection system provided by the invention.
This system specifically comprises: local detecting devices 1, video-type safety-protection gateway 2, network shooting equipment 3, securityprotection service platform 4 anduser terminal 5, wherein:
Local detecting devices 1 comprises at least one detector, is used for the defence area monitored object is surveyed, and when detecting monitored object and abnormal conditions occur, sends alarm signals to video-type safety-protection gateway 2.In concrete application scenarios, local detecting devices 1 can comprise a plurality of detectors such as door and window magnetic detector, Infrared Detectors, smoke detector, glass detector, gas detectors, surveys at concrete monitored object respectively.Each detector in the local detecting devices 1 can be by passive switch contact or radiofrequency signal and video-type safety-protection gateway 2 electric connections.
Network shooting equipment 3 comprises equipment such as web camera, video server, video frequency collection card, network shooting equipment 3 electrically connects by WIFI, RJ45 between network shooting equipment 3 and the router by WIFI (WiMAX), RJ45 (8 pin plug) or bluetooth approach and video-type safety-protection gateway 2 electric connections.Network shooting equipment 3 carries out video acquisition to the defence area monitored object under the control of video-type safety-protection gateway 2, and picture, video-frequency band information, the real time video data of being gathered directly is sent touser terminal 5.
Video-type safety-protection gateway 2 disposes the interlock logic of detector and picture pick-up device, realize between detector and the picture pick-up device single-point to single-point, single-point to multiple spot or multi-multipoint interlock function.When detector detects abnormal signal, video-type safety-protection gateway 2 is according to the interlock logic of detector that is disposed and picture pick-up device, determine and the corresponding picture pick-up device of detector that sends alarm signal, send control information to this picture pick-up device, trigger this picture pick-up device the defence area monitored object is carried out video acquisition, and the video information of being gathered is sent to the address of appointment.
Pass through ADSL (Asymmetric DigitalSubscriber Line between video-type safety-protection gateway 2 and the securityprotection service platform 4, Asymmetrical Digital Subscriber Line), optical fiber or 3G (The 3rd Generation, the 3G (Third Generation) Moblie technology) electrically connects, when alert appears in the defence area, video-type safety-protection gateway 2 sends a warning message to securityprotection service platform 4, and this warning information comprises the facility information of local detecting devices and the video information in defence area.Simultaneously, video-type safety-protection gateway 2 also receives the control command that securityprotection service platform 4 issues, and local detecting devices 1, network shooting equipment 3 are controlled, and realizes the unified management of business information stream.For example, Control Network picture pick-up device 3 is sent touser terminal 5 with video information.
User terminal 5 is by ADSL, 3G or optical fiber and securityprotection service platform 4 electric connections.By this connection,user terminal 5 can control of video type safety-protection gateway 2 administration equipment, and reference device information, alarm logging etc.
Further, in the safety-protection system of the embodiment of the invention, be equipped with parameter configuration table on video-type safety-protection gateway 2, securityprotection service platform 4 and theuser terminal 5, be used to write down the parameter information of the terminal equipment of safety-protection system, it specifically comprises description list, agent list and control table, and is as follows:
Description list mainly comprised with safety-protection system in the information of terminal equipment, comprising: type, ID, producer, position, title, gateway address, version information.Wherein, version information is the information that has comprised description list, agent list, control table three different table.
The agent list essential record the various functions that whole safety-protection system provided, it comprises security protection module and picture pick-up device module two parts.Wherein, security protection module comprises: the defence area ON/OFF is set, defence area character is set, Defence areas alarm, acquisition defence area open/close state, obtain defence area character, unusual, other parameter lists of module region; The picture pick-up device module comprises: picture grasps control, video-frequency band is captured control, real-time video control, uploading pictures, uploaded videos section, transmission real-time video, heartbeat maintenance, regional anomaly, other parameter lists.
Control table comprises information version issue, and the parameter information of description, service, control content issue.
In the middle of concrete enforcement, above-mentioned parameter configuration table can be stored in the memory (for example FLASH flash memory) that video-type safety-protection gateway 2, securityprotection service platform 4 anduser terminal 5 self had.
In embodiments of the present invention, the terminal equipment of 5 pairs of safety-protection systems of user terminal scans comprehensively, find that device information of terminal occurs when unusual, upgrade self stored parameter configuration table, and with new parameter configuration synchronously to video-type safety-protection gateway 2 and securityprotection service platform 4, realize that the parameter configuration in the safety-protection system is synchronous automatically, realize the plug-and-play feature of terminal equipment.Method for parameter configuration to safety-protection system is described in detail below.
Referring to Fig. 2, be the schematic flow sheet of the method for parameter configuration of safety-protection system provided by the invention;
This method can be applicable in the safety-protection system of the foregoing description, and it specifically may further comprise the steps:
S100, the terminal equipment of 5 pairs of safety-protection systems of user terminal scans comprehensively, obtains described device information of terminal, when described facility information occurs when unusual, upgrade self stored parameter configuration table, and new parameter configuration table is sent to video-type safety-protection gateway 2.Specific as follows:
Behinduser terminal 5 electrifying startups, perhaps behind the updating terminal device of safety-protection system,user terminal 5 will send request automatically and be connected on the system terminal, terminal equipment (comprising terminal equipments such as local detecting devices 1, network shooting equipment 3) to safety-protection system comprehensively scans, and obtains device information of terminal.
Store parameter configuration table on theuser terminal 5, in the process of scanning,user terminal 5 compares the facility information that obtained and the facility information in self stored parameter configuration table, judges both whether identical (determining by ID and version information in the comparison description list whether both are identical); If identical, determine that then described facility information does not occur not upgrading self stored parameter configuration table unusually; If it is inequality, be that indication equipment information is changed, perhaps detect unknown facility information, then upgrade the facility information in self stored parameter configuration table, comprise directly original facility information in the description list is replaced with the facility information that is received, perhaps in description list, add the relevant information of the new equipment that is received.Further, whenuser terminal 5 upgrades self stored parameter configuration table, also wherein agent list is upgraded.
In the process of undated parameter allocation list,user terminal 5 also can generate a new version number in description list, and, system's number configuration is synchronized to video-type safety-protection gateway 2 automatically to the parameter configuration table packet that includes this new version number that video-type safety-protection gateway 2 sends after upgrading.
When new parameter configuration table packet transmission was unsuccessful,user terminal 5 will periodically resend new packet to video-type safety-protection gateway 2, till video-type safety-protection gateway 2 judgements have received described new packet.
S101, video-type safety-protection gateway 2 receives the new parameter configuration table packet thatuser terminal 5 is sent, and upgrades self stored parameter configuration table, and new parameter configuration table is sent to security protection service platform 4.Specific as follows:
After video-type safety-protection gateway 2 receives the new parameter configuration table packet that sends over fromuser terminal 5, version number in the described new parameter configuration table packet and the version number information in self stored parameter configuration table are compared, judge whether both are identical; If identical, represent that promptly original equipment disposition does not change, suspension system parameter configuration flow process synchronously automatically then, video-type safety-protection gateway 2 does not upgrade self stored parameter configuration table.If it is different, 2 of video-type safety-protection gateways extract the facility information (comprising extraction description list and agent list wherein) in the described new parameter configuration table packet, and self stored parameter configuration table upgraded, if extract facility information unsuccessful (if the description list and the agent list that are extracted, inconsistent with the field of self stored parameter configuration table, then judge to extract and get nowhere), video-type safety-protection gateway 2 can requireuser terminal 5 to resend new packet so, till video-type safety-protection gateway 2 extracts the success of redaction information.
After video-type safety-protection gateway 2 renewals self stored parameter configuration table, check and whether set up electric connection,, then regularly connect till foundation electrically connects if foundation electrically connects with security protection service platform 4.Video-type safety-protection gateway 2 is set up after the electric connection with securityprotection service platform 4, and video-type safety-protection gateway 2 is sent to securityprotection service platform 4 with the parameter configuration table packet of redaction.
S102, the new parameter configuration table that securityprotection service platform 4 receiver, video type safety-protection gateways 2 are sent is upgraded self stored parameter configuration table.Specific as follows:
After securityprotection service platform 4 receives the new parameter configuration table packet that sends over from video-type safety-protection gateway 2, version number in the described new parameter configuration table packet and the version number in self stored parameter configuration table are compared, judge whether both are identical; If identical, represent that promptly original equipment disposition does not change, then do not upgrade self stored parameter configuration table, the automatically synchronous flow process of suspension system parameter configuration; If different, then extract description list and agent list information in the new parameter configuration table packet, self stored parameter configuration table is upgraded.
The method for parameter configuration of the safety-protection system that the embodiment of the invention provides, system can detect terminal equipments such as local detecting devices, network shooting equipment automatically, find that device information of terminal occurs when unusual, can be promptly video-type safety-protection gateway be disposed again according to the configuration parameter of user's modification, simultaneously parameter configuration is synchronized on the business platform, realizes the intellectualized operation that settles at one go.And, realized the synchronous automatically of facility information and service function, make the terminal equipment plug and play, convenient for users to use.
Referring to Fig. 3, be the structural representation of the user terminal in the safety-protection system provided by the invention.
Thisuser terminal 5 specifically comprises:
Terminalequipment detection module 51 is used for the terminal equipment of safety-protection system is scanned comprehensively, obtains described device information of terminal;
The firstparameter processing module 52 is used for the facility information that will be obtained and the facility information of self stored parameter configuration table and compares, and judges whether both are identical; If identical, then do not upgrade self stored parameter configuration table; If inequality, then upgrade the facility information in self stored parameter configuration table, and generate new version number;
The firstparameter sending module 53, the parameter configuration table that is used for including new version number is sent to video-type safety-protection gateway.
Referring to Fig. 4, be the structural representation of the video-type safety-protection gateway in the safety-protection system provided by the invention.
This video-type safety-protection gateway 2 specifically comprises:
The secondparameter receiver module 21 is used to receive the parameter configuration table that includes new version number that described user terminal sends;
The secondparameter processing module 22 is used for the version number of described new version number and self stored parameter configuration table is compared, and judges whether both are identical; If identical, then do not upgrade self stored parameter configuration table; Otherwise, extract the facility information in the described new parameter configuration table, the facility information in self stored parameter configuration table is upgraded;
The secondparameter sending module 23, the parameter configuration table that is used for including new version number is sent to security protection service platform.
Referring to Fig. 5, be the structural representation of the security protection service platform in the safety-protection system provided by the invention.
This securityprotection service platform 4 specifically comprises:
The 3rdparameter receiver module 41 is used to receive the parameter configuration table that includes new version number that described video-type safety-protection gateway sends;
The 3rdparameter processing module 42 is used for the version number of described new version number and self stored parameter configuration table is compared, and judges whether both are identical; If identical, then do not upgrade self stored parameter configuration table; Otherwise, extract the facility information in the described new parameter configuration table, the facility information in self stored parameter configuration table is upgraded.
Need to prove, theuser terminal 5 among above-mentioned Fig. 3-Fig. 5 embodiment, video-type safety-protection gateway 2 and securityprotection service platform 4, can be used for realizing in the method for parameter configuration of above-mentioned safety-protection system institute in steps, do not repeat them here its concrete handling process.
Safety-protection system that the embodiment of the invention provides and method for parameter configuration thereof, scan by the terminal equipment of user terminal safety-protection system comprehensively, find that device information of terminal occurs when unusual, upgrade self stored parameter configuration table, and with new parameter configuration synchronously to video-type safety-protection gateway and security protection service platform.Adopt the embodiment of the invention, can realize that the parameter configuration in the safety-protection system is synchronous automatically, realize the plug-and-play feature of terminal equipment, convenient for users to use.
The above is a preferred implementation of the present invention; should be pointed out that 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 are considered as protection scope of the present invention.