JPH07182215A - Data managing device - Google Patents

Data managing device

Info

Publication number
JPH07182215A
JPH07182215A JP32887293A JP32887293A JPH07182215A JP H07182215 A JPH07182215 A JP H07182215A JP 32887293 A JP32887293 A JP 32887293A JP 32887293 A JP32887293 A JP 32887293A JP H07182215 A JPH07182215 A JP H07182215A
Authority
JP
Japan
Prior art keywords
data
index
storage device
instruction
external storage
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
JP32887293A
Other languages
Japanese (ja)
Inventor
Hiroyuki Inomata
弘行 猪又
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP32887293A priority Critical patent/JPH07182215A/en
Publication of JPH07182215A publication Critical patent/JPH07182215A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

PURPOSE:To provide a data managing device capable of quickly and easily executing change in the storing order of data or the addition/deletion of data on the way of the order. CONSTITUTION:The data managing device is provided with an instruction registering processing part 2 for dividing data into an index part and a data part, an external storage device 31 for storing the divided data part, an address adding part 5 for adding an address storing the data part to the index part, internal and external storage devices 30, 31 for storing the index part to which the address is added, an instruction deleting processing part 3 for deleting the index part and substituting the storing order, and an instruction changing processing part 4 for substituting the storing orders of the index part for each other.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、データ管理装置に関
し、特に、複数のデータを順番に記憶したデータ管理装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data management device, and more particularly to a data management device that stores a plurality of data in order.

【0002】[0002]

【従来の技術】工場などの生産ライン上を流れるワーク
のデータや生産状況などの重要なデータは、ハードディ
スクや磁気テープなどに複数のデータをまとめてファイ
ルとして記憶し、このファイルからデータを読み込んだ
り、また書き込んだりすることにより行っている。
2. Description of the Related Art Important data such as the data of a work flowing on a production line such as a factory and the production status are stored in a hard disk, a magnetic tape or the like as a file, and the data is read from the file. , By writing again.

【0003】このファイル内のデータとしては、生産指
示データのようにファイル内に記憶されている順番にデ
ータが取り出されて使用されているもの、すなわち、デ
ータの内容はもちろんであるが、その記憶されている順
番にも意味付けされていて、記憶順番自体が処理に必要
な情報源となっているものがある。
As the data in this file, data that is taken out and used in the order in which it is stored in the file, such as production instruction data, that is, the content of the data is of course stored. The order in which they are stored is also meaningful, and the storage order itself is a source of information necessary for processing.

【0004】従来、このようなデータの記憶順番自体が
情報源となっているデータを記憶しているファイル内
で、データの追加や変更を行うような場合には、少なく
とも追加や変更を加えるデータより以降にあるデータ、
または全てのデータを一旦読み込んで、途中のデータの
追加や変更を行った後、ディスクなどに記憶し直すこと
が行われる。
Conventionally, when data is added or changed in a file storing data whose information storage order itself is an information source, at least data to be added or changed The data that follows,
Alternatively, all the data is read once, data in the middle is added or changed, and then the data is re-stored in a disk or the like.

【0005】例えば、図7に示すように、生産指示デー
タや生産管理データのようなレコード長の長いデータ、
ここでは約1kバイトの生産指示データを、全ラインを
集中管理するような上位コンピュータが、その記憶され
ている順番に取り出して生産ライン上の各工程の下位コ
ンピュータに送信し、下位コンピュータでは、受けとっ
た生産指示データに送信完了や投入完了といった生産進
捗状況や指示変更の判断に用いるフラグや付加データな
どを付けて、生産管理データとして出力している。これ
らの生産指示データや生産管理データは上位コンピュー
タもしくはデータの管理のみを行うデータ管理装置など
が記憶装置であるハードディスクや磁気テープに一つの
ファイルにまとめて記憶している。
For example, as shown in FIG. 7, data having a long record length such as production instruction data and production management data,
Here, a high-order computer, which centrally manages all lines, takes out about 1 kbyte of production instruction data in the stored order and sends it to the low-order computer of each process on the production line, and the low-order computer receives it. The production instruction data is attached with a production progress status such as transmission completion or input completion, a flag used for determination of instruction change, additional data, etc., and output as production management data. These production instruction data and production management data are collectively stored in one file in a hard disk or a magnetic tape, which is a storage device of a host computer or a data management device that only manages the data.

