CN103580907B - A kind of management method that test assignment is performed to digital device - Google Patents

A kind of management method that test assignment is performed to digital device Download PDF

Info

Publication number
CN103580907B
CN103580907B CN201210284724.4A CN201210284724A CN103580907B CN 103580907 B CN103580907 B CN 103580907B CN 201210284724 A CN201210284724 A CN 201210284724A CN 103580907 B CN103580907 B CN 103580907B
Authority
CN
China
Prior art keywords
test assignment
cluster tool
digital device
test
task queue
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210284724.4A
Other languages
Chinese (zh)
Other versions
CN103580907A (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.)
China Mobile Group Guangdong Co Ltd
Aspire Digital Technologies Shenzhen Co Ltd
Original Assignee
China Mobile Group Guangdong Co Ltd
Aspire Digital Technologies Shenzhen 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 China Mobile Group Guangdong Co Ltd, Aspire Digital Technologies Shenzhen Co Ltd filed Critical China Mobile Group Guangdong Co Ltd
Priority to CN201210284724.4A priority Critical patent/CN103580907B/en
Publication of CN103580907A publication Critical patent/CN103580907A/en
Application granted granted Critical
Publication of CN103580907B publication Critical patent/CN103580907B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention proposes a kind of management method that test assignment is performed to digital device, including:An at least digital device is organized as an at least cluster tool, the minimum cluster tool of subordinate's test assignment number is chosen, test assignment is added to the said equipment set, by the step of at least a test assignment is organized as at least task queue for belonging to the said equipment set;The task queue that an at least cluster tool subordinate has an at least test assignment is chosen respectively, and an at least test assignment of task queue is chosen in execution, in turn to the step of at least a digital device is tested.The present invention realizes multiple digital devices are tested simultaneously, can simultaneously perform multinomial test assignment, and avoid the problem of digital device connection failure.The present invention provides flexible and efficient test assignment management, higher to Smartphone device utilization rate with higher height rationality energy, improves Smartphone device and connects into power.

Description

