JPH04267429A - Code conversion processing system - Google Patents

Code conversion processing system

Info

Publication number
JPH04267429A
JPH04267429A JP4885491A JP4885491A JPH04267429A JP H04267429 A JPH04267429 A JP H04267429A JP 4885491 A JP4885491 A JP 4885491A JP 4885491 A JP4885491 A JP 4885491A JP H04267429 A JPH04267429 A JP H04267429A
Authority
JP
Japan
Prior art keywords
code
conversion
code conversion
data
illegal
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.)
Pending
Application number
JP4885491A
Other languages
Japanese (ja)
Inventor
Keiko Sato
啓子 佐藤
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 Solution Innovators Ltd
Original Assignee
NEC Solution Innovators Ltd
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 Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP4885491A priority Critical patent/JPH04267429A/en
Publication of JPH04267429A publication Critical patent/JPH04267429A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To enable a code conversion processing obtained by combining the code conversion with the reference to a code conversion dictionary and the code conversion with a standard code conversion routine for the system. CONSTITUTION:A code conversion means 11 with reference to the code conversion dictionary performs the code conversion with reference to a code conversion dictionary file 2 and when the conversion result is normal, stores the converted data. A system standard code conversion means 12 performs the code conversion with the system standard code conversion routine and when the conversion result is normal, stores the converted data. An illegal code processing means 13 stores any of the data before conversion, designation illegal code and system standard illegal code based on the presence or absence of the illegal code designation or a straight passing designation. A converted data output means 14 outputs any of the converted data, data before conversion, designation illegal code and system standard illegal code based on the processing of the respective means in a converted data file 4 as final converted data.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、自システム(本発明等
のコード変換処理方式が適用される計算機システム)と
他システム(自システム以外の計算機システムであり自
システムに接続されている入力装置等も含む)との間で
データ(ANK(Alphabetic  Numer
ic  Kana)データや日本語データ等)のコード
体系が異なる場合に他システムのデータを自システムの
コード体系に適合させる変換や自システムのデータを他
システムのコード体系に適合させる変換を行うコード変
換処理方式に関する。
[Industrial Application Field] The present invention is applicable to an own system (a computer system to which a code conversion processing method such as the present invention is applied) and another system (a computer system other than the own system and an input device connected to the own system). data (including ANK (Alphabetic Number etc.))
Code conversion that converts the data of another system to match the code system of the own system, or converts the data of the own system to match the code system of the other system, when the code system of the data (such as Kana) data or Japanese data is different. Regarding processing method.

【0002】0002

【従来の技術】従来、この種のコード変換処理方式では
、利用者により作成されたコード変換辞書の参照により
コード変換を行う方式と、システム標準のコード変換ル
ーチン(あらかじめ自システムに設けられているコード
変換のためのルーチン)によりコード変換を行う方式と
があった(以上の両者を組み合わせたコード変換処理方
式はなかった)。
[Background Art] Conventionally, this type of code conversion processing method has two methods: one method performs code conversion by referring to a code conversion dictionary created by the user; (There was no code conversion processing method that combined the above two methods.)

【0003】0003

【発明が解決しようとする課題】上述した従来のコード
変換処理方式では、コード変換辞書の参照のみによる方
式においては、適切なコード変換辞書を作成するために
要する時間が長くなるという欠点があった。
[Problems to be Solved by the Invention] The above-mentioned conventional code conversion processing method has the disadvantage that it takes a long time to create an appropriate code conversion dictionary in a method that only refers to the code conversion dictionary. .

【0004】また、システム標準のコード変換ルーチン
のみによる方式においては、不正コード(コード変換の
変換結果が正常ではない場合、すなわち変換前コードに
対応する変換後コードが定義されていない場合に返却さ
れるコード)がシステム標準の固定値になっており利用
者による任意の設定ができないという欠点があった(コ
ード変換辞書の参照による方式では、利用者が不正コー
ドを任意に設定することができる)。また、コード変換
辞書の参照による方式では可能な素通し指定(変換前コ
ードに対応する変換後コードが定義されていない場合に
変換前コードをそのまま出力する旨の指定)ができない
という欠点もあった。
[0004] Furthermore, in a method using only the system standard code conversion routine, an invalid code (if the conversion result of the code conversion is not normal, that is, if the post-conversion code corresponding to the pre-conversion code is not defined) is returned. The disadvantage is that the system standard fixed code (code used by the user) is fixed and cannot be set arbitrarily by the user. . Another drawback is that it is not possible to specify a pass through (designation to output the pre-conversion code as is if no post-conversion code corresponding to the pre-conversion code is defined), which is possible with the method of referring to the code conversion dictionary.

【0005】本発明の目的は、上述の点に鑑み、コード
変換辞書の参照によるコード変換とシステム標準のコー
ド変換ルーチンによるコード変換とを組み合わせたコー
ド変換処理を可能とすることにより、コード変換辞書の
作成時間を短縮でき、かつ不正コードの任意的な設定や
素通し指定が可能となるコード変換処理方式を提供する
ことにある。
In view of the above-mentioned points, an object of the present invention is to enable a code conversion process that combines code conversion by referring to a code conversion dictionary and code conversion by a system standard code conversion routine. To provide a code conversion processing method that can shorten the creation time of a code, and also enable arbitrary setting and transparent specification of illegal codes.

【0006】[0006]

【課題を解決するための手段】本発明のコード変換処理
方式は、自システムと他システムとの間でデータのコー
ド体系が異なる場合に他システムのデータを自システム
のコード体系に適合させる変換や自システムのデータを
他システムのコード体系に適合させる変換を行うコード
変換処理方式において、コード変換辞書ファイルが割り
当てられている場合にコード変換辞書の参照によるコー
ド変換を行いそのコード変換の変換結果が正常であるか
否かを判定し正常である場合には変換後データを保存す
るコード変換辞書参照コード変換手段と、コード変換辞
書ファイルが割り当てられていない場合や前記コード変
換辞書参照コード変換手段によるコード変換の変換結果
が正常ではない場合にシステム標準のコード変換ルーチ
ンによるコード変換を行いそのコード変換の変換結果が
正常であるか否かを判定し正常である場合には変換後デ
ータを保存するシステム標準コード変換手段と、前記コ
ード変換辞書参照コード変換手段および前記システム標
準コード変換手段によるコード変換の変換結果が正常で
はない場合に不正コード指定および素通し指定の有無に
基づき変換前データ,指定不正コードおよびシステム標
準不正コードのいずれかを保存する不正コード処理手段
と、前記コード変換辞書参照コード変換手段によるコー
ド変換の変換結果,前記システム標準コード変換手段に
よるコード変換の変換結果および前記不正コード処理手
段による不正コードに関する処理の処理結果に基づき変
換後データ,変換前データ,指定不正コードおよびシス
テム標準不正コードのいずれかを最終的な変換後データ
として出力する変換後データ出力手段とを有する。
[Means for Solving the Problems] The code conversion processing method of the present invention is capable of converting data of another system to match the code system of the own system when the data code systems of the own system and other systems are different. In a code conversion processing method that converts the data of the own system to conform to the code system of another system, if a code conversion dictionary file is allocated, code conversion is performed by referring to the code conversion dictionary and the conversion result of the code conversion is A code conversion dictionary reference code conversion means that determines whether the data is normal or not and stores the converted data if it is normal; If the code conversion result is not normal, perform code conversion using the system standard code conversion routine, determine whether the code conversion result is normal, and if it is normal, save the converted data. If the conversion result of the code conversion by the system standard code conversion means, the code conversion dictionary reference code conversion means, and the system standard code conversion means is not normal, the data before conversion is determined to be invalid based on the presence or absence of invalid code designation and pass-through designation. an illegal code processing means for storing either a code or a system standard illegal code, a conversion result of code conversion by the code conversion dictionary reference code conversion means, a conversion result of code conversion by the system standard code conversion means, and the illegal code processing. and post-conversion data output means for outputting either the post-conversion data, the pre-conversion data, the specified fraudulent code, or the system standard fraudulent code as final post-conversion data based on the processing result of the fraudulent code processing performed by the means.

【0007】[0007]

