Selective assembly loading and execution based on platform capabilities
First Claim
Patent Images
1. A method, comprising:
- initiating an application on a platform of a device, the application including a platform capability-dependent assembly to perform a specific function of the application;
determining at least one capability that the platform supports according to at least one capability profile of the platform, the at least one capability being a processing capability of the platform including at least one of an audio processing capability, a video processing capability, and a graphics processing capability;
dynamically selecting a first specialized assembly associated with the platform capability-dependent assembly if the capability profile indicates that the platform supports a first capability;
dynamically selecting a second specialized assembly associated with the platform capability-dependent assembly if the capability profile indicates that the platform supports a second capability, wherein said selecting a specialized assembly comprises;
determining whether there are more than one capability supported on the platform of the device;
retrieving custom attributes when there are more than one capability supported by the platform of the device;
identifying a best-fit capability according to at least one custom attribute specifying priority among different capabilities;
determining the specialized assembly corresponding to the best-fit capability, wherein the capability required by the specialized assembly matches the best-fit capability; and
determining the specialized assembly wherein the capability required by the specialized assembly is supported by the platform when there is only one supported capability; and
executing the selected specialized assembly on the platform via a proxy corresponding to the specialized assembly.
2 Assignments
0 Petitions
Accused Products
Abstract
An arrangement is provided for selectively loading and executing an assembly based on platform capabilities. When an application that includes at least one platform capability-dependent assembly realized to perform a function is initiated on a platform of a device, the platform capabilities supported by the device are determined based on corresponding platform capability profiles. Based on the supported platform capabilities, specialized assemblies designed to perform an underlying function on a platform having the supported capabilities are selected. Proxies corresponding to selected specialized assemblies are then accordingly invoked to load and excuting the specialized assemblies.
-
Citations
23 Claims
-
1. A method, comprising:
-
initiating an application on a platform of a device, the application including a platform capability-dependent assembly to perform a specific function of the application; determining at least one capability that the platform supports according to at least one capability profile of the platform, the at least one capability being a processing capability of the platform including at least one of an audio processing capability, a video processing capability, and a graphics processing capability; dynamically selecting a first specialized assembly associated with the platform capability-dependent assembly if the capability profile indicates that the platform supports a first capability; dynamically selecting a second specialized assembly associated with the platform capability-dependent assembly if the capability profile indicates that the platform supports a second capability, wherein said selecting a specialized assembly comprises; determining whether there are more than one capability supported on the platform of the device; retrieving custom attributes when there are more than one capability supported by the platform of the device; identifying a best-fit capability according to at least one custom attribute specifying priority among different capabilities; determining the specialized assembly corresponding to the best-fit capability, wherein the capability required by the specialized assembly matches the best-fit capability; and determining the specialized assembly wherein the capability required by the specialized assembly is supported by the platform when there is only one supported capability; and executing the selected specialized assembly on the platform via a proxy corresponding to the specialized assembly. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system, comprising:
-
a device; a platform on the device capable of supporting at least one supported capability, wherein the platform includes at least one capability profile that describes the at least one supported capability, and wherein the at least one capability is a processing capability of the platform including at least one of an audio processing capability, a video processing capability, and a graphics processing capability; and a platform capability-dependent application to run on the platform in a fashion consistent with the at least one supported capability of the platform of the device, the application further including; at least one assembly including specialized assemblies that each perform a different supported capability of the platform; a platform capability-based assembly execution mechanism capable of dynamically selecting a first specialized assembly associated with the platform capability-dependent assembly if the capability profile indicates that the platform supports a first capability or a second specialized assembly associated with the platform capability-dependent assembly if the capability profile indicates that the platform supports a second capability, wherein selecting a specialized assembly comprises determining whether there are more than one capability supported on the platform of the device, retrieving custom attributes when there are more than one capability supported by the platform of the device, identifying a best-fit capability according to at least one custom attribute specifying priority among different capabilities, determining the specialized assembly corresponding to the best-fit capability, wherein the capability required by the specialized assembly matches the best-fit capability and determining the specialized assembly wherein the capability required by the specialized assembly is supported by the platform when there is only one supported capability; and at least one proxy, each of which is associated with a corresponding specialized assembly, capable of accessing and executing the selected specialized assembly. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. An article comprising a storage medium having stored thereon instructions that, when executed by a machine, result in the following:
-
initiating an application on a platform of a device, the application including a platform capability-dependent assembly to perform a specific function of the application; determining at least one capability that the platform supports according to at least one capability profile of the platform, the at least one capability being a processing capability of the platform including at least one of an audio processing capability, a video processing capability, and a graphics processing capability; dynamically selecting a first specialized assembly associated with the platform capability-dependent assembly if the capability profile indicates that the platform supports a first capability; dynamically selecting a second specialized assembly associated with the platform capability-dependent assembly if the capability profile indicates that the platform supports a second capability, wherein said selecting a specialized assembly comprises; determining whether there are more than one capability supported on the platform of the device; retrieving custom attributes when there are more than one capability supported by the platform of the device; identifying a best-fit capability according to at least one custom attribute specifying priority among different capabilities; determining the specialized assembly corresponding to the best-fit capability, wherein the capability required by the specialized assembly matches the best-fit capability; and determining the specialized assembly wherein the capability required by the specialized assembly is supported by the platform when there is only one supported capability; and executing the selected specialized assembly on the platform via a proxy corresponding to the specialized assembly. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23)
-
Specification