Method and apparatus for efficiently generating and implementing engine error codes and verifying the correctness of the implementation of the engine error codes
First Claim
1. A method for efficiently generating engine error codes, comprising:
- providing an error table specifically tailored for a first engine and providing links to information stored in an error structure of the first engine; and
generating a list of errors according to the error table using a general run time generator, wherein the error table is generated according to a product error specification.
5 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for efficiently generating engine error codes is disclosed. An error processing system according to the present invention includes an error table describing error states for use in generating error codes based upon the an error even, an engine for providing an error event and an error processor, coupled to the engine and the error table, the error processor including a general run time error generator for generating a list of errors according to the error table. Accordingly, modifications may be made to the error table for changes to the product error specification and for new products that do not necessitate a re-coding of the error processing system.
96 Citations
28 Claims
-
1. A method for efficiently generating engine error codes, comprising:
-
providing an error table specifically tailored for a first engine and providing links to information stored in an error structure of the first engine; and
generating a list of errors according to the error table using a general run time generator, wherein the error table is generated according to a product error specification. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
updating the product error specification; and
updating the error table to match the product error specification.
-
-
3. The method of claim 1 further comprises:
-
receiving an error code from a first engine;
generating engine errors based upon a structure provided by the error table;
processing the generated engine errors using error masking;
transforming the errors; and
returning a list of errors.
-
-
4. The method of claim 3 further comprising, prior to processing the generated engine errors using error masking, determining whether the generated engine errors comprise special error instructions and processing the special instructions when the generated engine errors comprise special error instructions.
-
5. The method of claim 3 wherein the processing the generated engine errors using error masking further comprises setting an error mask.
-
6. The method of claim 3 wherein the processing the generated engine errors using error masking further comprises clearing an error mask.
-
7. The method of claim 3 wherein the generating engine errors based upon a structure provided by the error table comprises using a breadth first search.
-
8. The method of claim 3 wherein the generating engine errors based upon a structure provided by the error table comprises using a depth first search.
-
9. The method of claim 3 wherein the generating engine errors based upon a structure provided by the error table comprises using a combination of breadth and depth searching.
-
10. A system for processing errors, comprising:
-
an engine for providing an error event;
an error table describing error states and providing links to information stored in an error structure of the engine for use in generating error codes based upon the error event; and
an error processor, coupled to the engine and the error table, the error processor including a general run time error generator for generating a list of errors according to the error table, wherein the error table is generated according to a product error specification. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. A printer, comprising:
-
a channel for receiving a data stream from a physical connection running a transport protocol stack;
an interpreter, coupled to the channel, for converting a description of intended print instances in the data screen into images that are to be marked on print media;
an input, output and a marker, the input providing the media to a marker for producing marks on the print media according to the images, the marker providing the printed media to the output; and
a system controller for implementing control functions for processing the images from the interpreter to the marker, the system controller further comprising a system for processing errors, the system for processing errors comprising;
an engine for providing an error event;
an error table describing error states and providing links to information stored in an error structure of the engine for use in generating error codes based upon the error event; and
an error processor, coupled to the engine and the error table, the error processor including a general run time error generator for generating a list of errors according to the error table. - View Dependent Claims (19, 20, 21, 22, 23, 24, 25, 26)
-
-
27. An article of manufacture comprising a program storage medium readable by a computer, the medium tangibly embodying one or more programs of instructions executable by the computer to perform a method for efficiently generating and implementing engine error codes and verifying the correctness of the implementation of the engine error codes, the method comprising:
-
providing an error table generated according to a product error specification and specifically tailored for a first engine;
providing links to information stored in an error structure of the first engine; and
generating a list of errors according to the error table using a general run time generator. - View Dependent Claims (28)
updating the product error specification; and
updating the error table to match the product error specification.
-
Specification