JPS581240A - Code conversion system - Google Patents
Code conversion systemInfo
- Publication number
- JPS581240A JPS581240A JP9927481A JP9927481A JPS581240A JP S581240 A JPS581240 A JP S581240A JP 9927481 A JP9927481 A JP 9927481A JP 9927481 A JP9927481 A JP 9927481A JP S581240 A JPS581240 A JP S581240A
- Authority
- JP
- Japan
- Prior art keywords
- code
- designation
- conversion
- category
- output
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M7/00—Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
Abstract
Description
【発明の詳細な説明】
本発明はデータ感層装置において、任意の入力コードを
任意の出力コードに変換を行う場合、処理プログラムを
作成することなく利用者が予めテーブル作成用のパラメ
ータを指定するだけで可能とするコード変換方式に関す
る。DETAILED DESCRIPTION OF THE INVENTION The present invention provides a data sensitive device in which when converting an arbitrary input code into an arbitrary output code, the user specifies parameters for table creation in advance without creating a processing program. Concerning a code conversion method that is only possible with
現在データ6理装置として、例えば帳票上に記載された
文字畳を認識し入力する奄のとして光学文字読取装置(
OCR装置)がある。OCR懺置装は仮名文字、数字、
アルファベット文字等の複雑な文字が記載され九帳票が
読みとられている。その読みとルにおいて、例えばある
入力文字コードをある74?ルドでは、これをそのt\
比出力たいが、別のフィールドではコードを変換して出
力したい場合がある。具体的には第11i1に示すよう
な帳票において、フィールドが■及び■と定義されてい
て、■は数字項目フィールドで、*U乗X演算子O記号
として入力コードをそのま\出力するが、■はカナ項目
フィールドであ〕、*はアランクに変換して出力を行う
ような場合であるOこれらの処理を同一装置で行う場合
、従来は文字変換プログ2ムを別個に設けて処理してい
た0とζろが、一般に使われている文字コードは約13
0種位s+)、それに対応す為変換プログツムを個別に
作成することは複雑とな)問題であり九〇本発g4ov
t的は帳票処理におけるフィールド定義を行う場合、指
定コードに対応する特殊な変換テーブルを設けて、フィ
ールド毎の文字変換を可能とするコード変換方式を提供
するKある。Currently, as a data processing device, for example, an optical character reader (such as an optical character reader) that recognizes and inputs characters written on a form.
There is an OCR device). The OCR device can detect kana characters, numbers,
Nine forms containing complex characters such as alphabetical characters are read. In the reading, for example, if a certain input character code is 74? In Rudo, this is the t\
Although you want to output a specific value, you may want to convert the code and output it in another field. Specifically, in the form shown in No. 11i1, the fields are defined as ■ and ■, and ■ is a numeric item field, and the input code is output as is as the *U power X operator O symbol, but ■ is a kana item field], and * is a case where the data is converted to arank and output.O If these processes were performed on the same device, conventionally a character conversion program 2 was installed separately. The commonly used character codes for ta0 and ζro are approximately 13
0 class s+), it is a complicated problem to create a conversion program individually to correspond to it, and 90 times g4ov
When defining fields in form processing, a special conversion table corresponding to a designated code is provided to provide a code conversion method that enables character conversion for each field.
本発明の特徴は処理対象となるフィールドにおける変換
指定と前記フィールドに含まれる任意の入力コードのカ
テゴリテーブルの変換指定により変換すべき出力コード
テーブルを選択して、任意の出力コードに変換を行うこ
とにより上記目的を達してい石。A feature of the present invention is that an output code table to be converted is selected based on a conversion specification in a field to be processed and a conversion specification of a category table of an arbitrary input code included in the field, and the conversion is performed into an arbitrary output code. The above purpose has been achieved by the stone.
以下、具体的に本発明の実現方法を説明する。Hereinafter, a method for realizing the present invention will be specifically explained.
第1図に示すような帳票において、フィールドが■及び
■と定義されていて、前述と同じように■は数字項目フ
ィールドで、*は乗算演算子の記号として入力コードを
そのt〜出力コードとすゐが、■はカナ項目フィールド
で、*は桁数合せのダミーのキャラクタとしておシ、*
をブランクに変換して出力を行う場合の方式を説明する
0各フイールド毎に第2図に示すように文字種指定制御
バイト囚を設け、それをカテゴリー指定1■とカテゴリ
ー指定20に分割する。カテゴリー指定1@は入力文字
種を指定するものであり、入力文字コー11に対応し★
第411に示すカテゴリーテーブルの誼尚バイトx’s
c’のカテゴリー指定1(B1との論理積がOで壜い場
合入力可能なものである。In the form shown in Figure 1, the fields are defined as ■ and ■, and as mentioned above, ■ is a numeric item field, and * is a multiplication operator symbol that indicates the input code and its output code. Sui, ■ is a kana item field, * is a dummy character to match the number of digits, and * is a kana item field.
A method for converting 0 to blank and outputting it will be explained.0 As shown in FIG. 2, a character type designation control byte is provided for each field, and it is divided into category designation 1 and category designation 20. Category specification 1 @ specifies the input character type, and corresponds to input character code 11★
Byte x's of the category table shown in No. 411
Category designation 1 of c' (can be input if the AND with B1 is O).
一方カテゴリー指定20は出力コードの変換を制御する
ものであり、第311に示すカテゴリーテブル0の該幽
バイ)Xゝ5C’のカテゴリー指定2(C′)と選択条
件を満した場合、カテゴリー指定20に対応し九第4図
に示す出力コードテーブル(ト)を選択し、該轟バイト
位置Xゝ5C’を参照してブランクコードXゝ40′に
変換出力する。On the other hand, the category specification 20 controls the conversion of the output code, and if the category specification 2 (C') of the category table 0 shown in No. 311 and the category specification 2 (C') of category table 0 are satisfied, the category specification is The output code table (g) corresponding to code 20 shown in FIG.
例えば、第1図に示すような帳票において、フィールド
■02*2−4を読む場合、数字、記号。For example, when reading field ■02*2-4 in a form as shown in FIG. 1, numbers and symbols are read.
乗算演算子があゐので、読みとp文字種指定コードは0
00 00110になる0本をOCR鉄置装読んだと自
に、第3図のカテゴリーテーブルのの*のパ4 )x’
sc’0コード00000010であり、カテゴリーテ
ブル
がthe+で、そat\出力する0又、フィールド■の
本本タシザンを読む場合、片カナと特殊変換指定の本記
号があるので、読みと夛文字種指定コードは00110
010となり、OCR装置で*を読んだとき、第3図の
カテゴリーテーブルaO*のバイトX ’5 C’のコ
ードFio0110010であ〕、カテゴリー指定2(
C’)K%殊変換指定が有効となシ、第4図の出力コー
ドテーブル■を選択し、*のバイトXゝ50’の出力コ
ードブランクXゝ40′の処理がなされる。Since there is a multiplication operator, the reading and p character type specification code are 0.
00 00110 When I read 0 books on the OCR machine, I realized that the * in the category table in Figure 3 is 4) x'
sc'0 code is 00000010, the category table is the+, soat\output 0mata, and when reading Honhon Tashizan of field is 00110
010, and when * is read by the OCR device, the code Fio0110010 of byte X '5 C' in the category table aO* in Fig.
C') If the K% special conversion specification is valid, the output code table (3) in FIG. 4 is selected, and the output code blank X'40' of the * byte X'50' is processed.
以上のように、各フィールド毎に文字種指定制御バイト
囚を設け、それをカテゴリー指定1@、カテゴリー指定
2(OK分けて、カテゴリー指定1■で入力文字種を指
定し、カテゴリー指定24QK特殊変換指定し、カテゴ
リテーブル0を参照し対応する出力テーブル■よ〕出力
コードの変換を行うことによ〕帳票のフィールドをデー
タ処理装置で読みと9、出力する時点で容品に変換する
ことができる。本発明においてはカテゴリー指定20は
3ビツトであり、従ってビットで対応すれば3種、コー
ドですれば7種の特殊変換指定が可能であるがこれに@
る(−〇−ではない0例えば8ビツトにすれば256種
の特殊変換指定も可能である0従つて、上I出力コード
テーブルが処理開始前に本発明のようにパラメータ指定
により作成されたならば、汎用性のあるコード変換が可
能となる0淘、上記説明においては1つの変換指定に対
し、すべての入力コード別に変換が可能な形式であるが
、第5図のように1つの変換指定に対し、1つの変換コ
ードを対応させ、変換することも可能である。As mentioned above, a character type specification control byte is provided for each field, and it is divided into category specification 1@, category specification 2 (OK), category specification 1■ specifies the input character type, and category specification 24QK special conversion specification. By referring to the category table 0 and converting the output code according to the corresponding output table 9, the field of the form can be read by the data processing device and converted to the product at the time of output. In the invention, the category specification 20 is 3 bits, so if you correspond with bits, you can specify 3 types of special conversions, and if you use codes, you can specify 7 types of special conversions.
(Not -〇- 0 For example, if it is set to 8 bits, 256 kinds of special conversion specifications are possible. 0 Therefore, if the above I output code table is created by specifying parameters as in the present invention before starting processing, For example, in the above explanation, it is possible to convert all input codes for one conversion specification, but as shown in Figure 5, one conversion specification It is also possible to perform conversion by associating one conversion code with the above.
以上夾施例によシ本発明を説明したが、本発明によれば
、任意の入力コードを任意の出力コードに変換を行う方
式において、指定によp任意の入力コードをガテゴリテ
ーブルを参照するととによ〕対応する出力コードテーブ
ルよシ任意の出力;−ドに変換することが文字変換プロ
グラムを作成することなく実現できる効果は大きい・4
al?IO簡単な説明
第111Fi帳票のフィールドを説明するための閣、第
2〜!I図は本発明のコード変換方式なa明する九めO
I+であル、第2図は文字種指定制御バイト、第3図は
カテゴリーテーブル、第4〜5図は出力コードテーブル
を示す。The present invention has been described above with reference to examples. According to the present invention, in a method for converting an arbitrary input code into an arbitrary output code, an arbitrary input code can be specified by referring to a category table. Then, the corresponding output code table can be used to convert arbitrary output to - code without creating a character conversion program, which has a great effect.4
Al? IO Brief Explanation To explain the fields of the 111th Fi form, the second ~! Figure I shows the code conversion method of the present invention.
Figure 2 shows the character type designation control byte, Figure 3 shows the category table, and Figures 4 and 5 show the output code table.
茅1図
丈カイメーン 2イ2・4 yン・
プ”/253
tA)
P5図
(q)
くKaya 1 Zujo Kaimen 2i 2.4 yin.
P”/253 tA) Figure P5 (q)
Claims (1)
処理装置において、複数の出力コード発生手段と皺各出
力コード発生手段のうち01つを選択するカテゴリー選
択手段とを具備し、咳カテゴリー選択手Rは入力される
変換指定コードによp#出力コード発生手段のうちの1
つを選択する一方、選択された出力コード発生手段から
入力された入力コードに基く所望の出力コードを出力す
ることを特徴とすみコード変換方式〇A data processing device for converting an arbitrary input code into an arbitrary output code, comprising a plurality of output code generation means and a category selection means for selecting one of the output code generation means, and a cough category selection means R. is one of the p# output code generation means according to the input conversion specification code.
The Sumi code conversion method is characterized by outputting a desired output code based on the input code inputted from the selected output code generation means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9927481A JPS581240A (en) | 1981-06-26 | 1981-06-26 | Code conversion system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9927481A JPS581240A (en) | 1981-06-26 | 1981-06-26 | Code conversion system |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS581240A true JPS581240A (en) | 1983-01-06 |
JPS6260855B2 JPS6260855B2 (en) | 1987-12-18 |
Family
ID=14243092
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP9927481A Granted JPS581240A (en) | 1981-06-26 | 1981-06-26 | Code conversion system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS581240A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59187689A (en) * | 1983-03-26 | 1984-10-24 | ヨツト・エム・フオイト・ゲ−エムベ−ハ− | Method and apparatus for discharging paper stock from paper stock dissolving apparatus |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5098720A (en) * | 1973-12-26 | 1975-08-06 |
-
1981
- 1981-06-26 JP JP9927481A patent/JPS581240A/en active Granted
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5098720A (en) * | 1973-12-26 | 1975-08-06 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59187689A (en) * | 1983-03-26 | 1984-10-24 | ヨツト・エム・フオイト・ゲ−エムベ−ハ− | Method and apparatus for discharging paper stock from paper stock dissolving apparatus |
JPH0429793B2 (en) * | 1983-03-26 | 1992-05-19 |
Also Published As
Publication number | Publication date |
---|---|
JPS6260855B2 (en) | 1987-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3281191B2 (en) | Character input method using numeric keypad and its device | |
JPS581240A (en) | Code conversion system | |
JP2569857B2 (en) | Variable byte length character input control method | |
JPH01155432A (en) | Data conversion system | |
JPH047759A (en) | Data file form converter | |
JP2856450B2 (en) | Kana-Kanji conversion method | |
JPH052578A (en) | Kana/kanji conversion system | |
JP2507980B2 (en) | Data conversion program automatic generation method | |
JPH02266413A (en) | Code converting method | |
JPS61163424A (en) | Keyboard | |
JPH11296510A (en) | Data converting device | |
JPH01243163A (en) | Method and device for processing information | |
JPH0440554A (en) | Character data processor | |
JPH064278A (en) | Method for generating flow chart by minicomputer | |
JPS58166375A (en) | Learning apparatus | |
JPH04158469A (en) | Document preparing device | |
JPH03244079A (en) | Method and device for generating retrieval expression | |
JPH036608A (en) | Control system for keyboard display | |
JPH06168285A (en) | Japanese data conversion processor between cad systems | |
JPH01181123A (en) | Information retrieving device | |
JPH0520241A (en) | Virtual terminal equipment | |
JPS5852742A (en) | Data update system | |
JPS63278139A (en) | Picture and calligraphy filing device | |
JPS6266315A (en) | Input control system | |
JPH03263218A (en) | Data form converting system and pack form data arithmetic system |