【作用】本発明のコード変換処理方式では、コード変換
辞書ファイルが割り当てられている場合にコード変換辞
書参照コード変換手段がコード変換辞書の参照によるコ
ード変換を行いそのコード変換の変換結果が正常である
か否かを判定し正常である場合には変換後データを保存
し、コード変換辞書ファイルが割り当てられていない場
合やコード変換辞書参照コード変換手段によるコード変
換の変換結果が正常ではない場合にシステム標準コード
変換手段がシステム標準のコード変換ルーチンによるコ
ード変換を行いそのコード変換の変換結果が正常である
か否かを判定し正常である場合には変換後データを保存
し、コード変換辞書参照コード変換手段およびシステム
標準コード変換手段によるコード変換の変換結果が正常
ではない場合に不正コード処理手段が不正コード指定お
よび素通し指定の有無に基づき変換前データ,指定不正
コードおよびシステム標準不正コードのいずれかを保存
し、変換後データ出力手段がコード変換辞書参照コード
変換手段によるコード変換の変換結果,システム標準コ
ード変換手段によるコード変換の変換結果および不正コ
ード処理手段による不正コードに関する処理の処理結果
に基づき変換後データ,変換前データ,指定不正コード
およびシステム標準不正コードのいずれかを最終的な変
換後データとして出力する。
[Operation] In the code conversion processing method of the present invention, when a code conversion dictionary file is assigned, the code conversion dictionary reference code conversion means performs code conversion by referring to the code conversion dictionary, and the conversion result of the code conversion is normal. If the code conversion dictionary file is not allocated or the conversion result of the code conversion by the code conversion means referring to the code conversion dictionary is not normal, the converted data is saved. The system standard code conversion means performs code conversion using the system standard code conversion routine, determines whether the conversion result of the code conversion is normal, and if it is normal, saves the converted data and refers to the code conversion dictionary. When the conversion result of the code conversion by the code conversion means and the system standard code conversion means is not normal, the illegal code processing means selects one of the pre-conversion data, specified illegal code, and system standard illegal code based on the presence or absence of illegal code specification and pass-through specification. The post-conversion data output means stores the conversion results of the code conversion by the code conversion dictionary reference code conversion means, the conversion results of the code conversion by the system standard code conversion means, and the processing results of the illegal code processing by the illegal code processing means. Based on the converted data, the pre-converted data, the specified invalid code, or the system standard invalid code is output as the final converted data.

【0008】[0008]

【実施例】次に、本発明について図面を参照して詳細に
説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained in detail with reference to the drawings.

【0009】図1は、本発明のコード変換処理方式の一
実施例の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the code conversion processing method of the present invention.

【0010】本実施例のコード変換処理方式は、コード
変換前のデータ(変換前データ)を格納している変換前
データファイル1と、コード変換辞書(コード変換に使
用するコード変換表)を格納しているコード変換辞書フ
ァイル2と、コード変換処理システム部3と、コード変
換後のデータ(変換後データ)を格納している変換後デ
ータファイル4とを含んで構成されている。
The code conversion processing method of this embodiment includes a pre-conversion data file 1 storing data before code conversion (pre-conversion data) and a code conversion dictionary (code conversion table used for code conversion). The code conversion dictionary file 2 includes a code conversion dictionary file 2, a code conversion processing system section 3, and a converted data file 4 storing data after code conversion (post-converted data).

【0011】コード変換処理システム部3は、コード変
換辞書ファイル2の参照によるコード変換を行うコード
変換辞書参照コード変換手段11と、システム標準のコ
ード変換ルーチンによるコード変換を行うシステム標準
コード変換手段12と、不正コードに関する処理を行う
不正コード処理手段13と、最終的な変換後データの出
力を行う変換後データ出力手段14とを含んで構成され
ている(不正コード処理手段13および変換後データ出
力手段14は一体的に処理を行う)。
The code conversion processing system section 3 includes a code conversion dictionary reference code conversion means 11 that performs code conversion by referring to a code conversion dictionary file 2, and a system standard code conversion means 12 that performs code conversion using a system standard code conversion routine. , a fraudulent code processing means 13 that performs processing related to fraudulent codes, and a converted data output means 14 that outputs the final converted data (unauthorized code processing means 13 and converted data output means 14). The means 14 performs the processing integrally).

【0012】図2は、コード変換辞書参照コード変換手
段11の処理を示す流れ図である。この処理は、変換終
了フラグOFFステップ21と、変換前データ入力ステ
ップ22と、コード変換辞書割り当て判定ステップ23
と、コード変換辞書参照コード変換ステップ24と、変
換結果正常判定ステップ25と、変換後データ格納ステ
ップ26と、変換終了フラグONステップ27とからな
る。
FIG. 2 is a flowchart showing the processing of the code conversion dictionary reference code conversion means 11. This process includes a conversion end flag OFF step 21, a pre-conversion data input step 22, and a code conversion dictionary allocation determination step 23.
, a code conversion dictionary reference code conversion step 24 , a conversion result normality determination step 25 , a post-conversion data storage step 26 , and a conversion end flag ON step 27 .

