A kind of method and apparatus of testing response time of information system
Technical field
The present invention relates to the technical field of time test, a kind of method and apparatus of testing response time of information system.
Background technology
At present, the infosystem reaction time is an important system metric weighing the infosystem quick-reaction capability (QRC), when typically referring to infosystem and being in normal operating conditions, from start node this infosystem is sent pumping signal, receive, handle the demonstration time that responds behind this signal through a plurality of information nodes to endpoint node.Because initial excitation is sent constantly and the endpoint node response constantly is difficult to accurately measure with instrument, therefore adopt the method for testing of information transmission time index usually, it is tested, promptly the use a computer formatted data bag of the band time data that writes down receiving-transmitting sides respectively calculates the difference of the delivery time and the time of reception then; Or when measuring accuracy requires to hang down, directly use stopwatch, but so often can't satisfy test request, and influenced scientific evaluation to a certain extent to the System response time of infosystem.
Summary of the invention
In order to solve the defective that existing detecting information System response time technology exists, the invention provides a kind of method and apparatus of testing response time of information system.Can guarantee original system under the situation of operate as normal, science, exactly the System response time index be tested that this method is simple, measuring accuracy is 0.04s.
For achieving the above object, the present invention adopts following technical scheme:
A kind of method of testing response time of information system comprises: transmit leg and take over party are positioned at the shooting method of testing that is positioned at the strange land with the shooting method of testing on ground and transmit leg and take over party:
1). transmit leg and take over party are positioned at the shooting method of testing with ground
Transmit leg and take over party are positioned at same place, the terminal display of transmit leg and take over party's terminal display are put together, place a time display apparatus between transmit leg and take over party's the terminal display, and make the synchronous images of sending side terminal display and receiving side terminal display and time display device be positioned at the video camera view-finder; The sending direction take over party sends pumping signal information, makes a video recording with video camera simultaneously; Then the image of shooting record is read keyframe playback afterwards, can obtain the moment and take over party that pumping signal sends receive, handle this signal and the response made constantly, the difference of the two is the reaction time of test; Because common camera per second shooting frame number is greater than 25 frames, so the measuring accuracy of this method was at least 0.04 second;
2). transmit leg and take over party are positioned at the shooting method of testing in strange land
Transmit leg and take over party are positioned at the strange land, in a place in strange land sending side terminal display and first GPS time service machine display are put together, in another place in strange land receiving side terminal display and n GPS time service machine display are put together; And making the synchronous images of sending side terminal display and first GPS time service machine display be positioned at transmit leg video camera view-finder, the synchronous images of receiving side terminal display and n GPS time service machine display is positioned at the side's of picking video camera view-finder; The time service machine time of described time service machine display is Millisecond, sends pumping signal information by the sending direction take over party; The machine of transmit leg GPS time service is simultaneously synchronoused working with take over party GPS time service machine, and the video camera of transmit leg and take over party's video camera are made a video recording synchronously; Then the image of shooting record is read keyframe playback afterwards, can obtain the moment and take over party that pumping signal sends receive, handle this signal and the response made constantly, the difference of the two is the reaction time of test.
The method of described a kind of testing response time of information system, pumping signal information is intermediate node 1-n group temporal information.
The method of described a kind of testing response time of information system, synchronous images is by image that is positioned at the first video camera view-finder and the image synchronization that is positioned at the second video camera view-finder, and the image in the first video camera view-finder is by the image construction of sending side terminal display with first GPS time service machine display; Image in the second video camera view-finder is by the image construction of receiving side terminal display with n GPS time service machine display; The one GPS time service machine display and the 2nd GPS time service machine display output in real time are accurate to the Millisecond time.
A kind of equipment of testing response time of information system comprises: time display apparatus, sending method, device, take over party's device and video camera; Sending method, device mainly is electrically connected transmit leg top intermediate node instrument by the sending side terminal display by telecommunication cable; Take over party's device mainly is electrically connected take over party top intermediate node instrument by the receiving side terminal display by telecommunication cable; Be provided with time display apparatus between sending side terminal display and the receiving side terminal display, the synchronous images of sending side terminal display and receiving side terminal display and time display device is positioned at the video camera view-finder.
The equipment of described a kind of testing response time of information system, time display apparatus are the clock that is shown to millisecond.
The equipment of described a kind of testing response time of information system, time display apparatus is made of by the GPS time service machine display that telecommunication cable is connected with serial ports RS232 GPS time service machine.
Because adopt aforesaid technical scheme, the present invention has following superiority:
The method and apparatus of this a kind of testing response time of information system can guarantee original system under the situation of operate as normal, science, exactly the System response time index is tested, and this method is simple, and measuring accuracy is not less than 0.04s.The conceptual design of this detecting information System response time can be applicable to the precision expert assignment of multinomial infosystem, has obtained effective test figure, has obtained satisfied effect, can promote to military, the civilian project of similar demand.
Description of drawings
Fig. 1 is that transmission and take over party are positioned at a kind of testing response time of information system equipment with ground;
Fig. 2 be send with the take over party not at a kind of testing response time of information system equipment in strange land;
Among the figure: 1-sending side terminal display; 2-receiving side terminal display; The 3-time display apparatus; 4-transmit leg top intermediate node instrument; 5-take over party top intermediate node instrument; 6-video camera view-finder; The 7-telecommunication cable; 8-pumping signal information; 9 (a.b)-GPS time service machines; 10 (a.b)-GPS time service machine displays.
Embodiment
Embodiment one
As shown in Figure 1, a kind of method of testing response time of information system, employing transmit leg and take over party are positioned at the shooting method of testing with ground; The equipment of this a kind of testing response time of information system comprises: time display apparatus, sending method, device, take over party's device and video camera; Sending method, device mainly is electrically connected transmit leg top intermediate node instrument (4) by sending side terminal display (1) by telecommunication cable (7); Take over party's device mainly is electrically connected take over party's top intermediate node instrument (5) by receiving side terminal display (2) by telecommunication cable (7); Be provided with time display apparatus (3) between sending side terminal display (1) and the receiving side terminal display (2), sending side terminal display (1) is positioned at video camera view-finder (6) with the synchronous images of receiving side terminal display (2) and time display device (3).
This equipment is used for transmit leg and take over party and is positioned at shooting method of testing with ground, be that the terminal display (1) of transmit leg is put together with take over party's terminal display (2), place a time display apparatus (3) between transmit leg and take over party's the terminal display, described time display apparatus (3) is for being shown to the clock of millisecond.And make the sending side terminal display (1) and the synchronous images of receiving side terminal display (2) and time display device (3) be positioned at video camera view-finder (6); The sending direction take over party sends pumping signal information (8), and described pumping signal information (8) is intermediate node 1-n group temporal information.Make a video recording with video camera simultaneously, then the image of shooting record is read keyframe playback afterwards, can obtain the moment that pumping signal is sent, the response moment that receives with the take over party, handles this signal and make, the moment that sends the millisecond clock demonstration of one group of infosystem as transmit leg is 09:20:15.361, the moment that the take over party receives one group of infosystem is 09:20:15.926, and the difference of the two is the reaction time 0.565s of one group of infosystem.Because common camera per second shooting frame number is no less than 25 frames, therefore uses the measuring accuracy of this method to be not less than 0.04s.Be positioned at the shooting method of testing on same ground as Fig. 1.
Embodiment two
As shown in Figure 2, can't be placed on infosystem under place's situation for sending with the take over party, it is the shooting method of testing that transmit leg and take over party are positioned at the strange land, the equipment of a kind of testing response time of information system that adopts comprises: 2 ones in video camera, 2 in GPS time service machine, 2 of time display apparatus, serial communication cable etc.; Its time display device (3) is made of by the GPS time service machine display that telecommunication cable (7) is connected with serial ports RS232 GPS time service machine.Export accurate gps time in real time, time showing is accurate to millisecond; Described synchronous images is by image that is positioned at the first video camera view-finder and the image synchronization that is positioned at the second video camera view-finder, and the image in the first video camera view-finder is by the image construction of sending side terminal display (1) with first GPS time service machine display (10a); Image in the second video camera view-finder is by the image construction of receiving side terminal display (2) with n GPS time service machine display (10b); The one GPS time service machine display and the 2nd GPS time service machine display output in real time are accurate to the Millisecond time.
This equipment is positioned at the shooting method of testing in strange land for transmit leg and take over party, be sending side terminal display (1) and first GPS time service machine display (10a) to be put together, receiving side terminal display (2) and n GPS time service machine display (10b) put together in another place in strange land in a place in strange land; And making the sending side terminal display (1) and the synchronous images of first GPS time service machine display (10a) be positioned at transmit leg video camera view-finder (6), receiving side terminal display (2) is positioned at the side's of picking video camera view-finder (6) with the synchronous images of n GPS time service machine display (10b); The time service machine time of described time service machine display is Millisecond, sends pumping signal information (8) by the sending direction take over party; Transmit leg GPS time service machine (9a) is synchronoused working with take over party GPS time service machine (9b) simultaneously, and the video camera of transmit leg and take over party's video camera are made a video recording synchronously; Then the image of shooting record is read keyframe playback afterwards, can obtain the moment that pumping signal is sent, in the response moment that receives with the take over party, handles this signal and make, the difference of the two is the reaction time of the infosystem of test, as Fig. 2 strange land shooting method of testing.
Above-mentioned test mode sixty-four dollar question is time synchronized and the Millisecond time showing problem that needs to solve the time service machine.Here utilize the GPS external clock reference to be used as synchronous time service machine (9a, 9b), use the pulse per second (PPS) plate with the time showing of time service machine to display, and be accurate to the ms level, in this way, two time service machine displays show that the error of time will be controlled within the 1ms, so the time precision of this method is 0.04 second.