Runtime-resource management
First Claim
1. A processor-implemented runtime resource management method for use with a portable device, said method comprising the steps of:
- identifying one or more new application components scheduled to be loaded and stored on said portable device, each of said one or more new application components having a resource description list (RDL) associated therewith, said RDL identifying maximum required runtime resources that will be used when the respective application component is running;
determining maximum required runtime resources for said one or more new application components from each said associated RDL;
reserving maximum runtime resources required for running each application component stored in flashed memory of the portable device as defined by said RDL;
wherein said reserving step comprises;
allocating a segment of RAM within the portable device to each of application components stored in flash memory based on RAM requirements in said RDL associated with each of said application components, said allocated segment of RAM being for use by said application component stored in flash memory;
writing thread requirements to a thread table for each of said application component stored in flash memory based on thread requirements in said RDL associated with each said application components stored in flash memory;
writing socket requirement to a socket table for each of said application component stored in flash memory based on socket requirements in said RDL associated with each of said application component stored in flash memory; and
determining a CARSRMAX (Currently Available Runtime System Resources of the portable device assuming all already loaded application components are simultaneously using the respective MAXimum amount of runtime resources reserved for their use) of said portable device;
comparing, using said processor, said maximum required runtime resources for said one or more new application components to said CARSRMAX; and
prohibiting, using said processor, said one or more new application components from being loaded and stored on said portable device if said CARSRMAX is less than said maximum required runtime resources for running said one or more new application components.
3 Assignments
0 Petitions
Accused Products
Abstract
A runtime-resource management method, system, and product for managing resources available to application components in a portable device. The method, system, and product provide for loading one or more new application components into a portable device only if maximum runtime resources required by the one or more new application components are available in the portable device assuming loaded application components within the device are using the maximum runtime resources reserved by the loaded application components, reserving maximum runtime resources required by application components when application components are loaded into the portable device, and running loaded application components using only the runtime resources reserved for the loaded application components.
47 Citations
16 Claims
-
1. A processor-implemented runtime resource management method for use with a portable device, said method comprising the steps of:
-
identifying one or more new application components scheduled to be loaded and stored on said portable device, each of said one or more new application components having a resource description list (RDL) associated therewith, said RDL identifying maximum required runtime resources that will be used when the respective application component is running; determining maximum required runtime resources for said one or more new application components from each said associated RDL; reserving maximum runtime resources required for running each application component stored in flashed memory of the portable device as defined by said RDL; wherein said reserving step comprises; allocating a segment of RAM within the portable device to each of application components stored in flash memory based on RAM requirements in said RDL associated with each of said application components, said allocated segment of RAM being for use by said application component stored in flash memory; writing thread requirements to a thread table for each of said application component stored in flash memory based on thread requirements in said RDL associated with each said application components stored in flash memory; writing socket requirement to a socket table for each of said application component stored in flash memory based on socket requirements in said RDL associated with each of said application component stored in flash memory; and determining a CARSRMAX (Currently Available Runtime System Resources of the portable device assuming all already loaded application components are simultaneously using the respective MAXimum amount of runtime resources reserved for their use) of said portable device; comparing, using said processor, said maximum required runtime resources for said one or more new application components to said CARSRMAX; and prohibiting, using said processor, said one or more new application components from being loaded and stored on said portable device if said CARSRMAX is less than said maximum required runtime resources for running said one or more new application components. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A processor-implemented system having processor for managing runtime resources in a portable device, said system comprising:
-
means for identifying one or more new application components scheduled to be loaded and stored on said portable device, each of said one or more new application components having a resource description list (RDL) associated therewith; means for determining maximum required runtime resources for said one or more new application components from each said associated RDL; means for reserving maximum runtime resources required for running each application component stored in flashed memory of the portable device as defined by said RDL; wherein said reserving step comprises; means for allocating a segment of RAM within the portable device to each of application components stored in flash memory based on RAM requirements in said RDL associated with each of said application components, said allocated segment of RAM being for use by said application component stored in flash memory; means for writing thread requirements to a thread table for each of said application component stored in flash memory based on thread requirements in said RDL associated with each said application components stored in flash memory; means for writing socket requirements to a socket table for each of said application component stored in flash memory based on socket requirements in said RDL associated with each of said application component stored in flash memory; and means for determining a CARSRMAX (Currently Available Runtime System Resources of the portable device assuming already loaded application components are using the MAXimum amount of runtime resources reserved for their use) of said portable device; processing means for comparing said maximum required runtime resources for said one or more new application components to said CARSRMAX; and processing means for prohibiting said one or more new application components from being loaded and stored on said portable device if said CARSRMAX is less than said maximum required runtime resources. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A processor-implemented computer program product for managing system resources in a portable device, said computer program product comprising:
-
computer readable program code embodied in a computer readable medium, the computer readable program code comprising at least; computer readable program code for identifying one or more new application components scheduled to be loaded and stored on said portable device, each of said one or more new application components having a resource description list (RDL) associated therewith; computer readable program code for determining maximum required runtime resources for said one or more new application components from each said associated RDL; computer readable program code for reserving maximum runtime resources required for running each application component stored in flashed memory of the portable device as defined by said RDL; wherein said reserving step comprises; computer readable program code for allocating a segment of RAM within the portable device to each of application components stored in flash memory based on RAM requirements in said RDL associated with each of said application components, said allocated segment of RAM being for use by said application component stored in flash memory; computer readable program for writing thread requirements to a thread table for each of said application component stored in flash memory based on thread requirements in said RDL associated with each said application components stored in flash memory; computer readable program code for writing socket requirements to a socket table for each of said application component stored in flash memory based on socket requirements in said RDL associated with each of said application component stored in flash memory; and computer readable program code for determining a CARSRMAX (Currently Available Runtime System Resources of the portable device assuming already loaded application components are using the MAXimum amount of runtime resources reserved for their use) of said portable device; computer readable program code for comparing, using said processor, said maximum required runtime resources for said one or more new application components to said CARSRMAX; and computer readable program code for prohibiting, using said processor, said one or more new application components from being loaded and stored on said portable device if said CARS RMAX is less than said maximum required runtime resources. - View Dependent Claims (13, 14, 15, 16)
-
Specification