CN104731702A - Test system and service side thereof - Google Patents

Test system and service side thereof Download PDF

Info

Publication number
CN104731702A
CN104731702A CN201310719156.0A CN201310719156A CN104731702A CN 104731702 A CN104731702 A CN 104731702A CN 201310719156 A CN201310719156 A CN 201310719156A CN 104731702 A CN104731702 A CN 104731702A
Authority
CN
China
Prior art keywords
test
server
assignment
task
subelement
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.)
Granted
Application number
CN201310719156.0A
Other languages
Chinese (zh)
Other versions
CN104731702B (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.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN201310719156.0A priority Critical patent/CN104731702B/en
Publication of CN104731702A publication Critical patent/CN104731702A/en
Application granted granted Critical
Publication of CN104731702B publication Critical patent/CN104731702B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a test system and a service side thereof. The service side of the test system comprises a master scheduling server, a slave scheduling server and a test server. The master scheduling server comprises a master scheduling unit, the slave scheduling server and the test server respectively comprise executing units, and the slave scheduling server further comprises a slave scheduling unit; the master scheduling unit is applicable to executing scheduling tasks, and the scheduling tasks include distributing test tasks to the slave scheduling server to the test server; the slave scheduling unit is applicable to executing the scheduling tasks when the master scheduling server is abnormal; the executing units are applicable to executing the test tasks distributed to the master scheduling unit or the slave scheduling unit. According to the technical scheme, the test system and the service side have the advantages of good stability and high test efficiency.

Description

Test macro and service end thereof
Technical field
The present invention relates to automatic test technology field, particularly relate to a kind of test macro and service end thereof.
Background technology
Along with the increase day by day of mobile terminal product, the performance of mobile terminal and function enjoy user to pay close attention to, and therefore, the test job of mobile terminal is particularly important for guarantee mobile terminal quality.
The structure of existing a kind of automatization test system as shown in Figure 1, comprises mobile terminal 1, testing server 2 and testing apparatus 3.Testing server 2 performs test assignment, and carry out various test by testing apparatus 3 pairs of mobile terminals 1, described test assignment comprises multiple test case.But when testing server 2 occurs abnormal, then whole test process will interrupt or stop, therefore, the less stable of existing automatization test system.
On the other hand, test assignment needs tester write test case according to the type of tested mobile terminal or select corresponding test case to combine usually, and along with mobile terminal style continue increase, the workload of tester increases the weight of day by day, and testing efficiency also progressively reduces.In addition, for different testing requirements, tester is also needed to change test environment and configuration testing platform frequently, this needs tester to drop into more time and efforts, and the potential impact that human factor and environmental factor are brought test process and test result, all can reduce testing efficiency.
Summary of the invention
What technical solution of the present invention solved is the problem that the poor stability of existing Auto-Test System and testing efficiency are low.
For solving the problems of the technologies described above, technical solution of the present invention provides a kind of service end of test macro, comprising: master scheduling server, from dispatch server and testing server; Described master scheduling server comprises master scheduling unit, describedly comprises performance element respectively from dispatch server and testing server, describedly also comprises from scheduling unit from dispatch server; Described master scheduling unit is suitable for operation dispatching task, and described scheduler task comprises allocation for test task extremely from dispatch server or testing server; Describedly be suitable for the operation dispatching task when described master scheduling server exception from scheduling unit; Described performance element is suitable for the test assignment performing described master scheduling unit or distribute from scheduling unit.
Optionally, described master scheduling unit and comprise the first distribution subelement, second respectively from scheduling unit and distribute at least one of distributing subelement of subelement and the 3rd and distribute subelement; Described first distributes subelement is suitable for according to priority assign test assignment; Described second distributes subelement is suitable for according to time sequencing allocation for test task; Described 3rd distributes subelement is suitable for according to execution required time allocation for test task.
Optionally, described master scheduling unit and from scheduling unit comprise respectively the first distribution subelement and the 4th distribute subelement; Described first distributes subelement is suitable for according to priority assign test assignment; Described 4th distribution subelement is suitable for the test assignment of distributing equal priority according to time sequencing.
Optionally, described master scheduling unit and from scheduling unit comprise respectively the first distribution subelement and the 5th distribute subelement; Described first distributes subelement is suitable for according to priority assign test assignment; Described 5th distributes subelement is suitable for according to time sequencing and the test assignment performing required time distribution equal priority.
Optionally, described master scheduling unit or be suitable for allocation for test task to being in idle condition or the less performance element of pending test assignment from scheduling unit.
Optionally, describedly priority allocation test assignment is suitable for described testing server from scheduling unit.
Optionally, described test assignment comprises the test case corresponding to same test type, and the test-types of described test assignment is test-types corresponding to described test case, and described test-types is the communication pattern that mobile terminal is supported.
Optionally, described master scheduling server and also comprise type acquiring unit and task creation unit respectively from dispatch server; Described type acquiring unit is suitable for obtaining the test-types corresponding with the test case that will verify from test case library; Described task creation unit is suitable for setting up at least one test assignment comprising the described test case that will verify.
Optionally, described master scheduling server and also comprise task inspection unit respectively from dispatch server, described task inspection unit is suitable for before allocation for test task, checks standardization and the rationality of the test assignment that described task creation unit is set up.
Optionally, described communication pattern is the combination of network formats and single mode, bimodulus or multimode.
Optionally, describedly also comprise connectivity port and test port respectively from dispatch server and testing server, described performance element is suitable for when performing test assignment, established a communications link by described connectivity port and mobile terminal, established a communications link with corresponding testing apparatus by described test port, the testing apparatus of described correspondence is determined based on the test-types of performed test assignment.
Optionally, described master scheduling unit or be suitable for the performance element of allocation for test task to correspondence from scheduling unit, the testing apparatus that the performance element of described correspondence is connected with performance element based on the test-types of the test assignment that will distribute is determined.
Optionally, describedly also comprise interrupt location respectively from dispatch server and testing server, when described interrupt location is suitable for the priority of the test assignment performed higher than described performance element in the priority of the test assignment of distributing, control the test assignment that described performance element interrupts performing, and perform the test assignment of described distribution.
Optionally, describedly also comprise detecting unit from dispatch server, described detecting unit is suitable for the state detecting described master scheduling server.
Technical solution of the present invention also provides a kind of test macro, and comprise at least one testing apparatus and described service end, described testing apparatus is corresponding with network formats, and described testing apparatus is suitable for being connected from dispatch server or testing server with described.
Compared with prior art, technical scheme of the present invention at least has following beneficial effect:
The service end of test macro comprises master scheduling server, from dispatch server and testing server, each server division of labor is clear and definite, master scheduling server or be responsible for scheduling tests task from dispatch server, be responsible for performing test assignment from dispatch server and testing server, task scheduling and tasks carrying are separated, avoids dispatching with the confusion of test and conflict, guarantee that test assignment scheduling is not interrupted, improve the stability of test macro and service end thereof, and test resource optimization can be made.
By different distribution subelement scheduling tests tasks, allocation for test task effectively, to suitable performance element, makes the execution of test assignment more efficient, thus improves testing efficiency.
Type acquiring unit and the task creation unit test-types corresponding according to test case set up test assignment automatically, which reduce the workload of tester, improve testing efficiency.
Test under adopting different testing apparatuss to realize different network formats respectively, the test that multimode is relevant, the communication pattern can supported according to different tested mobile terminal, configures different testing apparatuss and carries out combined test, can make thus to test optimization.
Accompanying drawing explanation
Fig. 1 is the structural representation of existing a kind of test macro;
Fig. 2 is the structural representation of the test macro of technical solution of the present invention;
Fig. 3 is the structural representation of the service end of the test macro of the embodiment of the present invention;
Fig. 4 is the schematic flow sheet of the master scheduling server of the embodiment of the present invention and the scheduling power transfer from dispatch server;
Fig. 5 is the structural representation of the service end of the test macro of the embodiment of the present invention;
Fig. 6 is the structural representation of the service end of the test macro of the embodiment of the present invention.
Embodiment
Technical solution of the present invention provides a kind of test macro and service end thereof, described test macro as shown in Figure 2, comprise at least one testing apparatus TI and service end SV, testing apparatus TI is corresponding with network formats, described network formats comprises 2G network (as GSM), 3G network (as TD-SCDMA, WCDMA, CDMA2000), 4G network (as LTE) etc., in general, each testing apparatus TI(is also referred to as tester) corresponding a kind of network formats, service end SV is suitable for being connected with testing apparatus TI, carries out various test by testing apparatus TI to tested mobile terminal MS.
Test under adopting different testing apparatuss to realize different network formats respectively, the test that multimode is relevant, the communication pattern can supported according to different tested mobile terminal, configures different testing apparatuss and carries out combined test.Described communication pattern is the combination of network formats and single mode, bimodulus or multimode; such as, GSM single mode, TD-SCDMA single mode, WCDMA single mode, TD-LTE single mode, FDD-LTE single mode, GSM/TD-SCDMA bimodulus, GSM/WCDMA bimodulus, GSM/TD-SCDMA/WCDMA tri-mould, GSM/TD-SCDMA/TD-LTE tri-mould, GSM/TD-SCDMA/FDD-LTE tri-mould, GSM/WCDMA/TD-LTE tri-mould, GSM/WCDMA/FDD-LTE tri-mould, GSM/TD-SCDMA/TD-LTE/WCDMA/FDD-LTE five mould etc.
Service end SV comprises: master scheduling server S V1, from dispatch server SV2 and testing server SV3.Wherein, the scheduling of master scheduling server S V1 primary responsibility test assignment, test assignment distributed to from dispatch server SV2 or testing server SV3, master scheduling server S V1 does not perform test assignment; Mainly perform test assignment from dispatch server SV2, also can be responsible for the scheduling of test assignment temporarily, test assignment is distributed to testing server SV3 or self, it can be parallel for performing test assignment and scheduling tests task from dispatch server SV2; Testing server SV3 mainly performs test assignment.Service end is divided into master scheduling server, test resource optimization can be made from dispatch server and testing server.
Usually, tested mobile terminal by data line (as USB data line) and can communicate to connect from dispatch server or testing server; Tested mobile terminal can be communicated to connect by radio frequency line and testing apparatus; Testing apparatus by netting twine or Connection Card (as GPIB Connection Card) and can communicate to connect from dispatch server or testing server, or, communicate to connect with from dispatch server and testing server.
It should be noted that, Fig. 2 exemplary shows two testing apparatus TI and two tested mobile terminal MS, be appreciated that, according to actual testing requirement, the quantity of testing apparatus can correspondingly increase and decrease, can establish a communications link with multi-section tested mobile terminal respectively from dispatch server and testing server, also can establish a communications link with multiple stage testing apparatus respectively from dispatch server and testing server, tested mobile terminal also can establish a communications link with multiple stage testing apparatus simultaneously.
Below in conjunction with drawings and Examples, technical solution of the present invention is described in detail.
The service end of the test macro of the embodiment of the present invention shown in Fig. 3 comprises master scheduling server S V1, from dispatch server SV2 and testing server SV3.Master scheduling server S V1 comprises master scheduling cell S V11, and comprise from scheduling unit SV21 and performance element SV22 from dispatch server SV2, testing server SV3 comprises performance element SV32.
Master scheduling cell S V11 is suitable for operation dispatching task, and described scheduler task comprises allocation for test task extremely from dispatch server or testing server.
The operation dispatching task when master scheduling server S V11 is abnormal is suitable for from scheduling unit SV21.
Performance element SV22, SV32 are suitable for the test assignment performing master scheduling cell S V11 or distribute from scheduling unit SV21.
In the specific implementation, the master scheduling cell S V11 of master scheduling server S V1 has the scheduling power of test assignment; When master scheduling server S V1 is abnormal, scheduling power transfer from dispatch server SV2 from scheduling unit SV21, when master scheduling server S V1 recovers normal, scheduling power transfers the master scheduling cell S V11 of master scheduling server S V1.
Master scheduling server and the flow process transferred the possession of from the scheduling of dispatch server power are as shown in Figure 4, master scheduling server is than having higher scheduling power from dispatch server, when the two normally works simultaneously, master scheduling server has scheduling power, be responsible for operation dispatching task, perform test assignment from dispatch server.When master scheduling server exception, such as power-off, deadlock etc., and when capturing this signal from dispatch server, scheduling power transfers from dispatch server, just have scheduling power from dispatch server, interim responsible operation dispatching task, and follow the tracks of the state of master scheduling server, when detecting that master scheduling server recovers normal, from dispatch server, the scheduling of test assignment power is transferred master scheduling server.
For realizing the status tracking to master scheduling server S V1, can further include detecting unit (not shown) from dispatch server SV2, described detecting unit is suitable for the state detecting master scheduling server S V1.When described detecting unit detects master scheduling server S V1 abnormal state, send trigger pip extremely from scheduling unit SV21, to trigger from scheduling unit SV21 operation dispatching task, when described detecting unit detects that master scheduling server S V1 recovering state is normal, send termination signal extremely from scheduling unit SV21, to stop from scheduling unit SV21 operation dispatching task, transfer the possession of scheduling power to master scheduling cell S V11.It should be noted that, in other embodiments, also can not need detecting unit, but by the status signal from scheduling unit SV21 Direct Acquisition master scheduling server, to start or to stop operation dispatching task.
Master scheduling cell S V11 and from scheduling unit SV21 when have scheduling power, by distribution subelement (not shown) carry out allocation for test task according to identical scheduling strategy.Described scheduling strategy can be priority, the acquisition time of test assignment, the execution required time of test assignment, the state etc. from dispatch server and testing server based on test assignment.
The master scheduling cell S V11 of the embodiment of the present invention and can be comprise the first distribution subelement, second respectively to distribute any one of distributing subelement of subelement and the 3rd and distribute subelement from scheduling unit SV21.
Described first distributes subelement is suitable for according to priority assign test assignment.Usually, described first distributes subelement by test assignment priority allocation high for priority extremely from the performance element SV22 of dispatch server SV2 or the performance element SV32 of testing server SV3, and the test assignment identical for priority then can be distributed in any order.
Described second distributes subelement is suitable for according to time sequencing allocation for test task.Usually, according to first come first served basis, described second distributes subelement by acquisition time test assignment priority allocation comparatively early to from the performance element SV22 of dispatch server SV2 or the performance element SV32 of testing server SV3.
Described 3rd distributes subelement is suitable for according to execution required time allocation for test task.Usually, the described 3rd distributes subelement by test assignment priority allocation shorter for execution required time extremely from the performance element SV22 of dispatch server SV2 or the performance element SV32 of testing server SV3.
The master scheduling cell S V11 of the embodiment of the present invention and also can be comprise the first distribution subelement, second respectively to distribute subelement and the 3rd and distribute multiple distribution subelements subelement from scheduling unit SV21, to be indicated according to user by a chooser unit or Stochastic choice one distributes subelement and carries out task scheduling.
The master scheduling cell S V11 of the embodiment of the present invention and can also be comprise the first distribution subelement and the 4th respectively to distribute subelement from scheduling unit SV21.Described first distributes subelement is suitable for according to priority assign test assignment; Described 4th distribution subelement is suitable for the test assignment of distributing equal priority according to time sequencing.
Can be specifically that described first distributes subelement by test assignment priority allocation high for priority extremely from the performance element SV22 of dispatch server SV2 or the performance element SV32 of testing server SV3.For the test assignment that priority is identical, then the described 4th distributes subelement by acquisition time test assignment priority allocation comparatively early to from the performance element SV22 of dispatch server SV2 or the performance element SV32 of testing server SV3.
The master scheduling cell S V11 of the embodiment of the present invention and can also be comprise the first distribution subelement and the 5th respectively to distribute subelement from scheduling unit SV21; Described first distributes subelement is suitable for according to priority assign test assignment; Described 5th distributes subelement is suitable for according to time sequencing and the test assignment performing required time distribution equal priority.
Can be specifically that described first distributes subelement by test assignment priority allocation high for priority extremely from the performance element SV22 of dispatch server SV2 or the performance element SV32 of testing server SV3.For the test assignment that priority is identical, then described 5th distribution subelement considers acquisition time and performs required time, can perform the shorter test assignment priority allocation of required time extremely from the performance element SV22 of dispatch server SV2 or the performance element SV32 of testing server SV3 in test assignment close for acquisition time.Such as, wait for the test assignment A that the priority level of same test resource (from dispatch server or testing server) is identical and test assignment B simultaneously, test duration needed for test assignment A is 3 hours, test duration needed for test assignment B is 8 hours, even if test assignment A initiation more late than test assignment B, also can first scheduled for executing test assignment A.
Master scheduling cell S V11 and optionally test assignment can be dispensed to the performance element SV32 of performance element SV22 from dispatch server SV2 or testing server SV3 from scheduling unit SV21.In embodiments of the present invention, master scheduling cell S V11 and can determine according to the state from dispatch server SV2 and testing server SV3 test assignment to be dispensed to the performance element SV22 from dispatch server SV2 or the performance element SV32 of testing server SV3 from scheduling unit SV21.
Can be specifically, described master scheduling cell S V11 or from the distribution subelement of scheduling unit SV21 can allocation for test task to being in idle condition or more idle performance element, such as, if be in idle condition from the performance element SV22 of dispatch server SV2, the performance element SV32 of testing server SV3 performs test assignment, then master scheduling cell S V11 or from the distribution subelement of scheduling unit SV21 can allocation for test task to performance element SV22.Again such as, if test assignment pending from dispatch server SV2 is more than test assignment pending in testing server SV3, then master scheduling cell S V11 or from the distribution subelement of scheduling unit SV21 can allocation for test task to performance element SV32.
When having scheduling temporary from dispatch server SV2, for avoiding from the resource contention of dispatch server SV2 or guaranteeing from dispatch server SV2 work efficiency, from scheduling unit SV21 also can priority allocation test assignment to the performance element SV32 of testing server SV3.
Described master scheduling unit or can also be suitable for the performance element of allocation for test task to correspondence from scheduling unit, the testing apparatus that the performance element of described correspondence is connected with performance element based on the test-types of the test assignment that will distribute is determined, described test-types is the communication pattern that tested mobile terminal is supported.
Can be specifically, when the test-types of the test assignment that will distribute is performing with a performance element or the test-types of pending test assignment is identical or relevant, the testing apparatus that then this performance element connects also is the required testing apparatus connected of test assignment will distributed described in execution, this performance element can be called corresponding performance element, based on the consideration improving testing efficiency, the described test assignment that will distribute can be dispensed to the performance element of described correspondence.Such as, the test-types of the test assignment of distributing is GSM/TD-SCDMA bimodulus, the test-types of the test assignment that performance element SV22 is performing is GSM single mode, the test-types of the test assignment that performance element SV32 is performing is GSM/TD-SCDMA bimodulus, then master scheduling cell S V11 or from the distribution subelement of scheduling unit SV21 can allocation for test task to performance element SV22 or performance element SV32, better, be dispensed to performance element SV32.And for example, the test-types of the test assignment of distributing is GSM/WCDMA bimodulus, the test-types of the test assignment that performance element SV22 is performing is TD-SCDMA single mode, the test-types of the test assignment that performance element SV32 is performing is GSM/TD-SCDMA bimodulus, then master scheduling cell S V11 or from the distribution subelement of scheduling unit SV21 can allocation for test task to performance element SV22.
Further, described test assignment can be set up by tester and input, and the test macro of the embodiment of the present invention then can set up test assignment according to test case automatically, which reduces the workload of tester, improves testing efficiency.
The service end of the test macro of the embodiment of the present invention shown in Fig. 5, compared with Fig. 3, master scheduling server S V1 and also comprise type acquiring unit and task creation unit respectively from dispatch server SV2.Particularly, master scheduling server S V1 also comprises type acquiring unit SV13 and task creation cell S V14, also comprises type acquiring unit SV23 and task creation cell S V24 from dispatch server SV2.Further the acquisition of test assignment is described by the present embodiment.
Type acquiring unit SV13, SV23 are suitable for obtaining the test-types corresponding with the test case that will verify from test case library, and described test-types is the communication pattern that mobile terminal is supported.Task creation cell S V14, SV24 are suitable for setting up at least one test assignment, and described test assignment comprises the test case of corresponding same test-types.
When master scheduling server S V1 has scheduling temporary, test assignment is obtained by type acquiring unit SV13 and task creation cell S V14; When having scheduling temporary from dispatch server SV2, test assignment is obtained by type acquiring unit SV23 and task creation cell S V24.
During concrete enforcement, tester according to testing requirement, can fill in and submits to test single in inputting interface.Test single test single-character given name that mainly comprises to claim (Test_ID), test the title of the test case (case) of needs checking, software version path, platform information, test prioritization and whether inform the progress etc. of testing single corresponding test assignment by timed sending mail.Test_ID can give prominence to the characteristic information of test, the name of such as tester, test purpose etc.
Each case during type acquiring unit SV13 or SV23 is single by test mates with the case preserved in case storehouse on server, determines the test-types that each case is corresponding.Case in case storehouse deposits by different test-types and safeguards, test-types comprises GSM single mode, TD-SCDMA single mode, WCDMA single mode, TD-LTE single mode, FDD-LTE single mode, GSM/TD-SCDMA bimodulus, GSM/WCDMA bimodulus, GSM/TD-SCDMA/WCDMA tri-mould, GSM/TD-SCDMA/TD-LTE tri-mould, GSM/TD-SCDMA/FDD-LTE tri-mould, GSM/WCDMA/TD-LTE tri-mould, GSM/WCDMA/FDD-LTE tri-mould, GSM/TD-SCDMA/TD-LTE/WCDMA/FDD-LTE five mould etc.If the test-types of selected case is consistent, then task creation cell S V14 or SV24 generates a test case list (case list); If the test-types of selected case is inconsistent, then generate several case list according to different test-types.For example, the test-types of the case during a test is single comprises GSM single mode, TD-SCDMA single mode and GSM/WCDMA bimodulus, then can be divided into case list corresponding to case list, TD-SCDMA single mode corresponding to GSM single mode and case list corresponding to GSM/WCDMA bimodulus, the corresponding test assignment of each case list.
In embodiments of the present invention, described master scheduling server and task inspection unit (not shown) can also be comprised respectively from dispatch server, described task inspection unit is suitable for before allocation for test task, checks standardization and the rationality of the test assignment that described task creation unit is set up.
Can be specifically, after described task creation unit sets up test assignment, described task inspection unit detects test assignment, whether the content of the test list that checkout task is corresponding is correct, such as, whether check that whether the software version path of filling in is correct, detect the platform filled in exist, when a station server carrying multi-section mobile terminal simultaneously, whether the port that detect corresponding terminal exists, whether communicate normal.The incorrect test of content is single can be return, and Wrong localization, by mail sending to system manager and tester, be convenient to tester and change test list in time.So just single for incorrect for content test very first time can be fed back to tester and system manager, avoid because irrational test assignment waste test resource.
Master scheduling cell S V11 or from scheduling unit SV21 test assignment corresponding for test list correct for content is dispensed to the performance element SV32 of performance element SV22 from dispatch server SV2 or testing server SV3.Concrete how distribution can with reference to the related description of previous embodiment.
The service end of the test macro of the aforementioned embodiment of the present invention can also comprise connectivity port and test port, described performance element is suitable for when performing test assignment, established a communications link by described connectivity port and mobile terminal, established a communications link with corresponding testing apparatus by described test port, the testing apparatus of described correspondence is determined based on the test-types of performed test assignment, and described test-types is the communication pattern that mobile terminal is supported.
For the service end of the test macro of the embodiment of the present invention shown in Fig. 6, compared to Fig. 5, also comprise at least one connectivity port SV25 and at least one test port SV26 from dispatch server SV2.Testing server SV3 also comprises at least one connectivity port SV35 and at least one test port SV36.Further the execution of test assignment is described by the present embodiment.
Can be established a communications link by wired or wireless mode from dispatch server SV2 and testing server SV3, connectivity port SV25, SV35 are used for establishing a communications link with mobile terminal, and test port SV26, SV36 are used for establishing a communications link with testing apparatus.The type of connectivity port and test port is determined according to the type of communication connection.
For example, mobile terminal is connected to from dispatch server SV2 and testing server SV3 by USB data line, then the connectivity port of corresponding selection is USB interface.The test that GSM is relevant, selects Agilent 8960(Agilent8960) tester, then the test port of corresponding selection is GPIB Connection Card; The test that TD-SCDMA is relevant, the tester of selection is Luo De and Schwarz SMU200A(Rohde & Schwarz SMU200A), then the test port of corresponding selection is network interface card; The tester that WCDMA dependence test is selected is Luo De and Schwarz CMU200(Rohde & Schwarz CMU200), then the test port of corresponding selection is GPIB Connection Card.
Performance element SV22, SV32 are after acquisition test assignment, according to the test-types of test assignment, configuration testing environment, such as, the test environment of GSM single mode then correspondence is configured to Agilent8960 tester, and the test environment of GSM/TD-SCDMA bimodulus then correspondence is configured to be combined by Agilent8960 tester and Rohde & Schwarz SMU200A.Performance element SV22, SV32 autoscan and detection port, be connected with tester by the test port of correspondence, obtained the chip type of mobile terminal, mate correct test platform by connectivity port.
Performance element SV22, SV32 send corresponding AT order makes mobile terminal enter downloading mode, automatically downloads the software version under the software version path that test list is filled in.The program regression test of frequently changing for program and validation test, both saved manpower, took full advantage of resource again.
After performance element SV22, SV32 detect the mark that software version has been downloaded, software version will be closed and download interface, enter test interface, perform test.
Performance element SV22, SV32 test each case, each case generates a file extent and is called tracking (trace) file of .txt and corresponding daily record (log, such as, dsplog, armlog etc.), the generation of log and preservation are optional, if produce log information, log preserves on the server after being through compression, to save storage space.
Performance element SV22, SV32 produce at test process test report (Test Report) file that a file extent is called .txt, and the test result (pass, fail) of each case of real time record and each case complete the test duration of test.
Further, in the service end of the test macro of the embodiment of the present invention, interrupt location can also be comprised respectively from dispatch server and testing server, when described interrupt location is suitable for the priority of the test assignment performed higher than described performance element in the priority of the test assignment of distributing, control the test assignment that described performance element interrupts performing, and perform the test assignment of described distribution.
Under normal circumstances, performance element performs test assignment successively according to the distribution time of test assignment, when there being newly assigned test assignment, if the priority of the test assignment that the priority of newly assigned test assignment is performing higher than performance element, described interrupt location controls the test assignment that described performance element interrupts performing, and performs described newly assigned test assignment; Described performance element, after executing described newly assigned test assignment, continues to perform interrupted test assignment.
In addition, when described performance element performs test assignment, the system manager of test macro has super authority, described performance element can suspend according to the instruction of the system manager received and stop the test assignment of any priority level, test resource is discharged, turns to and perform the interim the most urgent test assignment occurred.
It will be appreciated by those skilled in the art that, the all or part of of server of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, described program can be stored in computer-readable recording medium, and described storage medium can be ROM, RAM, magnetic disc, CD etc.
Although the present invention discloses as above, the present invention is not defined in this.Any those skilled in the art, without departing from the spirit and scope of the present invention, all can make various changes or modifications, and therefore protection scope of the present invention should be as the criterion with claim limited range.

Claims (15)

1. a service end for test macro, is characterized in that, comprising: master scheduling server, from dispatch server and testing server; Described master scheduling server comprises master scheduling unit, describedly comprises performance element respectively from dispatch server and testing server, describedly also comprises from scheduling unit from dispatch server;
Described master scheduling unit is suitable for operation dispatching task, and described scheduler task comprises allocation for test task extremely from dispatch server or testing server;
Describedly be suitable for the operation dispatching task when described master scheduling server exception from scheduling unit;
Described performance element is suitable for the test assignment performing described master scheduling unit or distribute from scheduling unit.
2. the service end of test macro as claimed in claim 1, is characterized in that, described master scheduling unit and comprise the first distribution subelement, second respectively from scheduling unit and distribute at least one of distributing subelement of subelement and the 3rd and distribute subelement;
Described first distributes subelement is suitable for according to priority assign test assignment;
Described second distributes subelement is suitable for according to time sequencing allocation for test task;
Described 3rd distributes subelement is suitable for according to execution required time allocation for test task.
3. the service end of test macro as claimed in claim 1, is characterized in that, described master scheduling unit and comprise the first distribution subelement and the 4th respectively from scheduling unit and distribute subelement;
Described first distributes subelement is suitable for according to priority assign test assignment;
Described 4th distribution subelement is suitable for the test assignment of distributing equal priority according to time sequencing.
4. the service end of test macro as claimed in claim 1, is characterized in that, described master scheduling unit and comprise the first distribution subelement and the 5th respectively from scheduling unit and distribute subelement;
Described first distributes subelement is suitable for according to priority assign test assignment;
Described 5th distributes subelement is suitable for according to time sequencing and the test assignment performing required time distribution equal priority.
5. the service end of test macro as claimed in claim 1, is characterized in that, described master scheduling unit or be suitable for allocation for test task to being in idle condition or the less performance element of pending test assignment from scheduling unit.
6. the service end of test macro as claimed in claim 1, is characterized in that, is describedly suitable for priority allocation test assignment to described testing server from scheduling unit.
7. the service end of test macro as claimed in claim 1, it is characterized in that, described test assignment comprises the test case corresponding to same test type, the test-types of described test assignment is test-types corresponding to described test case, and described test-types is the communication pattern that mobile terminal is supported.
8. the service end of test macro as claimed in claim 7, is characterized in that, described master scheduling server and also comprise type acquiring unit and task creation unit respectively from dispatch server;
Described type acquiring unit is suitable for obtaining the test-types corresponding with the test case that will verify from test case library;
Described task creation unit is suitable for setting up at least one test assignment comprising the described test case that will verify.
9. the service end of test macro as claimed in claim 8, it is characterized in that, described master scheduling server and also comprise task inspection unit respectively from dispatch server, described task inspection unit is suitable for before allocation for test task, checks standardization and the rationality of the test assignment that described task creation unit is set up.
10. the service end of test macro as claimed in claim 7, it is characterized in that, described communication pattern is the combination of network formats and single mode, bimodulus or multimode.
The service end of 11. test macros as described in any one of claim 1 to 10, it is characterized in that, describedly also comprise connectivity port and test port respectively from dispatch server and testing server, described performance element is suitable for when performing test assignment, established a communications link by described connectivity port and mobile terminal, established a communications link with corresponding testing apparatus by described test port, the testing apparatus of described correspondence is determined based on the test-types of performed test assignment.
The service end of 12. test macros as claimed in claim 11, it is characterized in that, described master scheduling unit or be suitable for the performance element of allocation for test task to correspondence from scheduling unit, the testing apparatus that the performance element of described correspondence is connected with performance element based on the test-types of the test assignment that will distribute is determined.
The service end of 13. test macros as described in any one of claim 1 to 10, it is characterized in that, describedly also comprise interrupt location respectively from dispatch server and testing server, when described interrupt location is suitable for the priority of the test assignment performed higher than described performance element in the priority of the test assignment of distributing, control the test assignment that described performance element interrupts performing, and perform the test assignment of described distribution.
The service end of 14. test macros as described in any one of claim 1 to 10, is characterized in that, describedly also comprises detecting unit from dispatch server, and described detecting unit is suitable for the state detecting described master scheduling server.
15. 1 kinds of test macros, it is characterized in that, comprise at least one testing apparatus and the service end described in any one of claim 1 to 14, described testing apparatus is corresponding with network formats, and described testing apparatus is suitable for being connected from dispatch server or testing server with described.
CN201310719156.0A 2013-12-23 2013-12-23 Test system and its service end Active CN104731702B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310719156.0A CN104731702B (en) 2013-12-23 2013-12-23 Test system and its service end

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310719156.0A CN104731702B (en) 2013-12-23 2013-12-23 Test system and its service end

Publications (2)

Publication Number Publication Date
CN104731702A true CN104731702A (en) 2015-06-24
CN104731702B CN104731702B (en) 2017-12-26

Family

ID=53455612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310719156.0A Active CN104731702B (en) 2013-12-23 2013-12-23 Test system and its service end

Country Status (1)

Country Link
CN (1) CN104731702B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107015906A (en) * 2016-06-23 2017-08-04 阿里巴巴集团控股有限公司 Method of testing and device, port generation method and port maker and test system
CN107294619A (en) * 2017-06-05 2017-10-24 成都华太航空科技股份有限公司 A kind of HFDR test systems and its method of testing
CN107895217A (en) * 2017-08-04 2018-04-10 平安普惠企业管理有限公司 Test and management method and application server
US10764125B2 (en) * 2016-01-30 2020-09-01 Huawei Technologies Co., Ltd. Method and device for training model in distributed system
CN118550839A (en) * 2024-07-29 2024-08-27 南京翼辉信息技术有限公司 Embedded automatic test system and test method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227350A (en) * 2008-02-03 2008-07-23 中兴通讯股份有限公司 System for parallel executing automatization test based on priority level scheduling and method thereof
CN101262369A (en) * 2008-03-28 2008-09-10 华为技术有限公司 Master/slave realization method for dispatching server and dispatching server
CN101917306A (en) * 2010-08-20 2010-12-15 北京星网锐捷网络技术有限公司 Method, system and device for automatic test
CN202276468U (en) * 2011-09-15 2012-06-13 深圳市专一通信科技有限公司 Wireless network test device
US20120221279A1 (en) * 2009-11-23 2012-08-30 Zte Corporation Automatic Test System for Distributed Comprehensive Service and Method Thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227350A (en) * 2008-02-03 2008-07-23 中兴通讯股份有限公司 System for parallel executing automatization test based on priority level scheduling and method thereof
CN101262369A (en) * 2008-03-28 2008-09-10 华为技术有限公司 Master/slave realization method for dispatching server and dispatching server
US20120221279A1 (en) * 2009-11-23 2012-08-30 Zte Corporation Automatic Test System for Distributed Comprehensive Service and Method Thereof
CN101917306A (en) * 2010-08-20 2010-12-15 北京星网锐捷网络技术有限公司 Method, system and device for automatic test
CN202276468U (en) * 2011-09-15 2012-06-13 深圳市专一通信科技有限公司 Wireless network test device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10764125B2 (en) * 2016-01-30 2020-09-01 Huawei Technologies Co., Ltd. Method and device for training model in distributed system
CN107015906A (en) * 2016-06-23 2017-08-04 阿里巴巴集团控股有限公司 Method of testing and device, port generation method and port maker and test system
CN107015906B (en) * 2016-06-23 2020-12-04 创新先进技术有限公司 Test method and device, port generation method, port generator and test system
CN107294619A (en) * 2017-06-05 2017-10-24 成都华太航空科技股份有限公司 A kind of HFDR test systems and its method of testing
CN107895217A (en) * 2017-08-04 2018-04-10 平安普惠企业管理有限公司 Test and management method and application server
CN118550839A (en) * 2024-07-29 2024-08-27 南京翼辉信息技术有限公司 Embedded automatic test system and test method thereof
CN118550839B (en) * 2024-07-29 2024-10-11 南京翼辉信息技术有限公司 Embedded automatic test system and test method thereof

Also Published As

Publication number Publication date
CN104731702B (en) 2017-12-26

Similar Documents

Publication Publication Date Title
CN104734902A (en) Testing system and server end thereof
CN102035697B (en) Concurrent connection number performance test system and method for file system
CN104731702A (en) Test system and service side thereof
CN110457197B (en) Service testing method, device, computer equipment and storage medium
CN104424092A (en) Page loading time length testing method and device
CN109871328B (en) Software testing method and device
CN104731701A (en) Test system and method and device for executing test tasks
CN110362460B (en) Application program performance data processing method, device and storage medium
CN105337796A (en) WIFI router performance test method and system
CN102769665A (en) Radio frequency test instrument sharing system and application method thereof
CN111858050A (en) Server cluster mixed deployment method, cluster management node and related system
CN112383439A (en) Air upgrading system and method for intelligent gas meter
CN103607731B (en) A kind of processing method and processing device of measurement report
CN111784185B (en) Timing task scheduling system of distributed power distribution communication network
EP4418721A1 (en) Base station version downloading method, network management server, base station, device and medium
CN102708008A (en) Implementation method of linking download strategy
CN202231869U (en) Mobile signal automatic dial testing terminal and system
CN102868461B (en) Base band test method, device and system
CN112765015B (en) Test task distribution method based on terminal equipment, scheduling terminal and test system
CN205545312U (en) APP testing arrangement and APP test system
CN112910572B (en) Base station test method, device and readable storage medium
CN103546341A (en) Automatic setup method of test environment
CN103747529A (en) Cell activation method and cell activation device
CN115442266A (en) Gateway performance testing method and device, storage medium and electronic device
CN109959842A (en) A kind of method, apparatus and distribution terminal of fault detection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190314

Address after: 101399 Building 8-07, Ronghui Garden 6, Shunyi Airport Economic Core Area, Beijing

Patentee after: Xin Xin finance leasing (Beijing) Co.,Ltd.

Address before: 201203 Building 1, exhibition hall, 2288 lane, 2288 Chong, road, Zhangjiang hi tech park, Shanghai

Patentee before: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20150624

Assignee: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Assignor: Xin Xin finance leasing (Beijing) Co.,Ltd.

Contract record no.: X2021110000008

Denomination of invention: Test system and its server

Granted publication date: 20171226

License type: Exclusive License

Record date: 20210317

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221026

Address after: 201203 Shanghai city Zuchongzhi road Pudong New Area Zhangjiang hi tech park, Spreadtrum Center Building 1, Lane 2288

Patentee after: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Address before: 101399 Building 8-07, Ronghui Garden 6, Shunyi Airport Economic Core Area, Beijing

Patentee before: Xin Xin finance leasing (Beijing) Co.,Ltd.