Method for monitoring function execution
OwnerRichard Qing, Michael Shenfield +3inventors
InventorsRichard Qing, Michael Shenfield, Kamen Vitanov, Laura Doktorova, Jeffrey Rogers
Life of this patent
Estimating the term…
Abstract
An endless script or other function is considered to be malicious as it exhausts system resources such as CPU time and memory. Therefore, the handling of an endless function execution is crucial, particularly in a wireless runtime environment. A combination of time-out and user-interruption scheme is used to detect and handle the problem.
Claims13
A method for monitoring the execution of a function, said method comprising:
- monitoring at least one parameter associated with an execution of a function;
- and
- stopping the execution of the function in response to a failure to comply with at least one of said at least one parameter.
A method for monitoring an application comprising a plurality of function execution threads, the method comprising:
- monitoring at least one parameter associated with an execution of said plurality of function execution threads;
- identifying at least one of the plurality of functions threads having a corresponding parameter which does not comply;
- and
- stopping an execution of the at least one of the plurality of function execution threads in response to said identifying.
A device for processing data comprising:
- a processor coupled to a memory storing instructions and data to configure the processor to run at least one function execution thread, said instructions and data further configuring the processor to:
- monitor at least one parameter associated with the function execution thread;
- and
- stop executing said function execution thread in response to a failure to comply with at least one of said at least one parameter.
Dependencies are inferred from the claim text.