US7814476B2 - Systems and methods for updating software - Google Patents

Systems and methods for updating software Download PDF

Info

Publication number
US7814476B2
US7814476B2 US10/285,840 US28584002A US7814476B2 US 7814476 B2 US7814476 B2 US 7814476B2 US 28584002 A US28584002 A US 28584002A US 7814476 B2 US7814476 B2 US 7814476B2
Authority
US
United States
Prior art keywords
program
patch
base image
updating
version
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active, expires
Application number
US10/285,840
Other versions
US20040088694A1 (en
Inventor
Stanley M. Ho
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oracle America Inc
Original Assignee
Oracle America Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oracle America Inc filed Critical Oracle America Inc
Priority to US10/285,840 priority Critical patent/US7814476B2/en
Assigned to SUN MICROSYSTEMS, INC. reassignment SUN MICROSYSTEMS, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: HO, STANLEY M.
Publication of US20040088694A1 publication Critical patent/US20040088694A1/en
Application granted granted Critical
Publication of US7814476B2 publication Critical patent/US7814476B2/en
Assigned to Oracle America, Inc. reassignment Oracle America, Inc. MERGER AND CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: Oracle America, Inc., ORACLE USA, INC., SUN MICROSYSTEMS, INC.
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates

Definitions

  • the present invention generally relates to updating software, including the use of patching methodologies to update software programs. More particularly, the invention relates to systems and methods for updating software using a base image and an updating patch.
  • a patch may include compiled code, e.g., a binary file, which is developed and distributed as a replacement for or an insertion into a program.
  • the patch may be provided to program users through various methods, such as through an automatic update mechanism or the download of a patch.
  • the patch may provide an update to critical bugs in the program.
  • the patch may also be used to add functionalities to the program or remove functionalities from the program.
  • Patching is a process of applying changes to a single file, or a set of files, in a directory structure.
  • the file, or set of files may be compiled code, a text text file in a directory.
  • Basic patching methods include a single-version patch method and a multi-version patch method.
  • a single-version patch method is used for updating a particular version of a program. Applying the patch requires the installed program to meet certain requirements, such as being a specific version of a program.
  • a single-version patch method utilizes a patch with a small patch size tied to a specific version of a program. If a program has multiple versions, a different patch will need to be provided for each version of the program. Once the patch is applied to the installed program, the previous image of the program will be changed to the patched version of the program.
  • a multi-version patch method updates multiple versions of the program.
  • the multi-version patch contains changes for each version of the program. While the multi-version patch is more flexible in terms of program version requirements, the overall size of the patch needed is increased.
  • a method for base image patching of a program comprises: receiving an updating patch; retrieving a stored base image, wherein the base image corresponds to a base version of the program for performing updates; and combining the base image with the patch to create an updated program.
  • a method for updating software comprises: receiving an updating patch, wherein the updating patch is used to create an updated software program; retrieving a patch from a repository, wherein the patch is a previous update to a stored software program; distilling a base image of the stored program using the patch from the repository; combining the base image with the updating patch to create the updated program; and replacing the stored program with the updated program.
  • a method for updating a program on a user device comprises: installing a base image and a patch on the user device, where the combination of the base image and the patch is the program; receiving an updating patch that replaces the installed patch; updating a registry with information about the updated program; and running the updated program, which is a combination of the base image and the updated patch.
  • a method comprises: installing a program in a workstation; storing a base image of the program in a repository associated with the workstation, wherein the base image corresponds to a base version of the program for performing updates; receiving an updating patch for the program; retrieving the base image from the repository; combining the base image with the updating patch to create an updated program; replacing the installed program with the updated program; and running the updated program, which is a combination of the base image and the updated patch.
  • a system for updating a software program.
  • the system comprises: means for receiving a patch; means for retrieving a base image, wherein the base image is a base version of the software program for performing updates; means for combining the base image with the patch to create an updated program; and means for updating a registry with the updated program information.
  • a computer-readable medium that stores instructions, which when executed by a computer perform steps in a method for updating a program.
  • the method comprises: receiving a patch; retrieving a base image, wherein the base image is a base version of the program; combining the base image with the patch to create an updated program; and replacing the program with the updated program.
  • FIG. 1 illustrates an exemplary system for updating software, consistent with embodiments of the present invention
  • FIG. 2 is a block diagram of an exemplary computing system, consistent with embodiments of the present invention.
  • FIGS. 3A-3C are block diagrams of exemplary storage configurations, consistent with embodiments of the present invention.
  • FIG. 4 is a flowchart of an exemplary method for installing an updateable software program
  • FIG. 5 is a flowchart of an exemplary method for updating a software program using a stored base image, consistent with embodiments of the present invention
  • FIG. 6 is a flowchart of an exemplary method for updating a Java Runtime Environment (JRE), consistent with embodiments of the present invention
  • FIG. 7 is a flowchart of an exemplary method for updating a software program using a stored patch, consistent with embodiments of the present invention.
  • FIG. 8 is a flowchart of another exemplary method for updating a software program, consistent with embodiments of the present invention.
  • the updated program may be created as a combination of a base image and a patch.
  • the base image may correspond to a base version of the program through which updates can be performed.
  • the patch includes accumulative information, which can be combined with the base image to create an updated program.
  • the patch may be provided to perform various updates, such as removing or correcting bugs in the program, adding functionalities to the program and/or removing functionalities from the program.
  • a base image of the program is also stored in a repository.
  • the repository may be, for example, a local storage location in the memory of the workstation or computer of the user, or a centralized storage location in the memory of a mainframe or server accessible to the user.
  • a patch may be created. To update the program on the computer, the patch is combined with the base image stored in the repository, creating a new version of the program on the user's computer.
  • a patch is stored in a repository.
  • a program which is a combination of a base image and the patch, is stored in another storage location.
  • a new patch is created.
  • the patch stored in the repository is used to distill the base image from the stored program.
  • the base image is then combined with the new patch to generate an updated program that replaces the previous version of the program.
  • the new patch may then be stored in the repository to facilitate subsequent updates to the program.
  • Embodiments of the present invention may be implemented in connection with various types of software updates.
  • software updates may be performed with respect to an operating system or programs associated with an operating system, such as the Java Runtime Environment (JRE) on Windows XP.
  • JRE Java Runtime Environment
  • Other types of software that can be updated include computer games, browsers, e-mail applications, word processing applications, spreadsheet applications, financial applications, image or graphics-related programs, as well as other applications or software products.
  • Other types of operating systems include all Windows systems, MacOS, UNIX, Linux, or other types of operating systems.
  • FIG. 1 depicts an exemplary system 100 for updating a software program, consistent with embodiments of the invention.
  • system 100 includes a user device 110 and a program 130 .
  • the user device 110 may be implemented as a workstation running an operating system, such as Windows 98 2nd Edition, Windows ME, Windows NT 4.0 Service Pac Service Pack 2 or later, Windows XP Home Edition, or Windows XP Professional Edition. Consistent with embodiments of the invention, user device 110 may also be implemented as a personal computer, a laptop or any other type of device capable of executing program 130 . For purposes of illustration, however, embodiments of the invention will be described herein with reference to user device 110 being implemented as a workstation.
  • Program 130 may include a base image 120 and a patch 125 .
  • Base image 120 may be a version of a disk image of the program that sets the baseline for patch generation and updates.
  • J2SE Java 2 Standard Edition
  • Patch 125 may be a replacement to part of base image 120 , or compiled code, which can be inserted into base image 120 to create program 130 .
  • patch 125 may be used to fix bugs in program 130 .
  • patch 125 may be used to add or remove functionality to program 130 .
  • other types of updates to program 130 with patch 125 are also possible consistent with embodiments of the invention.
  • multiple versions of a program may be updated with the same patch. If user A has J2SE v1.4.2 — 04, with a base image v1.4.2 stored in the repository and user B has J2SE v1.4.2 — 08, with base image v1.4.2 stored in the repository. Patch v1.4.2 — 10 may be used by both user A and B to upgrade to v1.4.2 — 10.
  • Program 130 may be implemented with software or conventional programming languages.
  • program 130 is the first version of a software product and is comprised of base image 120 without patch 125 .
  • Program 130 and its components may be a binary file.
  • program 130 may be the second or a later version of a software product, comprising both base image 120 and patch 125 .
  • Program 130 may be stored on a floppy disc, optical disc or any type of physical storage or computer-readable medium. To store program 130 in the memory of workstation 110 , the program may be loaded into the workstation using an input/output (I/O) device, such as a disk drive. Workstation 110 may also include conventional data ports, such as ADB, USB, SCSI, FIREWIRE, AAUI and/or BNC ports, to receive and install program 130 through a connection 140 .
  • connection 140 may be a physical connection used for transmitting program 130 or an updating patch to workstation 110 .
  • connection 140 may be implemented as a wired or wireless connection using conventional communication protocols for installing program 130 or transmitting updating patches to workstation 110 .
  • program 130 may be stored or exist on another workstation that is connected to workstation 110 through connection 140 and/or a network (not shown).
  • the network may comprise one or more private network(s) (such as an intranet or LAN) and/or public network(s) (such as the Internet or PSTN). This approach may also be used for providing an updating patch to workstation 110 that is stored on another workstation or central server.
  • FIG. 2 is a block diagram of an exemplary computing system 200 , consistent with embodiments of the invention.
  • Computing system 200 may represent, for example, the internal components of workstation 110 .
  • a program or set of instructions used to implement patching on workstation may be implemented in computing system 200 .
  • Computing system 200 may include a number of components, such as a processor or central processing unit (CPU) 210 , a memory 220 , a mass storage 230 , a network interface 240 , I/O devices 250 , and/or a display 260 . Such components may be interconnected by a system bus 270 .
  • CPU 210 may be a microprocessor such as the Pentium® family of microprocessors manufactured by Intel Corporation. However, any other suitable microprocessor, micro-, mini-, or mainframe computer may be used, such as a micro-controller unit (MCU), or a digital signal processor (DSP).
  • MCU micro-controller unit
  • DSP digital signal processor
  • Memory 220 may include a random access memory (RAM), a read-only memory (ROM), a video memory, mass storage, and/or cache memory that is implemented with fixed or removable media (e.g., magnetic, optical or magnetic optical storage systems, or other available mass storage technology).
  • Memory 220 stores support modules such as, for example, a basic input/output system (BIOS), an operating system (OS), a program library, a compiler, an interpreter, and/or a text-processing tool. Support modules are commercially available and can be installed on computing system 200 by those of skill in the art. For simplicity, such modules are not illustrated.
  • memory 220 may contain an operating system, an application routine, a program, an application-programming interface (API), and/or other instructions for performing methods consistent with embodiments of the invention.
  • API application-programming interface
  • mass storage 230 may be implemented as a magnetic disk or optical disk, along with a corresponding disk drive. In still another embodiment, mass storage 230 may be used for storing information and instructions, such as program 130 . Mass storage 230 may also be partitioned to include a repository for storing a base image or patch.
  • Network interface 240 examples of which include Ethernet, dial-up telephone and/or other conventional data port connections, may be used to communicate with other devices through, for example, connection 140 and/or a communication network (not shown).
  • Computing system 200 may also receive input via by input/output (I/O) devices 250 , which may include a keyboard, mouse, pointing device, or other like devices.
  • I/O input/output
  • Computing system 200 may also present information to a user via display 260 .
  • Bus 270 may be a bi-directional system bus.
  • bus 270 may contain thirty-two address bit lines for addressing a memory 220 and thirty-two bit data lines across which data is are transferred among the components.
  • multiplexed data/address lines may be used instead of separate data and address lines.
  • FIGS. 3A-3C are block diagrams of exemplary storage configurations, consistent with embodiments of the invention.
  • FIG. 3A is a block diagram of mass storage 230 , consistent with an embodiment of the invention.
  • mass storage 230 contains a repository 310 and other storage 320 .
  • Base image 120 is stored in repository 310 .
  • Program 130 which is a combination of base image 120 and patch 125 , is stored in other storage 320 .
  • Repository 310 may be a centralized location on a user system, such as mass storage 230 on workstation 110 or a network location, used to store a base image for the software program.
  • to update program 130 base image 120 in repository 310 is combined with a new patch.
  • the program 130 in other storage 320 may then be replaced by the updated program.
  • FIG. 3B is a block diagram of mass storage 230 , consistent with another embodiment of the invention.
  • mass storage 230 includes a repository 310 and other storage 320 .
  • patch 125 is stored in repository 310 .
  • program 130 which is a combination of base image 120 and patch 125 , is stored in other storage 320 .
  • patch 125 stored in repository 310 is used to distill a base image from program 130 stored in other storage 320 .
  • patch 125 may be used to change program 130 back into a base image. This base image can then be combined with a new patch to form an updated program.
  • the updated program may then replace the program 130 in other storage 320 .
  • the new patch may be stored in repository 310 to facilitate subsequent updates to the program.
  • FIG. 3C is a block diagram of mass storage 230 , consistent with still another embodiment of the invention.
  • mass storage 230 stores base image 120 and patch 125 .
  • base image 120 and patch 125 may be combined to form program 130 in memory 220 .
  • memory 220 may include a random access memory (RAM), a read-only memory (ROM), a video memory, mass storage, and/or cache memory that is implemented with fixed or removable media.
  • RAM random access memory
  • ROM read-only memory
  • video memory mass storage
  • mass storage and/or cache memory that is implemented with fixed or removable media.
  • To update the program a new patch may replace patch 125 stored in mass storage 230 . Then, when the program is executed, the new patch is used with base image 120 to create an updated program.
  • FIG. 4 is a flowchart of an exemplary method for installing a software product or program, such as program 130 on workstation 110 .
  • workstation 110 may receive program 130 (step 410 ).
  • program 130 may include base image 120 and patch 125 .
  • program 130 may comprise only base image 120 .
  • workstation 110 stores base image 120 in repository 310 (step 420 ).
  • workstation 110 stores program 130 in other storage 320 (step 430 ).
  • a mass storage configuration such as that illustrated in FIG. 3A may be used for implementing steps 420 and 430 .
  • program 130 may be stored before base image 120 .
  • patch 125 may be stored in a repository (see, for example, the embodiment of FIG. 3B ).
  • base image 120 and patch 125 may be both stored in mass storage, and combined into program 130 when loaded into memory 220 (see, for example, the embodiment of FIG. 3C ).
  • a program may be received through an installer. When the installer is executed, it determines if a base image is in a repository. If so, installer downloads a patch installer to generate a patched image, where the patched image is the program. If not, it downloads both a base image and the patch installer to generate the patched image.
  • FIG. 5 is a flowchart of an exemplary method for updating a program, such as program 130 .
  • a new program is created.
  • workstation 110 receives a patch 125 (step 510 ).
  • a patch generation process may be utilized to create the updating patch.
  • a patch may contain the minimum number of bytes required to turn a program into an updated program.
  • the patch generation may be at the byte level (e.g., a binary file may be created) or the file level. Further, the patch generation should be accumulative, such that the newer version of the patch is a superset of all older versions, relative to the same base version image.
  • the updated program is a new program created by applying the patch to the base image of the program.
  • the binary file for the updated program after patching is the same as the new program; thus, eliminating the need for the user to individually acquire and install the new program.
  • a patch generation process or algorithm may be used to generate the patch.
  • a patchgen utility creates patch files for an update to a program.
  • the patchgen utility may also be used for generating a patch installer by comparing a base JRE image and a new JRE image.
  • the patch installer is jupdate.exe, an update utility that locates a base image and applies the patch to the base image.
  • workstation 110 retrieves base image 120 from repository 310 (step 520 ). Further, the version of program 130 stored in other storage 320 may be analysed to determine if updating is necessary (step 525 ). Conventional techniques may be implemented to determine the version of program 130 .
  • program 130 corresponds to a JavaTM Runtime Environment (JRE) program.
  • JRE JavaTM Runtime Environment
  • workstation 110 checks the version of the JRE image and sees if the patch is appropriate for the registered version of JRE.
  • the version information can be determined through a text file version.dat at ⁇ jre.home>/lib, which contains the patch version information.
  • the version information may be determined by running java-fullversion on a command line.
  • a check may be performed to determine if any patch has been applied before to the program.
  • program 130 corresponds to a JRE program.
  • a text file version.dat may exist under ⁇ jre.home>/lib which contains the patch version information or the base JRE image may be saved in the repository.
  • a determination is made whether updating is possible (step 525 ). If updating is possible (step 525 ; Yes), then processing continues so that the updated program is created. If, however, no updating is needed (step 525 ; No), then the process may terminate. Consistent with embodiments of the invention, one or more conditions may be analyzed to determine if updating is possible and necessary. For example, in one embodiment, the patch may be applied if one of the following conditions is met: no patch has been applied to the stored program; or the version of patch received is newer than the one applied before. If none of the condition(s) is satisfied, then a notification may be provided to the user and the process may terminate.
  • the user device may receive notification of the need to update a program.
  • the need to update the program may come in the form of, for example, periodic user device reminders, system notifications, or external reminders to the user device.
  • the user device may check if the update has been performed.
  • the user device may determine if an update has been performed by checking the registry to determine if the most recent patch has previously been applied to the base image or checking text files that contain the patch version information. If it is determined that the update is necessary, the user device may receive a patch for updating the program. By way of example, the user device may download the patch.
  • the base image 120 is combined with patch 125 to form an updated program (step 530 ).
  • base image 120 and patch 125 may be combined using a patch installer.
  • Conventional techniques or methods may be utilized to implement a patch installer.
  • the program jupdate.exe may be the patch installer utility used.
  • the program jupdate.exe is a patch installer in the form of Windows self-executable generated by patchgen.
  • It may contain, version information about the base JRE image and the new JRE image, the JRE patch, a simple patching engine, logic to install the patch through the patching engine, and/or logic to update the JRE settings on the system (e.g., Windows registry, control panel, etc.).
  • the patch installer When the patch installer is executed, it locates the proper version of JRE through the Windows registry and applies the fix if appropriate.
  • program 130 is replaced with the updated program (step 540 ).
  • a user may be notified after the patch is applied and updating of the program is completed.
  • base image 120 (such as a base JRE image) is copied to repository 310 .
  • subsequent patch installation will not change the content of base image 120 in repository 310 .
  • program 130 is not deleted when the updated program is created.
  • the base image may be used to generate multiple versions of a program stored in different locations on the same system. More than one version of the program, such as presentation software, may exists on the system, so a user may utilize older version of the program to read an old presentation using the older version of the program. Using newer version of a program may cause errors in the old presentation, but for a new presentation, the user may want to have a newer version of the software to take advantages of new features of the software.
  • FIG. 6 is a flowchart of an exemplary method for updating a JRE, consistent with embodiments of the present invention.
  • a patch is applied to the base JRE image to update the JRE image.
  • the patch may serve to update all current versions of JRE.
  • the patch installer executes, it determines a JRE location through the Windows registry.
  • An example of the location may be HKEY_LOCAL_MACHINE ⁇ Software ⁇ JavaSoft ⁇ Java_Runtime_Environment ⁇ version> ⁇ JavaHome. If the version of JRE needs to be updated, the patch is applied.
  • the current default JRE image may be defined by a registry. If the JRE image has not been patched before, no base image may exist in the repository. If no base image exists (step 610 ; No), then the current JRE image is copied into the repository as a base image (step 615 ). If a base image does exist (step 610 ; Yes), then the base image is copied from the repository into a temporary or “temp” JRE directory (step 620 ).
  • the updating patch file and patching engine are then retrieved (step 630 ).
  • the updating patch file and patching engine may be contained in a patch installer, such as jupdate.exe created by patchgen.
  • the patch installer may be available from a Java Update website, such as ⁇ http://java.sun.com/getjava/javaupdate/>.
  • the patching engine applies the updating patch to the JRE image in the temp JRE directory (step 640 ).
  • the patching engine may apply the patch by simply copying the new file.
  • the patching engine may apply differences at binary level.
  • the new image in the temp directory becomes the newly patched JRE image.
  • the version information is updated.
  • the current image is swapped with the image in the temp JRE directory (step 650 ), the temp directory is removed (step 660 ), and the system wide information is updated (step 670 ).
  • the update provides system wide information (e.g. registry, etc.) with knowledge of the updated program, so the system will be aware of the version of the new software instead of thinking it is still an old version.
  • FIG. 7 is a flowchart of an exemplary method for updating a program, such as program 130 , using a stored patch.
  • the exemplary embodiment of FIG. 7 may be used in connection with a mass storage configuration, such as that depicted in FIG. 3B .
  • workstation 110 receives an updating patch (step 710 ).
  • the previous patch is retrieved from a repository (step 720 ).
  • the updating patch is stored in the repository.
  • the base image is then distilled using the stored patch and current program (step 730 ).
  • the base image is distilled using an unpatch utility.
  • the unpatch utility uses the stored patch to undo all of the changes made during patching the base image. When all of the changes are undone, the remaining image is the base image.
  • the base image and updating patch are combined to form an updated program (step 740 ).
  • the current program is replaced with the updated program (step 750 ).
  • a user may be notified after the patch is applied and updating of the program is completed. Further, when a patch has been applied, the patch is copied to the repository. Subsequent patch installation will change the content of the repository to reflect the most recent update.
  • the repository may be used to store multiple versions of base images (e.g. 1.4.1, 1.4.2, 1.5) and multiple versions of patches (e.g. 1.4.1 — 01, 1.4.2 — 03). When a particular version of the base image or patch is retrieved, the system will lookup the proper version from the repository.
  • FIG. 8 is a flowchart of an additional exemplary method for updating a program, such as program 130 . Consistent with embodiments of the invention, the exemplary method of FIG. 8 may be implemented using a storage approach such as that illustrated in the embodiment of FIG. 3C .
  • a program is installed by installing both a base image and a patch on a user device (step 810 ).
  • the base image and patch may be stored in the mass storage.
  • the user device receives an updating patch (step 820 ).
  • the installed patch is replaced with the updating patch (step 830 ).
  • an updated program is created by combining the base image and the updating patch (step 840 ).
  • Embodiments of the present invention also relate to computer-readable media that include program instructions or program code for performing various computer-implemented operations based on the methods and processes of embodiments of the invention.
  • the program instructions may be those specially designed and constructed for the purposes of the invention, or they may be of the kind well known and available to those having skill in the computer software arts. Examples of program instructions include, for example, machine code, such as produced by a compiler, and files containing a high-level code that can be executed by the computer using an interpreter.

Abstract

Systems and methods are disclosed for updating a software program through base image patching. In an exemplary method for base image patching, the method includes receiving a patch, retrieving a base image, wherein the base image corresponds to a base version of a software program, and combining the base image with the patch to create an updated program. In another exemplary method, the method includes receiving an updating patch, wherein the updating patch is used to create an updated software program, retrieving a patch from a repository, wherein the patch is a previous update to a stored program, distilling a base image of the stored program using the previous patch, combining the base image with the updating patch to create an updated program, and replacing the stored program with the updated program.

Description

BACKGROUND OF THE INVENTION
I. Field of the Invention
The present invention generally relates to updating software, including the use of patching methodologies to update software programs. More particularly, the invention relates to systems and methods for updating software using a base image and an updating patch.
II. Background Information
Traditionally, software programs need to be updated due to, for example, the discovery of critical bugs or need for improvements. When programs need to be updated, a patch can be used. A patch may include compiled code, e.g., a binary file, which is developed and distributed as a replacement for or an insertion into a program. The patch may be provided to program users through various methods, such as through an automatic update mechanism or the download of a patch. The patch may provide an update to critical bugs in the program. The patch may also be used to add functionalities to the program or remove functionalities from the program.
Patching is a process of applying changes to a single file, or a set of files, in a directory structure. The file, or set of files, may be compiled code, a text text file in a directory. Basic patching methods include a single-version patch method and a multi-version patch method.
A single-version patch method is used for updating a particular version of a program. Applying the patch requires the installed program to meet certain requirements, such as being a specific version of a program. A single-version patch method utilizes a patch with a small patch size tied to a specific version of a program. If a program has multiple versions, a different patch will need to be provided for each version of the program. Once the patch is applied to the installed program, the previous image of the program will be changed to the patched version of the program.
A multi-version patch method updates multiple versions of the program. The multi-version patch contains changes for each version of the program. While the multi-version patch is more flexible in terms of program version requirements, the overall size of the patch needed is increased.
Accordingly, there is a need for improved methods and systems for updating or patching programs from a single patch file. In addition, there is a need for updating programs utilizing a patch with a small file size and the ability to update multiple versions of a program.
SUMMARY OF THE INVENTION
Systems and methods consistent with embodiments of the present invention provide for updating a program through base image patching. In accordance with one embodiment of the invention, a method is provided for base image patching of a program, the method comprises: receiving an updating patch; retrieving a stored base image, wherein the base image corresponds to a base version of the program for performing updates; and combining the base image with the patch to create an updated program.
In accordance with another embodiment of the invention, a method is provided for updating software. The method comprises: receiving an updating patch, wherein the updating patch is used to create an updated software program; retrieving a patch from a repository, wherein the patch is a previous update to a stored software program; distilling a base image of the stored program using the patch from the repository; combining the base image with the updating patch to create the updated program; and replacing the stored program with the updated program.
In accordance with yet another embodiment of the invention, a method is provided for updating a program on a user device. The method comprises: installing a base image and a patch on the user device, where the combination of the base image and the patch is the program; receiving an updating patch that replaces the installed patch; updating a registry with information about the updated program; and running the updated program, which is a combination of the base image and the updated patch.
In accordance with another embodiment of the invention, a method is provided that comprises: installing a program in a workstation; storing a base image of the program in a repository associated with the workstation, wherein the base image corresponds to a base version of the program for performing updates; receiving an updating patch for the program; retrieving the base image from the repository; combining the base image with the updating patch to create an updated program; replacing the installed program with the updated program; and running the updated program, which is a combination of the base image and the updated patch.
In accordance with still another embodiment of the invention, a system is provided for updating a software program. The system comprises: means for receiving a patch; means for retrieving a base image, wherein the base image is a base version of the software program for performing updates; means for combining the base image with the patch to create an updated program; and means for updating a registry with the updated program information.
In accordance with an additional embodiment of the invention, a computer-readable medium is provided that stores instructions, which when executed by a computer perform steps in a method for updating a program. The method comprises: receiving a patch; retrieving a base image, wherein the base image is a base version of the program; combining the base image with the patch to create an updated program; and replacing the program with the updated program.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only, and should not be considered restrictive of the scope of the invention, as described and claimed. Further, features and/or variations may be provided in addition to those set forth herein. For example, embodiments of the invention may be directed to various combinations and sub-combinations of the features described in the detailed description.
BRIEF DESCRIPTION OF THE DRAWINGS
The accompanying drawings provide a further understanding of embodiments of the invention and, together with the detailed description, explain certain features and exemplary embodiments of the invention. In the drawings:
FIG. 1 illustrates an exemplary system for updating software, consistent with embodiments of the present invention;
FIG. 2 is a block diagram of an exemplary computing system, consistent with embodiments of the present invention;
FIGS. 3A-3C are block diagrams of exemplary storage configurations, consistent with embodiments of the present invention;
FIG. 4 is a flowchart of an exemplary method for installing an updateable software program;
FIG. 5 is a flowchart of an exemplary method for updating a software program using a stored base image, consistent with embodiments of the present invention;
FIG. 6 is a flowchart of an exemplary method for updating a Java Runtime Environment (JRE), consistent with embodiments of the present invention;
FIG. 7 is a flowchart of an exemplary method for updating a software program using a stored patch, consistent with embodiments of the present invention; and
FIG. 8 is a flowchart of another exemplary method for updating a software program, consistent with embodiments of the present invention.
DETAILED DESCRIPTION
Consistent with embodiments of the invention, methods and systems are provided for updating or patching a program. The updated program may be created as a combination of a base image and a patch. The base image may correspond to a base version of the program through which updates can be performed. The patch includes accumulative information, which can be combined with the base image to create an updated program. The patch may be provided to perform various updates, such as removing or correcting bugs in the program, adding functionalities to the program and/or removing functionalities from the program.
In one embodiment of the invention, when a user stores the program on a computer, a base image of the program is also stored in a repository. The repository may be, for example, a local storage location in the memory of the workstation or computer of the user, or a centralized storage location in the memory of a mainframe or server accessible to the user. When the program needs to be updated, a patch may be created. To update the program on the computer, the patch is combined with the base image stored in the repository, creating a new version of the program on the user's computer.
In accordance with another embodiment of the invention, a patch is stored in a repository. A program, which is a combination of a base image and the patch, is stored in another storage location. When the program needs to be updated, a new patch is created. To update the program, the patch stored in the repository is used to distill the base image from the stored program. The base image is then combined with the new patch to generate an updated program that replaces the previous version of the program. The new patch may then be stored in the repository to facilitate subsequent updates to the program.
Embodiments of the present invention may be implemented in connection with various types of software updates. By way of non-limiting examples, software updates may be performed with respect to an operating system or programs associated with an operating system, such as the Java Runtime Environment (JRE) on Windows XP. Other types of software that can be updated include computer games, browsers, e-mail applications, word processing applications, spreadsheet applications, financial applications, image or graphics-related programs, as well as other applications or software products. Other types of operating systems include all Windows systems, MacOS, UNIX, Linux, or other types of operating systems.
FIG. 1 depicts an exemplary system 100 for updating a software program, consistent with embodiments of the invention. As shown in FIG. 1, system 100 includes a user device 110 and a program 130. The user device 110 may be implemented as a workstation running an operating system, such as Windows 98 2nd Edition, Windows ME, Windows NT 4.0 Service Pac Service Pack 2 or later, Windows XP Home Edition, or Windows XP Professional Edition. Consistent with embodiments of the invention, user device 110 may also be implemented as a personal computer, a laptop or any other type of device capable of executing program 130. For purposes of illustration, however, embodiments of the invention will be described herein with reference to user device 110 being implemented as a workstation.
Program 130 may include a base image 120 and a patch 125. Base image 120 may be a version of a disk image of the program that sets the baseline for patch generation and updates. For example, Java 2 Standard Edition (“J2SE”) 1.4.2 could be the base image for all subsequent J2SE v1.4.20x releases. Patch 125 may be a replacement to part of base image 120, or compiled code, which can be inserted into base image 120 to create program 130. In one embodiment patch 125 may be used to fix bugs in program 130. In another embodiment, patch 125 may be used to add or remove functionality to program 130. As will be appreciated by those skilled in the art, other types of updates to program 130 with patch 125 are also possible consistent with embodiments of the invention.
In one embodiment, multiple versions of a program may be updated with the same patch. If user A has J2SE v1.4.204, with a base image v1.4.2 stored in the repository and user B has J2SE v1.4.208, with base image v1.4.2 stored in the repository. Patch v1.4.210 may be used by both user A and B to upgrade to v1.4.210.
Program 130 may be implemented with software or conventional programming languages. In one embodiment, program 130 is the first version of a software product and is comprised of base image 120 without patch 125. Program 130 and its components may be a binary file. In another embodiment, program 130 may be the second or a later version of a software product, comprising both base image 120 and patch 125.
Program 130 may be stored on a floppy disc, optical disc or any type of physical storage or computer-readable medium. To store program 130 in the memory of workstation 110, the program may be loaded into the workstation using an input/output (I/O) device, such as a disk drive. Workstation 110 may also include conventional data ports, such as ADB, USB, SCSI, FIREWIRE, AAUI and/or BNC ports, to receive and install program 130 through a connection 140. In one embodiment, connection 140 may be a physical connection used for transmitting program 130 or an updating patch to workstation 110. In another embodiment, connection 140 may be implemented as a wired or wireless connection using conventional communication protocols for installing program 130 or transmitting updating patches to workstation 110. In still another embodiment, program 130 may be stored or exist on another workstation that is connected to workstation 110 through connection 140 and/or a network (not shown). The network may comprise one or more private network(s) (such as an intranet or LAN) and/or public network(s) (such as the Internet or PSTN). This approach may also be used for providing an updating patch to workstation 110 that is stored on another workstation or central server.
FIG. 2 is a block diagram of an exemplary computing system 200, consistent with embodiments of the invention. Computing system 200 may represent, for example, the internal components of workstation 110. By way of example, a program or set of instructions used to implement patching on workstation may be implemented in computing system 200.
Computing system 200 may include a number of components, such as a processor or central processing unit (CPU) 210, a memory 220, a mass storage 230, a network interface 240, I/O devices 250, and/or a display 260. Such components may be interconnected by a system bus 270. CPU 210 may be a microprocessor such as the Pentium® family of microprocessors manufactured by Intel Corporation. However, any other suitable microprocessor, micro-, mini-, or mainframe computer may be used, such as a micro-controller unit (MCU), or a digital signal processor (DSP).
Memory 220 may include a random access memory (RAM), a read-only memory (ROM), a video memory, mass storage, and/or cache memory that is implemented with fixed or removable media (e.g., magnetic, optical or magnetic optical storage systems, or other available mass storage technology). Memory 220 stores support modules such as, for example, a basic input/output system (BIOS), an operating system (OS), a program library, a compiler, an interpreter, and/or a text-processing tool. Support modules are commercially available and can be installed on computing system 200 by those of skill in the art. For simplicity, such modules are not illustrated. Further, memory 220 may contain an operating system, an application routine, a program, an application-programming interface (API), and/or other instructions for performing methods consistent with embodiments of the invention.
In one embodiment, mass storage 230 may be implemented as a magnetic disk or optical disk, along with a corresponding disk drive. In still another embodiment, mass storage 230 may be used for storing information and instructions, such as program 130. Mass storage 230 may also be partitioned to include a repository for storing a base image or patch.
Network interface 240, examples of which include Ethernet, dial-up telephone and/or other conventional data port connections, may be used to communicate with other devices through, for example, connection 140 and/or a communication network (not shown). Computing system 200 may also receive input via by input/output (I/O) devices 250, which may include a keyboard, mouse, pointing device, or other like devices. Computing system 200 may also present information to a user via display 260.
Bus 270 may be a bi-directional system bus. For example, bus 270 may contain thirty-two address bit lines for addressing a memory 220 and thirty-two bit data lines across which data is are transferred among the components. Alternatively, multiplexed data/address lines may be used instead of separate data and address lines.
FIGS. 3A-3C are block diagrams of exemplary storage configurations, consistent with embodiments of the invention. FIG. 3A is a block diagram of mass storage 230, consistent with an embodiment of the invention. As illustrated in FIG. 3A, mass storage 230 contains a repository 310 and other storage 320. Base image 120 is stored in repository 310. Program 130, which is a combination of base image 120 and patch 125, is stored in other storage 320. Repository 310 may be a centralized location on a user system, such as mass storage 230 on workstation 110 or a network location, used to store a base image for the software program. In one embodiment, to update program 130 base image 120 in repository 310 is combined with a new patch. The program 130 in other storage 320 may then be replaced by the updated program.
FIG. 3B is a block diagram of mass storage 230, consistent with another embodiment of the invention. As illustrated in FIG. 3B, mass storage 230 includes a repository 310 and other storage 320. In the exemplary embodiment, patch 125 is stored in repository 310. Further, program 130, which is a combination of base image 120 and patch 125, is stored in other storage 320. To update program 130, patch 125 stored in repository 310 is used to distill a base image from program 130 stored in other storage 320. By way of example, patch 125 may be used to change program 130 back into a base image. This base image can then be combined with a new patch to form an updated program. The updated program may then replace the program 130 in other storage 320. Further, the new patch may be stored in repository 310 to facilitate subsequent updates to the program.
FIG. 3C is a block diagram of mass storage 230, consistent with still another embodiment of the invention. As illustrated in the exemplary embodiment of FIG. 3C, mass storage 230 stores base image 120 and patch 125. During operation, base image 120 and patch 125 may be combined to form program 130 in memory 220. As disclosed above with reference to FIG. 2, memory 220 may include a random access memory (RAM), a read-only memory (ROM), a video memory, mass storage, and/or cache memory that is implemented with fixed or removable media. To update the program, a new patch may replace patch 125 stored in mass storage 230. Then, when the program is executed, the new patch is used with base image 120 to create an updated program.
FIG. 4 is a flowchart of an exemplary method for installing a software product or program, such as program 130 on workstation 110. As shown in FIG. 4, workstation 110 may receive program 130 (step 410). In one embodiment, program 130 may include base image 120 and patch 125. In another embodiment, program 130 may comprise only base image 120. After receiving program 130, workstation 110 stores base image 120 in repository 310 (step 420). Further, workstation 110 stores program 130 in other storage 320 (step 430). A mass storage configuration such as that illustrated in FIG. 3A may be used for implementing steps 420 and 430.
Consistent with embodiments of the invention, the exemplary flow chart or steps of FIG. 4 may be modified. For example, in one embodiment, program 130 may be stored before base image 120. In another embodiment, instead of base image 120 being stored in repository 310, patch 125 may be stored in a repository (see, for example, the embodiment of FIG. 3B). In still another embodiment, base image 120 and patch 125 may be both stored in mass storage, and combined into program 130 when loaded into memory 220 (see, for example, the embodiment of FIG. 3C). In yet another embodiment, a program may be received through an installer. When the installer is executed, it determines if a base image is in a repository. If so, installer downloads a patch installer to generate a patched image, where the patched image is the program. If not, it downloads both a base image and the patch installer to generate the patched image.
FIG. 5 is a flowchart of an exemplary method for updating a program, such as program 130. When developers in some way have changed or updated program 130, a new program is created. In order to update program 130 on workstation 110, workstation 110 receives a patch 125 (step 510). A patch generation process may be utilized to create the updating patch. In one embodiment, a patch may contain the minimum number of bytes required to turn a program into an updated program. The patch generation may be at the byte level (e.g., a binary file may be created) or the file level. Further, the patch generation should be accumulative, such that the newer version of the patch is a superset of all older versions, relative to the same base version image.
The updated program is a new program created by applying the patch to the base image of the program. The binary file for the updated program after patching is the same as the new program; thus, eliminating the need for the user to individually acquire and install the new program. In one embodiment, a patch generation process or algorithm may be used to generate the patch. In another embodiment, a patchgen utility creates patch files for an update to a program. The patchgen utility may also be used for generating a patch installer by comparing a base JRE image and a new JRE image. In one embodiment, the patch installer is jupdate.exe, an update utility that locates a base image and applies the patch to the base image.
Referring again to FIG. 5, workstation 110 retrieves base image 120 from repository 310 (step 520). Further, the version of program 130 stored in other storage 320 may be analysed to determine if updating is necessary (step 525). Conventional techniques may be implemented to determine the version of program 130. By way of example, assume that program 130 corresponds to a Java™ Runtime Environment (JRE) program. In one embodiment, workstation 110 checks the version of the JRE image and sees if the patch is appropriate for the registered version of JRE. For instance, the version information can be determined through a text file version.dat at <jre.home>/lib, which contains the patch version information. Alternatively, the version information may be determined by running java-fullversion on a command line.
Consistent with embodiments of the invention, other techniques or processes may be employed. For example, to analyze whether an update is necessary, a check may be performed to determine if any patch has been applied before to the program. By way of example, assume again that program 130 corresponds to a JRE program. In such a case, if a patch has been applied to the JRE image before, then a text file version.dat may exist under <jre.home>/lib which contains the patch version information or the base JRE image may be saved in the repository.
As illustrated in FIG. 5, a determination is made whether updating is possible (step 525). If updating is possible (step 525; Yes), then processing continues so that the updated program is created. If, however, no updating is needed (step 525; No), then the process may terminate. Consistent with embodiments of the invention, one or more conditions may be analyzed to determine if updating is possible and necessary. For example, in one embodiment, the patch may be applied if one of the following conditions is met: no patch has been applied to the stored program; or the version of patch received is newer than the one applied before. If none of the condition(s) is satisfied, then a notification may be provided to the user and the process may terminate.
In another embodiment, the user device may receive notification of the need to update a program. The need to update the program may come in the form of, for example, periodic user device reminders, system notifications, or external reminders to the user device. The user device may check if the update has been performed. The user device may determine if an update has been performed by checking the registry to determine if the most recent patch has previously been applied to the base image or checking text files that contain the patch version information. If it is determined that the update is necessary, the user device may receive a patch for updating the program. By way of example, the user device may download the patch.
When an update is necessary (step 525; Yes), the base image 120 is combined with patch 125 to form an updated program (step 530). In one embodiment, base image 120 and patch 125 may be combined using a patch installer. Conventional techniques or methods may be utilized to implement a patch installer. For example, in cases where program 130 is a JRE, the program jupdate.exe may be the patch installer utility used. The program jupdate.exe is a patch installer in the form of Windows self-executable generated by patchgen. It may contain, version information about the base JRE image and the new JRE image, the JRE patch, a simple patching engine, logic to install the patch through the patching engine, and/or logic to update the JRE settings on the system (e.g., Windows registry, control panel, etc.). When the patch installer is executed, it locates the proper version of JRE through the Windows registry and applies the fix if appropriate.
After creating the updated program, program 130 is replaced with the updated program (step 540). In one embodiment, a user may be notified after the patch is applied and updating of the program is completed. Further, when a first patch has been applied, base image 120 (such as a base JRE image) is copied to repository 310. In one embodiment, subsequent patch installation will not change the content of base image 120 in repository 310.
In another embodiment, program 130 is not deleted when the updated program is created. In one embodiment, the base image may be used to generate multiple versions of a program stored in different locations on the same system. More than one version of the program, such as presentation software, may exists on the system, so a user may utilize older version of the program to read an old presentation using the older version of the program. Using newer version of a program may cause errors in the old presentation, but for a new presentation, the user may want to have a newer version of the software to take advantages of new features of the software.
FIG. 6 is a flowchart of an exemplary method for updating a JRE, consistent with embodiments of the present invention. In one embodiment, a patch is applied to the base JRE image to update the JRE image. The patch may serve to update all current versions of JRE. When the patch installer is executed, it determines a JRE location through the Windows registry. An example of the location may be HKEY_LOCAL_MACHINE\Software\JavaSoft\Java_Runtime_Environment\<version>\JavaHome. If the version of JRE needs to be updated, the patch is applied.
As illustrated in FIG. 6, a determination is first made as to whether a base image exists (step 610). Such a determination may include checking a repository to determine if the base image exists. By way of example, the current default JRE image may be defined by a registry. If the JRE image has not been patched before, no base image may exist in the repository. If no base image exists (step 610; No), then the current JRE image is copied into the repository as a base image (step 615). If a base image does exist (step 610; Yes), then the base image is copied from the repository into a temporary or “temp” JRE directory (step 620).
An updating patch file and a patching engine are then retrieved (step 630). The updating patch file and patching engine may be contained in a patch installer, such as jupdate.exe created by patchgen. In one embodiment, the patch installer may be available from a Java Update website, such as <http://java.sun.com/getjava/javaupdate/>. The patching engine applies the updating patch to the JRE image in the temp JRE directory (step 640). In one embodiment, the patching engine may apply the patch by simply copying the new file. In another embodiment, the patching engine may apply differences at binary level. The new image in the temp directory becomes the newly patched JRE image. In one embodiment, the version information is updated. This may be done by creating a version.dat file in the temp JRE directory, which contains the patch version information. The current image is swapped with the image in the temp JRE directory (step 650), the temp directory is removed (step 660), and the system wide information is updated (step 670). The update provides system wide information (e.g. registry, etc.) with knowledge of the updated program, so the system will be aware of the version of the new software instead of thinking it is still an old version.
FIG. 7 is a flowchart of an exemplary method for updating a program, such as program 130, using a stored patch. The exemplary embodiment of FIG. 7 may be used in connection with a mass storage configuration, such as that depicted in FIG. 3B. Consistent with embodiments of the invention, in order to update program 130 on workstation 110, workstation 110 receives an updating patch (step 710). In addition, the previous patch is retrieved from a repository (step 720). In one embodiment, every time an update is performed, the updating patch is stored in the repository.
The base image is then distilled using the stored patch and current program (step 730). In one embodiment, the base image is distilled using an unpatch utility. The unpatch utility uses the stored patch to undo all of the changes made during patching the base image. When all of the changes are undone, the remaining image is the base image.
After distilling the base image, the base image and updating patch are combined to form an updated program (step 740). After creating the updated program, the current program is replaced with the updated program (step 750). In one embodiment, a user may be notified after the patch is applied and updating of the program is completed. Further, when a patch has been applied, the patch is copied to the repository. Subsequent patch installation will change the content of the repository to reflect the most recent update. In another embodiment, the repository may be used to store multiple versions of base images (e.g. 1.4.1, 1.4.2, 1.5) and multiple versions of patches (e.g. 1.4.101, 1.4.203). When a particular version of the base image or patch is retrieved, the system will lookup the proper version from the repository.
FIG. 8 is a flowchart of an additional exemplary method for updating a program, such as program 130. Consistent with embodiments of the invention, the exemplary method of FIG. 8 may be implemented using a storage approach such as that illustrated in the embodiment of FIG. 3C. Initially, a program is installed by installing both a base image and a patch on a user device (step 810). The base image and patch may be stored in the mass storage. The user device receives an updating patch (step 820). The installed patch is replaced with the updating patch (step 830). When the program is executed, an updated program is created by combining the base image and the updating patch (step 840).
Although embodiments of the present invention are described as being associated with programs stored in memory and other storage mediums, one skilled in the art will appreciate that these aspects can also be stored on, or read from, other types of computer-readable media, such as secondary storage devices, like hard disks, floppy disks, or CD-ROM; a carrier wave from the Internet; or other forms of RAM or ROM. Accordingly, the invention is not limited to the above-described embodiments, but instead is defined by the appended claims in light of their full scope of equivalents.
Further, methods consistent with embodiments of the invention may conveniently be implemented using program modules. Such program modules, when executed, may perform the steps and features disclosed herein, including those disclosed with reference to the exemplary flow charts of FIGS. 4 to 8. No particular programming language has been indicated for carrying out the various procedures described above because it is considered that the operations, stages, and procedures described above and illustrated in the accompanying drawings are sufficiently disclosed to permit one of ordinary skill in the art to practice the instant invention. Moreover, there are many computers and operating systems that may be used in practicing embodiments of the instant invention and, therefore, no detailed computer program could be provided which that would be applicable to these many different systems. Each user of a particular computer will be aware of the language and tools that which are most useful for that user's needs and purposes.
The above-noted features and aspects of the present invention may be implemented in various environments. Such environments and related applications may be specially constructed for performing the various processes and operations of the invention, or they may include a general-purpose computer or computing platform selectively activated or reconfigured by program code to provide the functionality. The processes disclosed herein are not inherently related to any particular computer or other apparatus, and aspects of these processes may be implemented by any suitable combination of hardware, software, and/or firmware. For example, various general-purpose machines may be used with programs written in accordance with teachings of the invention, or it may be more convenient to construct a specialized apparatus or system to perform the required methods and techniques.
Embodiments of the present invention also relate to computer-readable media that include program instructions or program code for performing various computer-implemented operations based on the methods and processes of embodiments of the invention. The program instructions may be those specially designed and constructed for the purposes of the invention, or they may be of the kind well known and available to those having skill in the computer software arts. Examples of program instructions include, for example, machine code, such as produced by a compiler, and files containing a high-level code that can be executed by the computer using an interpreter.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments of the invention disclosed herein. For example, the steps of the exemplary methods of FIGS. 4 to 8 may be modified, substituted, deleted or re-ordered as needed. Further, additional steps may be added to the exemplary methods without departing from the scope of the embodiments of the invention. Therefore, it is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.

Claims (1)

1. A method for updating a software program, comprising:
receiving an updating patch to update the software program;
retrieving a stored patch from a repository, wherein the stored patch is a previous update to the software program;
distilling a base image of the software program using the stored patch, wherein the base image is a base version of the software program and the software program is a subsequent version of the base version;
combining the base image with the updating patch to create an updated software program; and
replacing the software program with the updated software program.
US10/285,840 2002-10-31 2002-10-31 Systems and methods for updating software Active 2029-02-08 US7814476B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US10/285,840 US7814476B2 (en) 2002-10-31 2002-10-31 Systems and methods for updating software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US10/285,840 US7814476B2 (en) 2002-10-31 2002-10-31 Systems and methods for updating software

Publications (2)

Publication Number Publication Date
US20040088694A1 US20040088694A1 (en) 2004-05-06
US7814476B2 true US7814476B2 (en) 2010-10-12

Family

ID=32175271

Family Applications (1)

Application Number Title Priority Date Filing Date
US10/285,840 Active 2029-02-08 US7814476B2 (en) 2002-10-31 2002-10-31 Systems and methods for updating software

Country Status (1)

Country Link
US (1) US7814476B2 (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100058323A1 (en) * 2005-05-23 2010-03-04 Shahrokh Shahidzadeh In-System Reconfiguring Of Hardware Resources
US20100131084A1 (en) * 2008-11-25 2010-05-27 Van Camp Kim O Software deployment manager integration within a process control system
US20100131939A1 (en) * 2008-11-25 2010-05-27 Brandon Hieb Systems and methods to provide customized release notes during a software system upgrade of a process control system
US20110113414A1 (en) * 2009-11-09 2011-05-12 Bank Of America Corporation Software Updates Using Delta Patching
US20110113226A1 (en) * 2009-11-09 2011-05-12 Bank Of America Corporation Distribution Of Software Updates
US20110113418A1 (en) * 2009-11-09 2011-05-12 Bank Of America Corporation Cross-Updating Of Software Between Self-Service Financial Transaction Machines
US8230417B1 (en) 2007-06-08 2012-07-24 Adobe Systems Incorporated Combined application and execution environment install
US8375381B1 (en) * 2007-07-30 2013-02-12 Adobe Systems Incorporated Management user interface for application execution environment
US8448161B2 (en) 2007-07-30 2013-05-21 Adobe Systems Incorporated Application tracking for application execution environment
US8554732B2 (en) 2007-07-30 2013-10-08 Adobe Systems Incorporated Version management for application execution environment
US8671402B2 (en) 2009-11-09 2014-03-11 Bank Of America Corporation Network-enhanced control of software updates received via removable computer-readable medium
US20140109089A1 (en) * 2012-10-12 2014-04-17 Inventec Corporation System to rebuild difference virtual hard disk for updating operation system and method thereof
US20140173578A1 (en) * 2011-08-23 2014-06-19 Tencent Technology (Shenzhen) Company Limited Method and apparatus for installing and updating software
US8972974B2 (en) 2009-11-09 2015-03-03 Bank Of America Corporation Multiple invocation points in software build task sequence
US8997082B1 (en) * 2013-07-16 2015-03-31 Amazon Technologies, Inc. Differential patch of content
US9128799B2 (en) 2009-11-09 2015-09-08 Bank Of America Corporation Programmatic creation of task sequences from manifests
US9176898B2 (en) 2009-11-09 2015-11-03 Bank Of America Corporation Software stack building using logically protected region of computer-readable medium
US9740473B2 (en) 2015-08-26 2017-08-22 Bank Of America Corporation Software and associated hardware regression and compatibility testing system
US10691715B2 (en) 2004-03-02 2020-06-23 Centralsquare Technologies, Llc Dynamically integrated disparate computer-aided dispatch systems

Families Citing this family (62)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8479189B2 (en) 2000-11-17 2013-07-02 Hewlett-Packard Development Company, L.P. Pattern detection preprocessor in an electronic device update generation system
US7409685B2 (en) 2002-04-12 2008-08-05 Hewlett-Packard Development Company, L.P. Initialization and update of software and/or firmware in electronic devices
JP2004227334A (en) * 2003-01-23 2004-08-12 Fujitsu Ltd System, method, and program for supplying software relevant information
US8555273B1 (en) 2003-09-17 2013-10-08 Palm. Inc. Network for updating electronic devices
US7735078B1 (en) * 2003-10-30 2010-06-08 Oracle America, Inc. System and method for software patching for cross-platform products
US7546594B2 (en) * 2003-12-15 2009-06-09 Microsoft Corporation System and method for updating installation components using an installation component delta patch in a networked environment
US7676448B2 (en) 2004-03-12 2010-03-09 Microsoft Corporation Controlling installation update behaviors on a client computer
US7853609B2 (en) * 2004-03-12 2010-12-14 Microsoft Corporation Update distribution system architecture and method for distributing software
US7694291B2 (en) * 2004-04-06 2010-04-06 Hewlett-Packard Development Company, L.P. Build optimizer tool for efficient management of software builds for mobile devices
US7904895B1 (en) 2004-04-21 2011-03-08 Hewlett-Packard Develpment Company, L.P. Firmware update in electronic devices employing update agent in a flash memory card
KR100636141B1 (en) * 2004-04-30 2006-10-18 삼성전자주식회사 Storage medium recording applications having programming function, reproducing apparatus, and reproducing method thereof
US8526940B1 (en) 2004-08-17 2013-09-03 Palm, Inc. Centralized rules repository for smart phone customer care
US7703090B2 (en) * 2004-08-31 2010-04-20 Microsoft Corporation Patch un-installation
US7552430B2 (en) * 2004-08-31 2009-06-23 Microsoft Corporation Patch sequencing
US7747998B2 (en) * 2004-08-31 2010-06-29 Microsoft Corporation Elevated patching
US7552431B2 (en) * 2004-08-31 2009-06-23 Microsoft Corporation Multiple patching in a single installation transaction
US7555679B2 (en) * 2004-10-13 2009-06-30 Lenovo (Singapore) Pte Ltd System and method for computer system rejuvenation
US20060130045A1 (en) * 2004-11-19 2006-06-15 Jonathan Wesley Systems and methods for dynamically updating computer systems
US20060112152A1 (en) * 2004-11-22 2006-05-25 Microsoft Corporation Smart patching by targeting particular prior versions of a file
US20060161914A1 (en) * 2005-01-14 2006-07-20 Microsoft Corporation Systems and methods to modify application installations
US7516206B2 (en) * 2005-01-28 2009-04-07 Cassatt Corporation Management of software images for computing nodes of a distributed computing system
US8387037B2 (en) * 2005-01-28 2013-02-26 Ca, Inc. Updating software images associated with a distributed computing system
US7478097B2 (en) 2005-01-31 2009-01-13 Cassatt Corporation Application governor providing application-level autonomic control within a distributed computing system
US7685148B2 (en) * 2005-01-31 2010-03-23 Computer Associates Think, Inc. Automatically configuring a distributed computing system according to a hierarchical model
US7454427B2 (en) * 2005-01-31 2008-11-18 Cassatt Corporation Autonomic control of a distributed computing system using rule-based sensor definitions
US7680799B2 (en) * 2005-01-31 2010-03-16 Computer Associates Think, Inc. Autonomic control of a distributed computing system in accordance with a hierarchical model
US7590653B2 (en) * 2005-03-02 2009-09-15 Cassatt Corporation Automated discovery and inventory of nodes within an autonomic distributed computing system
US20060225066A1 (en) * 2005-04-04 2006-10-05 Sharp Laboratories Of America, Inc. Systems and methods for extending an application on a mobile information device with additional functionality
US8549049B2 (en) * 2005-04-13 2013-10-01 Sharp Laboratories Of America, Inc. Systems and methods for updating an application on a mobile information device
US20060294354A1 (en) * 2005-06-07 2006-12-28 Azaleos Corporation Image-based system maintenance
WO2007064849A1 (en) * 2005-12-01 2007-06-07 Cassatt Corporation Automated deployment and configuration of applications in an autonomically controlled distributed computing system
US8032880B2 (en) * 2005-12-20 2011-10-04 Microsoft Corporation Multi-branch management for updating software
US20070143445A1 (en) * 2005-12-20 2007-06-21 Dandekar Shree A Method for offering and refreshing digital content on fixed image platforms
US20070167362A1 (en) * 2006-01-18 2007-07-19 Staidson (Beijing) Pharmaceutical Co., Ltd. Medicines containing nerve growth factor for assisting losing weight and methods for assisting losing weight using same
KR100710845B1 (en) * 2006-01-23 2007-04-23 염찬섭 Method for preventing repetition patch
US8572138B2 (en) * 2006-03-30 2013-10-29 Ca, Inc. Distributed computing system having autonomic deployment of virtual machine disk images
US8055096B2 (en) * 2006-05-10 2011-11-08 Research In Motion Limited Method and system for incremental patching of binary files
US8209676B2 (en) 2006-06-08 2012-06-26 Hewlett-Packard Development Company, L.P. Device management in a network
EP1873631B1 (en) * 2006-06-26 2010-08-11 Research In Motion Limited Method and system for generating a reverse binary patch
US7779401B2 (en) 2006-06-26 2010-08-17 Research In Motion Limited Method and system for generating a reverse binary patch for undoing a software update
WO2008014454A2 (en) 2006-07-27 2008-01-31 Hewlett-Packard Development Company, L.P. User experience and dependency management in a mobile device
CN100442230C (en) * 2006-08-04 2008-12-10 华为技术有限公司 Method and system for software multi-version upgrading
US8762984B2 (en) * 2007-05-31 2014-06-24 Microsoft Corporation Content distribution infrastructure
US8301740B2 (en) * 2007-06-27 2012-10-30 Ca, Inc. Autonomic control of a distributed computing system using dynamically assembled resource chains
US7895317B2 (en) * 2007-06-27 2011-02-22 Computer Associates Think, Inc. Autonomic control of a distributed computing system using finite state machines
US8631397B2 (en) 2008-03-31 2014-01-14 Microsoft Corporation Virtualized application image patching
US8869134B2 (en) * 2008-04-07 2014-10-21 Google Inc. Updating firmware on mobile electronice devices
US8190587B1 (en) * 2008-12-11 2012-05-29 Network Appliance, Inc. In-place image promotion
US20100153942A1 (en) * 2008-12-12 2010-06-17 Lazar Borissov Method and a system for delivering latest hotfixes with a support package stack
US8438558B1 (en) * 2009-03-27 2013-05-07 Google Inc. System and method of updating programs and data
JP5440009B2 (en) * 2009-07-31 2014-03-12 富士通株式会社 Program update method for multi-cluster system and multi-cluster system
JP5478986B2 (en) * 2009-08-21 2014-04-23 株式会社日立ソリューションズ Information equipment and program
JP5440190B2 (en) * 2010-01-12 2014-03-12 富士通株式会社 Display terminal, display method, and display program
US9378007B2 (en) * 2010-12-01 2016-06-28 Apple Inc. Pre-heated software installation
US20120204142A1 (en) * 2011-02-09 2012-08-09 Schlumberger Technology Corporation Oilfield application system
US8959577B2 (en) * 2012-04-13 2015-02-17 Cisco Technology, Inc. Automatic curation and modification of virtualized computer programs
US9323514B2 (en) * 2013-05-30 2016-04-26 Microsoft Technology Licensing, Llc Resource package indexing
CN103645928A (en) * 2013-12-06 2014-03-19 浪潮(北京)电子信息产业有限公司 Software function module processing method and system
US10540147B2 (en) * 2016-02-26 2020-01-21 Red Hat, Inc. Add-on image for a platform-as-a-service system
US20180088926A1 (en) * 2016-09-27 2018-03-29 Ca, Inc. Container image management using layer deltas
US10606585B1 (en) 2019-11-12 2020-03-31 Capital One Services, Llc Computer-based systems configured for automated roll-forward of software package versions and methods of use thereof
US11693644B2 (en) * 2020-03-17 2023-07-04 Hewlett Packard Enterprise Development Lp High performance computing node configuration mechanism

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5577244A (en) * 1987-07-20 1996-11-19 International Business Machines Corporation Methods of applying software modifications
WO1997012508A2 (en) * 1995-10-04 1997-04-10 Platinum Technology, Inc. Transforming and manipulating program object code
US5675803A (en) * 1994-01-28 1997-10-07 Sun Microsystems, Inc. Method and apparatus for a fast debugger fix and continue operation
US5832520A (en) * 1996-07-03 1998-11-03 Miller, Call, Plauck And Miller Automatic file differencing and updating system
US5999740A (en) * 1996-11-08 1999-12-07 International Computers Limited Updating mechanism for software
US6158049A (en) * 1998-08-11 2000-12-05 Compaq Computer Corporation User transparent mechanism for profile feedback optimization
US6167567A (en) * 1998-05-05 2000-12-26 3Com Corporation Technique for automatically updating software stored on a client computer in a networked client-server environment
US6185734B1 (en) * 1998-07-21 2001-02-06 Hewlett-Packard Company Hierarchical registry structure for managing multiple versions of software components
US6216175B1 (en) * 1998-06-08 2001-04-10 Microsoft Corporation Method for upgrading copies of an original file with same update data after normalizing differences between copies created during respective original installations
US6230316B1 (en) * 1998-04-17 2001-05-08 Symantec Corporation Patching rebased and realigned executable files
US6363524B1 (en) * 1999-09-10 2002-03-26 Hewlett-Packard Company System and method for assessing the need for installing software patches in a computer system
US6434744B1 (en) * 1999-03-03 2002-08-13 Microsoft Corporation System and method for patching an installed application program
US6466999B1 (en) * 1999-03-31 2002-10-15 Microsoft Corporation Preprocessing a reference data stream for patch generation and compression
US6493871B1 (en) * 1999-09-16 2002-12-10 Microsoft Corporation Method and system for downloading updates for software installation
US6526574B1 (en) * 1997-07-15 2003-02-25 Pocket Soft, Inc. System for finding differences between two computer files and updating the computer files
US6557054B2 (en) 1994-05-31 2003-04-29 Richard R. Reisman Method and system for distributing updates by presenting directory of software available for user installation that is not already installed on user station
US6594822B1 (en) * 1999-02-19 2003-07-15 Nortel Networks Limited Method and apparatus for creating a software patch by comparing object files
US6912711B1 (en) * 2000-05-25 2005-06-28 International Business Machines Corporation Method of applying an update to a contained collection of program and data files based upon versions
US6931626B2 (en) * 2001-01-17 2005-08-16 Hewlett-Packard Development Company, L.P. Method and apparatus for versioning statically bound files

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5577244A (en) * 1987-07-20 1996-11-19 International Business Machines Corporation Methods of applying software modifications
US5675803A (en) * 1994-01-28 1997-10-07 Sun Microsystems, Inc. Method and apparatus for a fast debugger fix and continue operation
US6557054B2 (en) 1994-05-31 2003-04-29 Richard R. Reisman Method and system for distributing updates by presenting directory of software available for user installation that is not already installed on user station
WO1997012508A2 (en) * 1995-10-04 1997-04-10 Platinum Technology, Inc. Transforming and manipulating program object code
US5832520A (en) * 1996-07-03 1998-11-03 Miller, Call, Plauck And Miller Automatic file differencing and updating system
US5999740A (en) * 1996-11-08 1999-12-07 International Computers Limited Updating mechanism for software
US6526574B1 (en) * 1997-07-15 2003-02-25 Pocket Soft, Inc. System for finding differences between two computer files and updating the computer files
US6230316B1 (en) * 1998-04-17 2001-05-08 Symantec Corporation Patching rebased and realigned executable files
US6167567A (en) * 1998-05-05 2000-12-26 3Com Corporation Technique for automatically updating software stored on a client computer in a networked client-server environment
US6216175B1 (en) * 1998-06-08 2001-04-10 Microsoft Corporation Method for upgrading copies of an original file with same update data after normalizing differences between copies created during respective original installations
US6185734B1 (en) * 1998-07-21 2001-02-06 Hewlett-Packard Company Hierarchical registry structure for managing multiple versions of software components
US6158049A (en) * 1998-08-11 2000-12-05 Compaq Computer Corporation User transparent mechanism for profile feedback optimization
US6594822B1 (en) * 1999-02-19 2003-07-15 Nortel Networks Limited Method and apparatus for creating a software patch by comparing object files
US6434744B1 (en) * 1999-03-03 2002-08-13 Microsoft Corporation System and method for patching an installed application program
US6466999B1 (en) * 1999-03-31 2002-10-15 Microsoft Corporation Preprocessing a reference data stream for patch generation and compression
US6363524B1 (en) * 1999-09-10 2002-03-26 Hewlett-Packard Company System and method for assessing the need for installing software patches in a computer system
US6493871B1 (en) * 1999-09-16 2002-12-10 Microsoft Corporation Method and system for downloading updates for software installation
US6912711B1 (en) * 2000-05-25 2005-06-28 International Business Machines Corporation Method of applying an update to a contained collection of program and data files based upon versions
US6931626B2 (en) * 2001-01-17 2005-08-16 Hewlett-Packard Development Company, L.P. Method and apparatus for versioning statically bound files

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Hicks et al., "Dynamic software updating", May 2001, ACM SIGPLAN Notices, PLDI '01, vol. 36 Issue 5, pp. 13-23. *
Joseph Pranevich, "Kernel Komer: Contributing to the Linux Kernel-Diff and Patch", Jun. 2000, Linux Journal, vol. 2000 , Issue 74es, Article No. 21. *

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10691715B2 (en) 2004-03-02 2020-06-23 Centralsquare Technologies, Llc Dynamically integrated disparate computer-aided dispatch systems
US20100058323A1 (en) * 2005-05-23 2010-03-04 Shahrokh Shahidzadeh In-System Reconfiguring Of Hardware Resources
US8375380B2 (en) * 2005-05-23 2013-02-12 Intel Corporation In-system reconfiguring of hardware resources
US8230417B1 (en) 2007-06-08 2012-07-24 Adobe Systems Incorporated Combined application and execution environment install
US8375381B1 (en) * 2007-07-30 2013-02-12 Adobe Systems Incorporated Management user interface for application execution environment
US8448161B2 (en) 2007-07-30 2013-05-21 Adobe Systems Incorporated Application tracking for application execution environment
US8554732B2 (en) 2007-07-30 2013-10-08 Adobe Systems Incorporated Version management for application execution environment
US20100131084A1 (en) * 2008-11-25 2010-05-27 Van Camp Kim O Software deployment manager integration within a process control system
US20100131939A1 (en) * 2008-11-25 2010-05-27 Brandon Hieb Systems and methods to provide customized release notes during a software system upgrade of a process control system
US8914783B2 (en) * 2008-11-25 2014-12-16 Fisher-Rosemount Systems, Inc. Software deployment manager integration within a process control system
US8898660B2 (en) 2008-11-25 2014-11-25 Fisher-Rosemount Systems, Inc. Systems and methods to provide customized release notes during a software system upgrade of a process control system
US8671402B2 (en) 2009-11-09 2014-03-11 Bank Of America Corporation Network-enhanced control of software updates received via removable computer-readable medium
US9176898B2 (en) 2009-11-09 2015-11-03 Bank Of America Corporation Software stack building using logically protected region of computer-readable medium
US20110113414A1 (en) * 2009-11-09 2011-05-12 Bank Of America Corporation Software Updates Using Delta Patching
US8584113B2 (en) 2009-11-09 2013-11-12 Bank Of America Corporation Cross-updating of software between self-service financial transaction machines
US20110113418A1 (en) * 2009-11-09 2011-05-12 Bank Of America Corporation Cross-Updating Of Software Between Self-Service Financial Transaction Machines
US20110113226A1 (en) * 2009-11-09 2011-05-12 Bank Of America Corporation Distribution Of Software Updates
US8972974B2 (en) 2009-11-09 2015-03-03 Bank Of America Corporation Multiple invocation points in software build task sequence
US9128799B2 (en) 2009-11-09 2015-09-08 Bank Of America Corporation Programmatic creation of task sequences from manifests
US9122558B2 (en) 2009-11-09 2015-09-01 Bank Of America Corporation Software updates using delta patching
US20140173578A1 (en) * 2011-08-23 2014-06-19 Tencent Technology (Shenzhen) Company Limited Method and apparatus for installing and updating software
US9606791B2 (en) * 2011-08-23 2017-03-28 Tencent Technology (Shenzhen) Company Limited Controlled method and apparatus to securely install and update software
US20140109089A1 (en) * 2012-10-12 2014-04-17 Inventec Corporation System to rebuild difference virtual hard disk for updating operation system and method thereof
US8997082B1 (en) * 2013-07-16 2015-03-31 Amazon Technologies, Inc. Differential patch of content
US9529586B1 (en) 2013-07-16 2016-12-27 Amazon Technologies, Inc. Differential patching of content
US9740473B2 (en) 2015-08-26 2017-08-22 Bank Of America Corporation Software and associated hardware regression and compatibility testing system

Also Published As

Publication number Publication date
US20040088694A1 (en) 2004-05-06

Similar Documents

Publication Publication Date Title
US7814476B2 (en) Systems and methods for updating software
US10606634B1 (en) System and method for application isolation
JP5663006B2 (en) System and method for building a runtime environment
EP3488337B1 (en) Shared software libraries for computing devices
US6496979B1 (en) System and method for managing application installation for a mobile device
KR100952251B1 (en) Servicing a component base software product
KR101143112B1 (en) Applying custom software image updates to non-volatile storage in a failsafe manner
US7805409B2 (en) Dynamic composition of an execution environment from multiple immutable file system images
US7055146B1 (en) Method and system for dynamically inserting modifications for identified programs
US7523472B2 (en) Method and systems for DLL/COM redirection
US8745601B1 (en) Methods and systems for using data structures for operating systems
EP1280058A2 (en) Method and system for creating and employing an operating system having selected functionality
US6748591B1 (en) Method, system, program, and data structures for loading programs into a runtime environment
US8387032B1 (en) Captive runtime deployment
US7873960B2 (en) Generic packaging tool for packaging application and component therefor to be installed on computing device
JP2015165417A (en) networked Recovery System
JP7311710B2 (en) runtime container
US20090064197A1 (en) Driver installer usable in plural environments
US7716664B2 (en) Metadata-based application model for large applications
US20090089778A1 (en) User-specified install locations
US10514940B2 (en) Virtual application package reconstruction
US10558450B2 (en) Mechanism for customizing multiple computing devices
WO2008124246A2 (en) Side-by-side application manifests for single-purpose applications
US11442710B2 (en) Repository dependency management
US10185574B2 (en) Live imaging of a device

Legal Events

Date Code Title Description
AS Assignment

Owner name: SUN MICROSYSTEMS, INC., CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:HO, STANLEY M.;REEL/FRAME:013473/0227

Effective date: 20021027

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCF Information on status: patent grant

Free format text: PATENTED CASE

FPAY Fee payment

Year of fee payment: 4

AS Assignment

Owner name: ORACLE AMERICA, INC., CALIFORNIA

Free format text: MERGER AND CHANGE OF NAME;ASSIGNORS:ORACLE USA, INC.;SUN MICROSYSTEMS, INC.;ORACLE AMERICA, INC.;REEL/FRAME:037306/0530

Effective date: 20100212

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552)

Year of fee payment: 8

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 12TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1553); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 12