JPH06103023A - Japanese code conversion processing system - Google Patents

Japanese code conversion processing system

Info

Publication number
JPH06103023A
JPH06103023A JP10513892A JP10513892A JPH06103023A JP H06103023 A JPH06103023 A JP H06103023A JP 10513892 A JP10513892 A JP 10513892A JP 10513892 A JP10513892 A JP 10513892A JP H06103023 A JPH06103023 A JP H06103023A
Authority
JP
Japan
Prior art keywords
byte
japanese
characters
character
executing
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.)
Withdrawn
Application number
JP10513892A
Other languages
Japanese (ja)
Inventor
Akihiko Takahashi
明彦 高橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP10513892A priority Critical patent/JPH06103023A/en
Publication of JPH06103023A publication Critical patent/JPH06103023A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To improve operability in the case of preparing one byte/two bytes mixed data on a terminal. CONSTITUTION:This system is composed of a semantic analyzing means 1 to permit the transfer of characters from the two-byte system Japanese character to the one-byte system, code generating means 3 for outputting an objective program 4 generating the hardware instruction of transfer by inputting an intermediate language 2 outputted by the semantic analyzing means 1, and executing means 5 for executing the objective program by inputting the objective program 4 outputted from the code generating means 3 and inputting conversion enable two-byte system Japanese character data corresponding to the one-byte system character already prepared from a terminal 6 and stored in an external storage device 7 in the case of executing the objective program.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、コンピュータシステム
の日本語情報処理機能における日本語コード変換処理方
式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a Japanese code conversion processing system in a Japanese information processing function of a computer system.

【0002】[0002]

【従来の技術】従来、1バイト系の文字と2バイト系の
日本語の文字が混在しているデータを端末で作成する場
合、図2に示すように、1バイト系文字の社員番号を入
力した後、2バイト系日本語文字の氏名23を入力する
ときには、1バイトから2バイトへの変換キーの操作が
生じ、次に1バイト系文字の生年月日を入力するときに
は、2バイトから1バイトへの変換キー操作が生じてい
た。
2. Description of the Related Art Conventionally, when creating data in which 1-byte characters and 2-byte Japanese characters are mixed on a terminal, as shown in FIG. 2, an employee number of 1-byte characters is input. After inputting the name 23 of the 2-byte Japanese character, the operation of the conversion key from 1 byte to 2 bytes occurs, and when entering the birth date of the 1-byte character next, 2 bytes to 1 The conversion key operation to the byte occurred.

【0003】図3は従来のソースプログラム31の一例
を示す図であり、図2のデータ入力端末21から入力さ
れるデータに対応する入力レコード領域32、入力レコ
ード領域32のデータを処理する処理記述33から構成
されている。
FIG. 3 is a diagram showing an example of a conventional source program 31, and an input record area 32 corresponding to the data input from the data input terminal 21 of FIG. 2 and a processing description for processing the data in the input record area 32. It is composed of 33.

【0004】[0004]

【発明が解決しようとする課題】上述した従来の日本語
コード変換処理方式では、1バイト系の文字と2バイト
系の日本語の文字が混在しているデータを端末で作成す
る場合には操作性が悪いという欠点があった。
In the above-mentioned conventional Japanese code conversion processing method, when data including a mixture of 1-byte type Japanese characters and 2-byte type Japanese characters is created on a terminal, operation is performed. It had the drawback of being poor in sex.

【0005】[0005]

【課題を解決するための手段】第1の本発明の方式は、
1バイト系の文字と2バイト系の日本語の文字が混在し
ているデータを外部記憶装置から入力するアプリケーシ
ョンプログラムにおける日本語コード変換処理方式にお
いて、2バイト系の日本語文字を1バイト系の文字に変
換し転記できる転記規則を拡張し、転記の組合わせ規則
を追加処理し、中間言語を生成する意味解析手段と、意
味解析手段の出力である中間言語を入力し、2バイト系
の日本語文字から1バイト系の文字へ変換する転記のハ
ードウェア命令を生成した目的プログラムを出力するコ
ード生成手段と、コード生成手段が出力した目的プログ
ラムを入力し、目的プログラムの実行する際に既に端末
から作成し、外部記憶装置に蓄えておいた1バイト系の
文字に対応する変換可能な2バイト系の日本語文字デー
タを入力し、目的プログラムを実行する実行手段とを有
することを特徴とする。
The method according to the first aspect of the present invention is as follows.
In the Japanese code conversion processing method in an application program that inputs data in which 1-byte characters and 2-byte Japanese characters are mixed from an external storage device, 2-byte Japanese characters are converted into 1-byte characters. A translating rule that can be transcribed into characters and transcribed is expanded, a combination rule of transcribing is additionally processed, and a semantic analysis unit that generates an intermediate language and an intermediate language that is the output of the semantic analysis unit are input, and 2-byte Japanese A code generation unit that outputs a target program that has generated a hardware command for transcribing a word character into a 1-byte character, and a target program that has been output by the code generation unit are input, and when the target program is executed, a terminal is already present. Input the convertible 2-byte Japanese character data that corresponds to the 1-byte characters stored in the external storage device from the And having and execution means for executing the program.

【0006】第2の本発明の方式は、1バイト系の文字
と2バイト系の日本語の文字が混在しているデータを外
部記憶装置から入力するアプリケーションプログラムに
おける日本語コード変換処理方式において、2バイト系
の日本語文字を1バイト系の文字に変換し転記できる転
記規則を拡張し、転記の組合わせ規則を追加処理し、中
間言語を生成する意味解析手段と、意味解析手段の出力
である中間言語を入力し、2バイト系の日本語文字から
1バイト系と文字へ変換する転記のハードウェア命令を
生成するコード生成手段と、コード生成手段が出力した
目的プログラムの実行時に端末から1バイト系の文字に
対応する変換可能な2バイト系の日本語文字データを入
力し、実行する実行手段とを有することを特徴とする。
The second method of the present invention is a Japanese code conversion processing method in an application program for inputting data in which 1-byte characters and 2-byte Japanese characters are mixed from an external storage device. By extending the transcription rules that can convert 2-byte Japanese characters into 1-byte characters and transcribe them, and additionally process the combination rules of transcription, the semantic analysis means for generating an intermediate language and the output of the semantic analysis means Code generation means for inputting an intermediate language and generating a hardware command for transcribing 2-byte Japanese characters to 1-byte characters, and 1 from the terminal when the target program output by the code generation means is executed. The present invention is characterized by having an executing means for inputting and executing convertible 2-byte Japanese character data corresponding to byte characters.

【0007】[0007]

【実施例】次に本発明の実施例について図面を参照して
説明する。本発明の日本語コード変換処理方式の一実施
例を示す図1を参照すると、本実施例は、2バイト系の
日本語文字を1バイト系の文字に変換し転記できる転記
規則を拡張し、転記の組合わせ規則を拡張し、中間言語
2を生成する意味解析手段1と、意味解析手段1の出力
である中間言語2を入力し、2バイト系の日本語文字か
ら1バイト系の文字へ変換する転記のハードウェア命令
を生成した目的プログラム4を出力するコード生成手段
3と、コード生成手段3が出力した目的プログラム4を
入力し、目的プログラムを実行する際に既に端末6から
作成し、外部記憶装置7に蓄えておいた1バイト系の文
字に変換可能な2バイト系の日本語文字データを入力
し、目的プログラム4を実行する実行手段5から構成さ
れている。
Embodiments of the present invention will now be described with reference to the drawings. Referring to FIG. 1, which shows an embodiment of the Japanese code conversion processing method of the present invention, the present embodiment extends a transcription rule for converting 2-byte Japanese characters into 1-byte characters and transcribing them. By expanding the combination rule of transcription and inputting the semantic analysis means 1 for generating the intermediate language 2 and the intermediate language 2 which is the output of the semantic analysis means 1, from the 2-byte Japanese character to the 1-byte character The code generation means 3 for outputting the target program 4 that has generated the hardware command for the transcription to be converted and the target program 4 output by the code generation means 3 are input, and when the target program is executed, it is already generated from the terminal 6. The external storage device 7 is composed of execution means 5 for inputting 2-byte type Japanese character data which can be converted into 1-byte type character and executing the object program 4.

【0008】図4は本発明におけるデータ入力端末41
の画面レイアウトにおける概念図であり、全て2バイト
系の日本語文字入力フィールドを表す社員番号,氏名お
よび生年月日から構成されている。
FIG. 4 shows a data input terminal 41 according to the present invention.
Is a conceptual diagram in the screen layout of 1., and is composed of an employee number, a name, and a date of birth, which all represent a 2-byte Japanese character input field.

