Methods and architectures for resource management
First Claim
1. A resource management method comprising:
- representing, as a hierarchical tree structure, a plurality of resources that are targeted by a first resource consumer to perform a task in a targeted configuration, each resource being associated with a resource provider that manages its corresponding resource, at least one of the plurality of resources being represented as a parent node, at least one other resource being represented as a child node of the parent node;
monitoring, by a processor configured with executable instructions, whether the other resource is capable of performing functionality targeted by the first resource consumer to perform its part of the task;
determining that the other resource that is represented as the child node is unable to perform the functionality targeted by the first resource consumer to perform its part of the task as a result of the other resource being reserved or used by a second resource consumer that has priority over the first resource consumer;
performing the task for the first resource consumer in a fallback configuration until the other resource that is represented as the child node is able to perform the functionality targeted; and
switching from the fallback configuration to the targeted configuration to continue performing the task.
2 Assignments
0 Petitions
Accused Products
Abstract
Resource management architectures implemented in computer systems to manage resources are described. In one embodiment, a general architecture includes a resource manager and multiple resource providers that support one or more resource consumers such as a system component or application. Each provider is associated with a resource and acts as the manager for the resource when interfacing with the resource manager. The resource manager arbitrates access to the resources provided by the resource providers on behalf of the consumers. A policy manager sets various policies that are used by the resource manager to allocate resources. A resource consumer creates an “activity” at the resource manager and builds one or more “configurations” that describe various sets of preferred resources required to perform the activity. Each resource consumer can specify one or more configurations for each activity.
-
Citations
14 Claims
-
1. A resource management method comprising:
-
representing, as a hierarchical tree structure, a plurality of resources that are targeted by a first resource consumer to perform a task in a targeted configuration, each resource being associated with a resource provider that manages its corresponding resource, at least one of the plurality of resources being represented as a parent node, at least one other resource being represented as a child node of the parent node; monitoring, by a processor configured with executable instructions, whether the other resource is capable of performing functionality targeted by the first resource consumer to perform its part of the task; determining that the other resource that is represented as the child node is unable to perform the functionality targeted by the first resource consumer to perform its part of the task as a result of the other resource being reserved or used by a second resource consumer that has priority over the first resource consumer; performing the task for the first resource consumer in a fallback configuration until the other resource that is represented as the child node is able to perform the functionality targeted; and switching from the fallback configuration to the targeted configuration to continue performing the task. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A resource management method comprising:
-
defining a chain of a plurality of resource providers each of which being associated with a different resource consumed by a first resource consumer to perform a task in a first configuration; determining, by a processor configured with executable instructions, that a corresponding resource with which a first resource provider is associated is unavailable due to being reserved or used by a second resource consumer that has priority over the first resource consumer; performing the task for the first resource consumer in a second configuration until the corresponding resource is available; and switching from the second configuration to the first configuration to continue performing the task.
-
-
12. A resource management method comprising:
-
defining a first configuration including a chain of resource providers each of which being associated with a different resource that a resource manager attempts to reserve on behalf of a first resource consumer to perform a task, the chain of resource providers including at least one parent-child relationship; reporting, by a processor configured with executable instructions, an error to a child resource provider when the resource manager fails to reserve a first resource with which the child resource provider is associated, the error resulting from the first resource being unavailable due to a priority of a second resource consumer; reporting the error up the chain of resource providers in the first configuration; reporting the error from a parent resource provider at the top of the chain to the first resource consumer; and presenting the first resource consumer with at least one option that will enable the task to be performed with a different configuration of resources, the different configuration of resources including a second resource not defined in the first configuration, and not including the first resource that the resource manager fails to reserve.
-
-
13. A system comprising:
-
a processor; a first resource consumer that is aware of a first set of one or more resources required to perform a task, wherein the first set of one or more resources are associated with one or more resource providers, each of the one or more resource providers being configured to call on a second set of one or more resources from which resources in the first set depend upon to perform respective portions of the task; and a resource manager that maintains a hierarchical tree structure that describes a configuration of resources from the first and second sets required to perform the task, wherein the hierarchical tree describes at least one parent-child relationship between a parent resource from the first set and a child resource from the second set, wherein the resource manager is configured to; reserve the first set of one or more resources and the second set of one or more resources; receive an error notification from a child resource provider associated with the child resource when reservation of the child resource by the resource manager fails due to a second resource consumer having priority over the first resource consumer; report the error notification to a parent resource provider associated with the parent resource that depends upon the child resource, so that the parent resource can translate the error notification into terms the first resource consumer understands; and present the first resource consumer with the translated error notification and present one or more alternative configurations of resources which the first resource consumer can select from to still perform the task. - View Dependent Claims (14)
-
Specification