【0006】このような生産指示データや生産管理デー
タは、図7に示したように、アクチャル(順位)No.
1から順に並んでいて、並んでいる順番に取り出される
ことで、その順番に生産指示が送られ、ワークへの生産
指示が与えられている。その順番を変更するような場
合、例えばアクチャルNo.50のデータをNo.1の
後に挿入するような場合、一旦アクチャルNo.50の
データを読み込んで、No.1の後にNo.50のデー
タを書き込み、その後、No.2以降のデータを順に読
み込み(リード)、No.50の後に書き込み(ライ
ト)、さらにその後のデータ(No.3以降)について
同様にリード/ライトを繰り返して最後のデータまで書
き込み直すことが行われる。このようなデータの入れ換
え作業は、順番の変更に限らず、途中にデータを追加し
たり、途中のデータを削除する場合にも行われる。
As shown in FIG. 7, the production instruction data and the production management data as described above are the actual (rank) numbers.
The pieces are lined up in order from 1, and the production instructions are sent in that order by being taken out in the order in which they are given to the work. When the order is changed, for example, the actual No. The data of No. 50 is No. In the case of inserting after the No. 1, the actual No. No. 50 is read, No. 1 followed by No. No. 50 data is written, and then No. Data after 2 are read in order (read), No. After 50, writing (writing) is performed, and read / write is similarly repeated for the subsequent data (No. 3 and later) to rewrite up to the last data. Such data replacement work is not limited to changing the order, and is also performed when data is added midway or when data midway is deleted.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、規模の
大きな生産ラインにおいては、一つのファイルとして管
理しているデータ数が多く、なかには約5000件にの
ぼるデータを持っているものもあり、このようなデータ
は、処理を行うコンピュータ内のRAMなどの内部記憶
装置に納まるものではなく、どうしてもハードディスク
や磁気テープなどの記憶容量の大きな外部記憶装置に記
憶させておかなければならない。
However, in a large-scale production line, a large number of data are managed as one file, some of which have about 5000 data. Data is not stored in an internal storage device such as a RAM in a computer that performs processing, but must be stored in an external storage device having a large storage capacity such as a hard disk or a magnetic tape.

【0008】このため、従来のデータ管理では、ある一
つのデータに変更(追加、削除などを含む)が加えられ
た際に、他のデータまで読み込みと書き込みを行うの
で、外部記憶装置に対するこのような書き換え作業は非
常に多くの時間が必要になるといった問題があった。こ
のように、データの変更などに時間が掛かると生産指示
データのように生産ラインを管理しているデータに、変
更を行うような場合にはこの変更などに時間を費やし、
生産指示データの取り出しや出力が遅れて、最悪の場合
には生産ライン自体が止まってしまう恐れがあり、いつ
でも変更などを行うことができず、メンテナンスなど生
産ラインが止まっているようなときにしか行えなかっ
た。しかし、このような変更自体は生産の進捗状況に合
わせ、適宜に行う必要のあるもので、生産ラインを止め
たときにしか行えないのであっては、これもまた生産そ
のものに支障を来すことがある。
Therefore, in the conventional data management, when a change (including addition, deletion, etc.) is made to one piece of data, other data is also read and written. However, there was a problem that it took a lot of time to rewrite. In this way, if it takes time to change the data, such as production instruction data, if you make changes to the data that manages the production line, spend time on this change, etc.
In the worst case, the production line itself may be stopped due to delays in fetching and outputting the production instruction data, and it is not possible to make changes at any time, so only when the production line is stopped due to maintenance, etc. I couldn't. However, such changes themselves need to be made appropriately according to the progress of production, and if they can be done only when the production line is stopped, this also hinders production itself. There is.

【0009】そこで、本発明は、多量のデータを順番に
記憶しているシステムにおいて、データの記憶順番の変
更や途中の順番への追加、削除などを短時間で、容易に
行うことができるデータ管理装置を提供することであ
る。
Therefore, according to the present invention, in a system in which a large amount of data is stored in order, it is possible to easily change, in a short time, the storage order of data and to add or delete data in the middle. It is to provide a management device.

【0010】[0010]

