CN108052443A - A kind of test assignment dispatching method, device, server and storage medium - Google Patents
A kind of test assignment dispatching method, device, server and storage medium Download PDFInfo
- Publication number
- CN108052443A CN108052443A CN201711052612.5A CN201711052612A CN108052443A CN 108052443 A CN108052443 A CN 108052443A CN 201711052612 A CN201711052612 A CN 201711052612A CN 108052443 A CN108052443 A CN 108052443A
- Authority
- CN
- China
- Prior art keywords
- queue
- test assignment
- test
- user
- task
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
An embodiment of the present invention provides a kind of test assignment dispatching method, device, server and storage mediums, and applied to test platform, the test platform, which includes server and more than one test equipment, the method, to be included:The test assignment created is added in first queue;When the test assignment in the first queue when the pending time exceeding the first preset duration, determine the type of the test assignment;By the test assignment be added to in the second queue of the type matching;The second queue includes big task queue and small task queue;Test assignment in the big task queue is performed prior to the test assignment in the small task queue, and the test assignment in the small task queue is performed prior to the test assignment in the first queue.By test assignment scheduling scheme provided in an embodiment of the present invention, the big task created afterwards can be performed preferentially after waiting preset time, without waiting as long for.
Description
Technical field
The present invention relates to Internet technical fields, and in particular to a kind of test assignment dispatching method and device, a kind of service
Device and a kind of storage medium.
Background technology
With the development of terminal technology, the performance of terminal device is become better and better, therefore more and more application programs start
It emerges in large numbers.User can use various application programs to perform required operation, such as played and played by game application, pass through Video Applications
Playing audio-video is scanned for, Query Information etc. by browser application.
Application program is being developed, it is necessary to test application program before issue of formally reaching the standard grade, test is done without
It can just reach the standard grade after problem, wherein since the operating system of different terminal equipment is there are certain difference, application program needs
It is tested on the terminal device of different model.It is tested for the ease of application program, test platform can be provided, the survey
The test equipment that platform provides a variety of different models is tried, server carries out remote control to test equipment, so as to test
Application program is run in equipment.
Since test platform can provide terminal device testing service for multi-user simultaneously, the test that test platform is managed is appointed
Quantity of being engaged in is larger, and each test assignment managed is both needed to perform according to creation time sequencing, and the test assignment created afterwards will
Chance cannot be performed for a long time.
The content of the invention
In view of the above problems, it is proposed that the present invention overcomes the above problem in order to provide one kind or solves at least partly
State test assignment dispatching method and device, the server and storage medium of problem.
One side according to the invention provides a kind of test assignment dispatching method, applied to test platform, the survey
Examination platform, which includes server and more than one test equipment, the method, to be included:The test assignment created is added to the
In one queue;When the test assignment in the first queue when the pending time exceed the first preset duration when, determine
The type of the test assignment;By the test assignment be added to in the second queue of the type matching;Second team
Row include big task queue and small task queue;Test assignment in the big task queue is prior in the small task queue
Test assignment perform, test assignment in the small task queue is performed prior to the test assignment in the first queue.
Optionally, the type for determining the test assignment, including:When determining the corresponding execution of the test assignment
It is long;The execution duration is compared with the second preset duration;When it is described execution duration be more than second preset duration, really
The type of the fixed test assignment is big task;When it is described execution duration be less than or equal to second preset duration, determine institute
The type for stating test assignment is small task.
Optionally, it is described by the test assignment be added to in the second queue of the type matching, including:When described
When the type of test assignment is big task, the test assignment is added in the big task queue;When the test assignment
Type be small task when, by the test assignment be added to the small task queue in.
Optionally, it is described by the test assignment be added to the big task queue in after, the method further includes:
The establishment of new test assignment is prevented, until the test assignment in the big task queue is finished.
Optionally, it is described that the test assignment created is added in first queue, including:Judge that test assignment creates to use
The priority at family;When the user is high-priority users, the test assignment is added in advanced level user's queue;Its
In, the first queue includes ordinary user's queue and advanced level user's queue, and the test assignment in advanced level user's queue is excellent
It is performed prior to the test assignment in ordinary user's queue;When the user is non-high priority user, by the test
Task is added in ordinary user's queue.
Optionally, it is described by the test assignment be added to in the second queue of the type matching, including:When described
When the establishment user of test assignment is high-priority users and the test assignment is big task, by the test assignment from institute
It states and is transferred in advanced level user's queue in the big task queue of supreme priority;Wherein, it is big to include low priority for the big task queue
Task queue and the big task queue of high priority;When the establishment user of the test assignment is non-high priority user and described
When test assignment is big task, the test assignment is transferred to from ordinary user's queue to the big task of the low priority
In queue;When the establishment user of the test assignment is high-priority users and the test assignment is small task, by described in
Test assignment is transferred to from advanced level user's queue in the small task queue of supreme priority;Wherein, the small task queue bag
Include the small task queue of low priority and the small task queue of high priority;When the establishment user of the test assignment is non-high priority
When user and the test assignment are small task, the test assignment is transferred to from ordinary user's queue to low preferential
In the small task queue of grade.
Optionally, the priority execution sequence of the first queue and the individual queue in the second queue is followed successively by:Institute
State the big task queue of high priority, the big task queue of the low priority, the small task queue of the high priority, described low preferential
The small task queue of grade, advanced level user's queue and ordinary user's queue.
Optionally, the step of performing single test assignment includes:Determine the user of the establishment test assignment;From the use
An at least test equipment is determined in the corresponding special equipment in family;The test assignment is handed down at least one test to set
It is standby, so that an at least test equipment performs the test assignment.
Other side according to the invention provides a kind of test assignment dispatching device, described applied to test platform
Test platform, which includes server and more than one test equipment, the device, to be included:First add module, for will be created
Test assignment be added to first queue in;Determination type module, for working as the test assignment in the first queue
When the pending time exceeding the first preset duration, the type of the test assignment is determined;Second add module, for by described in
Test assignment be added to in the second queue of the type matching;The second queue includes big task queue and small task team
Row;Test assignment in the big task queue is performed prior to the test assignment in the small task queue, the small task
Test assignment in queue is performed prior to the test assignment in the first queue.
Optionally, the determination type module includes:Duration determination sub-module, for determining that the test assignment is corresponding
Perform duration;Submodule is compared, for the execution duration to be compared with the second preset duration;Determination sub-module is used for
When the execution duration is more than second preset duration, the type for determining the test assignment is big task;When the execution
Duration is less than or equal to second preset duration, and the type for determining the test assignment is small task.
Optionally, second add module includes:First addition submodule, the type for working as the test assignment are
During big task, the test assignment is added in the big task queue;Second addition submodule is appointed for working as the test
When the type of business is small task, the test assignment is added in the small task queue.
Optionally, second add module further includes:Forbid submodule, for adding submodule by institute described first
Test assignment is stated added to after in the big task queue, prevents the establishment of new test assignment, until the big task queue
In test assignment be finished.
Optionally, first add module includes:Priority judging submodule, for judging that the test assignment creates
The priority of user;3rd addition submodule, for when the user is high-priority users, the test assignment to be added
Into advanced Subscriber Queue;Wherein, the first queue includes ordinary user's queue and advanced level user's queue, the advanced level user
Test assignment in queue is performed prior to the test assignment in ordinary user's queue;4th addition submodule, for working as
When the user is non-high priority user, the test assignment is added in ordinary user's queue.
Optionally, second add module includes:5th addition submodule, is used for working as the establishment of the test assignment
When family is high-priority users and the test assignment is big task, by the test assignment from advanced level user's queue
It is transferred into the big task queue of high priority;Wherein, the big task queue includes the big task queue of low priority and height is preferential
The big task queue of grade;6th addition submodule, for working as the establishment user of the test assignment for non-high priority user and institute
State test assignment for big task when, the test assignment is transferred to from ordinary user's queue to the low priority and is appointed greatly
It is engaged in queue;7th addition submodule, for working as the establishment user of the test assignment for high-priority users and the test
When task is small task, the test assignment is transferred to from advanced level user's queue in the small task queue of supreme priority;
Wherein, the small task queue includes the small task queue of low priority and the small task queue of high priority;8th addition submodule,
Described in when the establishment user of the test assignment is non-high priority user and the test assignment is small task, inciting somebody to action
Test assignment is transferred to from ordinary user's queue into the small task queue of low priority.
Optionally, the priority execution sequence of the first queue and the individual queue in the second queue is followed successively by:Institute
State the big task queue of high priority, the big task queue of the low priority, the small task queue of the high priority, described low preferential
The small task queue of grade, advanced level user's queue and ordinary user's queue.
Optionally, described device further includes:Task execution module determines to create the survey for being directed to single test assignment
The user of trial business;An at least test equipment is determined from the corresponding special equipment of the user;It will be under the test assignment
An at least test equipment is issued, so that an at least test equipment performs the test assignment.
Another aspect according to the invention provides a kind of server, including:
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, are performed when by one or more of processors
When so that the server performs any one or more test assignment dispatching method as described in the present invention.
Another aspect according to the invention provides one or more machine readable medias, is stored thereon with instruction, when
When being performed by one or more processors so that server perform as in of the invention any one or more test assignment tune
Degree method.
Test assignment dispatching method and device provided in an embodiment of the present invention when being managed to test assignment, first will
Test assignment be added to first queue, by test assignment in first queue when the pending time exceed preset duration when, then
Test assignment is added to according to affiliated type in big task queue or small task queue, since the test in big task queue is appointed
Business is preferential to be performed, therefore the big task created afterwards can be performed preferentially after waiting preset time, without waiting as long for.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, below the special specific embodiment for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field
Technical staff will be apparent understanding.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of step flow chart of test assignment dispatching method according to an embodiment of the invention;
Fig. 2 shows the step flow chart of another test assignment dispatching method according to an embodiment of the invention;
Fig. 3 shows the step flow chart of another test assignment dispatching method according to an embodiment of the invention;
Fig. 4 shows a kind of structure diagram of test assignment dispatching device embodiment according to an embodiment of the invention;
Fig. 5 shows the structural frames of another test assignment dispatching device embodiment according to an embodiment of the invention
Figure;
Fig. 6 shows the structural frames of another test assignment dispatching device embodiment according to an embodiment of the invention
Figure;
Fig. 7 schematically shows to perform the block diagram of the server of the method according to the invention;
Fig. 8 schematically shows to keep or carry the storage for the program code for realizing the method according to the invention
Unit;And
Fig. 9 schematically shows the block diagram with the relevant part-structure of terminal device provided in an embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
In the embodiment of the present invention, test platform for testing application program, such as can with the state of test run,
Such as the compatibility of interim card, fluency, for another example test application program, UI (User Interface, user interface) time is for another example carried out
Go through test etc..Test platform includes server and more than one test equipment, and server, can for being managed to test equipment
To determine state, distributed tasks and definite task result of test equipment etc..Test equipment is used to survey application program
Examination.The server of test platform include it is a variety of, such as including management server, storage server etc., wherein, storage server
It may include more, such as the log server of storing daily record data, store picture servers of image data etc..Wherein, it is each
Kind server can have one or more, as test platform can have one or more management server, different management services
Device can manage identical or different project.
In the embodiment of the present application, test platform can provide the test that various users carry out APP, and different user is for test
Demand is also different, such as some users are big customers, some users are small clients.Wherein, big customer is alternatively referred to as proprietary use
Family, proprietary user usually there is a fairly large number of APP to need to test, also can be connected to survey in the proprietary test equipment with oneself
It tries in platform, these equipment are the special equipment of the user, so as to which the user is completed using test by special equipment.Small client
Alternatively referred to as public user, the APP quantity that these users usually require test is smaller, without the special equipment of oneself, but it is logical
The shared device for crossing test platform offer performs test.The test assignment that test platform need to create all types of user, which is scheduled, to be held
Row.
In the embodiment of the present invention, the test assignment that each user is created uniformly is held added to wait scheduling in first queue
Row is still not carried out after certain test assignment waits preset duration, which is transferred in second queue and is preferentially performed,
It is specific as follows:
Reference Fig. 1 shows a kind of step flow chart of test assignment dispatching method of one embodiment of the invention.
Step 102, the test assignment created is added in first queue.
User by test assignment batch or one by one can be uploaded in the server of test platform, you can with by the task of batch
Data sending to server, wherein, task data corresponds to a test assignment, it may include address information, the address information
It is stored with the various relevant informations of the test assignment, such as mission requirements, the type of required test equipment, number, corresponding APP
Various information.Server can download corresponding task, such as APP to be tested after task data is got according to task data
Information, and according to the information creating test assignment of download, such as the storage address of logger task, task names, time, requirement letter
Breath, by the test assignment created according to creation time successively, added in first queue, the test assignment in first queue is pressed
It is performed according to the order of first in first out.
The state that can be run by test assignment with test equipment, such as interim card, fluency, for another example test application program is simultaneous
Capacitive for another example carries out UI (User Interface, user interface) and travels through test etc..
Step 104, when test assignment in first queue when the pending time exceed the first preset duration when, determine survey
The type of trial business.
The type of test assignment can include but is not limited to:Big task and small task;The type of test assignment can pass through
Test assignment demand, type of required test equipment etc. determine, can also be determined by the execution duration of test assignment.The present invention
The specific method of determination of the embodiment of type in to(for) test assignment is not particularly limited.
Step 106, by test assignment be added to in the second queue of type matching.
Second queue is the general designation of a Class Queue, and second queue can include multiple queues, each test assignment type pair
A second queue is answered, therefore after the type of test assignment is determined, test assignment is added to corresponding second team of the type
In row, the test assignment in second queue is performed prior to the test assignment in first queue.Such as:Test assignment can divide
For two types, second queue can include:Big task queue and small task queue;Test assignment in big task queue is preferential
Test assignment in small task queue performs, and the test assignment in small task queue is prior to the test assignment in first queue
It performs.
Following flow can be performed when performing each test assignment:It, can be true for the test assignment created for proprietary user
Surely the user of test assignment is created;An at least test equipment is determined from the corresponding special equipment of user;It will be under test assignment
An at least test equipment is issued, so that at least a test equipment performs the test assignment.The survey created for public user
Trial be engaged in, then an at least publicly-owned test equipment can be determined according to the operating status of state equipment, by test assignment be handed down to
A few publicly-owned test equipment, so that at least a test equipment performs the test assignment.
To sum up, when being managed to test assignment, test assignment is added to first queue first, by test assignment the
In one queue when the pending time exceed preset duration when, then by test assignment according to affiliated type be added to big task queue
Or in small task queue, since the test assignment in big task queue preferentially performs, therefore the big task created afterwards is waited when presetting
Between after can preferentially perform, without waiting as long for.
Reference Fig. 2 shows the step flow chart of another test assignment dispatching method of one embodiment of the invention.
Step 202, the test assignment created is added in first queue.
First queue is common queue, no matter the survey of the test data creation uploaded according to proprietary user or public user
Trial is engaged in, and is added to according to creation time sequencing in first queue.
Step 204, when test assignment in first queue when the pending time exceed the first preset duration when, determine survey
The corresponding execution duration of trial business.
First preset duration can be configured by those skilled in the art according to actual demand, right in the embodiment of the present invention
This is not particularly limited.Such as:It is arranged to 2 minutes, 3 minutes or 5 minutes etc..
Step 206:Duration will be performed to be compared with the second preset duration.
Test assignment kind is various, and the execution duration of test assignment is also different.Such as:The execution duration of UI traversal tests then surpasses
Go out the second preset duration, and the second preset duration is then less than to the test execution duration of equipment interim card.
Step 208:It is long when implemented to be more than the second preset duration, determine that the type of test assignment for big task, will test
Task is added in big task queue.
Second preset duration can be configured by those skilled in the art according to actual demand, right in the embodiment of the present invention
This is not particularly limited.Such as:It is arranged to 5 seconds, 10 seconds or 15 seconds etc..
Step 210:The establishment of new test assignment is prevented, until the test assignment in big task queue is finished.
When in big task queue there are during test assignment, since big task execution time is longer, to avoid newly creating
Task accumulated in first queue, then prevent the establishment of new test assignment.When big task queue empties, then recover new test
The establishment of task.
Step 212:It is long when implemented to be less than or equal to the second preset duration, the type of test assignment is determined as small task,
Test assignment is added in small task queue.
Test assignment in the embodiment of the present invention performs sequencing:Test assignment in big task sequence is prior to small
Test assignment in task sequence performs, and the test assignment in small task sequence is performed prior to the test assignment in first queue.
Test assignment dispatching method in the embodiment of the present invention, except with the test assignment dispatching party shown in embodiment one
Possessed by method outside advantageous effect, test assignment is divided into two kinds of big task and small task by the execution duration according to test assignment
Type can promote the accuracy that test assignment type determines.
Reference Fig. 3 shows the step flow chart of another test assignment dispatching method of one embodiment of the invention.
Step 302, judge that test assignment creates the priority of user.
Test platform can provide testing service for various types of users, and user can be divided into proprietary user and publicly-owned
User;Proprietary user can be divided into high-priority users and non-high priority user again, naturally it is also possible to which proprietary use is true per family
It is set to high-priority users.Public user can then be confirmed as non-high priority user.
Step 304:When user is high-priority users, test assignment is added in advanced level user's queue.
First queue is further divided into two queues in the embodiment of the present invention, is respectively advanced level user's queue and common
Subscriber Queue, advanced level user's queue are used to add the test assignment of high-priority users establishment, and ordinary user's queue is used to add
The test assignment that non-high priority user creates.
Step 306:When user is non-high priority user, test assignment is added in ordinary user's queue.
Test assignment in advanced level user's queue is performed prior to the test assignment in ordinary user's queue.
Step 308:When test assignment in first queue when the pending time exceed the first preset duration when, determine survey
The type of trial business.
A kind of mode of the type of preferred definite test assignment is:Determine the corresponding execution duration of test assignment;It will hold
Row duration is compared with the second preset duration;Long when implemented to be more than the second preset duration, the type for determining test assignment is
Big task;Long when implemented to be less than or equal to preset duration, the type for determining test assignment is small task.
Step 310:According to the type of test assignment and the priority of establishment user, test assignment is added to matched
In second queue.
Second queue can include:The big task queue of high priority, the small task queue of high priority, the big task of low priority
Queue and the small task queue of low priority.
The priority execution sequence of individual queue in first queue and second queue is followed successively by:The big task team of high priority
Row, the big task queue of low priority, the small task queue of high priority, the small task queue of low priority, advanced level user's queue and
Ordinary user's queue.
When test assignment in first queue is transferred in second queue, it is as follows to be specifically transferred to mode:
When the establishment user of test assignment is high-priority users and test assignment is big task, by test assignment from
It is transferred in advanced level user's queue in the big task queue of supreme priority.
When the establishment user of test assignment is non-high priority user and test assignment is big task, by test assignment
It is transferred to from ordinary user's queue into the big task queue of low priority.
When the establishment user of test assignment is high-priority users and test assignment is small task, by test assignment from
It is transferred in advanced level user's queue in the small task queue of supreme priority.
When the establishment user of test assignment is non-high priority user and test assignment is small task, by test assignment
It is transferred to from ordinary user's queue into the small task queue of low priority.
The test assignment dispatching method of the embodiment of the present invention, the priority of binding test task creation user and test are appointed
The type of business is scheduled test assignment, after can ensureing big task the first preset time of wait that high-priority users create
It can preferentially perform, without waiting as long for, the usage experience of high-priority users can be promoted.
For embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but this field
Technical staff should know, the embodiment of the present invention and from the limitation of described sequence of movement, because implementing according to the present invention
Example, some steps may be employed other orders or are carried out at the same time.Secondly, those skilled in the art should also know, specification
Described in embodiment belong to preferred embodiment, necessary to the involved action not necessarily embodiment of the present invention.
On the basis of above-described embodiment, the present embodiment additionally provides a kind of test assignment dispatching device, applied to test
Platform, the test platform include server and more than one test equipment.
Reference Fig. 4 shows a kind of structure of test assignment dispatching device embodiment according to an embodiment of the invention
Block diagram can specifically include following module:
First add module 402, for the test assignment created to be added in first queue;
Determination type module 404, for work as the test assignment in the first queue etc. the pending time exceed
During the first preset duration, the type of the test assignment is determined;
Second add module 406, for by the test assignment be added to in the second queue of the type matching;Institute
Stating second queue includes big task queue and small task queue;Test assignment in the big task queue is prior to described small
The test assignment being engaged in queue performs, and the test assignment in the small task queue is appointed prior to the test in the first queue
Business performs.
To sum up, when which is managed test assignment, test assignment is added to first first
Queue, by test assignment in first queue when the pending time exceed preset duration when, then by test assignment according to affiliated
Type is added in big task queue or small task queue, since the test assignment in big task queue preferentially performs, therefore rear wound
The big task built can be performed preferentially after waiting preset time, without waiting as long for.
Reference Fig. 5 shows the knot of another test assignment dispatching device embodiment according to an embodiment of the invention
Structure block diagram can specifically include following module:
First add module 502, for the test assignment created to be added in first queue;
Determination type module 504, for work as the test assignment in the first queue etc. the pending time exceed
During the first preset duration, the type of the test assignment is determined;
Second add module 506, for by the test assignment be added to in the second queue of the type matching;Institute
Stating second queue includes big task queue and small task queue;Test assignment in the big task queue is prior to described small
The test assignment being engaged in queue performs, and the test assignment in the small task queue is appointed prior to the test in the first queue
Business performs;
Task execution module 508, for being directed to the user that single test assignment determines to create the test assignment;From described
An at least test equipment is determined in the corresponding special equipment of user;The test assignment is handed down at least one test
Equipment, so that an at least test equipment performs the test assignment.
Wherein, determination type module 504 can include:Duration determination sub-module 5042, for determining the test assignment
Corresponding execution duration;Submodule 5044 is compared, for the execution duration to be compared with the second preset duration;Determine son
Module 5046 is more than second preset duration for working as the execution duration, determines that the type of the test assignment is appointed to be big
Business;When the execution duration is less than or equal to second preset duration, the type for determining the test assignment is small task.
Second add module 506 includes:First addition submodule 5062, the type for working as the test assignment are
During big task, the test assignment is added in the big task queue;Second addition submodule 5064, for working as the survey
When the type of trial business is small task, the test assignment is added in the small task queue.
Second add module can also include:Forbid submodule 5066, it will for adding submodule described first
After the test assignment is added in the big task queue, the establishment of new test assignment is prevented, until the big task team
Test assignment in row is finished.
To sum up, when which is managed test assignment, test assignment is added to first first
Queue, by test assignment in first queue when the pending time exceed preset duration when, then by test assignment according to test
Duration is divided into big task and small task, and big task is added to big task queue, small task is added to small task queue
In, since the test assignment in big task queue preferentially performs, therefore the big task created afterwards can preferentially be held after waiting preset time
Row, without waiting as long for.
Reference Fig. 6 shows the knot of another test assignment dispatching device embodiment according to an embodiment of the invention
Structure block diagram can specifically include following module:
First add module 602, for the test assignment created to be added in first queue;
Determination type module 604, for work as the test assignment in the first queue etc. the pending time exceed
During the first preset duration, the type of the test assignment is determined;
Second add module 606, for by the test assignment be added to in the second queue of the type matching;Institute
Stating second queue includes big task queue and small task queue;Test assignment in the big task queue is prior to described small
The test assignment being engaged in queue performs, and the test assignment in the small task queue is appointed prior to the test in the first queue
Business performs;
Task execution module 608, for being directed to the user that single test assignment determines to create the test assignment;From described
An at least test equipment is determined in the corresponding special equipment of user;The test assignment is handed down at least one test
Equipment, so that an at least test equipment performs the test assignment.
Wherein, first add module 602 can include:Priority judging submodule 6022, for judging the survey
Try the priority of task creation user;3rd addition submodule 6024, for when the user be high-priority users when, by institute
Test assignment is stated to be added in advanced level user's queue;Wherein, the first queue includes ordinary user's queue and team of advanced level user
Row, the test assignment in advanced level user's queue are performed prior to the test assignment in ordinary user's queue;4th adds
Add submodule 6026, for when the user is non-high priority user, the test assignment to be added to the common use
In the queue of family.
The determination type module 604 includes:Duration determination sub-module 6042, for determining that the test assignment is corresponding
Perform duration;Submodule 6044 is compared, for the execution duration to be compared with the second preset duration;Determination sub-module
6046, it is more than second preset duration for working as the execution duration, the type for determining the test assignment is big task;When
The execution duration is less than or equal to second preset duration, and the type for determining the test assignment is small task.
Second add module 606 can include:5th addition submodule 6062, for working as the wound of the test assignment
It is high-priority users and when the test assignment is big task to build user, by the test assignment from the team of advanced level user
It is transferred in row in the big task queue of supreme priority;Wherein, the big task queue includes the big task queue of low priority and height
The big task queue of priority;6th addition submodule 6064, for working as the establishment user of the test assignment for non-high priority
When user and the test assignment are big task, the test assignment is transferred to from ordinary user's queue to described low
In the big task queue of priority;7th addition submodule 6066, for working as the establishment user of the test assignment for high priority
When user and the test assignment are small task, the test assignment is transferred to from advanced level user's queue supreme preferential
In the small task queue of grade;Wherein, the small task queue includes the small task queue of low priority and the small task queue of high priority;
8th addition submodule 6068 is appointed for working as the establishment user of the test assignment for non-high priority user and the test
Be engaged in for small task when, the test assignment is transferred to from ordinary user's queue into the small task queue of low priority.
The priority execution sequence of the first queue and the individual queue in the second queue is followed successively by:It is described high preferential
Grade big task queue, the big task queue of the low priority, the small task queue of the high priority, the small task of the low priority
Queue, advanced level user's queue and ordinary user's queue.
To sum up, the type of the priority of test assignment dispatching device binding test task creation user and test assignment
Test assignment is scheduled, can ensure that the big task of high-priority users establishment can be preferential after waiting the first preset time
It performs, without waiting as long for, the usage experience of high-priority users can be promoted.
For device embodiment, since it is basicly similar to embodiment of the method, so description is fairly simple, it is related
Part illustrates referring to the part of embodiment of the method.
The all parts embodiment of the present invention can be with hardware realization or to be run on one or more processor
Software module realize or realized with combination thereof.It will be understood by those of skill in the art that it can use in practice
Microprocessor either digital signal processor (DSP) come realize in electronic equipment according to embodiments of the present invention some or it is complete
The some or all functions of portion's component.The present invention be also implemented as performing method as described herein a part or
The equipment or program of device (for example, computer program and computer program product) of person's whole.It is such to realize the present invention's
Program can may be stored on the computer-readable medium or can have the form of one or more signal.Such signal
It can be downloaded from internet website and obtain either providing on carrier signal or providing in the form of any other.Electronics is set
It is standby to may include server (cluster), terminal device etc..
An embodiment of the present invention provides a kind of server, including:One or more processors;Be stored thereon with instruction
One or more machine readable medias, when being performed by one or more of processors so that the server performs such as
Test assignment dispatching method in the embodiment of the present invention described in one or more.
An embodiment of the present invention provides one or more machine readable medias, are stored thereon with instruction, when by one or more
When a processor performs so that server performs the test assignment dispatching party as described in one or more in the embodiment of the present invention
Method.
A kind of server is provided in one example of the embodiment of the present invention, can be realized according to this hair for example, Fig. 7 is shown
The bright server for task scheduling, such as application server, cloud control service server cluster etc..The server traditionally wraps
Include processor 710 and computer program product or computer-readable medium in the form of memory 720.Memory 720 can be with
It is the Electronic saving of such as flash memory, EEPROM (electrically erasable programmable read-only memory), EPROM, hard disk or ROM etc
Device.Memory 720 has the memory space 730 for the program code 731 for performing any method and step in the above method.Example
Such as, the memory space 730 for program code can include being respectively used to realize each of the various steps in above method
Program code 731.These program codes can read from one or more computer program product or be written to this
In a or multiple computer program products.These computer program products include such as hard disk, compact-disc (CD), storage card or
The program code carrier of person's floppy disk etc.Such computer program product be usually described with reference to FIG. 8 it is portable or
Static memory cell.The storage unit can have with the memory paragraph of 720 similar arrangement of memory in the server of Fig. 7, deposit
Store up space etc..Program code can be for example compressed in a suitable form.In general, storage unit includes computer-readable code
731 ', you can with the code read by such as such as 710 etc processor, these codes cause when being run by server
The server performs each step in method described above.
The terminal device also provided in one example of the embodiment of the present invention, such as the terminal device for test, such as Fig. 9 institutes
Show, for convenience of description, illustrate only and do not disclose, refer to the relevant part of the embodiment of the present invention, particular technique details
Present invention method part.The terminal device can be to include mobile phone, tablet computer, PDA (Personal Digital
Assistant, personal digital assistant), POS (Point of Sales, sale equipment), the arbitrary equipments such as vehicle-mounted computer.
Fig. 9 is illustrated that the block diagram with the relevant part-structure of terminal device provided in an embodiment of the present invention.With reference to figure 9,
Terminal device includes:Radio frequency (Radio Frequency, RF) circuit 910, memory 920, input unit 930, display unit
940th, sensor 950, voicefrequency circuit 960, Wireless Fidelity (wireless fidelity, WiFi) module 970, processor 980,
9110 grade components of power supply 990 and camera.It will be understood by those skilled in the art that the terminal device structure shown in Fig. 9 is simultaneously
The restriction to terminal device is not formed, can include either combining some components or not than illustrating more or fewer components
Same component arrangement.
Each component parts of terminal device is specifically introduced with reference to Fig. 9:
RF circuits 910 can be used for receive and send messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, handled to processor 980;In addition, the data sending of uplink will be designed to base station.In general, RF circuits 910
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise
Amplifier, LNA), duplexer etc..In addition, RF circuits 910 can also be communicated by wireless communication with network and other equipment.
Above-mentioned wireless communication can use any communication standard or agreement, include but not limited to global system for mobile communications (Global
System of Mobile communication, GSM), general packet radio service (General Packet Radio
Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access
(Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution,
LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 920 can be used for storage software program and module, and processor 980 is stored in memory 920 by operation
Software program and module, so as to perform the various function application of terminal device and data processing.Memory 920 can be main
Including storing program area and storage data field, wherein, storing program area can storage program area, needed at least one function should
With program (such as sound-playing function, image player function etc.) etc.;Storage data field can store the use according to terminal device
Data (such as voice data, phone directory etc.) created etc..It is stored in addition, memory 920 can include high random access
Device, can also include nonvolatile memory, and a for example, at least disk memory, flush memory device or other volatibility are consolidated
State memory device.
Input unit 930 can be used for the number for receiving input or character information and generate to set with the user of terminal device
It puts and the input of key signals that function control is related.Specifically, input unit 930 may include touch panel 931 and other are defeated
Enter equipment 932.Touch panel 931, also referred to as touch-screen collect user on it or neighbouring touch operation (such as user
Use the operation of any suitable object such as finger, stylus or attachment on touch panel 931 or near touch panel 931),
And corresponding attachment device is driven according to preset formula.Optionally, touch panel 931 may include touch detecting apparatus and
Two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect the letter that touch operation is brought
Number, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into
Contact coordinate, then processor 980 is given, and the order that processor 980 is sent can be received and performed.Furthermore, it is possible to using
The polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave realize touch panel 931.It is defeated except touch panel 931
Other input equipments 932 can also be included by entering unit 930.Specifically, other input equipments 932 can include but is not limited to physics
One or more in keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operation lever etc..
Display unit 940 is available for the information and terminal device for showing by information input by user or being supplied to user
Various menus.Display unit 940 may include display panel 941, optionally, liquid crystal display (Liquid may be employed
Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED)
To configure display panel 941.Further, touch panel 931 can cover display panel 941, when touch panel 931 detects
After touch operation on or near it, processor 980 is sent to determine the type of touch event, is followed by subsequent processing 980 basis of device
The type of touch event provides corresponding visual output on display panel 941.Although in fig.9, touch panel 931 and display
Panel 941 is the component independent as two to realize the input of terminal device and input function, but in certain embodiments,
Can be integrated by touch panel 931 and display panel 941 and that realizes terminal device output and input function.
Terminal device may also include at least one sensor 950, such as optical sensor, motion sensor and other sensings
Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 941, and proximity sensor can close display when terminal device is moved in one's ear
Panel 941 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (generally three
Axis) acceleration size, size and the direction of gravity, the application available for identification terminal equipment posture are can detect that when static
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The other sensors such as the gyroscope, barometer, hygrometer, thermometer, the infrared ray sensor that can also configure as terminal device,
This is repeated no more.
Voicefrequency circuit 960, loud speaker 961, microphone 962 can provide the audio interface between user and terminal device.Sound
The transformed electric signal of the voice data received can be transferred to loud speaker 961, is converted to by loud speaker 961 by frequency circuit 960
Voice signal exports;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is received by voicefrequency circuit 960
After be converted to voice data, it is such as another to be sent to through RF circuits 910 then after voice data output processor 980 is handled
Voice data is exported to memory 920 to be further processed by terminal device.
WiFi belongs to short range wireless transmission technology, and terminal device can help user to receive and dispatch electricity by WiFi module 970
Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 9 shows
Go out WiFi module 970, but it is understood that, and must be configured into for terminal device is not belonging to, it completely can be according to need
It to be omitted in the scope of essence for not changing invention.
Processor 980 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection
A part is stored in storage by running or performing the software program being stored in memory 920 and/or module and call
Data in device 920 perform the various functions of terminal device and processing data, so as to carry out integral monitoring to terminal device.It can
Choosing, processor 980 may include one or more processing units;Preferably, processor 980 can integrate application processor and modulation
Demodulation processor, wherein, the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing
Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 980.
Terminal device is further included to the power supply 990 (such as battery) of all parts power supply, it is preferred that power supply can pass through electricity
Management system and processor 980 are logically contiguous, so as to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.
Camera 9110 can perform the function of taking pictures.
Although being not shown, terminal device can also be including bluetooth module etc., and details are not described herein.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together with teaching based on this.As described above, required by constructing this kind of system
Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various
Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the specification provided in this place, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
Shield the present invention claims the more features of feature than being expressly recited in each claim.It is more precisely, such as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim is in itself
Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.It can be the module or list in embodiment
Member or component be combined into a module or unit or component and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it may be employed any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and attached drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Profit requirement, summary and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included some features rather than other feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
One of meaning mode can use in any combination.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
The invention discloses A1, a kind of test assignment dispatching methods, and applied to test platform, the test platform includes clothes
Business device and more than one test equipment, the method include:
The test assignment created is added in first queue;
When the test assignment in the first queue when the pending time exceed the first preset duration when, determine institute
State the type of test assignment;
By the test assignment be added to in the second queue of the type matching;The second queue includes big task
Queue and small task queue;Test assignment in the big task queue is held prior to the test assignment in the small task queue
Row, the test assignment in the small task queue are performed prior to the test assignment in the first queue.
A2, the method according to A 1, wherein, the type for determining the test assignment, including:
Determine the corresponding execution duration of the test assignment;
The execution duration is compared with the second preset duration;
When the execution duration is more than second preset duration, the type for determining the test assignment is big task;When
The execution duration is less than or equal to second preset duration, and the type for determining the test assignment is small task.
A3, the method according to A 2, wherein, it is described the test assignment is added to the type matching the
In two queues, including:
When the type of the test assignment is big task, the test assignment is added in the big task queue;
When the type of the test assignment is small task, the test assignment is added in the small task queue.
A4, the method according to A 3, wherein, the test assignment is added in the big task queue described
Afterwards, the method further includes:
The establishment of new test assignment is prevented, until the test assignment in the big task queue is finished.
A5, the method according to A 2, wherein, described that the test assignment created is added in first queue, bag
It includes:
Judge that test assignment creates the priority of user;
When the user is high-priority users, the test assignment is added in advanced level user's queue;Wherein, institute
Stating first queue includes ordinary user's queue and advanced level user's queue, and the test assignment in advanced level user's queue is prior to institute
The test assignment stated in ordinary user's queue performs;
When the user is non-high priority user, the test assignment is added in ordinary user's queue.
A6, the method according to A 5, wherein, it is described the test assignment is added to the type matching the
In two queues, including:
When the establishment user of the test assignment is high-priority users and the test assignment is big task, by institute
Test assignment is stated to be transferred to from advanced level user's queue in the big task queue of supreme priority;Wherein, the big task queue
Including the big task queue of low priority and the big task queue of high priority;
It, will when the establishment user of the test assignment is non-high priority user and the test assignment is big task
The test assignment is transferred to from ordinary user's queue into the big task queue of the low priority;
When the establishment user of the test assignment is high-priority users and the test assignment is small task, by institute
Test assignment is stated to be transferred to from advanced level user's queue in the small task queue of supreme priority;Wherein, the small task queue
Including the small task queue of low priority and the small task queue of high priority;
It, will when the establishment user of the test assignment is non-high priority user and the test assignment is small task
The test assignment is transferred to from ordinary user's queue into the small task queue of low priority.
A7, the method according to A 6, wherein:The elder generation of the first queue and the individual queue in the second queue
Execution sequence is followed successively by afterwards:The big task queue of the high priority, the big task queue of the low priority, the high priority are small
Task queue, the small task queue of the low priority, advanced level user's queue and ordinary user's queue.
A8, the method according to A 1, wherein, the step of performing single test assignment, includes:
Determine the user of the establishment test assignment;
An at least test equipment is determined from the corresponding special equipment of the user;
The test assignment is handed down to an at least test equipment, so that an at least test equipment performs
The test assignment.
The invention also discloses B9, a kind of test assignment dispatching devices, and applied to test platform, the test platform includes
Server and more than one test equipment, the device include:
First add module, for the test assignment created to be added in first queue;
Determination type module, for work as the test assignment in the first queue etc. the pending time exceed first
During preset duration, the type of the test assignment is determined;
Second add module, for by the test assignment be added to in the second queue of the type matching;It is described
Second queue includes big task queue and small task queue;Test assignment in the big task queue is prior to the small task
Test assignment in queue performs, and the test assignment in the small task queue is prior to the test assignment in the first queue
It performs.
B10, the device according to B9, wherein, the determination type module includes:
Duration determination sub-module, for determining the corresponding execution duration of the test assignment;
Submodule is compared, for the execution duration to be compared with the second preset duration;
Determination sub-module is more than second preset duration for working as the execution duration, determines the test assignment
Type is big task;When the execution duration is less than or equal to second preset duration, the type of the test assignment is determined
For small task.
B11, the device according to B10, wherein, second add module includes:
First addition submodule, for when the type of the test assignment is big task, the test assignment to be added
Into the big task queue;
Second addition submodule, for when the type of the test assignment is small task, the test assignment to be added
Into the small task queue.
B12, the device according to B11, wherein, second add module further includes:
Forbid submodule, for the test assignment to be added to the big task queue in the described first addition submodule
In after, prevent the establishment of new test assignment, until the big task queue in test assignment be finished.
B13, the device according to B10, wherein, first add module includes:
Priority judging submodule, for judging that the test assignment creates the priority of user;
3rd addition submodule, for when the user is high-priority users, the test assignment being added supreme
In grade Subscriber Queue;Wherein, the first queue includes ordinary user's queue and advanced level user's queue, advanced level user's queue
In test assignment prior in ordinary user's queue test assignment perform;
4th addition submodule, for when the user is non-high priority user, the test assignment to be added to
In ordinary user's queue.
B14, the device according to B13, wherein, second add module includes:
5th addition submodule, for working as the establishment user of the test assignment for high-priority users and the test
When task is big task, the test assignment is transferred to from advanced level user's queue in the big task queue of supreme priority;
Wherein, the big task queue includes the big task queue of low priority and the big task queue of high priority;
6th addition submodule, for working as the establishment user of the test assignment for non-high priority user and the survey
When trial business is big task, the test assignment is transferred to from ordinary user's queue to the big task team of the low priority
In row;
7th addition submodule, for working as the establishment user of the test assignment for high-priority users and the test
When task is small task, the test assignment is transferred to from advanced level user's queue in the small task queue of supreme priority;
Wherein, the small task queue includes the small task queue of low priority and the small task queue of high priority;
8th addition submodule, for working as the establishment user of the test assignment for non-high priority user and the survey
When trial business is small task, the test assignment is transferred to from ordinary user's queue to the small task queue of low priority
In.
B15, the device according to B14, wherein:The elder generation of the first queue and the individual queue in the second queue
Execution sequence is followed successively by afterwards:The big task queue of the high priority, the big task queue of the low priority, the high priority are small
Task queue, the small task queue of the low priority, advanced level user's queue and ordinary user's queue.
B16, the device according to B9, wherein, it further includes:
Task execution module, for being directed to the user that single test assignment determines to create the test assignment;From the use
An at least test equipment is determined in the corresponding special equipment in family;The test assignment is handed down at least one test to set
It is standby, so that an at least test equipment performs the test assignment.
The invention also discloses C17, a kind of server, including:
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, are performed when by one or more of processors
When so that the server performs the test assignment dispatching method as described in one or more in A1-A8.
The present invention discloses D18, one or more machine readable medias again, instruction is stored thereon with, when by one or more
When a processor performs so that server performs the test assignment dispatching method as described in one or more in A1-A8.
Claims (10)
1. a kind of test assignment dispatching method, applied to test platform, the test platform includes server and more than one survey
Equipment is tried, the method includes:
The test assignment created is added in first queue;
When the test assignment in the first queue when the pending time exceed the first preset duration when, determine the survey
The type of trial business;
By the test assignment be added to in the second queue of the type matching;The second queue includes big task queue
With small task queue;Test assignment in the big task queue is performed prior to the test assignment in the small task queue,
Test assignment in the small task queue is performed prior to the test assignment in the first queue.
2. according to the method described in claim 1, it is characterized in that, it is described determine the test assignment type, including:
Determine the corresponding execution duration of the test assignment;
The execution duration is compared with the second preset duration;
When the execution duration is more than second preset duration, the type for determining the test assignment is big task;When described
It performs duration and is less than or equal to second preset duration, the type for determining the test assignment is small task.
3. according to the method described in claim 2, it is characterized in that, described be added to the test assignment and the type
In the second queue matched somebody with somebody, including:
When the type of the test assignment is big task, the test assignment is added in the big task queue;
When the type of the test assignment is small task, the test assignment is added in the small task queue.
4. according to the method described in claim 3, it is characterized in that, the test assignment is added to the big task described
After in queue, the method further includes:
The establishment of new test assignment is prevented, until the test assignment in the big task queue is finished.
5. according to the method described in claim 2, it is characterized in that, described be added to first queue by the test assignment created
In, including:
Judge that test assignment creates the priority of user;
When the user is high-priority users, the test assignment is added in advanced level user's queue;Wherein, described
One queue includes ordinary user's queue and advanced level user's queue, and the test assignment in advanced level user's queue is prior to described general
Test assignment in logical Subscriber Queue performs;
When the user is non-high priority user, the test assignment is added in ordinary user's queue.
6. according to the method described in claim 5, it is characterized in that, described be added to the test assignment and the type
In the second queue matched somebody with somebody, including:
When the establishment user of the test assignment is high-priority users and the test assignment is big task, by the survey
Trial business is transferred to from advanced level user's queue in the big task queue of supreme priority;Wherein, the big task queue includes
The big task queue of low priority and the big task queue of high priority;
When the establishment user of the test assignment is non-high priority user and the test assignment is big task, by described in
Test assignment is transferred to from ordinary user's queue into the big task queue of the low priority;
When the establishment user of the test assignment is high-priority users and the test assignment is small task, by the survey
Trial business is transferred to from advanced level user's queue in the small task queue of supreme priority;Wherein, the small task queue includes
The small task queue of low priority and the small task queue of high priority;
When the establishment user of the test assignment is non-high priority user and the test assignment is small task, by described in
Test assignment is transferred to from ordinary user's queue into the small task queue of low priority.
7. according to the method described in claim 6, it is characterized in that:Every team in the first queue and the second queue
The priority execution sequence of row is followed successively by:The big task queue of the high priority, the big task queue of the low priority, the Gao You
The small task queue of first grade, the small task queue of the low priority, advanced level user's queue and ordinary user's queue.
8. a kind of test assignment dispatching device, applied to test platform, the test platform includes server and more than one survey
Equipment is tried, the device includes:
First add module, for the test assignment created to be added in first queue;
Determination type module, for work as the test assignment in the first queue etc. the pending time it is default beyond first
During duration, the type of the test assignment is determined;
Second add module, for by the test assignment be added to in the second queue of the type matching;Described second
Queue includes big task queue and small task queue;Test assignment in the big task queue is prior to the small task queue
In test assignment perform, the test assignment in the small task queue holds prior to the test assignment in the first queue
Row.
9. a kind of server, including:
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, when being performed by one or more of processors, are made
Obtain test assignment dispatching method of the server execution as described in one or more in claim 1-7.
10. one or more machine readable medias, are stored thereon with instruction, when executed by one or more processors so that
Server performs the test assignment dispatching method as described in one or more in claim 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711052612.5A CN108052443A (en) | 2017-10-30 | 2017-10-30 | A kind of test assignment dispatching method, device, server and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711052612.5A CN108052443A (en) | 2017-10-30 | 2017-10-30 | A kind of test assignment dispatching method, device, server and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108052443A true CN108052443A (en) | 2018-05-18 |
Family
ID=62119983
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711052612.5A Pending CN108052443A (en) | 2017-10-30 | 2017-10-30 | A kind of test assignment dispatching method, device, server and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108052443A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112087503A (en) * | 2020-08-29 | 2020-12-15 | 北京明略昭辉科技有限公司 | Cluster task scheduling method, system, computer and computer readable storage medium |
CN114255019A (en) * | 2022-03-01 | 2022-03-29 | 飞狐信息技术(天津)有限公司 | Data pushing method and device, storage medium and electronic equipment |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7559062B2 (en) * | 2003-10-30 | 2009-07-07 | Alcatel Lucent | Intelligent scheduler for multi-level exhaustive scheduling |
US20110035749A1 (en) * | 2009-08-10 | 2011-02-10 | Avaya Inc. | Credit Scheduler for Ordering the Execution of Tasks |
US20110088037A1 (en) * | 2009-10-13 | 2011-04-14 | Roman Glistvain | Single-stack real-time operating system for embedded systems |
CN103514037A (en) * | 2012-06-21 | 2014-01-15 | 中兴通讯股份有限公司 | Task scheduling processing method and device |
CN104820616A (en) * | 2015-04-24 | 2015-08-05 | 中国联合网络通信集团有限公司 | Task scheduling method and device |
CN104915253A (en) * | 2014-03-12 | 2015-09-16 | 中国移动通信集团河北有限公司 | Work scheduling method and work processor |
CN105204933A (en) * | 2015-09-18 | 2015-12-30 | 上海斐讯数据通信技术有限公司 | Multitask switching execution method based on single process, multitask switching execution system based on single process and processor |
CN105893263A (en) * | 2016-04-25 | 2016-08-24 | 北京智能综电信息技术有限责任公司 | Dispatching method for test tasks |
CN106980532A (en) * | 2016-01-18 | 2017-07-25 | 西安中兴新软件有限责任公司 | A kind of job scheduling method and device |
CN107038069A (en) * | 2017-03-24 | 2017-08-11 | 北京工业大学 | Dynamic labels match DLMS dispatching methods under Hadoop platform |
CN107168781A (en) * | 2017-04-07 | 2017-09-15 | 广东银禧科技股份有限公司 | A kind of 3D printing subtask scheduling method and apparatus |
-
2017
- 2017-10-30 CN CN201711052612.5A patent/CN108052443A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7559062B2 (en) * | 2003-10-30 | 2009-07-07 | Alcatel Lucent | Intelligent scheduler for multi-level exhaustive scheduling |
US20110035749A1 (en) * | 2009-08-10 | 2011-02-10 | Avaya Inc. | Credit Scheduler for Ordering the Execution of Tasks |
US20110088037A1 (en) * | 2009-10-13 | 2011-04-14 | Roman Glistvain | Single-stack real-time operating system for embedded systems |
CN103514037A (en) * | 2012-06-21 | 2014-01-15 | 中兴通讯股份有限公司 | Task scheduling processing method and device |
CN104915253A (en) * | 2014-03-12 | 2015-09-16 | 中国移动通信集团河北有限公司 | Work scheduling method and work processor |
CN104820616A (en) * | 2015-04-24 | 2015-08-05 | 中国联合网络通信集团有限公司 | Task scheduling method and device |
CN105204933A (en) * | 2015-09-18 | 2015-12-30 | 上海斐讯数据通信技术有限公司 | Multitask switching execution method based on single process, multitask switching execution system based on single process and processor |
CN106980532A (en) * | 2016-01-18 | 2017-07-25 | 西安中兴新软件有限责任公司 | A kind of job scheduling method and device |
CN105893263A (en) * | 2016-04-25 | 2016-08-24 | 北京智能综电信息技术有限责任公司 | Dispatching method for test tasks |
CN107038069A (en) * | 2017-03-24 | 2017-08-11 | 北京工业大学 | Dynamic labels match DLMS dispatching methods under Hadoop platform |
CN107168781A (en) * | 2017-04-07 | 2017-09-15 | 广东银禧科技股份有限公司 | A kind of 3D printing subtask scheduling method and apparatus |
Non-Patent Citations (2)
Title |
---|
THE O"REILLY JAVA AUTHORS: "《Java Enterprise最佳实践》", 30 September 2003, 中国电力出版社 * |
陶昌俊等: "基于任务时间的Reduce任务调度", 《计算机工程与设计 信息科技》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112087503A (en) * | 2020-08-29 | 2020-12-15 | 北京明略昭辉科技有限公司 | Cluster task scheduling method, system, computer and computer readable storage medium |
CN114255019A (en) * | 2022-03-01 | 2022-03-29 | 飞狐信息技术(天津)有限公司 | Data pushing method and device, storage medium and electronic equipment |
CN114255019B (en) * | 2022-03-01 | 2022-05-27 | 飞狐信息技术(天津)有限公司 | Data pushing method and device, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106453053B (en) | Group message display methods and device | |
CN107943683B (en) | Test script generation method and device, electronic equipment and storage medium | |
CN104978176B (en) | Application programming interfaces call method, device and computer readable storage medium | |
CN104618217B (en) | Share method, terminal, server and the system of resource | |
CN107995024A (en) | A kind of device management method, device, server and storage medium | |
CN107943686A (en) | A kind of test dispatching method, apparatus, server and storage medium | |
CN106598529A (en) | Method and device for sub-screen display of mobile terminal, and mobile terminal | |
CN106547844B (en) | A kind for the treatment of method and apparatus of user interface | |
US20170185248A1 (en) | Electronic device and method of managing application programs thereof | |
CN107770596A (en) | A kind of special efficacy synchronous method, device and mobile terminal | |
CN104424211B (en) | A kind of dissemination method of the business datum based on microblogging, device and system | |
CN103488939A (en) | Method, device and terminal for prompting user | |
CN107943685B (en) | Traversal path generation method and device, server and storage medium | |
CN107153537A (en) | A kind of information display method based on multitask interface, device and mobile terminal | |
CN107943684A (en) | A kind of test crash retries method, apparatus, server and storage medium | |
CN108055567A (en) | A kind of method for processing video frequency, device, terminal device and storage medium | |
CN104699501B (en) | A kind of method and device for running application program | |
CN106713636B (en) | Loading method, device and the mobile terminal of image data | |
CN106534452A (en) | Quick communication method and apparatus, and mobile terminal | |
CN108920054A (en) | A kind of application recommended method and terminal | |
CN107704332A (en) | Freeze screen solution method, mobile terminal and computer-readable recording medium | |
CN104966205A (en) | Object draw-off method and apparatus | |
CN106155888A (en) | The detection method of webpage loading performance and device in a kind of Mobile solution | |
CN108052443A (en) | A kind of test assignment dispatching method, device, server and storage medium | |
CN104135504A (en) | An application-based service providing method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180518 |