Program determining apparatus and program determining method
AssigneeRicoh Company, Ltd.
InventorMitsuo Ando
Life of this patent
Estimating the term…
Abstract
A disclosed program determining apparatus includes a log recording unit configured to record, in response to at least one of a use request for use of a predetermined function of the image forming apparatus from a program for use in the image forming apparatus and consumption of a predetermined resource of the image forming apparatus by the program, content of said at least one of use request and consumption as log information; and a determining unit configured to determine whether said at least one of use of the predetermined function requested by the program and consumption of the predetermined resource by the program satisfies a predetermined restriction.
Claims13
An apparatus which executes a state of transition of a plurality of installed applications, comprising:
- a memory that stores the plurality of installed applications and corresponding provisional activation logs recorded during provisional activation of each of the plurality of installed applications, wherein each of the provisional activation logs includes operational information regarding a consumption of predetermined resource by an installed application of the plurality of installed applications in each of a plurality of states of the installed application;
- and
- processing circuitry configured to
- execute each of the plurality of installed applications;
- detect a first application of the plurality of installed applications that requires a state transition from one of a plurality of states to another one of the plurality of states during execution of the first application of the plurality of installed applications, wherein the plurality of states includes at least all of an initial state, a pause state, an active state, and a termination state applications;
- determine in response to the detection of the first application of the plurality of installed applications that requires state transition and based on the provisional activation logs associated with each of the plurality of installed applications, whether a sum of an amount of consumption of the predetermined resource by the first application of the plurality of installed applications in a destination state and an amount of consumption of the predetermined resource by other installed applications in their current states after the state transition of the first application of the plurality of installed applications to the destination state is performed is less than or equal to a predetermined limit value;
- and
- prevent performance of the state transition of the first application of the plurality of installed applications to the destination state during the execution of the first application of the plurality of installed applications when the sum is determined as exceeding the predetermined limit value, and to allow performance of the state transition of the first application of the plurality of installed applications to the destination state during the execution of the first application of the plurality of installed applications when the sum is determined as being less than or equal to the predetermined limit value.
A method executable by an apparatus which executes a state of transition of a plurality of installed applications, the method comprising:
- storing, in a memory, that stores the plurality of installed applications and corresponding provisional activation logs recorded during provisional activation of each of the plurality of installed applications, wherein each of the provisional activation logs includes operational information regarding a consumption of predetermined resource by an installed application of the plurality of installed applications in each of a plurality of states of the installed application;
- executing each of the plurality of installed applications;
- detecting a first application of the plurality of installed applications that requires a state transition from one of a plurality of states to another one of the plurality of states during execution of the first application of the plurality of installed applications, wherein the plurality of states includes at least all of an initial state, a pause state, an active state, and a termination state;
- determining in response to the detection of the first application of the plurality of installed applications that requires state transition and based on the provisional activation logs associated with each of the plurality of installed applications, whether a sum of an amount of consumption of the predetermined resource by the first application of the plurality of installed applications in a destination state and an amount of consumption of the predetermined resource by other installed applications in their current states after the state transition of the first application of the plurality of installed applications to the destination state is performed is less than or equal to a predetermined limit value;
- and
- preventing performance of the state transition of the first application of the plurality of installed applications to the destination state during the execution of the first application of the plurality of installed applications when the sum is determined as exceeding the predetermined limit value, and to allow performance of the state transition of the first application of the plurality of installed applications to the destination state during the execution of the first application of the plurality of installed applications when the sum is determined as being less than or equal to the predetermined limit value.
A non-transitory computer readable medium that stores a computer program for being executed on an apparatus, which executes a state of transition of a plurality of installed applications, to perform a method, the method comprising:
- storing, in a memory, that stores the plurality of installed applications and corresponding provisional activation logs recorded during provisional activation of each of the plurality of installed applications, wherein each of the provisional activation logs includes operational information regarding a consumption of predetermined resource by an installed application of the plurality of installed applications in each of a plurality of states of the installed application;
- executing each of the plurality of installed applications;
- detecting a first application of the plurality of installed applications that requires a state transition from one of a plurality of states to another one of the plurality of states during execution of the first application of the plurality of installed applications, wherein the plurality of states includes at least all of an initial state, a pause state, an active state, and a termination state;
- determining in response to the detection of the first application of the plurality of installed applications that requires state transition and based on the provisional activation logs associated with each of the plurality of installed applications, whether a sum of an amount of consumption of the predetermined resource by the first application of the plurality of installed applications in a destination state and an amount of consumption of the predetermined resource by other installed applications in their current states after the state transition of the first application of the plurality of installed applications to the destination state is performed is less than or equal to a predetermined limit value;
- and
- preventing performance of the state transition of the first application of the plurality of installed applications to the destination state during the execution of the first application of the plurality of installed applications when the sum is determined as exceeding the predetermined limit value, and to allow performance of the state transition of the first application of the plurality of installed applications to the destination state during the execution of the first application of the plurality of installed applications when the sum is determined as being less than or equal to the predetermined limit value.
Dependencies are inferred from the claim text.