JPH06236251A - Information processor and data conversion managing method - Google Patents

Information processor and data conversion managing method

Info

Publication number
JPH06236251A
JPH06236251A JP5021496A JP2149693A JPH06236251A JP H06236251 A JPH06236251 A JP H06236251A JP 5021496 A JP5021496 A JP 5021496A JP 2149693 A JP2149693 A JP 2149693A JP H06236251 A JPH06236251 A JP H06236251A
Authority
JP
Japan
Prior art keywords
data
conversion
processing
format
unit
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
JP5021496A
Other languages
Japanese (ja)
Inventor
Hideki Kuwamoto
英樹 桑本
Takao Iwatani
隆雄 岩谷
Tomoya Ozaki
友哉 尾崎
Chiyo Akamatsu
千代 赤松
Teiji Kuwabara
禎司 桑原
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP5021496A priority Critical patent/JPH06236251A/en
Publication of JPH06236251A publication Critical patent/JPH06236251A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To convert data without necessity for a user to aware of the difference of a data format. CONSTITUTION:This information processor provided with a control managing means 305 for controlling the exchange of data between an input/output means and a processing means by managing the execution of the processing means and a data conversion part 30 for converting data between the processing means and the control managing means and equipped with the plural kinds of data formats to be processed by the processing means, the data conversion part 30 is equipped with a data inspecting means 303 for inspecting the format of the data received by the input/output means when controlling the exchange of data at the control managing means, AP inspecting means 308 for judging whether the inspected data format is a data format to be processed by a processing sequence 301, and data conversion control means 302 for converting the data format to disable the result processing of the judgement to the data format to be processed by this processing sequence.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は情報処理装置に係り、特
に、種類の異なる複数のAP(アプリケーション・プロ
グラム)が動作し、各APは、該APに固有のデータ形
式のデータを扱う場合に好敵なデータ変換管理方法およ
び情報処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus, and particularly when a plurality of APs (application programs) of different types operate and each AP handles data in a data format unique to the AP. The present invention relates to a data conversion management method and an information processing device which are suitable for each other.

【0002】[0002]

【従来の技術】一般に、情報処理装置上では種類の異な
る複数のAPが動作する。現在、文書作成、表計算、デ
ータベース、メール等、数多くのAPがある。そして、
利用者は、業務に対応した最適なAPを選択することが
でき、各業務の効率向上を図ることが可能である。ま
た、前述の各業務は、例えば、各課で作成した文書をま
とめて部の文書を作成したり、作成した文書をメールで
配布するなど、互いに関連する場合が多い。この連携業
務に関して効率向上を図るためには、各業務機能間での
データの相互利用が必要である。
2. Description of the Related Art Generally, a plurality of APs of different types operate on an information processing device. Currently, there are many APs such as document creation, spreadsheet, database, and mail. And
The user can select the optimum AP corresponding to the work, and can improve the efficiency of each work. Further, the above-described respective jobs are often related to each other, for example, by combining documents created by each section to create a document for a department or distributing the created document by mail. In order to improve the efficiency of this collaborative work, it is necessary to mutually use data between business functions.

【0003】また、利用者は、操作性の善し悪しにかか
わらず、自分が従来から使用してきたAPと違う操作性
のAPは使用したがらない。例えば、文書作成のAPと
してA社のワープロを使ってきた利用者は、例えB社の
ワープロの操作性が優れていたとしても、B社のワープ
ロへ移行したがらない。それは、違う操作性のワープロ
へ慣れるのには時間がかかり面倒だからである。よっ
て、同じ文書作成においても、複数の利用者間でデータ
の相互利用を図るためには、AP間でのデータ形式の変
換が必要である。
[0003] Further, the user is unwilling to use an AP having an operability different from that which he has conventionally used, regardless of whether the operability is good or bad. For example, a user who has used a word processor of company A as an AP for creating documents is unwilling to switch to the word processor of company B even if the operability of the word processor of company B is excellent. It is time-consuming and troublesome to get used to a word processor with different operability. Therefore, even if the same document is created, it is necessary to convert the data format between APs in order to make mutual use of data among a plurality of users.

【0004】また、利用者は、自分の業務に最適であ
り、かつ、最良の機能と操作性を有するAPを各業務毎
に選択して使用している場合が多い。文書作成、表計
算、データベース、メール等の各業務機能に対応したA
Pは、各社が販売しているが、最良(操作性、機能)の
APを同一会社が販売しているとは限らない。異なる会
社のAP間では、データ形式の変換が必要な場合が多
い。
In many cases, the user selects and uses an AP that is most suitable for his / her business and has the best function and operability for each business. A corresponding to each business function such as document creation, spreadsheet, database, mail, etc.
Each company sells P, but the best (operability, function) AP is not always sold by the same company. Data format conversion is often required between APs of different companies.

【0005】このように、情報処理装置においては、一
つのAPの処理結果が他のAPの入力となることがあ
る。このとき、それぞれのAPが出力または入力するデ
ータのデータ形式が異なる場合は、データ形式の変換
(以下、データ変換と呼ぶ)を行う必要がある。この場
合、第1のAPの出力結果をファイルに書き出して操作
を終了した後、まず、該APのデータ形式から該出力結
果を使おうとするAPのデータ形式に変換するためのデ
ータ変換のAPを起動してデータ変換を行う。次に、該
データを使用する第2のAPを利用するのが一般的な方
法である。
As described above, in the information processing apparatus, the processing result of one AP may be input to another AP. At this time, if the data format of the data output or input by each AP is different, it is necessary to perform conversion of the data format (hereinafter referred to as data conversion). In this case, after writing the output result of the first AP to a file and ending the operation, first, an AP for data conversion for converting the data format of the AP into the data format of the AP that intends to use the output result is set. Start up and convert data. Next, it is a general method to utilize a second AP that uses the data.

【0006】また、第1のAPを使用した後に第2のA
Pを使用するという手順が予め決まっている場合は、第
1のAPを使用した後、データ変換のAPを起動してデ
ータ変換を行い、その後で第2のAPを起動する手順を
予めプロシジャ(バッチファイルと呼ぶ場合もある)と
して登録しておき、そのプロシジャを起動する方法があ
る。また、入力するデータのデータ形式を検査し、該デ
ータ形式に適合するデータ変換を自ら行ってから該デー
タを入力する第2のAPがある。
Also, after using the first AP, the second A
If the procedure of using P is predetermined, the procedure of activating the AP for data conversion to perform data conversion after using the first AP and then activating the second AP is previously set by the procedure ( It may be called as a batch file), and the procedure may be started. In addition, there is a second AP that inspects the data format of input data and performs data conversion suitable for the data format, and then inputs the data.

【0007】プログラム間のデータ形式を自動的に変換
する従来技術としては、特開平1−258122号公報
に示されているようなものがある。該従来技術では、利
用者がデータに対する処理手順を入力し、その処理手順
が処理手順格納部に格納される。そして、処理手順実行
部は、処理手順格納部に格納された処理手順にしたがっ
て順次処理していく。処理手順実行部は、処理手順格納
部に格納された各処理を行う際にデータ形式変換部にお
いて、処理の入力となるデータのデータ形式を該処理が
受け付け可能なデータ形式とを比較し、データ形式に差
異があれば、データ変換を自動的に行う。この例では、
処理手順を入力する際に、利用者は、各処理間のデータ
形式の差異を考慮する必要をなくしている。。
As a conventional technique for automatically converting the data format between programs, there is one disclosed in Japanese Patent Laid-Open No. 1-258122. In the conventional technique, the user inputs a processing procedure for data, and the processing procedure is stored in the processing procedure storage unit. Then, the processing procedure execution unit sequentially performs processing according to the processing procedure stored in the processing procedure storage unit. When performing each process stored in the process procedure storage unit, the processing procedure execution unit compares the data format of the data that is the input of the processing with the data format that the processing can accept in the data format conversion unit, and If there is a difference in format, data conversion will be performed automatically. In this example,
When inputting the processing procedure, the user does not need to consider the difference in the data format between the processings. .

【0008】[0008]

【発明が解決しようとする課題】上記従来技術において
は、次のような問題点がある。
The above-mentioned prior art has the following problems.

【0009】データ変換のAPを利用者自身が起動する
従来例では、操作が煩わしく面倒である。さらに、どの
データ形式からどのデータ形式に変換すれば良いのかが
利用者に分かり難く、また、該データ変換に適したデー
タ変換のAPの存在や利用方法が分かりにくいという問
題点がある。
In the conventional example in which the user activates the data conversion AP, the operation is troublesome and troublesome. Further, there is a problem that it is difficult for the user to understand which data format should be converted to which data format, and it is difficult to understand the existence and usage of the AP for data conversion suitable for the data conversion.

【0010】また、プロシジャの作成には、プロシジャ
の文法等専門的な知識が要求されるため、一般の利用者
は作成が難しい。また、プロシジャが作成されていて
も、多くの利用者は、そのプロシジャの存在や使用方法
を知らない場合が多く、プロシジャは利用され難いとい
う問題点がある。
In addition, since general knowledge such as procedure grammar is required to create a procedure, it is difficult for a general user to create a procedure. In addition, even if a procedure is created, many users often do not know the existence and usage of the procedure, which makes it difficult to use the procedure.

【0011】さらに、特開平1−258122号公報に
示されている、第3の従来例では、利用者は、各AP間
のデータの差異を考慮する必要はないが、利用者があら
かじめ変換の処理手順およびデータ形式を入力しなけれ
ばならない。第1のAPの利用者と第2のAPを起動す
る利用者とは異なる場合が多いので、ある第1のAPが
ファイルに出力したデータは、どのAPにおけるデータ
形式のものかを判断できないことが多い。さらに、AP
が入力または出力するデータ形式が1種類とは限らな
い。
Further, in the third conventional example disclosed in Japanese Patent Application Laid-Open No. 1-258122, the user does not need to consider the data difference between the APs, but the user can convert the data in advance. You must enter the procedure and data format. Since the user of the first AP and the user who activates the second AP are often different, it is not possible to determine in which AP the data output to the file by a certain first AP is in the data format. There are many. Furthermore, AP
The data format input or output by is not limited to one type.

【0012】また、APは、その処理の先頭でデータを
入力し、最後にデータを出力するとは限らない。例え
ば、ファイルのオープンしてファイルを読み書きする場
合には、オープン時にデータ変換が必要となる。つま
り、実際のAPが様々なタイミングで様々なデータ形式
のデータを入力したり出力したりする。また、書き込み
する際には、逆変換を行うことについて従来例では考慮
されていない。このように、第3の従来例では、処理の
処理順序が決まっていない使用状況に対応したものでは
ない。第3の従来例では、処理実行制御部が処理手順に
格納された処理を行うのに先だってその処理に適合する
データ変換を行うので、各処理にたいしては1回のデー
タ変換しか期待できない。一つの処理が様々なタイミン
グで様々なデータ形式のデータを入力したり出力したり
する場合には対応できない。
The AP does not always input data at the beginning of the process and output the data at the end. For example, when opening a file and reading / writing the file, data conversion is required at the time of opening. That is, the actual AP inputs and outputs data of various data formats at various timings. In addition, in writing, the conventional example does not consider performing inverse conversion. As described above, the third conventional example does not correspond to the usage situation in which the processing order of the processing is not determined. In the third conventional example, since the processing execution control unit performs data conversion suitable for the processing stored in the processing procedure, only one data conversion can be expected for each processing. One process cannot handle when inputting or outputting data of various data formats at various timings.

【0013】さらに、上記従来例では、データ変換が完
全に行えない場合の対処方法等が考慮されていない。そ
して、データ変換を行うのは、身近な環境のオペレーテ
ィングシステムプログラム(OS)上で動作するような
ものが望まれる。
Further, the above-mentioned conventional example does not consider a method of coping with the case where data conversion cannot be completely performed. The data conversion is desired to be performed on an operating system program (OS) in a familiar environment.

【0014】本発明の目的は、かかる従来の問題点を解
決し、データ形式の異なるデータを利用者に意識させな
いでデータ変換する情報処理装置を提供することにあ
る。
An object of the present invention is to solve the conventional problems and provide an information processing apparatus for converting data having different data formats without making the user aware of the data.

【0015】[0015]

【課題を解決するための手段】上記目的は、データを受
け付けもしくは出力する入出力手段と、あらかじめ定め
られた複数の処理手順に従って、前記入出力手段で受け
付けたデータについて処理を行う処理手段と、該処理手
段の実行を管理し、前記入出力手段と前記処理手段との
間のデータのやり取りを制御する制御管理手段と、前記
処理手段と前記制御管理手段との間でデータを変換する
データ変換部とを有し、前記処理手段で処理を行うデー
タの形式が複数種類ある情報処理装置であって、データ
変換部は、前記複数の処理手順のうち少なくとも一つを
実行する場合に、前記制御管理手段におけるデータのや
り取りの制御時に、前記入出力手段で受け付けたデータ
の形式を検査するデータ検査手段と、該データ検査手段
で検査したデータ形式が、前記処理手順を実行する処理
手段において処理を行えるデータ形式か否かを判断する
判断手段と、該判断手段における判断の結果、処理を行
えないデータ形式であれば、当該処理手順において処理
を行えるデータ形式に変換する変換手段とを備えること
により達成される。
The above object is to provide an input / output means for receiving or outputting data, a processing means for processing the data received by the input / output means in accordance with a plurality of predetermined processing procedures, Control management means for managing execution of the processing means and controlling data exchange between the input / output means and the processing means, and data conversion for converting data between the processing means and the control management means An information processing device having a plurality of types of data to be processed by the processing means, wherein the data conversion unit performs the control when performing at least one of the plurality of processing procedures. Data inspection means for inspecting the format of data received by the input / output means and data inspected by the data inspection means at the time of controlling data exchange in the management means If the expression is a data format that can be processed by the processing means that executes the processing procedure, and if the result of the determination by the determination means is a data format that cannot be processed, the processing is performed in the processing procedure. And a conversion means for converting the data into a data format capable of performing.

【0016】前記変換手段で変換されたデータを格納す
る格納手段をさらに有し、前記実行する処理手段は、該
格納手段に格納されたデータについて処理を行うように
してもよい。
The processing means for executing may further include a storage means for storing the data converted by the conversion means, and the processing means for executing the processing may process the data stored in the storage means.

【0017】前記実行する処理手段は、処理結果を前記
格納手段に書き込むことができる。また、前記データ変
換部は、前記入出力手段で受け付けた元のデータと前記
変換手段で変換されたデータとを対応させて管理するデ
ータ変換前後管理手段をさらに備える。前記データ変換
前後管理手段は、前記格納手段に格納されたデータに書
き込みがあったか否かをさらに管理し、前記データ変換
部は、前記データ変換前後管理手段を参照し、前記書き
込みがあった場合には、前記格納手段に書き込まれたデ
ータについて、元のデータ形式に変換する逆変換手段を
さらに備える。
The processing means to be executed can write the processing result in the storage means. The data conversion unit further includes a data conversion pre / post management unit that manages the original data received by the input / output unit and the data converted by the conversion unit in association with each other. The data conversion pre / post management unit further manages whether or not the data stored in the storage unit has been written, and the data conversion unit refers to the data conversion pre / post management unit, and when the data is written, Further includes inverse conversion means for converting the data written in the storage means into the original data format.

【0018】また、前記データ変換部は、前記複数の処
理手段において処理が行えるデータ形式をあらかじめ管
理しておくデータ形式管理手段をさらに備えてもよい。
Further, the data conversion section may further include a data format management means for managing in advance a data format that can be processed by the plurality of processing means.

【0019】さらに、前記データ変換部におけるデータ
形式の種類は、データの文字コード体系の種類であると
することができる。また、前記データ変換部におけるデ
ータ形式の種類は、データが示す言語の種類であるとす
ることができる。
Further, the type of data format in the data conversion unit can be the type of character code system of data. Further, the type of data format in the data conversion unit may be the type of language indicated by the data.

【0020】また、前記データ検査手段は、前記入出力
手段で受け付けたデータについて、あらかじめ定めたデ
ータ長のデータの出現頻度の度数分布と、あらかじめ定
めた複数のデータ形式における度数分布との相関係数を
それぞれ求め、該求めた結果に基づいて前記受け付けた
データの形式を最大の相関係数のデータ形式と判定す
る。もしくは、前記データ検査手段は、前記入出力手段
で受け付けたデータの形式を、該データにあらかじめ付
加されている、データ形式に関する属性に基づいて判定
するようにしてもよい。
Further, the data inspection means correlates the frequency distribution of the appearance frequency of the data having a predetermined data length and the frequency distribution in a plurality of predetermined data formats with respect to the data received by the input / output means. The respective numbers are obtained, and the format of the received data is determined to be the maximum correlation coefficient data format based on the obtained results. Alternatively, the data inspection means may determine the format of the data received by the input / output means based on an attribute related to the data format, which is added to the data in advance.

【0021】前記変換手段は、前記データ形式を他のデ
ータ形式に変換するための変換手順を前記データ形式に
対応させて、あらかじめ記憶しておくデータ変換管理テ
ーブルを備える。前記データ変換部は、前記判断手段に
おける判断の結果、処理を行えないデータ形式であれ
ば、該データのデータ形式を変換するか否かについての
あらかじめ定めたメッセージを生成し、前記入出力手段
は、該メッセージを出力し、前記データ形式を変換する
か否かの指示を受け付け、前記データ変換部の変換手段
は、前記入出力手段で前記データ形式の変換指示を受け
付けたときに、前記データのデータ形式の変換を行うよ
うにしてもよい。
The conversion means comprises a data conversion management table that stores in advance a conversion procedure for converting the data format into another data format in association with the data format. As a result of the judgment by the judging means, if the data format cannot be processed, the data converting section generates a predetermined message as to whether or not to convert the data format of the data, and the input / output means , Outputting the message, receiving an instruction as to whether or not to convert the data format, and the conversion means of the data conversion unit outputs the data of the data when the input / output means receives the conversion instruction of the data format. The data format may be converted.

【0022】また、前記データ変換管理テーブルは、変
換の完全さを示す割合を変換手順に対応して、さらに記
憶しておき、前記データ変換部のメッセージ出力時に、
該変換の完全さを示す割合に対応するメッセージをさら
に出力することができる。
Further, the data conversion management table further stores a ratio indicating the completeness of conversion corresponding to the conversion procedure, and when the message is output from the data conversion unit,
It is possible to further output a message corresponding to the rate indicating the completeness of the conversion.

【0023】さらに、前記変換手段は、あらかじめ定め
た処理手順の場合には、データ形式の変換を行わないよ
うにできる。例えば、APがエディタなどの場合には、
データコードの編集を目的とするので、変換を行わない
ようにあらかじめ定めておく。 また、前記入出力手段
で受け付けたデータは、他の処理手順において実行され
た結果とすることができる。
Further, the conversion means may not convert the data format in the case of a predetermined processing procedure. For example, if the AP is an editor,
Since the purpose is to edit the data code, it is decided in advance not to perform conversion. Further, the data received by the input / output unit can be a result executed in another processing procedure.

【0024】[0024]

【作用】入出力手段としては、各種ドライバを備え、デ
ィスプレイ、プリンタ、キーボード、フロッピディス
ク、ハードディスクなどの入出力装置を備えることがで
きる。処理手順は、AP(アプリケーション・プログラ
ム)であり、文書編集、作表、データベース、電子メー
ルなどの複数種の処理手順を備える。制御管理手段は、
オペレーティングシステムプログラム(OS)であり、
前記入出力手段と前記複数の処理手段との間のデータの
やり取りを制御する。
As the input / output means, various drivers can be provided, and an input / output device such as a display, a printer, a keyboard, a floppy disk and a hard disk can be provided. The processing procedure is an AP (application program), and includes a plurality of types of processing procedures such as document editing, tabulation, database, and electronic mail. The control management means is
An operating system program (OS),
Data exchange between the input / output unit and the plurality of processing units is controlled.

【0025】前記複数の処理手順のうち少なくとも一つ
を実行する場合に、処理手段が制御管理手段を介して入
出力手段からデータを入力しようとすると、データ検査
手段が、該処理手順のデータ形式の種類を検査する。検
査方法としては、前記入出力手段で受け付けたデータの
形式を、あらかじめ定めたデータ長のデータの出現頻度
の度数分布と、あらかじめ定めた複数のデータ形式の度
数分布との相関係数をそれぞれ求め、最大の相関係数の
データ形式と判定する方法がある。また、他の検査方法
としては、前記入出力手段で受け付けたデータの形式
を、該データにあらかじめ付加されている、データ形式
に関する属性に基づいて判定する。
When the processing means attempts to input data from the input / output means via the control management means when executing at least one of the plurality of processing procedures, the data checking means causes the data format of the processing procedure to be input. Inspect the type of. As an inspection method, the format of the data received by the input / output unit is obtained as a correlation coefficient between the frequency distribution of the frequency of appearance of data having a predetermined data length and the frequency distribution of a plurality of predetermined data formats. , There is a method of determining the data format of the maximum correlation coefficient. Further, as another inspection method, the format of the data received by the input / output unit is determined based on the attribute regarding the data format, which is added to the data in advance.

【0026】つぎに、判断手段は、該データ検査手段で
検査したデータ形式が、実行する処理手順において処理
を行えるデータ形式か否かを判断する。この判断は、デ
ータ形式管理手段で管理している、前記複数の処理手段
において処理が行えるデータ形式を参照することにより
行う。
Next, the judging means judges whether or not the data format inspected by the data inspecting means is a data format that can be processed in the processing procedure to be executed. This determination is made by referring to the data formats managed by the data format management means and which can be processed by the plurality of processing means.

【0027】該判断手段における判断の結果、処理を行
えないデータ形式であれば、データ変換手段が、実行す
る処理手順において処理を行えるデータ形式に変換す
る。また、変換する前に、データ変換部は、データ形式
を変換するか否かについてのあらかじめ定めたメッセー
ジを出力し、前記入出力手段は、該メッセージを出力
し、前記データ形式を変換するか否かの指示を受け付
け、前記データ変換部の変換手段は、前記入出力手段で
前記データ形式の変換指示を受け付けたときに、前記デ
ータのデータ形式の変換を行うようにしてもよい。
As a result of the judgment by the judging means, if the data format cannot be processed, the data converting means converts it into a data format which can be processed in the processing procedure to be executed. Further, before the conversion, the data conversion unit outputs a predetermined message as to whether or not the data format is to be converted, and the input / output unit outputs the message to determine whether or not to convert the data format. Alternatively, the conversion unit of the data conversion unit may convert the data format of the data when the input / output unit receives the conversion instruction of the data format.