【0009】図5は、本発明におけるソースプログラム
の一例を示す図であり、図4のデータ入力端末41から
入力されるデータに対応した入力レコード領域52、入
力レコード領域52の2バイト系の日本語文字データを
1バイト系のデータにコード変換するための領域である
作業領域53、入力レコード領域52の2バイト系の日
本語文字データを1バイト系のデータにコード変換を行
い処理するコード変換処理54および作業領域53のデ
ータとコード変換不要な入力レコード領域52のデータ
を処理する処理記述55から構成されている。
FIG. 5 is a diagram showing an example of a source program according to the present invention. An input record area 52 corresponding to the data input from the data input terminal 41 of FIG. Code conversion for converting and processing the 2-byte Japanese character data in the work area 53 and the input record area 52, which are areas for performing code conversion of word character data into 1-byte data. It comprises a process 54 and a process description 55 for processing the data in the work area 53 and the data in the input record area 52 which does not require code conversion.

【0010】[0010]

【発明の効果】以上説明したように本発明は、1バイト
系の文字と2バイト系の日本語の文字が混在しているデ
ータを扱うアプリケーションプログラムにおいて、JI
SCOBCL等の言語使用を拡張したことにより、アプ
リケーションプログラム内で1バイト系の文字文字に変
換すべきデータに対して、2バイト系の日本語文字を1
バイト系の文字に変換することが可能になり、外部記憶
装置または端末から全て2バイト系の日本語文字で入力
できることから、最初に1度だけ変換キーの操作を行う
だけで良くなり無駄な変換操作がなくなるため、従来、
発生していた変換キーによる操作性が悪いという欠点を
解消できる効果がある。
As described above, according to the present invention, in an application program that handles data in which 1-byte type characters and 2-byte type Japanese characters are mixed, JI
By expanding the use of languages such as SCOBCL, it is possible to convert 2 bytes of Japanese characters to 1 for characters that should be converted into 1 byte characters in the application program.
It becomes possible to convert to byte-type characters, and since it is possible to input all 2-byte type Japanese characters from the external storage device or terminal, it is sufficient to operate the conversion key only once at the beginning, and useless conversion Since there is no operation,
This has the effect of eliminating the drawback of poor operability due to the conversion key that has occurred.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】従来技術のデータ入力端末の画面レイアウトに
おける概念図である。
FIG. 2 is a conceptual diagram of a screen layout of a conventional data input terminal.

【図3】従来技術のソースプログラムの一例を示す概念
図である。
FIG. 3 is a conceptual diagram showing an example of a conventional source program.

【図4】本発明におけるデータ入力端末の画面レイアウ
トにおける概念図である。
FIG. 4 is a conceptual diagram of a screen layout of a data input terminal according to the present invention.

【図5】本発明におけるソースプログラムにおける概念
図である。
FIG. 5 is a conceptual diagram of a source program in the present invention.

【符号の説明】[Explanation of symbols]

