JPH07129607A - Database system data communication recording method - Google Patents
Database system data communication recording methodInfo
- Publication number
- JPH07129607A JPH07129607A JP5271439A JP27143993A JPH07129607A JP H07129607 A JPH07129607 A JP H07129607A JP 5271439 A JP5271439 A JP 5271439A JP 27143993 A JP27143993 A JP 27143993A JP H07129607 A JPH07129607 A JP H07129607A
- Authority
- JP
- Japan
- Prior art keywords
- data
- recording
- recording device
- database system
- sub
- 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
Landscapes
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
(57)【要約】
【目的】 データベースシステムのデータ通信記録方法
において、通信コストが安価で、且つ検索速度が速く、
自動的にデータの更新削除を行うことを可能とする。
【構成】 サーバ、クライアント型のデータベースシス
テムにおいて、検索端末に n個の領域に分割された副記
録装置を設け、記録領域割当装置で制御することにより
通信コストを安価にする等の効果を有するデータベース
システムを提供する。
(57) [Abstract] [Purpose] In the data communication recording method of the database system, the communication cost is low, and the search speed is high.
It is possible to automatically update and delete data. [Structure] In a server / client type database system, a search terminal is provided with a sub-recording device divided into n areas, and a database that has the effect of reducing communication costs by controlling with a recording area allocation device Provide the system.
Description
【0001】[0001]
【産業上の利用分野】本発明は、通信回線を介したサー
バ、クライアント型のデータベースシステムのデータ通
信記録方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a server / client type database system data communication recording method via a communication line.
【0002】[0002]
【従来の技術】サーバ、クライアント型の画像データベ
ースシステムでは、データをサーバが一元管理(記録)
し、検索端末の要求に応じて、該当する画像データを送
信し、端末側のモニタで表示する方式が一般的である。
これらのサーバや複数の検索端末が同一事業所内で、例
えばEthernet 又はIEEE8.0.2.3で接続され
た状態であれば、通信効率(速度)が低下することを除
いて運用に支障がないが、検索端末が遠隔地に設置され
ている場合は、例えばISDN回線を介して大容量の画
像データの送受信が頻繁になされるので、通信コストの
増大を招く、回線がつながらない等の欠点があった。そ
こで、遠隔地側の端末にも記録装置を設け、サーバのデ
ータの一部を記録しておく手段が考えられ、先行技術と
して特開昭63−54670、特開平4−283866
等があり、端末側にサーバと同一の記録装置を設け、イ
ンデックスのみで検索を行い、実際のデータは端末側の
記録装置から得るようにしている。2. Description of the Related Art In a server / client type image database system, the server centrally manages (records) data.
However, a general method is to transmit the corresponding image data in response to a request from the search terminal and display it on the monitor on the terminal side.
If these servers and multiple search terminals are connected within the same business site, for example, Ethernet or IEEE8.0.2.3, there is no hindrance to operation except that communication efficiency (speed) decreases. However, when the search terminal is installed in a remote place, large amount of image data is frequently transmitted and received via the ISDN line, which causes drawbacks such as increase in communication cost and disconnection of the line. It was Therefore, it is conceivable to provide a recording device also on the terminal on the remote side so as to record a part of the data of the server. As a prior art, JP-A-63-54670 and JP-A-4-283866 are available.
Therefore, the same recording device as the server is provided on the terminal side, only the index is searched for, and the actual data is obtained from the recording device on the terminal side.
【0003】[0003]
【発明が解決しようとする課題】しかしながら、前記従
来の遠隔地側の端末にも記録装置を設け、サーバのデー
タの一部を記録しておく方法においては、何を一部とし
て記録するか、どの時点でそのデータを削除するのか、
という問題や、不用意に記録したのではかえって検索時
間が遅くなる等の問題点があった。However, in the conventional method of recording a part of the data of the server by providing a recording device also on the remote side terminal, what is recorded as a part, At what point you want to delete that data,
However, there was a problem that the search time would rather be delayed if carelessly recorded.
【0004】又、前記先行技術についても、速度は向上
するが、サーバと同一のデータを持つため、データ量に
無駄があるという問題点がある。Also, in the above-mentioned prior art, although the speed is improved, there is a problem that the data amount is wasted because it has the same data as the server.
【0005】更に前記先行技術どちらについても、削除
する仕組については触れておらず、結局本願発明者が提
案しているような効率の良いデータ記録方法が、従来存
在しなかった。Further, neither of the above-mentioned prior arts mentions the erasing mechanism, and there has been no efficient data recording method proposed by the inventor of the present application.
【0006】本発明は、前記従来の問題点を解決するべ
くなされたもので、通信コストが安価で且つ検索速度が
速く、自動的にデータの更新削除の行うことのできるデ
ータベースシステムのデータ通信記録方法を提供するこ
とを目的とする。The present invention has been made to solve the above-mentioned conventional problems, and is a data communication record of a database system that has a low communication cost, a high search speed, and can automatically update and delete data. The purpose is to provide a method.
【0007】[0007]
【課題を解決するための手段】本発明は、複数のデータ
を記録する主記録装置と、該主記録装置に通信回線を介
して接続された1つ以上の検索端末を有するデータベー
スシステムのデータ通信記録方法において、前記検索端
末に、前記主記録装置より容量の小さい副記録装置と、
記録領域割当装置を備え、前記副記録装置を n個の領域
に分割すると共に、前記記録領域割当装置が指し示す領
域に従って、受信済データの書込み、読出し、削除を行
うようにしたことにより前記目的を達成したものであ
る。SUMMARY OF THE INVENTION The present invention is a data communication of a database system having a main recording device for recording a plurality of data and one or more search terminals connected to the main recording device via a communication line. In the recording method, in the search terminal, a sub recording device having a smaller capacity than the main recording device,
By providing a recording area allocating device, dividing the sub recording device into n areas, and writing, reading, and deleting the received data in accordance with the area indicated by the recording area allocating device, It has been achieved.
【0008】本発明は又、前記受信済データのうち、時
間的に最も古く書込んだ領域にあるものから削除し、最
も新しく書込んだ領域にあるものから検索するようにし
たことにより同様に前記目的を達成したものである。According to the present invention, the received data is deleted from the oldest written area in time and the newest written area is searched. The above object is achieved.
【0009】[0009]
【作用】検索端末側に主記録装置より少ない容量の副記
録装置を設け、一度回線から受信したデータを遠隔地端
末側に記録して通信コストを削減するようにした記録方
法において、 (1)不用意に記録したのでは検索時間が遅くなる (2)少ない容量が満杯になったときにどのように削除
するか の2点が重要な問題となるが、本発明者は、この点に着
目して、本提案をなすものである。In the recording method, the sub-recording device having a capacity smaller than that of the main recording device is provided on the search terminal side, and the data once received from the line is recorded on the remote terminal side to reduce the communication cost. Careless recording will slow down the search time. (2) Two important issues are how to delete when the small capacity is full. The inventor pays attention to this point. And make this proposal.
【0010】即ち、本発明によれば、通信回線を介して
主記録装置と検索端末が接続されたデータベースシステ
ムにおいて、遠隔地にある検索端末それぞれに主記録装
置より少ない容量の副記録装置を設け、更にそれを n個
の領域に分割し、一度主記録装置から受信したデータ
は、前記いずれかの領域に記録し、次回検索が発生した
場合、まず副記録装置から先に検索し、存在しなかった
データのみを通信回線を介して、主記録装置から受信す
るようにしたので、通信コストを削減し、同時にトラフ
ィックを低下させ、回線をつながり易くすることができ
るようになる。That is, according to the present invention, in a database system in which a main recording device and a search terminal are connected via a communication line, a sub recording device having a capacity smaller than that of the main recording device is provided for each search terminal at a remote place. , It is further divided into n areas, and the data once received from the main recording device is recorded in one of the above areas, and when the next search occurs, the sub recording device is searched first and the data exists. Since only the missing data is received from the main recording device via the communication line, the communication cost can be reduced, the traffic can be reduced at the same time, and the line can be easily connected.
【0011】又、 n個の領域を管理するための記録領域
割当装置を設け、該記録領域割当装置の指示により、前
記副記録装置に書込み(領域が満杯の状態であれば削除
してから書込む)、あるいは検索を行うようにしたもの
である。Further, a recording area allocating device for managing n areas is provided, and writing to the sub-recording device (in case the area is full is deleted before writing is performed according to an instruction of the recording area allocating device). )), Or to search.
【0012】又、時間的に最も古く書込んだ領域にある
ものから削除するようにすれば、副記録装置が満杯にな
っても最も古い領域(データ)から順に自動的に削除さ
れ、最新の n領域分のデータが常に保持される。If the oldest written area is deleted first, the oldest area (data) is automatically deleted in order even if the sub-recording device is full, and the newest area is deleted. Data for n areas is always retained.
【0013】又、検索する場合には新に記録された分割
領域から順に検索するようにすれば検索速度が速くな
る。Further, in the case of searching, the searching speed can be increased by searching sequentially from the newly recorded divided areas.
【0014】[0014]
【実施例】以下図面を参照して、本発明の実施例を詳細
に説明する。Embodiments of the present invention will now be described in detail with reference to the drawings.
【0015】図1は、画像データベースシステムの全体
の概要を示す構成図である。FIG. 1 is a block diagram showing an outline of the entire image database system.
【0016】図1において、1はサーバであり、ワーク
ステーション等により構成される。2は主記録装置であ
り、キャラクタのデータベース(レコードの中に画像フ
ァイル名が格納されている)と、画像データが記録され
ている。画像データはスキャナ、ハイビジョンカメラ等
あらゆる入力が考えられるが、ここでは320×240
ピクセルのフルカラー画像役230キロバイト(以下K
B)がJPEG方式で約1/20程度に圧縮されて格納
されている。従って主記録装置2が2ギガバイト(以下
GB)程度のハードディスク(以下HDと略す)であれ
ば10万件以上の画像データが記録できる。In FIG. 1, reference numeral 1 is a server, which is composed of a workstation or the like. A main recording device 2 stores a character database (image file names are stored in records) and image data. Image data can be input from a scanner, high-definition camera, etc., but here 320 × 240.
230 Kbytes of pixel full-color image (K
B) is compressed and stored to about 1/20 according to the JPEG method. Therefore, if the main recording device 2 is a hard disk (hereinafter abbreviated as HD) of about 2 gigabytes (hereinafter GB), 100,000 or more image data can be recorded.
【0017】3は通信回線であり、ここでは検索端末が
遠隔地に置かれているのでISDNのINSネット64
を使用している。圧縮された画像データは約12KBあ
るので、64Kbps の回線で送受信した場合、実際のデ
ータ転送時間だけでも1件当り最低限1.5秒必要であ
る(現実的にはこれ以上の時間を要する)。Reference numeral 3 is a communication line. Since the search terminal is located at a remote place here, the ISDN INS net 64 is provided.
Are using. Compressed image data is about 12KB, so when sending and receiving over a 64Kbps line, at least 1.5 seconds is required for each actual data transfer (actually, more time is required). .
【0018】4は検索端末で通常パソコンにより構成さ
れる。5はこのパソコンに接続された副記録装置で40
0メガバイト(以下MB)程度のやはりHDを使用して
いる。4と5の組合せが、他の遠隔地に複数あることを
点線内で示している。Reference numeral 4 is a search terminal, which is usually composed of a personal computer. 5 is a sub recording device connected to this personal computer.
HD of about 0 megabyte (hereinafter referred to as MB) is also used. A plurality of combinations of 4 and 5 are shown in other dotted lines in a dotted line.
【0019】図2は、この点線内のシステムのシステム
構成を示すブロック線図である。FIG. 2 is a block diagram showing the system configuration of the system within the dotted line.
【0020】図2において、3は通信回線、5は副記録
装置、6は制御装置でパソコンのCPUを示す。7はフ
ルカラーを表示できる表示装置である。8は通信制御装
置、9は記録領域割当装置、10はシステムバスであ
る。In FIG. 2, 3 is a communication line, 5 is a sub-recording device, and 6 is a control device which is a CPU of a personal computer. Reference numeral 7 is a display device capable of displaying full color. Reference numeral 8 is a communication control device, 9 is a recording area allocation device, and 10 is a system bus.
【0021】検索に該当する画像データのファイル名が
得られた場合、本システムでは直接サーバ1と主記録装
置2にアクセスしに行くのではなく、一旦5の副記録装
置を検索し、存在しなかった場合に8の通信制御装置
(一般に市販されているISDN用ボード)を介して通
信回線3から画像データを受信し、制御装置6で画像を
伸張して表示装置7でフルカラー表示を行い、更に副記
録装置5に書込むようにしている。When the file name of the image data corresponding to the search is obtained, the present system does not directly access the server 1 and the main recording device 2, but searches the sub-recording device 5 once and exists. If not, the image data is received from the communication line 3 via the communication control device 8 (generally available ISDN board), the control device 6 expands the image, and the display device 7 performs full-color display. Further, writing is performed in the sub recording device 5.
【0022】図3は、副記録装置5をイメージ図で示し
たものであり、本実施例では n=7で8個のパーティシ
ョンに区切られた各50MB程度のHDを示している。FIG. 3 is an image diagram of the sub-recording device 5, and in the present embodiment, each 50 MB HD is divided into eight partitions with n = 7.
【0023】又、図4は記録領域割当装置9を示してお
り、5a は既に受信済みで満杯(フル)の領域、5b は
現在使用中(これから書込む)領域で、このポインタと
して13のテンポラリレジスタn を使用する。Further, FIG. 4 shows the recording area allocating device 9, 5a is an area which has already been received and is full, and 5b is an area which is currently in use (writing is to be performed). Use register n.
【0024】それ以外に14の検索用レジスタRと15
の書込み用レジスタWによって構成されるが、これらは
ソフトウエアで実現している。Besides, 14 search registers R and 15
The write register W of FIG. 1 is implemented by software.
【0025】図5は、検索端末と記録領域割当装置の動
作を示すフローチャートである。Wレジスタ15がイン
クリメントしながら、Rレジスタ14はデクリメントし
ながらサイクリックに動作するので、書込み、検索(読
出し)、削除すべき領域が完全に割当てられている。FIG. 5 is a flowchart showing the operations of the search terminal and the recording area allocation device. Since the W register 15 increments and the R register 14 cyclically operates while decrementing, the areas to be written, searched (read), and deleted are completely allocated.
【0026】以下この動作を詳しく説明する。This operation will be described in detail below.
【0027】図5のステップ100においてファイル名
を入手すると、ステップ102でRレジスタ14にn を
入れ、ステップ104でRレジスタの示す領域(簡単に
R領域と呼ぶ)を検索する。ステップ106においてフ
ァイル無しと判定されたら、ステップ108へ進みRレ
ジスタ14を1デクリメントする。ステップ110でR
が0より小ならば、次のステップ112でRに7を入
れ、Rが0より小でなければ、Rの値はそのままとし、
ステップ114で、R=n かどうか判断する。When the file name is obtained in step 100 of FIG. 5, n is entered in the R register 14 in step 102, and the area indicated by the R register (simply called the R area) is searched in step 104. If it is determined in step 106 that there is no file, the process proceeds to step 108 and the R register 14 is decremented by 1. R in step 110
Is less than 0, 7 is put into R in the next step 112, and if R is not less than 0, the value of R is left unchanged,
In step 114, it is determined whether R = n.
【0028】R=n でなければ、ステップ104へ戻
り、R=n ならば、次のステップ116へ進み、該当フ
ァイルを受信し、ステップ118でWレジスタ15にn
を入れる。If R = n is not satisfied, the process returns to step 104. If R = n, the process proceeds to the next step 116 to receive the corresponding file, and at step 118, the W register 15 is updated to n.
Put in.
【0029】ステップ120で容量フルかどうか判断
し、フルならば次のステップ122でWレジスタ15を
1インクリメントする。ステップ124でWが7より大
ならば、ステップ126でWに0を入れ、7のより大で
なければWはそのままとし、ステップ128の判定で容
量フルならば、ステップ130でW領域を削除し、ステ
ップ132においてデータの書込みを行う。In step 120, it is judged whether or not the capacity is full. If the capacity is full, the W register 15 is incremented by 1 in the next step 122. If W is greater than 7 in step 124, W is set to 0 in step 126, and if W is not greater than 7, W is left as it is. If it is determined in step 128 that the capacity is full, the W area is deleted in step 130. In step 132, data writing is performed.
【0030】又、ステップ120の判断で、容量フルで
なければやはり、ステップ132においてデータ書込み
を行う。最後にステップ134で画像データを表示して
終了する。If it is determined in step 120 that the capacity is not full, data writing is performed in step 132. Finally, in step 134, the image data is displayed and the process ends.
【0031】一方、ステップ106でファイルありと判
定された場合は、ステップ136でデータを読出して、
ステップ134で画像データ表示を行い終了する。On the other hand, if it is determined in step 106 that a file exists, the data is read in step 136,
In step 134, the image data is displayed and the process ends.
【0032】上述したように、本実施例によれば、副記
録装置には、1度受信済みの最新データが記録されてい
るので、一般的に検索の際のヒット率が高くなる。As described above, according to this embodiment, since the latest data that has been received once is recorded in the sub-recording device, the hit rate at the time of retrieval is generally high.
【0033】[0033]
【発明の効果】以上説明したとおり、本発明によれば、
遠隔地にある検索端末に、主記録装置より小さい容量の
n個の領域に分割された副記録装置を設け、これを記録
領域割当装置で、順に記録、検索、削除するようにした
ので、通信コストが安価になるという効果を有する。As described above, according to the present invention,
A search terminal at a remote location has a smaller capacity than the main recording device.
Since the sub-recording device divided into n areas is provided and the recording area allocating device sequentially records, searches, and deletes the data, the communication cost can be reduced.
【0034】更に、時間的に最も古く書込んだ領域にあ
るものから削除し、最も新しく書込んだ領域にあるもの
から検索するようにすれば、検索速度が速い、自動的に
古いデータが削除される等の効果も有する。Further, by deleting from the oldest written area in time and searching from the newest written area, the retrieval speed is fast and old data is automatically deleted. There are also effects such as being done.
【図1】本実施例の画像データベースシステムの全体を
表す構成図FIG. 1 is a block diagram showing the entire image database system of this embodiment.
【図2】本実施例による検索端末と副記録装置の構成を
示すブロック線図FIG. 2 is a block diagram showing a configuration of a search terminal and a sub-recording device according to this embodiment.
【図3】n領域に分割された副記録装置の説明図FIG. 3 is an explanatory diagram of a sub-recording device divided into n areas.
【図4】本実施例の記録領域割当装置の構成を示す説明
図FIG. 4 is an explanatory diagram showing a configuration of a recording area allocation device according to the present embodiment.
【図5】本実施例による検索端末と記録領域割当装置の
動作を示すフローチャートFIG. 5 is a flowchart showing the operations of the search terminal and the recording area allocation device according to this embodiment.
1…サーバ 2…主記録装置 4…検索端末 5…副記録装置 9…記録領域割当装置 DESCRIPTION OF SYMBOLS 1 ... Server 2 ... Main recording device 4 ... Search terminal 5 ... Sub recording device 9 ... Recording area allocation device
Claims (2)
主記録装置に通信回線を介して接続された1つ以上の検
索端末を有するデータベースシステムのデータ通信記録
方法において、 前記検索端末に、前記主記録装置より容量の小さい副記
録装置と、記録領域割当装置を備え、 前記副記録装置を n個の領域に分割すると共に、前記記
録領域割当装置が指し示す領域に従って、受信済データ
の書込み、読出し、削除を行うようにしたことを特徴と
するデータベースシステムのデータ通信記録方法。1. A data communication recording method for a database system, comprising: a main recording device for recording a plurality of data; and one or more search terminals connected to the main recording device via a communication line. A sub-recording device having a smaller capacity than the main recording device, and a recording area allocation device, dividing the sub-recording device into n areas, and writing received data according to the area indicated by the recording area allocation device. , A data communication recording method for a database system, characterized in that the data is read and deleted.
ち、時間的に最も古く書込んだ領域にあるものから削除
し、最も新しく書込んだ領域にあるものから検索するよ
うにしたことを特徴とするデータベースシステムのデー
タ通信記録方法。2. The method according to claim 1, wherein among the received data, the data in the area written earliest in time is deleted, and the data in the area written most recently is searched. A data communication recording method of a characteristic database system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5271439A JPH07129607A (en) | 1993-10-29 | 1993-10-29 | Database system data communication recording method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5271439A JPH07129607A (en) | 1993-10-29 | 1993-10-29 | Database system data communication recording method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH07129607A true JPH07129607A (en) | 1995-05-19 |
Family
ID=17500043
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5271439A Pending JPH07129607A (en) | 1993-10-29 | 1993-10-29 | Database system data communication recording method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07129607A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101870085B1 (en) * | 2017-07-17 | 2018-06-21 | 배수효 | System for production of a forgery garbage bag |
-
1993
- 1993-10-29 JP JP5271439A patent/JPH07129607A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101870085B1 (en) * | 2017-07-17 | 2018-06-21 | 배수효 | System for production of a forgery garbage bag |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4186438A (en) | Interactive enquiry system | |
| EP1498809B1 (en) | Storage system and data transfer method for the system | |
| US20080288564A1 (en) | Method and system for creating snapshots by condition | |
| JPH0962558A (en) | Method and system for database management | |
| US6532513B1 (en) | Information recording and reproduction apparatus | |
| CN111796772A (en) | Cache management method, cache node and distributed storage system | |
| JPH04313126A (en) | File input/output system for decentralized file system | |
| JPH07239808A (en) | Distributed data management method | |
| JPH07129607A (en) | Database system data communication recording method | |
| JP2985385B2 (en) | Image data retrieval system | |
| JPS63289657A (en) | Common file access system | |
| JP2002511170A (en) | Network object cache engine | |
| JPH10214217A (en) | Network cache device and network cache method | |
| JP3441028B2 (en) | Multimedia terminal | |
| JP2008181381A (en) | Semiconductor memory card, semiconductor memory card data management method, database engine, and semiconductor memory system | |
| JP2007334752A (en) | RAID device, RAID control program, and cache management method | |
| JPH1198448A (en) | Video server device and access processing method therefor | |
| JPH07129606A (en) | Database system data recording method | |
| JPS58114149A (en) | Electronic filing system | |
| JP2912657B2 (en) | File access processor | |
| JPH04302038A (en) | File system | |
| JP2953933B2 (en) | Multi-step database creation method for received messages in network management system | |
| JP3639704B2 (en) | Document processing apparatus and recording medium | |
| JP3399765B2 (en) | Method and apparatus for storing and holding character data | |
| JPH1011375A (en) | Document information management system |