【0028】このように、データ形式の異なるデータを
処理手順が入力として使用する場合、処理手順で処理が
行えるデータ形式にデータ変換を自動的に行うことによ
り、情報処理装置の利用者の負担を軽減することができ
る。
As described above, when data having a different data format is used as an input in the processing procedure, the data conversion is automatically performed into a data format that can be processed by the processing procedure, thereby reducing the burden on the user of the information processing apparatus. Can be reduced.

【0029】[0029]

【実施例】以下、本発明の一実施例を図面を用いて説明
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0030】まず、本発明の実施例に係る情報処理装置
の外観について図17を用いて説明する。情報処理装置
100は、パーソナルコンピュータ、ワードプロセッサ
やワークステーションなどであり、情報処理装置本体1
10、表示手段のディスプレイ装置240、入力手段の
キーボード250やマウス251、および、出力手段の
プリンタ装置270を有する。情報処理装置本体110
は、図2において説明する、中央処理ユニット200、
ハードディスク装置220、フロッピディスク装置23
0、主メモリ210および通信装置260等を格納す
る。
First, the external appearance of the information processing apparatus according to the embodiment of the present invention will be described with reference to FIG. The information processing apparatus 100 is a personal computer, a word processor, a workstation, etc.
10, a display device 240 as a display unit, a keyboard 250 or a mouse 251, as an input unit, and a printer device 270 as an output unit. Information processing device main body 110
Is a central processing unit 200, which will be described in FIG.
Hard disk device 220, floppy disk device 23
0, the main memory 210, the communication device 260, etc. are stored.

【0031】つぎに、図17においてその外観を示した
情報処理装置100のハードウェア構成について図2を
用いて説明する。200は、中央処理ユニット(CP
U)であり、後に述べる、アプリケーション・プログラ
ム(AP)、オペレーティング・システム・プログラ
ム、データ変換プログラム、データ変換制御処理等の各
種の処理プログラムの実行を行い、また、周辺機器21
0〜280の制御を行なう。210は、主メモリ(M
M)であり、各種の処理プログラムおよびデータが格納
される。利用者から処理プログラムへの指示は、入力手
段のキーボード250(KB)、マウス251を介して
行なわれる。240は、表示手段のディスプレイ装置
(CRT)であり、図13に示すデータ変換メッセージ
等、各種の処理プログラムが表示を行う。270は、印
字出力手段のプリンタ(PRT)であり、印刷を指示さ
れたデータはこのプリンタ270で印刷される。230
は、記憶手段のフロッピディスク装置であり、処理プロ
グラムやデータ等の各種のファイルの読み出しや書き込
みを行なう。220は、記憶手段のハードディスク装置
(HDD)であり、フロッピディスクと同様に各種のフ
ァイルの読み出しまたは書き込みを行なう。260は、
通信装置であり、他の情報処理装置100に対するデー
タの入出力を行う。280は、バスであり、これらの周
辺機器210〜270と中央処理ユニット200間のデ
ータ転送を行なう。
Next, the hardware configuration of the information processing apparatus 100, the appearance of which is shown in FIG. 17, will be described with reference to FIG. 200 is a central processing unit (CP
U), which executes various processing programs such as an application program (AP), an operating system program, a data conversion program, and a data conversion control process, which will be described later, and the peripheral device 21.
Control from 0 to 280 is performed. 210 is a main memory (M
M), and various processing programs and data are stored. The user gives an instruction to the processing program via the keyboard 250 (KB) and the mouse 251 of the input means. Reference numeral 240 denotes a display device (CRT) as a display means, and various processing programs such as the data conversion message shown in FIG. 13 display. A printer (PRT) 270 is a print output unit, and the data instructed to be printed is printed by the printer 270. 230
Is a floppy disk device as a storage unit, which reads and writes various files such as processing programs and data. Reference numeral 220 denotes a hard disk device (HDD) as a storage unit, which reads or writes various files as with a floppy disk. 260 is
A communication device, which inputs and outputs data to and from another information processing device 100. A bus 280 transfers data between the peripheral devices 210 to 270 and the central processing unit 200.

【0032】つぎに、図3を用いて、情報処理装置の主
メモリ(MM)210に記憶されているソフトウェアの
構成について説明する。
Next, the configuration of the software stored in the main memory (MM) 210 of the information processing apparatus will be described with reference to FIG.

【0033】図3において、301a〜eは、文書編
集、作表、データベース、電子メール等の各種のアプリ
ケーションプログラム(AP)である。APは、オペレ
ーティングシステムプログラム(OS)の提供するシス
テムコールのインターフェイスを用いてファイルのオー
プン、読み書き、クローズ等のアクセスを行なう。30
は、データ変換部であり、ファイルのデータ形式の変換
を行うための各種プログラムを備えている。詳細につい
ては後述する。302は、データ変換処理手段のデータ
変換制御プログラムであり、ファイルのデータ形式の変
換を制御する。303は、データ検査プログラムであ
り、ファイルのデータ形式を判定する。304a〜e
は、各種のデータ変換プログラムであり、データ変換プ
ログラムを識別するための識別番号があらかじめ付加さ
れている。データ形式の変換を行う。307は、AP検
査プログラムであり、APの種類と扱えるデータ形式と
を判定する。データ変換部30には、データ変換制御プ
ログラム302と、データ検査プログラム303と、A
P検査プログラム307と、データ変換プログラム30
4a〜eとを備えている。500は、データ変換管理テ
ーブルであり、各種のデータ形式間におけるデータ変換
に対応する変換プログラムを示し、図5に示すように、
変換前後のデータ形式番号と変換プログラム番号と変換
グレードとを複数記憶している。600は、データ形式
管理テーブルであり、AP301の種類と該AP301
が取り扱い可能なデータのデータ形式との対応関係を示
し、図6に示すように、各AP番号とAP名称とデータ
形式番号とデータ形式名称とを複数記憶している。90
0は、データ変換制御テーブルであり、データ変換を行
ったときに、変換を行ったファイルについての情報を格
納し、管理するためのテーブルである。990は、度数
分布テーブルであり、各データ形式に対応する各文字コ
ード体系における度数分布をあらかじめ設定しておく。
各テーブルの詳細については後述する。
In FIG. 3, 301a to 301e are various application programs (AP) such as document editing, tabulation, database, electronic mail and the like. The AP uses a system call interface provided by an operating system program (OS) to access files such as open, read, write, and close. Thirty
Is a data conversion unit and includes various programs for converting the data format of a file. Details will be described later. A data conversion control program 302 of the data conversion processing means controls conversion of the data format of the file. A data inspection program 303 determines the data format of the file. 304a-e
Are various data conversion programs, and identification numbers for identifying the data conversion programs are added in advance. Convert the data format. An AP inspection program 307 determines the type of AP and the data format that can be handled. The data conversion unit 30 includes a data conversion control program 302, a data inspection program 303, and an A
P inspection program 307 and data conversion program 30
4a-e. A data conversion management table 500 indicates a conversion program corresponding to data conversion between various data formats, and as shown in FIG.
A plurality of data format numbers before and after conversion, conversion program numbers, and conversion grades are stored. Reference numeral 600 denotes a data format management table, which indicates the type of AP 301 and the AP 301.
Shows the correspondence relationship with the data format of data that can be handled. As shown in FIG. 6, a plurality of AP numbers, AP names, data format numbers, and data format names are stored. 90
Reference numeral 0 denotes a data conversion control table, which is a table for storing and managing information about a converted file when data conversion is performed. Reference numeral 990 is a frequency distribution table in which the frequency distribution in each character code system corresponding to each data format is set in advance.
Details of each table will be described later.

【0034】また、301a〜eおよび304a〜eの
各処理プログラムは、各々独立したタスクとしてオペレ
ーティングシステムプログラム(OS)305で制御さ
れる。オペレーティング・システム・プログラム309
は、基本的なマルチタスキング制御や入出力制御から、
ディスプレイ装置240に表示する制御、指定されたフ
ァイルをアクセスする制御等を行う。306a〜eは、
デバイス・ドライバ・プログラムであり、それぞれディ
スプレイ装置240、印刷装置270、キーボード25
0、フロッピディスク装置230、ハードディスク装置
220等の制御を行う処理プログラムである。なお、3
01a〜eはAPであり、また、データ変換部30は、
オペレーティングシステムプログラム上のプログラムと
することができる。
The processing programs 301a-e and 304a-e are controlled by operating system program (OS) 305 as independent tasks. Operating system program 309
From basic multi-tasking control and input / output control,
The control for displaying on the display device 240, the control for accessing the designated file, and the like are performed. 306a-e are
A device driver program, which is a display device 240, a printing device 270, and a keyboard 25, respectively.
0, the floppy disk device 230, the hard disk device 220, and the like. 3
01a to e are APs, and the data conversion unit 30 is
It can be a program on an operating system program.

【0035】つぎに、本実施例に係る、各種APで利用
されるファイルのデータ構造について、図4を用いて説
明する。図4に、(a)ファイルのデータ構造と、
(b)ファイル保護属性の内容と、(c)ファイル名称
の内容とを示す。図4(a)において、ファイル400
は、ファイル名称410、ファイル保護属性420、所
有者ID430、および、データ440からなる。ファ
イル名称410は、該ファイル400の名称であり、図
4(c)に示すように、アポストロフィー412
の「.」で区切られた前部411は名称本体、後部41
3は該ファイルの属性を示す拡張子である。拡張子41
3は、例えば、該ファイル400に格納されているデー
タ440が処理プログラムのロードモジュールである場
合は「EXE」となり、A社のワープロソフトのテキス
トデータの場合は「JXW」、B社のワープロソフトの
テキストデータの場合は「XJW」、C言語のソースの
場合は「C」となる。図4(b)において、ファイル保
護属性420は、該ファイル400の読み書きを利用者
により制限するためのもので、該ファイル400の所有
者以外の利用者に対する読込みの可/不可421、書き
込みの可/不可422が記述されている。所有者ID4
30は、該ファイル400の所有者を唯一に識別するた
めの識別情報である。データ440は、処理プログラ
ム、テキスト、図形、イメージ等を表現する各種のデー
タであり、データ形式がAPにより異なる。
Next, the data structure of a file used by various APs according to this embodiment will be described with reference to FIG. FIG. 4 shows the data structure of (a) file,
The contents of the file protection attribute (b) and the contents of the file name (c) are shown. In FIG. 4A, the file 400
Consists of a file name 410, a file protection attribute 420, an owner ID 430, and data 440. The file name 410 is the name of the file 400, and as shown in FIG.
The front part 411 separated by "." Is the name body, the rear part 41
Reference numeral 3 is an extension indicating the attribute of the file. Extension 41
3 is, for example, "EXE" when the data 440 stored in the file 400 is the load module of the processing program, "JXW" when the text data is the word processing software of A company, and the word processing software of B company. In the case of the text data of "XJW", it is "C" in the case of the C language source. In FIG. 4B, the file protection attribute 420 is for restricting the reading and writing of the file 400 by the user, and read / disable 421 and write enable / disable 421 for users other than the owner of the file 400. / Not possible 422 is described. Owner ID 4
Reference numeral 30 is identification information for uniquely identifying the owner of the file 400. The data 440 is various data representing a processing program, text, figure, image, etc., and the data format differs depending on the AP.

