Selection of versioned resource among multiple compatible versions
AssigneeMicrosoft Corporation
InventorsJames Miller, Vincent Henderson, Thorsten Brunklaus, Richard Lander, Thottam R. Sriram
Life of this patent
Estimating the term…
Abstract
A requirement for a versioned resource is fulfilled, particularly in light of compatibility constraints of the requirement. Versions of the versioned resource are associated with compatibility information, such as a feature version and a service version, for example. In fulfilling the requirement, compatibility logic may be applied to identify versions that are compatible with the requirement, and selection logic may be applied to select a preferred version from the compatible versions.
Claims20
A method of fulfilling a requirement specifying at least one feature version of a versioned resource accessible to a computer having a processor, comprising:
- executing on the processor instructions configured to:
- apply a compatibility logic to accessible versions of the versioned resource to identify at least two compatible versions of the versioned resource that fulfill the feature version of the requirement;
- apply a selection logic to the at least two compatible versions to select a preferred version;
- and
- provide only the preferred version of the versioned resource in response to the requirement.
A system for fulfilling a requirement specifying at least one feature version a versioned resource on a computer having a processor and a memory, comprising:
- a versioned resource collection component comprising a set of versions of the versioned resource stored in the memory of the computer;
- a versioned resource compatibility component comprising instructions stored in the memory that, when executed by the processor, cause the processor to identify at least two compatible versions of the versioned resource in the versioned resource collection component that with fulfill the feature version of the requirement;
- a versioned resource selection component comprising instructions stored in the memory that, when executed by the processor, cause the processor to select a preferred version from the at least two compatible versions of the versioned resource;
- and
- a versioned resource servicing component comprising instructions stored in the memory that, when executed by the processor cause the processor to fulfill the requirement by providing the requirement to the versioned resource compatibility component and providing only the preferred version of the versioned resource in response to the requirement.
A method of fulfilling a runtime binding requirement of a dependent assembly for a versioned resource accessible to a computer having a processor, comprising:
- executing on the processor instructions configured to:
- apply a compatibility logic to accessible versions of the versioned resource to identify at least two compatible versions that are compatible with the runtime binding requirement, respective accessible versions of the versioned resource identified by a feature version identifying at least one feature of the version of the versioned resource, and a service version identifying at least one service of the respective features of the versioned resource that is invokable by the computer, and the runtime binding requirement specifying a feature version and a service version;
- apply a selection logic to the at least two compatible versions of the versioned assembly to select a preferred version;
- and
- bind only the preferred version of the versioned resource to the dependent assembly.
Dependencies are inferred from the claim text.