JPH07282073A - Data retrieving device and its method - Google Patents

Data retrieving device and its method

Info

Publication number
JPH07282073A
JPH07282073A JP6066195A JP6619594A JPH07282073A JP H07282073 A JPH07282073 A JP H07282073A JP 6066195 A JP6066195 A JP 6066195A JP 6619594 A JP6619594 A JP 6619594A JP H07282073 A JPH07282073 A JP H07282073A
Authority
JP
Japan
Prior art keywords
data
storage device
search
external storage
point
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
JP6066195A
Other languages
Japanese (ja)
Inventor
Ryoji Soga
良司 曽我
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP6066195A priority Critical patent/JPH07282073A/en
Publication of JPH07282073A publication Critical patent/JPH07282073A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a data retrieving device and its method capable of more speedily retrieving data in the reverse direction time sequentially. CONSTITUTION:This device is provided with a ring buffer control part 20 controlling a point for retrieval which is set for each block divided by each unit capable of most efficiently reading production instructing information within an external storage device 2 into a main storage device 16 at one time. The ring buffer control part 20 is provided with information at the top and the last storing positions of production instructing information stored in the external storage device 2, an output finish point showing production instructing information which is already outputted presently and the point for retrieval. On the other hand, the device is provided with a data retrieving part 18 which reads a block indicated by a point for retrieval just before the above-mentioned one if there is not production instructing information corresponding to a retrieving key in a block indicated by the point for retrieval which is read from the external storage device 2 to the main storage device 16 in accordance with information provided for the ring buffer control part 20.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、いったん中断した外部
記憶装置への検索作業を再開した場合に、より効率よく
対象データを検出しうるデータ検索装置及びその方法に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data retrieving apparatus and a method therefor capable of more efficiently detecting target data when resuming a retrieving operation for an external storage device once suspended.

【0002】[0002]

【従来の技術】従来、例えば生産指示情報に関するデー
タを検索するデータ検索装置においては、通常、定時処
理あるいはオペレータにより指定された生産指示情報を
検索し出力するという処理が通常行われる。図5は、従
来のデータ検索装置の一例である。図5において、デー
タ検索装置は、生産指示情報を記憶する外部記憶装置2
と、オペレータにより操作され検索キー等検索指示情報
を入出力する端末装置4と、外部記憶装置2をアクセス
し検索処理を行うコンピュータ6と、検索結果を出力す
る出力装置8と、を有している。図6は、外部記憶装置
2に記憶されたデータの例である。データが順次記憶さ
れる外部記憶装置2に対しては、情報を順方向に検索し
ていくという方法が一般的である。従って、検索処理
は、外部記憶装置2の最後までたどり着くと先頭に戻り
繰り返し行われるというようにサイクリックに行われる
ので、外部記憶装置2は、図6に示すように論理的には
リングバッファ状に構成される。
2. Description of the Related Art Conventionally, for example, in a data retrieval device for retrieving data relating to production instruction information, a regular process or a process of retrieving and outputting production instruction information designated by an operator is usually performed. FIG. 5 is an example of a conventional data search device. In FIG. 5, the data search device is an external storage device 2 that stores production instruction information.
A terminal device 4 operated by an operator for inputting and outputting search instruction information such as a search key; a computer 6 for accessing the external storage device 2 to perform a search process; and an output device 8 for outputting a search result. There is. FIG. 6 is an example of data stored in the external storage device 2. For the external storage device 2 in which data is sequentially stored, it is common to search information in the forward direction. Therefore, since the search process is cyclically performed such that when the end of the external storage device 2 is reached, the search process is repeated at the beginning and the external storage device 2 is logically ring buffer-shaped as shown in FIG. Is composed of.

【0003】以上のようなデータ検索装置において、外
部記憶装置2に記憶されたデータを順に検索し出力をし
ているとき、出力装置に何らかの事象が発生したために
検索途中の所定のデータから出力を再開したい場合があ
る。例えば、プリンタへの出力途中で紙切れあるいは紙
づまりが発生した場合、データ検索装置として出力済み
と認識したデータより少し前にさかのぼったデータから
出力を開始したい場合等がこれに該当する。この場合の
処理について説明する。
In the data retrieval apparatus as described above, when the data stored in the external storage device 2 are sequentially retrieved and output, an event occurs in the output device, so that the output is started from the predetermined data during the retrieval. You may want to restart. For example, when a paper shortage or a paper jam occurs during the output to the printer, the case where it is desired to start the output from the data traced back slightly before the data recognized as the output by the data search device, and the like. The processing in this case will be described.

