JPH03225448A - Converting, outputting, and updating method for information in file - Google Patents
Converting, outputting, and updating method for information in fileInfo
- Publication number
- JPH03225448A JPH03225448A JP2021303A JP2130390A JPH03225448A JP H03225448 A JPH03225448 A JP H03225448A JP 2021303 A JP2021303 A JP 2021303A JP 2130390 A JP2130390 A JP 2130390A JP H03225448 A JPH03225448 A JP H03225448A
- Authority
- JP
- Japan
- Prior art keywords
- information
- file
- conversion
- converting
- coded
- 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
Links
- 238000000034 method Methods 0.000 title claims description 7
- 238000006243 chemical reaction Methods 0.000 claims abstract description 76
- 230000010365 information processing Effects 0.000 claims description 17
- 238000010586 diagram Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000003213 activating effect Effects 0.000 description 1
- 238000012508 change request Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は情報処理システムで使用されるファイル内の特
定の格納位置のコード化された情報を利用者の判読し易
い特定の形式に変換して出力したり、その逆に利用者の
判読し易い形式の情報から実際の前記情報処理システム
で使用されるファイル内のコード化された情報に変換し
て前記情報処理システムで使用されるファイル内の特定
の格納位置に書き出すファイル内情報の変換出力更新方
法に関するものである。[Detailed Description of the Invention] [Industrial Application Field] The present invention converts coded information at a specific storage location in a file used in an information processing system into a specific format that is easy for users to read. or vice versa, convert information in a format that is easy for users to read into coded information in a file used in the actual information processing system, and convert it into coded information in a file used in the information processing system. The present invention relates to a method for updating the conversion output of information in a file to be written to a specific storage location.
情報処理システムで使用される各種のファイル内にはコ
ード化された情報が格納される。Coded information is stored in various files used in information processing systems.
従来、プログラムのデバッグや、その走行履歴の解釈な
どのためにファイル内のコード化された情報(例えば「
大阪」という情報が文字「A」。Traditionally, coded information in files (for example, "
The information “Osaka” is the letter “A”.
16進表示「41」に変換されている等)を出力させる
場合、通常は、コード化された情報をそのまま文字とし
て(前記例ではrAJとなる)、あるいは16進表示の
文字(前記例ではr41J)に変換して出力していた、
また、その逆に前記ファイル内のコード化された情報を
更新する場合にも、その元となる情報をコード化して、
その内容で更新していた。When outputting a hexadecimal value such as "41", the encoded information is normally output as a character (rAJ in the above example), or as a hexadecimal character (r41J in the above example). ) and output it,
Conversely, when updating encoded information in the file, the source information is encoded and
It was updated with that content.
一般的ニファイル内に格納されているコート化情報の値
は、ファイルを入出力情報として使用するプログラムの
設計に左右されるため、コード化した結果も様々となる
。従って、ある特定のシステム内のある特定のファイル
に限定して判読し易い情報に編集出力するプログラムは
存在するが、ファイルを限定せずに個々のファイルに対
して汎用的に使用できるものはなかった。The value of the encoding information stored in a typical file depends on the design of the program that uses the file as input/output information, so the encoded results will vary. Therefore, although there are programs that edit and output information that is easy to read for a specific file in a specific system, there is no program that can be used universally for individual files without limiting the files. Ta.
上記の従来のファイル内情報の出力更新方法では、コー
ド化された情報をそのまま文字として、あるいは16進
表示の文字に変換して出力しているので、例えば「東京
」という情報が、16進表示で「01」というコードに
変換されていたりするので、利用者は出力された意味不
明の文字情報あるいは16進表示を本来の意味する情報
に変換して読まなければならず、多大な労力を要するだ
けでなく、誤読及び変換ミスの恐れもあり、作業能率が
低下するという問題がある。また、更新に関してもコー
ド変換する処理を利用者が行うため、同様の問題がある
。In the above-mentioned conventional method for outputting and updating information in a file, encoded information is output as characters as is or converted into hexadecimal characters, so for example, the information "Tokyo" is output in hexadecimal format. The user has to convert the meaningless character information or hexadecimal display into the original meaning before reading it, which requires a lot of effort. In addition, there is a risk of misreading and conversion errors, resulting in a reduction in work efficiency. Furthermore, when updating, the user performs the process of converting the code, so there is a similar problem.
上記従来技術の問題を解決する本発明のファイル内情報
の変換出力更新方法は、情報処理システムで使用するフ
ァイル内の特定格納位置のコード化された情報を特定の
形式に変換するための変換指定情報を、事前に変換指定
情報登録ファイルへ登録する変換指定情報登録手段と、
前記変換指定情報登録ファイルに登録されている変換指
定情報を読み込み前記情報処理システムで使用するファ
イル内の特定格納位置のコード化された情報を選択的に
読み込むファイル内情報読み込み手段と、読み込まれた
前記情報処理システムで使用するファイル内のコード化
された情報を前記変換指定情報に従って自動的に変換す
る変換手段と、前記変換指定情報登録ファイルに登録さ
れている前記変換指定情報を読み込み前記情報処理シス
テムで使用するファイル内の特定格納位置のコード化さ
れた情報を選択的に更新するファイル内情報書き込み手
段とを備えることをにより、前記情報処理システムで使
用されるファイル内のコード化された情報を利用者の判
読に最も適した各種の形式に変換し出力させたり、利用
者の判読に適した形式から実際のコード化された情報に
変換し更新できるようにすることを特徴とする。The method for converting and updating information in a file according to the present invention, which solves the above-mentioned problems of the prior art, provides a conversion specification for converting encoded information at a specific storage position in a file used in an information processing system into a specific format. a conversion specification information registration means for registering information in a conversion specification information registration file in advance;
in-file information reading means for reading conversion specification information registered in the conversion specification information registration file and selectively reading coded information at a specific storage position in a file used in the information processing system; a conversion means for automatically converting encoded information in a file used in the information processing system according to the conversion specification information; and the information processing that reads the conversion specification information registered in the conversion specification information registration file. and an in-file information writing means for selectively updating coded information at a specific storage location in the file used in the system, the coded information in the file used in the information processing system is It is characterized by converting and outputting information into various formats most suitable for the user's reading, and converting and updating the format from the user's readingable format into actual coded information.
第1図は、本発明の一実施例のフローチャートである。 FIG. 1 is a flow chart of one embodiment of the present invention.
この情報処理システムは、入出力装置1.変換指示情報
登録手段2.ファイル内情報読み込み手段3.変換手段
4.ファイル内情報書き込み手段5、変換指定情報登録
ファイル6、変換出力・更新対象のコード化された情報
を格納しているファイル7を備えている。This information processing system includes input/output devices 1. Conversion instruction information registration means 2. Means for reading information in the file 3. Conversion means 4. It includes an in-file information writing means 5, a conversion specification information registration file 6, and a file 7 storing encoded information to be converted and output/updated.
この情報処理システムの利用者は、予め、変換指定登録
手段2を起動し、コード化された情報が登録されている
ファイル7内のコード化された情報を判読に最も適した
形式の文字情報に変換するための変換指定情報を変換指
定情報登録ファイル6に登録しておく。The user of this information processing system activates the conversion specification registration means 2 in advance to convert the coded information in the file 7 in which the coded information is registered into character information in the format most suitable for reading. Conversion specification information for conversion is registered in the conversion specification information registration file 6.
変換指定情報は、第6図に例示するような構成となって
いる。なお、同図の右上のサイズの左下の変換条件個数
とは連続する。ファイル名、データIDは変換指定情報
登録ファイル6より変換指定情報を検索するためのもの
である。ブロック番号からサイズまでは変換するコード
化された情報の位置とサイズを得るために設けられてい
る。変換条件個数はコード化された情報が取り得る値の
個数である。変換条件はコード化された情報の取り得る
値が設定される。変換内容は、変換条件に対応した判読
に適した文字情報である。The conversion designation information has a structure as illustrated in FIG. Note that the size in the upper right corner of the figure is continuous with the number of conversion conditions in the lower left corner. The file name and data ID are used to search for conversion specification information from the conversion specification information registration file 6. Block number to size is provided to obtain the position and size of the encoded information to be converted. The number of conversion conditions is the number of values that coded information can take. As the conversion condition, possible values of the encoded information are set. The conversion content is character information suitable for reading that corresponds to the conversion conditions.
従って変換処理ではコード化された情報の値と変換条件
の値とを順次比較していき、一致した変換条件に対応し
た変換内容を返却することになる。Therefore, in the conversion process, the value of the encoded information and the value of the conversion condition are sequentially compared, and the conversion content corresponding to the matching conversion condition is returned.
変換指定情報は、例えば、特定ファイル内の第1ブロツ
クの第2レコードの第3バイト目のコード化された情報
については英数字のままで、第2ブロツクの第3レコー
ドの第6ビツトについてはこれが“1”であれば漢字の
「正常」に変換し、0”であれば漢字の「異常」に変換
して出力するという具合に、必要なだけ細分化して指定
できる。For example, the conversion specification information may remain alphanumeric for the coded information in the third byte of the second record of the first block in a particular file, and may remain alphanumeric for the coded information in the third byte of the third record of the second block. If this is "1", it is converted to the kanji "normal", and if it is 0, it is converted to the kanji "abnormal" and output. For example, it can be specified in as many subdivisions as necessary.
変換指定情報登録手段2は、第2図のフローチャートに
示すように、入出力装置1から変換指定情報を入力され
(ステップ21)、変換指定情報登録ファイル6へ登録
(ステップ22)する。As shown in the flowchart of FIG. 2, the conversion specification information registration means 2 receives conversion specification information from the input/output device 1 (step 21), and registers it in the conversion specification information registration file 6 (step 22).
利用者は、上記変換指定情報の登録終了後は、ファイル
内情報読み込み手段3.ファイル内情報書き込み手段5
を利用者の目的に応じて起動することにより、特定ファ
イル内の特定格納位置のコード化された情報を指定の形
式に変換させ入出力装置1に出力させたり、その逆に現
在格納されているコード化された情報を利用者の判読し
やすい形式で更新したりすることができる。After the user completes the registration of the conversion specification information, the user uses the in-file information reading means 3. In-file information writing means 5
By activating it according to the user's purpose, the encoded information at a specific storage location in a specific file can be converted into a specified format and output to the input/output device 1, or vice versa. Encoded information can be updated in a format that is easy for users to read.
ファイル内情報読み込み手段3は第3図のフローチャー
トに示すように、入出力装置1から処理対象ファイルの
ファイル名とデータIDをステップ51で受取り、その
ファイル名とデータIDに対応する変換指定情報を変換
指定情報登録ファイル6よりステップ32で読み込み、
当該変換指定情報の内容からファイル7より対象となる
コード化された情報をステップ33で読み込み、変換手
段4を起動し当該データを変換指定情報によりステップ
34で変換し、変換結果をステップ3Sで入出力装置に
出力する。As shown in the flowchart of FIG. 3, the in-file information reading means 3 receives the file name and data ID of the file to be processed from the input/output device 1 in step 51, and reads conversion specification information corresponding to the file name and data ID. Read in step 32 from the conversion specification information registration file 6,
The target encoded information is read from the file 7 based on the contents of the conversion specification information in step 33, the conversion means 4 is started, the data is converted in step 34 according to the conversion specification information, and the conversion result is input in step 3S. Output to an output device.
変換手段4はファイル内情報読み込み手段3あるいはフ
ァイル内情報書き込み手段5から起動される。The conversion means 4 is activated by the in-file information reading means 3 or the in-file information writing means 5.
変換手段3は第4図のフローチャートに示すように起動
時に渡されたコード化された情報を同じく起動時に渡さ
れた変換指定情報により、変換(ステップ41)する。As shown in the flowchart of FIG. 4, the conversion means 3 converts the encoded information passed at the time of startup using the conversion designation information also passed at the time of startup (step 41).
ファイル内情報書き込み手段5は第5図のフローチャー
トに示すように、入出力装置1から処理対象ファイルの
ファイル名とデータIDを受取り(ステップ51)、そ
のファイル名とデータIDに対応する変換指定情報を変
換指定情報登録ファイル6より読み込み(ステップ52
)、当該変換指定情報の内容により、ファイル7から対
象となるコード化された情報を読み込み(ステップ53
)、変換手段4を起動し当該データを変換指定情報によ
り変換(ステップ54)し、変換結果を入出力装置に出
力し利用者の変更要求を仰ぎ(ステップ55)、入出力
装置1より変更された情報を受は取り(ステップ56)
、変換手段4を起動し当該情報を変換指定情報によりコ
ード化された情報に変換しくステップ57)、変換結果
を変換指定情報によりファイル7へ書き込むことで更新
する(ステップ58)。As shown in the flowchart of FIG. 5, the in-file information writing means 5 receives the file name and data ID of the file to be processed from the input/output device 1 (step 51), and converts designation information corresponding to the file name and data ID. is read from the conversion specification information registration file 6 (step 52
), the target coded information is read from the file 7 according to the content of the conversion specification information (step 53
), the conversion means 4 is started to convert the data according to the conversion specification information (step 54), the conversion result is output to the input/output device, a change request is received from the user (step 55), and the data is changed from the input/output device 1. Receive the information (Step 56)
, the conversion means 4 is activated to convert the information into information encoded by the conversion designation information (step 57), and the conversion result is updated by writing it into the file 7 according to the conversion designation information (step 58).
以上詳細に説明したように、本発明のファイル内情報の
変換出力更新方法は、ファイル内格納位置と各格納位置
のコード化された情報に対する変換形式を必要なだけ細
かく指定して登録しておき、この指定に従って変換し出
力・更新する構成であるから、利用者は判読に最も適し
た形式でファイル内のコード化された情報を取得できプ
ログラムのデバグなどの作業能率が大幅に向上するとい
う効果を取得できる。As explained in detail above, the method for updating the conversion output of information in a file according to the present invention involves specifying and registering the storage location in the file and the conversion format for the encoded information at each storage location in as much detail as necessary. , it is configured to convert and output/update according to this specification, so the user can obtain the encoded information in the file in the most suitable format for reading, which greatly improves the efficiency of work such as program debugging. can be obtained.
また、変換指定情報を作成するだけで、どのようなファ
イルにも適応できるという利点もある。Another advantage is that it can be applied to any file simply by creating conversion specification information.
第1図は本発明の一実施例が適用される情報処理システ
ムの構成を例示する機能ブロック図、第2図〜第5図は
第1図の各部の動作を説明するためのフローチャート、
第6図は変換指定情報の構成を例示する図である。
1・・・入出力装置、2・・・変換指定情報登録手段、
3・・・ファイル内情報読み込み手段、4・・・変換手
段、5・・・ファイル内情報書き込み手段、6・・・変
換指定情報登録ファイル、7・・・ファイル。FIG. 1 is a functional block diagram illustrating the configuration of an information processing system to which an embodiment of the present invention is applied, and FIGS. 2 to 5 are flowcharts for explaining the operation of each part in FIG.
FIG. 6 is a diagram illustrating the structure of conversion designation information. 1... Input/output device, 2... Conversion specification information registration means,
3... In-file information reading means, 4... Conversion means, 5... In-file information writing means, 6... Conversion specification information registration file, 7... File.
Claims (1)
特定格納位置のコード化された情報を特定の形式に変換
するための変換指定情報を事前に第2のファイルへ登録
し、前記第2のファイルに登録されている変換指定情報
を読み込み前記第1のファイル内の特定格納位置のコー
ド化された情報を選択的に読み込み、読み込まれた前記
第1のファイル内のコード化された情報を変換指定情報
に従って自動的に変換し、前記第2のファイルに登録さ
れている変換指定情報を読み込み前記第1のファイル内
の特定格納位置のコード化された情報を選択的に更新す
ることを特徴とするファイル内情報の変換出力方法。 2、情報処理システムで使用されるファイル内の特定格
納位置のコード化された情報を特定の形式に変換するた
めの変換指定情報を、事前に変換指定情報登録ファイル
へ登録する変換指定情報登録手段と、前記変換指定情報
登録ファイルに登録されている前記変換指定情報を読み
込み前記情報処理システムで使用されるファイル内の特
定格納位置のコード化された情報を選択的に読み込むフ
ァイル内情報読み込み手段と、読み込まれた前記情報処
理システムで使用されるファイル内のコード化された情
報を変換指定情報に従って自動的に変換する変換手段と
、変換指定情報登録ファイルに登録されている変換指定
情報を読み込み前記情報処理システムで使用されるファ
イル内の特定格納位置のコード化された情報を選択的に
更新するファイル内情報書き込み手段とを備えたことを
特徴とするファイル内情報の変換出力更新装置。[Claims] 1. Conversion specification information for converting coded information at a specific storage location in a first file used in an information processing system into a specific format is transferred to a second file in advance. register, read the conversion specification information registered in the second file, selectively read the coded information of a specific storage position in the first file, and read the conversion specification information registered in the second file. The coded information is automatically converted according to the conversion specification information, and the conversion specification information registered in the second file is read and the coded information at a specific storage position in the first file is selectively converted. A method for converting and outputting information in a file, which is characterized by updating information in a file. 2. Conversion specification information registration means for registering in advance conversion specification information for converting encoded information at a specific storage location in a file used in an information processing system into a specific format in a conversion specification information registration file. and an in-file information reading means for reading the conversion designation information registered in the conversion designation information registration file and selectively reading coded information at a specific storage position in the file used by the information processing system. a conversion means for automatically converting encoded information in a loaded file used in the information processing system according to conversion specification information; 1. An apparatus for converting, outputting and updating information in a file, comprising an information writing means for selectively updating encoded information at a specific storage position in a file used in an information processing system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021303A JPH03225448A (en) | 1990-01-30 | 1990-01-30 | Converting, outputting, and updating method for information in file |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021303A JPH03225448A (en) | 1990-01-30 | 1990-01-30 | Converting, outputting, and updating method for information in file |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03225448A true JPH03225448A (en) | 1991-10-04 |
Family
ID=12051382
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021303A Pending JPH03225448A (en) | 1990-01-30 | 1990-01-30 | Converting, outputting, and updating method for information in file |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03225448A (en) |
-
1990
- 1990-01-30 JP JP2021303A patent/JPH03225448A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH03225448A (en) | Converting, outputting, and updating method for information in file | |
| JPH04362738A (en) | Variable control method | |
| JPH03266172A (en) | Word processor | |
| JP2919396B2 (en) | Document maker | |
| JPH0685169B2 (en) | Document processing method | |
| JPS63228268A (en) | Image data storage device | |
| JPH02231678A (en) | Image data input device | |
| JPH0398113A (en) | 1-byte/2-byte character string bidirectional conversion system | |
| JPH02164568A (en) | Japanese document printing system | |
| JPS6168631A (en) | Document print processing system | |
| JPS5999538A (en) | Conversion processing method of document data | |
| JPS6376055A (en) | Original word/translated word display system in document forming device | |
| JPH02133762U (en) | ||
| JPS61208149A (en) | Printer | |
| JPH01258116A (en) | System for setting determined value of command parameter | |
| JPS63250734A (en) | Image output device | |
| JPS63250735A (en) | Image output device | |
| JPS62133522A (en) | Printing device | |
| JPH05151219A (en) | Document processing device with partial call function | |
| JPS64149U (en) | ||
| JPH07253862A (en) | Presentation execution device | |
| JPH05257835A (en) | Input/output controller | |
| JPS61285534A (en) | Index production system | |
| JPS61223918A (en) | information input device | |
| JPH02199527A (en) | Device for editing character and number |