CN102970248B - Test data back method and apparatus in automatic drive test system - Google Patents

Test data back method and apparatus in automatic drive test system Download PDF

Info

Publication number
CN102970248B
CN102970248B CN201210559570.5A CN201210559570A CN102970248B CN 102970248 B CN102970248 B CN 102970248B CN 201210559570 A CN201210559570 A CN 201210559570A CN 102970248 B CN102970248 B CN 102970248B
Authority
CN
China
Prior art keywords
module
standby
test
passback module
standby passback
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210559570.5A
Other languages
Chinese (zh)
Other versions
CN102970248A (en
Inventor
蔡凤云
马军
郭冰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201210559570.5A priority Critical patent/CN102970248B/en
Publication of CN102970248A publication Critical patent/CN102970248A/en
Application granted granted Critical
Publication of CN102970248B publication Critical patent/CN102970248B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses the test data back method and apparatus in a kind of automatic drive test system, relate to wireless communication field, for improving the efficiency of test equipment passback test data.In this programme, test equipment is using primary passback module during monitoring analysis server passback test data, periodic test does not also return to the data volume of the test data of monitoring analysis server, determine whether to occur the accumulation situation of test data according to this data volume, after determining the accumulation situation that test data occur, from the standby passback module queues previously generated, select at least one standby passback module, and use the standby passback module of selection to monitoring analysis server passback test data.This programme improves the efficiency of test equipment passback test data.

Description

Test data back method and apparatus in automatic drive test system
Technical field
The present invention relates to wireless communication field, particularly relate to the test data back in a kind of automatic drive test system Method and apparatus.
Background technology
Automatic drive test system is made up of front end test device and rear end monitoring analysis server.Front end test device No worker monitor, is responsible for test process on opportunity;Rear end monitoring analysis server is responsible for collecting front end test device and is sent out The data returned, are presented by interface or by various real-time informings mechanism, in real time by the survey of front end test device Examination information notifies to safeguarding monitoring personnel.For ensureing to safeguard that monitoring personnel can understand front end test device in time Work test case, needs headend equipment that real-time for the test information of oneself is passed back to background monitoring analysis clothes Business device.
At present, the front end test device in automatic drive test system comprises 10 business modules, for prison in time Control and analysis test information, front end test device needs current test information back to rear end monitoring analysis Server, front end test device needs configuration passback module.After during test, passback module carries out packet dialing, Test information is transferred to rear end monitoring server.
The allocation plan of passback module is at present, is that a business module is arranged by fixing in front end test device For returning module, to carry out the passback of test information.
During realizing the present invention, inventor finds to there is techniques below problem in prior art:
Front end test device is when reality is tested, and the business module simultaneously carrying out testing is up to 9, along with logical The development of letter technology, the business module number that test uses, it is also possible to add, causes the data that needs return Measure bigger;And owing to different test scene lower network environment are inconsistent, passback single, that fix Module is it cannot be guaranteed that in real time by current test information back to rear end monitoring server, cause rear end to monitor Server cannot be monitored in real time, analyzing test data, it is impossible to the problem finding in time to occur in test process, Even result in this test invalidation, cause and waste greatly or delay job schedule.
Summary of the invention
The embodiment of the present invention provides the test data back method and apparatus in a kind of automatic drive test system, is used for Improve the efficiency of test equipment passback test data.
A kind of test data back method in automatic drive test system, the method includes:
Test equipment use primary passback module to monitoring analysis server passback test data during, Periodic test does not also return to the data volume of the test data of monitoring analysis server, true according to this data volume The fixed accumulation situation whether occurring to test data;
Test equipment is after determining the accumulation situation that test data occur, from the standby passback module previously generated Queue selects at least one standby passback module, and uses the standby passback module of selection to take to monitoring analysis Business device passback test data.
A kind of test equipment, this test equipment includes:
Determine unit, for using the primary passback module mistake to monitoring analysis server passback test data Cheng Zhong, periodic test does not also return to the data volume of the test data of monitoring analysis server, according to this number Determine whether to occur the accumulation situation of test data according to amount;
Back propagation unit, for after determining the accumulation situation that test data occur, from standby time previously generated Transmission module queue selects at least one standby passback module, and uses the standby passback module of selection to monitoring Analysis server passback test data.
In the scheme that the embodiment of the present invention provides, in the scheme that the embodiment of the present invention provides, automatic drive test system In test equipment use primary passback module to monitoring analysis server passback test data during, Periodic test does not also return to the data volume of the test data of monitoring analysis server, true according to this data volume The fixed accumulation situation whether occurring to test data, after determining the accumulation situation that test data occur, from advance The standby passback module queues generated selects at least one standby passback module, and uses standby time of selection Transmission module is to monitoring analysis server passback test data.Visible, in this programme, there are test data After accumulation situation, enable standby passback module and survey with the passback of primary passback module one monitoring analysis server in the same direction Examination data, such that it is able to increase the passback speed of test data, and then improve test equipment passback test number According to efficiency.
Accompanying drawing explanation
The holistic approach schematic flow sheet that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 is the initial creation schematic flow sheet of standby passback module queues in the embodiment of the present invention;
Fig. 3 is the handling process schematic diagram of standby passback module queues in the embodiment of the present invention;
Fig. 4 be in the embodiment of the present invention standby passback module queues dynamically adjust schematic flow sheet;
Fig. 5 is the schematic flow sheet selecting standby passback module in the embodiment of the present invention;
The test device structure schematic diagram that Fig. 6 provides for the embodiment of the present invention.
Detailed description of the invention
In order to improve the efficiency testing equipment passback test data in automatic drive test system, the embodiment of the present invention carries For a kind of test data back method in automatic drive test system.
See Fig. 1, the test data back method in the automatic drive test system that the embodiment of the present invention provides, bag Include following steps:
Step 10: test equipment is using primary passback module to monitoring analysis server passback test data During, periodic test does not also return to the data volume of the test data of monitoring analysis server, according to this Data volume determines whether to occur the accumulation situation of test data;
Step 11: test equipment is after determining the accumulation situation that test data occur, standby from previously generate Passback module queues selects at least one standby passback module, and uses the standby passback module of selection to prison Control Analysis server passback test data.Here, primary passback module refer in test equipment fixing for The business module of passback test data;Standby passback module is a test module in test equipment.
In step 10, determine according to the data volume of the test data also not returning to monitoring analysis server and be The no accumulation situation that test data occur, implements and can be: determine and also do not return to monitoring analysis service Whether the data volume of the test data of device is more than threshold value set in advance, if, it is determined that there occurs test , otherwise, it determines there is not to test the accumulation situation of data in the accumulation situation of data.
Concrete, test equipment generates the method for standby passback module queues and can be such that
Test equipment selects the test module of state normal (i.e. no exceptions situation) from each test module, The test module selected is added standby passback module queues as standby passback module.As in figure 2 it is shown, tool Body realizes comprising the steps S01-step S05:
Step S01, test equipment check i-th test module state, i be initial value be the positive integer of 1;
Communication module (the ratio of step S02, the state judging i-th test module and i-th test module Such as SIM) state whether normal, the most then arrive step S03, otherwise, to step S04;
Step S03, i-th is tested module as standby passback module add standby passback module queues, To step S04;
Step S04, judge whether to have traveled through all test modules, the most then arrive step S05, otherwise, The value of i is added 1, and returns step S01;
Step S05, determining that the initial creation of standby passback module queues completes, this flow process terminates.
It is also preferred that the left after the initial creation of standby passback module queues completes, it is also possible to standby passback module team Row carry out screening, sequence etc. processes, as it is shown on figure 3, specifically include following steps S1-step S3:
Step S1, test equipment use primary passback module to obtain test plan letter from monitoring analysis server Breath, test plan information is test assignment and the execution of test assignment comprising the test module in test equipment The information of time;
Step S2, the test plan information got is resolved, obtain the test assignment of each test module Information;
Step S3, will have in setting duration (such as 1 hour) the standby passback module of test assignment from Standby passback module queues is deleted;And,
For each standby passback module in standby passback module queues, determine whether this standby passback module joins Put Packet Service (such as FTP uploads or the business such as download), the most then by this standby passback module Priority is set to high priority, otherwise, the priority of this standby passback module is set to low priority; And,
Standby passback module in standby passback module queues is ranked up, the beginning of test assignment after sequence Execution time later standby passback module position in standby passback module queues, with opening of test assignment Execution time beginning the most standby passback module position in standby passback module queues is compared and is located further forward, i.e. Closer to queue head.
Concrete, as it is shown on figure 3, step S3 specifically may include steps of S11-step S20:
S11, test equipment read the jth standby passback module in standby passback module queues;J is initial Value is the positive integer of 1;
S12, judge whether jth standby passback module has test assignment, the most then arrive step S13, Otherwise, to step S19;
S13, judge jth standby passback module is setting in duration whether have test assignment, if so, Then arrive step S18, otherwise, to step S14;
S14, the Starting Executing Time of first test assignment of record jth standby passback module, to step Rapid S15;
S15, judge whether jth standby passback module is configured with Packet Service, the most then arrive step S16, Otherwise, to step S17;
S16, the priority of standby for jth passback module is set to high priority, to step S19;
S17, the priority of standby for jth passback module is set to low priority, to step S19;
S18, standby for jth passback module is deleted from standby passback module queues, to step S19;
S19, all standby passback module determined in standby passback module queues are the most processed, if so, Then arrive step S20, otherwise, the value of J is added 1, return step S11;
S20, by the standby passback module in standby passback module queues according to the beginning of first test assignment The execution time is ranked up, the standby passback mould that the Starting Executing Time of rear first test assignment that sort is later Block position in standby passback module queues, the most standby with the Starting Executing Time of first test assignment Compare with passback module position in standby passback module queues and be located further forward.
It is also preferred that the left in order to dynamically adjust the content of standby passback module queues, test equipment can be in office After one test module has performed test assignment, determine whether this test module has other in setting duration and survey Trial is engaged in, if not having other test assignments, then adds to standby using this test module as standby passback module In passback module queues;And determine whether the standby passback module of this interpolation is configured with Packet Service, if so, Then the priority of the standby passback module of this interpolation is set to high priority, otherwise, standby by this interpolation The priority of passback module is set to low priority;And,
Standby passback module in standby passback module queues is resequenced by test equipment, rearrangement Time started of rear test assignment later standby passback module position in standby passback module queues, with The time started the most standby passback module of test assignment position in standby passback module queues is compared It is located further forward.As shown in Figure 4, implement and comprise the steps S21-step S26:
Step S21, after module performed test assignment in test, determine that this test module is in setting duration Whether have other test assignments, the most then this flow process terminates;Otherwise, to step S22;
Step S22, this test module is added in standby passback module queues as standby passback module, And record the Starting Executing Time of the next test assignment of this standby passback module;
Step S23, determine whether the standby passback module of this interpolation is configured with Packet Service, the most then arrive Step S24, otherwise, to step S25;
Step S24, the priority of the standby passback module of this interpolation is set to high priority, to step S26;
Step S25, the priority of the standby passback module of this interpolation is set to low priority, to step S26;
Step S26, by the standby passback module in passback module queues according to the beginning of first test assignment The execution time resequences, later standby of the Starting Executing Time of rear first test assignment of resequencing With passback module position in standby passback module queues, with the Starting Executing Time of first test assignment The most standby passback module position in standby passback module queues is compared and is located further forward.
In step 11, from the standby passback module queues previously generated, select at least one standby passback mould Block, and use the standby passback module of selection simultaneously to monitoring analysis server passback test data, specifically may be used With as follows:
Test equipment selects N number of and monitoring analysis server communication quality from standby passback module queues Meet and set the standby passback module required, use the standby passback module selected to return to monitoring analysis server Pass test data;The wherein standby passback module of prioritizing selection high priority when selecting standby passback module, N is positive integer.S31-step S35 is comprised the steps as it is shown in figure 5, implement:
Step S31, test equipment determine the Gao You whether in standby passback module queues with not selected mistake The standby passback module of first level, the most standby passback mould of the high priority that selection position is the most forward Block, and to step S32;Otherwise, to step S35;
Step S32, test equipment use the standby passback module selected to the passback test of monitoring analysis server Data, to step S33;
The communication quality of step S33, the standby passback module judging selection and monitoring analysis server is the fullest Foot sets and requires (such as, if the standby passback module selected dials unsuccessfully to the packet of monitoring analysis server Or cannot communicate with monitoring analysis server, then communication quality is unsatisfactory for setting requirement, otherwise, communication Quality is unsatisfactory for setting and requires), the most then arrive step S34, otherwise, return step S31;
Whether the number of the standby passback module that step S34, judgement have used less than N, the most then returns Step S31, otherwise, this flow process terminates;
Step S35, test equipment determine whether have the low excellent of not selected mistake in standby passback module queues The standby passback module of first level, the most then arrive step S36, and otherwise, this flow process terminates;
Step S36, select the standby passback module of the most forward low priority in position, use and select Standby passback module is to monitoring analysis server passback test data, and returns step S33.
Seeing Fig. 6, the embodiment of the present invention provides a kind of test equipment, and this test equipment includes:
Determine unit 60, for using primary passback module to monitoring analysis server passback test data During, periodic test does not also return to the data volume of the test data of monitoring analysis server, according to this Data volume determines whether to occur the accumulation situation of test data;
Back propagation unit 61, for after determining the accumulation situation that test data occur, standby from previously generate Passback module queues selects at least one standby passback module, and uses the standby passback module of selection to prison Control Analysis server passback test data.
Further, this test equipment also includes:
Signal generating unit 62, selects state to test module normally, the test mould that will select from each test module Block adds standby passback module queues as standby passback module.
Further, described signal generating unit 62 includes:
Inspection unit, for check i-th test module state, i be initial value be the positive integer of 1;
First judging unit, for judging the state of i-th test module and the logical of i-th test module The state of letter module is the most normal, the most then trigger adding device, otherwise, trigger the second judging unit;
Adding device, adds standby passback module team for i-th is tested module as standby passback module Row, and trigger the second judging unit;
Second judging unit, is used for judging whether to have traveled through all test modules, has the most then triggered Unit, otherwise, adds 1 by the value of i, and triggers inspection unit;
Complete unit, for determining that the initial creation of standby passback module queues completes.
Further, this test equipment also includes:
Acquiring unit 63, is used for using primary passback module to obtain test plan letter from monitoring analysis server Breath;
Resolution unit 64, for resolving the test plan information got, obtains each test module Test assignment;
Processing unit 65, for will have the standby passback module of test assignment from described standby in setting duration Delete with in passback module queues;
For each standby passback module in described standby passback module queues, determine that this standby passback module is No it is configured with Packet Service, the most then the priority of this standby passback module is set to high priority, no Then, the priority of this standby passback module is set to low priority;
Standby passback module in described standby passback module queues is ranked up, test assignment after sequence Starting Executing Time later standby passback module position in described standby passback module queues, with test The Starting Executing Time the most standby passback module of task position in described standby passback module queues Compare and be located further forward.
Further, described processing unit 65 includes:
Read unit, for reading the jth standby passback module in standby passback module queues;J is initial Value is the positive integer of 1;
3rd judging unit, is used for judging whether jth standby passback module has test assignment, if so, Then trigger the 4th judging unit, otherwise, trigger the 6th judging unit;
4th judging unit, is used for judging whether jth standby passback module has test in setting duration Task, the most then trigger and delete unit, otherwise, trigger recording unit;
Record unit, for recording when the starting to perform of first test assignment of jth standby passback module Between, trigger the 5th judging unit;
5th judging unit, is used for judging whether jth standby passback module is configured with Packet Service, if so, Then trigger high priority and unit is set, otherwise, trigger low priority and unit is set;
High priority arranges unit, for the priority of standby for jth passback module is set to high priority, Trigger the 6th judging unit;
Low priority arranges unit, for the priority of standby for jth passback module is set to low priority, Trigger the 6th judging unit;
Delete unit, for standby for jth passback module is deleted from standby passback module queues, trigger 6th judging unit;
6th judging unit, for judging that all standby passback module in standby passback module queues is all located Managed, the most then trigger sequencing unit, otherwise, the value of J is added 1, and triggered and read unit;
Sequencing unit, for appointing the standby passback module in standby passback module queues according to first test The Starting Executing Time of business is ranked up, later standby of the Starting Executing Time of rear first test assignment that sort With passback module position in described standby passback module queues, with first test assignment start perform Time the most standby passback module position in described standby passback module queues is compared and is located further forward.
Further, this test equipment also includes:
Updating block 66, for after arbitrary test module has performed test assignment, determines that this test module exists In setting duration, whether there are other test assignments, if there is no other test assignments, then this test module being made Add in described standby passback module queues for standby passback module;And determine the standby passback mould of this interpolation Whether block is configured with Packet Service, the most then the priority of the standby passback module of this interpolation is set to height Priority, otherwise, is set to low priority by the priority of the standby passback module of this interpolation;
Standby passback module in described standby passback module queues is resequenced, surveys after rearrangement The time started later standby passback module of trial business position in described standby passback module queues, with The time started the most standby passback module of test assignment position in described standby passback module queues Compare and be located further forward.
Further, described back propagation unit 61 is used for:
After determining the accumulation situation that test data occur, from standby passback module queues, select N number of and prison The communication quality of control Analysis server meets the standby passback module setting requirement, uses the standby passback selected Module is to monitoring analysis server passback test data;Wherein when selecting standby passback module, prioritizing selection is high The standby passback module of priority, N is positive integer.
Further, described back propagation unit 61 includes:
7th judging unit, for judging the Gao You whether in standby passback module queues with not selected mistake The standby passback module of first level, the most standby passback mould of the high priority that selection position is the most forward Block, and trigger communication unit;Otherwise, triggering determines unit;
Communication unit, for using the standby passback module of selection to monitoring analysis server passback test number According to, trigger the 8th judging unit;
8th judging unit, for judging the communication matter of standby passback module and the monitoring analysis server selected Whether amount meets sets requirement, the most then trigger the 9th judging unit, otherwise, trigger the 7th judging unit;
9th judging unit, for judging whether the number of the standby passback module selected is less than N, if so, Then trigger the 7th judging unit;
Determine unit, for determining the low priority whether in standby passback module queues with not selected mistake Standby passback module, the most then select the standby passback module of the most forward low priority in position, Use the standby passback module selected to test data to the passback of monitoring analysis server, and it is single to trigger the 8th judgement Unit.
To sum up, the beneficial effect comprise that
In the scheme that the embodiment of the present invention provides, in the scheme that the embodiment of the present invention provides, automatic drive test system In test equipment use primary passback module to monitoring analysis server passback test data during, Periodic test does not also return to the data volume of the test data of monitoring analysis server, true according to this data volume The fixed accumulation situation whether occurring to test data, after determining the accumulation situation that test data occur, from advance The standby passback module queues generated selects at least one standby passback module, and uses standby time of selection Transmission module is to monitoring analysis server passback test data.Visible, in this programme, there are test data After accumulation situation, enable standby passback module and survey with the passback of primary passback module one monitoring analysis server in the same direction Examination data, such that it is able to increase the passback speed of test data, and then improve test equipment passback test number According to efficiency.
When using invention this programme, the effectiveness of background monitoring personnel control's equipment test problem can be promoted, and Export test report in time, promote testing efficiency;Meanwhile, because the speed of data is tested in test equipment passback Promote, it is possible to decrease test equipment task time is to reduce the purpose of electrical source consumption.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and / or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know base This creativeness concept, then can make other change and amendment to these embodiments.So, appended right is wanted Ask and be intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention Bright spirit and scope.So, if the present invention these amendment and modification belong to the claims in the present invention and Within the scope of its equivalent technologies, then the present invention is also intended to comprise these change and modification.

Claims (14)

1. the test data back method in an automatic drive test system, it is characterised in that the method includes:
Test equipment use primary passback module to monitoring analysis server passback test data during, Periodic test does not also return to the data volume of the test data of monitoring analysis server, true according to this data volume The fixed accumulation situation whether occurring to test data;Wherein, according to the survey also not returning to monitoring analysis server The data volume of examination data determines whether to occur the accumulation situation of test data, comprises determining that and does not also return to prison Whether the data volume of the test data of control Analysis server is more than threshold value set in advance, if, it is determined that There occurs the accumulation situation of test data, otherwise, it determines there is not to test the accumulation situation of data;
Test equipment is after determining the accumulation situation that test data occur, from the standby passback module previously generated Queue selects at least one standby passback module, and uses described primary passback module and standby time of selection Transmission module is to monitoring analysis server passback test data;
Wherein, the method generating described standby passback module queues includes: test equipment is from each test module Selection state tests module normally, and as standby passback module, the test module selected is added standby passback Module queues.
2. the method for claim 1, it is characterised in that described test equipment is from each test module Middle selection state tests module normally, and as standby passback module, the test module of selection is added standby time Transmission module queue, specifically includes:
A1, test equipment check i-th test module state, i be initial value be the positive integer of 1;
The state of the communication module of B1, the state judging i-th test module and i-th test module is No normally, the most then arrive step C1, otherwise, to step D1;
C1, i-th is tested module as standby passback module add standby passback module queues, to step D1;
D1, judge whether to have traveled through all test modules, the most then arrive step E1, otherwise, by i Value add 1, and return step A1;
E1, determining that the initial creation of standby passback module queues completes, this flow process terminates.
3. the method for claim 1, it is characterised in that generate described standby passback module queues Method also comprise the steps:
S1, test equipment use primary passback module to obtain test plan information from monitoring analysis server;
S2, the test plan information got is resolved, obtain the test assignment of each test module;
S3, by setting in duration the standby passback module with test assignment from described standby passback module team Row are deleted;
For each standby passback module in described standby passback module queues, determine that this standby passback module is No it is configured with Packet Service, the most then the priority of this standby passback module is set to high priority, no Then, the priority of this standby passback module is set to low priority;
Standby passback module in described standby passback module queues is ranked up, test assignment after sequence Starting Executing Time later standby passback module position in described standby passback module queues, with test The Starting Executing Time the most standby passback module of task position in described standby passback module queues Compare and be located further forward.
4. method as claimed in claim 3, it is characterised in that step S3 specifically includes:
A2, test equipment read the jth standby passback module in standby passback module queues;J is initial Value is the positive integer of 1;
B2, judge whether jth standby passback module has test assignment, the most then arrive step C2, Otherwise, to step I2;
C2, judge jth standby passback module is setting in duration whether have test assignment, the most then To step H2, otherwise, to step D2;
D2, the Starting Executing Time of first test assignment of record jth standby passback module, to step E2;
E2, judge whether jth standby passback module is configured with Packet Service, the most then arrive step F2, Otherwise, to step G2;
F2, the priority of standby for jth passback module is set to high priority, to step I2;
G2, the priority of standby for jth passback module is set to low priority, to step I2;
H2, standby for jth passback module is deleted from standby passback module queues, to step I2;
I2, all standby passback module determined in standby passback module queues are the most processed, the most then To step J2, otherwise, the value of J is added 1, return step A2;
J2, by the standby passback module in standby passback module queues according to first test assignment start hold The row time is ranked up, the standby passback module that the Starting Executing Time of rear first test assignment that sort is later Position in described standby passback module queues, with the Starting Executing Time of first test assignment earlier Standby passback module position in described standby passback module queues is compared and is located further forward.
5. method as claimed in claim 3, it is characterised in that performed test in arbitrary test module After task, farther include:
Test equipment determines whether this test module has other test assignments, if not having it in setting duration His test assignment, then add this test module to described standby passback module queues as standby passback module In;And determine whether the standby passback module of this interpolation is configured with Packet Service, the most then by this interpolation The priority of standby passback module is set to high priority, otherwise, and excellent by the standby passback module of this interpolation First level is set to low priority;
Standby passback module in described standby passback module queues is resequenced, again by test equipment The standby passback module that after sequence, the time started of test assignment is later is in described standby passback module queues Position, the most standby passback module is at described standby passback module queues with the time started of test assignment In position compare and be located further forward.
6. the method as described in arbitrary in claim 3-5, it is characterised in that described from previously generating Standby passback module queues selects at least one standby passback module, and uses the standby passback module of selection Simultaneously to monitoring analysis server passback test data, specifically include:
Test equipment selects N number of and monitoring analysis server communication quality from standby passback module queues Meet and set the standby passback module required, use the standby passback module selected to return to monitoring analysis server Pass test data;The wherein standby passback module of prioritizing selection high priority when selecting standby passback module, N is positive integer.
7. method as claimed in claim 6, it is characterised in that described test equipment is from standby passback mould Block queue selects N number of can with the standby passback module of monitoring analysis server proper communication, use select Standby passback module to monitoring analysis server passback test data, wherein select standby passback module time The standby passback module of prioritizing selection high priority, specifically includes:
A3, test equipment determine the high priority whether in standby passback module queues with not selected mistake Standby passback module, the most standby passback module of the high priority that selection position is the most forward, and To step B3;Otherwise, to step E3;
B3, test equipment use the standby passback module selected to test data to the passback of monitoring analysis server, To step C3;
Whether the communication quality of C3, the standby passback module judging selection and monitoring analysis server meets sets Requirement, the most then arrive step D3, otherwise, return step A3;
The number of the standby passback module that D3, judgement have selected whether less than N, the most then returns step A3, otherwise, this flow process terminates;
E3, test equipment determine the low priority whether in standby passback module queues with not selected mistake Standby passback module, the most standby passback module of the low priority that selection position is the most forward, makes By the standby passback module selected to monitoring analysis server passback test data, and return step C3;No Then, this flow process terminates.
8. a test equipment, it is characterised in that this test equipment includes:
Determine unit, for using the primary passback module mistake to monitoring analysis server passback test data Cheng Zhong, periodic test does not also return to the data volume of the test data of monitoring analysis server, according to this number Determine whether to occur the accumulation situation of test data according to amount;Wherein, according to also not returning to monitoring analysis service When the data volume of the test data of device determines whether the accumulation situation that test data occur, described determine that unit has Body is used for: determine that whether the data volume of the test data also not returning to monitoring analysis server is more than setting in advance Fixed threshold value, if, it is determined that there occurs the accumulation situation of test data, otherwise, it determines survey The accumulation situation of examination data;
Back propagation unit, for after determining the accumulation situation that test data occur, from standby time previously generated Transmission module queue selects at least one standby passback module, and uses described primary passback module and selection Standby passback module is to monitoring analysis server passback test data;
Signal generating unit, for selecting state to test module normally from each test module, the test that will select Module adds standby passback module queues as standby passback module.
Test equipment the most as claimed in claim 8, it is characterised in that described signal generating unit includes:
Inspection unit, for check i-th test module state, i be initial value be the positive integer of 1;
First judging unit, for judging the state of i-th test module and the logical of i-th test module The state of letter module is the most normal, the most then trigger adding device, otherwise, trigger the second judging unit;
Adding device, adds standby passback module team for i-th is tested module as standby passback module Row, and trigger the second judging unit;
Second judging unit, is used for judging whether to have traveled through all test modules, has the most then triggered Unit, otherwise, adds 1 by the value of i, and triggers inspection unit;
Complete unit, for determining that the initial creation of standby passback module queues completes.
Test equipment the most as claimed in claim 8, it is characterised in that this test equipment also includes:
Acquiring unit, is used for using primary passback module to obtain test plan information from monitoring analysis server;
Resolution unit, for resolving the test plan information got, obtains the survey of each test module Trial is engaged in;
Processing unit, for will have the standby passback module of test assignment from described standby in setting duration Passback module queues is deleted;
For each standby passback module in described standby passback module queues, determine that this standby passback module is No it is configured with Packet Service, the most then the priority of this standby passback module is set to high priority, no Then, the priority of this standby passback module is set to low priority;
Standby passback module in described standby passback module queues is ranked up, test assignment after sequence Starting Executing Time later standby passback module position in described standby passback module queues, with test The Starting Executing Time the most standby passback module of task position in described standby passback module queues Compare and be located further forward.
11. test equipment as claimed in claim 10, it is characterised in that described processing unit includes:
Read unit, for reading the jth standby passback module in standby passback module queues;J is initial Value is the positive integer of 1;
3rd judging unit, is used for judging whether jth standby passback module has test assignment, if so, Then trigger the 4th judging unit, otherwise, trigger the 6th judging unit;
4th judging unit, is used for judging whether jth standby passback module has test in setting duration Task, the most then trigger and delete unit, otherwise, trigger recording unit;
Record unit, for recording when the starting to perform of first test assignment of jth standby passback module Between, trigger the 5th judging unit;
5th judging unit, is used for judging whether jth standby passback module is configured with Packet Service, if so, Then trigger high priority and unit is set, otherwise, trigger low priority and unit is set;
High priority arranges unit, for the priority of standby for jth passback module is set to high priority, Trigger the 6th judging unit;
Low priority arranges unit, for the priority of standby for jth passback module is set to low priority, Trigger the 6th judging unit;
Delete unit, for standby for jth passback module is deleted from standby passback module queues, trigger 6th judging unit;
6th judging unit, for judging that all standby passback module in standby passback module queues is all located Managed, the most then trigger sequencing unit, otherwise, the value of J is added 1, and triggered and read unit;
Sequencing unit, for appointing the standby passback module in standby passback module queues according to first test The Starting Executing Time of business is ranked up, later standby of the Starting Executing Time of rear first test assignment that sort With passback module position in described standby passback module queues, with first test assignment start perform Time the most standby passback module position in described standby passback module queues is compared and is located further forward.
12. test equipment as claimed in claim 10, it is characterised in that this test equipment also includes:
Updating block, for after arbitrary test module has performed test assignment, determines that this test module is setting In timing is long, whether there are other test assignments, if there is no other test assignments, then using this test module as Standby passback module is added in described standby passback module queues;And determine the standby passback module of this interpolation Whether it is configured with Packet Service, the most then the priority of the standby passback module of this interpolation is set to Gao You First level, otherwise, is set to low priority by the priority of the standby passback module of this interpolation;
Standby passback module in described standby passback module queues is resequenced, surveys after rearrangement The time started later standby passback module of trial business position in described standby passback module queues, with The time started the most standby passback module of test assignment position in described standby passback module queues Compare and be located further forward.
The 13. test equipment as described in arbitrary in claim 10-12, it is characterised in that described passback list Unit is used for:
After determining the accumulation situation that test data occur, from standby passback module queues, select N number of and prison The communication quality of control Analysis server meets the standby passback module setting requirement, uses the standby passback selected Module is to monitoring analysis server passback test data;Wherein when selecting standby passback module, prioritizing selection is high The standby passback module of priority, N is positive integer.
14. test equipment as claimed in claim 13, it is characterised in that described back propagation unit includes:
7th judging unit, for judging the Gao You whether in standby passback module queues with not selected mistake The standby passback module of first level, the most standby passback mould of the high priority that selection position is the most forward Block, and trigger communication unit;Otherwise, triggering determines unit;
Communication unit, for using the standby passback module of selection to monitoring analysis server passback test number According to, trigger the 8th judging unit;
8th judging unit, for judging the communication matter of standby passback module and the monitoring analysis server selected Whether amount meets sets requirement, the most then trigger the 9th judging unit, otherwise, trigger the 7th judging unit;
9th judging unit, for judging whether the number of the standby passback module selected is less than N, if so, Then trigger the 7th judging unit;
Determine unit, for determining the low priority whether in standby passback module queues with not selected mistake Standby passback module, the most then select the standby passback module of the most forward low priority in position, Use the standby passback module selected to test data to the passback of monitoring analysis server, and it is single to trigger the 8th judgement Unit.
CN201210559570.5A 2012-12-20 2012-12-20 Test data back method and apparatus in automatic drive test system Active CN102970248B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210559570.5A CN102970248B (en) 2012-12-20 2012-12-20 Test data back method and apparatus in automatic drive test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210559570.5A CN102970248B (en) 2012-12-20 2012-12-20 Test data back method and apparatus in automatic drive test system

Publications (2)

Publication Number Publication Date
CN102970248A CN102970248A (en) 2013-03-13
CN102970248B true CN102970248B (en) 2016-12-28

Family

ID=47800135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210559570.5A Active CN102970248B (en) 2012-12-20 2012-12-20 Test data back method and apparatus in automatic drive test system

Country Status (1)

Country Link
CN (1) CN102970248B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101471759A (en) * 2007-12-28 2009-07-01 ***通信集团公司 Method for improving business data transmission quality and business data transmission device
CN101860888A (en) * 2009-04-08 2010-10-13 ***通信集团公司 Method, system and equipment for transmitting data by wireless link
CN102255921A (en) * 2011-08-24 2011-11-23 杭州华三通信技术有限公司 Media stream storage method and data management server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101471759A (en) * 2007-12-28 2009-07-01 ***通信集团公司 Method for improving business data transmission quality and business data transmission device
CN101860888A (en) * 2009-04-08 2010-10-13 ***通信集团公司 Method, system and equipment for transmitting data by wireless link
CN102255921A (en) * 2011-08-24 2011-11-23 杭州华三通信技术有限公司 Media stream storage method and data management server

Also Published As

Publication number Publication date
CN102970248A (en) 2013-03-13

Similar Documents

Publication Publication Date Title
CN105787364B (en) Automatic testing method, device and system for tasks
CN104602131A (en) Barrage processing method and system
CN106874187A (en) code coverage collection method and device
CN106649063A (en) Method and system used for monitoring time consuming data when program runs
CN105302714B (en) The monitoring method and device of memory overflow in a kind of test process
CN109885496B (en) Test log management method and system
CN105159832B (en) A kind of methods, devices and systems collected in application is tested using exception information
CN108763093A (en) A kind of automated testing method and system
CN106325988A (en) Task scheduling method and device
CN103903312B (en) The execution method and apparatus of automatic detecting
CN107733710A (en) Construction method, device, computer equipment and the storage medium of link call relation
CN103246606A (en) Method and system for testing performances of ESB (enterprises service bus) platform
CN109542602A (en) It is a kind of based on the distributed task scheduling processing method of block chain, apparatus and system
CN113360376A (en) Buried point testing method and device
CN112351021A (en) Asset risk detection method and device, readable storage medium and computer equipment
CN112328335B (en) Method, device, equipment and storage medium for diagnosing timeout of concurrent requests
CN117608903A (en) Method, device, equipment and storage medium for automatically generating test report
CN102970248B (en) Test data back method and apparatus in automatic drive test system
KR20150030297A (en) Verification apparatus, terminal device, system, method and computer-readable medium for verifying application
CN109828910A (en) Method and device, the computer equipment, storage medium of monkey test
CN105405220A (en) Method and device for automated test
CN110795330A (en) Monkey pressure testing method and device
CN110618881B (en) Method and system for simulating message queue
WO2014209362A1 (en) Simulating sensors
CN106970862A (en) A kind of internal memory shake automated testing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant