US6373409B1ExpiredUtility

Method and computer program product for implementing text conversion table compression

38
Assignee: IBMPriority: Jun 19, 2000Filed: Jun 19, 2000Granted: Apr 16, 2002
Est. expiryJun 19, 2020(expired)· nominal 20-yr term from priority
H03M 7/30
38
PatentIndex Score
3
Cited by
5
References
15
Claims

Abstract

A method and computer program product are provided for implementing text conversion table compression. For implementing text conversion table compression, a character sequence is loaded from a full-size conversion table. The character sequence is checked for one of plurality of character patterns. Responsive to identifying one of the plurality of character patterns, the character sequence is compressed into a compressed conversion table for the identified one character pattern. Responsive to failing to identify one of the plurality of character patterns, the character sequence is copied into the compressed conversion table. The character sequence from the full-size conversion table is checked for one of the plurality of character patterns including a repeating character sequence, a ramping character sequence, and a repeating high byte character sequence.

Claims

exact text as granted — not AI-modified
What is claimed is:  
     
       1. A computer-implemented method for implementing text conversion table compression of a full-size conversion table into a compressed conversion table, said full-size conversion table for mapping characters in one codepage to another codepage; said computer-implemented method comprising the steps of: 
       loading said full-size conversion table,  
       loading a character sequence from said full-size conversion table;  
       checking said loaded character sequence for one of plurality of character patterns;  
       responsive to identifying one of said plurality of character patterns, compressing said character sequence for said identified one character pattern into said compressed conversion table; and  
       responsive to failing to identify one of said plurality of character patterns, copying said character sequence into said compressed conversion table.  
     
     
       2. A computer-implemented method for implementing text conversion table compression as recited in  claim 1  wherein the steps of loading said character sequence from said full-size conversion table and checking said character sequence for one of plurality of character patterns, responsive to identifying one of said plurality of character patterns, compressing said character sequence for said identified one character pattern into said compressed conversion table and responsive to failing to identify one of said plurality of character patterns, copying said character sequence into said compressed conversion table are sequentially repeated for each character sequence from said full-size conversion table. 
     
     
       3. A computer-implemented method for implementing text conversion table compression as recited in  claim 1  wherein the step of checking said character sequence for one of plurality of character patterns includes the step of checking said character sequence for a plurality of repeating characters in said character sequence from said full-size conversion table. 
     
     
       4. A computer-implemented method for implementing text conversion table compression as recited in  claim 1  wherein the step of checking said character sequence for one of plurality of character patterns includes the step of checking said character sequence for a plurality of ramping characters in said character sequence from said full-size conversion table. 
     
     
       5. A computer-implemented method for implementing text conversion table compression as recited in  claim 1  wherein the step of checking said character sequence for one of plurality of character patterns includes the step of checking said character sequence for a plurality of repeating high byte characters in said character sequence from said full-size conversion table. 
     
     
       6. A computer-implemented method for implementing text conversion table compression as recited in  claim 1  wherein the step responsive to identifying one of said plurality of character patterns, of compressing said character sequence for said identified one character pattern into said compressed conversion table includes the steps, responsive to an identified repeating character pattern, providing a compressed character sequence of three characters, said compressed character sequence including a repeating sequence signal, a number of times the repeating character repeats, and the repeating character. 
     
     
       7. A computer-implemented method for implementing text conversion table compression as recited in  claim 1  wherein the step responsive to identifying one of said plurality of character patterns, of compressing said character sequence for said identified one character pattern into said compressed conversion table includes the steps of, responsive to an identified ramping character pattern, providing a compressed character sequence of three characters, said compressed character sequence including a ramping sequence signal, a number of characters in the ramping sequence, and a starting character of the ramping sequence. 
     
     
       8. A computer-implemented method for implementing text conversion table compression as recited in  claim 1  wherein the step responsive to identifying one of said plurality of character patterns, of compressing said character sequence for said identified one character pattern into said compressed conversion table includes the steps of responsive to an identified repeating high byte character pattern, providing a compressed character sequence including a high byte sequence signal, a number of encoded characters, a first character, and encoded characters including lower bytes of remaining characters in said identified repeating high byte character pattern. 
     
     
       9. A computer-implemented method for implementing text conversion table compression as recited in  claim 1  further includes the steps of identifying a predefined signal in said character sequence from said full-size conversion table and inserting a predefined padding character after said predefined signal. 
     
     
       10. A computer program product for implementing text conversion table compression of a full-size conversion table into a compressed conversion table, in a computer system including a central processor unit, said full-size conversion table for mapping characters in one codepage to another codepage; said computer program product including a plurality of computer executable instructions stored on a computer readable medium, wherein said instructions, when executed by said central processor unit, cause the central processor unit to perform the steps of: 
       loading said full-size conversion table,  
       loading a character sequence from said full-size conversion table;  
       checking said character sequence for one of plurality of character patterns;  
       responsive to identifying one of said plurality of character patterns, compressing said character sequence for said identified one character pattern into said compressed conversion table; and  
       responsive to failing to identify one of said plurality of character patterns, copying said character sequence into said compressed conversion table.  
     
     
       11. A computer program product for implementing text conversion table compression in a computer system as recited in  claim 10  wherein the step of checking said character sequence for one of plurality of character patterns includes the steps of checking said character sequence for a repeating character sequence, checking said character sequence for a ramping character sequence, and checking said character sequence for a repeating high byte character sequence. 
     
     
       12. A computer program product for implementing text conversion table compression in a computer system as recited in  claim 11  wherein the step of responsive to identifying one of said plurality of character patterns, compressing said character sequence for said identified one character pattern into said compressed conversion table includes the steps of starting a compression sequence with a predefined character signal for said identified one character pattern. 
     
     
       13. A computer-implemented method for implementing text conversion table compression of a full-size conversion table into a compressed conversion table, said full-size conversion table for mapping characters in one codepage to another codepage; said computer-implemented method comprising the steps of: 
       loading said full-size conversion table,  
       loading a character sequence from said full-size conversion table;  
       checking said character sequence for one of a repeating character sequence, a ramping character sequence; and a repeating high byte character sequence;  
       responsive to identifying one of said repeating character sequence, said ramping character sequence; or said repeating high byte character sequence, compressing said character sequence into said compressed conversion table responsive to said identified one character sequence; and  
       responsive to failing to identify one of said plurality of character patterns, copying said character sequence into said compressed conversion table.  
     
     
       14. A computer-implemented method for implementing text conversion table compression as recited in  claim 13  wherein the step of compressing said character sequence into a compressed conversion table responsive to said identified one character sequence includes the step of providing a signal character indicating one of a repeating character sequence, a ramping character sequence; or a repeating high byte character sequence for said identified one character sequence. 
     
     
       15. A computer-implemented method for implementing text conversion table compression as recited in  claim 14  further includes the steps of identifying a predefined signal in said character sequence from said full-size conversion table and inserting a predefined padding character after said predefined signal in said compressed conversion table.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.