Component tagging
AssigneeMicrosoft Corporation
InventorsElsie Nallipogu, Frederic Vicik, Michael Fortin
Life of this patent
Estimating the term…
Abstract
A component tagging system for tagging various components and sub-components used by various processes allows creating a plurality of component tags for various components used in processes in a manner so that the component tags may be used in tracking various resources used by the components. The component tagging system also allows tracking usage of resources by various threads in process thread-pools, wherein the various threads may perform a service or a function on behalf of the components. An alternate embodiment of the component tagging system allows tagging of multi-process components wherein the multi-process components may be used to perform a service or a function across multiple processes.
Claims20
A method of providing component tagging for a plurality of components within a computer process, comprising:
- creating a plurality of electronic component tags, each component tag corresponding to one of a plurality of components;
- propagating each of the plurality of tags to the computer process;
- and
- attaching each of the plurality of component tags to the one of the corresponding components.
A computer-readable medium containing computer code for implementing a plurality of processes on a computer system, each of the plurality of processes including a plurality of components for performing various services for the plurality of processes, the computer readable medium further comprising:
- a component tag creator routine adapted to create component tags for each of the plurality of components;
- a component tag propagator routine adapted to propagate the component tags to each of the plurality of processes;
- a component tag manager routine adapted to attach the plurality of component tags to the plurality of components;
- a resource requestor routine adapted to generate a resource request for a requestor component;
- and
- a resource manager routine adapted to receive the resource request and, in response to the resource request, to request a requestor component tag attached to the requestor component, to add the requestor component tag to a resource accounting store corresponding to the requested resource, and to provide the requested resource to the requestor component.
A component tagging system for tagging a plurality of components used by a plurality of computer processes, the system comprising:
- an electronic component tag generator adapted to generate a plurality of component tags, each component tag corresponding to one of a plurality of components and to propagate each of the plurality of component tags to a plurality of processes employing the plurality of components;
- the plurality of processes adapted to attach each of the plurality of component tags to its corresponding component;
- and
- a resource manager adapted to:
- receive a request from requestor component of the plurality of components for a resource,
- request the component tag of the requestor component,
- add the component tag of the requestor component to a resource accounting store corresponding to the requested resource, and
- provide the resource to the requestor component.
Dependencies are inferred from the claim text.