Data structure, methods, and computer program products for storing text data strings used to display text information on a display terminal
First Claim
1. A computer-readable medium having stored therein a data structure in the form of a language module for storing data strings used by a display management module to display information on a display terminal, wherein said data structure comprises a string data area stored in a range of memory addresses in the computer-readable medium, wherein said string data area includes a plurality of data strings to be displayed by the display management module, wherein each character of each data string is a character selected from the group consisting of standard ASCII, extended ASCII, and double byte characters, wherein said characters are stored in said string data area based on an escape code having a value selected such that all of the standard ASCII, extended ASCII, and double byte characters can be properly stored in the string data area, wherein by lowering or raising the value of the escape code, the number of unique double byte characters that may be encoded in the data strings can be increased or decreased, and wherein characters in a data string that are standard ASCII and extended ASCII characters having ASCII codes less than a selected escape code are stored by their ASCII representations in said string data area, while extended ASCII characters and standard ASCII characters, if any, having ASCII codes at least as great as the selected escape code and ASCII characters that identify double byte characters are encoded as two-byte codes and the encoded values are stored in said string data area.
3 Assignments
0 Petitions
Accused Products
Abstract
The present invention provides data structure, methods, and computer programs for storing text data used by a computer program to display information on a display terminal. Importantly, the present invention provides a data structure in which the data strings traditionally stored in the computer program are removed from the computer program and stored in the data structure. The data strings are associated with individual 16 bit identification numbers, called tokens, which are used to indicate the location of the data strings in the data structure. In light of this, the data strings are removed from the source code of the computer program and replaced with tokens that address the data strings in the data structure. As such, to display a data string, the computer program outputs a token associated with the data string and the command to display it to the display management module, and the data string is located in the data structure and displayed on the display terminal. The data structure may include not only ASCII characters, but also extended ASCII characters different from those used in the standard ASCII table and a double byte characters set (DBCS). As such, the data structure supports not only languages that use ASCII and extended ASCII characters, but also graphical languages that use DBCS characters. The data structure also includes font areas for storing font data associated with extended ASCII characters not displayable with the standard ASCII font set in the font module and DBCS characters. In one embodiment, the font area includes only font data for the DBCS characters that are used in the data strings stored in the data structure, thereby minimizing data storage.
45 Citations
39 Claims
- 1. A computer-readable medium having stored therein a data structure in the form of a language module for storing data strings used by a display management module to display information on a display terminal, wherein said data structure comprises a string data area stored in a range of memory addresses in the computer-readable medium, wherein said string data area includes a plurality of data strings to be displayed by the display management module, wherein each character of each data string is a character selected from the group consisting of standard ASCII, extended ASCII, and double byte characters, wherein said characters are stored in said string data area based on an escape code having a value selected such that all of the standard ASCII, extended ASCII, and double byte characters can be properly stored in the string data area, wherein by lowering or raising the value of the escape code, the number of unique double byte characters that may be encoded in the data strings can be increased or decreased, and wherein characters in a data string that are standard ASCII and extended ASCII characters having ASCII codes less than a selected escape code are stored by their ASCII representations in said string data area, while extended ASCII characters and standard ASCII characters, if any, having ASCII codes at least as great as the selected escape code and ASCII characters that identify double byte characters are encoded as two-byte codes and the encoded values are stored in said string data area.
-
14. A method for creating a data structure in a computer-readable medium in the form of a language module for storing data strings used by a display management module to display information on a display terminal, wherein said method comprises the steps of:
-
creating a string data area in a range of memory addresses in the computer-readable medium for storing each of the data strings; determining the number of standard ASCII, extended ASCII, and double byte characters to be stored in the string data area; selecting a value of an escape code such that all of the standard ASCII, extended ASCII, and double byte characters can be properly stored in the string data area, wherein by lowering or raising the value of the escape code, the number of unique double byte characters that may be encoded in the data strings can be increased or decreased; analyzing each character of each data string, wherein each character is a character selected from the group consisting of standard ASCII, extended ASCII, and double byte characters; encoding extended ASCII characters and standard ASCII characters, if any, having ASCII values at least as great as a selected escape code and ASCII characters that identify double byte characters with two-byte encoded values; storing each data string in the string data area, wherein for each data string said storing step stores standard ASCII characters and extended ASCII characters having ASCII codes less than the selected escape code by their ASCII representations and stores extended ASCII characters and standard ASCII characters, if any, having ASCII values greater than or equal to the selected escape code and ASCII characters that identify double byte characters by their encoded values as determined in said encoding step. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26)
-
-
27. A computer program product for creating a data structure in the form of a language module for storing data strings used by a display management module to display information on a display terminal, wherein the computer program product comprises:
-
a computer-readable storage medium having computer readable program code means embodied in said medium, said computer-readable program code means comprising; first computer instruction means for creating a string data area in a range of memory addresses in the computer-readable medium for storing each of the data strings; second computer instruction means for determining a value of an escape code that has been selected such that all of the standard ASCII, extended ASCII, and double byte characters can be properly stored in the string data area, wherein by lowering or raising the value of the escape code, the number of unique double byte characters that may be encoded in the data strings can be increased or decreased; third computer instruction means for analyzing each character of each data string, wherein each character is a character selected from the group consisting of standard ASCII, extended ASCII, and double byte characters; fourth computer instruction means for encoding extended ASCII characters and standard ASCII characters, if any, having ASCII values at least as great as the selected escape code and ASCII characters that identify double byte characters with two-byte encoded values; fifth computer instruction means for storing each data string in the string data area, wherein for each data string said fourth computer instruction means stores standard ASCII characters and extended ASCII characters having ASCII codes less than the selected escape code by their ASCII representations and stores extended ASCII characters and standard ASCII, if any, having ASCII values at least as great as the selected escape code and ASCII characters double byte characters by their encoded values as determined in said third computer instruction means. - View Dependent Claims (28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39)
-
Specification