CN103298016B - the test system of mobile terminal - Google Patents
the test system of mobile terminal Download PDFInfo
- Publication number
- CN103298016B CN103298016B CN201210046444.XA CN201210046444A CN103298016B CN 103298016 B CN103298016 B CN 103298016B CN 201210046444 A CN201210046444 A CN 201210046444A CN 103298016 B CN103298016 B CN 103298016B
- Authority
- CN
- China
- Prior art keywords
- test
- terminal
- case
- control center
- assignment
- 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
Links
Abstract
A kind of test system of mobile terminal, including: distributed control center and at least one test terminal being connected with described distributed control center;Described distributed control center is used for receiving test assignment, resolves described test assignment, and based on predetermined allocation strategy allocation for test use-case to corresponding test terminal, described test assignment includes at least one test case;Described test terminal is for running the test case distributed, to realize the test to described mobile terminal.Technical scheme can make full use of the resource of test terminal, reduces testing cost, improves testing efficiency and the reliability of test system.
Description
Technical field
The present invention relates to communication technical field, particularly relate to the test system of a kind of mobile terminal.
Background technology
Along with the development of mobile communication technology, mobile terminal product is more and more abundanter, and function becomes increasingly complex, the frequency of release
Rate is increasingly faster, causes the R&D cycle to shorten.In R&D process, need by the test of mobile terminal is ensured mobile whole
The quality of end and performance, must improve again the testing efficiency of mobile terminal simultaneously, control testing cost, need continuous area for this
Tired measuring technology, improves testing level.
Generally, the test to mobile terminal is primarily referred to as testing mobile terminal version, to verify this version
Effectiveness.The version of mobile terminal always, in constantly updating, has corresponding with this version for different versions
Test case.The test of so-called mobile terminal version includes the mobile terminal protocol stack test under this version, physical layer is tested,
Access Layer (AS, Access Stratum) test, wireless spread-spectrum technology (RLC, Radio Link Control) module testing, people
Machine interface detection, power consumption test, tone testing etc., which module of mobile terminal under concrete this version of test, then by this version
Under test case (test script) determine, such as: test case relate to mobile terminal protocol stack test be then for surveying
Try the mobile terminal protocol stack under this version.
In prior art, by automatization test system, mobile terminal is tested.In described automatization test system
Generally include: test execution instrument, at least one base station simulator, the analytical tool of daily record data, at least one mobile terminal
(real mobile terminal) or mobile-terminal simulator etc..Described test execution instrument start-up base station simulator, passes through base station
Simulator, to simulate real network base station, runs the test case that user selects or the Test cases technology pre-set
Test command, and described test command is sent to mobile terminal/mobile-terminal simulator, by described base station simulator and shifting
Interacting between dynamic terminal/mobile-terminal simulator, to realize the test of modules in mobile terminal, is testing
After one-tenth, test result can be carried out collecting the corresponding test report of generation by described test execution instrument.Existing automatization is used to survey
Test system can realize the automatic test of mobile terminal version, contributes to developer at mobile terminal version test process
In, find the problem place of mobile terminal modules in time and revise accordingly.
But for existing automatization test system, its test execution instrument, base station simulator and test case
It is typically to operate on a test equipment (a usually computer), if the mobile terminal of test is mobile terminal simulation
Device, the most described mobile-terminal simulator also operates on test equipment, if the mobile terminal of test is real mobile terminal, then
Described mobile terminal and this test apparatus interconnection.By carrying out between base station simulator and mobile terminal/mobile-terminal simulator
Alternately, mobile terminal/mobile-terminal simulator to be tested is tested one by one.For mobile terminal version is tested,
Would generally be corresponding under one version up to ten thousand test cases, on a test equipment to mobile terminal/mobile terminal simulation
Device tests to verify the effectiveness of mobile terminal version one by one, will certainly expend the substantial amounts of testing time, causes test effect
Rate is too low.
After have again above-mentioned test mode improved, use parallel form to come mobile terminal/mobile terminal mould
Intend device to test.Such as, a test equipment runs multiple base station simulator and multiple mobile-terminal simulator, or
Run multiple base station simulators at a test equipment, and connect multiple real mobile terminal and test.The most such as, logical
Cross multiple stage test equipment mobile terminal/mobile-terminal simulator is tested, specifically, each test equipment is transported
The test case of row predetermined quantity is to realize the test to mobile terminal/mobile-terminal simulator.Relative to above-mentioned mode, its
Although the time expended has reduced, but testing efficiency is the highest.
And, in above-mentioned automatization test system, test if on a test equipment, once test
Crashing occurs in equipment, and test process will terminate, and then causes intended test assignment to complete.Test if in multiple stage
Equipment concurrent testing, once crashing occurs in a test equipment, and the test case operated on this test equipment also cannot be run,
Cause whole test assignment to complete on schedule.The reliability of the most above-mentioned automatization test system is the most poor.
Other are about the correlation technique of mobile terminal test, may refer to Publication No. US2010120371A1, invention name
It is referred to as the U.S. Patent application of Mobile terminal tester and mobile terminal test method.
Summary of the invention
The problem that the present invention solves is that the testing efficiency that mobile terminal is tested by existing automatization test system is low
Problem with poor reliability.
For solving the problems referred to above, the present invention provides the test system of a kind of mobile terminal, including: distributed control center with described
At least one test terminal that distributed control center is connected;
Described distributed control center is used for receiving test assignment, resolves described test assignment, based on predetermined allocation strategy distribution
Test case is to corresponding test terminal, and described test assignment includes at least one test case;
Described test terminal is for running the test case distributed, to realize the test to described mobile terminal.
Optionally, described include to corresponding test terminal based on predetermined allocation strategy allocation for test use-case: based on institute
State the status information allocation for test use-case of test terminal to corresponding test terminal.
Optionally, described include to corresponding test terminal based on predetermined allocation strategy allocation for test use-case: based on institute
State the dependence allocation for test use-case of test case in test assignment to corresponding test terminal.
Optionally, described distributed control center is additionally operable to, in the failure of described test terminal testing results use-case, test based on other
The status information of terminal runs failed test case distribution to other test terminals by described.
Optionally, the test system of described mobile terminal also includes: at least one trigger, described trigger correspondence at least
Test terminal;
Described distributed control center, is additionally operable to send to the test being assigned test case the store path of described beta version
Terminal;
Described test terminal, the store path of beta version being additionally operable to be sent by described distributed control center sends to corresponding
Trigger;
Described trigger, for store path based on described beta version download described beta version and under test
Use-case.
Compared with prior art, technical scheme has the advantages that
Distributed control center receives described test assignment and based on predetermined allocation strategy allocation for test use-case to corresponding test
Terminal, has the biggest motility, can make full use of the resource of test terminal, be favorably improved testing efficiency.
Distributed control center status information based on described test terminal allocation for test use-case is to corresponding test terminal, due to it
While allocation for test use-case, take into account the state of test terminal, therefore avoid the occurrence of the survey run on a test terminal
Example on probation is too much, but is balancedly assigned test case in each test terminal, owing to being run by multiple test terminals
Test case, therefore, can reduce its operation time for test assignment, namely improve testing efficiency.
Distributed control center is redistributed and is run failed test case, i.e. in the failure of test terminal testing results use-case, based on
Test case failed for described operation is distributed to other test terminals by the status information of other test terminals, so may insure that
Completing of test assignment, thus improve testing efficiency and reliability.And, redistribute running failed test case,
Or actually described test case can be run by other test terminals to judge the problem test terminal of test case
Problem, copies failed test case to other test terminals without mode manually, therefore reduces in test process
Fussy degree, correspondingly also reduce testing cost.
The test system of described mobile terminal includes at least one trigger, and at least one test corresponding of described trigger is eventually
End, downloads beta version and lower test case thereof by described trigger, and works as different test terminals to identical survey
When test run is originally tested, described trigger only carry out once this beta version and under the download of test case, decrease
To beta version and under the download time of test case, improve testing efficiency, and use described trigger to download survey
Test run this and under test case also achieve to beta version and under the centralized management of test case.
Described test terminal includes test agent end, test run device and testing tool, and then by described test eventually
When mobile terminal/mobile-terminal simulator is tested by end, the most described test agent end, test run device and testing tool
In any one abnormal conditions occur, then can come by opening new test agent end or test run device or testing tool
Testing results use-case, this improves the reliability of test system.
Accompanying drawing explanation
Fig. 1 is the basic structure schematic diagram of the test system of the mobile terminal of embodiment of the present invention;
Fig. 2 is the structural representation of the test system of the mobile terminal of the embodiment of the present invention;
Fig. 3 is the structural representation of the distributed control center of the embodiment of the present invention;
Fig. 4 is the schematic flow sheet that the application module of the embodiment of the present invention calls test case management module;
Fig. 5 is the schematic diagram of the test assignment file of the embodiment of the present invention;
Fig. 6 is the schematic flow sheet of the distributed control center loading test assignment of the embodiment of the present invention;
Fig. 7 is the schematic flow sheet of the test case management module assignment test case of the embodiment of the present invention.
Detailed description of the invention
Understandable, below in conjunction with the accompanying drawings to the present invention for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from
Detailed description of the invention be described in detail.
Elaborate detail in the following description so that fully understanding the present invention.But the present invention can with multiple not
Being same as alternate manner described here to implement, those skilled in the art can do class in the case of intension of the present invention
Like promoting.Therefore the present invention is not limited by following public detailed description of the invention.
When mobile terminal is tested, under each beta version, all include test case up to ten thousand, by fortune
The substantial amounts of test case of row is to realize the test to mobile terminal version, when carrying out version recurrence every time, and all of test case
Also it is required for reruning to carry out version checking.And when using existing test system to move terminal versions test, survey
Trying relatively costly, low and test the reliability of testing efficiency is poor.
Inventor finds through research, even if prior art uses parallel form to test mobile terminal, all needs
Test case to be allocated in advance, such as, copies in test equipment by described test case by the way of artificial, due to test
Use-case is allocated in advance, and the service ability of different test equipment has difference, it may appear that some test equipment runs too much test and uses
Example or be in running status all the time, some test equipment is then in idle condition, the so resource of test equipment and does not obtain
Make full use of, reduce testing efficiency.And, along with increasing of test equipment and beta version, need to expend substantial amounts of manpower
Carry out allocation for test use-case, necessarily cause the increase of testing cost.
Additionally, for each test equipment, it is likely that there will be some test case and run failed thereon
Situation, now needs mode manually the failed test case of operation to be copied to other test equipment, if test is used
Example is normal operation on miscellaneous equipment, then the problem being probably test equipment, if test case on other test equipment also without
Method is run, then the problem being probably test case self.Different test equipment is copied to sentence by running failed test case
Or actually the problem of disconnected test case tests the problem of equipment, whole process is the most comparatively laborious, and waste of manpower also can
Cause the increase of testing cost, the reduction of testing efficiency.
Therefore, inventors herein propose the test system of a kind of distributed frame, by distributed control center and multiple test terminals phase
Even, described distributed control center, after receiving test assignment, uses predetermined allocation strategy the test case in test assignment to be divided
It is assigned to corresponding test terminal so that test case can balancedly be distributed to test terminal, makes full use of the money of test terminal
Source, thus improve testing efficiency.
In order to be more fully understood that technical scheme, first related terms is illustrated.
Test case, for testing the corresponding function point of mobile terminal, test terminal can be by running different tests
Use-case is to test mobile terminal version.
Base station simulator interacts with mobile terminal for the behavior of anolog base station.
Mobile-terminal simulator is for simulating the behavior of real mobile terminal.
Fig. 1 is the basic structure schematic diagram of the test system of the mobile terminal of embodiment of the present invention, as it is shown in figure 1, institute
The test system stating mobile terminal includes: distributed control center 2 and the test terminal 3 and 4 being connected with described distributed control center 2;
Described distributed control center 2 is used for receiving test assignment, resolves described test assignment, based on predetermined allocation strategy distribution
Test case is to corresponding test terminal, and described test assignment includes at least one test case.
Described test terminal is for running the test case distributed, to realize the test to described mobile terminal.
It should be noted that in present embodiment for convenience of description, the test system shown in Fig. 1 only includes two
Test terminal, in actual test process, depending on the number of described test terminal is by actual demand.
In present embodiment, described test assignment includes depositing of the beta version belonging to test assignment file and test case
Storage path, the mark of test case in described test assignment file record test assignment.Beta version and test case concrete
Content is downloaded from the store path of described beta version.The operation that described beta version is mobile terminal provides running environment, enters
And make described test terminal run after described test case can and described mobile terminal between interact.Exist in other words
After described mobile terminal is mounted with beta version, described test case is run to realize and described mobile terminal in described test terminal
Between mutual.Described test assignment can also include test-types, and i.e. this test is to carry out for mobile terminal, or moves
Dynamic terminal emulator is carried out.Described test assignment file can also record the mark of the beta version belonging to described test case.
Which content is described test assignment specifically include, can be according to actual testing requirement and test environment depending on.
In other embodiments, described test assignment can also include the particular content of test case.
In present embodiment, described distributed control center 2 includes at least one computer.Described distributed control center 2 receives described survey
Trial is engaged in, and resolves described test assignment, is then based on predetermined allocation strategy allocation for test use-case to corresponding test terminal.With
Test assignment includes test assignment file, have recorded test to be run in this test assignment and use in described test assignment file
As a example by the mark of example, distributed control center based on predetermined allocation strategy allocation for test use-case to corresponding test terminal time, be to treat
The mark of the test case run is distributed to corresponding test terminal.
Described distributed control center 2 may include that to corresponding test terminal based on predetermined allocation strategy allocation for test use-case
Status information allocation for test use-case based on described test terminal is to corresponding test terminal.Described distributed control center 2 passes through poll
Mode obtain the status information of described test terminal, specifically, it is simply that at predetermined time intervals, actively send out to each test terminal
Signal, by the status information that the feedback of described test terminal is current to obtain described test terminal.The described scheduled time is permissible
Be 3 minutes, 5 minutes etc., specifically take how many by practical situation depending on.The status information of described test terminal includes: test terminal
Free time, test terminal testing results use-case time-out, test terminal are connected disconnection etc. without response or test terminal with distributed control center.
In other embodiments, the status information of described test terminal can also by test terminal at regular intervals,
Spontaneously report to described distributed control center 2.
In present embodiment, described distributed control center 2, when learning that test terminal is in idle condition, is used for its allocation for test
Example.For example, distributed control center 2 learns that the current state in test terminal 3 is that state idle, that test terminal 4 is current is for running
Test case, then distributed control center 2 is test terminal 3 allocation for test use-case.
In another embodiment, described distributed control center is surveyed to corresponding based on predetermined allocation strategy allocation for test use-case
Examination terminal may include that dependence allocation for test use-case based on the test case in described test assignment is to corresponding test
Terminal.Specifically, described distributed control center will have the test case distribution of dependence to same test terminal, described in have
The test case of dependence can be the execution result that the execution of later test case depends on previous test case
One group of test case, namely described distributed control center will have the test case of successively execution sequence and distribute in same test terminal.
In yet, described distributed control center is surveyed to corresponding based on predetermined allocation strategy allocation for test use-case
Examination terminal may include that the performance according to each test terminal carrys out the test case for described test terminal distribution predetermined quantity,
As: for some test cases of test terminal overabsorption of better performances, distribute some tests less for the test terminal that performance is general
Use-case, and then the resource of described test terminal can be utilized largely.
In a further embodiment, described distributed control center is surveyed to corresponding based on predetermined allocation strategy allocation for test use-case
Examination terminal may include that the dependence allocation for test use-case of status information based on test terminal and test case is to accordingly
Test terminal.For example, it is its allocation for test use-case 001 when the described distributed control center state in a test terminal is for the free time,
And test case 001 and test case 002 have dependence, now, even if having other the test being in idle condition eventually
End, test case 002 also will not be distributed to other test terminals by distributed control center, but in the test of testing results use-case 001
Again test case 002 is distributed to this test terminal after the complete test case of terminal operating 001.
It should be noted that above-mentioned distributed control center premise based on predetermined allocation strategy allocation for test use-case is to survey
The test-types of trial business (refers to the test-types that test terminal is supported, such as: support test with the test-types of test terminal
Mobile terminal and/or mobile-terminal simulator) match on the premise of carry out, under some test environment, test terminal
Test-types is unique, and as only supported to test mobile terminal or mobile-terminal simulator, now, described test assignment is permissible
Do not include test-types.And if the test-types that test terminal is supported is not unique, the most described test assignment can include test
Type.
Further, described distributed control center 2 is additionally operable to, in the failure of described test terminal testing results use-case, test based on other
The status information of terminal runs failed test case distribution to other test terminals by described.For example, distributed control center 2 obtains
Knowing test terminal 3 testing results use-case 001 failure, test terminal 4 is in idle condition, then distribute test case 001 to survey
Examination terminal 4, is reruned (heavily running) test case 001 by test terminal 4.In general, if not considering to survey in some cases
Certain accidentalia of being likely due in test process of reason of examination terminal 3 testing results use-case 001 failure and if causing,
Or actually so by heavily running test case 001 it is known that test case 001 is problematic on idle test terminal 4
Test terminal 3 is problematic.If on test terminal 4, test case 001 can heavily be run successfully, then test terminal 3 there may be and asks
Topic, on the contrary then test case 001 has problems.By whole to other idle test by running failed test case distribution
End, while testing results use-case, it is also possible to test case or test terminal to going wrong position, and contribute to whole
The raising of testing efficiency in individual test process.
The test case distributed is run in described test terminal, and transmission test command is to mobile terminal, by described movement
The terminal execution to test command, to complete the test to each functional module of mobile terminal.In present embodiment, described movement
Terminal can be real mobile terminal, it is also possible to be virtual mobile terminal i.e. mobile-terminal simulator.Described mobile terminal
If real mobile terminal, then it is connected with described test terminal, if mobile-terminal simulator, then can with described test eventually
End operates in same and calculates.Multiple test terminal can also be run on one computer.Owing to distributed control center is being carried out
During the distribution of test case, being to distribute the mark of test case to corresponding test terminal, therefore, test terminal is surveyed running
Before example on probation, in addition it is also necessary to test case and affiliated version thereof are downloaded.
In present embodiment, the test system of described mobile terminal also includes at least one trigger (not shown), institute
State a trigger correspondence at least test terminal, realized the download of beta version and test case by described trigger.Described
Trigger and described test terminal can be one to one, it is also possible to be that a trigger is corresponding with multiple test terminals,
Preferably, using trigger and test terminal is the mode of one-to-many.
Described test assignment includes: test assignment file and the store path of beta version, and described distributed control center 2 receives also
After resolving described test assignment, it is additionally operable to be sent by the store path of described beta version to being assigned the test of test case eventually
End.In general, the store path of the test case under beta version is the subdirectory of the store path of described beta version, therefore
It is aware of the store path of beta version then it is known that the store path of test case.Therefore, described test terminal is also by institute
The store path stating the beta version that distributed control center 2 sends sends to described trigger, and described trigger is based on described beta version
This store path to beta version and under test case be downloaded, and trigger can be by relevant with this beta version
All of test case is downloaded.Therefore, in present embodiment, it is preferable that described trigger to beta version and under
Before test case is downloaded, can judge described beta version and under test case downloaded, if having downloaded
Cross, be the most no longer downloaded.Described trigger to beta version and under test case downloaded after, to be measured mobile eventually
End can install described beta version, and (different mobile terminals is installed the mode of described beta version and is slightly different, and sees follow-up reality
Execute explanation accordingly in example), the mark of the test case that described test terminal is then distributed according to distributed control center 2, in trigger
The test case downloaded selects accordingly and runs, to interact realization between mobile terminal to be measured to shifting to be measured
The test of dynamic terminal.By described trigger download beta version and under test case can realize the collection of test case
The raising of middle management, beneficially testing efficiency.
In present embodiment, described trigger can operate on same computer with described test terminal, in reality
In test process, the performance of described computer and the performance of trigger determine to run the number of test terminal on computers.
In other embodiments, it is also possible to download test case and beta version by test terminal self, specifically
Ground, includes the store path of beta version belonging to test case in described test assignment, therefore, described distributed control center can be by
The store path of beta version sends to the test terminal being assigned test case, and described test terminal is based on described beta version
Store path described beta version and test case to be run thereof are downloaded.Mobile terminal to be measured installs described test
Version, its test case downloaded is run in described test terminal, to interact between described mobile terminal to be measured, thus real
The now test to mobile terminal to be measured.
In present embodiment, described distributed control center 2 is communicated by socket interface with described test terminal, and uses
XML-RPC realizes the information transmission between described distributed control center 2 and described test terminal.Described XML-RPC belongs to lightweight and disappears
Breath delivery protocol, XML-RPC is the specification for remote procedure call (RPC, remote procedure call), this tune
With using HTTP as host-host protocol, XML (extensible markup language) vocabulary is as message payload.
In order to technical scheme is better described, below in conjunction with the test system of the mobile terminal of the embodiment of the present invention
Technical scheme is illustrated by system accordingly.
Fig. 2 is the structural representation of the test system of the mobile terminal of the embodiment of the present invention, as in figure 2 it is shown, described movement
The test system of terminal includes: overall control center 1, distributed control center 2, at least one trigger, and corresponding with described trigger extremely
A few test terminal.In the present embodiment, for convenience of description, with the test system of mobile terminal include test terminal 301,
302,401 and 402, illustrate accordingly as a example by trigger 30 and 40.
In the present embodiment, described overall control center 1 is used for issuing test assignment to described distributed control center 2.
Specifically, described overall control center 1 includes that server, described overall control center 1 provide corresponding test interface, for
Family arranges test assignment.User can on described test interface input test version, select object to be tested, such as: mobile
The protocol stack of terminal, RLC module etc., for each functional module of mobile terminal, be respectively provided with this functional module of test
Test case, user, while selecting to need the functional module of test, also corresponds to have selected relative with this functional module
The test case answered.User can also on described test interface input test version, select the name of test case to be run
Claim.After this test assignment is configured by user by described test interface, overall control center 1 generates test assignment, described
Test assignment includes at least one test case.
Described overall control center 1 is additionally operable to send test and starts, suspends or terminate order to described distributed control center 2.Described point
Control center 2 performs test assignment after receiving test initiation command, receives to test and suspends or after termination order, suspends or whole
The only execution to test assignment.
Additionally, the test interface of described overall control center 1 can be the most all right in the way of using web interface
Web interface is arranged accordingly the user facilitating different rights various places log in test.
After providing test interface to arrange test assignment by overall control center 1, the test set is appointed by described overall control center 1
Business is issued to described distributed control center 2.Described distributed control center 2 receives and parses through described test assignment, starts life receiving test
Performing described test assignment after order, allocation for test use-case is to corresponding test terminal.
Described distributed control center 2 includes at least one computer.For overall control center 1, it is described with configuration file
Have recorded IP address and the port numbers of the computer of described distributed control center 2 in configuration file, the server in overall control center 1 passes through
IP address and port numbers realize and the interconnection of the computer in distributed control center 2.In the present embodiment, described overall control center 1 and institute
State distributed control center 2 and realize the mutual of message by socket (socket) interface.
Test assignment is issued to described distributed control center 2, it is achieved that the concentrate tube to test assignment by described overall control center 1
Reason.
In the present embodiment, described overall control center 1 issues depositing of the beta version belonging to test assignment file and test case
Storage path to described distributed control center 2, the mark of the test case that this test assignment of described test assignment file record is corresponding
Mark (such as, the beta version of beta version belonging to test case in (such as, the numbering of test case) and this test assignment
This version number) etc..Such as: described test assignment file can also record the heavily race number of times of each test case, described survey
The number of times that heavily runs of example on probation refers to the total degree that test case is reruned after running unsuccessfully.If test assignment file does not has record
The heavily race number of times of test case, then can be defaulted as preset times by the heavily race number of times of test case.
In other embodiments, described overall control center issue test assignment can also be by issuing test assignment file, survey
The store path of test run basis, test-types (test-types of test assignment), test assignment priority etc. realize.
In the present embodiment, described distributed control center 2 includes: communication module (not shown in Fig. 2), application module (do not show in Fig. 2
Go out) and test case management module (not shown in Fig. 2).Described test terminal includes: test agent end and described test agent
Hold the test run device being connected, the testing tool being connected with described test run device.
Test terminal 301 shown in Fig. 2 includes: test agent end 301a, the survey being connected with described test agent end 301a
Device 301b by test run, the testing tool 301c being connected with described test run device 301b;Test terminal 302 includes: test agent
End 302a, the test run device 302b being connected with described test agent end 302a, the survey being connected with described test run device 302b
Trial work tool 302c.In the present embodiment, trigger 30 is corresponding with described test terminal 301,302.Described trigger 30, test terminal
301, test terminal 302 may operate on a computer.
Test terminal 401 includes: test agent end 401a, the test run device being connected with described test agent end 401a
401b, the testing tool 401c being connected with described test run device 401b;Test terminal 402 includes: test agent end 402a, with
The test run device 402b that described test agent end 402a is connected, the testing tool being connected with described test run device 402b
402c.Trigger 40 is corresponding with described test terminal 401,402.Described trigger 40, test terminal 401, test terminal 402 can
To run on one computer.
In the present embodiment, described test terminal, trigger can be application program, run on computers, test process
In, multiple stage computer, every computer can be had all to run a number of test terminal and a trigger, for each meter
For calculation machine, the number of described test terminal, by the trigger corresponding with described test terminal and the property of the computer running it
Depending on energy.For example, trigger 30 is run on one computer with test terminal 301,302, and can on this computer
The number of the test terminal run, depends on the performance of trigger 30 and this computer.
Hereinafter described distributed control center and test terminal are illustrated one by one.
Fig. 3 is the structural representation of the distributed control center of the embodiment of the present invention, as it is shown on figure 3, described distributed control center 2 includes:
Communication module 201, application module 202 and test case management module 203.
In conjunction with Fig. 2 and Fig. 3, described communication module 201, for receiving the store path of test assignment file and beta version
And it is forwarded to described application module 202, receive the test result of described test terminal feedback and be forwarded to described application module
202。
Described application module 202, is connected with described communication module 201, for described test assignment file is forwarded to institute
State test case management module 203, record the status information of described test terminal, and status information based on described test terminal
Call described test case management module 203, generate test report based on described test result.
Described test case management module 203, is connected with described application module 202, is used for resolving described test assignment literary composition
Part, the allocation for test use-case that calls based on described application module 202, and by described communication module 201, the test of distribution is used
The information of example sends to corresponding test terminal, and the information of described test case includes: the mark of test case.
Specifically, in the present embodiment, described communication module 201 receives the test assignment file from overall control center 1 and survey
Test run store path originally, and described test assignment file, the store path of beta version are forwarded to described application module
202.Receive the test result fed back from described test terminal, and described test result is forwarded to described application module 202.
Described communication module 201 uses XML-RPC to realize the information transmission between described overall control center 1 and test terminal.
Fig. 4 is the schematic flow sheet that the application module of the embodiment of the present invention calls test case management module, below in conjunction with
Described application module and test case management module are illustrated by Fig. 2, Fig. 3 and Fig. 4 accordingly.
User submits test assignment at overall control center 1, and the communication module 201 of distributed control center 2 receives described test assignment, and
The store path of the test assignment file in described test assignment and the beta version belonging to test case is forwarded to described answering
By module 202.Described test assignment file is forwarded to described test case management module 203 by described application module 202, and right
The status information of the test terminal that described communication module 201 sends carries out record, and status information based on described test terminal is adjusted
By test case management module 203, specifically, it is simply that described application module 202 is learning that described test terminal is in idle shape
During state, call test case management module 203 and load and allocation for test use-case.
The status information of described test terminal may include that test terminal is idle, test terminal testing results use-case time-out,
Test terminal is connected under disconnection, beta version failed download or described beta version with distributed control center without response, test terminal
Test case failed download.
Described test case management module 203, receives the test assignment file of described application module 202 forwarding and solves
Analysis, the allocation for test use-case that calls based on described application module 202, and the information of the test case of distribution is sent the most described answering
By module 202, the most described application module 202 obtains the letter of the test case of distribution from described test case management module 203
Breath.The information of described test case can be the mark of test case.
Described application module 202 calls described communication module 201, by the store path of the beta version belonging to test case
And the information of the test case received is sent to corresponding test terminal by described communication module 201, due to application module 202
It is known that No. ID of the test terminal of free time when calling test case management module 203, therefore call when described application module 202
When described communication module 201 sends the information of test case, can also inform communication mould by the test terminal of idle condition No. ID
Block 201, so that described communication module 201 can be by the storage of the beta version belonging to the information of test case and test case
Path sends to corresponding test terminal.
The test result that the described test terminal received is fed back is forwarded to described application module by described communication module 201
202, the test result that described application module 202 is fed back based on all of test terminal performed in this test assignment generates
The test report of this test assignment.Described test report includes: runs the number of successful test case, run unsuccessfully
The number of test case, the time of running of test case, run the failed title of test case, percent of pass (described percent of pass
Refer to the ratio of the number running successful test case and the test case number of operation) etc., obtain mobile terminal version
This test result.
In the present embodiment, the test assignment file that described test case management module 203 resolves is expanding of set form
Exhibition markup language (XML, Extensible Markup Language) file, Fig. 5 is the test assignment literary composition of the embodiment of the present invention
The schematic diagram of part, as it is shown in figure 5, " W10.23 " is the beta version mark (test of this test assignment in test assignment file
Version number).Tc_001_001_001 then identifies (numbering of test case) for test case.<CaseGroup>shown in Fig. 5
With</CaseGroup>between for storage have the test case of context dependency to identify, this is primarily due to, in reality
Test process in, the operation of some test case is necessarily dependent upon the operation result of other test cases, therefore generally will have
The test case of dependence is stored in identical group.Test case tc_001_001_001 of display, tc_001_ in Fig. 5
001_002 ..., the operation of tc_001_001_009 exist for dependence.And shown in Fig. 5<cases>with</Cases>
Between then for storing independent test case, there is no mutual dependence between the test case of this part.
Described test case, based on the parsing to described test assignment file, is entered by described test case management module 203
The corresponding distribution of row, in the present embodiment, it may be preferable that described test case management module is based on the dependence between test case
With the status information of test terminal, test case is distributed accordingly.When there is dependence between test case, will
The test case with dependence is distributed in same test terminal.Hereinafter carry out brief description.
In conjunction with Fig. 2, Fig. 3 and Fig. 5, for being positioned in Fig. 5<caseGroup>with</CaseGroup>between test use
For example, when application module 202 learns that test terminal 301 is idle, call test case management module 203 by tc_001_
001_001 distributes to test terminal 301, even if now there being other test terminals to be in idle condition, test case management module
203 also will not be by<caseGroup>with</CaseGroup>between remaining test case distribute to other test terminals, but
After application module 202 receives the testing results use-case tc_001_001_001 success of test terminal 301 feedback, then by remaining
Test case is distributed to test terminal 301.
And for being positioned in Fig. 5<cases>with</Cases>between test case, when application module 202 learns survey
When examination terminal 401,402 is idle, call test case management module 203 tc_100_001_001 is distributed to test terminal 401,
Tc_100_001_002 is distributed to test terminal 402.The most even between test case, there is dependence, then by test case
Distribution is in same test terminal;If not having dependence between test case, then test case can be distributed different
Test terminal.
In the present embodiment, described test case management module 203, it is additionally operable to create test case table, each is surveyed
For trial business, it is respectively provided with corresponding test case table.Described test case table includes: the mark of test case, test
The operation result of use-case, the beta version mark heavily run belonging to number of times and test case of test case.
Described application module 202 is additionally operable to result based on described test terminal testing results use-case and updates described test use
Example table.I.e. learn that the operation of the test case run test terminal is tied when described application module 202 by described communication module 201
After Guo, the heavily race number of times of the operation result of test case in test case table, test case can be updated.As: by test case
Operation result is updated to " successfully " or " unsuccessfully ", and for running failed test case, meeting after the most heavily running
Update its heavy race number of times, as subtracted 1 by heavily running number of times.
Fig. 6 is the schematic flow sheet of the distributed control center loading test assignment of the embodiment of the present invention, below in conjunction with Fig. 6 to test
The loading of task illustrates accordingly.
In actual test process, test assignment is not unique, when overall control center issues multiple test assignment to described sub-control
Behind center, all of test assignment can be circulated by distributed control center, selects test-types and the priority meeting test terminal
The highest test assignment.The test-types of test terminal includes: mobile terminal and mobile-terminal simulator, for mobile terminal mould
Can also further segment, such as intending device: mobile-terminal simulator is corresponding with beta version, specifically, that is should
Mobile-terminal simulator can only run corresponding beta version.Test-types with test terminal is not unique, the most below
It is to say that test terminal both can have been tested as a example by mobile terminal can also test mobile-terminal simulator test assignment is loaded into
Row explanation.
As shown in Figure 6, described distributed control center selects the test assignment that test assignment medium priority is the highest to be current test
Task, if the priority of test assignment is identical, overall control center is first sent the test of test initiation command and appoints by described distributed control center
Business is as current test assignment, it is judged that whether the current test-types of test assignment mates with the test-types of test terminal.
If the current test-types of test assignment matches with the test-types of described test terminal, then distributed control center is to working as
The test assignment that front test assignment, i.e. priority are the highest loads, and carries out the test case in this test assignment point
Join.
If the current test-types of test assignment does not mates with the test-types of described test terminal, then select test assignment
The test assignment that medium priority takes second place is current test assignment, it is judged that described current test assignment (appoint by the test that priority is taken second place
Business) test-types whether mate with the test-types of test terminal, the two coupling on the premise of, to current test assignment
(test assignment that priority is taken second place) loads, and to the test in current test assignment (test assignment that priority is taken second place)
Use-case is allocated.If it is to say, the test-types of the highest test assignment of priority and the test-types of test terminal
Do not mate, then just look for the test assignment that priority second is high, it is judged that the test-types of the test assignment that priority second is high with
Whether the test-types of test terminal mates, if coupling, loads the test assignment that priority second is high, and to preferentially
Test case in level the second high test assignment is allocated, if not mating, then looking for the test assignment of priority three-hypers, depending on
This analogizes.
Described distributed control center loads current test assignment particularly as follows: the test case management module of described distributed control center
Based on the test assignment file forwarded from application module received, described test assignment file is resolved, read institute
State content in test assignment file in test case table, it is simply that this test assignment is needed the volume of the test case run
Number, heavily run the content such as number of times and be loaded onto described test case table, to realize the loading to this test assignment.
It should be noted that above-mentioned be the test-types with test terminal unique time, described test is appointed by distributed control center
The loading of business is illustrated.And for the test-types of all of test terminal is unique, distributed control center has only to survey
The test assignment that trial business medium priority is the highest loads, and the test case relating to it is allocated, to realize this
The loading of secondary test assignment.If the test-types of test assignment does not mates with the test-types of all of test terminal, then originally
Secondary test assignment loads unsuccessfully.
Below in conjunction with Fig. 3 and Fig. 7, the process of the test case management module assignment test case of distributed control center is carried out phase
The explanation answered.
Fig. 7 is the schematic flow sheet of the test case management module assignment test case of the embodiment of the present invention;Fig. 7 is being entered
Row explanation before, first test assignment table is carried out simple illustration, distributed control center after receiving test assignment, its application module
202 can create test assignment table according to the content of test assignment file in test assignment, for each test assignment,
Being respectively provided with corresponding test assignment table, described test assignment table includes the title of test assignment, the shape of test assignment
State (test assignment completes, test assignment run in) and described test assignment table contain the institute in above-mentioned test case table
There is content.
Distributed control center is after receiving the order that test starts, and its test case management module 203 is to current test assignment
In test assignment file resolve, create test case table, application module 202 creates test assignment table, test assignment table
In contain all the elements in test case table.When application module 202 learns test-types and the test assignment of test terminal
Test-types coupling and during the free time of test terminal, described test case management module 203 can be called, as it is shown in fig. 7, test is used
Example management module 203 is based on the information in its test case table created, it is judged that the most also there is a need to fortune in current test assignment
The test case of row, specifically, according to the operation result of each test case in test case table, such as: success or failure,
The heavily race number of times of failed test case judges.If all of test case was run the most in test case table, and fortune
The heavily race number of times of the failed test case of row be 0 (in general, for each test case, it all heavily runs number of times to having,
After test case is run unsuccessfully, can carry out heavily running accordingly, run failed test case and the most heavily run once, test case table
In heavily race number of times can subtract 1) then think in current test assignment without test case to be run, otherwise continue to survey current
Trial business in test case be allocated (often distributing once, test case table is correspondingly updated by application module) until
Test case table showing, all of test case was run the most, and the heavily race number of times running failed test case is 0.
If the current all of test case of test assignment was run the most, and ran the heavily race number of times of failed test case
It is 0, then judges whether current test assignment also has test case (the operation knot according further to each test case running
Fruit judges, if test case does not has corresponding operation result, then it is assumed that during this test case is run), if it has, then
In test assignment table, identify this test assignment by application module 202 and be not required to test case of reallocating, then by the next one
Test assignment is set to current test assignment, resolves current test assignment file, creates test case table, and based on described test
Test case in next test assignment is allocated by use-case table.If it is not, by application module by test assignment
In table, the state of test assignment is set to completion status, i.e. this test assignment completes, next will next test assignment
It is set to current test assignment, resolves current test assignment file, create test case table, and based on described test case table pair
Test case in next test assignment is allocated.
In test process, it will usually run into test case and run failed situation, therefore, described application module 202 is also used
In in the failure of described test terminal testing results use-case, status informations based on other test terminals call test case management mould
Block 203 is allocated running failed test case.Specifically, test terminal test case is run failed result via
Described communication module 201 sends to application module 202, and described application module 202 updates test case table, when described application module
202 when learning the test terminal free time, calls described test case management module 203 to the operation failure of mark in test case table
Test case be allocated.
Below in conjunction with Fig. 2 and Fig. 3, with a concrete example, test case management module assignment is run failed test
The process of use-case carries out simple illustration.
Include by test case table: as a example by test case is designated 001~009.Test terminal 301 testing results use-case
006 failure, and test case 006 is run failed result send to communication module 201, communication module 201 is by test case
006 runs failed result sends to application module 202, and application module 202 is by the operation of test case 006 in test case table
Result is updated to " unsuccessfully ".When application module 202 learns that test terminal 302 is idle, call test case management module 203 right
Test case is allocated, if now test case management module 203 is just at allocation for test use-case 008, then at complete pairwise testing
After the distribution of use-case 008, (usual test case management module is according to being stored in test to continue distribution test case 009 thereafter
Test case is allocated by the order of the test case mark in use-case table), after distributing test case 009, test is used
Test case before example management module 203 can judge test case 006 has the most been in operation or has run successfully, if
Test case before test case 006 is currently running or has run successfully, then test assignment management module 203 is at application mould
Block 202 calls at that time, distributes running failed test case 006 to idle test terminal, and meanwhile, application module 202 is more
In new test case table, the heavily race number of times of test case 006, subtracts heavily race number of times current for test case 006 in test case table
1, when heavily race number of times running failed test case all in test case table are all set to 0, then mean that this test is appointed
Business terminates.
In the present embodiment, described application module 202, it is additionally operable to the abnormality of described test terminal is processed.Institute
The abnormality stating test terminal includes: test terminal testing results use-case is overtime, test terminal is without response, test terminal and divides
Control center connects the test case failed download under disconnection, beta version failed download or described beta version.
In the present embodiment, the application module of distributed control center can set up test terminal table, and obtains institute by the way of poll
State the abnormality of test terminal, specifically, it is simply that the most at regular intervals, calling communication module transmits to described test terminal
Number, and by the feedback of described test terminal to obtain the state of described test terminal.Described test terminal table includes: test is eventually
The port numbers of end, IP address, the test-types of test terminal, the mark of testing results use-case.When test terminal is without response, institute
State application module and regard this test terminal as invalid test terminal;When test terminal testing results use-case time-out, described application mould
Block calling communication module sends control signal to terminate the operation of this test terminal, and when learning available free test terminal,
Call test case management module and will run the test case distribution test terminal to the described free time of time-out, to rerun this
Test case;After application module knows the connected disconnection in test terminal, described application module meeting calling communication module is again
Attempt being attached with test terminal;When trigger is downloaded the beta version of test assignment or described beta version by test terminal
Under the failure result of test case when feeding back to application module, described application module calling communication module sends signal, with will
It is invalid state that this test terminal is set to this test assignment.
Additionally, in the present embodiment, described distributed control center 2 can also include subscriber interface module (not shown), is used for
Generate operation interface so that user can by operation interface distributed control center is operated: by as described in operation
Interface is operable to set up with overall control center or disconnect, and arranges the attribute etc. of described distributed control center.
In the present embodiment, described test terminal includes: test agent end, test run device and testing tool.Described test
Agent side, for receiving the information of described test case and the store path of beta version, and by the storage of described beta version
Path sends to corresponding trigger, download call by result test run device based on described trigger, detection and described sub-control
The connection status at center also feeds back to described distributed control center.
Described test run device, calls the described testing tool of control for based on described test agent end.
Described testing tool, for running the test case distributed, feedback test result to described test run device;
Described test run device, is additionally operable to described test result be fed back in described sub-control by described test agent end
The heart.
In the present embodiment, after test agent end runs, according to the IP address of the distributed control center of configuration in its configuration file
And port numbers, can be constantly trying to be attached with distributed control center, specifically, the IP address of test agent end detection distributed control center
And port numbers, after detecting, it can be sent to distributed control center with the link information of distributed control center, distributed control center is based on connecting letter
Breath and test agent end are set up and are connected.After test agent end and distributed control center are successfully connected, test agent end receives from sub-control
The information of the test case that the communication module at center sends and the store path of beta version, and by the storage of described beta version
Path is forwarded to trigger.
Described trigger is after the store path receiving the beta version that test agent end sends, according to beta version
Store path, can be downloaded the beta version required for this test assignment and test case, in general, and described test
Version and test case are stored in the version server of overall control center, trigger according to the store path of beta version from version
In server download beta version and under test case.And in actual test process, trigger is downloading test case
Time, all of test case relevant with this beta version all can be downloaded.Therefore, described trigger to beta version and
Under test case be downloaded before, can judge described beta version and under test case downloaded.General next
Say, trigger to beta version and under test case downloaded after, the mark corresponding with this beta version can be set up
File, with show this beta version and under test case downloaded, therefore trigger can be sentenced by logo file
Disconnected beta version and under test case downloaded, if having downloaded, be the most no longer downloaded.
In other embodiments, it is also possible to judged the beta version of the test assignment being currently received by test agent end
Whether it is same beta version with the beta version of the test assignment received before, if same beta version, the most not
Again the store path of beta version is sent to described trigger.Now, test agent end is also without based under trigger
Carry result and call test run device, but directly called test run device by test agent end.If not same beta version
This, then need nonetheless remain for sending the store path of beta version to trigger, by trigger complete to beta version and under
The download of test case.
Test agent end described in the present embodiment and described test run device, described trigger are by the way of shared drive
Communicate.So-called shared drive refers to that two or more processes share a given memory area.Same physical memory quilt
It is mapped to the different respective process address space of process.In can seeing between different processes that other processes are to sharing in real time
Deposit the renewal of middle data, owing to data need not replicate between each process, can communication between quickening process.This
In embodiment, trigger, each test agent end, test run device has corresponding shared drive.Described shared drive
The interval of correspondence is gone out with the data in storage trigger, test agent end, test run device according to different division of teaching contents.Use
The mode of shared drive communicates, and can accelerate the communication between test agent end and described trigger, test run device.
In the present embodiment, described test agent end, it is additionally operable to the abnormality of described test run device is carried out accordingly
Processing, specifically, described test agent end judges by the way of poll whether test run device exception occurs.When described survey
By test run the human window of device not in the presence of, new test run device can be opened.Described test agent end may include that communication
Submodule and test run device management module, described communicator module for carrying out the friendship of information with the communication module of distributed control center
Mutually, receive from the test assignment in sub-control, such as: test assignment file and the store path of beta version, test result is anti-
It is fed to distributed control center etc..The communicator module of test agent end uses XML-RPC to realize the communication module with described distributed control center
Between information transmission.Test run device management module is then used for starting and managing test run device, test run device management mould
Block can also communicate by the way of shared drive and between test run device.
Described in the present embodiment, testing tool includes: base station simulator.To test real mobile terminal, the most described shifting
The test system of dynamic terminal also includes: download tool, for the beta version that described trigger is downloaded is downloaded to described movement
Terminal.To test mobile-terminal simulator, then directly the beta version that described trigger is downloaded is copied to mobile terminal mould
Intend in device.If it addition, provide mobile-terminal simulator in beta version, then trigger is while downloading beta version, also can
Mobile-terminal simulator is downloaded to test terminal, and similarly, described mobile-terminal simulator beta version to be replicated is (generally
Read test version file is carried out by running mobile-terminal simulator), then by testing tool, mobile-terminal simulator is entered
Row test.
In the present embodiment, it is different that described test run device can judge by the way of poll whether testing tool occurs
Often, to open new testing tool in the case of testing tool occurs extremely, to guarantee the reliability in test process.
In sum, the technical scheme of the embodiment of the present invention, at least have the advantages that
Distributed control center receives described test assignment and based on predetermined allocation strategy allocation for test use-case to corresponding test
Terminal, has the biggest motility, can make full use of the resource of test terminal, be favorably improved testing efficiency.
Distributed control center status information based on described test terminal allocation for test use-case is to corresponding test terminal, due to it
While allocation for test use-case, take into account the state of test terminal, therefore avoid the occurrence of the survey run on a test terminal
Example on probation is too much, but is balancedly assigned test case in each test terminal, owing to being run by multiple test terminals
Test case, therefore, can reduce its operation time for test assignment, namely improve testing efficiency.
Distributed control center is redistributed and is run failed test case, i.e. in the failure of test terminal testing results use-case, based on
Test case failed for described operation is distributed to other test terminals by the status information of other test terminals, so may insure that
Completing of test assignment, thus improve testing efficiency and reliability.And, redistribute running failed test case,
Or actually described test case can be run by other test terminals to judge the problem test terminal of test case
Problem, copies failed test case to other test terminals without mode manually, therefore reduces in test process
Fussy degree, correspondingly also reduce testing cost.
The test system of described mobile terminal includes at least one trigger, and at least one test corresponding of described trigger is eventually
End, downloads beta version and lower test case thereof by described trigger, and works as different test terminals to identical survey
When test run is originally tested, described trigger only carry out once this beta version and under the download of test case, decrease
To beta version and under the download time of test case, improve testing efficiency, and use described trigger to download survey
Test run this and under test case also achieve to beta version and under the centralized management of test case.
Described test terminal includes test agent end, test run device and testing tool, and then by described test eventually
When mobile terminal/mobile-terminal simulator is tested by end, the most described test agent end, test run device and testing tool
In any one abnormal conditions occur, then can come by opening new test agent end or test run device or testing tool
Testing results use-case, this improves the reliability of test system.
Although the present invention is open as above with preferred embodiment, but it is not for limiting the present invention, any this area
Technical staff without departing from the spirit and scope of the present invention, may be by the method for the disclosure above and technology contents to this
Bright technical scheme makes possible variation and amendment, therefore, every content without departing from technical solution of the present invention, according to the present invention
Technical spirit any simple modification, equivalent variations and modification that above example is made, belong to technical solution of the present invention
Protection domain.
Claims (18)
1. the test system of a mobile terminal, it is characterised in that including: distributed control center and be connected with described distributed control center to
A few test terminal;
Described distributed control center is used for receiving test assignment, resolves described test assignment, based on predetermined allocation strategy allocation for test
Use-case is to corresponding test terminal, including: status information allocation for test use-case based on described test terminal to corresponding test
Terminal, described test assignment includes depositing of at least one test case, test assignment file and the beta version belonging to test case
Storage path, the mark of described test assignment file record test case;It is additionally operable to lose at described test terminal testing results use-case
Losing, status informations based on other test terminals run failed test case distribution to other test terminals by described;
Described test terminal is for running the test case distributed, to realize the test to described mobile terminal;
The test system of described mobile terminal also includes at least one trigger, a described trigger correspondence at least test terminal;
Described distributed control center, is additionally operable to be sent by the store path of described beta version to being assigned the test of test case eventually
End;
Described test terminal, is additionally operable to the startup of the store path transmission extremely correspondence of the beta version sent by described distributed control center
Device;
Described trigger, downloads described beta version and lower test use thereof for store path based on described beta version
Example, and judge before downloading described beta version and under test case downloaded.
2. the test system of mobile terminal as claimed in claim 1, it is characterised in that described divide based on predetermined allocation strategy
Join test case to include to corresponding test terminal: dependence allocation for test based on the test case in described test assignment
Use-case is to corresponding test terminal.
3. the test system of mobile terminal as claimed in claim 1, it is characterised in that the described distributed control center side by poll
Formula obtains the status information of described test terminal.
4. the test system of mobile terminal as claimed in claim 1, it is characterised in that the status information bag of described test terminal
Include: test terminal is idle, test terminal testing results use-case time-out, test terminal is without response or test terminal and distributed control center
Connect and disconnect.
5. the test system of mobile terminal as claimed in claim 1, it is characterised in that described distributed control center includes the mould that communicates
Block, application module and test case management module;
Described communication module, for receiving described test assignment file and the store path of beta version and being forwarded to described application
Module, receives the test result of described test terminal feedback and is forwarded to described application module;
Described application module, for described test assignment file is forwarded to described test case management module, records described survey
Try the status information of terminal, and status information based on described test terminal calls described test case management module, based on institute
State test result and generate test report;
Described test case management module, is used for resolving described test assignment file, based on described application module calls distribution
Test case, and by described communication module, the information of the test case of distribution is sent to corresponding test terminal, described survey
The information of example on probation includes: the mark of test case.
6. the test system of mobile terminal as claimed in claim 5, it is characterised in that described test case management module, also
For creating test case table;
Described application module, is additionally operable to result based on described test terminal testing results use-case and updates described test case table;
Described test case table includes: the mark of test case and operation result thereof.
7. the test system of mobile terminal as claimed in claim 5, it is characterised in that described application module, is additionally operable in institute
Stating test terminal testing results use-case failure, status informations based on other test terminals call test case management module, institute
State test case management module to be additionally operable to run failed test case distribution to other surveys by described communication module by described
Examination terminal.
8. the test system of mobile terminal as claimed in claim 5, it is characterised in that described application module, is additionally operable to institute
The abnormality stating test terminal processes.
9. the test system of mobile terminal as claimed in claim 5, it is characterised in that the status information bag of described test terminal
Include: test terminal is idle, test terminal testing results use-case is overtime, test terminal connects with distributed control center without response, test terminal
Connect the test case failed download under disconnection, beta version failed download or described beta version.
10. the test system of mobile terminal as claimed in claim 5, it is characterised in that described test terminal includes testing generation
Reason end, test run device and testing tool;
Described test agent end, for receiving the information of described test case and the store path of beta version, and by described survey
Test run store path originally sends the trigger to correspondence, test run described in download call by result based on described trigger
Device, detection and the connection status of described distributed control center also feed back to described distributed control center;
Described test run device, calls the described testing tool of control for based on described test agent end;
Described testing tool, for running the test case distributed, feedback test result to described test run device;
Described test run device, is additionally operable to, by described test agent end, described test result is fed back to described distributed control center.
The test system of 11. mobile terminals as claimed in claim 10, it is characterised in that described test agent end and described survey
Device, described trigger communicate by the way of shared drive by test run.
The test system of 12. mobile terminals as claimed in claim 10, it is characterised in that described test agent end, is additionally operable to
The abnormality of described test run device is processed accordingly.
The test system of 13. mobile terminals as claimed in claim 10, it is characterised in that the test system of described mobile terminal
Also include: download tool, for described beta version is write described mobile terminal.
The test system of 14. mobile terminals as claimed in claim 10, it is characterised in that described testing tool includes: base station
Simulator.
The test system of 15. mobile terminals as claimed in claim 1, it is characterised in that also include: overall control center, described always
Control center is used for issuing test assignment to described distributed control center.
The test system of 16. mobile terminals as claimed in claim 15, it is characterised in that described overall control center is additionally operable to send
Test starts, suspends or terminates order extremely described distributed control center, to control the startup of described distributed control center, suspend or terminate described survey
The execution of trial business.
The test system of 17. mobile terminals as claimed in claim 1, it is characterised in that described distributed control center and described test
Terminal is communicated by socket interface.
The test system of 18. mobile terminals as claimed in claim 17, it is characterised in that use XML-RPC to realize described point
Information transmission between control center and described test terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210046444.XA CN103298016B (en) | 2012-02-27 | 2012-02-27 | the test system of mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210046444.XA CN103298016B (en) | 2012-02-27 | 2012-02-27 | the test system of mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103298016A CN103298016A (en) | 2013-09-11 |
CN103298016B true CN103298016B (en) | 2016-12-14 |
Family
ID=49098188
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210046444.XA Active CN103298016B (en) | 2012-02-27 | 2012-02-27 | the test system of mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103298016B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107622006B (en) * | 2016-07-14 | 2020-07-07 | 上海思立微电子科技有限公司 | Mobile device testing system and method for testing mobile device |
Families Citing this family (36)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103455425B (en) * | 2013-09-25 | 2016-08-17 | 中国银行股份有限公司 | A kind of distributed test system and method |
CN104639379A (en) * | 2013-11-06 | 2015-05-20 | 中兴通讯股份有限公司 | Proxy testing method and device |
CN104734902B (en) * | 2013-12-23 | 2018-03-23 | 展讯通信(上海)有限公司 | Test system and its service end |
CN104750585A (en) * | 2013-12-30 | 2015-07-01 | 腾讯科技(深圳)有限公司 | Terminal detecting method and terminal detecting device |
CN104850491B (en) * | 2014-02-19 | 2018-09-25 | 深圳中兴网信科技有限公司 | A kind of method for testing software, equipment and system |
CN104978263B (en) * | 2014-04-09 | 2019-01-29 | 腾讯科技(深圳)有限公司 | A kind of mobile terminal applied program testing method and system |
CN103955793B (en) * | 2014-04-25 | 2017-04-26 | 国家电网公司 | System and method for station level test task management based on Dijkstra algorithm |
CN104008055B (en) * | 2014-05-30 | 2017-06-06 | 广州华多网络科技有限公司 | The method of software test, equipment and system |
CN105591782B (en) * | 2014-10-24 | 2019-07-09 | 中兴通讯股份有限公司 | The management method and device of test equipment |
CN105988904A (en) * | 2015-02-06 | 2016-10-05 | 展讯通信(天津)有限公司 | Self-adaptive testing method and system |
CN106201852A (en) * | 2015-04-29 | 2016-12-07 | 展讯通信(上海)有限公司 | A kind of distributed test method and test system |
CN106559244A (en) * | 2015-09-30 | 2017-04-05 | 中兴通讯股份有限公司 | A kind of session service test and management method and system and management end, test lead |
CN105207854A (en) * | 2015-10-13 | 2015-12-30 | 上海斐讯数据通信技术有限公司 | Multi-terminal concurrent testing system and method |
CN105320598B (en) * | 2015-11-24 | 2018-06-15 | 广州华多网络科技有限公司 | Method for testing software and device |
CN105912457A (en) * | 2015-12-08 | 2016-08-31 | 乐视网信息技术(北京)股份有限公司 | Test server, test client, test system, and test method |
CN107124210A (en) * | 2016-02-25 | 2017-09-01 | 北京博酷科技有限公司 | By matching the method that machine cloud provides pairing machine |
CN105786667A (en) * | 2016-02-29 | 2016-07-20 | 惠州Tcl移动通信有限公司 | Distributed automated testing method and system |
CN107222878B (en) * | 2016-03-22 | 2020-12-22 | 中国移动通信集团终端有限公司 | Terminal testing method and device |
CN107305511A (en) * | 2016-04-18 | 2017-10-31 | 展讯通信(上海)有限公司 | The mobile terminal test method and system of shared terminal test instrumentation |
CN107015906B (en) * | 2016-06-23 | 2020-12-04 | 创新先进技术有限公司 | Test method and device, port generation method, port generator and test system |
CN106502235B (en) * | 2016-10-31 | 2020-08-28 | 北京新能源汽车股份有限公司 | Test method and system of automobile controller |
CN107018045A (en) * | 2017-06-02 | 2017-08-04 | 郑州云海信息技术有限公司 | Distributed memory system method of testing and system based on RPC |
CN107291621A (en) * | 2017-07-07 | 2017-10-24 | 恒生电子股份有限公司 | Processing method, processing unit, medium and the electronic equipment of test case |
CN108052444A (en) * | 2017-11-13 | 2018-05-18 | 北京百度网讯科技有限公司 | A kind of method and apparatus of performance test for mobile application |
CN109062786A (en) * | 2018-07-16 | 2018-12-21 | 北京百度网讯科技有限公司 | Operation method, device and the terminal of test case |
CN109800087A (en) * | 2019-01-02 | 2019-05-24 | 郑州云海信息技术有限公司 | A method of for automatic test |
CN110825620B (en) * | 2019-10-16 | 2021-06-15 | 四川大学 | Test case priority calculation method in regression test |
CN112783757B (en) * | 2019-11-11 | 2024-03-01 | 北京沃东天骏信息技术有限公司 | Test system, method, computer system, and computer-readable storage medium |
CN112910572B (en) * | 2019-11-15 | 2022-06-10 | 大唐移动通信设备有限公司 | Base station test method, device and readable storage medium |
CN112181819A (en) * | 2020-09-23 | 2021-01-05 | 建信金融科技有限责任公司 | Test case distribution method and device, electronic equipment and medium |
CN112202952B (en) * | 2020-10-22 | 2022-04-22 | Tcl通讯(宁波)有限公司 | Mobile terminal testing method and device, storage medium and mobile terminal |
CN112231223A (en) * | 2020-10-27 | 2021-01-15 | 南京林洋电力科技有限公司 | Distributed automatic software testing method and system based on MQTT |
CN112468564A (en) * | 2020-11-20 | 2021-03-09 | 浙江百应科技有限公司 | Method for realizing automatic multi-machine parallel of terminal APP UI based on Apdium |
CN114630343A (en) * | 2020-12-10 | 2022-06-14 | 大唐移动通信设备有限公司 | Multi-type terminal-oriented 5G access network testing system and testing method |
CN112559347B (en) * | 2020-12-15 | 2024-02-20 | 北京百度网讯科技有限公司 | Test distribution method and apparatus, device, readable medium and computer program product |
CN113722237B (en) * | 2021-11-01 | 2022-02-08 | 荣耀终端有限公司 | Device testing method and electronic device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1731748A (en) * | 2005-07-29 | 2006-02-08 | 杭州华为三康技术有限公司 | Testing system and method |
CN101140541A (en) * | 2007-09-29 | 2008-03-12 | 中兴通讯股份有限公司 | Integration test system of distributed software system and method thereof |
-
2012
- 2012-02-27 CN CN201210046444.XA patent/CN103298016B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1731748A (en) * | 2005-07-29 | 2006-02-08 | 杭州华为三康技术有限公司 | Testing system and method |
CN101140541A (en) * | 2007-09-29 | 2008-03-12 | 中兴通讯股份有限公司 | Integration test system of distributed software system and method thereof |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107622006B (en) * | 2016-07-14 | 2020-07-07 | 上海思立微电子科技有限公司 | Mobile device testing system and method for testing mobile device |
Also Published As
Publication number | Publication date |
---|---|
CN103298016A (en) | 2013-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103298016B (en) | the test system of mobile terminal | |
CN103530231B (en) | Application program testing method and system based on service process control | |
CN106484622A (en) | Method of testing, apparatus and system | |
CN103902542B (en) | The O&M method and system of database in a kind of test environment | |
CN104579822B (en) | Mobile application automated performance testing system and method based on Http agreements | |
CN109684215A (en) | A kind of automated software Quality System Review and iteratively faster method | |
CN104065528A (en) | Method And Apparatus For Analyzing And Verifying Functionality Of Multiple Network Devices | |
CN110162481A (en) | A kind of method for testing software, device, equipment and storage medium | |
CN110942387A (en) | Method and system for establishing electric ticket business function based on micro-service | |
CN106933729A (en) | A kind of method of testing and system based on cloud platform | |
CN109933520A (en) | Software development test method, device, computer installation and storage medium | |
CN102810076B (en) | storage medium switching control system and method | |
CN106411637A (en) | Internet-of-things device scenario testing method | |
CN109032945A (en) | A kind of software reliability engineering the integration environment frame design method | |
CN107193730A (en) | A kind of interface test method of automation | |
CN109814877A (en) | Project dispositions method and its device based on environmental management | |
CN110377520A (en) | The test method and device, electronic equipment and readable storage medium storing program for executing for scene of trading | |
CN109032925A (en) | A kind of mobile unit drive software automated testing method | |
CN107992424A (en) | Automatic test analysis method, application server and computer-readable recording medium | |
CN107092559A (en) | Test platform middleware, test system and method based on Jmeter | |
CN102486749A (en) | Method and system for data driving test | |
CN101193154B (en) | Testing data integration system and method for mobile phone product | |
CN106201852A (en) | A kind of distributed test method and test system | |
CN105975276B (en) | Distribution building system and method | |
CN107577600A (en) | A kind of method of testing of equipment, device and computer equipment |
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 |