【課題を解決するための手段】上記目的を解決するため
の本発明は、複数のデータを順番に記憶しているデータ
管理装置であって、前記複数のデータの中の各データを
インデックス部分とデータ部分に分割するデータ分割手
段と、前記データ分割手段により分割されたデータ部分
を記憶する外部記憶装置と、前記インデックス部分に、
前記データ部分が記憶されている前記外部記憶装置のア
ドレスを付加するアドレス付加手段と、前記外部記憶装
置に記憶させた前記データ部分のアドレスを付加した前
記インデックス部分を記憶する内部記憶装置と、前記外
部記憶装置に記憶させた前記データ部分のアドレスを付
加した前記インデックス部分を記憶する外部記憶装置
と、前記内部記憶装置および前記外部記憶装置に記憶さ
れた前記インデックス部分を削除し、記憶順番を前詰め
する削除処理手段と、前記内部記憶装置および前記外部
記憶装置中に記憶された前記インデックス部分の記憶順
番を入れ換える変更処理手段と、を有することを特徴と
するデータ管理装置である。
The present invention for solving the above-mentioned problems is a data management apparatus for storing a plurality of data in order, wherein each data in the plurality of data is used as an index portion. Data dividing means for dividing the data portion, an external storage device for storing the data portion divided by the data dividing means, and the index portion,
Address adding means for adding an address of the external storage device in which the data portion is stored; an internal storage device for storing the index portion to which the address of the data portion stored in the external storage device is added; The external storage device for storing the index part added with the address of the data part stored in the external storage device, the internal storage device, and the index part stored in the external storage device are deleted, and the storage order is changed. A data management device comprising: a deletion processing unit for packing and a change processing unit for changing a storage order of the index portions stored in the internal storage device and the external storage device.

【0011】[0011]

【作用】上述のように構成された本発明は、データ分割
手段により複数記憶されている各データをインデックス
部分とデータ部分に分割することで、一つのデータをレ
コード長の短いインデックス部分のみで識別できるよう
にして、このインデックス部分に、外部記憶装置に記憶
される分割したデータ部分のアドレスをアドレス付加手
段によって付加することで、インデックス部分とデータ
部分との対応をとり、このアドレスを付加したインデッ
クス部分を内部記憶装置と外部記憶装置に記憶させるこ
とで、データの削除、記憶順番の入れ換え、途中の記憶
順番への追加などの処理を削除処理手段および変更処理
手段によって、インデックス部分についてのみ行うこと
で、これらのデータの削除、記憶順番の入れ換え、途中
の記憶順番への追加など処理の時間を短縮することがで
きる。また、インデックス部分は、外部記憶装置にも記
憶されているので、内部記憶装置内のインデックス部分
のデータが消えたときには、この外部記憶装置内のイン
デックス部分のデータを呼び出すことでその復旧を可能
とした。
According to the present invention configured as described above, each data stored in plural by the data dividing means is divided into an index portion and a data portion, so that one data is identified only by an index portion having a short record length. As a result, the address of the divided data portion stored in the external storage device is added to this index portion by the address addition means, thereby making the correspondence between the index portion and the data portion, and adding the address. By storing the parts in the internal storage device and the external storage device, processing such as deletion of data, replacement of storage order, addition to the storage order in the middle, etc. is performed only on the index part by the deletion processing means and the change processing means. To delete these data, change the storage order, and add to the intermediate storage order. Such as it is possible to shorten the time of processing. Since the index part is also stored in the external storage device, when the data of the index part in the internal storage device disappears, it is possible to restore it by calling the data of the index part in the external storage device. did.

【0012】[0012]

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

【0013】図1は、本発明を適応したデータ管理装置
のブロック図である。このデータ管理装置の構成は、図
示するように、基データをインデックス部とデータ部に
分割するためのインデックスファイル自動作成部1、基
データ(本実施例においては生産指示データ)を記憶し
た基指示データファイル10、基データをどの部分から
分割するかを規定した情報が記憶されているインデック
スファイル作成テーブル11、インデックスファイル自
動作成部1によって分割されたインデックス部分を記憶
する内部記憶装置30上の指示インデックスファイル1
2、同様にインデックス部分を記憶する外部記憶装置3
1上の指示インデックスファイル13、分割されたデー
タ部分を記憶する外部記憶装置31上の指示データファ
イル14、後記する入力手段20から入力された生産指
示データ中の不要なデータを記憶する指示削除ファイル
15およびディスプレイなどの表示装置を有するキーボ
ードなどの入力手段20よりなる。そして、インデック
スファイル自動作成部1の内部は、データ分割手段であ
り基指示データをインデックス部分とデータ部分に分割
して登録を行う指示登録処理部2、削除処理手段であり
不要な指示データの削除を行う指示削除処理部3、変更
処理手段であり指示データの変更や追加を行う指示変更
処理部4およびアドレス付加手段でありデータ部分が記
憶されているアドレスをインデックス部分に付加するア
ドレス付加部5よりなる。
FIG. 1 is a block diagram of a data management device to which the present invention is applied. As shown in the figure, the structure of this data management device is such that an index file automatic creation unit 1 for dividing the basic data into an index section and a data section, and a basic instruction storing the basic data (production instruction data in this embodiment). A data file 10, an index file creation table 11 that stores information defining from which part the basic data is to be divided, and an instruction on the internal storage device 30 that stores the index part divided by the index file automatic creation unit 1. Index file 1
2. Similarly, an external storage device 3 for storing the index part
1. The instruction index file 13 on 1, the instruction data file 14 on the external storage device 31 for storing the divided data portion, and the instruction deletion file for storing unnecessary data in the production instruction data input from the input means 20 described later. 15 and an input means 20 such as a keyboard having a display device such as a display. The inside of the index file automatic creation unit 1 is a data dividing unit that divides the basic instruction data into an index portion and a data portion to perform registration, and a deletion processing unit that deletes unnecessary instruction data. An instruction deletion processing unit 3 for changing the instruction data, an instruction changing processing unit 4 for changing or adding instruction data, and an address adding unit 5 for adding an address storing means for storing a data portion to an index portion. Consists of.