【0004】図6に示したように、コンピュータ6にお
いては“113ウ”のデータまで出力が終了したと認識
されており、そのポインタ(出力済位置)は、“113
ウ”の位置を指している。ここで、オペレータは、出力
済位置から少し前の“111ア”から再出力を行いたい
場合に、“111”を検索キーとして外部記憶装置2の
データを検索させ出力させる。この検索キーを用いる方
法は、データの文字数が多い場合には特に有効であり、
通常行われている。
As shown in FIG. 6, the computer 6 recognizes that the data up to "113" has been output, and its pointer (output position) is "113".
C) The operator searches the data in the external storage device 2 with "111" as a search key when the operator wants to re-output from "111a", which is slightly before the output completed position. This method of using the search key is especially effective when the number of characters in the data is large,
It is usually done.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来の
データ検索装置に使用される外部記憶装置は、上記のよ
うに通常順方向に検索されるので、出力済みのデータを
検索キーを用いて再度出力させる場合、図6において本
来“111ア”から再出力を行いたい場合であっても確
実に検索させるためには最も古いデータである“109
A”から検索を開始させる必要がある。この場合、検索
時間は、データ量に比例して多くの時間を要することに
なる。
However, since the external storage device used in the conventional data search device is normally searched in the forward direction as described above, the output data is output again using the search key. In this case, even if it is originally desired to re-output from “111” in FIG. 6, the oldest data “109
It is necessary to start the search from "A". In this case, the search time requires a lot of time in proportion to the amount of data.

【0006】また、図6に示したように、“109A”
から検索を開始すると、出力済位置から少し前の“11
1ア”から再出力させたいのに“111C”を先に検索
してしまい、そこから再出力されてしまうという問題が
あった。
Further, as shown in FIG. 6, "109A"
When you start the search from "11
There was a problem that I wanted to re-output from "1a" but searched for "111C" first, and then re-outputted from there.

【0007】一方、上記問題を回避するために出力済位
置から直近のデータからさかのぼらせて検索させ出力さ
せるという方法が考えられるが、コンピュータと外部記
憶装置との間の入出力特性を考慮すると、いったん外部
記憶装置内のデータを全て検索した後に出力済位置から
時系列方向に前であり直近の“111ア”を見つけ出す
ことになる。
On the other hand, in order to avoid the above-mentioned problem, a method of retrieving and outputting from the latest data from the output position can be considered, but considering the input / output characteristics between the computer and the external storage device. After once searching all the data in the external storage device, the previous and latest "111" in the time series direction from the output position is found.

【0008】本発明は以上のような問題を解決するため
になされたものであり、その目的は、時系列的に逆方向
のデータをより早く検索しうるデータ検索装置及びデー
タ検索装置方法を提供することにある。
The present invention has been made to solve the above problems, and an object thereof is to provide a data search device and a data search device method capable of searching backward data in a time series faster. To do.

【0009】[0009]

【課題を解決するための手段】以上のような目的を達成
するために、本発明に係るデータ検索装置は、データが
順次記憶される外部記憶装置に対してサイクリックにデ
ータの検索処理を行うデータ検索装置において、前記外
部記憶装置内のデータを主記憶装置に一度に読み込める
単位毎に分割されたブロック毎に設定された検索用ポイ
ントを管理するリングバッファ制御手段と、前記主記憶
装置に読み込むべきブロックに対応する前記検索用ポイ
ントを逆方向に指定するデータ検索手段と、を有するこ
とを特徴とする。
In order to achieve the above object, a data search apparatus according to the present invention cyclically searches data in an external storage device in which data is sequentially stored. In the data retrieval device, ring buffer control means for managing retrieval points set for each block divided into units capable of reading the data in the external storage device into the main storage device at one time, and reading into the main storage device Data retrieval means for designating the retrieval point corresponding to the power block in the reverse direction.

