JP4494892B2 - Data processing apparatus and program - Google Patents
Data processing apparatus and program Download PDFInfo
- Publication number
- JP4494892B2 JP4494892B2 JP2004206894A JP2004206894A JP4494892B2 JP 4494892 B2 JP4494892 B2 JP 4494892B2 JP 2004206894 A JP2004206894 A JP 2004206894A JP 2004206894 A JP2004206894 A JP 2004206894A JP 4494892 B2 JP4494892 B2 JP 4494892B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- read
- control information
- reading
- type
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は、入力ファイルを所定のデータベースに格納するデータ格納技術に関する。 The present invention relates to a data storage technique for storing an input file in a predetermined database.
従来のデータ格納方式として、入力ファイル以外に、データ格納に関する付加情報を与えることにより、データ格納の効率化を行う方法が提案されている(例えば、特許文献1)。ここで提案されている方法は、入力ファイルから抽出した抽出パターンの文字列において、データベースの各項目と抽出パターンの各項との対応関係や変換形式を指定した「データベース変換テーブル」を参照してデータベースの仕様に応じた文字列に変換する処理を行っている。
従来のデータ格納方式は、データの型変換を効率化するために、データ格納に関する付加情報を与えるものであり、データ配置に関して格納を効率化するものではない。従来方法では、一つのデータを複数のレコードに格納するようなデータ配置を行うためには、前もってデータベースの形式に対応するように入力ファイルの整形処理を行う必要があるという問題点があった。時系列データの類似パターン検索では、ある項目のデータ値を複数個連続して一つのレコードに格納し、次のレコードには一定期間だけずらした位置から再び同じ個数のデータ値を一つのレコードに格納する形式が用いられるが、このような場合には、データベースの形式に応じたデータ整形処理を前もって行う必要があった。 The conventional data storage system provides additional information related to data storage in order to improve the efficiency of data type conversion, and does not improve the efficiency of storage with respect to data arrangement. In the conventional method, in order to perform data arrangement such that one data is stored in a plurality of records, there is a problem that the input file needs to be shaped in advance so as to correspond to the database format. In a similar pattern search of time series data, a plurality of data values of a certain item are stored in one record in succession, and the next record has the same number of data values as one record again from a position shifted by a certain period. A storage format is used. In such a case, it is necessary to perform data shaping processing in accordance with the database format in advance.
この発明は上記のような問題点を解決するためになされたもので、同一項目の複数のデータを一つのレコードに格納すること、および、一つのデータを複数のレコードに対応させて格納するデータ格納方式を実現することを主な目的とする。 The present invention has been made to solve the above-described problems, and stores a plurality of data of the same item in one record and data that stores one data corresponding to a plurality of records. The main purpose is to realize the storage method.
本発明に係るデータ処理装置は、
相互に対応関係にある複数のデータを、それぞれのデータのデータ種別に従って分類して蓄積するバッファ部と、
前記バッファ部からデータを読み出す際の連続読出し数をデータ種別ごとに示す制御情報を読み出す制御情報読出し部と、
読出しの対象となる相互に対応関係にある複数のデータを特定し、読出し対象である相互に対応関係にある複数のデータを前記バッファ部から読み出すとともに、制御情報に示された連続読出し数が複数であるデータ種別について、当該データ種別の連続読出し数に従って当該データ種別のデータを前記バッファ部から連続して読み出すデータ読出し部とを有することを特徴とする。
The data processing apparatus according to the present invention
A plurality of data corresponding to each other, a buffer unit for classifying and storing the data according to the data type of each data;
A control information reading unit for reading out control information indicating the number of continuous readings when reading data from the buffer unit for each data type;
A plurality of data corresponding to each other to be read is specified, a plurality of data corresponding to each other to be read is read from the buffer unit, and the number of continuous readings indicated in the control information is plural And a data reading unit for continuously reading out data of the data type from the buffer unit according to the number of continuous readings of the data type.
本発明によれば、複数の連続読出し数が指定されたデータ種別のデータについては当該データ種別のデータを連続して読み出すことにより、前もってデータベースの形式に合わせて整形する処理を行わずに、特定のデータ種別のデータを連続して一つのレコードに格納することができる。 According to the present invention, for data of a data type for which a plurality of continuous reading numbers are designated, the data of the data type is continuously read, so that it is possible to specify the data without performing a process in advance according to the database format. Can be stored in one record continuously.
実施の形態1.
図1は、本実施の形態に係るデータ格納装置(データ処理装置)の構成を示す図である。本実施の形態に係るデータ格納装置は、与えられた入力ファイル、および、制御ファイルから、指定された形式のレコードを作成して格納する処理を行う。
FIG. 1 is a diagram showing a configuration of a data storage device (data processing device) according to the present embodiment. The data storage device according to the present embodiment performs processing for creating and storing a record in a specified format from a given input file and control file.
図1において、データ格納装置1は、入力ファイル読出し装置11、レコードバッファ管理装置12、制御ファイル読出し装置13(制御情報読出し部)、レコード作成装置14、レコード書き込み装置15(データ書込み部)、および、レコードバッファ16(バッファ部)から構成され、入力ファイル4、および、制御ファイル3を入力とする。制御ファイル3は、入力ファイル内のデータ並びおよびデータ型を記述した入力データ値情報6、入力ファイルのデータからどのようにレコードを構成するかを記述したデータ配置情報7(制御情報)、および、実際にデータを格納するデータベースの表名、列名、データ型を記述したデータベース定義情報8から構成される。
In FIG. 1, a
図2は、本実施の形態における入力データ値情報6の構成例を示すものである。入力データ値情報6は、通番21、データ型情報22、データ型が文字型、日付型の場合のデータ長23、および、データ型が数値型の場合の精度24から構成される。ここで、精度とは、データ型が数値(INTEGERなど)の場合に、表現できる範囲を表すものであり、図2の例では、32ビットで数値を表すことを意味する。
FIG. 2 shows a configuration example of the input
図3は、本実施の形態におけるデータ配置情報7の構成例を示すものである。データ配置情報7は、通番31、連続読出し数32、次レコードオフセット33、格納方法指定34から構成される。格納方法指定34に記述される数値は、読み出したデータをレコードとして格納する順を示す。
FIG. 3 shows a configuration example of the
図4は、本実施の形態におけるデータベース定義情報8の構成例を示すものである。データベース定義情報8は、表名情報41、列名情報42、データ型情報43、データ型が文字型、日付型の場合のデータ長44、および、データ型が数値型の場合の精度45から構成される。
FIG. 4 shows a configuration example of the
図6は、本実施の形態におけるレコードバッファ管理装置の構成図である。レコードバッファ管理装置12は、レコード分割装置71、レコードバッファ書き込み装置72、レコードバッファ読出し装置73(データ読出し部)、データ演算装置74(データ読出し部)から構成される。
FIG. 6 is a configuration diagram of the record buffer management device according to the present embodiment. The record
次に動作について説明する。 Next, the operation will be described.
図5は、本実施の形態におけるデータ格納方式のフローチャートである。 FIG. 5 is a flowchart of the data storage method in this embodiment.
まずデータ格納装置1は、ステップ52において、制御ファイル読出し装置13により制御ファイル3を読み出す(制御情報読出しステップ)。レコードバッファ16内に未処理のデータがない場合で、かつ、入力ファイル4内のデータをすべて処理していない場合は、ステップ55において、入力ファイル読出し装置11が入力ファイルからデータを読み出す。レコードバッファ管理装置12は、読み出したデータに対して、ステップ56においてレコードバッファの更新(データ蓄積ステップ)、ステップ57において制御ファイル3の情報をもとに、レコードバッファの現在位置からの必要なデータ読み出し(データ読出しステップ)、ステップ58において、レコードバッファ内の現在位置の更新を行う。
First, in
ステップ56〜ステップ58の動作を図6を用いて説明する。入力ファイル4が図6に示すようなデータであり、入力データ値情報6、データ配置情報7が、それぞれ、図2、図3に示す形式であるとする。なお、入力ファイルの「AA、1、20030101」等が、相互に対応関係にある複数のデータに相当する。レコード分割装置71は、入力ファイル読出し装置11を介して読み出したデータを、項目ごとに分割する。例えば「AA、1、20030101」の場合は、「AA」、「1」、「20030101」に分割する。レコードバッファ16は、各項目ごと(データ種別ごと)にバッファ75からバッファ77で示すようなバッファを用意しているため、レコードバッファ書き込み装置72は、分割したデータを項目ごとに分類し、対応するレコードバッファに書き込む(ステップ56)。各レコードバッファには、現在位置を示すポインタが存在し、レコードバッファ読出し装置73(データ読出し部)は、各レコードバッファの現在位置から、データ配置情報7で指定された連続読出し数だけのデータを読み出す(ステップ57)とともに、各レコードバッファの現在位置を、データ配置情報7で指定された次レコードオフセットだけ進める更新処理を行う(ステップ58)。
The operation from step 56 to
ステップ53において、レコードバッファ内に未処理データが存在する場合は、ステップ57において、レコードバッファの現在位置から必要なデータを読み出す。
本実施の形態では、図3に示すデータ配置情報7において、各項目の格納方法指定34がすべて、読み出したデータを順に並べる指定になっているため、読み出されたデータは、データ演算装置74では何も処理を行わず、ステップ59において、レコード作成装置14が単純に並べてレコードイメージを作成し、ステップ60において、レコード書き込み装置15が、データベース管理システム2を介してレコードを書き込む。ここで、レコード書き込み装置15は、図4のデータベース定義情報を参照して、レコードの書き込みを行う。
本実施の形態において、レコード作成装置14で作成されたレコードイメージは図7に示す形式となる。つまり、図3の通番1は図2の通番1の「CHARACTER」に対応しており、「AA、1、20030101」のうちの「AA」のデータが対象となる。また、連続読出し数が「1」なので、「AA」のみが読み出される。図3の通番2は図2の通番2の「INTEGER」に対応しており、「AA、1、20030101」のうちの「1」のデータが対象となる。また、連続読出し数が「8」なので、「AA、1、20030101」以降のデータの同一項目のデータを連続して読出し、この結果、「1、2、3、4、5、6、7、8」が得られる。図3の通番3は図2の通番3の「DATE」に対応しており、「AA、1、20030101」のうちの「20030101」のデータが対象となる。また、連続読出し数が「1」なので、「20030101」のみが読み出される。また、図3の通番1〜3のいずれもが次レコードオフセットが「1」なので、次に「BB、2、20030102」について同様の処理を行い、このようにして図7の結果が得られる。
If unprocessed data exists in the record buffer in
In the present embodiment, in the
In the present embodiment, the record image created by the
ステップ54において、入力ファイルのすべてのデータを処理したと判定されると、本実施の形態のデータ格納処理は終了する。
If it is determined in
このように、本実施の形態に係るデータ格納装置1は、相互に対応関係にある複数のデータ(入力ファイル)を、それぞれのデータのデータ種別に従って分類して蓄積するレコードバッファ(バッファ部)と、レコードバッファからデータを読み出す際の連続読出し数をデータ種別ごとに示すデータ配置情報(制御情報)を読み出す制御ファイル読出し部(制御情報読出し部)と、読出しの対象となる相互に対応関係にある複数のデータを特定し、読出し対象である相互に対応関係にある複数のデータをレコードバッファから読み出すとともに、データ配置情報に示された連続読出し数が複数であるデータ種別について、当該データ種別の連続読出し数に従って当該データ種別のデータをレコードバッファから連続して読み出すレコードバッファ読出し装置(データ読出し部)とを有する。
As described above, the
以上のように、データ格納処理において、データ配置に関する情報として、連続読出し数、および、格納方法指定を別に与えるようにしているので、前もってデータベースの形式に合わせて入力ファイルを整形する処理を行わずに、入力ファイルのある項目のデータを連続して一つのレコードに格納することができる。 As described above, in the data storage process, the number of continuous reads and the storage method designation are separately given as information regarding the data arrangement, so the process of shaping the input file according to the database format is not performed in advance. In addition, data of an item in the input file can be continuously stored in one record.
また、次のレコードに格納するデータのオフセットを合わせて指定できることにより、前もってデータベースの形式に合わせて入力ファイルを整形する処理を行わずに、一つのデータを複数のレコードに格納することが可能となる。 In addition, by specifying the offset of the data to be stored in the next record, it is possible to store one data in multiple records without processing the input file according to the database format in advance. Become.
時系列データの類似パターン検索を行うためには、連続した一定期間のデータ値を一つのレコードに格納することが要求される。図8を用いて説明する。時系列データ81は、入力ファイル82に図8で示す形式で格納されているとする。このとき8個の測定期間での時系列データを切り出し、その切り出したパターンの他のパターンに対する類似度を計算する類似パターン検索を実施する場合は、レコード83〜レコード86に示すような形式でデータ格納が行われる。即ち、各レコードには、時刻と8個の連続した測定値が格納され、次のレコードには、1測定期間だけずらした位置から8個の測定値が連続して格納される。このような時系列データの類似パターン検索に対応したデータ格納の場合には、データ配置情報を与える本実施の形態により、入力ファイルをあらかじめ整形する必要なく、データ格納を実現することが可能となる。
In order to perform a similar pattern search of time-series data, it is required to store data values for a continuous period in a single record. This will be described with reference to FIG. It is assumed that the
実施の形態2.
以上の実施の形態1では、ある項目の連続する複数データを一つのレコードに格納するようにしたものであるが、次に連続するデータ間の演算結果の値をレコードに格納する場合の実施の形態を示す。
In the first embodiment described above, a plurality of continuous data of a certain item is stored in one record. However, in the case where the value of the operation result between the next consecutive data is stored in the record. The form is shown.
図9は、このような場合のデータ配置情報を示す。通番「2」で示す項目において、格納方法指定94が示す「Diff」という値は、読み出したデータの一つ後のデータとの差分値を計算することを意味する。 FIG. 9 shows data arrangement information in such a case. In the item indicated by the serial number “2”, the value “Diff” indicated by the storage method designation 94 means that a difference value from the data immediately after the read data is calculated.
図11は、本実施の形態におけるレコードバッファ管理装置の構成図である。レコードバッファ16には、データ演算結果を格納する演算結果用バッファ120が用意されている。
FIG. 11 is a configuration diagram of the record buffer management device according to the present embodiment. In the
次に、動作について説明する。 Next, the operation will be described.
図10は、本実施の形態におけるデータ格納方式のフローチャートである。 FIG. 10 is a flowchart of the data storage method in this embodiment.
まずデータ格納装置1は、ステップ102において、制御ファイル読出し装置13により制御ファイル3を読み出す。レコードバッファ16内に未処理のデータがない場合で、かつ、入力ファイル4内のデータをすべて処理していない場合は、ステップ105において、入力ファイル読出し装置11が入力ファイルからデータを読み出す。レコードバッファ管理装置12は、読み出したデータに対して、ステップ106においてレコードバッファの更新、ステップ107において制御ファイル3の情報をもとに、レコードバッファの現在位置からの必要なデータ読み出し、ステップ108において、レコードバッファ内の現在位置の更新を行う。
First, in
ステップ106〜ステップ108の動作を図11を用いて説明する。入力ファイル4が図11に示すようなデータであり、入力データ値情報6、データ配置情報7が、それぞれ、図2、図9に示す形式であるとする。レコード分割装置71は、入力ファイル読出し装置11を介して読み出したデータを、項目ごとに分割する。レコードバッファ16は、各項目ごとにバッファ75からバッファ77で示すようなバッファを用意しているため、レコードバッファ書き込み装置72は、項目ごとに分割したデータを対応するレコードバッファに書き込む(ステップ106)。各レコードバッファには、現在位置を示すポインタが存在し、レコードバッファ読出し装置73は、各レコードバッファの現在位置から、データ配置情報7で指定された連続読出し数だけのデータを読み出す(ステップ107)とともに、各レコードバッファの現在位置を、データ配置情報7で指定された次レコードオフセットだけ進める更新処理を行う(ステップ108)。
The operation in
必要な数だけ読み出したデータに対して、ステップ109において、データ演算装置74(データ演算部)が演算を行う。本実施の形態では、通番「2」の項目の格納方法指定に差分値の演算「Diff」があるため、データ演算装置は、読み出した二つのデータの差分値を計算し、レコードバッファ内の演算結果用バッファ120に演算の結果を格納する。ステップ110において、レコード作成装置14が、演算結果用バッファ120の内容を利用して、レコードイメージを作成し、ステップ111において、レコード書き込み装置15が、データベース管理システム2を介してレコードを書き込む。本実施の形態において、レコード作成装置14で作成されたレコードイメージは図12に示す形式となる。
In
以上のように、データ格納処理において、データ配置に関する情報として、連続読出し数、および、演算情報を含んだ格納方法指定を別に与えるようにしているので、前もってデータベースの形式に合わせて入力ファイルを整形する処理を行わずに、入力ファイルのある項目の連続したデータ間の演算処理結果をレコードの値として格納することができる。 As described above, in the data storage process, the number of continuous reads and the storage method specification including the calculation information are separately given as the information related to the data arrangement, so the input file is formatted according to the database format beforehand. The result of the arithmetic processing between continuous data of a certain item in the input file can be stored as a record value.
演算情報として、差分計算を指定することにより、ある項目の値の増分値をレコードに格納することが可能となり、前もって入力ファイルの整形処理を行わずに、増分値を用いた傾向分析を実現するためのデータ格納を実現することができる。 By specifying the difference calculation as the calculation information, it is possible to store the increment value of a certain item value in the record, and realize the trend analysis using the increment value without performing the input file shaping process in advance. Data storage can be realized.
前述した各実施の形態で、データ格納装置は、コンピュータで実現できるものである。 In each of the embodiments described above, the data storage device can be realized by a computer.
図示していないが、データ格納装置は、プログラムを実行するCPU(Central Processing Unit)を備えている。 Although not shown, the data storage device includes a CPU (Central Processing Unit) that executes a program.
例えば、CPUは、バスを介して、ROM(Read Only Memory)、RAM(Random Access Memory)、通信ボード、表示装置、K/B(キーボード)、マウス、FDD(Flexible Disk Drive)、CDD(コンパクトディスクドライブ)、磁気ディスク装置、光ディスク装置、プリンタ装置、スキャナ装置等と接続されている。 For example, the CPU is connected to a ROM (Read Only Memory), a RAM (Random Access Memory), a communication board, a display device, a K / B (keyboard), a mouse, an FDD (Flexible Disk Drive), and a CDD (Compact Disc) via a bus. Drive), magnetic disk device, optical disk device, printer device, scanner device and the like.
磁気ディスク装置には、オペレーティングシステム(OS)、ウィンドウシステム、プログラム群等が記憶されている。 The magnetic disk device stores an operating system (OS), a window system, a program group, and the like.
プログラム群は、CPU、OS、ウィンドウシステムにより実行される。 The program group is executed by a CPU, OS, and window system.
上記データ格納装置の各部は、一部或いはすべてコンピュータで動作可能なプログラムにより構成しても構わない。或いは、ROMに記憶されたファームウェアで実現されていても構わない。或いは、ソフトウェア或いは、ハードウェア或いは、ソフトウェアとハードウェアとファームウェアとの組み合わせで実施されても構わない。 Each part of the data storage device may be constituted by a part or all of a program operable by a computer. Alternatively, it may be realized by firmware stored in the ROM. Alternatively, it may be implemented by software, hardware, or a combination of software, hardware, and firmware.
上記プログラム群には、実施の形態の説明において「〜部」として説明した処理をCPUに実行させるプログラムが記憶される。これらのプログラムは、例えば、C言語やHTMLやSGMLやXMLなどのコンピュータ言語により作成される。 The program group stores a program that causes the CPU to execute the processing described as “˜unit” in the description of the embodiment. These programs are created by computer languages, such as C language, HTML, SGML, and XML, for example.
また、上記プログラムは、磁気ディスク装置、FD(Flexible Disk)、光ディスク、CD(コンパクトディスク)、MD(ミニディスク)、DVD(Digital Versatile Disk)等のその他の記録媒体に記憶され、CPUにより読み出され実行される。 The program is stored in another recording medium such as a magnetic disk device, FD (Flexible Disk), optical disk, CD (compact disk), MD (mini disk), DVD (Digital Versatile Disk), and read by the CPU. And executed.
1 データ格納装置、2 データベース管理システム、3 制御ファイル、4 入力ファイル、5 データベース、6 入力データ値情報、7 データ配置情報、8 データベース定義情報、11 入力ファイル読出し装置、12 レコードバッファ管理装置、13 制御ファイル読出し装置、14 レコード作成装置、15 レコード書き込み装置、16 レコードバッファ、71 レコード分割装置、72 レコードバッファ書き込み装置、73 レコードバッファ読出し装置、74 データ演算装置、75 バッファ、76 バッファ、77 バッファ、120 演算結果用バッファ。 1 data storage device, 2 database management system, 3 control file, 4 input file, 5 database, 6 input data value information, 7 data allocation information, 8 database definition information, 11 input file reading device, 12 record buffer management device, 13 Control file reading device, 14 record creating device, 15 record writing device, 16 record buffer, 71 record dividing device, 72 record buffer writing device, 73 record buffer reading device, 74 data operation device, 75 buffer, 76 buffer, 77 buffer, 120 Operation result buffer.
Claims (7)
ファイルごとに複数のデータをデータ型に従って分類して、複数個のファイルを入力順に蓄積するバッファ部と、
データ読み出し時に前記バッファ部から読み出すデータの個数をデータ型ごとに示し、少なくとも1つのデータ型に対しては読み出し対象のデータの個数として複数個を示している制御情報を読み出す制御情報読み出し部と、
データ型ごとに、前記制御情報に示される個数分のデータを前記バッファ部へのファイルの入力順に従って前記バッファ部から読み出すデータ読み出し部とを有することを特徴とするデータ処理装置。 Means for inputting a file containing a plurality of data of a plurality of data types;
A buffer unit that classifies a plurality of data for each file according to a data type , and accumulates a plurality of files in the order of input ;
A control information reading unit that reads the number of data to be read from the buffer unit at the time of data reading for each data type, and reads control information indicating a plurality of data to be read for at least one data type ;
A data processing apparatus comprising: a data reading unit for reading out data corresponding to the number indicated in the control information from the buffer unit in accordance with an input order of the file to the buffer unit for each data type .
前記データ読み出し部により読み出された各々のデータ型のデータを相互に対応付けて所定のデータ書き込み先に書き込むデータ書き込み部を有することを特徴とする請求項1に記載のデータ処理装置。 The data processing device further includes:
The data processing apparatus according to claim 1, further comprising a data writing unit that writes the data of each data type read by the data reading unit to a predetermined data writing destination in association with each other.
読み出し対象のデータの個数として複数個が示されているデータ型に対して所定の演算の実施を指定する制御情報を読み出し、
前記データ処理装置は、更に、
前記制御情報において演算が指定されているデータ型に対して、前記データ読み出し部により読み出された複数個のデータを用いて前記制御情報において指定されている演算を行うデータ演算部と、
前記制御情報において演算が指定されていないデータ型に対して前記データ読み出し部により読み出されたデータと、前記制御情報において演算が指定されているデータ型に対して前記データ演算部により演算が行われた後の演算結果とを相互に対応付けて所定のデータ書き込み先に書き込むデータ書き込み部とを有することを特徴とする請求項1に記載のデータ処理装置。 The control information reading unit
Read out the control information that specifies the execution of a predetermined operation for the data type indicated as the number of data to be read,
The data processing device further includes:
For the data type operations are designated in the control information, a data calculation unit for performing an operation specified in the control information by using a plurality of data Desa read by the data reading unit,
An operation is performed by the data operation unit on data read by the data reading unit for a data type for which no operation is specified in the control information and a data type for which an operation is specified in the control information. The data processing apparatus according to claim 1, further comprising: a data writing unit that associates the calculation result after being transmitted with each other and writes the result in a predetermined data writing destination .
データ型ごとにポインタが存在し、
前記データ読み出し部は、
データ型ごとに、ポインタ位置から前記制御情報に示される個数分のデータを読み出すことを特徴とする請求項1に記載のデータ処理装置。 In the buffer part,
There is a pointer for each data type,
The data reading unit
2. The data processing apparatus according to claim 1, wherein the number of data indicated by the control information is read from a pointer position for each data type.
複数のデータ型の複数のデータが含まれるファイルを入力する処理と、
ファイルごとに複数のデータをデータ型に従って分類して、複数個のファイルを入力順に前記バッファ部に蓄積するデータ蓄積処理と、
データ読み出し時に前記バッファ部から読み出すデータの個数をデータ型ごとに示し、少なくとも1つのデータ型に対しては読み出し対象のデータの個数として複数個を示している制御情報を読み出す制御情報読み出し処理と、
データ型ごとに、前記制御情報に示される個数分のデータを前記バッファ部へのファイルの入力順に従って前記バッファ部から読み出すデータ読み出し処理とを実行させることを特徴とするプログラム。 In a computer having a buffer unit for storing data,
Processing to input a file containing multiple data of multiple data types,
A data accumulation process for classifying a plurality of data for each file according to a data type, and accumulating a plurality of files in the buffer unit in an input order ;
A control information read process for reading the number of data to be read from the buffer unit at the time of data read for each data type, and for reading at least one data type, the control information indicating a plurality as the number of data to be read;
A program for executing , for each data type, a data reading process for reading out data corresponding to the number indicated in the control information from the buffer unit in accordance with a file input order to the buffer unit .
前記データ読み出し処理により読み出された各々のデータ型のデータを相互に対応付けて所定のデータ書き込み先に書き込むデータ書き込み処理を前記コンピュータに実行させることを特徴とする請求項5に記載のプログラム。6. The program according to claim 5, which causes the computer to execute a data writing process in which data of each data type read by the data reading process is associated with each other and written to a predetermined data writing destination.
読み出し対象のデータの個数として複数個が示されているデータ型に対して所定の演算の実施を指定する制御情報を前記コンピュータに読み出させ、Causing the computer to read control information that designates the execution of a predetermined operation for a data type in which a plurality of pieces of data to be read are indicated;
前記プログラムは、更に、The program further includes:
前記制御情報において演算が指定されているデータ型に対して、前記データ読み出し処理により読み出された複数個のデータを用いて前記制御情報において指定されている演算を行うデータ演算処理と、A data calculation process for performing a calculation specified in the control information using a plurality of data read out by the data read process for a data type in which the calculation is specified in the control information;
前記制御情報において演算が指定されていないデータ型に対して前記データ読み出し処理により読み出されたデータと、前記制御情報において演算が指定されているデータ型に対して前記データ演算処理により演算が行われた後の演算結果とを相互に対応付けて所定のデータ書き込み先に書き込むデータ書き込み処理とを前記コンピュータに実行させることを特徴とする請求項5に記載のプログラム。An operation is performed by the data operation process on the data read by the data read process for a data type for which an operation is not specified in the control information, and a data type operation is specified by the control information. 6. The program according to claim 5, which causes the computer to execute a data writing process in which a calculation result after being transmitted is associated with each other and written to a predetermined data writing destination.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004206894A JP4494892B2 (en) | 2004-07-14 | 2004-07-14 | Data processing apparatus and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004206894A JP4494892B2 (en) | 2004-07-14 | 2004-07-14 | Data processing apparatus and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2006031214A JP2006031214A (en) | 2006-02-02 |
| JP4494892B2 true JP4494892B2 (en) | 2010-06-30 |
Family
ID=35897513
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004206894A Expired - Fee Related JP4494892B2 (en) | 2004-07-14 | 2004-07-14 | Data processing apparatus and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4494892B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7014199B2 (en) * | 2019-03-08 | 2022-02-01 | オムロン株式会社 | Control systems, information processing equipment, and information processing programs |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01265339A (en) * | 1988-04-18 | 1989-10-23 | Matsushita Electric Ind Co Ltd | Structured data processing device |
| JP3185167B2 (en) * | 1993-12-24 | 2001-07-09 | 株式会社日立製作所 | Data processing system |
| JP4251727B2 (en) * | 1999-07-08 | 2009-04-08 | 三菱電機株式会社 | File management method |
| JP2003186717A (en) * | 2001-12-13 | 2003-07-04 | Dai-Ichi Mutual Life Insurance Co | Business management system, business management method and business management program |
-
2004
- 2004-07-14 JP JP2004206894A patent/JP4494892B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2006031214A (en) | 2006-02-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2896634B2 (en) | Full-text registered word search device and full-text registered word search method | |
| JP4899476B2 (en) | Split program, linked program, information processing method | |
| JP2624753B2 (en) | How to create higher-level specifications | |
| JP4997749B2 (en) | Document processing method, program, and system | |
| JP2003067185A (en) | Application editing device and data processing method and program | |
| EP1001336A2 (en) | Method and apparatus for amplifying design information into software products | |
| JP4494892B2 (en) | Data processing apparatus and program | |
| JP5198149B2 (en) | Information processing apparatus, program, and insurance product policy generation method | |
| JPWO2009011057A1 (en) | Application analysis program, application analysis method, and application analysis apparatus | |
| JP5219543B2 (en) | Information processing apparatus, information processing method, and program | |
| JP5971069B2 (en) | Information processing apparatus, title extraction method, and program | |
| JP4734400B2 (en) | Document search apparatus and program | |
| JP2020135159A (en) | Source file generation program, source file generation method, and information processing device | |
| JP2008210068A (en) | Data processing apparatus, data processing method, and program | |
| JP7668961B2 (en) | Document generation device, program, and document generation method | |
| JP7021401B1 (en) | Logging support device, logging system, logging support method and program | |
| JP3019922B2 (en) | Trace data reduction method | |
| JP3454987B2 (en) | Document editing apparatus and method | |
| EP4592887A1 (en) | Information processing program, information processing method, and information processing device | |
| JP2008262324A (en) | Information processing apparatus, information processing method, and program | |
| JP2018005551A (en) | Editing support program, device and method | |
| JP3239845B2 (en) | Full-text search apparatus and method | |
| JP2018025852A (en) | Program analysis method, program analysis apparatus, and analysis program | |
| JP2004252890A (en) | Text data creation method, text data creation device, and computer program | |
| WO2026069489A1 (en) | Log division device, method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070410 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091124 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091208 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100119 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20100406 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100408 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130416 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |