Summary of the invention
The features and advantages of the present invention are partly statement in the following description, perhaps can describe obviously from this, perhaps can learn by putting into practice the present invention.
For overcoming prior art problems, the invention provides a kind of internet alarm system and alarm method of checking based on video thereof, by the warning message address video equipment is done association, and obtain the Realtime Alerts video flowing from the video equipment of association, thereby the staff who makes the alert service center need not search corresponding video in video monitoring system, can efficiently handle alert fast.
It is as follows that the present invention solves the problems of the technologies described above the technical scheme that adopts:
According to an aspect of the present invention, provide a kind of alarm method of checking based on video, comprising: S1, reception alerting signal, from this alerting signal, extract the warning address information; S2, determine related video equipment according to this warning address information; S3, obtain corresponding warning video flowing from this related video equipment, and should the warning video flowing show or download according to predefined duration.
According to one embodiment of present invention, in this step S3, when should the warning video flowing downloading according to predefined duration, comprising: download and preserve into the preceding video file of warning according to the warning video flowing that predefined first duration will receive before this alerting signal; Or will receive warning video flowing after this alerting signal according to predefined second duration and download and preserve into video file after the warning.
According to one embodiment of present invention, also comprise step: from the preceding video file of this warning or the back video file of reporting to the police, extract picture file according to pre-set time interval.
According to one embodiment of present invention, also comprise step: be this alerting signal sign identification code, at least one is undertaken related with this alerting signal by this identification code in the preceding video file of should reporting to the police, report to the police back video file and this picture file.
According to one embodiment of present invention, also comprise step: the configuration linkage rule is used for determining the concrete action and the action parameter that should the warning video flowing show or download at step S3; The device number of the video equipment that this interlock is regular and related with this warning address information is configured to the interlock information table; Video equipment information number is configured to the video equipment information table together with this facility information corresponding equipment.
According to one embodiment of present invention, also comprise step: the device number that in this interlock information table, obtains regular and related with this warning address information video equipment of this interlock according to this warning address information; In this video equipment information table, obtain related video equipment information according to this device number.
According to one embodiment of present invention, this warning address information is represented with user's identification code.
According to another aspect of the present invention, provide a kind of internet alarm system of checking based on video, comprising: the warning processing module, be used for receiving alerting signal, from this alerting signal, extract the warning address information; The interlock processing module is used for determining related video equipment according to this warning address information; Video processing module is used for obtaining corresponding warning video flowing from this related video equipment, and should the warning video flowing shows or download according to predefined duration.
According to one embodiment of present invention, this video processing module comprises that video recording obtains submodule, is used for will receiving the preceding warning video flowing of this alerting signal according to predefined first duration and downloads and preserve into the preceding video file of warning; Or will receive warning video flowing after this alerting signal according to predefined second duration and download and preserve into video file after the warning.
According to one embodiment of present invention, this video processing module comprises that also picture obtains submodule, is used for extracting picture file according to pre-set time interval from the preceding video file of this warning or the back video file of reporting to the police.
The invention provides a kind of internet alarm system and alarm method of checking based on video thereof, by the warning message address video equipment is associated, and obtain the Realtime Alerts video flowing from the video equipment of association, thereby the staff who makes the alert service center does not need to search in addition corresponding video in video monitoring system, can efficiently handle alert fast; And video file that will be relevant with this alerting signal or picture file undertake relatedly by the identification code of alerting signal, can transfer the file relevant with this alerting signal fast.
Simultaneously, the present invention can be further with before the warning of obtaining and the video file after reporting to the police compare, more can realize the function that video is checked, thereby further fast and effeciently screen wrong report.
By reading instructions, those of ordinary skills will understand feature and the content of these technical schemes better.
Embodiment
As shown in Figure 1, the invention provides a kind of alarm method of checking based on video, comprising: S1, reception alerting signal, from this alerting signal, extract the warning address information; S2, determine related video equipment according to this warning address information; S3, obtain corresponding warning video flowing from this related video equipment, and should the warning video flowing show or download according to predefined duration.
Among this step S3, when should the warning video flowing downloading according to predefined duration, comprising: download and preserve into the preceding video file of warning according to the warning video flowing that predefined first duration will receive before this alerting signal; Or will receive warning video flowing after this alerting signal according to predefined second duration and download and preserve into video file after the warning, wherein can equate also can be unequal for this first duration and second duration.Also comprise step: from the preceding video file of this warning or the back video file of reporting to the police, extract picture file according to pre-set time interval.
It needs to be noted: should the warning video flowing in this step S3 show or the concrete action of downloading and the information of action parameter can be configured.In the present embodiment, the device number with above-mentioned information and the video equipment related with the warning address information is configured in the interlock information table as shown in table 1 together.The address information of wherein reporting to the police represents that with user's identification code in the present embodiment, user's identification code is Customs Assigned Number; When the user has a plurality of defence area, each defence area of user further can be numbered, in order to determine to take place the address of warning fast, the address information of reporting to the police this moment comprises Customs Assigned Number and user defence area numbering.
Customs Assigned Number |
User defence area numbering |
The alert type |
Device number |
The interlock rule |
Other |
… |
… |
… |
… |
… |
… |
1000 |
001 |
The 131(holdup) |
1 |
Interlock rule 1 |
? |
… |
… |
… |
… |
… |
… |
Table 1
Interlock in the table 1 rule is used for determining the concrete action and the action parameter that should the warning video flowing show or downloads at this step S3, and the regular content of this interlock comprises following at least one item:
1, shows real-time warning video flowing;
2, will receive the preceding warning video flowing of this alerting signal according to predefined first duration and download and preserve into the preceding video file of warning;
3, will receive warning video flowing after this alerting signal according to predefined second duration and download and preserve into video file after the warning;
4, before warning, extract picture file at interval in the video file according to the predefined very first time;
5, after warning, extract picture file in the video file according to predefined second time interval.
The information that also comprises the alert type in interlock information table as shown in table 1, the information of this alert type with the different different alert types of numbering representative, for example 131 represent holdup equally, can dispose different interlock rules according to different alert types; Certainly different type of alarm also can dispose unified interlock rule.
In step S1, in this alerting signal, except can extracting the warning address information that comprises Customs Assigned Number and user defence area numbering, can also extract the information of alert type.
In step S2, the concrete steps of determining related video equipment according to this warning address information comprise: according to the warning address information, also in table 1, obtain device number and the interlock rule of the video equipment related with the address information of reporting to the police again according to the information of alert type in case of necessity; In the video equipment information table shown in the following table 2, obtain related video equipment information according to device number then, as shown in table 2, the facility information that disposes in the video equipment information table comprises device number, Customs Assigned Number, IP(Internet Protocol Address, internet protocol address), port, user name, password etc.; Determine related video equipment according to this related video equipment information at last.
Device number |
Customs Assigned Number |
IP |
Port |
User name |
Password |
Other |
… |
… |
… |
… |
… |
… |
… |
1 |
1000 |
100.100.100.100 |
80 |
Admin |
admin |
? |
… |
… |
… |
… |
… |
… |
… |
Table 2
In step S3, specifically be the video flowing of reporting to the police accordingly directly will be shown or all need carry out according to the interlock rule in the table 1 according to predefined duration is downloaded and this duration is concrete numerical value.Specifically, the action that will carry out in step S3 comprises at least with the next item down:
1, display alarm video flowing: obtain real-time video flowing according to the agreement of the video equipment of association from the video equipment of association, be presented on the interface after the decoding.The agreement of above-mentioned video equipment support includes but not limited to the proprietary protocol that GB28181, Streaming Media, ONVIF, video equipment producer provide etc.
2, download to report to the police before video file: the agreement of supporting according to the video equipment of association according to predefined first duration in the interlock rule, is downloaded the video file that receives before the alerting signal from the video equipment of association.This first duration can be adjusted by the parameter in the rule that links, and this first duration is 60 seconds in the present embodiment.Realize that this action needs this related video equipment to support the front end video recording memory function, and be configured to video recording in 24 hours.
3, the back video file of download reporting to the police: the agreement of supporting according to the video equipment of association according to predefined second duration in the interlock rule, is loaded in the video file that receives after the alerting signal down from the video equipment of association.This second duration can be adjusted by the parameter in the rule that links, and this second duration also is 60 seconds in the present embodiment.The code/decode format of above-mentioned video file includes but not limited to MJPEG, MPEG2, MPEG4, H.263, H.264, H.265 waits and privately owned code/decode format that equipment producer provides.
4, the picture file of video file before extraction is reported to the police: extract picture file from the preceding video file of reporting to the police according to predefined very first time interval in the interlock rule, this very first time can be adjusted by the parameter in the rule that links at interval, and this very first time is spaced apart 10 seconds in the present embodiment.
5, extract the to report to the police picture file of back video file: extract picture file from the back video file of reporting to the police according to predefined second time interval in the interlock rule, this second time interval can be adjusted by the parameter in the rule that links, and this second time interval also is 10 seconds in the present embodiment.Above-mentioned picture file form includes but not limited to forms such as JPG, BMP, GIF, PNG.
If in step S3, video file and the back video file of reporting to the police have download before reporting to the police, and then video file and the back video file of reporting to the police compare before the warning that will download, more can realize the function that video is checked, thereby further fast and effeciently screen wrong report.
In order to consult alarm logging from now on easily, can store with video file after video file, the warning before the warning of alerting signal correspondence and from the picture file of report to the police preceding video file or the back video file extraction of reporting to the police.Its concrete step comprises: be this alerting signal sign identification code; Video file before should reporting to the police, report to the police back video file or this picture file and this alerting signal are undertaken related by this identification code, can also record the result to this alerting signal processing simultaneously.
In the present embodiment, to handle number be exactly the identification code of alerting signal for this warning.In result table as shown in table 3, comprising report to the police to handle number, information such as Customs Assigned Number, user defence area numbering, alert type, outcome record, time of fire alarming, reflect the various information of this alerting signal correspondence in all directions and to its result's processing; In video record table as shown in table 4, comprise the information of report to the police preceding video file and the back video file of reporting to the police; And in picture record table as shown in table 5, then comprise the information of the picture file that from report to the police preceding video file and the back video file of reporting to the police, extracts; Above-mentioned table 3, table 4, table 5 can be handled the identification code that number is alerting signal by reporting to the police and be associated.
Table 3
The video recording number |
Report to the police to handle number |
The video recording title |
Video time |
Other |
… |
? |
… |
… |
… |
1 |
1 |
20130201010101.mp4 |
20130201010101 |
? |
2 |
1 |
20130201010102.mp4 |
20130201010102 |
? |
… |
? |
… |
… |
… |
Table 4
Picture number |
Report to the police to handle number |
Picture name |
The picture time |
Other |
… |
? |
… |
… |
… |
1 |
1 |
20130201010100.jpg |
20130201010100 |
? |
2 |
1 |
20130201010110.jpg |
20130201010110 |
? |
… |
1 |
… |
… |
? |
10 |
1 |
20130201010250.jpg |
20130201010250 |
? |
… |
? |
… |
… |
… |
Table 5
When carrying out the configuration of table 1, table 2, can also dispose user basic information table as shown in table 6 and user defence area table as shown in table 7 simultaneously.Shown in table 6, table 7, comprise information such as Customs Assigned Number, address name, station address in the user basic information table; Then comprise information such as Customs Assigned Number, user defence area numbering and defence area title in the table of user defence area.
Customs Assigned Number |
Address name |
Station address |
Other |
… |
… |
… |
… |
1000 |
Zhang San |
XX street, XX district, XX city XX number |
? |
… |
… |
… |
… |
Table 6
Customs Assigned Number |
User defence area numbering |
The defence area title |
Other |
… |
… |
… |
… |
1000 |
001 |
National treasury |
? |
1000 |
002 |
The gate |
? |
… |
… |
… |
… |
Table 7
This shows, table 1, table 2, table 6 and table 7 can be carried out association by Customs Assigned Number, can carry out table 1 and table 7 related by Customs Assigned Number with user defence area numbering simultaneously.
Referring again to Fig. 2, Fig. 2 is the structural representation of the internet alarm system of checking based on video of first embodiment of the invention.The internet alarm system that should check based on video comprises: warning processing module 10, be used for receiving alerting signal, and from this alerting signal, extract the warning address information; Interlock processing module 20 is used for determining related video equipment according to this warning address information; Video processing module 30 is used for obtaining corresponding warning video flowing from this related video equipment, and should the warning video flowing shows or download according to predefined duration.
Please be simultaneously with reference to Fig. 3, this video processing module 30 comprises that video recording obtains submodule 31 and picture obtains submodule 32, wherein video recording obtains submodule 31 and is used for will receiving warning video flowing before this alerting signal according to predefined first duration and downloads and preserve into video file before the warning, or will receive warning video flowing after this alerting signal according to predefined second duration and download and preserve into video file after the warning; Picture obtains 32 of submodules and is used for extracting picture file video file or the back video file of reporting to the police according to pre-set time interval before video recording obtains the warning of submodule 31.
Fig. 3 is the structural representation of the internet alarm system of checking based on video of second embodiment of the invention.In the present embodiment, the internet alarm system that should check based on video also comprises information storage module 40, interface display module 50 and system configuration module 60 except comprising warning processing module 10, interlock processing module 20 and video processing module 30.
This system configuration module 60 is used for configuration interlock information table as shown in table 1, video equipment information table as shown in table 2, user basic information table as shown in table 6 and user defence area table as shown in table 7, and these tables are stored in the described information storage module 40.
This warning processing module 20 receives in the alerting signal, extracts to comprise Customs Assigned Number and the warning address information of user defence area coding and the information of alert type from this alerting signal.
Interlock processing module 20 also will be obtained device number and the interlock rule of the video equipment related with the address information of reporting to the police again according to the information of alert type in case of necessity according to the warning address information in table 1; In video equipment information table as shown in table 2, obtain related video equipment information according to device number then; Determine related video equipment according to this related video equipment information at last.
Video processing module 30 can be according to the agreement of the video equipment of association, obtains real-time video flowing from the video equipment of association, and the decoding back shows by the interface of interface display module 50.The agreement of above-mentioned video equipment support includes but not limited to the proprietary protocol that GB28181, Streaming Media, ONVIF, video equipment producer provide etc.
Video recording in the video processing module 30 obtains agreement that submodule 31 can support according to the video equipment of association from the video equipment of association, according to predefined first duration in the interlock rule, is loaded in the video file that receives before the alerting signal down.This first duration can be adjusted by the parameter in the rule that links, and this first duration is 60 seconds in the present embodiment.Realize that this action needs this related video equipment to support the front end video recording memory function, and be configured to video recording in 24 hours.
Video recording obtains agreement that submodule 31 can also support according to the video equipment of association from the video equipment of association, according to predefined second duration in the interlock rule, is loaded in the video file that receives after the alerting signal down.This second duration can be adjusted by the parameter in the rule that links, and this second duration also is 60 seconds in the present embodiment.The code/decode format of above-mentioned video file includes but not limited to MJPEG, MPEG2, MPEG4, H.263, H.264, H.265 waits and privately owned code/decode format that equipment producer provides.
When video file and the back video file of reporting to the police are all downloaded before video recording obtains submodule 31 and will report to the police, then can further video file before this warning and the back video file of reporting to the police be compared, realize the function that video is checked, thereby further fast and effeciently screen wrong report.
Picture in the video processing module 30 obtains submodule 32 can extract picture file from the preceding video file of reporting to the police at interval according to the predefined very first time in the interlock rule, this very first time can be adjusted by the parameter in the rule that links at interval, and this very first time is spaced apart 10 seconds in the present embodiment.
Picture in the video processing module 30 obtains submodule 32 can also extract picture file from the back video file of reporting to the police according to predefined second time interval in the interlock rule, this second time interval can be adjusted by the parameter in the rule that links, and this second time interval also is 10 seconds in the present embodiment.Above-mentioned picture file form includes but not limited to forms such as JPG, BMP, GIF, PNG.
This information storage module 40 also is used for video file and report to the police back video file, i.e. table 3, table 4, table 5 before the warning that result that storage handles this alerting signal and video processing module 30 obtain except being used for storage list 1, table 2, table 6, table 7.
This interface display module 50 then is used for the information of above-mentioned each table is shown, and can show the result of this alerting signal correspondence according to alerting signal, i.e. content in table 3, table 4, the table 5, or show this warning message user information corresponding and user defence area information, the i.e. content of table 6, table 7 according to alerting signal.
The present invention proposes a kind of internet alarm system and alarm method of checking based on video thereof, and when receiving alerting signal, system can auto-associating and shows or download corresponding warning video flowing.Thereby the staff who makes the alert service center can finish to receive a crime report in a cover system and handle and video is checked, and reduces artificial decision operation, makes result more accurate; When video file and the back video file of reporting to the police have download before reporting to the police, both are compared more can realize the function that video is checked, thereby further fast and effeciently screen wrong report; Simultaneously basic data such as subscriber data also only need be safeguarded in a cover system, has reduced workload, and avoids the error brought synchronously; And the personnel that receive a crime report also can finish the follow-up despatching work of dealing with emergencies and dangerous situations that connects quickly and accurately.
Simultaneously, the present invention is also in conjunction with the characteristics of video monitoring system, proposed to receive before the alerting signal and receive alerting signal after video file and the picture file technical scheme downloading or extract, and will to the result of this alerting signal with and corresponding video file or picture file carry out association by the identification code of alerting signal.So be convenient to query and search, simultaneously can complete playback report to the police and handle whole process according to alarm logging, those video files and picture file more can be used as the vaild evidence of case.
Above with reference to description of drawings the preferred embodiments of the present invention, those skilled in the art do not depart from the scope and spirit of the present invention, and can have multiple flexible program to realize the present invention.For example, the feature that illustrates or describe as the part of an embodiment can be used for another embodiment to obtain another embodiment.Below only for the preferable feasible embodiment of the present invention, be not so limit to interest field of the present invention, the equivalence that all utilizations instructions of the present invention and accompanying drawing content are done changes, and all is contained within the interest field of the present invention.