【0013】図3は、システム標準コード変換手段12
の処理を示す流れ図である。この処理は、変換終了フラ
グ判定ステップ31と、システム標準コード変換ルーチ
ンコード変換ステップ32と、変換結果正常判定ステッ
プ33と、変換後データ格納ステップ34と、変換終了
フラグONステップ35とからなる。
FIG. 3 shows the system standard code conversion means 12.
2 is a flowchart showing the processing of FIG. This process consists of a conversion end flag determination step 31, a system standard code conversion routine code conversion step 32, a conversion result normality determination step 33, a post-conversion data storage step 34, and a conversion end flag ON step 35.

【0014】図4は、不正コード処理手段13および変
換後データ出力手段14の処理を示す流れ図である。こ
の処理は、変換終了フラグ判定ステップ41と、素通し
指定有無判定ステップ42と、変換前データ格納ステッ
プ43と、不正コード指定有無判定ステップ44と、指
定不正コード格納ステップ45と、システム標準不正コ
ード格納ステップ46と、最終的変換後データ出力ステ
ップ47とからなる(ステップ41〜46が不正コード
処理手段13の処理に該当し、ステップ47が変換後デ
ータ出力手段14の処理に該当する)。
FIG. 4 is a flow chart showing the processing of the fraudulent code processing means 13 and the converted data output means 14. This process includes a conversion end flag determination step 41, a transparent pass designation determination step 42, a pre-conversion data storage step 43, a fraud code designation determination step 44, a designated fraud code storage step 45, and a system standard fraud code storage step. Step 46 and a final converted data output step 47 (Steps 41 to 46 correspond to the processing of the fraudulent code processing means 13, and Step 47 corresponds to the processing of the converted data output means 14).

【0015】次に、このように構成された本実施例のコ
ード変換処理方式の動作について説明する。
Next, the operation of the code conversion processing system of this embodiment configured as described above will be explained.

【0016】コード変換処理システム部3内の各手段は
、コード変換辞書参照コード変換手段11,システム標
準コード変換手段12ならびに不正コード処理手段13
および変換後データ出力手段14の順に、変換前データ
ファイル1内の変換前データを変換後データファイル4
内の変換後データに変換するコード変換処理を行う。
Each means in the code conversion processing system section 3 includes a code conversion dictionary reference code conversion means 11, a system standard code conversion means 12, and an illegal code processing means 13.
and the post-conversion data output means 14 convert the pre-conversion data in the pre-conversion data file 1 into the post-conversion data file 4.
Performs code conversion processing to convert to converted data within.

【0017】コード変換辞書参照コード変換手段11は
、以下に示すような処理を行う(図2参照)。
The code conversion dictionary reference code conversion means 11 performs the following processing (see FIG. 2).

【0018】コード変換の変換結果が正常であるか否か
(変換前データに対応する変換後データが定義されてい
るか否か)の判定に使用される変換終了フラグを初期化
し(OFFにし)(ステップ21)、変換前データを変
換前データファイル1から入力し(ステップ22)、コ
ード変換辞書ファイル2が割り当てられているか否かを
判定する(ステップ23)。
Initialize (turn OFF) the conversion end flag used to determine whether the conversion result of code conversion is normal (whether or not post-conversion data corresponding to pre-conversion data is defined). Step 21), inputs pre-conversion data from pre-conversion data file 1 (Step 22), and determines whether code conversion dictionary file 2 is assigned (Step 23).

【0019】コード変換辞書ファイル2が割り当てられ
ていない場合には、処理を終了する。
If the code conversion dictionary file 2 has not been allocated, the process ends.

【0020】コード変換辞書ファイル2が割り当てられ
ている場合には、コード変換辞書ファイル2の参照によ
るコード変換を行い(ステップ24)、そのコード変換
の変換結果が正常であるか否か(該当する変換後コード
が定義されているか否か)を判定する(ステップ25)
If the code conversion dictionary file 2 is assigned, code conversion is performed by referring to the code conversion dictionary file 2 (step 24), and whether or not the conversion result of the code conversion is normal (if applicable) is performed. (Step 25)
.

【0021】そのコード変換の変換結果が正常ではない
場合には、処理を終了する。
[0021] If the result of the code conversion is not normal, the process is terminated.

【0022】そのコード変換の変換結果が正常である場
合には、変換後データを変換後データセーブエリアに格
納し(ステップ26)、システム標準コード変換手段1
2によるコード変換をスキップさせるために変換終了フ
ラグをONにし(ステップ27)、処理を終了する。
If the conversion result of the code conversion is normal, the converted data is stored in the converted data save area (step 26), and the system standard code conversion means 1
In order to skip the code conversion according to step 2, the conversion end flag is turned on (step 27), and the process ends.

【0023】システム標準コード変換手段12は、以下
に示すような処理を行う(図3参照)。
The system standard code conversion means 12 performs the following processing (see FIG. 3).

【0024】変換終了フラグがOFFでないかどうかに
よってコード変換が終了しているか否かを判定する(ス
テップ31)。
[0024] It is determined whether the code conversion has been completed depending on whether the conversion end flag is not OFF (step 31).

【0025】コード変換が終了している場合(変換終了
フラグがOFFではない場合)には、処理を終了する。
If the code conversion has been completed (if the conversion completion flag is not OFF), the process is terminated.

【0026】コード変換が終了していない場合(変換終
了フラグがOFFである場合)には、システム標準のコ
ード変換ルーチンによるコード変換を行い(ステップ3
2)、そのコード変換の変換結果が正常であるか否か(
該当する変換後コードが定義されているか否か)を判定
する(ステップ33)。
If the code conversion is not completed (conversion completion flag is OFF), code conversion is performed using the system standard code conversion routine (step 3).
2), whether the conversion result of the code conversion is normal or not (
It is determined whether the corresponding post-conversion code is defined (step 33).

【0027】そのコード変換の変換結果が正常ではない
場合には、処理を終了する。
[0027] If the conversion result of the code conversion is not normal, the process is terminated.

【0028】そのコード変換の変換結果が正常である場
合には、変換後データを変換後データセーブエリアに格
納し(ステップ34)、不正コード処理手段13による
不正コードに関する処理をスキップさせるために変換終
了フラグをONにし(ステップ35)、処理を終了する
If the conversion result of the code conversion is normal, the converted data is stored in the converted data save area (step 34), and the conversion is performed in order to skip the processing related to the illegal code by the illegal code processing means 13. The end flag is turned ON (step 35), and the process is ended.

【0029】不正コード処理手段13および変換後デー
タ出力手段14は、以下に示すような処理を行う(図4
参照)。
The fraudulent code processing means 13 and the converted data output means 14 perform the following processing (see FIG. 4).
reference).

【0030】変換終了フラグがOFFでないかどうかに
よってコード変換が終了しているか否かを判定する(ス
テップ41)。
[0030] It is determined whether the code conversion has been completed depending on whether the conversion end flag is not OFF (step 41).

【0031】コード変換が終了している場合(変換終了
フラグがOFFではない場合)には、ステップ42〜4
6の不正コードに関する処理をスキップする。
[0031] If the code conversion has been completed (if the conversion completion flag is not OFF), steps 42 to 4 are performed.
Skip the process related to the illegal code in step 6.

【0032】コード変換が終了していない場合(変換終
了フラグがOFFである場合)には、素通し指定がない
かどうかを判定する(ステップ42)。
[0032] If the code conversion has not been completed (if the conversion completion flag is OFF), it is determined whether there is no direct pass designation (step 42).

【0033】素通し指定がある場合には、変換前データ
をそのまま変換後データセーブエリアに格納する(ステ
ップ43)。
If there is a clear pass designation, the pre-conversion data is stored as is in the post-conversion data save area (step 43).

【0034】素通し指定がない場合には、不正コード指
定(利用者固有の不正コードの指定)がないかどうかを
判定する(ステップ44)。
If there is no clear pass designation, it is determined whether there is any illegal code designation (designation of a user-specific illegal code) (step 44).

【0035】不正コード指定がある場合には、指定され
た不正コード(指定不正コード)を変換後データセーブ
エリアに格納する(ステップ45)。
If an illegal code is specified, the specified illegal code (designated illegal code) is stored in the converted data save area (step 45).

【0036】不正コード指定がない場合には、システム
標準のコード変換ルーチンの不正コード(システム標準
不正コード)を変換後データセーブエリアに格納する(
ステップ46)。
If no illegal code is specified, the illegal code of the system standard code conversion routine (system standard illegal code) is stored in the post-conversion data save area (
Step 46).

【0037】ステップ41でコード変換が終了している
と判定した場合またはステップ43,45もしくは46
の処理が終了した場合には、変換後データセーブエリア
に格納されているデータ(変換後データ,変換前データ
,指定不正コードまたはシステム標準不正コード)を最
終的な変換後データとして変換後データファイル4に出
力し(ステップ47)、処理を終了する。
If it is determined in step 41 that the code conversion has been completed, or in step 43, 45 or 46
When the processing is completed, the data stored in the post-conversion data save area (post-conversion data, pre-conversion data, specified illegal code or system standard illegal code) is saved as the final post-conversion data to the post-conversion data file. 4 (step 47), and the process ends.

【0038】[0038]

【発明の効果】以上説明したように本発明は、コード変
換辞書の参照によるコード変換とシステム標準のコード
変換ルーチンによるコード変換とを組み合わせたコード
変換処理を可能とすることにより、以下に示すような効
果がある。
[Effects of the Invention] As explained above, the present invention enables code conversion processing that combines code conversion by referring to a code conversion dictionary and code conversion by a system standard code conversion routine, as shown below. There is an effect.

【0039】■  コード変換辞書(コード変換辞書フ
ァイル)の作成時間を短縮することができる。特に、シ
ステム標準のコード変換ルーチンによるコード変換の内
容の一部だけを変更したコード変換を行いたい場合等に
、変更したい部分の変換後データの定義のみをコード変
換辞書に登録するだけで足り(システム標準のコード変
換ルーチンによるコード変換の内容から変更がない部分
の定義をコード変換辞書に登録する必要がなくなり)、
コード変換辞書の作成時間を短縮することができる。
■ The time required to create a code conversion dictionary (code conversion dictionary file) can be shortened. In particular, when you want to perform a code conversion in which only a part of the content of the code conversion by the system standard code conversion routine is changed, it is sufficient to register only the definition of the converted data of the part you want to change in the code conversion dictionary ( It is no longer necessary to register in the code conversion dictionary the definitions of parts that do not change from the contents of code conversion by the system standard code conversion routine).
The time required to create a code conversion dictionary can be reduced.

【0040】■  システム標準のコード変換ルーチン
を使いながらも、不正コード指定や素通し指定が可能に
なる。したがって、コード変換の変換結果が正常ではな
い場合にも、利用者の指定を反映でき、コード変換後の
処理をより円滑に行うことができる。
[0040] Even while using the system standard code conversion routine, it is possible to specify illegal codes and pass through codes. Therefore, even if the conversion result of code conversion is not normal, the user's designation can be reflected, and the processing after code conversion can be performed more smoothly.

【図面の簡単な説明】[Brief explanation of the drawing]

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

【図2】図1中のコード変換辞書参照コード変換手段の
処理を示す流れ図である。
FIG. 2 is a flowchart showing the processing of the code conversion dictionary reference code conversion means in FIG. 1;

【図3】図1中のシステム標準コード変換手段の処理を
示す流れ図である。
FIG. 3 is a flowchart showing the processing of the system standard code conversion means in FIG. 1;

【図4】図1中の不正コード処理手段および変換後デー
タ出力手段の処理を示す流れ図である。
FIG. 4 is a flowchart showing the processing of a fraudulent code processing means and a converted data output means in FIG. 1;

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

1  変換前データファイル 2  コード変換辞書ファイル 3  コード変換処理システム部 4  変換後データファイル 11  コード変換辞書参照コード変換手段12  シ
ステム標準コード変換手段 13  不正コード処理手段 14  変換後データ出力手段
1 Pre-conversion data file 2 Code conversion dictionary file 3 Code conversion processing system section 4 Post-conversion data file 11 Code conversion dictionary reference code conversion means 12 System standard code conversion means 13 Invalid code processing means 14 Post-conversion data output means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  自システムと他システムとの間でデー
タのコード体系が異なる場合に他システムのデータを自
システムのコード体系に適合させる変換や自システムの
データを他システムのコード体系に適合させる変換を行
うコード変換処理方式において、コード変換辞書ファイ
ルが割り当てられている場合にコード変換辞書の参照に
よるコード変換を行い、そのコード変換の変換結果が正
常であるか否かを判定し、正常である場合には変換後デ
ータを保存するコード変換辞書参照コード変換手段と、
コード変換辞書ファイルが割り当てられていない場合や
前記コード変換辞書参照コード変換手段によるコード変
換の変換結果が正常ではない場合にシステム標準のコー
ド変換ルーチンによるコード変換を行い、そのコード変
換の変換結果が正常であるか否かを判定し、正常である
場合には変換後データを保存するシステム標準コード変
換手段と、前記コード変換辞書参照コード変換手段およ
び前記システム標準コード変換手段によるコード変換の
変換結果が正常ではない場合に、不正コード指定および
素通し指定の有無に基づき変換前データ,指定不正コー
ドおよびシステム標準不正コードのいずれかを保存する
不正コード処理手段と、前記コード変換辞書参照コード
変換手段によるコード変換の変換結果,前記システム標
準コード変換手段によるコード変換の変換結果および前
記不正コード処理手段による不正コードに関する処理の
処理結果に基づき変換後データ,変換前データ,指定不
正コードおよびシステム標準不正コードのいずれかを最
終的な変換後データとして出力する変換後データ出力手
段とを有することを特徴とするコード変換処理方式。
[Claim 1] When the data coding system of the own system and another system is different, converting the data of the other system to match the coding system of the own system, or adapting the data of the own system to the coding system of the other system. In the code conversion processing method that performs conversion, if a code conversion dictionary file is allocated, code conversion is performed by referring to the code conversion dictionary, and it is determined whether the conversion result of the code conversion is normal or not. a code conversion dictionary reference code conversion means for storing data after conversion in some cases;
When a code conversion dictionary file is not allocated or when the conversion result of the code conversion by the code conversion dictionary reference code conversion means is not normal, code conversion is performed using the system standard code conversion routine, and the conversion result of the code conversion is a system standard code converter that determines whether or not it is normal and stores the converted data if it is normal; a conversion result of code conversion by the code conversion dictionary reference code converter and the system standard code converter; a fraudulent code processing means that stores either the pre-conversion data, the specified fraudulent code, or the system standard fraudulent code based on the presence or absence of the fraudulent code designation and pass-through designation when the code is not normal; and the code conversion dictionary reference code conversion device. Based on the conversion result of code conversion, the conversion result of code conversion by the system standard code conversion means, and the processing result of the illegal code processing by the illegal code processing means, post-conversion data, pre-conversion data, specified illegal code, and system standard illegal code A code conversion processing method comprising: converted data output means for outputting any one of the converted data as final converted data.
JP4885491A 1991-02-21 1991-02-21 Code conversion processing system Pending JPH04267429A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4885491A JPH04267429A (en) 1991-02-21 1991-02-21 Code conversion processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4885491A JPH04267429A (en) 1991-02-21 1991-02-21 Code conversion processing system

Publications (1)

Publication Number Publication Date
JPH04267429A true JPH04267429A (en) 1992-09-24

Family

ID=12814856

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4885491A Pending JPH04267429A (en) 1991-02-21 1991-02-21 Code conversion processing system

Country Status (1)

Country Link
JP (1) JPH04267429A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015118625A (en) * 2013-12-19 2015-06-25 株式会社Ji2 Determination device, determination method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015118625A (en) * 2013-12-19 2015-06-25 株式会社Ji2 Determination device, determination method, and program

Similar Documents

Publication Publication Date Title
US20020026632A1 (en) Universal computer code generator
JPH04267429A (en) Code conversion processing system
JPH1011271A (en) Version down inputting system
JPH04239847A (en) Protocol data analysis system
JPH04360250A (en) Memory system
JPH04362738A (en) Variable control method
JP2665016B2 (en) Code conversion method
JPH036624A (en) Processing system for translation list output corresponding to plural code systems
JPH0511988A (en) Software operating system
JPS6378265A (en) Process controlling system
CN114756140A (en) Rarely-used word input processing method and device, electronic equipment and storage medium
JPH0535385A (en) Key code converter
JPH05119957A (en) Data converter
JPH0580998A (en) Translation processing system
JPH03102521A (en) User program built-in system
JPH02297674A (en) System for supporting multi-media processing
JPH01152532A (en) Code converter
JPH10149352A (en) Method for processing 'kanji' code
JPH03225448A (en) Converting, outputting, and updating method for information in file
JPH01287740A (en) Character string converter
JPH04260918A (en) Electronic computer
JPH02224133A (en) Divided code forming system
JPS6368929A (en) System for displaying format of language in-use in information processor
JPH08286805A (en) Key board control method
JPH04291417A (en) File comparator