Inter-computer communication method and apparatus utilizing clocked message playback and message format definition files
First Claim
1. A message processing apparatus for processing inter-computer messages, comprising:
- a communications port transmitting messages between the message processing apparatus and another device or application program;
a message log storing input messages from said communications port;
message playback means for playing back stored messages from said message log;
message decoding means for decoding messages;
a user interface providing a user with interactive control of the apparatus by generating control signals in response to user interaction;
a processor executing an application program and receiving control signals from said user interface permitting control of the application program; and
a menu processor utilizing said user interface to present a user with a menu of apparatus configurations wherein each apparatus configuration configures the apparatus to perform a different function, said menu processor also permitting the user to select one of the apparatus configurations, wherein the apparatus configurations includea first configuration for processing input messages from said communications port by controlling said message decoding means to decode input messages from said communications port and send the decoded input messages to said processor for manipulation by the application program,a second configuration for playing back an input message from said message log by reading the input message from said message log and sending the read input message to said processor for manipulation by the application program, anda third configuration for logging communications port inputs by routing input messages from said communications port to said message log,said second configuration successively reading a clock to play back the message from said message log at a rate substantially matching a desired rate.
2 Assignments
0 Petitions
Accused Products
Abstract
An inter-computer communication method and apparatus permits inter-computer communication of computer messages having a format easily defined by user in an ASCII configuration file. Instead of rewriting code to accommodate a differently formatted message, the invention utilizes an ASCII configuration file that can be easily created and changed to define various message formats. Message encodation involves inserting a unique header in the message identifying the message format and building a message according to the defined format. Message decodation parses this header to access the configuration file and determine message format. A message processing apparatus processes inter-computer messages in one of three configurations including a first configuration for processing input messages from a communications port by controlling a message decoder to decode input messages and send the decoded input messages to a processor for manipulation by an application program; a second configuration for playing back an input message from the message log and sending the read input message to the processor for manipulation by the application program; and a third configuration for logging inputs by routing input messages from the communications port to the message log.
67 Citations
31 Claims
-
1. A message processing apparatus for processing inter-computer messages, comprising:
-
a communications port transmitting messages between the message processing apparatus and another device or application program; a message log storing input messages from said communications port; message playback means for playing back stored messages from said message log; message decoding means for decoding messages; a user interface providing a user with interactive control of the apparatus by generating control signals in response to user interaction; a processor executing an application program and receiving control signals from said user interface permitting control of the application program; and a menu processor utilizing said user interface to present a user with a menu of apparatus configurations wherein each apparatus configuration configures the apparatus to perform a different function, said menu processor also permitting the user to select one of the apparatus configurations, wherein the apparatus configurations include a first configuration for processing input messages from said communications port by controlling said message decoding means to decode input messages from said communications port and send the decoded input messages to said processor for manipulation by the application program, a second configuration for playing back an input message from said message log by reading the input message from said message log and sending the read input message to said processor for manipulation by the application program, and a third configuration for logging communications port inputs by routing input messages from said communications port to said message log, said second configuration successively reading a clock to play back the message from said message log at a rate substantially matching a desired rate. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer implemented method of encoding data into a message format specified by an ASCII message definition file, comprising:
-
reading the ASCII message format definition file to extract header data identifying the message format, copying the extracted header data into a message string, reading the ASCII message format definition file to extract format information including a number of groups in the message format and a number and type of fields in each group, and writing data into the message string according to the format information extracted by said reading step; initializing a message database with the ASCII configuration file to define a plurality of message formats wherein each message format includes a number of groups and a number and type of fields in each group, said reading the ASCII message format definition file to extract header data step including the substeps of accessing the message database to extract the header data corresponding to a desired message format, said reading the ASCII message format definition file to extract format information step including the substeps of accessing the message database to extract format information associated with the extracted header data and corresponding to the desired message format. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20, 21)
-
-
22. A computer implemented method of decoding a computer message, comprising:
-
receiving the computer message; extracting header data from the received computer message; matching the extracted header data against header data in an ASCII message format definition file; determining the format of the computer message based on said matching step including the substeps of determining how many groups are in the message and how many and what types of fields are in each group; and parsing the computer message into fields according to the format determined in said determining step to decode each field according to the format determined in said determining step, said receiving step receiving messages in a first functional configuration for recording received messages in a message log, and a second functional configuration for playing back an input message from the message log, wherein a user can select the first or second functional configurations with a user interface. - View Dependent Claims (23, 24, 25, 26, 27, 28, 29, 30)
-
-
31. A computer implemented method of decoding a computer message, comprising:
-
receiving the computer message; extracting header data from the received computer message; matching the extracted header data against header data in an ASCII message format definition file; determining the format of the computer message based on said matching step including the substeps of determining how many groups are in the message and how many and what types of fields are in each group; parsing the computer message into fields according to the format determined in said determining step to decode each field according to the format determined in said determining step; finding the computer message in a stream of data by identifying delimiter data; said extracting header data step extracting header data based on a relative position of the delimiter data in the computer message; and utilizing at least one of the fields from the parsed message in another computer implemented process.
-
Specification