A system for managing updates of an executable component in accordance with an updating tree with multiple branches is provided. In one implementation, specific updates are provided to users with specific problems while general updates are provided to all users of the executable component. A range of lower version numbers is reserved for the general updates. When a specific update with a version number higher than those in the reserved range has been installed on a computing device, an installer may prevent a new general update with a lower version number to be installed. The installer may determine a new specific update corresponding to the general update and provide an indication to the user to install this new specific update instead of the general update. This multi-branch update delivery system enables users to elect to receive only updates that are necessary.
|
8. A method comprising:
receiving a new update having a version number, the new update being for an executable component;
identifying that the new update is a new general update from a general updating branch based on the version number;
determining that a first client device is associated with a specific updating branch and a second client device is associated with the general updating branch, individual specific updates of the specific updating branch having been previously installed on the first client device;
responsive to the determining:
preventing installation of the new general update on the first client device and installing a further specific update from the specific updating branch on the first client device; and
installing the new general update on the second client device.
15. A system comprising:
an installer configured to:
receive a new update having a version number, the new update being for an executable component installed on both a first client device and a second client device;
identify that the new update is a new general update from a general updating branch based on the version number;
determine that the first client device is associated with a specific updating branch and the second client device is associated with the general updating branch, individual specific updates of the specific updating branch being previously installed on the first client device;
prevent installation of the new general update on the first client device and, instead, cause a further specific update from the specific updating branch to be installed on the first client device; and
cause the new general update to be installed on the second client device; and
one or more computing devices configured to execute the installer.
1. One or more device-readable storage media encoded with device-executable instructions for performing steps comprising:
receiving a new update having a version number, the new update being for an executable component;
identifying whether the new update is in a general updating branch or a specific updating branch based on whether the version number of the new update is in a range of version numbers reserved for the general updating branch;
in an instance where the received new update is in the general updating branch:
determining that individual specific updates of the specific updating branch have been previously installed on a first client device and have not been previously installed on a second client device;
responsive to the determining:
preventing installation of the received new update on the first client device so that only further updates of the specific updating branch are installed on the first client device; and
installing the received new update on the second client device.
2. The one or more device-readable storage media as recited in
in the instance where the received new update is in the general updating branch, determining a corresponding specific update in the specific updating branch; and
installing the corresponding specific update on the first client device in an instance where the corresponding specific update has a version that is higher than a version associated with the individual specific updates of the specific updating branch that were previously installed on the first client device.
3. The one or more device-readable storage media as recited in
providing an indication that the received new update is not necessary if the version of the corresponding specific update is not higher than the version associated with the individual specific updates of the specific updating branch that were previously installed.
4. The one or more device-readable storage media as recited in
5. The one or more device-readable storage media as recited in
6. The one or more device-readable storage media as recited in
obtaining a new specific update for the first client device that includes both specific fixes included in the previously installed individual specific updates and fixes of the general update.
7. The one or more device-readable storage media as recited in
9. The method according to
10. The method according to
11. The method according to
12. The method according to
indicating to a user of the first client device that the further specific update should be installed instead of the new general update.
13. The method according to
installing a second further specific update on the second client device after the new general update is installed on the second client device.
14. The method according to
16. The system according to
17. The system according to
18. The system according to
20. The system according to
|
Complex software products are often extensively tested before being released to ensure their performance, stability, and compatibility with other software. However, even after intensive testing, some bugs will inevitably remain in the software products at the time of release. Also, it may not be possible to detect platform specific issues and compatibility issues that can only become apparent after installation.
To address issues associated with software products after they have been released, updates, such as patches, may be provided to customers to resolve these issues. Software patches may be classified into two categories: private patches and public patches. A private patch may be provided by the software developer to one or a few particular customers that are working with the developer on a particular urgent problem associated specifically to the particular customers. Typically, the private patch is tested to make sure that the problem is fixed and is provided to the customers in an expedited manner. Because of the short turnaround time, comprehensive testing often cannot be done. In contrast, a public patch typically addresses issues with a software product that affects most or all customers. These issues may involve security, data corruption issues, or the like. Generally, software developer broadly distributes a public patch and encourages all customers to install the patch. Public patches usually take months to ship and are tested more thoroughly since the patches have a much broader customer impact.
Patching typically involves a linear progression of the product over time. The progression is linear because there is a single branch that holds the product build system, such as sources, data and tools, for the released product. Particularly, a new public patch to a software product typically contains the contents of all previous released private and public patches. Updating software products with a linear progression model may cause problems for customers. For example, customers that install a public patch may have to assume the risk of having new issues caused by previously released private patches that are particularly designed to solve specific issues on another customer's system. Also, the software product installed on the customers' systems may be highly tuned to attain optimal efficiency. Installing a public patch with unnecessary modifications may substantially degrade the performance of the software product.
The following presents a simplified summary of the disclosure in order to provide a basic understanding to the reader. This summary is not an extensive overview of the disclosure and it does not identify key/critical elements of the invention or delineate the scope of the invention. Its sole purpose is to present some concepts disclosed herein in a simplified form as a prelude to the more detailed description that is presented later.
The present example provides a system that manages updates of an executable component in accordance with an updating tree with multiple branches. In one implementation, specific updates are provided to users with specific problems while general updates are provided to all users of the executable component. A range of lower version numbers is reserved for the general updates. When a specific update with a version number higher than those in the reserved range has been installed on a computing device, an installer may prevent a new general update with a lower version number to be installed. The installer may determine a new specific update corresponding to the general update and provide an indication to the user to install this new specific update instead of the general update. This multi-branch update delivery system enables users to elect to receive only updates that are necessary.
Many of the attendant features will be more readily appreciated as the same becomes better understood by reference to the following detailed description considered in connection with the accompanying drawings.
The present description will be better understood from the following detailed description read in light of the accompanying drawings, wherein:
Like reference numerals are used to designate like parts in the accompanying drawings.
The detailed description provided below in connection with the appended drawings is intended as a description of the present examples and is not intended to represent the only forms in which the present example may be constructed or utilized. The description sets forth the functions of the example and the sequence of steps for constructing and operating the example. However, the same or equivalent functions and sequences may be accomplished by different examples.
Although the present examples are described and illustrated herein as being implemented in a system for updating software with multi-branch management, the system described is provided as an example and not a limitation. As those skilled in the art will appreciate, the present examples are suitable for application in a variety of different types of systems that are capable of managing and providing updates only to users that specifically need them.
Update manager 105 is configured to provide general updates and specific updates to clients 131-133. Specific updates are released for problems specific to one or a few users of the executable component. Typically, specific updates are not necessary for other users that do not have the specific problems. General updates are released for problems or improvements that are applicable to all users. General updates and specific updates are organized into separate update branches. A client may elect to be on the general update branch so that the client does not have to install specific updates that are not applicable. An example multi-branch updating tree will be discussed below in conjunction with
Clients 131-133 may install updates using installers 161-163, which may be provided by update manager 105. Installers 161-163 may be provided along with each update or as executable components that resides on the clients. Installers 161-163 may be configured to determine whether a general update or a specific update should be installed. Installers 161-163 may make this determination by identifying the updating branch on which a client is operating. Installers 161-163 may make this identification by examining the version number associated with the updates that have already been installed on the client. An example multi-branch update version numbering system will be discussed below in conjunction with
As shown by the example system 100 in
The example system 100 shown in
After point 000, one or more particular users may experience a problem that requires a specific fix. These users are typically major customers of the executable component and the developer of the executable component is receptive to provide a specific fix for these major customers' specific problem. As shown in
When another problem that requires a specific fix occurs, specific update 102 may be released to resolve this other problem. Specific update 102 includes the content of specific update 101 that fixed the previous problem. Thus, updates on specific update branch 203 are cumulative and the last specific update includes the solutions provided by all of the previous specific updates on specific update branch 203.
When a problem or improvement affects all users of the executable component, a general update 001 is released. In this example, general update 001 does not include the fixes in specific updates 101 and 102. The users that have not installed specific updates 101 and 102 may install general update 001 and operate on the general update branch 204. For users that have already installed specific updates 101 and 102, general update 001 should not be installed since it may revert the specific fixes in updates 101-102. In this situation, an update manager is configured to provide specific update 103, which is associated with general update 001. Specific update 103 includes the specific fixes provided by specific updates 101 and 102 as well as the fixes in general update 001. In this manner, users that are on specific update branch 203 may preserve the specific fixes in updates 101 and 102 while benefiting from general fixes in update 001.
For ease of illustration, the number labels for general updates 001-003 and specific updates 101-111 also represent the version numbers of the updates. Thus, in the example update tree 200 shown in
An installer for updates is configured to determine whether a particular update can be installed on a client. The installer is also configured to identify the association between a general update and a specific update. In one implementation, the installer determines the update branch to which the client is operating and whether the newly available update is compatible with that branch. The installer may make the determination by identifying previously installed updates and their version numbers and comparing these numbers with the version number on the newly available update. For example, if a client has previously installed specific updates of versions 101 and 102 and is attempting to install general update 001, the installer will determine that the client cannot install general update 001. The installer may simply determine that the version number of 001 of the general update is smaller than the last previously installed update version 102. Alternatively, an identifier may be used to directly indicate which update branch on which the client belongs. The installer may also determine that general update 001 corresponds to specific update 103 and may provide an indication to the user to install update 103 instead.
In another example, a client has previously installed general update version 001. If the client selected to install a previously provided specific update such as specific update 102, the installer is configured to determine that specific update 102 is not the appropriate update. Particularly, the installer is configured to determine that general update 001, which has already been installed on the client, corresponds to specific update 103. Thus, if the client desires the fix in specific update 102, the client should install specific update 103, which contains the latest fixes from both specific update branch 203 and general update branch 204. The installer may provide an indication to the user to install update 103.
The example multi-branch updating tree 200 in
In one example implementation, the multi-branch updating management system described above is used to manage updates for a Structured Query Language (SQL) system. Updates for the SQL system include general distributable releases (GDRs), which are released to all customers, and hotfixes, which are provided to specific customers to resolve problems that are specific to those customers. In this example implementation, a gap of reserved version numbers is created between baseline (RTM or service pack) and the first hotfix. When a GDR is required, it is shipped with an unused reserved version number. Some example general behaviors are shown below:
For the special behaviors, installers of GDR and hotfixes are configured to understand that branching is enabled:
Below shows an example update sequence assuming that the patch build version started at 1 and a 100 build gap.
This schema allows for answering the question “Does this instance have a GDR, a hotfix, or neither applied” by simply doing a file version range check for the known reserved numbers.
In the case that the reserved numbers are exhausted, a new range of reserved numbers is created above the existing hotfixes. Below shows an example
Since the installers only need to know the reserved numbers that existed when they were shipped because everything newer is higher versioned, everything behaves correctly.
To rebaseline a product, another gap is created between the current highest hotfix and the baseline number. The size of the gap is based on the estimation of how many hotfixes will need to be shipped on the previous baseline (N, N−1 servicing). None of the N−1 patches will install over the baseline because of simply version checking.
GDR may determine the hotfix version to which the GDR is associated. In one example implementation, an extended file header entry for the update may be used. For example, AssociatedHotfixVersion may be used to identify the version. In another example implementation, an entry in a registry can also be used to identify the version number.
In a further example implementation, a part of the build number in the GDR binaries may be used to identify the associated hotfix version. Below is an example where the 4th build number is used:
Major.Minor.GDR version.Associated Hotfix version
In the example above where the GDR version is 1 and the associated hotfix version is 103, a SQL 2000 file version would be: 2000.08.1.103. Whenever the associated hotfix version is needed, it can be retrieved from the file version information. A registry key may also be used for identifying the associated hotfix version.
A GDR installer is configured to improve the user experience during invalid hotfix installations. For example, the GDR installer is configured to know the reserved number ranges at the time it was shipped. The GDR installer is also configured to know the version number of its associated hotfix. The associated hotfix version number can be retrieved from the file version number of the GDR. If the GDR installer determines that there is a hotfix on the machine and the version number is less than the associated hotfix number, the installer reports the hotfix version that the customer needs to install.
A hotfix installer is configured with logic to prevent out of order installs and regression of security fixes. For example, the hotfix installer is configured to know the reserved number ranges at the time it was shipped. The hotfix can use the reserved number ranges to determine if the instance has a hotfix or GDR installed. If a GDR is currently installed on the machine, the hotfix installer is configured to check the version of the hotfix associated with the GDR. If the GDR's associated hotfix version is higher than the hotfix being installed, a message is provided to the user indicating the minimum hotfix level that should be provided.
An example scenario is that a GDR 1 has been installed that is associated with hotfix 103. That means that only hotfix 103 and above can install over GDR 1. If a user tries to install hotfix 102, the hotfix installer checks the version number of the instance. If the version is a reserved number, the hotfix installer checks if the associated version number registry key is less than the version being installed. If so, the hotfix proceeds. Otherwise, an error message is displayed with the associated version number value from the GDR installed on the machine. In this case, a message would be displayed, indicating that the user needs to install hotfix version 103 or higher.
A baseline shipped after branching has been issued may be configured to overwrite all previous GDR and hotfix versions. The baseline may also delete the GDR associated hotfix registry key if the Registry option is implemented. No changes are needed in baselines prior to branching.
Below are some examples of scenarios of typical uses:
a) GDR installed on RTM
b) GDR installed on GDR
c) Hotfix installed on RTM
d) GDR installed on a Hotfix
e) Hotfix installed on GDR
AssociatedHotfixBuild value (for the Registry option).
f) Hotfix installed on hotfix
g) Baseline (Service Pack) installed on hotfix
h) Baseline Installed on QFE
Returning to decision block 404, if at least one update exists for the executable component, process 400 moves to block 406 where the version number of the existing update is identified. The version number may be identified by any method, such as from a build number associated with the previously installed update, a registry key, a version number identifier data structure, or the like. At decision block 408, a determination is made whether the last existing update is a general update. For example, the installer may be configured to know a version number range that has been reserved for general update. If the version number of the existing update exceeds this range, then the version number indicates that the existing update is a specific update. In this case, process 400 goes to decision block 412.
Returning to decision block 408, if the existing update is a general update, process 400 moves to block 410 where the specific update version corresponding to the existing general update is determined. At decision block 412, a determination is made whether the existing update version is lower than the current update. If so, at block 414, the current specific update is installed onto the computing device. If the version number of the existing update is not lower than the current update, then installing the current update may revert the existing fixes already on the computing device and should not be done. In this case, process 400 moves to block 416 where the determined specific update version is indicated as a minimum required update version level.
Returning to decision block 505, if at least one update exists for the executable component, process 500 moves to block 507 where the version number of the last existing update is identified. At decision block 509, a determination is made whether the existing update is a specific update. If not, then the existing update is a general update. Process 500 goes to decision block 524 where a determination is made whether the version of current general update is higher than the existing general update. If so, process 500 goes to block 523 where the general update is installed. If the version of current general update is not higher than the existing general update, process 500 moves to block 525 where the installer indicates to the user that the current general update is not necessary.
Returning to decision block 509, if the existing update is a specific update, process 500 goes to block 511 where the specific update version corresponding to the current general update is determined. At decision block 513, a determination is made whether the determined specific update version corresponding to the current general update is higher than the version of the existing specific update. If so, process 500 moves to block 515 where the installer indicates to the user that the determined specific update version level corresponding to the current general update should be installed. If the determined specific update version corresponding to current general update is higher than the version of the existing specific update, process 500 goes to block 525 where the installer indicates to the user that the current general update is not necessary.
Depending on the exact configuration and type of computing device, memory 610 may be volatile (such as RAM), non-volatile (such as ROM, flash memory, etc.) or some combination of the two. Additionally, computing device 600 may also have additional features/functionality. For example, computing device 600 may include multiple CPU's. The described methods may be executed in any manner by any processing unit in computing device 600. For example, the described process may be executed by both multiple CPU's in parallel.
Computing device 600 may also include additional storage (removable and/or non-removable) including, but not limited to, magnetic or optical disks or tape. Such additional storage is illustrated in
Computing device 600 may also contain communications device(s) 640 that allow the device to communicate with other devices. Communications device(s) 640 is an example of communication media. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. The term computer-readable media as used herein includes both computer storage media and communication media. The described methods may be encoded in any computer-readable media in any form, such as data, computer-executable instructions, and the like.
Computing device 600 may also have input device(s) 635 such as keyboard, mouse, pen, voice input device, touch input device, etc. Output device(s) 630 such as a display, speakers, printer, etc. may also be included. All these devices are well know in the art and need not be discussed at length.
Those skilled in the art will realize that storage devices utilized to store program instructions can be distributed across a network. For example a remote computer may store an example of the process described as software. A local or terminal computer may access the remote computer and download a part or all of the software to run the program. Alternatively the local computer may download pieces of the software as needed, or distributively process by executing some software instructions at the local terminal and some at the remote computer (or computer network). Those skilled in the art will also realize that by utilizing conventional techniques known to those skilled in the art that all, or a portion of the software instructions may be carried out by a dedicated circuit, such as a DSP, programmable logic array, or the like.
Elumalai, Arulkumar, Konersmann, Scott A., Myrick, Maxwell D.
Patent | Priority | Assignee | Title |
8255896, | Apr 01 2008 | Honeywell International Inc. | Network software normalization and installation in a fire detection system |
9170797, | Jan 31 2012 | Red Hat, Inc.; RED HAT INC | Automated deployment of an application in a computing platform |
9658841, | Aug 30 2012 | AVAYA LLC | System and method for efficient software replication |
9665356, | Jan 31 2012 | Red Hat, Inc.; RED HAT INC | Configuration of an application in a computing platform |
Patent | Priority | Assignee | Title |
20020053044, | |||
20040107416, | |||
20040181790, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Dec 20 2005 | Microsoft Corporation | (assignment on the face of the patent) | / | |||
Mar 13 2006 | KONERSMANN, SCOTT A | Microsoft Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 017304 | /0409 | |
Mar 13 2006 | ELUMALAI, ARULKUMAR | Microsoft Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 017304 | /0409 | |
Mar 13 2006 | MYRICK, MAXWELL D | Microsoft Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 017304 | /0409 | |
Oct 14 2014 | Microsoft Corporation | Microsoft Technology Licensing, LLC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 034543 | /0001 |
Date | Maintenance Fee Events |
Mar 25 2015 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Mar 21 2019 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Mar 22 2023 | M1553: Payment of Maintenance Fee, 12th Year, Large Entity. |
Date | Maintenance Schedule |
Oct 04 2014 | 4 years fee payment window open |
Apr 04 2015 | 6 months grace period start (w surcharge) |
Oct 04 2015 | patent expiry (for year 4) |
Oct 04 2017 | 2 years to revive unintentionally abandoned end. (for year 4) |
Oct 04 2018 | 8 years fee payment window open |
Apr 04 2019 | 6 months grace period start (w surcharge) |
Oct 04 2019 | patent expiry (for year 8) |
Oct 04 2021 | 2 years to revive unintentionally abandoned end. (for year 8) |
Oct 04 2022 | 12 years fee payment window open |
Apr 04 2023 | 6 months grace period start (w surcharge) |
Oct 04 2023 | patent expiry (for year 12) |
Oct 04 2025 | 2 years to revive unintentionally abandoned end. (for year 12) |