Apparatus for setting used license of executing job into unused license state and allocating the set unused license to a to be executed job based on priority
First Claim
1. A job management apparatus comprising:
- a computer processor,wherein the computer processor is programmed to function as;
a detection section that detects a number of unused licenses;
a determination section that determines whether or not the number of unused licenses detected by the detection section is sufficient to cover a number of licenses necessary for execution of a first job to be executed, wherein the first job includes a number of central processing units (CPUs) to execute the first job, a priority rank assigned to the first job, and a type of job assigned to the first job, the type of the first job includes any one of a static analysis job and a dynamic analysis job, wherein the number of licenses necessary for execution of the first job being determined based on the number of CPUs to execute the first job and the type of the first job;
a job control section that sets a used license that is used by a second job into an unused state, in which a priority rank assigned to the second job is lower than the priority rank assigned to the first job, when the determination section determines that the number of unused licenses is not sufficient to cover the number of licenses necessary for execution of the first job to be executed, said job control section allocates the used license being set into the unused state from the second job to the first job; and
wherein, when the first job is kept executed continuously for a predetermined time period or more, the job control section suspends execution of the first job, changes the predetermined priority rank assigned to the first job to a lower priority rank, sets the first job into an execution waiting state, and allows another job to execute.
1 Assignment
0 Petitions
Accused Products
Abstract
A job management apparatus includes a detection section that detects the number of unused licenses, a determination section that determines whether or not the number of unused licenses is sufficient to cover the number of licenses necessary for execution of a first job to be executed, and a job control section that sets a used license that is used by a second job into an unused state, in which a priority rank assigned to the second job is lower than a priority rank assigned to the first job, when the determination section determines that the number of unused licenses is not sufficient to cover the number of licenses necessary for execution of the first job, and allocates the used license set into the unused state to the first job.
32 Citations
14 Claims
-
1. A job management apparatus comprising:
-
a computer processor, wherein the computer processor is programmed to function as; a detection section that detects a number of unused licenses; a determination section that determines whether or not the number of unused licenses detected by the detection section is sufficient to cover a number of licenses necessary for execution of a first job to be executed, wherein the first job includes a number of central processing units (CPUs) to execute the first job, a priority rank assigned to the first job, and a type of job assigned to the first job, the type of the first job includes any one of a static analysis job and a dynamic analysis job, wherein the number of licenses necessary for execution of the first job being determined based on the number of CPUs to execute the first job and the type of the first job; a job control section that sets a used license that is used by a second job into an unused state, in which a priority rank assigned to the second job is lower than the priority rank assigned to the first job, when the determination section determines that the number of unused licenses is not sufficient to cover the number of licenses necessary for execution of the first job to be executed, said job control section allocates the used license being set into the unused state from the second job to the first job; and wherein, when the first job is kept executed continuously for a predetermined time period or more, the job control section suspends execution of the first job, changes the predetermined priority rank assigned to the first job to a lower priority rank, sets the first job into an execution waiting state, and allows another job to execute. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A job management method comprising:
-
detecting a number of unused licenses; determining whether or not the number of unused licenses detected by the detecting is sufficient to cover a number of licenses necessary for execution of a first job to be executed, wherein the first job includes a number of central processing units (CPUs) to execute the first job, a priority rank assigned to the first job, and a type of job being assigned to the first job, the type of the first job includes any one of a static analysis job and a dynamic analysis job, wherein the number of licenses necessary for execution of the first job being determined based on the number of CPUs to execute the first job and the type of the first job; setting a used license that is used by a second job into an unused state, in which a priority rank assigned to the second job is lower than the priority rank assigned to the first job, when the determining determines that the number of unused licenses is not sufficient to cover the number of licenses necessary for execution of the first job, allocating the used license being set into the unused state from the second job to the first job; and wherein, when the first job is kept executed continuously for a predetermined time period or more, suspending execution of the first job, changing the predetermined priority rank assigned to the first job to a lower priority rank, setting the first job into an execution waiting state, and allowing another job to execute. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A non-transitory storage medium that has stored therein, readable by a computer, a job management program that causes the computer to execute a process comprising:
-
detecting a number of unused licenses; determining whether or not the number of unused licenses detected by the detecting is sufficient to cover a number of licenses necessary for execution of a first job to be executed, wherein the first job includes a number of central processing units (CPUs) to execute the first job, a priority rank assigned to the first job, and a type of job being assigned to the first job, the type of the first job includes any one of a static analysis job and a dynamic analysis job, wherein the number of licenses necessary for execution of the first job being determined based on the number of CPUs to execute the first job and the type of the first job; setting a used license that is used by a second job into an unused state, in which a priority rank assigned to the second job is lower than the priority rank assigned to the first job, when the determining determines that the number of unused licenses is not sufficient to cover the number of licenses necessary for execution of the first job, allocating the used license being set into the unused state from the second job to the first job; and wherein, when the first job is kept executed continuously for a predetermined time period or more, suspending execution of the first job, changing the predetermined priority rank assigned to the first job to a lower priority rank, setting the first job into an execution waiting state, and allowing another job to execute. - View Dependent Claims (12, 13, 14)
-
Specification