【0036】つぎに、データ変換プログラム管理テーブ
ル500について、図5を用いて説明する。図5は、デ
ータ変換プログラム管理テーブルの構成を示している。
図5において、データ変換プログラム管理テーブル50
0は、各種のデータ形式間におけるデータ変換に対応す
る、変換手順を定めている変換プログラムを示すテーブ
ルであり、あらかじめ定められており、登録することも
できる。変換プログラムの識別には、図3に示すよう
な、変換プログラム304a〜eという識別情報を格納
しておく。また、データ変換プログラム管理テーブル5
00は、入力手段より登録することも可能である。デー
タ変換プログラム管理テーブル500は、複数のレコー
ドから構成され、各レコードには変換元のデータ形式番
号510、変換先のデータ形式番号520、対応する変
換プログラム番号530、変換グレード540からな
る。データ形式番号510および520は、データ形式
を唯一に特定するための識別情報であり、データ形式に
対応する番号があらかじめ定められている。また、変換
プログラム番号530は、複数あるデータ変換プログラ
ム304を唯一に特定する識別情報であり、あらかじめ
定められた番号である。変換グレード540は、変換の
完全さを示す指数である。例えば、文書ファイルのデー
タにおいて、完全なデータ形式の変換が可能な場合は1
00、外字データ等の変換不可能な部分が多少あるが実
用上は問題無い場合は80、頁のフォーマットが崩れて
文字コードのみの最低限の変換しか行えない場合は30
等の数値が記述される。
Next, the data conversion program management table 500 will be described with reference to FIG. FIG. 5 shows the structure of the data conversion program management table.
In FIG. 5, a data conversion program management table 50
Reference numeral 0 is a table showing a conversion program that defines a conversion procedure corresponding to data conversion between various data formats, which is predetermined and can be registered. The identification information of the conversion programs 304a to 304e as shown in FIG. 3 is stored in the identification of the conversion program. Also, the data conversion program management table 5
00 can also be registered by the input means. The data conversion program management table 500 is composed of a plurality of records, and each record includes a conversion source data format number 510, a conversion destination data format number 520, a corresponding conversion program number 530, and a conversion grade 540. The data format numbers 510 and 520 are identification information for uniquely identifying the data format, and the numbers corresponding to the data formats are predetermined. The conversion program number 530 is identification information that uniquely identifies a plurality of data conversion programs 304, and is a predetermined number. The conversion grade 540 is an index indicating the completeness of conversion. For example, 1 if the data in the document file can be completely converted to the data format.
00, there are some unconvertible parts such as external character data, but there is no problem in practical use 80, 30 if the page format collapses and only the minimum conversion of character codes can be performed
Numerical values such as are described.

【0037】つぎに、データ形式管理テーブル600に
ついて図6を用いて説明する。データ変換管理テーブル
600は、AP301の種類と該AP301が取り扱い
可能なデータのデータ形式との対応関係を示すものであ
り、データ形式管理手段段であり、あらかじめ定められ
ており、また、登録することもできる。データ変換管理
テーブル600は、複数のレコードから構成され、各レ
コードには、AP番号610、AP名称620、データ
形式番号630およびデータ形式名称640からなる。
AP番号610は、AP301を唯一に特定する識別番
号である。AP名称620は、該AP301の名称であ
る。AP301の読み出し対称であるロードモジュール
がファイル400という格納領域に格納されている場
合、ファイル名称の前部411がAP名称620とな
る。データ形式番号630は、データ変換プログラム管
理テーブル500のデータ形式番号510および520
と同じく、データ形式を唯一に特定するための識別番号
である。データ形式名称640は該データ形式の名称で
ある。
Next, the data format management table 600 will be described with reference to FIG. The data conversion management table 600 shows the correspondence relationship between the type of the AP 301 and the data format of the data that can be handled by the AP 301, is a data format management unit, is predetermined, and must be registered. You can also The data conversion management table 600 is composed of a plurality of records, and each record includes an AP number 610, an AP name 620, a data format number 630, and a data format name 640.
The AP number 610 is an identification number that uniquely identifies the AP 301. The AP name 620 is the name of the AP 301. When the load module that is the symmetric reading of the AP 301 is stored in the storage area of the file 400, the front part 411 of the file name becomes the AP name 620. The data format number 630 is the data format numbers 510 and 520 of the data conversion program management table 500.
Similarly to, it is an identification number for uniquely identifying the data format. The data format name 640 is the name of the data format.

【0038】つぎに、データ変換制御テーブルについ
て、図9を用いて説明する。データ変換制御テーブル9
00は、ファイル400aのデータ変換を行った場合、
元のファイル400aと変換後のファイル400bとの
対応関係、および、変換の種類、変換後のファイルに対
する読み書きの記録を行うための管理手段段であり、デ
ータ変換を行ったときに逐次格納される。データ変換制
御テーブル900は、複数のレコードから構成され、各
レコードは、変換元のファイル名910、変換後のファ
イル名920、データ変換プログラム304を唯一に特
定する変換プログラム番号930および読み書き記録9
40からなる。
Next, the data conversion control table will be described with reference to FIG. Data conversion control table 9
00 is when the data conversion of the file 400a is performed,
It is a management unit for recording the correspondence between the original file 400a and the converted file 400b, the type of conversion, and the reading / writing of the converted file, which is sequentially stored when data conversion is performed. . The data conversion control table 900 is composed of a plurality of records, and each record includes a conversion source file name 910, a conversion file name 920, a conversion program number 930 that uniquely identifies the data conversion program 304, and a read / write record 9.
It consists of 40.

【0039】つぎに、本実施例における本発明に係るデ
ータ変換機構のシステム構成について図1を用いて説明
する。図1に示す構成は、図3に示したソフトウェアの
構成に加えて、各プログラム間で送受信される状況を示
したものである。ファイル400aが、301a〜eの
各種アプリケーションプログラムにおけるデータを格納
する領域であり、データ形式変換後のデータをファイル
400bに示す領域に格納する。ファイルの格納先とし
ては、フロッピディスクやハードディスクなどの記憶手
段に各種ドライバを介して記憶される。
Next, the system configuration of the data conversion mechanism according to the present invention in this embodiment will be described with reference to FIG. The configuration shown in FIG. 1 shows a situation in which the programs are transmitted and received in addition to the software configuration shown in FIG. The file 400a is an area for storing data in various application programs 301a to 301e, and the data after the data format conversion is stored in the area shown in the file 400b. A file is stored in a storage device such as a floppy disk or a hard disk via various drivers.

【0040】図1において、AP301がファイル40
0aのアクセスを行う場合、データ変換制御処理302
が呼び出され、データ変換制御302は、AP301が
扱えるデータ形式とファイル400aのデータ形式とを
比較する。比較の結果データ形式が異なる場合はデータ
形式の変換を行う。
In FIG. 1, the AP 301 is the file 40.
0a access, data conversion control processing 302
Is called, and the data conversion control 302 compares the data format that the AP 301 can handle with the data format of the file 400a. If the data format is different as a result of the comparison, the data format is converted.

【0041】まず、データ変換制御302では、AP検
査処理308を呼び出してファイルアクセスを行おうと
しているAP301を特定する。AP検査処理308
は、OS305に記述されている実行中のAPのAP名
称309からAP301を特定し、図6に示すデータ形
式管理テーブルを参照してAP301が扱えるデータ形
式を特定する。つぎに、データ検査処理303を呼び出
し、データ検査処理303は、アクセス対象のファイル
400aのデータ形式を特定する。そして、データ検査
処理303は、AP301が扱えるデータ形式とファイ
ル400aとを比較する。データ形式が異なる場合は、
データ変換制御302は、図5に示すデータ変換プログ
ラム管理テーブルを参照して、対応するデータ変換プロ
グラム304を選択して呼び出し、データの変換を行っ
たファイル400bを生成した後、AP301は該ファ
イル400bに対してアクセスを行う。
First, in the data conversion control 302, the AP inspection processing 308 is called to specify the AP 301 that is trying to access the file. AP inspection process 308
Identifies the AP 301 from the AP name 309 of the AP being executed described in the OS 305, and refers to the data format management table shown in FIG. 6 to identify the data format that the AP 301 can handle. Next, the data inspection process 303 is called, and the data inspection process 303 specifies the data format of the file 400a to be accessed. Then, the data inspection process 303 compares the data format that the AP 301 can handle with the file 400a. If the data format is different,
The data conversion control 302 refers to the data conversion program management table shown in FIG. 5 and selects and calls the corresponding data conversion program 304 to generate a file 400b into which the data has been converted. Access to.

【0042】つぎに、上記図1で示した各部の処理につ
いて詳細に説明する。
Next, the processing of each unit shown in FIG. 1 will be described in detail.

【0043】まず、データ検査処理303について、図
7に示す処理フローを用いて説明する。本実施例のデー
タ検査処理303においては、データ形式を判別するた
めに、相関係数を用いる。データ検査処理303には、
各データ形式に対応する各文字コード体系における数値
の度数分布テーブルのfr=Σi(xi,256)が予め
用意されている。なお、xは各数値0〜255における
数値の出現度数である。相関係数の算出方法について
は、(株)日科技連出版社発行の「統計解析のはなし」
第206〜210頁に述べられている。また、言語によ
る度数分布の違いについては、(株)サイエンス社発行
の「基礎暗号学」第2編、第1章に述べられている。図
7において、データ検査処理303は、まず、アクセス
対象のファイル400aを読み込み(処理710)、つ
ぎに、読み込んだファイルの一部または全部のデータを
バイト単位に分解した後、各バイトの値を数値データと
し、該数値の度数分布fO=Σi(xi,256)を作成
する(処理720)。つぎに、予め用意されている各文
字コード体系における数値の度数分布fr=Σi(xi
256)とfOとの相関係数を計算する。計算の結果、
最も相関係数が大きかったfrの文字コード体系を該フ
ァイル400aのデータ440が使用している文字コー
ド体系、つまりデータ形式とする(処理730)。ま
た、異なる文字コード体系の例を図19および図20に
示す。図19および図20において、「上位」とは各バ
イトの上位4ビットの値であり、「下位」とは各バイト
の下位4ビットの値である。例えば、ファイル400a
のデータ440が図19に示した文字コード体系1で記
述されている場合は、fOは、文字コード体系1のfr
最も相関が強くなり、値の大きな相関係数が算出され、
ファイル400aのデータ440は文字コード体系1で
記述されていると判定される。但し、予め用意されてい
る何れの文字コード体系とも相関係数が0.3以下であ
る場合は、データ形式は判定不可能とする。730の処
理において、データ形式が判定不可能の場合には、図1
3(e)に示すメッセージをディスプレイ装置240に
表示し、ファイルアクセスに係る処理を終了する。
First, the data inspection processing 303 will be described using the processing flow shown in FIG. In the data inspection processing 303 of this embodiment, the correlation coefficient is used to determine the data format. The data inspection process 303 includes
The frequency distribution table f r = Σ i (x i , 256) of numerical values in each character code system corresponding to each data format is prepared in advance. In addition, x is the appearance frequency of the numerical value in each numerical value 0-255. For the calculation method of the correlation coefficient, refer to "Statistical analysis" published by Nikka Giren Publishing Co., Ltd.
See pages 206-210. The difference in the frequency distribution depending on the language is described in Chapter 2 of the "Basic Cryptography", Volume 2, published by Science Corporation. In FIG. 7, the data inspection process 303 first reads the file 400a to be accessed (process 710), then decomposes part or all of the data of the read file into byte units, and then determines the value of each byte. As numerical data, a frequency distribution f O = Σ i (x i , 256) of the numerical values is created (process 720). Next, a frequency distribution f r = Σ i (x i , x i ,
256) and calculating the correlation coefficient between f O. The result of the calculation,
Most character code system of the correlation coefficient was greater f r data 440 of the file 400a character code system used, that is, the data format (processing 730). 19 and 20 show examples of different character code systems. 19 and 20, “upper” is the value of the upper 4 bits of each byte, and “lower” is the value of the lower 4 bits of each byte. For example, the file 400a
19 is described in the character code system 1 shown in FIG. 19, f O has the strongest correlation with f r of the character code system 1, and a correlation coefficient having a large value is calculated.
It is determined that the data 440 of the file 400a is described in the character code system 1. However, if the correlation coefficient is 0.3 or less with any of the character code systems prepared in advance, the data format cannot be determined. In the processing of 730, if the data format cannot be determined,
The message shown in 3 (e) is displayed on the display device 240, and the processing relating to the file access is ended.

