Claims
- 1. A method in a computer system for consolidating related success reports, each corresponding to a particular error source and error type, the method comprising the computer-implemented steps of;
- receiving a first success report specifying a selected error source and a selected error type;
- in response to the step of receiving the first success report, generating consolidated success report specifying said selected error source and said selected error type;
- after the step of receiving the first success report, receiving a second success report specifying said selected error source and said selected error type;
- inhibiting the generation of a redundant consolidated success report specifying said selected error source and said selected error type in response to the step of receiving the second success report;
- receiving an error report specifying said selected error source and said selected error type;
- after the step of receiving the error report, receiving a third success report specifying said selected error source and said selected error type;
- in response to the step of receiving the third success report, generating a consolidated success report specifying said selected error source and said selected error type;
- after the step of receiving the third success report, receiving a fourth success report specifying said selected error source and said selected error type; and
- inhibiting the generation of a redundant consolidated success report specifying said selected error source and said selected error type in response to the step of receiving the fourth success report.
- 2. The method of claim 1 wherein the received error reports and success reports are received in response to attempting a failure-susceptible operation, further including the computer-implemented steps of:
- when the operation is attempted, determining whether the operation succeeded or failed;
- if it is determined in the determining step that the operation succeeded, issuing a success report; and
- if it is determined in the determining step that the operation failed, issuing a failure report.
- 3. The method of claim 2 wherein a plurality of different failure-susceptible operations are defined by a computer program, and wherein the determining step and both issuing steps are performed in response to an attempt to perform any of the plurality of operations, and wherein both the success report issued in the step of issuing the success report and the failure report issued in the step of issuing the failure report contains an identification of the operation attempted.
- 4. A method in a computer system for consolidating error and success reports generated by an error-reporting program, the method comprising the steps of:
- receiving an error report specifying one of a plurality of error-prone operations;
- in response to the step of receiving an error report, consolidating the received error report by:
- determining whether a success report specifying the error-prone operation specified by the received error report has been received more recently than the last error report specifying the error-prone operation specified by the received error report, and
- generating a consolidated error report specifying the error-prone operation specified by the received error report only if a success report specifying the error-prone operation specified by the received error report has been received more recently than the last error report specifying the error-prone operation specified by the received error report;
- receiving a success report specifying one of a plurality of error-prone operations; and
- in response to the step of receiving a success report, consolidating the received success report by:
- determining whether an error report specifying the error-prone operation specified by the received success report has been received more recently than the last success report specifying the error-prone operation specified by the success error report, and
- generating a consolidated success report specifying the error-prone operation specified by the received success report only if an error report specifying the error-prone operation specified by the received success report has been received more recently than the last success report specifying the error-prone operation specified by the received success report.
- 5. A computer-readable medium whose contents cause a computer system to consolidate error and success messages generated by an error-reporting program by performing the steps of:
- receiving an error report specifying one of a plurality of error-prone operations;
- in response to the step of receiving an error report, generating a consolidated error report specifying the error-prone operation specified by the received error report only if the last error report specifying the error-prone operation specified by the received error report was received less recently than the last success report specifying the error-prone operation specified by the received error report;
- receiving a success report specifying one of a plurality of error-prone operations; and
- in response to the step of receiving a success report, generating a consolidated success report specifying the error-prone operation specified by the received success report only if the last success report specifying the error-prone operation specified by the received success report was received less recently than the last error report specifying the error-prone operation specified by the received success report.
- 6. An apparatus for consolidating error reports generated by an error reporting program for an error-prone operation attempted by the error-reporting program using success reports also generated by the error-reporting program for the error-prone operation, comprising:
- an error and success report receiver for receiving from the error-reporting program an error report when the error-reporting program unsuccessfully attempts the error-prone operation and for receiving from the error-reporting program a success report when the error-reporting program successfully attempts the error-prone operation; and
- a consolidated error report generator that generates a consolidated error report in response to receiving an error report in the error and success report receiver only in cases where each earlier-received error report, if any, was succeeded by a success report.
- 7. A method in a computer system for consolidating error reports generated by an error-reporting program, the method comprising the steps of:
- determining that the error-reporting program has generated a selected error report specifying a selected one of a plurality of error-prone operations; and
- in response to the determining step, consolidating the selected error report by:
- determining whether a success report specifying the selected error-prone operation has been generated by the error-reporting program more recently than the last error report was generated by the error-reporting program specifying the selected error-prone operation, and
- generating a consolidated error report specifying the selected error-prone operation only if a success report specifying the selected error-prone operation has been generated by the error-reporting program more recently than the last error report was generated by the error-reporting program specifying the selected error-prone operation.
- 8. The method of claim 7 wherein each success report specifying the selected error-prone operation is generated by the error-reporting program when the selected error-prone operation is successfully attempted by the error-reporting program.
- 9. The method of claim 7 wherein each error report specifying the selected error-prone operation is generated by the error-reporting program when the selected error-prone operation is unsuccessfully attempted by the error-reporting program.
- 10. A computer-readable medium whose contents cause a computer system to consolidate error messages generated by an error-reporting program by performing the steps of:
- determining that the error-reporting program has generated a selected error report specifying a selected one of a plurality of error-prone operations; and
- in response to the determining step, consolidating the selected error report by, generating a consolidated error report specifying the selected error-prone operation only if a success report specifying the selected error-prone operation has been generated by the error-reporting program more recently than the last error report was generated by the error-reporting program specifying the selected error-prone operation.
- 11. A method in a computer system for consolidating success reports each indicating that an attempt to perform an error-prone operation has succeeded, the method comprising the steps of:
- receiving a success report specifying a selected one of a plurality of error-prone operations; and
- in response to the step of receiving a success report:
- determining whether the last success report specifying the error-prone operation specified by the received success report was received less recently than the last error report specifying the error-prone operation specified by the received success report, and
- generating a consolidated success report specifying the error-prone operation specified by the received success report only if the last success report specifying the error-prone operation specified by the received success report was received less recently than the last error report specifying the error-prone operation specified by the received success report.
- 12. The method of claim 54 wherein each success report specifying the selected error-prone operation is generated by the error-reporting program when the selected error-prone operation is successfully attempted by the error-reporting, program.
- 13. The method of claim 54 wherein each error report specifying the selected error-prone operation is generated by the error-reporting program when the selected error-prone operation is unsuccessfully attempted by the error-reporting program.
- 14. A computer-readable medium whose contents cause a computer system to consolidate success messages each indicating that an attempt to perform an error-prone operation has succeeded by performing the steps of:
- receiving a success report specifying one of a plurality of error-prone operations; and
- in response to the step of receiving a success report:
- determining whether the last success report specifying the error-prone operation specified by the received success report was received less recently than the last error report specifying the error-prone operation specified by the received success report, and
- generating a consolidated success report specifying the error-prone operation specified by the received success report only if the last success report specifying the error-prone operation specified by the received success report was received less recently than the last error report specifying the error-prone operation specified by the received success report.
- 15. A method in a computer system for consolidating reports each indicating a result of an attempt to perform an error-prone operation by a selected program, the result indicating whether the error-prone operation succeeded or failed, the method comprising:
- receiving a result report specifying the result of an attempt to perform a selected one of a plurality of error-prone operations by the selected program; and
- in response to the step of receiving the result report, generating a consolidated result report specifying the error-prone operation specified by the received result report only if the last result report specifying the same error-prone operation specified by the received result report specified a result that is different from the result specified in the last result report.
- 16. The method of claim 15 wherein the received result report is a success report indicating that the error-prone operation succeeded, and the last result report is an error report indicating that the error-prone operation failed.
- 17. The method of claim 15 wherein the received result report is an error report indicating that the error-prone operation failed, and wherein the last result report is a success report indicating that the error-prone operation succeeded.
- 18. A computer memory containing an error state data structure for consolidating error and success messages each corresponding to one of a plurality of error-prone operations, the error state data structure comprising a plurality of entries each identifying a different error-prone operation and indicating whether an error message or a success message corresponding to the error-prone operation has been received more recently, such that the error state data structure may be used when an error message corresponding to an error-prone operation is received to forward the error message only if the error state data structure indicates that a success report corresponding to the error-prone operation was received more recently than an error report corresponding to the error-prone operation, and such that the error state data structure may be used when an success message corresponding to an error-prone operation is received to forward the success message only if the error state data structure indicates that an error report corresponding to the error-prone operation was received more recently than a success report corresponding to the error-prone operation.
CROSS-REFERENCE TO RELATED APPLICATION
This application is a continuation of U.S. patent application No. 08/403,243, filed Mar. 10, 1995, now abandoned.
US Referenced Citations (6)
Continuations (1)
|
Number |
Date |
Country |
Parent |
403243 |
Mar 1995 |
|