【0014】なお、上記内部記憶装置30はこのデータ
管理装置内のRAMなどの揮発性メモリで一般的に読み
書き速度の早いものであるが大量のデータを一度に記憶
することのできないものである。また、外部記憶装置3
1は不揮発性のハードディスクや磁気テープなどで一般
的に大量のデータを記憶することができるが、データ長
が長い場合には読み書き速度が遅くなるものである。
The internal storage device 30 is a volatile memory such as a RAM in the data management device, which generally has a high read / write speed, but cannot store a large amount of data at one time. In addition, the external storage device 3
In general, 1 is a non-volatile hard disk or magnetic tape, which can store a large amount of data, but the read / write speed becomes slow when the data length is long.

【0015】以下、このデータ管理装置の各部の機能動
作を基データの分割登録処理、削除処理および変更追加
処理のそれぞれに分けて説明する。
The functional operation of each part of the data management apparatus will be described below separately for each of the basic data division registration processing, the deletion processing, and the change addition processing.

【0016】基データの分割登録処理は、図2に示すフ
ローチャートのように、まず、指示登録処理部2が基指
示データファイル10から基データ(本実施例において
は生産指示データ)を読み込み(S1)、後述するイン
デックスファイル作成テーブル11の分割情報を読み込
み(S2)、この分割情報に基づいてインデックス部分
とデータ部分に分割する(S3)。分割されたデータ部
分は外部記憶装置31上の指示データファイル14に記
憶され(S4)、一方、分割されたインデックス部分
は、データ部分が記憶された外部記憶装置31の指示デ
ータファイル14のアドレスが、アドレス付加手段であ
るアドレス付加部5によって付加されて(S5)、内部
記憶装置30上の指示インデックスファイル12と外部
記憶装置31上の指示インデックスファイル14に同じ
ものが記憶される(S6)。この分割によって1レコー
ドが1kバイトもしくはそれ以上の長い基データが、数
バイト程度のインデックス部分と、情報の主たる部分を
構成しているデータ部分に分割される。
In the basic data division registration process, as shown in the flowchart of FIG. 2, first, the instruction registration processing unit 2 reads basic data (production instruction data in this embodiment) from the basic instruction data file 10 (S1). ), The division information of the index file creation table 11 to be described later is read (S2), and the division is made into the index portion and the data portion based on this division information (S3). The divided data portion is stored in the instruction data file 14 on the external storage device 31 (S4), while the divided index portion has the address of the instruction data file 14 of the external storage device 31 in which the data portion is stored. The same is stored in the instruction index file 12 in the internal storage device 30 and the instruction index file 14 in the external storage device 31 (S6) by being added by the address adding unit 5 which is an address adding means (S5). By this division, long base data in which one record is 1 kbyte or more is divided into an index part of about several bytes and a data part forming a main part of information.

【0017】分割されたインデックス部分とデータ部分
の内容は、例えば基データとして前述した図7に示した
生産指示データの場合には、インデックス部分は、図3
に示すように、そのアクチャルNo.やエンジンNo.
等のデータの標題となるものとデータ部分が記憶されて
いる外部記憶装置31上のアドレスである。一方、デー
タ部分は、生産指示に必要な取付指示コードや設備動作
ボタンといった各種の情報等であり、また、図示しない
が生産管理データの場合のデータ部分は、さらに送信完
了、投入完了といった生産進捗状況、また指示変更の判
断に用いるフラグや付加データなどが付いたものであ
る。
The contents of the divided index portion and data portion are, for example, in the case of the production instruction data shown in FIG. 7 described above as basic data, the index portion is shown in FIG.
As shown in FIG. And engine No.
Is the address on the external storage device 31 in which the data portion and the data title are stored. On the other hand, the data part is various information such as a mounting instruction code necessary for production instructions and equipment operation buttons. Also, although not shown, the data part in the case of production management data is production progress such as completion of transmission and completion of input. It is provided with a flag, additional data, etc. used for judging the situation and the instruction change.

【0018】なお、インデックスファイル作成テーブル
11は、基データを何処の位置でインデックス部分とデ
ータ部分に分割するかを予め規定した分割情報が入って
いるもので、例えば、一つの基データを「始めから何バ
イト目までをインデックス部分とする」、または「何バ
イト目から何バイト目までをインデックス部分とする」
といった情報である。
The index file creation table 11 contains division information that predefines at which position the basic data should be divided into an index portion and a data portion. To how many bytes are used as the index part ", or" how many bytes to how many bytes are used as the index part "
Such information.

【0019】次に、削除処理は、図4に示すフローチャ
ートのように、入力手段20からの不要な指示データの
削除指令が入力され(S11)、これを受け取った指示
削除処理部3が、削除指令されているデータのインデッ
クス部分を内部記憶装置30上の指示インデックスファ
イル12から検索して(S12)、インデックス部分に
付加されているデータ部分のアドレスを検知し、一旦指
示削除ファイル15に、このインデックス部分と、デー
タ部分のアドレスを登録する(S13)。そして、指示
登録処理部12が、内部記憶装置30上の指示インデッ
クスファイル12および外部記憶装置31上の指示イン
デックスファイル13から、不要なデータのインデック
ス部分を削除し(S14)、削除した部分から下にある
データを前詰めする(S15)。
Next, in the deletion processing, as shown in the flowchart of FIG. 4, an instruction to delete unnecessary instruction data is input from the input means 20 (S11), and the instruction deletion processing unit 3 which receives this instruction deletes the instruction. The index portion of the commanded data is searched from the instruction index file 12 on the internal storage device 30 (S12), the address of the data portion added to the index portion is detected, and the instruction deletion file 15 temporarily stores this address. The addresses of the index part and the data part are registered (S13). Then, the instruction registration processing unit 12 deletes the index portion of unnecessary data from the instruction index file 12 on the internal storage device 30 and the instruction index file 13 on the external storage device 31 (S14), and deletes from the deleted portion. The data in the is justified (S15).

【0020】このとき、データ部分の格納されている指
示データファイル部14にある不要なデータ部分につい
ては、そのままにしておく、これは、指示データファイ
ル14にあるデータは、そのレコード長が大きいため
に、このデータの削除、前詰め作業を行うことによっ
て、処理時間が長くなることを防止するためである。こ
の指示データファイル14にある不要データの削除は、
処理時間に余裕のあるとき(この処理の他に処理を行う
必要のないとき)に、前記指示削除ファイル15に記憶
されている削除指令をなされたデータのアドレスを参照
して、削除する。このときアドレスの再配置を行った場
合には、インデックス部の各インデックスデータに付加
されているデータ部分のアドレスについても変更を行
う。ただし、データ部分のアドレスの再配置が行われな
い場合にはインデックス部分のデータについては処理す
る必要はない。
At this time, the unnecessary data portion in the instruction data file portion 14 in which the data portion is stored is left as it is because the data in the instruction data file 14 has a large record length. In addition, it is possible to prevent the processing time from being lengthened by deleting the data and performing the forward packing operation. To delete unnecessary data in this instruction data file 14,
When there is enough processing time (when it is not necessary to perform processing other than this processing), the deletion is performed by referring to the address of the deletion commanded data stored in the instruction deletion file 15. If the addresses are rearranged at this time, the addresses of the data portions added to the respective index data of the index portion are also changed. However, if the address of the data part is not rearranged, it is not necessary to process the data of the index part.

【0021】次に、データの変更追加処理は、図5に示
すフローチャートのように、入力手段20から変更指令
がなされ(S21)、これを受け取った指示変更処理部
4が、変更指令されているデータのインデックス部分を
内部記憶装置30上の指示インデックスファイル12か
ら検索して(S22)、その順番を入れ換えると共に、
同じインデックス部分の順番の入れ換えを外部記憶装置
31上の指示インデックスファイル13内のインデック
ス部分についても行う(S23)。
Next, in the data modification / addition processing, as in the flow chart shown in FIG. 5, a modification command is issued from the input means 20 (S21), and the instruction modification processing unit 4 which has received this modification command is instructed to modify. The index portion of the data is searched from the instruction index file 12 on the internal storage device 30 (S22), and the order is changed, and
The order of the same index parts is also changed for the index parts in the designated index file 13 on the external storage device 31 (S23).

【0022】また、追加処理の際には、図6に示すフロ
ーチャートのように、入力手段20から追加される全て
の基データが入力されると共に追加順番が入力され(S
31)、前記指示登録処理同様に、基データの分割が行
われて(S32)、データ部分については、外部記憶装
置31の指示データファイル14の空きのあるアドレス
または一番最後のアドレスが割り付けられて記憶され
(S33)、そのアドレスがインデックス部分のデータ
に付加される(S34)。インデックス部分は、内部記
憶装置30上の指示インデックスファイル12および外
部記憶装置31上の指示インデックスファイル13内の
指示された順番のところへ挿入される(S35)。そし
て指示インデックスファイル12および指示インデック
スファイル13内のインデックス部分の入れ換え作業が
行われる(S36)。
Further, in the addition processing, as shown in the flowchart of FIG. 6, all the basic data to be added are input from the input means 20 and the addition order is input (S).
31), similarly to the instruction registration process, the basic data is divided (S32), and a free address or the last address of the instruction data file 14 of the external storage device 31 is allocated to the data portion. It is stored (S33), and the address is added to the data of the index portion (S34). The index portion is inserted into the designated index file 12 in the internal storage device 30 and the designated index file 13 in the external storage device 31 at the designated order (S35). Then, the work of replacing the index portions in the instruction index file 12 and the instruction index file 13 is performed (S36).

【0023】以上のような本発明のデータ管理装置は、
例えば生産ラインに対して生産指示を出している生産管
理のためのコンピュータに用いて好適であり、RAMな
どの内部記憶装置だけでは扱うことできないレコード長
の長い生産指示データや生産管理データ(図7参照)な
どを、レコード長の短いインデックス部分と、生産指示
データなどの主要な部分を占めレコード長の長いデータ
部分に分割し、必要なデータを取り出すためには、生産
指示データ分割の際にインデックス部分へ付加されたデ
ータ部分のアドレスを参照することでデータを取り出し
て生産指示を出し、生産指示データの削除、変更、追加
などは、インデックス部分についてのみ行えば、その処
理時間を短縮することができる。
The data management device of the present invention as described above is
For example, it is suitable for use in a computer for production management that issues a production instruction to a production line, and the production instruction data and production management data (FIG. 7) having a long record length that cannot be handled only by an internal storage device such as a RAM. (See) is divided into an index part with a short record length and a data part with a long record length that occupies a major part such as production instruction data. By referring to the address of the data part added to the part, the data is taken out and the production instruction is issued, and if the production instruction data is deleted, changed, or added, the processing time can be shortened if only the index part is performed. it can.

【0024】このため、これらデータの管理のための処
理によって生産指示のレスポンスが低下することがなく
なる。また、このインデックス部分は内部記憶装置30
上の指示インデックスファイル12の他に、外部記憶装
置31上にも同様な指示インデックスファイル13を設
けたことで、このデータ管理装置が停電などでダウンし
たとき、その復旧には、外部記憶装置31上の指示イン
デックスファイル13を内部記憶装置30上の指示イン
デックスファイル12に呼び出せば、停電前と同じ常態
に戻すことができ、復旧作業の時間短縮を図ることが可
能となる。なおこの外部記憶装置31上の指示インデッ
クスファイル13についても、上述のように、内部記憶
装置30上の指示インデックスファイル12と同じ登
録、削除、変更などの処理を行っているが、インデック
ス部分のデータはそのレコード長が短いために、処理時
間が長くなって他の処理に支障を来すことはない。
Therefore, the response to the production instruction does not deteriorate due to the processing for managing these data. Further, this index part is stored in the internal storage device 30.
In addition to the above-mentioned instruction index file 12, a similar instruction index file 13 is provided on the external storage device 31 so that when the data management device goes down due to a power failure or the like, the external storage device 31 can be used for recovery. By calling the above-mentioned instruction index file 13 to the instruction index file 12 in the internal storage device 30, it is possible to return to the same normal state as before the power failure, and it is possible to shorten the time required for recovery work. Note that the instruction index file 13 on the external storage device 31 is also subjected to the same registration, deletion, and change processing as the instruction index file 12 on the internal storage device 30 as described above. Since the record length is short, the processing time becomes long and does not interfere with other processing.

【0025】さらに、本発明をデータの記憶順番を特に
問題としないようなデータの管理、つまり、任意の記憶
位置から取り出されたり、参照されたりするようなラン
ダムアクセスのデータ管理の場合には、データの取り出
しや参照などが行われたデータのアクセス頻度をカウン
トすることにより、その頻度の高いデータだけを本発明
によるデータ管理装置によてインデックス部とデータ部
分に分割することによって、インデックス部分だけをと
った場合でも内部記憶装置に納まらないような数の多い
データを扱う際に、このアクセス頻度の高いものに付い
てのみ分割して、そのアクセス頻度の高いインデックス
部分を内部記憶装置に記憶させることで、複数のデータ
の入れ換えや削除、また追加などの処理レスポンスをあ
げることも可能である。
Further, according to the present invention, in the case of data management in which the storage order of data is not a particular problem, that is, random access data management in which data is retrieved or referenced from an arbitrary storage location, By counting the access frequency of data that has been fetched or referenced, and dividing only the frequently accessed data into an index part and a data part by the data management device according to the present invention, only the index part When dealing with a large amount of data that cannot be stored in the internal storage even if the above is taken, only the frequently accessed data is divided and the frequently accessed index part is stored in the internal storage device. By doing so, it is also possible to raise the processing response such as replacement, deletion, addition of multiple data. That.

【0026】[0026]

【発明の効果】以上説明したように、本発明のデータ管
理装置は、記憶されている複数のデータの各データをイ
ンデックス部分とデータ部分に分割して、インデックス
部分は内部記憶装置と外部記憶装置に、データ部分は外
部記憶装置にそれぞれ記憶させて、一つのデータをイン
デックス部分のみで識別し、記憶順番の入れ換えや削除
をインデックス部分のみで行うこととしたため、これら
のデータの削除、記憶順番の入れ換え、途中の記憶順番
への追加など処理時間を短縮することができる。また、
インデックス部分は、外部記憶装置にも記憶されている
ので、内部記憶装置内のインデックス部分のデータが消
えたときには、この外部記憶装置内のインデックス部分
のデータを呼び出すことでその復帰のための処理時間を
短縮する。
As described above, the data management device of the present invention divides each data of a plurality of stored data into an index part and a data part, and the index part is an internal storage device and an external storage device. In addition, since the data part is stored in the external storage device respectively, one data is identified only by the index part, and the storage order is changed or deleted only by the index part. It is possible to shorten the processing time such as replacement and addition to the storage order in the middle. Also,
Since the index part is also stored in the external storage device, when the data of the index part in the internal storage device disappears, the processing time for restoring by calling the data of the index part in this external storage device. To shorten.

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

【図1】 本発明による一実施例のデータ管理装置のブ
ロック図である。
FIG. 1 is a block diagram of a data management device according to an embodiment of the present invention.

【図2】 上記実施例による分割登録動作のフローチャ
ートである。
FIG. 2 is a flowchart of a division registration operation according to the above embodiment.

【図3】 上記実施例によるインデックス部分とデータ
部分に分割した例である。
FIG. 3 is an example of division into an index portion and a data portion according to the above embodiment.

【図4】 上記実施例による削除動作のフローチャート
である。
FIG. 4 is a flowchart of a deleting operation according to the above embodiment.

【図5】 上記実施例による変更動作のフローチャート
である。
FIG. 5 is a flowchart of a changing operation according to the above embodiment.

【図6】 上記実施例による追加動作のフローチャート
である。
FIG. 6 is a flowchart of an additional operation according to the above embodiment.

【図7】 従来のデータ管理を説明するためのデータ例
である。
FIG. 7 is an example of data for explaining conventional data management.

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