【0044】なお、上述の処理720の処理は、バイト
単位で解析を行なったが、漢字コードは2バイトなの
で、上述のバイト単位の解析の他に、JISや新JIS
等の漢字コード体系のfrとの相関係数の算出を2バイ
ト単位で行ない、相関係数の値が高い方を採用すること
も考えられる。
In the processing of the processing 720 described above, analysis is performed in byte units. However, since the Kanji code is 2 bytes, in addition to the above-mentioned analysis in byte units, JIS and new JIS
It is also conceivable to calculate the correlation coefficient with f r of the Kanji code system such as, for example, in units of 2 bytes, and adopt the one with the higher correlation coefficient value.

【0045】また、一般にAPは、そのAP特有の拡張
子413を持つファイル名称410をファイル400に
付けることが多い。よって、つぎに示す方法によりデー
タ形式を判定することも考えられる。この場合は、度数
分布テーブルの代わりに、図18に示す、データ拡張子
検索テーブル1800を設ける。データ拡張子検索テー
ブル1800は、ファイル名称410の拡張子413と
データ形式との対応関係を示すものである。データ拡張
子検索テーブル1800は、複数のレコードから構成さ
れ、各レコードには、拡張子1810、AP名称182
0、データ形式番号1830およびデータ形式名称18
40からなる。AP名称1820は、該拡張子1810
に対応するAP301の名称である。データ形式番号1
830は、データ形式を唯一に特定する識別番号であ
る。データ形式名称1840は該データ形式の名称であ
る。そして、データ検査処理303は、アクセス対象の
ファイル名称410の拡張子413をキーとして該デー
タ拡張子検索テーブル1800から、該拡張子413に
対応するデータ形式番号を取得する。これにより、デー
タ形式を判定することができる。拡張子413として
は、前述のように、処理プログラムのロードモジュール
である場合は「EXE」、A社のワープロソフトのテキ
ストデータの場合は「JXW」、B社のワープロソフト
のテキストデータの場合は「XJW」、C言語のソース
の場合は「C」というように各データ形式に合わせて識
別できる。
In general, an AP often gives a file name 410 having an extension 413 unique to the AP to the file 400. Therefore, it is possible to judge the data format by the following method. In this case, a data extension search table 1800 shown in FIG. 18 is provided instead of the frequency distribution table. The data extension search table 1800 shows the correspondence between the extension 413 of the file name 410 and the data format. The data extension search table 1800 is composed of a plurality of records, and each record has an extension 1810 and an AP name 182.
0, data format number 1830 and data format name 18
It consists of 40. The AP name 1820 is the extension 1810.
Is the name of the AP 301 corresponding to. Data format number 1
An identification number 830 uniquely identifies the data format. The data format name 1840 is the name of the data format. Then, the data inspection process 303 acquires the data format number corresponding to the extension 413 from the data extension search table 1800 using the extension 413 of the access target file name 410 as a key. Thereby, the data format can be determined. As described above, the extension 413 is "EXE" for the load module of the processing program, "JXW" for the text data of the word processing software of Company A, and "JXW" for the text data of the word processing software of Company B. It can be identified according to each data format, such as "XJW" or "C" for a C language source.

【0046】また、日本語、英語、独語等の言語の判定
を行なうことも考えられる。その場合、まず、図15に
示すように、文字コード体系の判定を行なった後に(処
理1510)、該文字コード体系に基づいて言語の判定
を行なう(処理1520)。一般に、文字「a」〜
「z」の度数分布fr=Σa〜z(xi,26)は言語によ
り異なる。よって、変換元ファイル400aのデータ4
40における文字「a」〜「z」の度数分布fO=Σ
a〜z(xi,26)と各言語における度数分布fr=Σ
a〜 z(xi,26)との相関係数を求める。相関係数に
よる言語の判定方法については、(株式会社)サイエン
ス社発行の「基礎暗号学」第2編第1章に述べられてい
る。そして、該データ440は、最も高い値の相関係数
が算出された度数分布frの言語で記述されている判定
する。この場合、文字コード体系と言語の種類とを組み
合わせたものがデータ形式となる。
It is also conceivable to judge a language such as Japanese, English or German. In this case, first, as shown in FIG. 15, after the character code system is determined (process 1510), the language is determined based on the character code system (process 1520). Generally, the letter "a" ~
The frequency distribution f r = Σa to z (x i , 26) of “z” differs depending on the language. Therefore, the data 4 of the conversion source file 400a
Frequency of the letter "a" to "z" in the 40 distribution f O = Σ
a to z (x i , 26) and frequency distribution f r = Σ in each language
obtaining a correlation coefficient between a~ z (x i, 26) . The language determination method based on the correlation coefficient is described in Chapter 1 of Volume 2 of "Basic Cryptography" published by Science Co., Ltd. Then, the data 440, determines that described in highest languages frequency distribution f r the correlation coefficient is calculated for. In this case, the data format is a combination of the character code system and the type of language.

【0047】つぎに、データ変換制御処理302につい
て、図8を用いて説明する。データ変換制御処理302
は、AP301によるファイル400aのアクセスの際
に呼び出される。そして、データ変換制御処理302
は、ファイルの生成、オープン、読み書き、クローズ、
削除等のアクセスの種類に対応する処理820a〜eを
行う(処理810)。ファイル生成処理820aは、デ
ータ変換に係る処理は行わずに通常のファイル生成処理
を行う。また、ファイル削除処理820eも、データ変
換に係る処理は行わずに通常のファイル削除処理を行
う。その他の処理820b〜dは、データ変換に係る処
理を行うが、詳細については以下で説明する。
Next, the data conversion control process 302 will be described with reference to FIG. Data conversion control process 302
Is called when the AP 400 accesses the file 400a. Then, the data conversion control process 302
Creates, opens, reads, writes, closes files,
Processes 820a-e corresponding to the type of access such as deletion are performed (process 810). The file generation processing 820a performs normal file generation processing without performing processing related to data conversion. Further, the file deletion process 820e also performs a normal file deletion process without performing a process related to data conversion. The other processes 820b to 820 are processes related to data conversion, and the details will be described below.

【0048】まず、データ変換制御処理302のファイ
ルオープン処理820bについて、図10を用いて説明
する。オペレーティング・システム・プログラムでは、
入力手段よりファイルオープンの指示を受け付けると、
ファイルオープン処理820bの処理に移行する。ファ
イルオープン処理820bは、まず、AP検査処理10
10を行う。AP検査処理では、OS305内に格納さ
れている実行中のAP名称309からAP名称を取得す
る(処理1010)。なお、AP名称309は、AP3
01のロードモジュールを格納したファイル400を実
行する際に、該ファイル400のファイル名称440の
前部411が格納される。つぎに、前述したデータ検査
処理を行う(処理303)。つぎに、データ変換部30
は、データ形式管理テーブル600を用いて、AP検査
処理1010で取得したAP名称309をキー620と
し、該AP301が取り扱い可能なデータ形式のデータ
形式番号630を取得し、データ検査処理303で取得
したデータ形式番号と比較する。それらのデータ形式番
号が一致した場合は、通常のファイルオープンの処理を
行い(処理1030)、異なる場合はデータ変換プログ
ラムの決定処理1040に移行する(処理1020)。
First, the file open process 820b of the data conversion control process 302 will be described with reference to FIG. In the operating system program,
When a file open instruction is received from the input means,
The process moves to the file open process 820b. The file open process 820b starts with the AP inspection process 10
Do 10. In the AP inspection process, the AP name is acquired from the running AP name 309 stored in the OS 305 (process 1010). The AP name 309 is AP3.
When the file 400 storing the load module 01 is executed, the front part 411 of the file name 440 of the file 400 is stored. Next, the above-mentioned data inspection process is performed (process 303). Next, the data conversion unit 30
Using the data format management table 600, using the AP name 309 acquired in the AP inspection processing 1010 as the key 620, acquires the data format number 630 of the data format that the AP 301 can handle, and acquired in the data inspection processing 303. Compare with the data format number. If the data format numbers match, a normal file open process is performed (process 1030), and if different, the process shifts to a data conversion program determination process 1040 (process 1020).

