The field of invention relates generally to computing systems, and, more specifically, to dynamic retrieval of installation packages when installing software.
Software may be installed from a repository. There may be several repositories available from which the software can be installed. The software may be obtained faster from some repositories than others.
Mechanisms for dynamical retrieval of installation packages when installing software are described herein. In one embodiment, a process can be provided to determine a specific installation package to be installed from one or more installation packages of software. An identification of a repository may be made from a plurality of repositories, based on priority criteria. The priority criteria may be based on dynamically changing parameters. The specific installation package may be obtained from the identified repository. Systems, methods, and machine readable storage media which perform or implement one or more embodiments are also described.
Other features of the present invention will be apparent from the accompanying drawings and from the detailed description which follows.
The present invention is illustrated by way of example and not limited in the figures of the accompanying drawings, in which like references indicate similar elements and in which:
In the following detailed description of embodiments of the invention, reference is made to the accompanying drawings in which like references indicate similar elements, and in which is shown by way of illustration specific embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention, and it is to be understood that other embodiments may be utilized and that logical, mechanical, electrical, functional, and other changes may be made without departing from the scope of the present invention. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is defined only by the appended claims.
Software to be installed on a system can include multiple packages. These packages may exist in different repositories (e.g., local hard drive, local optical disk, through a local area network, remote servers, etc.). A computing system may determine a specific package needed in order to install the software. If the specific package exists in multiple repositories, the computing system may determine which repository to obtain the specific package from. The determination may be made based on priority criteria. In one embodiment, the priority criteria can be based on dynamically changing parameters. In one embodiment, the priority criteria indicate the fastest repository from which to obtain the specific package.
In one embodiment, information about the dynamically changing parameters can be received from other computing systems.
In one embodiment, if the specific package cannot be obtained from a determined repository, an alternate repository can be determined from which to obtain the specific package.
In one embodiment, a determination can be made if an updated version of the specific package exists. If an updated version of the specific package exists, the required version of the specific package may be updated prior to identifying a repository from which to obtain the specific package.
In one embodiment, network 140 may be a public network (e.g., Internet) or a private network (e.g., local area network (LAN)). In one embodiment, computers 150 may include a broadcast server which broadcasts the availability of an installation package over network 140. Computer system 120 may determine whether the installation package needs to be installed and may then further determine whether to download the installation package from the broadcast server computer 150 over network 140. In one embodiment, computers 150 may transmit information related to dynamically changing parameters to computer system 120 over network 140.
In one embodiment of the present invention, disk drive 110 can communicate with computer system 120 in any number of protocols. For example, disk drive 110 can be an internal disk drive for computer system 120, connected via an Advanced Technology Attachment (ATA) or Serial Advanced Technology Attachment (SATA) interface. In an alternate embodiment of the present invention, disk drive 110 is connected to computer system 120 via a Universal Serial Bus (USB), a IEEE 1394 interface such as FireWire™ available from Apple, Inc. of Cupertino, Calif., or a Small Computer System Interface (SCSI). In yet another embodiment of the present invention, disk drive 110 communicates with computer system 120 via one or more networks. The networks may include a LAN, WAN, intranet, extranet, wireless network, the Internet, etc. In one embodiment, computer system 120 may be able to determine information about dynamically changing parameters related to disk drive 110.
In one embodiment, hard drive 130 is a local hard drive located within computer system 120. In one embodiment, computer system 120 may be able to determine information about dynamically changing parameters related to hard drive 130.
Main memory 220 encompasses all volatile or non-volatile storage media, such as dynamic random access memory (DRAM), static RAM (SRAM), or flash memory. Main memory 220 includes storage locations that are addressable by the processing unit(s) 210 for storing computer program code and data structures for dynamic retrieval of installation packages when installing software. Such computer program code and data structures also may be stored in non-volatile storage 230. Non-volatile storage 230 includes all non-volatile storage media, such as any type of disk including floppy disks, optical disks such as CDs, DVDs and BDs (Blu-ray Disks), and magnetic-optical disks, magnetic or optical cards, or any type of media, and may be loaded onto the main memory 220. Those skilled in the art will immediately recognize that the term “computer-readable storage medium” or “machine readable storage medium” includes any type of volatile or non-volatile storage device that is accessible by a processor (including main memory 220 and non-volatile storage 230).
Processing unit(s) 210 is coupled to main memory 220 and non-volatile storage 230 through bus 240. Processing unit(s) 210 includes processing elements and/or logic circuitry configured to execute the computer program code and manipulate the data structures. It will be apparent to those skilled in the art that other processing and memory means, including various computer readable storage media, may be used for storing and executing computer program code pertaining to dynamic retrieval of installation packages when installing software.
Processing unit(s) 210 can retrieve instructions from main memory 220 and non-volatile storage 230 via bus 240 and execute the instructions to perform operations described below. Bus 240 is coupled to I/O controller 250. I/O controller 250 is also coupled to network interface 260. Network interface 260 can connect to a network to download software from a repository existing on the network, to receive information about dynamically changing parameters for repositories existing on the network, and to receive broadcast information from broadcast servers on the network regarding software which can be downloaded over the network.
Bus 240 is further coupled to I/O controller(s) 270. I/O controller(s) 270 are coupled to I/O peripherals 280, which may be mice, keyboards, modems, disk drives, printers and other devices which are well known in the art. I/O peripherals 280 can further include an optical drive which contains the optical disk with the software to be installed on computer system 200.
In one embodiment, software to be installed may be made up of one or more installation packages. As used herein, the term “software” can be used in the singular or plural form. In one embodiment, the installation packages can contain the software to be installed on a system. In one embodiment, files can contain the software and these files may be compressed in the installation packages. In one embodiment, the installation packages can contain metainfo. In this embodiment, the metainfo can track the software to be installed and may also track the software that has already been installed. In one embodiment, each installation package may contain package information, which can describe the contents of the installation package. In one embodiment, the contents of the installation package can contain a payload, which can be the compressed representation of all software files to be installed. In one embodiment, the software can be an operating system. Package selector 330 can determine a specific installation package to install on the computing system. In one embodiment, package selector 330 can determine the installation package based on an installer distribution document for the software. The installer distribution document can include an identifier for each of the installation packages required for the software to be installed and can include a location from which to determine whether an updated version of the installation packages exist. In one embodiment, the installer distribution document can be installer distribution document 360. In an alternate embodiment, package selector 330 can obtain the installer distribution document from operating system 320. In yet another alternate embodiment, package selector 330 can obtain the installer distribution document from an installation media accessible to the computing system. In yet another alternate embodiment, package selector 330 can obtain the installer distribution document from another computing system over a network. In yet another alternate embodiment, package selector 330 can obtain information about the installation package from a broadcast server and may not access an installer distribution document.
In one embodiment, package selector 330 may determine whether an updated version of the installer distribution document exists and update the version of the installer distribution document prior to selecting a specific installation package to install. In an alternate embodiment, package selector 330 may determine whether an updated version of the specific installation package is available. If package selector 330 determines a newer version of the specific installation package is available, package selector 330 may update the version of the specific installation package to be obtained. Once the package selector 330 has determined a specific installation package to be obtained, package selector 330 may send a notification to repository identifier 340.
Repository identifier 340 can identify a repository from which to obtain a specific installation package. In one embodiment, multiple repositories exist which are accessible to repository identifier 340. In one embodiment, these repositories can include a local disk, an optical drive, optical drives or disks located on one or more computers accessible over a network, and remote servers. In one embodiment, repository identifier 340 can identify a repository from which to obtain a specific installation package based on priority criteria 370. In one embodiment, priority criteria 370 are used by repository identifier 340 to determine the fastest repository from which to obtain the specific package.
In one embodiment, priority criteria 370 can be pre-defined and can list an order in which to access the repositories. In this embodiment, for example, priority criteria 370 may cause repository identifier 340 to access the local hard drive first, the local optical disk second, a computer accessible over local area network third, and a remote server last. In alternate embodiments, priority criteria 370 may include alternate pre-defined orders for accessing of repositories. In another alternate embodiment, priority criteria 370 can be dynamic and may be based on dynamically changing parameters. In one embodiment, the dynamically changing parameters may include network throughput, the speed of a device such as an optical drive or disk, and the speed of a server. In one embodiment, repository identifier 340 can receive information regarding the dynamically changing parameters prior to identifying a repository. In one embodiment, the information regarding the dynamically changing parameters is stored in priority criteria 370.
In one embodiment, prior to identifying a repository, repository identifier 340 may determine whether an updated version of the specific installation package is available. If repository identifier 340 determines a newer version of the specific installation package is available, repository identifier 340 may update the version of the specific installation. Repository identifier 340 may then identify a repository from which to obtain the updated version of the specific installation package based on priority criteria 370. Repository identifier 340 may then send a completion notice to package obtainer 350 that the specific installation package can be obtained from the identified repository.
Upon receiving a completion notice from repository identifier 340, package obtainer 350 can obtain the specific installation package from the identified repository. In an alternate embodiment, no completion notice is sent from repository identifier 340. In this embodiment, package obtainer 350 can obtain the specific installation package from the identified repository without waiting for the completion notice. In certain embodiments, package obtainer 350 can be optional if the priority software is already installed on the system and does not need to be updated or overwritten.
Referring to
Referring to
Referring to
In one embodiment, block 610 may determine whether an updated version of the installer distribution document exists and update the version of the installer distribution document prior to selecting a specific installation package to install. In an alternate embodiment, block 610 may determine whether an updated version of the specific installation package is available based on the information in the installer distribution document. If a newer version of the specific installation package is available, the version of the specific installation package to be obtained may be updated. The process then proceeds to block 620.
At block 620, a repository is identified from which to obtain the specific installation package. In one embodiment, the identification can be made based on priority criteria. In one embodiment, multiple repositories exist from which the package can be obtained. In certain embodiments, these repositories can include a local disk, an optical drive, optical drives or disks located on one or more computers accessible over a network (LAN, WAN, Internet, etc.), or a remote server.
In one embodiment, the priority criteria can be pre-defined and can list an order in which to access the multiple repositories. In this embodiment, for example, the priority criteria may identify the local hard drive first, the local optical disk second, a computer accessible over local area network third, and a remote server last. In alternate embodiments, the priority criteria may include alternate pre-defined orders for accessing of repositories. In yet another alternate embodiment, the priority criteria can be dynamic and may be based on dynamically changing parameters. In one embodiment, the dynamically changing parameters may include data rates for each of the multiple repositories (e.g., network throughput, the speed of a device such as an optical drive or disk, and the speed of a server). In one embodiment, information regarding the dynamically changing parameters may be received from the available repositories prior to identifying a repository. In one embodiment, the repository with the highest data rate (fastest) is identified as the repository from which to obtain the package from.
In one embodiment, prior to identifying a repository, block 620 may determine whether an updated version of the specific installation package is available. If an updated version of the specific installation package is available, the version of the specific installation package may be updated. Block 620 may then identify a repository from which to obtain the updated version of the specific installation package based on the priority criteria. The process then proceeds to block 630.
At block 630, the specific installation package is obtained from the identified repository. In one embodiment, if the identified repository is accessible over a network, the installation package can be obtained by downloading the package over the network. In one embodiment, if there is a problem with the identified repository and the package cannot be obtained from the identified repository (e.g., bad disk in optical drive, network is unavailable, hard drive fails, etc.), the process can return to block 620 to determine an alternate repository from which to obtain the package. In certain embodiments, once a repository is identified for a package, the identified repository can be used for obtaining all the packages corresponding to the software to be installed on the system (as may be listed in the installation distribution document) and available from the identified repository, unless a problem arises with respect to the identified repository.
In certain embodiments, blocks 620 and 630 are optional and are not performed if the appropriate version of the identified package is installed on the system and does not need to be updated or overwritten. In certain embodiments, if blocks 620 and 630 are omitted, the process ends from block 610.
Method 600 illustrates one implementation of dynamic retrieval of installation packages when installing software. In alternate embodiments, the order in which the blocks of method 600 are performed can be modified without departing from the scope of the invention.
Referring to
At block 720, the process updates priority criteria for the repositories based on the information received. In one embodiment, the priority criteria can be determined based on the data rates for the repositories received. In one embodiment, the repository with the highest data rate can be the repository with the highest priority. In one embodiment, the data rates for the repositories can be used to determine the fastest repository from which to obtain data. The process proceeds to block 730.
At block 730, a repository is identified from which to obtain an updated portion of data based on the updated priority criteria. In one embodiment, the repository with the fastest data rate can be the repository with the highest priority, and therefore can be identified as the repository from which to obtain the package from. The process then proceeds to block 740.
At block 740, the portion of data is obtained from the identified repository. In one embodiment, if the identified repository is accessible over a network, the installation package can be obtained by downloading the package over the network. In one embodiment, if there is a problem with the identified repository and the portion of data cannot be obtained from the identified repository (e.g., bad disk in optical drive, network is unavailable, hard drive fails, etc.), the process can return to block 730 to determine an alternate repository from which to obtain the portion of data. In certain embodiments, once a repository is identified for a portion of data, the identified repository can be used for obtaining all data available from the identified repository for the system unless a problem arises with respect to the identified repository.
In certain embodiments, blocks 730 and 740 are optional and are not performed if the portion of data is located on the system and does not need to be updated or overwritten. In certain embodiments, if blocks 730 and 740 are omitted, the process ends from block 720.
Method 700 illustrates one implementation of dynamic retrieval of installation packages when installing software. In alternate embodiments, the order in which the blocks of method 700 are performed can be modified without departing from the scope of the invention.
The methods as described herein are not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein. Furthermore, it is common in the art to speak of software, in one form or another (e.g., program, procedure, process, application, module, logic, etc.), as taking an action or causing a result. Such expressions are merely a shorthand way of saying that execution of the software by a computer causes the processor of the computer to perform an action or produce a result. It will be further appreciated that more or fewer processes may be incorporated into the methods 600 and 700 in
It is to be understood that the above description is intended to be illustrative, and not restrictive. Many other embodiments will be apparent to those of skill in the art upon reading and understanding the above description. The scope of the invention should, therefore, be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
This application is a continuation of co-pending U.S. application Ser. No. 14/178,091 filed on Feb. 11, 2014, which is a continuation of U.S. application Ser. No. 12/768,658, filed on Apr. 27, 2010, now issued as U.S. Pat. No. 8,707,296.
Number | Name | Date | Kind |
---|---|---|---|
5754774 | Bittinger | May 1998 | A |
5960204 | Yinger et al. | Sep 1999 | A |
6038601 | Lambert | Mar 2000 | A |
6202206 | Dean | Mar 2001 | B1 |
6226784 | Holmes et al. | May 2001 | B1 |
6327569 | Reep | Dec 2001 | B1 |
6401238 | Brown et al. | Jun 2002 | B1 |
6438594 | Bowman-Amuah | Aug 2002 | B1 |
6505243 | Lortz | Jan 2003 | B1 |
6671259 | He et al. | Dec 2003 | B1 |
6735741 | Pannu | May 2004 | B1 |
6757706 | Dong | Jun 2004 | B1 |
6854016 | Kraenzel | Feb 2005 | B1 |
6976057 | Yoshiasa | Dec 2005 | B2 |
6986134 | Foster | Jan 2006 | B1 |
7165250 | Lyons | Jan 2007 | B2 |
7246140 | Therrien | Jul 2007 | B2 |
7266556 | Coates | Sep 2007 | B1 |
7426578 | Jones et al. | Sep 2008 | B2 |
7461374 | Balint et al. | Dec 2008 | B1 |
7581217 | Jhanwar et al. | Aug 2009 | B2 |
7590981 | Gupta | Sep 2009 | B2 |
7657887 | Kothandaraman | Feb 2010 | B2 |
7730155 | Meyer et al. | Jun 2010 | B1 |
7730159 | Meyer et al. | Jun 2010 | B1 |
7765277 | Meyer et al. | Jul 2010 | B1 |
7774774 | Mulligan et al. | Aug 2010 | B1 |
8108770 | Chijiiwa et al. | Jan 2012 | B2 |
8146077 | McNally | Mar 2012 | B2 |
8214400 | Fachan et al. | Jul 2012 | B2 |
8260815 | Chang et al. | Sep 2012 | B2 |
8266133 | Angelo et al. | Sep 2012 | B2 |
8290811 | Robinson et al. | Oct 2012 | B1 |
8793683 | DeHaan | Jul 2014 | B2 |
8825795 | Wesley, Sr. | Sep 2014 | B2 |
8869138 | Bandakka | Oct 2014 | B2 |
8997086 | Deckert | Mar 2015 | B2 |
9032393 | Allen | May 2015 | B1 |
9037685 | Welingkar | May 2015 | B2 |
20020140743 | DeLuca | Oct 2002 | A1 |
20020174264 | Fuller | Nov 2002 | A1 |
20030088716 | Sanders | May 2003 | A1 |
20030115202 | Jackson et al. | Jun 2003 | A1 |
20030233455 | Leber et al. | Dec 2003 | A1 |
20040068713 | Yannakoyorgos et al. | Apr 2004 | A1 |
20040093361 | Therrien et al. | May 2004 | A1 |
20040193702 | Osborne et al. | Sep 2004 | A1 |
20040221053 | Codeila et al. | Nov 2004 | A1 |
20050044165 | O'Farrell et al. | Feb 2005 | A1 |
20050071385 | Rao | Mar 2005 | A1 |
20050132074 | Jones et al. | Jun 2005 | A1 |
20060048142 | Roese | Mar 2006 | A1 |
20060130045 | Wesley et al. | Jun 2006 | A1 |
20060206450 | Fletcher | Sep 2006 | A1 |
20060206587 | Fabbrocino | Sep 2006 | A1 |
20070005568 | Angelo et al. | Jan 2007 | A1 |
20070157195 | Gaa-Frost et al. | Jul 2007 | A1 |
20070214454 | Edwards | Sep 2007 | A1 |
20080130639 | Costa-Requena et al. | Jun 2008 | A1 |
20080184221 | Rengarajan et al. | Jul 2008 | A1 |
20080209410 | Demsky | Aug 2008 | A1 |
20080307412 | Marr | Dec 2008 | A1 |
20090070757 | Bak et al. | Mar 2009 | A1 |
20090089775 | Zusman | Apr 2009 | A1 |
20090241104 | Amiga et al. | Sep 2009 | A1 |
20090260004 | Datta et al. | Oct 2009 | A1 |
20090276770 | Taieb et al. | Nov 2009 | A1 |
20100211942 | Deverakonda Venkata et al. | Aug 2010 | A1 |
20110047413 | McGill | Feb 2011 | A1 |
Entry |
---|
University of Oslo Department of Informatics—Service Discovery in Mobile Ad-hoc Networks—Joakim Flathagen, Nov. 1, 2008. |
PCT International Search Report and Written Opinion of the International Searching Authority, PCT/US2011/032561 filed Apr. 14, 2011, dated Jun. 22, 2011, 13 pages. |
PCT International Preliminary Report on Patentability, PCT/US2011/032561 filed Apr. 14, 2011, dated Oct. 30, 2012, 9 pages. |
Bertino, “Modern Version Control Creating an Efficient Development Ecosystem”; 2012 ACM; [retrieved on Jun. 9, 2016]; Retrieved from Internet <URL:http://dl.acm.org/citation.cfm?id=2382510>; pp. 219-222. |
Juan-Verdejo, Baars, “Decision Support for Partially Moving Applications to the Cloud—the Example of Business Intelligence”; 2013 ACM; [retrieved on Jun. 9, 2016]; Retrieved from Internet <URL:http://dl.acm.org/citation.cfm?id=2462316>; pp. 35-42. |
Vitharana, et al., “Knowledge-based repository scheme for storing and retrieving business components: A theoretical design and an empirical analysis”; 2003 IEEE; [retrieved on Jun. 9, 2016]; Retrieved from Internet <URL:http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=1214328>; pp. 649-664. |
Korba, “Towards Secure Agent Distribution and Communication”; 1999, Canadian Crown; [retrieved on Jun. 9, 2016]; Retrieved from Internet <URL:http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=773091>; pp. 1-10. |
Number | Date | Country | |
---|---|---|---|
20170075672 A1 | Mar 2017 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 14178091 | Feb 2014 | US |
Child | 15288102 | US | |
Parent | 12768658 | Apr 2010 | US |
Child | 14178091 | US |