1…インデックスファイル自動作成部 2…指示登録処理部 3…指示削除処理部 4…指示変更処理部 5…アドレス付加部 10…基指示データファイル 11…インデックスファイル作成テーブル 12,13…指示インデックスファイル 14…指示データファイル 15…指示削除ファイル 20…入力手段 30…内部記憶装置 31…外部記憶装置 1 ... Index file automatic creation unit 2 ... Instruction registration processing unit 3 ... Instruction deletion processing unit 4 ... Instruction change processing unit 5 ... Address addition unit 10 ... Basic instruction data file 11 ... Index file creation table 12, 13 ... Instruction index file 14 ... instruction data file 15 ... instruction deletion file 20 ... input means 30 ... internal storage device 31 ... external storage device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数のデータを順番に記憶しているデー
タ管理装置であって、 前記複数のデータの中の各データをインデックス部分と
データ部分に分割するデータ分割手段と、 前記データ分割手段により分割されたデータ部分を記憶
する外部記憶装置と、 前記インデックス部分に、前記データ部分が記憶されて
いる前記外部記憶装置のアドレスを付加するアドレス付
加手段と、 前記外部記憶装置に記憶させた前記データ部分のアドレ
スを付加した前記インデックス部分を記憶する内部記憶
装置と、 前記外部記憶装置に記憶させた前記データ部分のアドレ
スを付加した前記インデックス部分を記憶する外部記憶
装置と、 前記内部記憶装置および前記外部記憶装置に記憶された
前記インデックス部分を削除し、記憶順番を前詰めする
削除処理手段と、 前記内部記憶装置および前記外部記憶装置中に記憶され
た前記インデックス部分の記憶順番を入れ換える変更処
理手段と、を有することを特徴とするデータ管理装置。
1. A data management device that stores a plurality of data in order, wherein the data dividing means divides each data of the plurality of data into an index portion and a data portion, and the data dividing means. An external storage device for storing the divided data portion; an address adding means for adding, to the index portion, an address of the external storage device in which the data portion is stored; and the data stored in the external storage device. An internal storage device for storing the index part added with the address of the part, an external storage device for storing the index part added with the address of the data part stored in the external storage device, the internal storage device and the Deletion processing hand that deletes the index portion stored in the external storage device and moves the storage order forward And a change processing unit for changing the storage order of the index portions stored in the internal storage device and the external storage device.
JP32887293A 1993-12-24 1993-12-24 Data managing device Pending JPH07182215A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32887293A JPH07182215A (en) 1993-12-24 1993-12-24 Data managing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32887293A JPH07182215A (en) 1993-12-24 1993-12-24 Data managing device

Publications (1)

Publication Number Publication Date
JPH07182215A true JPH07182215A (en) 1995-07-21

Family

ID=18215043

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32887293A Pending JPH07182215A (en) 1993-12-24 1993-12-24 Data managing device

Country Status (1)

Country Link
JP (1) JPH07182215A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012185685A (en) * 2011-03-07 2012-09-27 Fujitsu Ltd Work instruction display device and work management device
JP2017513138A (en) * 2014-03-31 2017-05-25 コファックス, インコーポレイテッド Predictive analysis for scalable business process intelligence and distributed architecture

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012185685A (en) * 2011-03-07 2012-09-27 Fujitsu Ltd Work instruction display device and work management device
US10373514B2 (en) 2011-03-07 2019-08-06 Fujitsu Limited Computer-implemented method for network content and advertisement selection
US10713972B2 (en) 2011-03-07 2020-07-14 Fujitsu Limited Job procedure display apparatus, method of controlling job procedure display apparatus and non-transitory, computer readable storage medium
JP2017513138A (en) * 2014-03-31 2017-05-25 コファックス, インコーポレイテッド Predictive analysis for scalable business process intelligence and distributed architecture

Similar Documents

Publication Publication Date Title
JP2865500B2 (en) File storage management method
JPH03266039A (en) Free format data link processing system
JPH0728833A (en) Information retrieving device
JPH07182215A (en) Data managing device
JPH0322046A (en) Control method for file using draw type storage medium
JPH11120044A (en) Data processor, data processing method, data processing system and recording medium
JPH0477938A (en) Data storage method
JPH0254346A (en) File switching processing method
JPS62287350A (en) Index integrally updating system
JPH06231012A (en) Log data managing device
JP3145727B2 (en) Data retrieval device
JPH05151056A (en) Data controller
JPH05324734A (en) Electronic filing device
JPH0338741A (en) Working data managing system for main storage
JPH0283639A (en) File generation control method
JPS62177642A (en) File management system for postscript filing device
JP2689116B2 (en) Optical disk storage management method
JPS60129852A (en) File managing method
JPH05289942A (en) Cache memory circuit
JPS63231547A (en) Empty area managing system for memory device
JPH0224876A (en) Storage controller
JPH04172541A (en) Record storage unit
JPH03228149A (en) Data managing method
JPH07141230A (en) Managing method for data base
JPH06187203A (en) Access system for job file