【0049】データ変換プログラムの決定処理では、デ
ータ変換プログラム管理テーブル500を用いて、上記
処理1010で取得したデータ形式番号を変換先のデー
タ形式番号510、上記処理303で取得したデータ形
式番号を変換元のデータ形式番号520として、対応す
る変換プログラム番号530と変換グレード540とを
取得する(処理1040)。また、逆変換の可否を調べ
るために、処理1010で取得したデータ形式番号を変
換元のデータ形式番号520とし、処理303で取得し
たデータ形式番号を変換先のデータ形式番号510と
し、対応する変換プログラム番号530と変換グレード
540とを取得する。つぎに、処理1040の結果に基
づいて、データ変換メッセージをディスプレイ装置24
0に表示する(処理1050)。データ変換メッセージ
としては、上記処理1040において、データ変換プロ
グラム管理テーブル500を参照した結果、一致するデ
ータ形式番号の組510および520が無かった場合
は、図13(e)に示すような、データ変換メッセージ
をディスプレイ装置240に表示する。一方、一致する
データ形式番号の組510および520が有り、データ
変換が可能な場合は、図13(a)のデータ変換メッセ
ージをディスプレイ装置240に表示する。但し、変換
グレード540の値が99以下の場合は図13(b)の
メッセージを、逆変換の変換グレードの値が99以下の
場合は図13(c)のメッセージを、逆変換に対応する
データ形式番号の組510および520が無い場合は図
13(d)のメッセージを、図13(a)のデータ変換
メッセージに併せてディスプレイ装置240にそれぞれ
表示する(処理1050)。もしくは、変換グレードの
値を示すようにしてもよい。そして、データ変換が不可
能な場合、または、利用者が入力手段のキーボード25
0やマウス251からデータ変換の「取消」を指示した
場合は処理を終了する(処理1060)。一方、データ
変換を行う指示を受け付けた場合は、データ変換後のデ
ータを格納するワークファイル400bの生成を行う
(処理1070)。そして、生成したワークファイル4
00bの名称をデータ変換制御テーブル900のワーク
ファイル名920に登録する。また同時に、オープンし
ようとしているファイル400aの名称を変換元ファイ
ル名910、処理1040で取得した変換プログラム番
号530を930に登録する(処理1080)。つぎ
に、データ変換処理304を呼び出す。データ変換処理
304については、後で詳しく述べる。そして、最後に
ワークファイル400bをオープンする(処理109
0)。
In the data conversion program determination processing, the data conversion program management table 500 is used to convert the data format number acquired in the processing 1010 into the conversion destination data format number 510 and the data format number acquired in the processing 303. As the original data format number 520, the corresponding conversion program number 530 and conversion grade 540 are acquired (process 1040). Further, in order to check whether or not the reverse conversion is possible, the data format number acquired in step 1010 is set as the conversion source data format number 520, and the data format number acquired in step 303 is set as the conversion destination data format number 510. The program number 530 and the conversion grade 540 are acquired. Then, based on the result of the processing 1040, the data conversion message is displayed on the display device 24.
It is displayed in 0 (process 1050). As the data conversion message, in the process 1040, when the data conversion program management table 500 is referred to and there is no matching data format number set 510 and 520, data conversion as shown in FIG. The message is displayed on the display device 240. On the other hand, if there is a set of matching data format numbers 510 and 520 and data conversion is possible, the data conversion message of FIG. 13A is displayed on the display device 240. However, when the value of the conversion grade 540 is 99 or less, the message of FIG. 13B is displayed. When the value of the conversion grade of reverse conversion is 99 or less, the message of FIG. When there is no set of format numbers 510 and 520, the message of FIG. 13D is displayed on the display device 240 together with the data conversion message of FIG. 13A (process 1050). Alternatively, the value of the conversion grade may be indicated. If data conversion is impossible, or if the user uses the keyboard 25 of the input means.
If 0 or the mouse 251 is instructed to "cancel" the data conversion, the process is terminated (process 1060). On the other hand, when the instruction to perform the data conversion is received, the work file 400b that stores the data after the data conversion is generated (process 1070). And the generated work file 4
The name of 00b is registered in the work file name 920 of the data conversion control table 900. At the same time, the name of the file 400a to be opened is registered in the conversion source file name 910, and the conversion program number 530 acquired in process 1040 is registered in 930 (process 1080). Next, the data conversion process 304 is called. The data conversion process 304 will be described later in detail. Finally, the work file 400b is opened (process 109).
0).

【0050】以上のようにして、データ形式が異なるフ
ァイルについてもファイルオープン処理820bを行う
ことができる。
As described above, the file open processing 820b can be performed for files having different data formats.

【0051】つぎに、データ変換制御処理302のファ
イル読み書き処理820cについて、図11を用いて説
明する。オペレーティングシステムでは、ファイル読み
書きの指示を入力手段より受け付けるとファイル読み書
き処理820cに移行する。ファイル読み書き処理82
0cは、まず、読み書きの対象となるファイル400a
がデータ変換されているか否かを判定するために、デー
タ変換制御テーブル900を参照し、該ファイル400
aのファイル名称410が変換元ファイル名910に登
録されているか否かを調べる(処理1110)。登録さ
れていない場合は、そのままファイル400aの読み書
きを行い(処理1120)、処理を終了する(処理11
30)。登録されていない場合は、ファイルオープン時
にデータ形式が異ならないとして変換が不用であると判
断したものであるので、そのままファイル400aの読
み書きを行うことができる。一方、登録されている場合
には、該変換元ファイル名910に対応するワークファ
イル名920によってファイルの読み書きを行い(処理
1120)、書き込みを行った場合は、書き込みを行っ
たことを読書記録940に記録する(処理1140)。
例えば、書き込みを行ったことを示すフラグをセットす
る。書き込みを行ったファイルについては、ファイルク
ローズ時に逆変換を行う必要があるので読書記録940
に記録しておく。
Next, the file read / write process 820c of the data conversion control process 302 will be described with reference to FIG. In the operating system, when a file read / write instruction is received from the input means, the process proceeds to the file read / write processing 820c. File read / write process 82
0c is the file 400a to be read / written first.
Data conversion control table 900 to determine whether the file 400 has been converted.
It is checked whether or not the file name 410 of a is registered in the conversion source file name 910 (process 1110). If the file is not registered, the file 400a is read and written as it is (process 1120) and the process ends (process 11).
30). If the file is not registered, it is determined that the conversion is unnecessary when the file is opened because the data format does not differ, and thus the file 400a can be read and written as it is. On the other hand, if registered, the file is read / written by the work file name 920 corresponding to the conversion source file name 910 (process 1120), and if written, the reading record 940 Is recorded (step 1140).
For example, a flag indicating that writing has been performed is set. For the written file, it is necessary to perform the reverse conversion when the file is closed.
Record it in.

【0052】以上のように、データ形式が異なるファイ
ルについては、変換されたファイルについて読み書きを
することで、ファイル読み書き処理をすることができ
る。
As described above, files having different data formats can be read / written by reading / writing the converted files.

【0053】つぎに、データ変換制御処理302のファ
イルクローズ処理820dについて、図12を用いて説
明する。オペレーティングシステムでは、ファイル読み
書きの指示を入力手段より受け付けるとファイルクロー
ズ処理820dに移行する。ファイルクローズ処理82
0dは、まず、クローズの対象となるファイル400a
がデータ変換されているか否かを判定するために、デー
タ変換制御テーブル900を参照し、該ファイル400
aのファイル名称410が変換元ファイル名910に登
録されているか否かを調べる(処理1210)。登録さ
れていない場合は、そのままファイルのクローズを行い
(処理1230)、処理を終了する(処理1120)。
また、データ変換制御テーブル900の該ファイル40
0aに対応する読書記録940に書き込みの記録が無い
場合は、該変換元ファイル名910に対応するワークフ
ァイル名920のワークファイル400bを削除し、ま
た、データ変換制御テーブル900において該ワークフ
ァイル名920の記述されているレコードを削除する
(処理1240)。一方、該ファイル400aのファイ
ル名称410が変換元ファイル名910に登録されてい
る場合は、データ変換制御テーブル900から、ワーク
ファイル名920と変換プログラム番号930を取得す
る(処理1250)。つぎに、データ変換プログラム管
理テーブル500を用いて、処理1250で取得した変
換プログラム番号930をキーとして一致する変換プロ
グラム番号530を検出し、対応する変換元データ形式
番号510と変換先データ形式番号520を取得する。
そして、逆変換の変換プログラム番号を取得するため
に、該変換元データ形式番号510が変換先データ形式
番号520に、該変換先データ形式番号520が変換元
データ形式番号510にそれぞれ一致するレコードを検
索し、該レコードの変換プログラム番号530と変換グ
レード540とを取得する(処理1260)。つぎに、
処理1260の結果に基づき図13に示すデータメッセ
ージを表示する(処理1270)。データ変換メッセー
ジは、処理1270で、データ変換プログラム管理テー
ブル500において、逆変換に一致するデータ形式番号
の組510および520が無かった場合は、図13
(e)に示すようなデータ変換メッセージをディスプレ
イ装置240に表示する。一方、一致するデータ形式番
号の組510および520が有り、データ変換が可能な
場合は、図13(a)のデータ変換メッセージをディス
プレイ装置240に表示する。但し、変換グレード54
0の値が99以下の場合は図13(b)のメッセージを
図13(a)のデータ変換メッセージに併せてディスプ
レイ装置240に表示する。そして、データ変換が不可
能な場合、または、利用者がデータ変換の「取消」を指
示した場合は処理を終了する(処理1280)。一方、
データ変換を行う場合は、データ変換処理304を呼び
出し、データ変換を行い、変換後元のファイルに変換さ
れたデータを格納する。そして、処理1250で取得し
たワークファイル名920のワークファイル400bを
削除する(処理1290)。
Next, the file close processing 820d of the data conversion control processing 302 will be described with reference to FIG. In the operating system, when a file read / write instruction is received from the input means, the process proceeds to the file close processing 820d. File close processing 82
0d is the file 400a to be closed first.
Data conversion control table 900 to determine whether the file 400 has been converted.
It is checked whether or not the file name 410 of a is registered in the conversion source file name 910 (process 1210). If it is not registered, the file is closed as it is (process 1230) and the process ends (process 1120).
Also, the file 40 of the data conversion control table 900
If there is no record of writing in the reading record 940 corresponding to 0a, the work file 400b of the work file name 920 corresponding to the conversion source file name 910 is deleted, and the work file name 920 in the data conversion control table 900 is deleted. The record described by is deleted (process 1240). On the other hand, when the file name 410 of the file 400a is registered in the conversion source file name 910, the work file name 920 and the conversion program number 930 are acquired from the data conversion control table 900 (process 1250). Next, using the data conversion program management table 500, the matching conversion program number 530 is detected using the conversion program number 930 acquired in the process 1250 as a key, and the corresponding conversion source data format number 510 and conversion destination data format number 520 are detected. To get.
Then, in order to obtain the conversion program number of the reverse conversion, a record in which the conversion source data format number 510 matches the conversion destination data format number 520 and the conversion destination data format number 520 matches the conversion source data format number 510, respectively. It retrieves and acquires the conversion program number 530 and the conversion grade 540 of the record (process 1260). Next,
The data message shown in FIG. 13 is displayed based on the result of the process 1260 (process 1270). The data conversion message is shown in FIG. 13 when there is no pair of data format numbers 510 and 520 matching the reverse conversion in the data conversion program management table 500 in the process 1270.
The data conversion message as shown in (e) is displayed on the display device 240. On the other hand, if there is a set of matching data format numbers 510 and 520 and data conversion is possible, the data conversion message of FIG. 13A is displayed on the display device 240. However, conversion grade 54
When the value of 0 is 99 or less, the message of FIG. 13B is displayed on the display device 240 together with the data conversion message of FIG. Then, if the data conversion is impossible, or if the user gives an instruction to "cancel" the data conversion, the process ends (process 1280). on the other hand,
When performing data conversion, the data conversion processing 304 is called to perform data conversion, and the converted data is stored in the original file after conversion. Then, the work file 400b having the work file name 920 acquired in the process 1250 is deleted (process 1290).

