Generating logically organized readable report of information in language of choice for data asynchronously generated in a multi-language environment in a multi-platform computing environment.
Original Publication Date: 2002-Dec-20
Included in the Prior Art Database: 2003-Jun-21
For a process that produces a report of information where the process is performing multiple simultaneous operations with the information output from the operations generated asynchronously, running in a multi-language environment in a multi-platform computer environment. Where the time to perform the actual physical output of the information can be negligible compared to the time by long running operations to compute the data for the information. To produce this information for a person or persons to be able to read the information in a logically organized order, either the report in its entire whole or individual selected sections, in the person's choice of language on the person's choice of computing platform system. Description of the solution follows. The processing that creates the information writes out data which is not in its final form that a user reads but which instead is in an intermediate form to a file which is not what a person reads directly. This data is binary encoded data that is written as data records to the file. The data record contents include identifier values of the operation the record is for, a message number, any number of token strings for the message. These binary data records are written to the file as they are generated by the simultaneous asynchronous operations. The file with this binary data is an intermediate file and is not the final file that user reads directly. In the header of this intermediate file, is included a field to indicate the type of computing platform where file was generated (big endian or little endian system). After the processing has completed and all the data has been generated, post processing of the binary file is needed. A separate step of post processing of the intermediate binary data file is needed to format the data into the text that is readable by a person and in a logically organized order in the language of choice of the person who is performing the post processing of the data. Different persons can each format in their choice of language. The formatter process takes the data file, reads through the file, orders and processes the binary records, and the records formatted for output in the logical organized order. The formatter processes each binary record, for the message number of the binary record, the formatter gets the message text corresponding to that message number in the language of the user and places the token strings included in the binary record into the variable parts of the message text, if any, and outputs the message text. The formatter gets from the header of the data file, the type of computing platform where the data file was generated, and as necessary converts binary numeric data from the binary file into the appropriate data representation (big endian or little endian) for the computing platform that the formatter is running on. With post processing of the intermediate binary data file, the entire contents can be formatted or the formatter can be made to format for the data of specific operations. The formatter processes the data file and only formats those records that apply to the desired data. The data can be formatted repeatedly if different parts required or if formatted in different language is required without having to repeat the process that created the data.