|Publication number||US7770074 B2|
|Application number||US 12/123,887|
|Publication date||Aug 3, 2010|
|Priority date||May 23, 2006|
|Also published as||DE102006024233A1, EP2021922A2, US20080263405, WO2007134856A2, WO2007134856A3|
|Publication number||12123887, 123887, US 7770074 B2, US 7770074B2, US-B2-7770074, US7770074 B2, US7770074B2|
|Inventors||Gerald Kaefer, Christoph Koonig, Reiner Schmid|
|Original Assignee||Fujitsu Siemens Computers Gmbh|
|Export Citation||BiBTeX, EndNote, RefMan|
|Patent Citations (14), Non-Patent Citations (1), Classifications (8), Legal Events (3)|
|External Links: USPTO, USPTO Assignment, Espacenet|
This application is a continuation of co-pending International Application No. PCT/EP2007/004588, filed May 23, 2007, which designated the United States and was not published in English, and which is based on German Application No. 10 2006 024 233.5 filed May 23, 2006, both of which applications are incorporated herein by reference.
The present invention pertains to a method for the fault-tolerance management of a software component and to a device for carrying out the inventive method.
Modern computer systems are composed of a plurality of different hardware components and software components that interact in a complex manner. Individual components perform their tasks by utilizing services that are offered by other hardware components or software components. Prominent examples of this are operating systems that access drivers for the hardware components or web-based services that run jointly on a local computer and a remote computer.
It is required that the integration of applications of this type does not depend on the hardware components and software components used. The administration of such systems therefore is very demanding because small changes can lead to undesirable interactions between individual components. It is usually not possible to estimate the risk of errors, as well as their probability and extent beforehand, when individual components are changed, for example, in the form of an update. Administrators typically are only able to detect the occurring errors and the corresponding sources of errors after an extended trial-and-error phase.
In a first embodiment, the tolerance of a software component that is executed in a certain execution environment to occurring changes and occurring errors is determined and described with special fault tolerance values. The fault tolerance values determined in this way provide an administrator with valuable information on the extent of errors caused by changes to the software component and/or the execution environment. This enables the administrator, if so required, to isolate software components that are particularly susceptible to errors and to manage these software components separately.
One embodiment provides for fault-tolerance management of a software component. In this embodiment, a number of instances of the software component are executed in at least somewhat different execution environments. A local error susceptibility register and a global error susceptibility register are assigned to each software component. An error of first instance of the software component is detected. The local error susceptibility register of the first instance is updated based on the detected error and the content of the local error susceptibility register of the first instance. The global error susceptibility register of each instance is also updated based on the detected error and the content of the global error susceptibility register of each instance. The difference between the respective local error susceptibility register and the respective global error susceptibility register is determined, and the fault tolerance value of the software component in the respective execution environment is determined based on the determined difference.
An instance refers to a software component loaded into the main memory. The main memory content of a software component instance consists of memory contents that are identical for all instances and contain a program code, and of specific areas for all instances that contain the runtime data. A software component is considered to be identical to another software component if it is based on the same source code (program code). Instances of identical software components are considered instances of the same software component in the context of this description.
According to one aspect of the present invention, two registers are assigned to each instance of a software component. The first register or local register stores the occurring errors of this instance for the respective execution environment. An average value of the types of the errors of all instances is stored for a software component in the second register or global register. Consequently, the behavior of the software component is recorded in the different execution environments. Each instance of the software component now determines a deviation between its behavior and the average behavior of the other instances of the software component. A significant deviation between the local error susceptibility register and the global error susceptibility register indicates that the software component does not run stably in the given execution environment. In this case, one should refrain from making additional changes to the execution environment or the software component, if possible, or the administrator must carefully monitor the software component in this execution environment after the change is made.
An inventive device for the fault-tolerance management of a software component includes a number of data processing devices for executing a plurality of instances of the software components in at least somewhat different execution environments. Each data processing device features a first storage unit for storing a local error susceptibility register and a second storage unit for storing a global error susceptibility register. A detection device detects an error of first instance of the plurality of instances and a communication interface distributes the detected error. Updating devices update the local error susceptibility register and the global error susceptibility register based on the detected error and a fault-tolerance averaging device determines a fault-tolerance value of the software component in the respective execution environment based on a difference between the respective local error susceptibility register and the respective global error susceptibility register.
An execution environment describes the sum of all devices that interact directly or indirectly with a software component. This typically includes all interfaces with hardware devices used, drivers for these interfaces, the operating system, applications in which the software component is embedded, etc.
Refinements and embodiment examples are disclosed in the specification and claims.
According to one implementation, the detected error is transmitted to a central detection station, and the central detection station updates the global error susceptibility register of each instance of the software components. For this purpose, the detection station has access to the global error susceptibility register. The detection station itself may contain and update a global error susceptibility register based on the detected errors. This updated global error susceptibility register of the central detection station is then advantageously distributed to the instances of the software components.
In one implementation, the central detection station buffers the detected error being transmitted in a buffer, and each instance regularly updates its global error susceptibility register with consideration of the intermediately stored error.
In one implementation, the local error susceptibility register and the global error susceptibility register are updated by utilizing a statistical method. The statistical method may take into account the execution time of one of the instances for the respective local error susceptibility register and take into account the sum of the execution times of all instances for the global error susceptibility register.
In one implementation, the instances are executed in different execution environments in which the instances interact with different software components and/or different hardware.
The present invention is described below with reference to preferred embodiment examples that are illustrated in the enclosed figures, which figures show:
The execution environment may form a local unit, for example, an office computer or be a distributed system as is made available, for example, for Internet-based services.
At least one of the software components is executed in several execution environments 2, 3. These identical executed software components are referred to as instances 20, 30 of the software component.
It was already mentioned in the background that one significant problem for an administrator who manages such an execution environment 2, 3 is that it cannot be determined beforehand if a change to the execution environment leads to an error of the corresponding instance of the software component.
A so-called fault-tolerance parameter is introduced for this purpose. With respect to the software component, the error susceptibility of this software component is estimated during its development. Such an estimate can be based on the length of the code, the number of software component interfaces used, or other features. A fault-tolerance parameter can be provided by the manufacturer. Analogously, the software components can be executed in different standardized execution environments during admission tests, and their errors and faulty behavior can be detected. A software component is only executed in an execution environment if a minimum execution quality of the software component can be expected based on the combination of the fault tolerance values of an execution environment and the software component.
In the present embodiment, the errors are also updated while the instances 20, 30 are executed in the execution environment 2, 3 in order to determine a dynamic fault-tolerance value (step 100 of
The software component and therefore also the instance 20 features an interface or a channel 25 in order to communicate with a central detection device 1. The last error detected is transmitted to this central detection device (step 102). Based on the transmitted error messages, the central detection device 1 determines a global frequency of the individual errors, in how many instances 20, 30 of the software component such an error has already occurred, etc. (step 103). The central detection device transmits this global value to all instances 20, 30 of the software component via the channels 25, 35 (step 104).
In addition to the local error susceptibility register 21, 31, each instance 20, 30 is also assigned a global error susceptibility register 22, 32. The instances 20, 30 store the global value received from the central detection device 1 in this global error susceptibility register (step 105, 115).
In a subsequent step, the instances 20, 30 compare the contents of their local and their global error susceptibility registers (step 106, 116). If the local and the global error susceptibility registers differ significantly, the respective instance of the software component advantageously outputs a warning signal since the execution of the software component in the given execution environment is not as stable compared with the other software components. Consequently, changes to this execution environment, for example, by means of updates should only be made very carefully.
A new fault-tolerance value is determined for the software component in the execution environment (step 107, 117). This new fault-tolerance value is determined based on the difference between the respective local error susceptibility register 21, 31 and the respective global error susceptibility register 22, 32. The higher the error susceptibility of the instance in the execution environment in comparison with the error susceptibility of the other instances of this software component in the other execution environments, the lower the fault tolerance. Thus, the software component is rather unstable in this execution environment and should not be subjected to further changes to the execution environment.
In addition, a register 23 for storing specific manufacturer parameters 123 and/or a register 24 for storing parameters from admission tests 124 could also be provided. Before an update or before a change to the execution environment, all parameters in the registers 21 to 24 are evaluated in order to determine the risk of a severe error of the software component if the execution environment is changed.
According to an additional refinement, the central evaluation device 31 determines a threshold value based on the individual fault-tolerance values of the instances. This threshold value is sent to the updating device 32. Furthermore, an estimated value is sent to the updating device by the database 33 for updates. This estimated value is a measure of the changes to be made to the execution environments by means of an update or a patch. This value can be determined by means of admission tests or provided by the distributor of the updates are patches. If this value remains below the threshold value, the installation of the update or the patch, i.e., the change to the execution environment, appears justifiable and the changes are carried out. The parameters provided by the system administrator are also taken into account.
Although embodiments of the present invention are described with reference to the fault-tolerance management of an individual software component, it is not limited to this specific instance. The fault-tolerance management is expanded to a plurality of software components by providing a corresponding number of error susceptibility registers and other required units.
|Cited Patent||Filing date||Publication date||Applicant||Title|
|US4769761||Oct 9, 1986||Sep 6, 1988||International Business Machines Corporation||Apparatus and method for isolating and predicting errors in a local area network|
|US5208814||Sep 28, 1990||May 4, 1993||Xerox Corporation||Method and apparatus for operating an electronic reprographic printing system containing a job submit counter|
|US5634098 *||Feb 1, 1995||May 27, 1997||Sun Microsystems, Inc.||Method and apparatus for environment-variable driven software testing|
|US5751964 *||Sep 12, 1995||May 12, 1998||International Business Machines Corporation||System and method for automatic determination of thresholds in network management|
|US6560772 *||Oct 15, 1999||May 6, 2003||International Business Machines Corporation||Method, system, and program for accessing data in different environments|
|US6662312 *||Jun 30, 2000||Dec 9, 2003||Qwest Communications International Inc.||Software-testing automation system|
|US6718482 *||Jan 19, 2001||Apr 6, 2004||Hitachi, Ltd.||Fault monitoring system|
|US6934892 *||Feb 15, 2002||Aug 23, 2005||Hitachi, Ltd.||Computing system construction method under execution environment to be dependent on OS|
|US7287190 *||Jan 29, 2004||Oct 23, 2007||Sun Microsystems, Inc.||Simultaneous execution of test suites on different platforms|
|US7293202 *||Jun 26, 2003||Nov 6, 2007||Microsoft Corporation||Isolating the evaluation of actual test results against expected test results from the test module that generates the actual test results|
|US7437713 *||Jan 10, 2002||Oct 14, 2008||Microsoft Corporation||Automated system that tests software on multiple computers|
|US20030023406||Jul 26, 2002||Jan 30, 2003||Kabushiki Kaisha Toshiba||Modification risk degree measurement system, modification risk degree measurement method and modification risk degree measurement program|
|US20040015863 *||May 24, 2001||Jan 22, 2004||Ibm Corporation||Automatically generated symbol-based debug script executable by a debug program for software debugging|
|US20080184079 *||Jan 31, 2007||Jul 31, 2008||Microsoft Corporation||Tracking down elusive intermittent failures|
|1||Holly, R., "I, Testbot," Dr. Dobb's Journal, May 2006, pp. 42-44, http://www.ddj.com.|
|U.S. Classification||714/48, 717/124, 714/38.14|
|Cooperative Classification||G06F11/076, G06F11/008|
|European Classification||G06F11/07P2A2, G06F11/00M|
|May 20, 2008||AS||Assignment|
Owner name: FUJITSU SIEMENS COMPUTERS GMBH, GERMANY
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:KAEFER, GERALD;KOENIG, CHRISTOPH;SCHMID, REINER;REEL/FRAME:020973/0801;SIGNING DATES FROM 20080425 TO 20080428
Owner name: FUJITSU SIEMENS COMPUTERS GMBH, GERMANY
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:KAEFER, GERALD;KOENIG, CHRISTOPH;SCHMID, REINER;SIGNING DATES FROM 20080425 TO 20080428;REEL/FRAME:020973/0801
|Nov 16, 2010||CC||Certificate of correction|
|Jan 28, 2014||FPAY||Fee payment|
Year of fee payment: 4