The present invention relates to a tool for classifying and installing patches in distributed computerized software systems. Specifically, when a patch is designed, it may be automatically installed on a user's terminal if it is classified as not having a direct impact on the user's terminal and does not relate to an area of the user's terminal which is being used by the user.
Currently, many users do not install patches on their computer terminals because of their unknown impact on the terminals. Consequently, there are user terminals with varying levels of patches installed. The varying levels of installed patches make it difficult to determine the correct patch for a specific terminal when a specific error is reported. It is very costly and time-consuming to try to make sure that there is consistency amongst users' terminals by ensuring that they have the same level of installed patches.
Automated patch installation is an available, useful technique to help maintain computer networks. However, current systems which automatically install patches suffer from several drawbacks. First, they might be fully automated, in which case an operator has no discretion regarding how or when to deploy them on his terminal. This may result in down time on a system at an undesirable time for the user. Alternatively, patches might be installed only after receiving an operator's command to install, which can be arbitrarily withheld from the system and frustrate the installation process. This may lead to unforeseen performance problems. For example, if certain patches are designed under an assumption that a prior patch was installed, when in fact the prior patch was not installed, a system error may result.
SAP's Note Assistant is available for automatically installing patches on users' terminals is the SAP Note Assistant. SAP Notes provides instructions on how to remove known errors from SAP Systems. They include a description of the symptoms, the cause of the error, and the SAP Release and Support Package level in which the error occurs. SAP Note Assistant allows you to load SAP Notes into your system and to automatically implement the corrections. SAP Note Assistant determines the dependencies of different Notes. However, a Note which corrects a reported error can require many other Notes to be installed before it may be installed. This may cause significant system downtime.
Embodiments of the present invention work cooperatively with existing computer systems to automatically classify all patches according to a hierarchy and to install the patches on terminals based on their classifications. Generally, patches may be classified based on perceived impact of the patch on a terminal and based on relevance for the business process of the user. A developer may decide that a given patch has a “direct impact” on a given terminal and may identify the patch as such using metadata or another appropriate identifier. The developer may also decide whether a given patch is “relevant” to the terminal user, i.e., if it is in an area of the system used by the user. Alternatively, whether a patch is relevant may be automatically determined by the Patch Classification system. This may be determined, for example, based on a history of user activity. When a patch is coded as having a “direct impact” on a terminal and being “relevant” to the terminal, the patch may be presented to a terminal user before installation. If the given patch does not have a direct impact on the terminal and is not relevant to the terminal, the patch may be installed on the terminal automatically by the Update Process and no update information may be presented to the user.
Certain patches may have a direct impact on a terminal and but may be irrelevant to the terminal user. In this case, the patch may be applied automatically and no information may be presented to the user. A patch may not have a direct impact on a terminal but may be relevant to the terminal user. In this case, the patch may be applied automatically and update information may be shown to the user. Here, relevance means that the user is using the subject application or other.
A patch may be classified as relevant based on user activity, for example, whether the user is currently using the application to which the patch is to be applied. A terminal may be monitored to determine which applications are used on the terminal and the frequency with which the applications are used. Further, which functions are used within an application on a terminal may also be determined. Data may be stored for each terminal indicating which applications, and functions within the applications, are used on the terminal and the frequency with which they are used. An automated system may determine whether a patch is relevant to a terminal. An algorithm may be defined to determine whether a patch is relevant to a terminal. This algorithm may be defined based on how often an application is used, the duration of use for an application, the amount of functions used within an application, etc. For example, all applications which are used at least ten times per month may be coded as relevant. As another example, all applications which are used for at least ten hours per month may be coded as relevant.
A patch which is “automatically” installed on a terminal may be installed at a default time. The default time may be, for example, immediately. Alternatively, the default time may be any time pre-set by the developer or the user. A different default time for automatic installation of patches may be maintained for each terminal. Alternatively, one default time may be stored and used for automatic installation of patches for all terminals on the network.
The network 114 may include network entities (not shown) that install software patches on individual terminals 104, 108, 112; such entities are known in the art. According to an embodiment of the invention, the network 114 may include a patch classification module 120 that classifies patches received from the developer 118. The network 114 also may include a patch classification database 122 that stores activity profiles of the users 102, 106 and 110.
During operation, patches may be created by a developer 118, and received by the patch classification module 120 via network 114. The patch classification module 120 may search the patch classification database 122 to classify the patch with respect to each user's terminal. For example, the patch classification module 120 may determine whether the patch has a direct impact on a respective user's system, and whether the patch is relevant to the respective user's system. As noted, the developer may define when a patch is considered to have a direct impact on a user's system. Additionally, the developer may define when a patch is considered to be relevant to a user's system. Alternately, whether a patch is relevant to a user's system may be automatically determined by a designated algorithm. Relevance may be based, for example, on a user's history of activity. The patch classification database 122 may contain a record for each computer system in the network 114. Each record may contain information indicating which objects have a direct impact on the user's system, and which software programs are relevant to the user's system. By searching through the records in the patch classification database 122, the patch classification module 120 may be able to determine whether a patch would be in an area of direct impact and/or whether a patch would be relevant for each system on the network 114.
Once the patch classification module 120 has determined which systems a given patch has a direct impact on, and which systems a given patch is relevant to, it may determine which systems will automatically receive the patch. The patch classification module 120 may automatically install the patch, via network 114, on all systems in which the given patch does not have a direct impact and to which it is not relevant. For example, a patch may not have a direct impact on system 104, and it may also not be relevant to system 104. Therefore, the patch classification module 120 may automatically install the patch, via network 114, on system 104.
With respect to a system where a given patch has a direct impact, and is relevant, the patch classification module 120 may send a message to the system via network 114 asking the user to choose a time to install the patch. For example, a patch may have a direct impact on system 108, and it may also be relevant to system 108. Therefore, the patch classification module 120 may send a message to system 108, via network 114, asking the user 106 to select a time for the patch to be deployed. The selected time may be returned to the patch classification module 120 via network 114. At the time selected, the patch classification module 120 may install the patch on system 108.
In another embodiment, alternative combinations are contemplated, e.g., depending upon the direct impact of the patch on the system and/or the relevance to the system. User interaction may or may not be allowed to preserve the integrity of the system.
The patch classification module 120 may then determine whether the patch neither has a direct impact on the system nor is relevant to the system, step 308. The patch classification module 120 may scan the retrieved record to make this determination. If the patch does not have a direct impact on the system and is irrelevant to the system, the patch classification module 120 may automatically install the patch on the system, step 310. The patch classification module 120 may then determine whether the maximum record counter level has been reached, step 312. The patch classification database 122 may maintain a count of the number of records contained within it. The patch classification module 120 may compare the record number counter with the number of records in the patch classification database to determine if the record counter number is less than the total number of records stored within the patch classification database 122. If the record counter number is less than the number of records stored within the patch classification database 122, then the maximum record counter level has not been reached. The patch classification module 120 may then increase the record counter number, step 314. Then, the patch classification module 120 may retrieve the record associated with the new record counter level, step 306, and continue with the method described above. If, however, the record counter is equal to or greater that the number of records stored within the patch classification database 122, the maximum record counter level has been reached. The patch classification module 120 has completed its task with respect to the patch, and the method ends.
If the patch has a direct impact on the system and/or is relevant to the system, the patch classification module 120 may then determine whether the patch both has a direct impact on the system and is relevant to the system, step 316. If the patch has a direct impact on the system and is relevant to the system, the patch classification module 120 may then send a message to the system requesting that the user schedule a time for installment of the patch, step 318. The patch classification module 120 may install the patch on the system at the time specified by the user, step 320. Thereafter, the patch classification module 120 may determine whether all the records have been searched, according to the method discussed above, step 312. If all the records have not been searched, the record counter may be increased, step 314, and the next record may retrieved, step 306. If all the records have been searched, the method ends.
If the patch has a direct impact on the system and is relevant to the system, the patch may be automatically installed on the user's system or a message may be sent to the system asking the user to schedule a time for installment, depending on a user's preference, step 322. Thereafter, the patch classification module 120 may determine whether all the records have been searched, according to the method discussed above, step 312. If all the records have not been searched, the record counter may be increased, step 314, and the next record may be searched, step 306. If all the records have been searched, the method ends.
Another embodiment of the present invention involves a computer system for classifying and deploying patches to systems, having:
an arrangement for receiving a patch;
for each system in a network, an arrangement for determining if the patch has a direct impact on the system and if the patch is relevant to the system;
an arrangement for automatically deploying the patch to systems where the patch has no direct impact and is irrelevant; and
an arrangement for deploying the patch at a time scheduled by a user to systems where the patch has a direct impact and is relevant.
Several embodiments of the invention are specifically illustrated and/or described herein. However, it will be appreciated that modifications and variations of the invention are covered by the above teachings and within the purview of the appended claims without departing from the spirit and intended scope of the invention.
Number | Name | Date | Kind |
---|---|---|---|
7069547 | Glaser | Jun 2006 | B2 |
7614046 | Daniels et al. | Nov 2009 | B2 |
7975264 | Sriram et al. | Jul 2011 | B2 |
8065672 | Sriram et al. | Nov 2011 | B2 |
20020174422 | Kelley et al. | Nov 2002 | A1 |
20060130040 | Subramanian et al. | Jun 2006 | A1 |
20060288341 | Wurden et al. | Dec 2006 | A1 |
20070033445 | Hirsave et al. | Feb 2007 | A1 |
Number | Date | Country | |
---|---|---|---|
20080307407 A1 | Dec 2008 | US |