【0010】また、本発明に係るデータ検索方法は、リ
ングバッファ状に記憶されたデータをサイクリックにデ
ータの検索処理を行うデータ検索方法において、一度に
読み込むことができる単位毎に分割されたブロックのう
ち、カレントポイントが指すデータを含むブロックを主
記憶装置に読み込むステップと、読み込んだブロック内
に検索すべきデータがない場合、そのブロックの1つ手
前のブロックを読み込むステップと、を有することを特
徴とする。
The data search method according to the present invention is a data search method in which data stored in a ring buffer is cyclically searched for, and blocks are divided into units that can be read at one time. Of the above, a step of reading a block including data pointed to by the current point into the main memory and a step of reading a block immediately before the block when there is no data to be searched in the read block. Characterize.

【0011】[0011]

【作用】従って、本発明によれば、リングバッファ制御
手段は、外部記憶装置からカレントポイントの指すデー
タを含むブロックを読み込む。データ検索手段は、読み
込んだブロックに含まれるデータの中に検索すべきデー
タが存在しなければ、当該ブロックの1つ手前のブロッ
クを求める。リングバッファ制御手段は、改めてその1
つ手前のブロックを読み込む。
Therefore, according to the present invention, the ring buffer control means reads the block containing the data pointed to by the current point from the external storage device. If there is no data to be searched in the data included in the read block, the data search means obtains the block immediately before the block. The ring buffer control means is part 1 again
Read the previous block.

【0012】このようにして、外部記憶装置からブロッ
ク単位に逆方向に検索することにより検索の高速化を図
ることができる。
In this way, the search speed can be increased by searching the external storage device in block units in the reverse direction.

【0013】[0013]

【実施例】以下、図面に基づいて、本発明の好適な実施
例を説明する。なお、従来例と同様の要素には同じ符号
を付ける。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described below with reference to the drawings. The same elements as those in the conventional example are designated by the same reference numerals.

【0014】図1は、本発明に係るデータ検索装置の構
成を示した図であり、本実施例においては特に生産指示
を行うための生産指示情報を検索し出力する装置を示し
た図である。
FIG. 1 is a diagram showing a configuration of a data retrieval apparatus according to the present invention, and in the present embodiment, it is a diagram showing an apparatus for retrieving and outputting production instruction information for particularly giving a production instruction. .

【0015】図において、データ検索装置は、データと
して生産指示情報を順次記憶する外部記憶装置2と、オ
ペレータにより操作され検索キー等検索指示情報を入出
力する端末装置4と、外部記憶装置2をアクセスし検索
処理を行うコンピュータ60と、検索結果を出力するプ
リンタ等の出力装置8と、を有している。なお、出力装
置8は、端末装置4と兼用させることもできるし、他の
コンピュータであってもよい。コンピュータ60は、出
力装置8に生産指示情報を出力する生産指示出力部10
と、後述するリングバッファ制御部20を経由して外部
記憶装置2に生産指示情報を記憶させるとともに生産指
示出力部10に出力指示を出す生産指示部12と、生産
指示出力部10に再出力指示を出す生産指示再出力部1
4と、を有する。これら生産指示出力部10、生産指示
部12、生産指示再出力部14は、主記憶装置16にロ
ードされCPUで処理されるソフトウェアで実現するこ
とができる。
In the figure, the data retrieval device comprises an external storage device 2 for sequentially storing production instruction information as data, a terminal device 4 operated by an operator for inputting / outputting retrieval instruction information such as a search key, and an external storage device 2. It has a computer 60 for accessing and performing search processing, and an output device 8 such as a printer for outputting search results. The output device 8 may be used also as the terminal device 4, or may be another computer. The computer 60 outputs the production instruction information to the output device 8 by the production instruction output unit 10
And a production instruction unit 12 that stores production instruction information in the external storage device 2 via a ring buffer control unit 20 described later and issues an output instruction to the production instruction output unit 10, and a re-output instruction to the production instruction output unit 10. Production instruction re-output unit 1
4 and. The production instruction output unit 10, the production instruction unit 12, and the production instruction re-output unit 14 can be realized by software loaded in the main storage device 16 and processed by the CPU.

【0016】本実施例において特徴的なことは、外部記
憶装置2内の生産指示情報を主記憶装置16に一度に読
み込める単位毎に分割されたブロック毎に設定された検
索用ポイントを管理するリングバッファ制御部20を有
することであり、また、リングバッファ制御部20のも
つ情報に従い外部記憶装置2から主記憶装置16に読み
込むべきブロックに対応する前記検索用ポイントを逆方
向に指定するデータ検索手段を有することである。な
お、データ検索手段は、CPUで処理されるソフトウェ
アで実現することができる。
A feature of the present embodiment is that the ring for managing the search points set for each block divided into units in which the production instruction information in the external storage device 2 can be read into the main storage device 16 at one time. The data search means has the buffer control unit 20, and specifies the search points corresponding to the blocks to be read from the external storage device 2 to the main storage device 16 in the reverse direction according to the information held by the ring buffer control unit 20. Is to have. The data search means can be realized by software processed by the CPU.

【0017】図2は、リングバッファ制御部20のもつ
情報を示した図である。リングバッファ制御部20は、
物理的に順編成である外部記憶装置2を図6に示したよ
うに論理的にリングバッファとして取り扱うために、外
部記憶装置2に記憶される生産指示情報の先頭記憶位置
(以下、トップポイントという)と最後の記憶位置(以
下、ボトムポイントという)との情報を持つ。図2によ
れば、ボトムポイントの値から100レコード分の生産
指示情報を記憶できることがわかる。また、現在外部記
憶装置2のどの位置まで出力が済んでいるのかを示すカ
レントポイント(以下、出力済ポイントという)の情報
を持つ。更に、生産指示情報の再出力時に外部記憶装置
2に記憶された生産指示情報を高速に検索するために検
索用ポイントを持っている。この検索用ポイントの指す
(レコード)位置は、外部記憶装置2から主記憶装置1
6に一度に読み込める容量に応じて決められる。これ
は、以下のようにして求める。
FIG. 2 is a diagram showing information held by the ring buffer control unit 20. The ring buffer control unit 20
In order to logically handle the external storage device 2 that is physically organized as a ring buffer as shown in FIG. 6, the head storage position of the production instruction information stored in the external storage device 2 (hereinafter referred to as the top point). ) And the last storage location (hereinafter referred to as the bottom point). According to FIG. 2, it is understood that the production instruction information for 100 records can be stored from the value of the bottom point. In addition, it has information on a current point (hereinafter referred to as an output completed point) indicating to which position in the external storage device 2 the output has been completed. Further, a search point is provided to quickly search the production instruction information stored in the external storage device 2 when the production instruction information is output again. The (record) position pointed to by this search point is from the external storage device 2 to the main storage device 1.
It is decided according to the capacity that can be read in 6 at a time. This is obtained as follows.

【0018】外部記憶装置2から一度に最も効率よく読
み込める1ブロックの容量をx、1つの生産指示情報の
大きさをy、トップポイントをa、ボトムポイントを
b、とすると、検索用ポイントの数nは、 n=(b−a+1)/(x/y) で求められ、検索用ポイントのi番目Piは、 Pi=a+(i−1)x/y で求めることができる。なお、上記式においてx/yが
整数でないときは、小数点以下を切り捨てる。
If the capacity of one block that can be read most efficiently from the external storage device 2 at a time is x, the size of one production instruction information is y, the top point is a, and the bottom point is b, the number of search points is set. n is calculated by n = (b−a + 1) / (x / y), and the i-th Pi of the search point can be calculated by Pi = a + (i−1) x / y. In addition, when x / y is not an integer in the above equation, the fractional part is truncated.