A kind of management method that test assignment is performed to digital device
Technical field
The present invention relates to data processing technique, more specifically to a kind of pipe that test assignment is performed to digital device Reason method.
Background technology
As diversified digital device is constantly popularized, digital device technology continually develops renewal, it is necessary to be set to numeral It is standby to carry out efficient, specification, flexible batch testing.Prior art is generally managed to the test assignment of digital device using queue Reason, typically there is two schemes:
Single queue polling queue scheme, uses a task queue, it would be desirable to which the test assignment of execution is added to task team Queued up in row, processing routine takes out test assignment one by one from the task queue, obtain APP corresponding with test assignment using soft Part bag, uploads or is installed to and tested in corresponding digital device.This programme queuing strategy is realized simply, due to only one of which Processing routine, while a test assignment can only be performed to digital device, it is to be tested that a large amount of digital devices are waited in turn etc., causes Testing efficiency is low, and digital device utilization rate is low.
Many queue polling queue schemes, using multiple tasks queue, each queue corresponds to a processing routine respectively;At multiple Reason program can respectively perform a task in corresponding task queue simultaneously, if any n task queue, then can simultaneously perform n Test assignment.This programme can simultaneously perform multiple test assignments, and multiple digital devices are tested, and improve testing efficiency, But there may be multiple test assignments same time tests same digital device, is limited to the treatment energy of digital device Power, be likely to result in digital device connection failure rate it is high the drawbacks of.
The content of the invention
The technical problem to be solved in the present invention is to propose a kind of management method that test assignment is performed to digital device.
The technical solution adopted for the present invention to solve the technical problems is to provide a kind of to digital device execution test assignment Management method, including:An at least digital device is organized as an at least cluster tool, subordinate's test assignment number is chosen minimum Cluster tool, test assignment is added to the said equipment set, and an at least test assignment is organized as belonging to the said equipment set The step of at least task queue;The task queue that an at least cluster tool subordinate has an at least test assignment is chosen respectively, An at least test assignment of task queue is chosen in execution, in turn to the step of at least a digital device is tested.
Preferably, it is above-mentioned that an at least digital device is organized as an at least cluster tool, choose subordinate's test assignment number most Few cluster tool, test assignment is added to the said equipment set, and an at least test assignment is organized as belonging to the said equipment collection The step of at least task queue closed, includes:Information according to digital device at least a digital device will be organized as at least respectively The step of one cluster tool;According to the corresponding relation between an at least test assignment and an at least digital device, respectively from test In the corresponding at least cluster tool of task, the step of choose subordinate's test assignment number minimum cluster tool;Respectively to above-mentioned Cluster tool adds above-mentioned test assignment, and an at least test assignment is organized as belonging to an at least task team of the said equipment set The step of row.
Preferably, it is above-mentioned to choose the task queue that an at least cluster tool subordinate has an at least test assignment respectively, hold Row chooses an at least test assignment of task queue, realizes in turn to including the step of at least a digital device is tested:Point It is not a step of at least cluster tool creates corresponding equipment treatment thread;Above-mentioned at least equipment treatment thread is checked respectively for The task queue of the said equipment set subordinate, chooses the step of there is at least task queue of a test assignment;Perform above-mentioned choosing In task queue in an at least test assignment, the step of test digital device.
Preferably, the information of above-mentioned digital device includes classification information and unique mark.Can be by least according to classification information One digital device is divided into an at least cluster tool, and each cluster tool includes an at least digital device;Above-mentioned classification information bag Include but be not limited to the model of digital device, brand, device class, the function of supporting, operating system, screen resolution and/or interior Deposit capacity.Unique mark is used to be distinguished from each other open digital device, can be divided into an at least digital device according to unique mark An at least cluster tool, each cluster tool only includes a digital device;Above-mentioned unique mark includes but is not limited to unique mark Code and/or international mobile device identification code.
Preferably, an at least digital device is organized as an at least cluster tool by the above-mentioned information according to digital device respectively The step of include:The unique mark of at least one digital device to be measured is obtained, each digital device is created according to unique mark is set Standby set.Corresponding relation between an above-mentioned basis at least test assignment and an at least digital device, respectively from test assignment pair Include at least cluster tool answered, the step of choose subordinate's test assignment number minimum cluster tool:Obtain and to add Test assignment corresponding unique mark the step of;Corresponding with above-mentioned unique mark at least one is searched in all devices set The step of cluster tool;Compare the test assignment quantity of at least cluster tool subordinate for finding, choose test assignment number minimum Cluster tool the step of.Above-mentioned test assignment is added to the said equipment set respectively, an at least test assignment is organized as category Include the step of an at least task queue of the said equipment set:Above-mentioned test assignment is added to the said equipment set, will be upper The step of stating test assignment and be organized as at least task queue for belonging to the said equipment set.
Preferably, it is above-mentioned to choose the task queue that an at least cluster tool subordinate has an at least test assignment respectively, hold Row chooses an at least test assignment of task queue, realizes in turn to including the step of at least a digital device is tested:Point It is not a step of at least cluster tool creates corresponding treatment thread;Above-mentioned at least one treatment thread checks respectively for the said equipment Gather the task queue of subordinate, judge whether include test assignment in task queue;For in the absence of test assignment, interval is pre- If whether reexamining the said equipment set after the time period comprising test assignment;For the task team that there is an at least test assignment Row, obtain the test assignment in above-mentioned task queue;Above-mentioned treatment thread performs the test assignment for getting, and digital device is entered Row test;Above-mentioned treatment thread repeats to obtain the next test assignment in task queue, repeats test until having performed times All test assignments in business queue;The step of return treatment thread checks respectively for the task queue of the said equipment set subordinate, Until all digital devices are completed with test.
Preferably, an at least digital device is organized as an at least cluster tool by the above-mentioned information according to digital device respectively The step of include:The classification information of at least one digital device to be measured is obtained, at least one numeral to be tested is set according to classification information Back-up class, creates higher level equipment set to each class respectively;The unique mark of at least one digital device to be measured is obtained, respectively to extremely Its unique mark is added in higher level equipment set where a few digital device, at least a digital device will be organized as belonging on above-mentioned Basic unit's cluster tool of level cluster tool.Corresponding relation between an above-mentioned basis at least test assignment and an at least digital device, Respectively from an at least cluster tool corresponding with test assignment, the step of choose subordinate's test assignment number minimum cluster tool Including:The step of obtaining classification information corresponding with the test assignment to be added and unique mark;In all higher level equipment set The step of middle lookup higher level equipment set corresponding with above-mentioned classification information;Searched under the higher level equipment set for finding with it is upper The step of stating unique mark corresponding at least basic unit's cluster tool;Compare the survey of at least basic unit cluster tool subordinate for finding Trial is engaged in quantity, the step of choose test assignment minimum basic unit's cluster tool.It is above-mentioned the said equipment set is added respectively Test assignment is stated, will be included the step of at least a test assignment is organized as at least task queue for belonging to the said equipment set: Test assignment is added to above-mentioned basic unit's cluster tool, above-mentioned test assignment is organized as to belong to above-mentioned basic unit's cluster tool at least The step of one task queue.
Preferably, it is above-mentioned to choose the task queue that an at least cluster tool subordinate has an at least test assignment respectively, hold Row chooses an at least test assignment of task queue, realizes in turn to including the step of at least a digital device is tested:Point It is not a step of at least higher level equipment set creates corresponding higher level's treatment thread;Above-mentioned higher level treatment thread be respectively created with The step of basic unit's cluster tool of each higher level equipment set subordinate distinguishes a corresponding at least base treatment thread;Above-mentioned at least one Base treatment thread checks respectively for the task queue of above-mentioned basic unit's cluster tool subordinate, chooses and there is appointing for an at least test assignment The step of business queue;At least one test that an above-mentioned at least base treatment thread is performed in the above-mentioned task queue chosen respectively is appointed Business, the step of test digital device.
Preferably, an above-mentioned at least base treatment thread checks respectively for the task queue of above-mentioned basic unit's cluster tool subordinate, Choosing the step of there is at least task queue of a test assignment includes:An above-mentioned at least base treatment thread checks respectively for above-mentioned Whether the task queue of basic unit cluster tool subordinate, judges include test assignment in task queue;For in the absence of test assignment , whether above-mentioned basic unit's cluster tool is reexamined comprising test assignment after the preset time period of interval.An above-mentioned at least base treatment Thread performs at least test assignment in the above-mentioned task queue chosen respectively, wraps the step of test digital device Include:For the task queue that there is an at least test assignment, the test assignment in above-mentioned task queue is obtained;Above-mentioned base treatment Thread performs the test assignment for getting, and digital device is tested;Above-mentioned base treatment thread repeats to obtain task queue In next test assignment, repeat test until all test assignments for having performed in task queue;Return to above-mentioned basic unit The step for the treatment of thread checks respectively for the task queue of above-mentioned basic unit's cluster tool subordinate, until being completed to all digital devices Test.
Preferably, it is a kind of that the management method that digital device performs test assignment is included:Information according to digital device will A step of at least digital device is organized as cluster tool more than one-level;The basic unit for obtaining wherein is divided according to unique mark to set Standby set belongs to the higher level equipment set according to the first classification information tissue, and above-mentioned higher level equipment set belongs to according to the second classification The higher level equipment set again of information tissue, until highest cluster tool;Set with an at least numeral according to an at least test assignment Corresponding relation between standby, respectively from least basic unit's cluster tool corresponding with test assignment, chooses subordinate's test assignment number The step of minimum cluster tool;Above-mentioned test assignment is added to the said equipment set respectively, will an at least test assignment tissue The step of at least task queue for belonging to the said equipment set.
The present invention realizes multiple digital devices are tested simultaneously, can simultaneously perform multinomial test assignment, and avoid The problem of digital device connection failure.The present invention provides flexible and efficient test assignment management, right with higher height rationality energy Smartphone device utilization rate is higher, improves Smartphone device and connects into power.
Brief description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is one embodiment of the invention schematic flow sheet;
Fig. 2 is one embodiment of the invention part schematic flow sheet;
Fig. 3 is one embodiment of the invention part schematic flow sheet;
Fig. 4 is one embodiment of the invention overall flow schematic diagram;
Fig. 5 is one embodiment of the invention concrete application example schematic diagram;
Fig. 6 is one embodiment of the invention overall flow schematic diagram;
Fig. 7 is one embodiment of the invention concrete application example schematic diagram.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
One embodiment of the invention schematic flow sheet shown in reference picture 1, first embodiment proposed by the present invention includes:
Step S1, an at least digital device is organized as an at least cluster tool, chooses subordinate's test assignment number minimum Cluster tool, test assignment is added to cluster tool, is organized as belonging at least one of cluster tool by an at least test assignment Business queue.
Step S2, the task queue for choosing an at least cluster tool subordinate presence at least test assignment respectively, perform choosing An at least test assignment of middle task queue, tests an at least digital device in turn.
Digital device 1 in above-described embodiment is the electronic equipment with data processing function, can use but be not limited to hand The multiple technologies such as machine, Hand-Hold Data Terminal, PDA, panel computer, multimedia player, navigator, Web TV.
The said equipment set may include a digital device, may also comprise multiple digital devices;Between cluster tool, and Sequencing is had no between digital device in one cluster tool.And be may include in task queue from 0 to multiple test assignments, There can be sequencing between test assignment in one task queue.
An embodiment part schematic flow sheet shown in reference picture 2, the present invention proposes that step S1 includes:
Step S11, an at least digital device is organized as by an at least cluster tool according to the information of digital device respectively;
Corresponding relation between step S12, a basis at least test assignment and an at least digital device, appoints from test respectively In the corresponding at least cluster tool of business, the minimum cluster tool of subordinate's test assignment number is chosen;
Step S13, respectively to cluster tool add test assignment, at least a test assignment will be organized as belonging to cluster tool An at least task queue.
Above-mentioned test assignment is the data that one group of description is tested digital device, including APP application packages And test assignment data.Wherein APP application packages are used to run on a digital device, and digital device is tested.And survey It is corresponding with which digital device that examination task data describes the APP application packages, i.e., the APP application packages should be digital at which Run in equipment, it is tested.Corresponding relation between an at least test assignment and at least a digital device refers to that test is appointed The APP application packages relation corresponding with digital device of business data description.One test assignment can correspond to individual digit and set It is standby, it is also possible to the multiple different digital devices of correspondence, for example a certain class digital device is tested.And a digital device Also one to multiple test assignments can be corresponded to.
An embodiment part schematic flow sheet shown in reference picture 3, the present invention proposes that step S2 includes:
Step S21, respectively an at least cluster tool create corresponding equipment treatment thread;
Step S22, at least equipment treatment thread check respectively for the task queue of cluster tool subordinate, choose and exist at least The task queue of one test assignment;
An at least test assignment in the task queue that step S23, execution are chosen, tests digital device.
The present invention proposes that the information of above-mentioned digital device includes classification information and unique mark.Can be by according to classification information An at least digital device is divided into an at least cluster tool, and each cluster tool includes an at least digital device;Classification information bag Include but be not limited to the model of digital device, brand, device class, the function of supporting, operating system, screen resolution and/or interior Deposit capacity.Unique mark is used to be distinguished from each other open digital device, can be divided into an at least digital device according to unique mark An at least cluster tool, each cluster tool only includes a digital device;Unique mark include but is not limited to exclusive identification code and/ Or international mobile device identification code(IMEI).
The present invention is proposed when digital device quantity to be tested is smaller, or its classification information is identical, for example, be same Ten digital devices to be tested of model Motorola ME525, or it is 30 numbers to be tested of Android operation system Word equipment, can be using the scheme of first device set.N number of digital device to be tested is provided with, there is M test assignment to need to perform. N number of digital device to be tested is then divided into N number of cluster tool with unique mark, each cluster tool only sets including a numeral It is standby.Test assignment corresponding with each digital device is organized as belonging to the task queue of corresponding device set.
An embodiment overall flow schematic diagram shown in reference picture 4, the present invention proposes that step S11 includes:
Step S111, the unique mark for obtaining at least one digital device to be measured, according to unique mark to each digital device Create cluster tool.
And step S12 includes:
Step S121, acquisition unique mark corresponding with the test assignment to be added;
Step S122, a lookup at least cluster tool corresponding with unique mark in all devices set;
Step S123, the test assignment quantity for comparing at least cluster tool subordinate for finding, choose test assignment number most Few cluster tool.
And step S13 includes:
Step S131, to cluster tool add test assignment, test assignment is organized as belonging at least the one of cluster tool Task queue;
Step S132, step S121 is returned to, circulation above-mentioned steps by all test assignments until be organized as task team Row.
Step S22 includes:
Step S221, at least one treatment thread check respectively for the task queue of cluster tool subordinate, in judging task queue Whether test assignment is included;
Step S222, in the absence of test assignment, step S221 being carried out again after the preset time period of interval, check equipment Whether test assignment is included in the task queue of set subordinate;
Step S223, the task queue for there is an at least test assignment, obtain the test assignment in task queue.
Step S23 includes:
Step S231, treatment thread perform the test assignment for getting, and digital device is tested;
Step S232, treatment thread repeat step S223 and step S231, next in circulation acquisition task queue Test assignment performs test until all test assignments performed in task queue;
Step S221 is come back for, until all digital devices are completed with test, flow terminates.
Referring to the present embodiment concrete application example schematic diagram shown in Fig. 5, test assignment 21, test assignment 22 ... are provided with The common M test assignment of test assignment 2M, respectively the digital device to N portions same model test.The present embodiment obtains N number for the treatment of The international mobile device identification code of digital device is surveyed, each digital device is respectively created according to international mobile device identification code is set Standby set 11, cluster tool 12 ... cluster tool 1N;The test assignment data of first test assignment 21 being added are read, Corresponding international mobile device identification code is obtained, is found in N number of cluster tool corresponding with the international mobile device identification code Cluster tool 11 and cluster tool 12;Compare the test assignment quantity of the two cluster tools subordinate for finding, choose test and appoint The minimum cluster tool 11 of business number.Test assignment 21 is added to cluster tool 11, test assignment 21 is organized as to belong to equipment collection Close a 11 at least task queue.Next second test assignment data of test assignment 22 is read, repeats above-mentioned step Suddenly, in all M test assignments are all added to the task queue of corresponding device set subordinate.When all test assignments of completion Adding procedure, the subordinate of cluster tool 11 has L test assignment, and cluster tool 1N subordinate has M test assignment.L test Task and M test assignment are probably same test assignment, with same APP application packages to digital device 1 and numeral Equipment N is tested respectively.The sequence number or ID of the test assignment are only stored in task queue to call APP application packages, Without repeating storage APP application packages in task queue.
Performing test phase:Respectively N number of cluster tool creates corresponding N number for the treatment of thread;N number for the treatment of thread difference The task queue of N number of cluster tool subordinate is checked, judges whether include test assignment in task queue;If the subordinate of cluster tool 12 In the absence of test assignment, then be spaced preset time period repeated after 5 seconds in the task queue for checking the subordinate of cluster tool 12 whether Comprising test assignment.Task queue for the task queue such as subordinate of cluster tool 11 that there is an at least test assignment includes L Individual test assignment, then obtain first test assignment 21 in the task queue;Treatment thread 1 performs the test assignment for getting 21, digital device 1 is tested;Next test assignment 22 ... that treatment thread loops are obtained in task queue performs test Until having performed last test assignment 2L in the subordinate's task queue of cluster tool 11;Return finds next in the presence of survey The cluster tool 1N of trial business, performs all M test assignments ... of its subordinate until being completed to all N number of digital devices Test.
Can be storehouse depending on the above-mentioned order that test assignment is obtained from task queue is by testing requirement and concrete condition It is formula, or queue-type, it is not limited to use existing various queue technologies to realize.Above-mentioned preset time period is appointed according to test Depending on business operation required time, digital device quantity to be tested and concrete condition.
The present invention is proposed, when digital device quantity to be tested is larger, or can be divided into according to its classification information again It is different classes of adapting to different test assignments, such as ten kinds tuber of stemona digital devices to be tested of model, or have three kinds not The multi-section digital device to be tested of biconditional operation system can be used, it is necessary to correspond to three kinds of test assignments of different operating system respectively The scheme of multilevel device set.An at least digital device is organized as more than one-level setting by the program according to the information of digital device Standby set;Basic unit's cluster tool for obtaining wherein is divided according to unique mark belong to and set according to the higher level of the first classification information tissue Standby set, higher level equipment set belongs to the higher level equipment set again according to the second classification information tissue, until highest equipment collection Close.According to the corresponding relation between an at least test assignment and an at least digital device, respectively from it is corresponding with test assignment at least In one basic unit's cluster tool, the minimum cluster tool of subordinate's test assignment number is chosen.Test assignment is added to cluster tool respectively, An at least test assignment is organized as belonging to an at least task queue of cluster tool.
Being provided with Y test assignment will test X digital devices to be tested, then by X digital device to be tested with Classification information is divided into A higher level equipment set, and each higher level equipment set includes multiple digital devices;Again respectively on each Multiple digital devices under level cluster tool are divided into B basic unit's cluster tool with unique mark, and each basic unit's cluster tool is only Including a digital device.Test assignment corresponding with each digital device is organized as belonging to the task of corresponding basic unit's cluster tool Queue.According to real figure number of devices and test assignment requirement, can also be divided in multiple according to different classification informations respectively Level cluster tool, each cluster tool belongs to its higher level's cluster tool, until highest cluster tool.
An embodiment overall flow schematic diagram shown in reference picture 6, by taking two-layer equipment rendezvous scheme as an example.The present embodiment Step S11 includes:
Step S111 ', the classification information for obtaining at least one digital device to be measured, will be at least one to be tested according to classification information Digital device is classified, and creates higher level equipment set to each class respectively;
Step S112 ', the unique mark for obtaining at least one digital device to be measured, respectively to where an at least digital device Its unique mark is added in higher level equipment set, and an at least digital device is organized as belonging to basic unit's equipment collection of higher level equipment set Close.
Step S12 includes:
Step S121 ', acquisition classification information corresponding with the test assignment to be added and unique mark;
Step S122 ', the lookup higher level equipment set corresponding with classification information in all higher level equipment set;
Step S123 ', lookup at least basic unit's equipment corresponding with unique mark under the higher level equipment set for finding Set;
Step S124 ', the test assignment quantity for comparing at least basic unit cluster tool subordinate for finding, choose test assignment Minimum basic unit's cluster tool.
And step S13 includes:
Step S131 ', to basic unit cluster tool addition test assignment, test assignment is organized as to belong to basic unit's cluster tool An at least task queue;
Step S132 ', return to step S121 ' and add next test assignment, circulation above-mentioned steps are until by all tests Task is organized as task queue.
Step S21 includes:
Step S211 ', respectively an at least higher level equipment set create corresponding higher level's treatment thread;
Step S212 ', higher level's treatment thread are respectively created and distinguish with basic unit's cluster tool of each higher level equipment set subordinate A corresponding at least base treatment thread.
And step S22 includes:
Step S221 ', at least a base treatment thread check respectively for the task queue of basic unit cluster tool subordinate, judge to appoint Whether test assignment is included in business queue;
Step S222 ', check base for carrying out step S221 ' again in the absence of test assignment, after the preset time period of interval Whether layer cluster tool includes test assignment;
Step S223 ', the task queue for there is an at least test assignment, obtain the test assignment in task queue.
Step 23 includes:
Step S231 ', base treatment thread perform the test assignment for getting, and digital device is tested;
Step S232 ', base treatment thread repeat step S223 ' and step S231 ', and circulation is obtained in task queue Next test assignment, repeat test until all test assignments for having performed in task queue;
Step S221 ' is come back for, until all digital devices are completed with test, flow terminates.
Referring to the present embodiment concrete application example schematic diagram shown in Fig. 7, if Y test assignment is entered to X digital device Row test, the present embodiment obtains the X model of digital device to be measured, according to model by Z higher level equipment set of digital device point, Respectively higher level equipment set 31, higher level equipment set 32 ... higher level equipment set 3Z.Under each higher level equipment set respectively There is one or more digital device.The X international mobile device identification code of digital device is read again, accordingly to each digital device point Chuan Jian not basic unit's cluster tool 11, cluster tool 12 ... cluster tool 1X.Add the process and a upper embodiment of test assignment Similar, the present embodiment is, to basic unit's cluster tool addition test assignment, test assignment to be organized as to belong to basic unit's cluster tool Task queue.
Performing test phase, the present embodiment:Respectively Z higher level equipment set creates corresponding Z higher level treatment line Journey;Basic unit's cluster tool of corresponding itself higher level equipment set subordinate, each higher level treatment thread is respectively created corresponding basic unit Treatment thread, creates and builds X base treatment thread.X base treatment thread performs the test assignment in task queue respectively, directly To all X digital devices are completed with test, its idiographic flow with reference to the foregoing embodiments, therefore is not repeated.
These are only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all it is of the invention spirit and Any modification, equivalent and improvement for being made within principle etc., should be included within the scope of the present invention.