【0054】つぎに、データ変換処理304について説
明する。データ変換処理304は、まず、アクセス対象
となった変換元のファイル400aをオープンし(14
10)、つぎに、図10における処理1070で生成し
た変換先のワークファイル400bをオープンする(1
420)。つぎに、該ファイル400aに格納されてい
るデータ440を主メモリ210上に読み出し(143
0)、データの変換を行なう(1440)。データの変
換については後で詳しく説明する。そして、該変換後の
データをワークファイル400bに書き出し(145
0)。ファイル400aとワークファイル400bとを
クローズする(1460,1470)。
Next, the data conversion process 304 will be described. The data conversion process 304 first opens the conversion source file 400a that is the access target (14
10) Next, the conversion destination work file 400b generated in the process 1070 in FIG. 10 is opened (1
420). Next, the data 440 stored in the file 400a is read onto the main memory 210 (143
0), data conversion is performed (1440). Data conversion will be described later in detail. Then, the converted data is written to the work file 400b (145
0). The file 400a and the work file 400b are closed (1460, 1470).

【0055】データ変換プログラム304a〜eは、変
換元のデータ形式と変換先のデータ形式との組合せによ
り種類が異なり、これにともなって処理1440が異な
っている。処理1440の一例としては、例えば、図1
9に示すような文字コード体系を持つデータ形式のデー
タから、図20に示すような文字コード体系を持つデー
タ形式のデータへの変換では、データを1バイトづつ読
み取り、図21に示すような、文字コード変換テーブル
に従って変換する。図21に示すような、文字コード変
換テーブルを、各データ変換プログラム304a〜30
4eのプログラム中に定義しておくことにより処理する
ことができる。
The data conversion programs 304a to 304e have different types depending on the combination of the data format of the conversion source and the data format of the conversion destination, and the processing 1440 also differs accordingly. As an example of the processing 1440, for example, FIG.
In the conversion from the data of the data format having the character code system as shown in FIG. 9 to the data of the data format having the character code system as shown in FIG. 20, the data is read byte by byte, and as shown in FIG. Convert according to the character code conversion table. The character code conversion table as shown in FIG.
It can be processed by defining it in the program of 4e.

【0056】データ形式の変換は、文字コード体系の変
換に限定されない。例えば、文書ファイルの場合は、各
文字に付けられているゴシック体、明朝体、倍角、半角
等の属性、または、文字間隔、行間隔、上下左右の余白
等の頁フォーマットが維持されるようにデータ変換を行
なう。
The conversion of the data format is not limited to the conversion of the character code system. For example, in the case of a document file, attributes such as Gothic, Mincho, double-width, half-width, etc. attached to each character, or the page format such as character spacing, line spacing, and top, bottom, left, and right margins are maintained. Data conversion to.

【0057】さらに、日本語、英語、独語間等の言語の
変換を行なうことも考えられる。例えば、データ検査処
理によりファイル400aのデータ440が英語の文書
と判定され、AP検査処理307によりAP301が日
本語ワードプロセッサであると判定された場合は、ファ
イルオープン処理820bで英語から日本語への変換を
行なう。但し、AP検査処理307によりAP301が
プログラム作成用のエディタと判定された場合は、ファ
イル400aのデータ440が英語の文書と判定されて
も変換は行なわない。
Furthermore, it is also possible to convert languages such as Japanese, English, and German. For example, when the data inspection process determines that the data 440 of the file 400a is an English document and the AP inspection process 307 determines that the AP 301 is a Japanese word processor, the file open process 820b converts English to Japanese. Do. However, if the AP inspection processing 307 determines that the AP 301 is an editor for creating a program, conversion is not performed even if the data 440 of the file 400a is determined to be an English document.

【0058】以上では、スタンドアロンの情報処理装置
における実施例について述べたが、図22に示すよう
に、上述の情報処理装置を通信回線2200を用いて互
いに接続した実施例も考えられる。そのような実施例で
は、第1の情報処理装置上で動作するAPは、第2の情
報処理装置に格納されているファイルをアクセスする場
合がある。その場合、データ変換に係る処理プログラム
のデータ変換制御処理302,データ検査処理303,
AP検査処理307およびデータ変換処理304は、第
1の情報処理装置または第2の情報処理装置の何れのも
のを用いても良い。また、データ変換プログラム304
を特定の情報処理装置に格納して、各情報処理装置から
共同利用(呼び出す)しても良い。その場合、各情報処
理装置に各種のデータ変換プログラム304を用意する
必要は無く、各情報処理装置における記憶装置の使用容
量削減やデータ変換プログラム304の管理の簡素化を
図ることができる。
Although an example of a stand-alone information processing apparatus has been described above, an example in which the above information processing apparatuses are connected to each other using a communication line 2200 is also conceivable as shown in FIG. In such an embodiment, the AP operating on the first information processing device may access a file stored in the second information processing device. In that case, the data conversion control processing 302, the data inspection processing 303 of the processing program related to the data conversion,
The AP inspection process 307 and the data conversion process 304 may use either the first information processing device or the second information processing device. In addition, the data conversion program 304
May be stored in a specific information processing device and shared (called) by each information processing device. In that case, it is not necessary to prepare various data conversion programs 304 in each information processing apparatus, and it is possible to reduce the used capacity of the storage device in each information processing apparatus and simplify the management of the data conversion program 304.

【0059】以上述べたように、APがファイルをアク
セスする際に、文字コード体系、言語の種類を含めて、
該ファイルのデータ形式とAPのデータ形式を判定し、
それらのデータ形式が互いに異なる場合は、該ファイル
の内容を該APのデータ形式へ自動的にデータ変換する
ことにより、AP間におけるデータ形式の差異を情報処
理装置の利用者に意識させず、該利用者の負担を軽減す
ることができる。また、ファイルオープンやファイルの
読み書き、ファイルクローズなどの各処理において、デ
ータ変換制御処理を行うために、様々なタイミングでデ
ータ変換を行うことができる。
As described above, when the AP accesses the file, including the character code system and the language type,
Determine the data format of the file and the AP data format,
When the data formats are different from each other, the contents of the file are automatically converted into the data format of the AP, so that the user of the information processing apparatus is not aware of the difference in the data format between the APs. The burden on the user can be reduced. Further, in each processing such as file opening, file reading / writing, and file closing, data conversion control processing is performed, so that data conversion can be performed at various timings.

【0060】[0060]

【発明の効果】本発明によれば、データ形式のことなる
データを利用者に意識させないでデータ変換することが
できる。
According to the present invention, it is possible to perform data conversion without the user being aware of data of different data formats.

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

【図1】データ変換機構の説明図。FIG. 1 is an explanatory diagram of a data conversion mechanism.

【図2】ハードウェア構成図。FIG. 2 is a hardware configuration diagram.

【図3】ソフトウェア構成図。FIG. 3 is a software configuration diagram.

【図4】ファイルのデータ構造の説明図。FIG. 4 is an explanatory diagram of a data structure of a file.

【図5】データ変換プログラム管理テーブルの説明図。FIG. 5 is an explanatory diagram of a data conversion program management table.

【図6】データ形式管理テーブルの説明図。FIG. 6 is an explanatory diagram of a data format management table.

【図7】データ検査処理の説明図。FIG. 7 is an explanatory diagram of a data inspection process.

【図8】データ変換制御処理の説明図。FIG. 8 is an explanatory diagram of data conversion control processing.

【図9】データ変換制御テーブルの説明図。FIG. 9 is an explanatory diagram of a data conversion control table.

【図10】データ変換制御のファイルオープン処理の説
明図。
FIG. 10 is an explanatory diagram of a file open process for data conversion control.

【図11】データ変換制御のファイル読書処理の説明
図。
FIG. 11 is an explanatory diagram of file reading processing of data conversion control.

【図12】データ変換制御のファイルクローズ処理の説
明図。
FIG. 12 is an explanatory diagram of file conversion processing of data conversion control.

【図13】データ変換メッセージの一例。FIG. 13 is an example of a data conversion message.

【図14】データ変換処理の説明図。FIG. 14 is an explanatory diagram of data conversion processing.

【図15】データ検査処理の改良例。FIG. 15 shows an improved example of the data inspection process.

【図16】AP検査処理の改良例。FIG. 16 shows an improved example of AP inspection processing.

【図17】情報処理装置の外観の一例。FIG. 17 is an example of an external appearance of an information processing device.

【図18】データ拡張子検索テーブルの説明図。FIG. 18 is an explanatory diagram of a data extension search table.

【図19】文字コード体系の一例。FIG. 19 is an example of a character code system.

【図20】文字コード体系の一例。FIG. 20 shows an example of a character code system.

【図21】文字コード変換テーブルの一例。FIG. 21 is an example of a character code conversion table.

【図22】ネットワーク接続構成図。FIG. 22 is a network connection configuration diagram.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 尾崎 友哉 神奈川県横浜市戸塚区吉田町292番地 株 式会社日立製作所マイクロエレクトロニク ス機器開発研究所内 (72)発明者 赤松 千代 神奈川県横浜市戸塚区吉田町292番地 株 式会社日立製作所マイクロエレクトロニク ス機器開発研究所内 (72)発明者 桑原 禎司 神奈川県横浜市戸塚区吉田町292番地 株 式会社日立製作所マイクロエレクトロニク ス機器開発研究所内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Tomoya Ozaki 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Hitachi, Ltd. Microelectronics Equipment Development Laboratory (72) Inventor Chiyo Akamatsu Totsuka-ku, Yokohama-shi, Kanagawa 292 Yoshida-cho, Hitachi, Ltd. Microelectronics Device Development Laboratory (72) Inventor Sadaji Kuwahara 292, Yoshida-cho, Totsuka-ku, Yokohama, Kanagawa Prefecture Hitachi, Ltd. Microelectronics Device Development Laboratory

Claims (16)