1 意味解析手段 2 中間言語 3 コード生成手段 4 目的プログラム 5 実行手段 6 端末 7 外部記憶装置 1 Semantic analysis means 2 Intermediate language 3 Code generation means 4 Object program 5 Execution means 6 Terminal 7 External storage device

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 1バイト系の文字と2バイト系の日本語
の文字が混在しているデータを外部記憶装置から入力す
るアプリケーションプログラムにおける日本語コード変
換処理方式において、 2バイト系の日本語文字を1バイト系の文字に変換し転
記できる転記規則を拡張し、転記の組合わせ規則を追加
処理し、中間言語を生成する意味解析手段と、 意味解析手段の出力である中間言語を入力し、2バイト
系の日本語文字から1バイト系の文字へ変換する転記の
ハードウェア命令を生成した目的プログラムを出力する
コード生成手段と、 コード生成手段が出力した目的プログラムを入力し、目
的プログラムの実行する際に既に端末から作成し、外部
記憶装置に蓄えておいた1バイト系の文字に対応する変
換可能な2バイト系の日本語文字データを入力し、目的
プログラムを実行する実行手段とを有することを特徴と
する日本語コード変換処理方式。
1. A 2-byte Japanese character in a Japanese code conversion processing method in an application program for inputting data in which 1-byte Japanese character and 2-byte Japanese character are mixed from an external storage device. Extend the transcription rule that can be transcribed by converting to 1 byte character, process the combination rule of transcription additionally, input the semantic analysis means for generating intermediate language, and the intermediate language which is the output of the semantic analysis means, Execution of the target program by inputting code generating means for outputting a target program that has generated a hardware command for transcribing to convert 2-byte Japanese characters to 1-byte characters and the target program output by the code generating means Convertable 2-byte Japanese character data that corresponds to the 1-byte characters that were already created from the terminal and stored in the external storage device And a means for executing a target program to execute the Japanese code conversion processing method.
【請求項2】 1バイト系の文字と2バイト系の日本語
の文字が混在しているデータを外部記憶装置から入力す
るアプリケーションプログラムにおける日本語コード変
換処理方式において、 2バイト系の日本語文字を1バイト系の文字に変換し転
記できる転記規則を拡張し、転記の組合わせ規則を追加
処理し、中間言語を生成する意味解析手段と、 意味解析手段の出力である中間言語を入力し、2バイト
系の日本語文字から1バイト系と文字へ変換する転記の
ハードウェア命令を生成するコード生成手段と、 コード生成手段が出力した目的プログラムの実行時に端
末から1バイト系の文字に対応する変換可能な2バイト
系の日本語文字データを入力し、実行する実行手段とを
有することを特等とする日本語コード変換処理方式。
2. A double-byte Japanese character in a Japanese code conversion processing method in an application program for inputting data in which a single-byte character and a double-byte Japanese character are mixed from an external storage device. Extend the transcription rule that can be transcribed by converting to a 1-byte character, additionally process the combination rule of transcription, and input the semantic analysis means for generating an intermediate language and the intermediate language which is the output of the semantic analysis means, Corresponds to 1-byte characters from the terminal when executing the target program output by the code generation unit, which generates a hardware command for transcribing 2-byte Japanese characters to 1-byte characters. A Japanese code conversion processing method characterized by having an executing means for inputting and executing 2-byte Japanese character data that can be converted.
JP10513892A 1992-04-24 1992-04-24 Japanese code conversion processing system Withdrawn JPH06103023A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10513892A JPH06103023A (en) 1992-04-24 1992-04-24 Japanese code conversion processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10513892A JPH06103023A (en) 1992-04-24 1992-04-24 Japanese code conversion processing system

Publications (1)

Publication Number Publication Date
JPH06103023A true JPH06103023A (en) 1994-04-15

Family

ID=14399395

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10513892A Withdrawn JPH06103023A (en) 1992-04-24 1992-04-24 Japanese code conversion processing system

Country Status (1)

Country Link
JP (1) JPH06103023A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6445995A (en) * 1987-08-14 1989-02-20 Hitachi Ltd Variable speed pumping system
US8900545B2 (en) * 2008-09-05 2014-12-02 Servicios Administrativos Penoles S.A. De C.V. Process for the production of high purity magnesium hydroxide

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6445995A (en) * 1987-08-14 1989-02-20 Hitachi Ltd Variable speed pumping system
US8900545B2 (en) * 2008-09-05 2014-12-02 Servicios Administrativos Penoles S.A. De C.V. Process for the production of high purity magnesium hydroxide

Similar Documents

Publication Publication Date Title
JPS61255469A (en) Language generating device
JPH06103023A (en) Japanese code conversion processing system
JP2504779B2 (en) Document processing device with voice input function
JPH0689166A (en) Parts processing description expanding system
JP2726543B2 (en) Translation method
JP2935928B2 (en) Natural language translator
JP2710442B2 (en) First and last name kana-kanji conversion method
JPS63136265A (en) Mechanical translating device
JPH04155569A (en) Kana/kanji converter
JPS62282364A (en) Character string retrieval system
JPS6068424A (en) Kana/kanji converter
JPS63136267A (en) Mechanical translating device
JPH04243477A (en) Index word extraction method for natural language processing system
JPH05120226A (en) Command parameter substitution system
JPH03147179A (en) Machine translation device
JPH07219956A (en) Machine translation system
JPH01113858A (en) Japanese word processor
JPH01112368A (en) Machine translator
JPH03225462A (en) Roman character/kanji converter
JPS63137366A (en) Machine translator
JPS62117064A (en) Kanji-to-kana converting device
JPH05101093A (en) Address translating system
JPH05324605A (en) Data converting method and device
JPH05282295A (en) Word processor
JPS63311473A (en) Document preparing device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990706