【0019】このようにして、外部記憶装置2内の生産
指示情報は、最も効率よく主記憶装置16に読み込むこ
とができるブロック単位に分割され、それぞれ分割され
たブロックには各ブロック固有の検索用ポイントを割り
当てる。本実施例における検索用ポイントは、図2によ
れば100レコード分の生産指示情報を10レコードず
つ読み込むために10個のブロックに分割され、検索用
ポイントは、各ブロックの先頭レコード番号で表されて
いる。検索用ポイントは、外部記憶装置2に生産指示情
報が記憶された後でも上記x、y、a、bの値によって
動的に設定される。なお、図3に図2に示したリングバ
ッファ制御部20のもつ情報と外部記憶装置2の対応関
係を示す。
In this way, the production instruction information in the external storage device 2 is divided into blocks that can be read into the main storage device 16 most efficiently, and each divided block is used for retrieval unique to each block. Assign points. According to FIG. 2, the search point in this embodiment is divided into 10 blocks in order to read the production instruction information for 100 records 10 records at a time, and the search point is represented by the head record number of each block. ing. The search point is dynamically set by the values of x, y, a, and b even after the production instruction information is stored in the external storage device 2. Note that FIG. 3 shows a correspondence relationship between the information held by the ring buffer control unit 20 shown in FIG. 2 and the external storage device 2.

【0020】図4は、本実施例における処理の流れを示
したフローチャートであり、この図を用いて本装置にお
ける動作を説明する。
FIG. 4 is a flow chart showing the flow of processing in this embodiment, and the operation of this apparatus will be described with reference to this figure.

【0021】通常、生産指示部12は、生産指示情報を
リングバッファ制御部20を経由して外部記憶装置2に
記憶させるとともに出力装置8に出力する。ここで、何
らかの事象が発生したために出力済みの生産指示情報を
検索し再出力させたい場合、生産指示再出力部14は、
オペレータに端末装置4から検索キーを指定させる。リ
ングバッファ制御部20は、出力済ポイントを含むブロ
ックに割り当てられた検索用ポイントを求める(ステッ
プ101)。次に、求めた検索用ポイントが指すブロッ
クを主記憶装置16に読み込む(ステップ102)。デ
ータ検索部18は、読み込んだ生産指示情報の中から検
索キーに該当する生産指示情報を順方向に検索用ポイン
トから出力済ポイントまで検索する(ステップ10
3)。このとき、該当する生産指示情報が複数存在した
場合は、出力済ポイントに近い方を採用する(ステップ
104)。
Normally, the production instruction section 12 stores the production instruction information in the external storage device 2 via the ring buffer control section 20 and outputs it to the output device 8. Here, when it is desired to retrieve and re-output the output production instruction information due to some event, the production instruction re-output unit 14
The operator is made to specify the search key from the terminal device 4. The ring buffer control unit 20 obtains the search points assigned to the block including the output-completed points (step 101). Next, the block indicated by the obtained search point is read into the main storage device 16 (step 102). The data search unit 18 searches the read production instruction information for the production instruction information corresponding to the search key in the forward direction from the search point to the output point (step 10).
3). At this time, when there are a plurality of relevant production instruction information, the one closer to the output point is adopted (step 104).

【0022】ここで、該当する生産指示情報が存在しな
かった場合、データ検索部18は、時系列的に逆方向の
検索用ポイントを指定する。すなわち、今回読み込んだ
検索用ポイントの1つ手前の検索用ポイントを求める
(ステップ105)。なお、今回読み込んだブロックが
外部記憶装置2において先頭の検索用ポイントに該当す
る場合、外部記憶装置2をリングバッファとして取り扱
っているので、この場合における1つ手前の検索用ポイ
ントは外部記憶装置2における最後の検索用ポイントと
なる。1つ手前の検索用ポイントが求まると、その検索
用ポイントが指すブロックを主記憶装置16に読み込む
(ステップ106)。この読み込まれるブロックの最後
の生産指示情報は、前回読み込んだ生産指示情報の直前
の生産指示情報となる。この後は、ステップ103に戻
り、検索キーに該当する生産指示情報が所定の範囲内、
すなわち今回の検索用ポイントから前回の検索用ポイン
トの直前の範囲内に見つかるまでこの検索処理を繰り返
す。
Here, if the corresponding production instruction information does not exist, the data retrieval section 18 designates a retrieval point in the reverse direction in time series. That is, the search point immediately before the search point read this time is obtained (step 105). If the block read this time corresponds to the first search point in the external storage device 2, since the external storage device 2 is handled as a ring buffer, the search point immediately before in this case is the external storage device 2. Is the last search point in. When the previous search point is obtained, the block pointed to by the search point is read into the main storage device 16 (step 106). The last production instruction information of the read block is the production instruction information immediately before the previously read production instruction information. After that, the process returns to step 103, and the production instruction information corresponding to the search key is within the predetermined range,
That is, this search process is repeated until the current search point is found within the range immediately before the previous search point.