【特許請求の範囲】[Claims] 【請求項1】データを受け付けもしくは出力する入出力
手段と、あらかじめ定められた複数の処理手順に従っ
て、前記入出力手段で受け付けたデータについて処理を
行う処理手段と、該処理手段の実行を管理し、前記入出
力手段と前記処理手段との間のデータのやり取りを制御
する制御管理手段と、前記処理手段と前記制御管理手段
との間でデータを変換するデータ変換部とを有し、前記
処理手段で処理を行うデータの形式が複数種類ある情報
処理装置であって、 データ変換部は、前記複数の処理手順のうち少なくとも
一つを実行する場合に、前記制御管理手段におけるデー
タのやり取りの制御時に、前記入出力手段で受け付けた
データの形式を検査するデータ検査手段と、 該データ検査手段で検査したデータ形式が、前記処理手
順において処理を行えるデータ形式か否かを判断する判
断手段と、 該判断手段における判断の結果、処理を行えないデータ
形式であれば、当該処理手順において処理を行えるデー
タ形式に変換する変換手段とを備えることを特徴とする
情報処理装置。
1. An input / output unit for receiving or outputting data, a processing unit for processing data received by the input / output unit according to a plurality of predetermined processing procedures, and managing execution of the processing unit. And a data management unit that controls data exchange between the input / output unit and the processing unit, and a data conversion unit that converts data between the processing unit and the control management unit. An information processing apparatus having a plurality of data formats to be processed by the means, wherein the data converter controls the exchange of data in the control management means when executing at least one of the plurality of processing procedures. Sometimes, the data inspection means for inspecting the format of the data received by the input / output means and the data format inspected by the data inspection means are in the processing procedure. And a conversion unit that determines whether or not the data format can be processed, and if the result of the determination made by the determination unit is a data format that cannot be processed, a conversion unit that converts the data format into a data format that can be processed in the processing procedure. An information processing device characterized by the above.
【請求項2】請求項1において、前記変換手段で変換さ
れたデータを格納する格納手段をさらに有し、 前記処理手段は、該格納手段に格納されたデータについ
て処理を行うことを特徴とする情報処理装置。
2. The storage device according to claim 1, further comprising storage means for storing the data converted by the conversion means, wherein the processing means processes the data stored in the storage means. Information processing equipment.
【請求項3】請求項2において、前記処理手段は、処理
結果を前記格納手段に書き込むことを特徴とする情報処
理装置。
3. The information processing apparatus according to claim 2, wherein the processing means writes a processing result in the storage means.
【請求項4】請求項3において、前記データ変換部は、
前記入出力手段で受け付けた元のデータと前記変換手段
で変換されたデータとを対応させて管理するデータ変換
前後管理手段をさらに備えることを特徴とする情報処理
装置。
4. The data conversion unit according to claim 3,
An information processing apparatus further comprising a data conversion pre / post management unit for managing the original data received by the input / output unit and the data converted by the conversion unit in association with each other.
【請求項5】請求項4において、前記データ変換前後管
理手段は、前記格納手段に格納されたデータに書き込み
があったか否かをさらに管理し、 前記データ変換部は、前記データ変換前後管理手段を参
照し、前記書き込みがあった場合には、前記格納手段に
書き込まれたデータについて、元のデータ形式に変換す
る逆変換手段をさらに備えることを特徴とする情報処理
装置。
5. The data conversion before / after management means according to claim 4, further managing whether or not the data stored in the storage means has been written, and the data conversion unit includes the data conversion before / after management means. With reference to the above, the information processing apparatus further includes an inverse conversion unit that converts the data written in the storage unit into the original data format when the writing is performed.
【請求項6】請求項1において、前記データ変換部は、
前記複数の処理手順において処理を実行するデータ形式
をあらかじめ設定して管理しておくデータ形式管理手段
をさらに備えることを特徴とする情報処理装置。
6. The data conversion unit according to claim 1,
The information processing apparatus further comprising a data format management unit that presets and manages a data format for performing processing in the plurality of processing procedures.
【請求項7】請求項1において、前記データ変換部にお
けるデータ形式の種類は、データの文字コード体系の種
類であることを特徴とする情報処理装置。
7. The information processing apparatus according to claim 1, wherein the type of data format in the data conversion unit is the type of character code system of data.
【請求項8】請求項1において、前記データ変換部にお
けるデータ形式の種類は、データが示す言語の種類であ
ることを特徴とする情報処理装置。
8. The information processing apparatus according to claim 1, wherein the type of data format in the data conversion unit is the type of language indicated by the data.
【請求項9】請求項1において、前記データ検査手段
は、前記入出力手段で受け付けたデータについて、あら
かじめ定めたデータ長のデータの出現頻度の度数分布
と、あらかじめ定めた複数のデータ形式における度数分
布との相関係数をそれぞれ求め、該求めた結果に基づい
て前記受け付けたデータの形式を最大の相関係数のデー
タ形式と判定することを特徴とする情報処理装置。
9. The data inspection means according to claim 1, wherein the data received by the input / output means has a frequency distribution of appearance frequencies of data having a predetermined data length and frequencies in a plurality of predetermined data formats. An information processing apparatus, wherein each correlation coefficient with a distribution is obtained, and the format of the received data is determined to be the maximum correlation coefficient data format based on the obtained result.
【請求項10】請求項1において、前記データ検査手段
は、前記入出力手段で受け付けたデータの形式を、該デ
ータにあらかじめ付加されている、データ形式に関する
属性に基づいて判定することを特徴とする情報処理装
置。
10. The data inspection means according to claim 1, wherein the format of the data received by the input / output means is determined based on an attribute relating to the data format, which is added to the data in advance. Information processing device.
【請求項11】請求項1において、前記変換手段は、前
記データ形式を他のデータ形式に変換するための変換手
順を前記データ形式に対応させて、あらかじめ記憶して
おくデータ変換管理テーブルを備えることを特徴とする
情報処理装置。
11. The data conversion management table according to claim 1, wherein the conversion means stores a conversion procedure for converting the data format into another data format in association with the data format in advance. An information processing device characterized by the above.
【請求項12】請求項11において、前記データ変換部
は、前記判断手段における判断の結果、処理を行えない
データ形式であれば、該データのデータ形式を変換する
か否かについてのあらかじめ定めたメッセージを生成
し、 前記入出力手段は、該メッセージを出力し、前記データ
形式を変換するか否かの指示を受け付け、 前記データ変換部の変換手段は、前記入出力手段で前記
データ形式の変換指示を受け付けたときに、前記データ
のデータ形式の変換を行うことを特徴とする情報処理装
置。
12. The data conversion unit according to claim 11, wherein whether or not the data format of the data is to be converted is determined in advance if the result of the determination by the determination means is a data format that cannot be processed. A message is generated, the input / output unit outputs the message, receives an instruction as to whether to convert the data format, and the conversion unit of the data conversion unit converts the data format by the input / output unit. An information processing apparatus, which converts a data format of the data when receiving an instruction.
【請求項13】請求項12において、前記データ変換管
理テーブルは、変換の完全さを示す割合を変換手順に対
応して、さらに記憶しておき、 前記データ変換部のメッセージ出力時に、該変換の完全
さを示す割合に対応するメッセージをさらに出力するこ
とを特徴とする情報処理装置。
13. The data conversion management table according to claim 12, further storing a ratio indicating the completeness of conversion corresponding to a conversion procedure, and outputting the message of the conversion when the message is output from the data conversion unit. An information processing apparatus, which further outputs a message corresponding to a percentage indicating completeness.
【請求項14】請求項12において、前記変換手段は、
あらかじめ定めた処理手順の場合には、データ形式の変
換を行わないことを特徴とする情報処理装置。
14. The converting means according to claim 12,
An information processing apparatus, which does not convert a data format in the case of a predetermined processing procedure.
【請求項15】請求項1において、前記入出力手段で受
け付けたデータは、他の処理手順において実行された結
果であることを特徴とする情報処理装置。
15. The information processing apparatus according to claim 1, wherein the data received by the input / output unit is a result executed in another processing procedure.
【請求項16】データを受け付けもしくは出力する入出
力手段と、あらかじめ定められた複数の処理手順に従っ
て、前記入出力手段で受け付けたデータについて処理を
行う処理手段と、該処理手段の実行を管理し、前記入出
力手段と前記処理手段との間のデータのやり取りを制御
する制御管理手段とを備え、前記処理手段で処理を行う
データの形式が複数種類ある情報処理装置におけるデー
タ変換管理方法であって、 前記複数の処理手順において実行が行えるデータ形式を
あらかじめ管理し、 該処理手順の実行時に、前記入出力手段で受け付けたデ
ータの形式を検査し、検査したデータ形式が、該処理手
順において処理を行えるデータ形式か否かを判断し、判
断の結果、処理を行えないデータ形式であれば、該処理
手順において処理を行えるデータ形式に変換し、変換さ
れたデータを格納し、該格納されたデータについて該処
理手順に従って前記処理手段に処理を行わせることを特
徴とするデータ変換管理方法。
16. An input / output unit for receiving or outputting data, a processing unit for processing the data received by the input / output unit according to a plurality of predetermined processing procedures, and managing execution of the processing unit. A data conversion management method in an information processing apparatus that includes a control management unit that controls data exchange between the input / output unit and the processing unit, and that has a plurality of data formats to be processed by the processing unit. The data format that can be executed in the plurality of processing procedures is managed in advance, the format of the data received by the input / output unit is inspected when the processing procedure is executed, and the inspected data format is processed in the processing procedure. If it is a data format that cannot be processed as a result of the judgment, it can be processed in the processing procedure. It was converted into the data format, the converted data stores, data conversion management method characterized in that to perform processing in the processing means in accordance with the procedure for the stored data.
JP5021496A 1993-02-09 1993-02-09 Information processor and data conversion managing method Pending JPH06236251A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5021496A JPH06236251A (en) 1993-02-09 1993-02-09 Information processor and data conversion managing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5021496A JPH06236251A (en) 1993-02-09 1993-02-09 Information processor and data conversion managing method

Publications (1)

Publication Number Publication Date
JPH06236251A true JPH06236251A (en) 1994-08-23

Family

ID=12056580

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5021496A Pending JPH06236251A (en) 1993-02-09 1993-02-09 Information processor and data conversion managing method

Country Status (1)

Country Link
JP (1) JPH06236251A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001142754A (en) * 1999-11-15 2001-05-25 Nec Fielding Ltd File editing system for flexible disk
JP2002288019A (en) * 2001-03-23 2002-10-04 Ricoh Co Ltd Film system
US7680824B2 (en) 2005-08-11 2010-03-16 Microsoft Corporation Single action media playlist generation
US7831605B2 (en) 2005-08-12 2010-11-09 Microsoft Corporation Media player service library
US8140601B2 (en) 2005-08-12 2012-03-20 Microsoft Coporation Like processing of owned and for-purchase media

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001142754A (en) * 1999-11-15 2001-05-25 Nec Fielding Ltd File editing system for flexible disk
JP2002288019A (en) * 2001-03-23 2002-10-04 Ricoh Co Ltd Film system
US7680824B2 (en) 2005-08-11 2010-03-16 Microsoft Corporation Single action media playlist generation
US7831605B2 (en) 2005-08-12 2010-11-09 Microsoft Corporation Media player service library
US8140601B2 (en) 2005-08-12 2012-03-20 Microsoft Coporation Like processing of owned and for-purchase media

Similar Documents

Publication Publication Date Title
US7921356B2 (en) Method, system and computer readable medium for addressing handling from a computer program
US6363395B1 (en) Method and system for browsing data on a storage device
US7496854B2 (en) Method, system and computer readable medium for addressing handling from a computer program
US6326953B1 (en) Method for converting text corresponding to one keyboard mode to text corresponding to another keyboard mode
US8738415B2 (en) Automated workflow assignment to print jobs
US5983242A (en) Method and system for preserving document integrity
JPH06325084A (en) Document processing device, its method, document display device and its method
JPH07222248A (en) System for utilizing speech information for portable information terminal
US6317762B1 (en) Document creating apparatus creates free format document from handwritten data converting into normalized size
US20020067502A1 (en) Methods for digitally printing composite documents
JPH06236251A (en) Information processor and data conversion managing method
US5890184A (en) External character management apparatus
JP2001067342A (en) Document processor and storage medium
JP3489326B2 (en) Table generation method
JP4044644B2 (en) Electronic bulletin board system, storage medium storing electronic bulletin board program, and method for activating electronic bulletin board
JP2824256B2 (en) Character display system
JPH09297801A (en) Document printing method
JP4452867B2 (en) Form creation method and apparatus, and recording medium
JPH04243477A (en) Index word extraction method for natural language processing system
JPH0528156A (en) Document data converter
JPH0635907A (en) Structurized document editor
JPH05298368A (en) Method for inputting retrieving word in electronic filing system
JP2697868B2 (en) Output control method and device
JPH1055358A (en) Device and method for external character management, and computer readable medium stored with computer program performing external character management
JPH02297285A (en) Document processor