Summary of the invention
For solving the problems of the technologies described above, the embodiment of the present application provides a kind of intrusion detection performance test methods and device based on video, is used to test the performance based on the different intrusion detection products of video.
Technical scheme is as follows:
A kind of intrusion detection performance test methods, default test video sample sequence storehouse, described test video sample sequence storehouse comprise the test video sequence that is applied to different test occasions;
Described test comprises:
Select the test video sequence corresponding according to the test occasion with it;
The test video of using in the described test video sequence is according to priority tested Devices to test with the different motion pattern in proper order.
Above-mentioned method of testing, preferred, also comprise:
Collection is to the test data of described Devices to test;
Analyze described test data, obtain the intrusion detection performance index of described Devices to test.
Above-mentioned method of testing, preferred, described test video sequence has the name sign;
Described name sign comprises: application scenario sign, test scene sign, difficulty level sign, type of performance sign and sample number sign.
Above-mentioned method of testing, preferred, described priority orders is determined according to the sign of the difficulty level in the described test video sequence.
Above-mentioned method of testing, preferred, described motor pattern comprises:
Along with the parallel reciprocating motion of described Devices to test video acquisition direction;
Along with the up-and-down movement of described Devices to test video acquisition direction;
Along with the vertical repeating motion of carrying out friction speed, different attitudes of described Devices to test video acquisition direction.
A kind of intrusion detection performance testing device comprises:
The unit is preset in test video sample sequence storehouse, is used for default test video sample sequence storehouse, and described test sample book sequence library comprises the test video sequence that is applied to different test occasions;
Selected cell is used for selecting and the corresponding test video sequence of described test occasion according to the test occasion;
Test cell, the test video that is used for using the test video sequence that described selected cell selects according to priority order is tested Devices to test with the different motion pattern.
Above-mentioned device, preferred, also comprise:
Collecting unit is used to gather the test data to described Devices to test;
Analytic unit is used to analyze the test data that described collecting unit is gathered, and obtains the intrusion detection performance index of described Devices to test.
Above-mentioned device, preferred, also comprise:
Priority determining unit is used for described test cell is according to priority determined the priority that Devices to test carries out test process with the different motion pattern in proper order.
The technical scheme that is provided by above the embodiment of the present application as seen, intrusion detection performance test methods provided by the invention and device, adopt the mode in test video sample sequence storehouse that the intrusion detection performance of Devices to test is tested, include the test video sequence that is applied to different test occasions in the test video sample sequence storehouse, the test video of using in the described test video sequence is tested Devices to test with the different motion pattern by the priority orders of described test video.
Described priority orders realizes that by described test video sequence technology difficulty is definite, successively the video sequence of different technologies difficulty is tested Devices to test, according to different motor patterns, the detection performance of Devices to test is tested in the test process from all angles of Devices to test video acquisition direction.Intrusion detection performance test methods provided by the invention and device realize that from video technique a plurality of angles of the at all levels and Devices to test video acquisition direction of difficulty are tested Devices to test Video Detection performance, and test result is accurate and comprehensive; Can draw objective evaluation to the Devices to test performance.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present application, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, the accompanying drawing that describes below only is some embodiment that put down in writing among the application, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The method flow diagram of a kind of intrusion detection performance test methods embodiment one that Fig. 1 provides for the embodiment of the present application;
The method flow diagram of a kind of intrusion detection performance test methods embodiment two that Fig. 2 provides for the embodiment of the present application;
Structure chart is formed in intrusion detection test video sequence storehouse in a kind of intrusion detection performance test methods that Fig. 3 provides for the embodiment of the present application;
The first motor pattern schematic diagram that a kind of intrusion detection performance test methods that Fig. 4 provides for the embodiment of the present application provides;
The second motor pattern schematic diagram that a kind of intrusion detection performance test methods that Fig. 5 provides for the embodiment of the present application provides;
The 3rd motor pattern schematic diagram that a kind of intrusion detection performance test methods that Fig. 6 provides for the embodiment of the present application provides;
The structural representation of a kind of intrusion detection performance testing device embodiment one that Fig. 7 provides for the embodiment of the present application;
The structural representation of a kind of intrusion detection performance testing device embodiment two that Fig. 8 provides for the embodiment of the present application;
The structural representation of a kind of intrusion detection performance testing device embodiment three that Fig. 9 provides for the embodiment of the present application.
For illustrated simple and clear, above accompanying drawing shows the common form of structure, and for fear of unnecessary fuzzy the present invention, can omit the description and the details of known features and technology.In addition, the unit in the accompanying drawing is unnecessary proportionally draws.For example, can be with respect to the size of some unit in other unit enlarged drawings, thus help better to understand embodiments of the invention.Same numeral in the different accompanying drawings is represented identical unit.
Term " first " in specification and claims and the above-mentioned accompanying drawing, " second ", " the 3rd " " 4th " etc. (if existence) are to be used to distinguish similar unit, and needn't be used to describe specific order or precedence.The data that should be appreciated that such use suitably can exchanged under the situation, so as embodiments of the invention described herein for example can with except here illustrated or otherwise describe those order enforcement.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, be not necessarily limited to those unit so that comprise process, method, system, product or the equipment of a series of unit, but can comprise clearly do not list or for other intrinsic unit of these processes, method, product or equipment.
Embodiment
In order to make those skilled in the art person understand the application's scheme better.Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment only is the application's part embodiment, rather than whole embodiment.Based on the embodiment among the application, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all should belong to the scope of the application's protection.
The flow chart of a kind of intrusion detection performance test methods embodiment one that the embodiment of the present application provides as shown in Figure 1, before carrying out described method, at first default test video sample sequence storehouse, described test video sample sequence storehouse comprises the test video sequence that is applied to different test occasions; Described method of testing is carried out after presetting and finishing in described test video sample sequence storehouse, specifically comprises:
Step S101: select the test video sequence corresponding with it according to the test occasion;
Test is carried out in the process, because the workplace difference that different Devices to tests are used, so when the Devices to test that is applied in different occasions tested, need to select and the corresponding test video sequence of described test occasion according to the test occasion
Step S102: the test video of using in the described test video sequence is according to priority tested Devices to test with the different motion pattern in proper order.
Intrusion detection test video sequence storehouse is made up of the video sequence of different application occasion, and the video sequence of each application scenario is classified as from low to high according to technical difficulty: C1 level video sequence, C2 level video sequence, B level video sequence, A level video sequence; It is shown in Figure 3 that the composition structure in test video sequence storehouse such as the embodiment of the present application provide, and specific to the video sequence storehouse of each grade, all comprises and fail to report performance standard test video sequence storehouse and wrong report performance standard test video sequence storehouse;
In described test video sequence storehouse, each standard testing video sequence all has the sign of unique name, and the embodiment of the present application is an example with a concrete video sequence:
Px2x3-Sx4-x5-x6-x7x8x9
In the described video sequence, the application scenario of Px2x3 sign test video sequence:
The application scenario: represent that this video sequence is used for the test of which kind of occasion, the span of x2 and x3 is 0-9, i.e. x2:0-9, x3:0-9;
The method of testing that the embodiment of the present application provides, at the application scenario comprise 7 kinds, as shown in table 1:
The application scenario name |
Implication |
P01 |
Circuit |
P02 |
The machine room courtyard |
P03 |
Bridge rescue fire escape |
P04 |
Platform |
P05 |
The square |
P06 |
The waiting hall |
P07 |
The exit |
Table 1
In the described video sequence, the test scene of Sx4 sign test video sequence:
Test scene: represent the scene number of this video sequence, the x4 span is 0-9, i.e. x4:0-9;
In the described video sequence, the difficulty level of x5 sign test video sequence;
Difficulty level: represent the technical difficulty of this video sequence, the value of x5 is C, B, A; As shown in table 2:
The difficulty level name |
Implication |
C |
Possesses the basic application conditions of engineering |
B |
Has stronger adaptive capacity to environment |
A |
Can satisfy the application under the specific condition |
Table 2
In the described video sequence, the type of performance of x6 sign test video sequence, the span of x6 is T, F, 0; As shown in table 3:
The type of performance name |
Implication |
T |
Performance is failed to report in test |
F |
Test wrong report performance |
0 |
Other |
Table 3
In the described video sequence, the sample number of x7x8x9 sign test video sequence;
Sample number: represent the label of this video sequence, the span of x7, x8, x9 is 0-9;
The priority orders of the test video in the test video sequence is determined according to the sign of the difficulty level in the described test video sequence;
The test video of using in the described test video sequence is according to priority tested Devices to test with the different motion pattern in proper order, and described motor pattern can comprise multiple, in the method for testing that the embodiment of the present application provides, comprises following three kinds of motor patterns at least:
Motor pattern one:
Along with the parallel reciprocating motion of described Devices to test video acquisition direction:
Use corresponding test video sequence, the tester moves to distal-most end with friction speed, different attitude outside the test zone most proximal end visual field, to the test zone distal-most end, go out after test zone, to be back to the test zone most proximal end again, shown in Figure 4 as the first motion schematic diagram that the embodiment of the present application provides, four-headed arrow wherein is parallel vibration-direction; Test zone A among the figure is Devices to test camera coverage overlapping region;
Detailed exercise test process is as shown in table 4:
Table 4
Defence area in the table 4 is above-mentioned test zone, and the defence area that following motor pattern two and motor pattern are three kinds is test zone.
Motor pattern two:
Along with the up-and-down movement of described Devices to test video acquisition direction:
Use corresponding test video sequence, the tester along Devices to test camera lens vertical direction with friction speed, different attitude repeating motions, the second motion schematic diagram that its direction of motion such as the embodiment of the present application provide is shown in Figure 5, wherein four-headed arrow is the up-and-down movement direction, and overlapping region B is the camera coverage overlapping region;
Detailed exercise test process is as shown in table 5:
Table 5
Motor pattern three:
Along gathering the vertical repeating motion of carrying out friction speed, different attitudes of direction, promptly carry out the motion of " it " font with described Devices to test; Zone C is the camera shooting and video overlapping region; The 3rd motion schematic diagram that its direction of motion such as the embodiment of the present application provide is shown in Figure 6;
Detailed exercise test process is as shown in table 6:
Table 6
The method flow diagram of the intrusion detection performance test methods embodiment two that the embodiment of the present application provides on the basis of Fig. 1, also comprises as shown in Figure 2:
Step S103: gather test data to described Devices to test;
Step S104: analyze described test data, obtain the intrusion detection performance index of described Devices to test;
The present invention tests product to be measured or system by adopting test video sample sequence storehouse, after statistics and comparison, obtains test result.The performance evaluation index is made up of rate of failing to report (L) and average wrong report number (W) two parts.Rate of failing to report is used to pass judgment on the performance of failing to report of product or system, on average reports the wrong report performance that number is used to pass judgment on product or system by mistake.
Rate of failing to report (L) and average wrong report number (W) are defined as follows:
Rate of failing to report (L)
The ratio of total sample number amount is just being reported in just report sample size and test that tested product or system fail to pass through, and computing formula is as follows:
L=m/n
Wherein:
The quantity of just reporting sample of failing to pass through during the m--test
Just reporting the total quantity of sample in the test sample book that n--chooses
Average wrong report number (W)
Tested product or the system wrong report quantity that average each test sample book takes place in test process, computing formula is as follows:
W=x/y
Wherein:
The wrong report total quantity of actual generation during the x--test
The test sample book total quantity that y--chooses.
More than be the intrusion detection performance test methods embodiment that the embodiment of the present application provides, also provide corresponding a kind of intrusion detection performance testing device at this method embodiment the application with it, it is shown in Figure 7 that its structural representation such as figure the embodiment of the present application provide, and comprising:
Unit 201 is preset in test video sample sequence storehouse, is used for default test video sample sequence storehouse, and described test sample book sequence library comprises the test video sequence that is applied to different test occasions;
Selected cell 202 is used for selecting and the corresponding test video sequence of described test occasion according to the test occasion;
Test cell 203, the test video that is used for using the test video sequence that described selected cell 202 selects according to priority order is tested Devices to test with the different motion pattern.
The structural representation of a kind of invasion detecting device performance testing device embodiment two that the embodiment of the present application provides also comprises as shown in Figure 8:
Collecting unit 204 is used to gather the test data to described Devices to test;
Analytic unit 205 is used to analyze the test data that described collecting unit 204 is gathered, and obtains the intrusion detection performance index of described Devices to test.
The structural representation of a kind of invasion detecting device performance testing device embodiment three that the embodiment of the present application provides also comprises as shown in Figure 9:
Priority determining unit 206 is used for described test cell 203 is according to priority determined the priority that Devices to test carries out test process with the different motion pattern in proper order.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and identical similar part is mutually referring to getting final product between each embodiment, and each embodiment stresses all is difference with other embodiment.The above only is the application's a embodiment; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the application's principle; can also make some improvements and modifications, these improvements and modifications also should be considered as the application's protection range.