【0023】以上の処理を繰り返し検索キーに該当する
生産指示情報が見つかると、生産指示再出力部14は、
その生産指示情報から順に生産指示出力部10を介して
出力装置8に生産指示情報を再出力させる。
When the production instruction information corresponding to the search key is found by repeating the above processing, the production instruction re-outputting section 14
The output device 8 is made to re-output the production instruction information via the production instruction output unit 10 in order from the production instruction information.

【0024】以上のようにして、本実施例によれば、デ
ータ検索装置となるコンピュータ60及び外部記憶装置
2の特性を考慮し、外部記憶装置2を一定のブロック単
位に分割しそのブロック単位毎には逆方向に、各ブロッ
クの中では順方向に検索をするようにしたので、データ
検索をより高速に行うことができる。
As described above, according to this embodiment, the external storage device 2 is divided into fixed block units in consideration of the characteristics of the computer 60 serving as the data search device and the external storage device 2, and each block unit is divided. Since the search is performed in the reverse direction and in the forward direction in each block, the data search can be performed at a higher speed.

【0025】なお、本実施例においては、生産指示情報
を検索する装置として説明したが、これに限らずエラー
ログの指定時刻以降の情報の出力等順編成された情報を
検索する他のシステム、並びに他の分野にも応用できる
ことは言うまでもない。
In this embodiment, the device for retrieving the production instruction information has been described. However, the present invention is not limited to this, and another system for retrieving ordered information such as output of information after a specified time of an error log, Needless to say, it can be applied to other fields.

【0026】[0026]

【発明の効果】本発明によれば、リングバッファ制御手
段は、外部記憶装置を主記憶装置に一度に読み込めるブ
ロック単位に分割してデータを効率よく管理するので、
データ検索装置と外部記憶装置との間の入出力回数を低
減させることが可能となる。
According to the present invention, the ring buffer control means efficiently manages data by dividing the external storage device into blocks that can be read into the main storage device at one time.
It is possible to reduce the number of input / output times between the data search device and the external storage device.

【0027】また、データ検索手段は、そのブロック単
位毎には時系列的に逆方向に、各ブロックの中では順方
向にデータを検索をするようにしたので、データ検索を
より高速に行うことが可能となる。
Further, since the data search means searches the data backward in time series for each block unit, and forward in each block, the data search can be performed faster. Is possible.

【0028】また、本発明に係る構成により、本装置を
利用する再出力を行う処理は単純な処理となり、当該処
理を利用するアプリケーションの開発工数を低減させる
ことが可能となる。
Further, with the configuration according to the present invention, the process of re-outputting using this device is a simple process, and it is possible to reduce the man-hours for developing an application using this process.

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

【図1】本発明に係るデータ検索装置の構成を示した図
である。
FIG. 1 is a diagram showing a configuration of a data search device according to the present invention.

【図2】本実施例におけるリングバッファ制御部のもつ
情報を示した図である。
FIG. 2 is a diagram showing information held by a ring buffer control unit in the present embodiment.

【図3】本実施例におけるリングバッファ制御部のもつ
情報と外部記憶装置の対応関係を示した図である。
FIG. 3 is a diagram showing a correspondence relationship between information held by a ring buffer control unit and an external storage device in this embodiment.

【図4】本実施例における処理の流れを示したフローチ
ャートである。
FIG. 4 is a flowchart showing the flow of processing in this embodiment.

【図5】従来のデータ検索装置を示した図である。FIG. 5 is a diagram showing a conventional data search device.

【図6】外部記憶装置に記憶されたデータの例を示した
図である。
FIG. 6 is a diagram showing an example of data stored in an external storage device.

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