Claims (8)

1. it is a kind of to digital device perform test assignment management method, it is characterised in that including:
S1, an at least digital device is organized as an at least cluster tool, chooses the minimum cluster tool of subordinate's test assignment number, Test assignment is added to the cluster tool, an at least test assignment is organized as belonging to an at least task of the cluster tool Queue;
Task team is chosen in S2, the task queue for choosing an at least cluster tool subordinate presence at least test assignment respectively, execution An at least test assignment of row, tests an at least digital device in turn;
Wherein, the step S1 includes:
S11, an at least digital device is organized as by an at least cluster tool according to the information of digital device respectively;
S12, according to the corresponding relation between an at least test assignment and an at least digital device, respectively from corresponding with test assignment In an at least cluster tool, the minimum cluster tool of subordinate's test assignment number is chosen;
S13, the test assignment is added to the cluster tool, an at least test assignment is organized as belonging to the cluster tool An at least task queue;
Wherein, the information of the digital device includes the unique mark for digital device to be distinguished from each other out, the step S11 Further include:
S111, the unique mark for obtaining at least one digital device to be measured, equipment is created according to unique mark to each digital device Set;
The step S12 is further included:
S121, acquisition unique mark corresponding with the test assignment to be added;
S122, an at least cluster tool corresponding with the unique mark is searched in all devices set;
S123, the test assignment quantity for comparing at least cluster tool subordinate for finding, choose the minimum equipment of test assignment number Set;
The step S13 is further included:
S131, the test assignment is added to selected cluster tool, the test assignment is organized as to belong to the equipment An at least task queue of set;
S132, step S121 is returned to, circulation above-mentioned steps by all test assignments until be organized as task queue.
2. a kind of management method that test assignment is performed to digital device as claimed in claim 1, it is characterised in that:
An at least digital device is divided into by an at least cluster tool according to unique mark, each cluster tool only includes a numeral Equipment;The unique mark includes exclusive identification code and/or international mobile device identification code.
3. a kind of management method that test assignment is performed to digital device as claimed in claim 1, it is characterised in that the step Rapid S2 includes:
Respectively an at least cluster tool creates corresponding treatment thread;
Whether the treatment thread checks respectively for the task queue of the cluster tool subordinate, judges include test in task queue Task;
For in the absence of test assignment, whether the cluster tool being reexamined comprising test assignment after the preset time period of interval;
For the task queue that there is an at least test assignment, the test assignment in the task queue is obtained;
The treatment thread performs the test assignment for getting, and digital device is tested;
The treatment thread repeats to obtain the next test assignment in task queue, repeats test until having performed task team All test assignments in row;
The step of return treatment thread checks respectively for the task queue of the cluster tool subordinate, until equal to all digital devices Complete test.
4. it is a kind of to digital device perform test assignment management method, it is characterised in that including:
S1, an at least digital device is organized as an at least cluster tool, chooses the minimum cluster tool of subordinate's test assignment number, Test assignment is added to the cluster tool, an at least test assignment is organized as belonging to an at least task of the cluster tool Queue;
Task team is chosen in S2, the task queue for choosing an at least cluster tool subordinate presence at least test assignment respectively, execution An at least test assignment of row, tests an at least digital device in turn;
Wherein, the step S1 includes:
S11, an at least digital device is organized as by an at least cluster tool according to the information of digital device respectively;
S12, according to the corresponding relation between an at least test assignment and an at least digital device, respectively from corresponding with test assignment In an at least cluster tool, the minimum cluster tool of subordinate's test assignment number is chosen;
S13, the test assignment is added to the cluster tool, an at least test assignment is organized as belonging to the cluster tool An at least task queue;
Wherein, the information of the digital device includes classification information and the unique mark for digital device to be distinguished from each other out, The step S11 is further included:
S111 ', the classification information for obtaining at least one digital device to be measured, will at least one digital device to be tested according to classification information Classification, creates higher level equipment set to each class respectively;
S112 ', the unique mark for obtaining at least one digital device to be measured, respectively to the higher level equipment where an at least digital device Its unique mark is added in set, and an at least digital device is organized as belonging to basic unit's cluster tool of the higher level equipment set;
The step S12 is further included:
S121 ', acquisition classification information corresponding with the test assignment to be added and unique mark;
S122 ', higher level equipment set corresponding with the classification information is searched in all higher level equipment set;
S123 ', at least basic unit's cluster tool corresponding with the unique mark is searched under the higher level equipment set for finding;
S124 ', the test assignment quantity for comparing at least basic unit cluster tool subordinate for finding, choose the minimum base of test assignment Layer cluster tool;
The step S13 is further included:
S131 ', to selected basic unit's cluster tool addition test assignment, the test assignment is organized as to belong to the basic unit An at least task queue of cluster tool;
S132 ', return to step S121 ' and add next test assignment, circulation above-mentioned steps are until by all test assignments group It is woven to task queue.
5. a kind of management method that test assignment is performed to digital device as claimed in claim 4, it is characterised in that the step Rapid S2 includes:
S21, respectively an at least higher level equipment set create corresponding higher level's treatment thread;
S22, higher level treatment thread are respectively created corresponding with basic unit's cluster tool difference of each higher level equipment set subordinate An at least base treatment thread;
S23, an at least base treatment thread check respectively for the task queue of basic unit's cluster tool subordinate, choose and exist At least task queue of a test assignment;
S24, an at least base treatment thread perform at least test assignment in the task queue chosen respectively, right Digital device is tested.
6. a kind of management method that test assignment is performed to digital device as claimed in claim 5, it is characterised in that the step Rapid S23 is further included:
An at least base treatment thread checks respectively for the task queue of basic unit's cluster tool subordinate, judges task queue In whether include test assignment;
For in the absence of test assignment, reexamining whether basic unit's cluster tool appoints comprising test after the preset time period of interval Business;
The step S24 is further included:
For the task queue that there is an at least test assignment, the test assignment in the task queue is obtained;
The base treatment thread performs the test assignment for getting, and digital device is tested;
The base treatment thread repeats to obtain the next test assignment in task queue, repeats test until having performed times All test assignments in business queue;
The step S23 is returned to, until all digital devices are completed with test.
7. a kind of management method that test assignment is performed to digital device as claimed in claim 5, it is characterised in that according to point An at least digital device is divided into an at least cluster tool by category information, and each cluster tool includes an at least digital device;Institute State the model of classification information including digital device, brand, device class, the function of supporting, operating system, screen resolution and/ Or memory size.
8. it is a kind of to digital device perform test assignment management method, it is characterised in that including:
S1, an at least digital device is organized as an at least cluster tool, chooses the minimum cluster tool of subordinate's test assignment number, Test assignment is added to the cluster tool, an at least test assignment is organized as belonging to an at least task of the cluster tool Queue;
Task team is chosen in S2, the task queue for choosing an at least cluster tool subordinate presence at least test assignment respectively, execution An at least test assignment of row, tests an at least digital device in turn;
Wherein, the step S1 includes:An at least digital device is organized as more than one-level setting by the information according to digital device Standby set, wherein, the information of the digital device includes classification information and the unique mark for digital device to be distinguished from each other out Know, wherein belonging to the higher level equipment collection according to the first classification information tissue according to basic unit's cluster tool that unique mark division is obtained Close, the higher level equipment set belongs to the higher level equipment set again according to the second classification information tissue, until highest equipment collection Close;
According to the corresponding relation between an at least test assignment and an at least digital device, respectively from it is corresponding with test assignment at least In one basic unit's cluster tool, the minimum basic unit's cluster tool of subordinate's test assignment number is chosen;
The test assignment is added to selected basic unit's cluster tool, an at least test assignment is organized as belonging to the basic unit An at least task queue of cluster tool.
CN201210284724.4A 2012-08-06 2012-08-06 A kind of management method that test assignment is performed to digital device Active CN103580907B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210284724.4A CN103580907B (en) 2012-08-06 2012-08-06 A kind of management method that test assignment is performed to digital device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210284724.4A CN103580907B (en) 2012-08-06 2012-08-06 A kind of management method that test assignment is performed to digital device

