System and method for message handling
First Claim
Patent Images
1. A system for dynamically providing a message during the execution of a computer application comprising:
- a computer on which the application executes;
a message file containing at least one message record on the computer the message record comprising;
a message number field;
an error number field;
a severity field;
a flags field; and
a message field;
a message handler executing on the computer, the message handler comprising;
an initialization process which, when the application is started, opens the message file to obtain the message record, and stores the message record as a message entry in a message table stored in a memory of the computer, and then closes the message file;
a get process to get the message entry the message table when a message trap occurs during execution of the application, a format process to generate the message in accordance with the message entry; and
an output process to output the message.
3 Assignments
0 Petitions
Accused Products
Abstract
A message handler can dynamically change messages that are output during execution of a computer application. The messages are stored in a message file. When the application begins execution, it opens the message file, extracts the messages, stores them as message entries in a message table in computer memory and closes the file. Message records and message entries have formatting tags that allow dynamic substitution of desired information without expensive recompiling or version releases.
-
Citations
12 Claims
-
1. A system for dynamically providing a message during the execution of a computer application comprising:
-
a computer on which the application executes;
a message file containing at least one message record on the computer the message record comprising;
a message number field;
an error number field;
a severity field;
a flags field; and
a message field;
a message handler executing on the computer, the message handler comprising;
an initialization process which, when the application is started, opens the message file to obtain the message record, and stores the message record as a message entry in a message table stored in a memory of the computer, and then closes the message file;
a get process to get the message entry the message table when a message trap occurs during execution of the application, a format process to generate the message in accordance with the message entry; and
an output process to output the message. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for dynamically providing a message during execution of a computer application, comprising:
-
storing at least one message record in a message file, the message record comprising;
a message number field;
an error number field;
a severity field;
a flags field; and
a message field;
opening the message file to obtain the message record;
storing the message record as a message entry in a message table stored in a computer memory;
closing the message file;
encountering a message trap;
obtaining a message entry from the message table when the message trap is encountered;
generating the message in accordance with the obtained message entry; and
outputting the message. - View Dependent Claims (9, 10, 11, 12)
formatting a timestamp in accordance with a timestamp format; and
outputting the timestamp along with the message.
-
-
12. The method recited in claim 8, wherein the message field contains formatting tags.
Specification