2 外部記憶装置 4 端末装置 6、60 コンピュータ 8 出力装置 10 生産指示出力部 12 生産指示部 14 生産指示再出力部 16 主記憶装置 18 データ検索部 20 リングバッファ制御部 2 external storage device 4 terminal device 6, 60 computer 8 output device 10 production instruction output unit 12 production instruction unit 14 production instruction re-output unit 16 main storage device 18 data retrieval unit 20 ring buffer control unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 データが順次記憶される外部記憶装置に
対してサイクリックにデータの検索処理を行うデータ検
索装置において、 前記外部記憶装置内のデータを主記憶装置に一度に読み
込める単位毎に分割されたブロック毎に設定された検索
用ポイントを管理するリングバッファ制御手段と、 前記主記憶装置に読み込むべきブロックに対応する前記
検索用ポイントを逆方向に指定するデータ検索手段と、 を有することを特徴とするデータ検索装置。
1. A data search device for cyclically searching data in an external storage device in which data is sequentially stored, wherein the data in the external storage device is divided into units that can be read into the main storage device at one time. A ring buffer control means for managing the search points set for each of the selected blocks, and a data search means for designating the search points corresponding to the blocks to be read into the main storage device in the reverse direction. Characteristic data retrieval device.
【請求項2】 リングバッファ状に記憶されたデータを
サイクリックにデータの検索処理を行うデータ検索方法
において、 一度に読み込むことができる単位毎に分割されたブロッ
クのうち、カレントポイントが指すデータを含むブロッ
クを主記憶装置に読み込むステップと、 読み込んだブロック内に検索すべきデータがない場合、
そのブロックの1つ手前のブロックを読み込むステップ
と、 を有することを特徴とするデータ検索方法。
2. A data search method for cyclically searching for data stored in a ring buffer, wherein the data pointed to by the current point among blocks divided into units that can be read at one time is The step of reading the containing block into main memory, and if there is no data to be searched in the read block,
And a step of reading a block immediately before the block, the data retrieval method comprising:
JP6066195A 1994-04-04 1994-04-04 Data retrieving device and its method Pending JPH07282073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6066195A JPH07282073A (en) 1994-04-04 1994-04-04 Data retrieving device and its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6066195A JPH07282073A (en) 1994-04-04 1994-04-04 Data retrieving device and its method

Publications (1)

Publication Number Publication Date
JPH07282073A true JPH07282073A (en) 1995-10-27

Family

ID=13308832

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6066195A Pending JPH07282073A (en) 1994-04-04 1994-04-04 Data retrieving device and its method

Country Status (1)

Country Link
JP (1) JPH07282073A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016001991A1 (en) * 2014-06-30 2016-01-07 株式会社日立製作所 Search method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016001991A1 (en) * 2014-06-30 2016-01-07 株式会社日立製作所 Search method
JPWO2016001991A1 (en) * 2014-06-30 2017-04-27 株式会社日立製作所 retrieval method

Similar Documents

Publication Publication Date Title
JPS62271178A (en) Picture information retrieval system
JPH07282073A (en) Data retrieving device and its method
JPH06282584A (en) Picture information processor
JPH0399380A (en) Method for storing collected data
JPH0728836A (en) Data base retrieving method and data base system using this method
JP2525809B2 (en) Search device
KR20010056528A (en) Data tiling method for retrieving and handling large volume of data
JPH0239225A (en) Filing system
KR920009721B1 (en) Method for processing log file
JPH0642248B2 (en) Information retrieval device
JP2611490B2 (en) System operating environment setting device
JPH03189765A (en) Electronic filing device
JP3069384B2 (en) Document processing apparatus and method
JP2745500B2 (en) String search device
JP3302552B2 (en) Data entry method
JP3398672B2 (en) Intermediate data storage device
JPH0785089A (en) Character processing device
JPH0758979B2 (en) Storage type logical destination data management processing method
JPS6394327A (en) System for offering directory of disk
JPH04359372A (en) Retrieving method for electronic filing device
JPH0357020A (en) System processing program generating device
JPH06230951A (en) Program development supporting device
JPS63141180A (en) Preparing device for circuit diagram with inter-page collating information
JPS60203066A (en) File system of picture information
JP2004227090A (en) Device and program for setting display picture and recording medium

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Effective date: 20031215

Free format text: JAPANESE INTERMEDIATE CODE: A131

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20040315

A602 Written permission of extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A602

Effective date: 20040318

A521 Written amendment

Effective date: 20040615

Free format text: JAPANESE INTERMEDIATE CODE: A523

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050509