Publications (2)

Publication Number Publication Date
CN103580907A CN103580907A (en) 2014-02-12
CN103580907B true CN103580907B (en) 2017-06-30

Family

ID=50051892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210284724.4A Active CN103580907B (en) 2012-08-06 2012-08-06 A kind of management method that test assignment is performed to digital device

Country Status (1)

Country Link
CN (1) CN103580907B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731748A (en) * 2005-07-29 2006-02-08 杭州华为三康技术有限公司 Testing system and method
CN101296462A (en) * 2007-04-25 2008-10-29 中兴通讯股份有限公司 Method and system for batch execution of mobile terminal software automatic test
CN101917306A (en) * 2010-08-20 2010-12-15 北京星网锐捷网络技术有限公司 Method, system and device for automatic test

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9164859B2 (en) * 2009-09-25 2015-10-20 Qualcomm Incorporated Computing device for enabling concurrent testing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731748A (en) * 2005-07-29 2006-02-08 杭州华为三康技术有限公司 Testing system and method
CN101296462A (en) * 2007-04-25 2008-10-29 中兴通讯股份有限公司 Method and system for batch execution of mobile terminal software automatic test
CN101917306A (en) * 2010-08-20 2010-12-15 北京星网锐捷网络技术有限公司 Method, system and device for automatic test

Also Published As

Publication number Publication date
CN103580907A (en) 2014-02-12

Similar Documents

Publication Publication Date Title
CN106980571A (en) The construction method and equipment of a kind of test use cases
CN103885876B (en) Method of testing and equipment
CN110083528A (en) Distribution method, device, computer equipment and the storage medium of test assignment
JP5871100B2 (en) Cognitive radio system and resource allocation device and method thereof
CN103065235A (en) Systems and methods for event attendance notification
Iravani et al. Workforce agility in repair and maintenance environments
CN111694844B (en) Enterprise operation data analysis method and device based on configuration algorithm and electronic equipment
CN102521706A (en) KPI data analysis method and device for the same
CN107483381A (en) The monitoring method and device of interlock account
CN110300394A (en) Resource allocation methods and relevant device, system, storage medium
CN110262878A (en) Timed task processing method, device, equipment and computer readable storage medium
CN110505119A (en) A kind of test method, device, system and readable storage medium storing program for executing
Radenski Distributed simulated annealing with MapReduce
CN103077184A (en) Method for rule-based context acquisition
CN108920353A (en) A kind of test method, device and electronic equipment
CN109446869A (en) Collision-proof method, device, computer readable storage medium and the equipment of RFID system
CN107864187A (en) The online task executing method of terminal device and server
CN103580907B (en) A kind of management method that test assignment is performed to digital device
Zamli et al. Comparative benchmarking of constraints t-way test generation strategy based on late acceptance hill climbing algorithm
Ellis et al. Scheduling of wafer test processes in semiconductor manufacturing
CN115543577B (en) Covariate-based Kubernetes resource scheduling optimization method, storage medium and device
CN115238837B (en) Data processing method and device, electronic equipment and storage medium
Chiu et al. Improving the efficiency of evolutionary algorithms for large-scale optimization with multi-fidelity models
CN106202374A (en) A kind of data processing method and device
Rodriguez et al. An investigation of hyper-heuristic search spaces

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant