Method and apparatus for dynamically locating resources
First Claim
1. A method to retrieve a resource for a digital processing system, the method comprising:
- receiving a request for a resource;
determining whether a first version of the resource on a remote server is preferred based on a first resource configuration parameter in a resource configuration file, wherein the resource configuration file that controls the resource contains the first resource configuration parameter indicating whether or not the first version of the resource on the remote server is preferred over any version of the resource stored locally on the digital processing system and a second resource configuration parameter indicating an address of the first version of the resource on the remote server;
determining whether the first version of the resource is retrievable through a network connection at the address indicated by the second resource configuration parameter if the first resource configuration parameter indicates that the first version of the resource is preferred;
downloading the first version of the resource from the remote server through the network connection to satisfy the request if the first version of the resource is retrievable through the network connection and the first version of the resource is preferred; and
loading a second version of the resource from a storage device of the digital processing system if the first version of the resource is not retrievable through the network connection or the first version of the resource is not preferred, wherein said downloading is in response to a determination that the first version of the resource is different from the second version of the resource.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatuses for dynamically locating resources. In one aspect of the invention, a method to retrieve a resource for a digital processing system includes: receiving a request for a resource; downloading a first version of the resource from a server through a network connection to satisfy the request if the first version of the resource is retrievable through the network connection; and loading a second version of the resource from a storage device of the digital processing system if the first version of the resource is not retrievable through a network connection. In one example, downloading the first version is performed in response to a determination that the first version of the resource is different from a second version of the resource on a storage device of the digital processing system.
-
Citations
34 Claims
-
1. A method to retrieve a resource for a digital processing system, the method comprising:
-
receiving a request for a resource; determining whether a first version of the resource on a remote server is preferred based on a first resource configuration parameter in a resource configuration file, wherein the resource configuration file that controls the resource contains the first resource configuration parameter indicating whether or not the first version of the resource on the remote server is preferred over any version of the resource stored locally on the digital processing system and a second resource configuration parameter indicating an address of the first version of the resource on the remote server; determining whether the first version of the resource is retrievable through a network connection at the address indicated by the second resource configuration parameter if the first resource configuration parameter indicates that the first version of the resource is preferred; downloading the first version of the resource from the remote server through the network connection to satisfy the request if the first version of the resource is retrievable through the network connection and the first version of the resource is preferred; and loading a second version of the resource from a storage device of the digital processing system if the first version of the resource is not retrievable through the network connection or the first version of the resource is not preferred, wherein said downloading is in response to a determination that the first version of the resource is different from the second version of the resource. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A machine readable storage medium storing executable computer program instructions which when executed by a digital processing system cause said system to perform a method to retrieve a resource for the digital processing system, the method comprising:
-
receiving a request for the resource; determining whether a first version of the resource on a remote server is preferred based on a first resource configuration parameter in a resource configuration file, wherein the resource configuration file that controls the resource contains the first resource configuration parameter indicating whether or not the first version of the resource on the remote server is preferred over any version of the resource stored locally on the digital processing system and a second resource configuration parameter indicating an address of the first version of the resource on the remote server; determining whether the first version of the resource is retrievable through a network connection at the address indicated by the second resource configuration parameter if the first resource configuration parameter indicates that the first version of the resource is preferred; downloading the first version of the resource from the remote server through the network connection to satisfy the request if the first version of the resource is retrievable through the network connection and the first version of the resource is preferred; and loading a second version of the resource from a storage device of the digital processing system if the first version of the resource is not retrievable through the network connection or the first version of the resource is not preferred, wherein said downloading is in response to a determination that the first version of the resources is different from the second version of the resource. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A digital processing system to retrieve a resource, the digital processing system comprising:
-
a memory, means for receiving, through a hardware input device, a request for the resource; means for determining, through a processor, whether a first version of the resource on a remote server is preferred based on a first resource configuration parameter in a resource configuration file stored in the memory, wherein the resource configuration file that controls the resource contains the first resource configuration parameter indicating whether or not the first version of the resource on the remote server is preferred over any version of the resource stored locally on the digital processing system and a second resource configuration parameter indicating an address of the first version of the resource on the remote server; means for determining whether the first version of the resource is retrievable through a network connection at the address indicated by the second resource configuration parameter if the first resource configuration parameter indicates that the first version of the resource is preferred; means for downloading the first version of the resource from the remote server through a network connection to satisfy the request if the first version of the resource is retrievable through the network connection and the first version of the resource is preferred; and means for loading a second version of the resource from a storage device of the digital processing system if the first version of the resource is not retrievable through the network connection or the first version of the resource is not preferred, wherein said downloading is in response to a determination that the first version of the resource is different from the second version of the resource. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24, 25)
-
-
26. A data processing system to retrieve a resource, the data processing system comprising:
-
memory storing a resource configuration file, and a second version of a resource; a processor coupled to the memory, the processor configured to determine whether a first version of the resource on a remote server is preferred based on a first resource configuration parameter in the resource configuration file, wherein the resource configuration file that controls the resource contains the first resource configuration parameter indicating whether or not the first version of the resource on the remote server is preferred over any version of the resource stored locally in the memory of the data processing system and a second resource configuration parameter indicating an address of the first version of the resource on the remote server; and wherein the processor is configured to determine whether the first version of the resource is retrievable through a network connection at the address indicated by the second resource configuration parameter if the first resource configuration parameter indicates that the first version of the resource is preferred; and wherein the processor is configured to download the first version of the resource from the remote server through the network connection to satisfy a request for the resource if the first version of the resource is retrievable through the network connection and the first version of the resource on the remote server is preferred, and the processor loading the second version of the resource from the memory to satisfy the request if the first version of the resource is not retrievable through the network connection or the first version of the resource is not preferred. - View Dependent Claims (27, 28, 29, 30, 31, 32, 33, 34)
-
Specification