×

General data stream parser for encoding and decoding data and program interface for same

  • US 5,339,421 A
  • Filed: 03/22/1991
  • Issued: 08/16/1994
  • Est. Priority Date: 03/22/1991
  • Status: Expired due to Fees
First Claim
Patent Images

1. In a data processing system including at least one processing node with a data communications channel, a computer implemented method of parsing data in a data stream incoming on the channel and communicating the data to a program executing on the node, said data stream having one of a plurality of different formats, comprising the computer implemented steps of:

  • initializing this instance of communication between a parser and the program, said initialing including identifying a parse table among a plurality of parse tables, each of said parse tables containing linked data descriptors which define the order of occurrence of individual data items within the data stream, thereby defining the format of the data stream,identifying one or more templates each of which corresponds to one or more said data items and allocating private storage for individual items, wherein said template defines storage locations in the private storage for passing the data items with which it is associated between the program and the parser and thereafterby the program, requesting a templates worth of data received by the parser on the channel from the data stream by issuing a call to the parser identifying the parse table, the state of encoding or decoding of the data stream by the parse table defining the next template to be used,by the parser, decoding the incoming data in accordance with the format of the data stream as indicated by the identified parse table to extract the individual data items, by repetitively interpreting the descriptors of the parse table in synchronization with the incoming data stream, andstoring the individual data items in their respective allocated storage areas for the program.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×