JPH07230404A - High-speed data access system of network connection system - Google Patents
High-speed data access system of network connection systemInfo
- Publication number
- JPH07230404A JPH07230404A JP6021727A JP2172794A JPH07230404A JP H07230404 A JPH07230404 A JP H07230404A JP 6021727 A JP6021727 A JP 6021727A JP 2172794 A JP2172794 A JP 2172794A JP H07230404 A JPH07230404 A JP H07230404A
- Authority
- JP
- Japan
- Prior art keywords
- data
- communication
- control means
- host computer
- computer
- 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
- 238000004891 communication Methods 0.000 claims abstract description 62
- 238000013500 data storage Methods 0.000 claims abstract description 16
- 230000005540 biological transmission Effects 0.000 claims description 23
- 238000000034 method Methods 0.000 claims description 18
- 238000012545 processing Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 1
- 238000007430 reference method Methods 0.000 description 1
Landscapes
- Computer And Data Communications (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明はネットワーク接続システ
ムの高速データベースアクセス方式に関し、特に通信回
線で接続されたコンピュータシステムのデータベースを
アクセスする場合のデータの連続参照を行うネットワー
ク接続システムの高速データベースアクセス方式に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a high-speed database access method for a network connection system, and more particularly to a high-speed database access method for a network connection system that continuously refers to data when accessing a database of a computer system connected by a communication line. Regarding
【0002】[0002]
【従来の技術】従来、通信回線で接続されたコンピュー
タシステムのデータベースをアクセスする場合、1命令
に対し1回の送信と受信を行っていた。その結果、指定
した条件を満たす大量データを参照する場合も、条件指
定命令により作られた部分集合を、データ参照命令によ
り1件ずつ読むたびに通信処理が発生し、(参照件数×
2)回の通信を行っていた。2. Description of the Related Art Conventionally, when accessing a database of a computer system connected by a communication line, transmission and reception were performed once for each command. As a result, even when a large amount of data satisfying the specified condition is referred to, communication processing occurs each time the subset created by the condition specification command is read by the data reference command, (the number of references x
2) was communicating once.
【0003】[0003]
【発明が解決しようとする課題】上述した従来のデータ
参照方式は、1命令毎にデータの送受信を行っているの
で、大量のデータを連続して参照する場合も、通信回数
も比例して増加し、時間がかかるという欠点がある。In the above-mentioned conventional data reference method, data is transmitted / received for each instruction. Therefore, even when a large amount of data is continuously referred, the number of communications increases proportionally. However, there is a drawback that it takes time.
【0004】[0004]
【課題を解決するための手段】本発明のネットワーク接
続システムの高速データベースアクセス方式は、ホスト
コンピュータと端末コンピュータ間でデータの送受信を
行う通信手段と、端末コンピュータ上で、入力装置から
発行されたデータベースアクセス命令の種類を判別し、
通信データを組み立てる送信データ制御手段と、ホスト
コンピュータより受信したデータをデータ格納テーブル
に格納し、そのテーブルから1件分のデータを取り出し
返却する受信データ制御手段と、ホストコンピュータ上
で、通信データを受け取り、それを端末コンピュータか
らの参照命令に分解する受信データ制御手段と、端末コ
ンピュータからの参照命令をデータベースアクセス命令
に変換し、データベースのアクセスを行うデータベース
アクセス手段と、データベースアクセス手段より受け取
ったデータを1件ずつデータ格納テーブルに格納し、最
後まで格納したら通信データを組み立てる送信データ制
御手段を有する。A high-speed database access method for a network connection system according to the present invention is a communication means for transmitting and receiving data between a host computer and a terminal computer, and a database issued from an input device on the terminal computer. Determine the type of access command,
Transmission data control means for assembling communication data, reception data control means for storing data received from the host computer in a data storage table, and taking out and returning one data item from the table, and communication data on the host computer Received data control means for receiving and decomposing it into a reference instruction from the terminal computer, database access means for converting the reference instruction from the terminal computer into a database access instruction and accessing the database, and data received from the database access means Is stored in the data storage table one by one, and the transmission data control means for assembling communication data is stored when the data is stored to the end.
【0005】[0005]
【実施例】次に、本発明の実施例について図面を参照し
て説明する。Embodiments of the present invention will now be described with reference to the drawings.
【0006】図1は本発明のネットワーク接続システム
の高速データベースアクセス方式の一実施例を示す構成
図である。FIG. 1 is a block diagram showing an embodiment of a high speed database access system of a network connection system of the present invention.
【0007】本実施例のネットワーク接続システムの高
速データベースアクセス方式は、図1に示すように、端
末コンピュータ20上の通信手段21、送信データ制御
手段22、受信データ制御手段23、ホストコンピュー
タ10上のデータベースアクセス手段11、受信データ
制御手段12、送信データ制御手段13、通信手段14
から構成される。As shown in FIG. 1, the high-speed database access method of the network connection system of this embodiment is such that the communication means 21, the transmission data control means 22, the reception data control means 23 on the terminal computer 20 and the host computer 10 are operated. Database access means 11, reception data control means 12, transmission data control means 13, communication means 14
Composed of.
【0008】図2は本実施例のネットワーク接続システ
ムの高速データベースアクセス方式における処理の一例
を示す流れ図である。動作について図1と図2を参照し
て説明する。FIG. 2 is a flow chart showing an example of processing in the high speed database access method of the network connection system of this embodiment. The operation will be described with reference to FIGS. 1 and 2.
【0009】ある条件を満たすデータを参照する場合、
通常、条件指定命令により作られた部分集合を、データ
参照命令により1件ずつ読み込む処理を行う。まず、条
件指定処理について以下に説明する。When referring to data satisfying a certain condition,
Normally, a process of reading a subset created by a condition specification command one by one by a data reference command is performed. First, the condition designation process will be described below.
【0010】端末コンピュータ20上の送信データ制御
手段22は、入力装置2から発行された命令の種類を判
別する。条件指定命令であった場合、送信データ制御手
段22は、通信データを組み立てて、通信手段21に渡
す。通信データは、通信手段21により、ホストコンピ
ュータ10に送られる。The transmission data control means 22 on the terminal computer 20 determines the type of command issued from the input device 2. If it is a condition designation command, the transmission data control means 22 assembles communication data and passes it to the communication means 21. The communication data is sent to the host computer 10 by the communication means 21.
【0011】ホストコンピュータ10では、通信データ
を通信手段14により受け取る。通信手段14より、通
信データを受けとった受信データ制御手段12は、通信
データより条件指定命令に分解し、データベースアクセ
ス手段11に渡す。データベースアクセス手段11は、
端末コンピュータ20からの条件指定命令をデータベー
スアクセス命令に変換し、データベース1のアクセスを
行い部分集合を作成すると共に、条件を満たすデータ長
とデータ件数を得る(ステップ31)。In the host computer 10, the communication data is received by the communication means 14. The reception data control means 12, which has received the communication data from the communication means 14, decomposes the communication data into a condition designating instruction and passes it to the database access means 11. The database access means 11 is
The condition designation command from the terminal computer 20 is converted into a database access command, the database 1 is accessed to create a subset, and the data length and the number of data items satisfying the conditions are obtained (step 31).
【0012】送信データ制御手段13は、データベース
アクセス手段11よりデータ長とデータ件数を受け取る
と、通信データに組み立て、通信手段14により、端末
コンピュータ20に転送される。端末コンピュータ20
の通信手段21から受け取ったデータは、受信データ制
御手段23により出力装置3に返却される(ステップ3
2)。通常全件データを得るため、入力装置2よりこの
データ件数分のデータ参照命令が発行される。When the transmission data control means 13 receives the data length and the number of data from the database access means 11, the transmission data control means 13 assembles the data into communication data, and the communication data 14 is transferred to the terminal computer 20. Terminal computer 20
The data received from the communication means 21 is returned to the output device 3 by the reception data control means 23 (step 3).
2). Normally, in order to obtain all data, the data reference command for this number of data is issued from the input device 2.
【0013】次に、データ参照処理について説明する。Next, the data reference process will be described.
【0014】端末コンピュータ20上の送信データ制御
手段22は、入力装置2から発行されたデータベースア
クセス命令が、最初の連続データ参照命令かどうか判断
する。最初の連続データ参照命令であった場合、通信デ
ータを組み立て、通信手段21に渡す。通信データは、
通信手段21により、ホストコンピュータ10に送られ
る(ステップ33)。The transmission data control means 22 on the terminal computer 20 determines whether the database access command issued from the input device 2 is the first continuous data reference command. If it is the first continuous data reference command, the communication data is assembled and passed to the communication means 21. The communication data is
It is sent to the host computer 10 by the communication means 21 (step 33).
【0015】ホストコンピュータ10では、通信データ
を通信手段14により受け取る。通信手段14より、通
信データを受けとった受信データ制御手段12は、通信
データより連続データ参照命令であるという情報を読み
取り、データ参照命令をデータベースアクセス手段11
に渡す。データベースアクセス手段11は、端末コンピ
ュータ20からの参照命令をデータベースアクセス命令
に変換し、データベース1のアクセスを行うことによ
り、1件のデータを得て、そのデータを送信データ制御
手段13に渡す。In the host computer 10, the communication data is received by the communication means 14. The reception data control means 12, which has received the communication data from the communication means 14, reads the information indicating that it is a continuous data reference instruction from the communication data, and issues the data reference instruction to the database access means 11.
Pass to. The database access unit 11 converts a reference command from the terminal computer 20 into a database access command, accesses the database 1, obtains one data item, and transfers the data item to the transmission data control unit 13.
【0016】送信データ制御手段13は、受け取ったデ
ータをデータ格納テーブル15に格納後、更に、次のデ
ータを得るために、データベースアクセス手段11に参
照命令を渡す。データベースアクセス手段11から受け
取ったデータは続けてデータ格納テーブルに格納され
る。以上の処理をデータ格納テーブルに空きがなくなる
か、最終データを格納するまで、繰り返す(ステップ3
4)。The transmission data control means 13 stores the received data in the data storage table 15, and then passes a reference command to the database access means 11 to obtain the next data. The data received from the database access means 11 is continuously stored in the data storage table. The above process is repeated until the data storage table is full or the final data is stored (step 3).
4).
【0017】データ格納テーブル15が一杯になった
ら、送信データ制御手段13がそれを通信データとして
組み立て、通信手段14に渡す。通信手段14は、端末
コンピュータ20に通信データを送信する(ステップ3
5)。When the data storage table 15 is full, the transmission data control means 13 assembles it as communication data and passes it to the communication means 14. The communication means 14 transmits communication data to the terminal computer 20 (step 3).
5).
【0018】また、送信データ制御手段13は、通信手
段14に通信データを渡すと同時に、データベースアク
セス手段11に参照命令を渡す。その後、ステップ34
の処理と同様の処理を繰り返す(ステップ36)。Further, the transmission data control means 13 passes the communication data to the communication means 14 and at the same time passes the reference command to the database access means 11. Then step 34
The same processing as the above processing is repeated (step 36).
【0019】一方、端末コンピュータ20では、通信手
段21より通信データを受け取った受信データ制御手段
23は、通信データを分解し、参照データのみをデータ
格納テーブル24に格納する。受信データ制御手段23
は、データ格納テーブル24から1件分のデータを取り
出し、出力する(ステップ37)。On the other hand, in the terminal computer 20, the reception data control means 23, which has received the communication data from the communication means 21, decomposes the communication data and stores only the reference data in the data storage table 24. Reception data control means 23
Extracts one data from the data storage table 24 and outputs it (step 37).
【0020】送信データ制御手段22は、入力装置2か
ら受け取った命令が次の参照命令ならば、受信データ制
御手段23に命令を渡す。受信データ制御手段23は、
データ格納テーブル24から次の1件分のデータを取り
出し、出力する。この処理をデータ格納テーブル24の
データがなくなるまで繰り返す(ステップ38)。When the command received from the input device 2 is the next reference command, the transmission data control means 22 passes the command to the reception data control means 23. The reception data control means 23
The next data of one case is taken out from the data storage table 24 and output. This process is repeated until there is no data in the data storage table 24 (step 38).
【0021】受信データ制御手段23は、データ格納テ
ーブル24のデータがなくなると、次の通信データ受信
の要求を通信手段21に対して行い、受信データをデー
タ格納テーブル24に格納する。その後、全件のデータ
を出力するまで、ステップ38と同様の処理を繰り返す
(ステップ39)。When there is no more data in the data storage table 24, the reception data control means 23 requests the communication means 21 to receive the next communication data and stores the reception data in the data storage table 24. After that, the same process as step 38 is repeated until all the data are output (step 39).
【0022】以上、ホストコンピュータ10から条件を
満たすデータを全件得るまでの処理について、説明し
た。The processing up to obtaining all the data satisfying the conditions from the host computer 10 has been described above.
【0023】最後に、データ受信の中断処理について説
明する。図3は本実施例のネットワーク接続システムの
高速データベースアクセス方式におけるデータ参照命令
を中断する場合の処理の一例を示す流れ図である。Finally, the process of interrupting data reception will be described. FIG. 3 is a flow chart showing an example of processing in the case of interrupting a data reference instruction in the high speed database access method of the network connection system of the present embodiment.
【0024】全件のデータを出力する前に、入力装置2
から参照命令以外の命令を受けとると、送信データ制御
手段22は通信手段21に受信キャンセル要求を行い
(ステップ41)、その命令を通信データとして組み立
て、通信手段21に渡す(ステップ42)。Before outputting all data, the input device 2
When the command other than the reference command is received from the transmission data control unit 22, the transmission data control unit 22 makes a reception cancel request to the communication unit 21 (step 41), assembles the command as communication data, and passes it to the communication unit 21 (step 42).
【0025】一方、ホストコンピュータ10で、受信キ
ャンセル要求を受け取った通信手段14は、送信データ
制御手段13の通信データ送信要求をキャンセルする
(ステップ43)。キャンセル要求を受け取った送信デ
ータ制御手段13は、データ格納テーブル15の残りの
データを廃棄し、受信データ制御手段12にキャンセル
を行ったという情報を伝える(ステップ44)。On the other hand, in the host computer 10, the communication means 14 having received the reception cancel request cancels the communication data transmission request of the transmission data control means 13 (step 43). The transmission data control means 13 that has received the cancellation request discards the remaining data in the data storage table 15 and notifies the reception data control means 12 of the information that the cancellation has been performed (step 44).
【0026】その後、受信データ制御手段12は、端末
コンピュータ20からの通信データを受信する(ステッ
プ45)。Thereafter, the reception data control means 12 receives the communication data from the terminal computer 20 (step 45).
【0027】[0027]
【発明の効果】以上説明したように、本発明のネットワ
ーク接続システムの高速データベースアクセス方式は、
連続参照命令が発行された場合、ホストコンピュータ上
でデータ参照を連続して行い、その結果をまとめて転送
すると同時に、次の参照命令を実行することにより、通
信回数の大幅な削減と並列処理による待時間短縮が図ら
れ、データ参照を高速に行うことができ、特に、条件を
満たす大量のデータを全件参照する場合に効果がある。As described above, the high-speed database access method of the network connection system of the present invention is
When a continuous reference command is issued, data is continuously referenced on the host computer, the results are collectively transferred, and at the same time the next reference command is executed, resulting in a significant reduction in the number of communications and parallel processing. The waiting time can be shortened, data can be referred to at high speed, and it is particularly effective when referring to a large amount of data satisfying all conditions.
【図1】本発明のネットワーク接続システムの高速デー
タベースアクセス方式の一実施例を示す構成図である。FIG. 1 is a configuration diagram showing an embodiment of a high-speed database access method of a network connection system of the present invention.
【図2】本実施例のネットワーク接続システムの高速デ
ータベースアクセス方式における処理の一例を示す流れ
図である。FIG. 2 is a flowchart showing an example of processing in the high-speed database access method of the network connection system according to the present embodiment.
【図3】本実施例のネットワーク接続システムの高速デ
ータベースアクセス方式におけるデータ参照命令を中断
する場合の処理の一例を示す流れ図である。FIG. 3 is a flowchart showing an example of processing when a data reference instruction is interrupted in the high-speed database access method of the network connection system according to the present embodiment.
1 データベース 2 入力装置 3 出力装置 10 ホストコンピュータ 11 データベースアクセス手段 12,23 受信データ制御手段 13,22 送信データ制御手段 14,21 通信手段 15,24 データ格納テーブル 20 端末コンピュータ DESCRIPTION OF SYMBOLS 1 database 2 input device 3 output device 10 host computer 11 database access means 12,23 reception data control means 13,22 transmission data control means 14,21 communication means 15,24 data storage table 20 terminal computer
Claims (1)
システムにおいて、ホストコンピュータと端末コンピュ
ータ間でデータの送受信を行う通信手段と、端末コンピ
ュータ上で、ホストコンピュータのデータを参照する命
令を受け取り、通信データに組み立てて通信手段に渡す
送信データ制御手段と、ホストコンピュータから受け取
ったデータを1件ずつ返却する受信データ制御手段と、
ホストコンピュータ上で、端末コンピュータからの通信
データを端末コンピュータからの参照命令に分解する受
信データ制御手段と、端末コンピュータからの参照命令
をデータベースアクセス命令に変換し、データベースの
アクセスを行うデータベースアクセス手段と、そのデー
タをデータ格納テーブルに格納し、通信制御手段に通信
データとして組み立てて渡す送信データ制御手段を備え
ることを特徴とするネットワーク接続システムの高速デ
ータベースアクセス方式。1. In a computer system connected by a communication line, a communication means for transmitting and receiving data between a host computer and a terminal computer, and an instruction for referring to the data of the host computer on the terminal computer are received and converted into communication data. Transmission data control means for assembling and passing to the communication means, reception data control means for returning data received from the host computer one by one,
On the host computer, reception data control means for decomposing communication data from the terminal computer into reference instructions from the terminal computer, and database access means for converting the reference instruction from the terminal computer into a database access instruction and accessing the database. A high-speed database access method for a network connection system, comprising: transmission data control means for storing the data in a data storage table, assembling the data as communication data to the communication control means, and delivering the communication data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6021727A JPH07230404A (en) | 1994-02-21 | 1994-02-21 | High-speed data access system of network connection system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6021727A JPH07230404A (en) | 1994-02-21 | 1994-02-21 | High-speed data access system of network connection system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH07230404A true JPH07230404A (en) | 1995-08-29 |
Family
ID=12063115
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6021727A Pending JPH07230404A (en) | 1994-02-21 | 1994-02-21 | High-speed data access system of network connection system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07230404A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000285060A (en) * | 1999-01-29 | 2000-10-13 | Digital Design Co Ltd | Data transfer method, computer-readable recording medium, and data transfer device |
| US7117252B1 (en) | 1999-01-29 | 2006-10-03 | Digitaldesign Co., Ltd. | Data transmission method, computer-readable medium, and data transmission apparatus |
-
1994
- 1994-02-21 JP JP6021727A patent/JPH07230404A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000285060A (en) * | 1999-01-29 | 2000-10-13 | Digital Design Co Ltd | Data transfer method, computer-readable recording medium, and data transfer device |
| US7117252B1 (en) | 1999-01-29 | 2006-10-03 | Digitaldesign Co., Ltd. | Data transmission method, computer-readable medium, and data transmission apparatus |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5752078A (en) | System for minimizing latency data reception and handling data packet error if detected while transferring data packet from adapter memory to host memory | |
| JPH0352262B2 (en) | ||
| JPS61212940A (en) | Data transmission method for multi-network system | |
| JPH04142642A (en) | Information processor having communication function | |
| US7069305B2 (en) | Computer system and a data transfer method thereof using remote direct memory access | |
| JPH07230404A (en) | High-speed data access system of network connection system | |
| JP2924783B2 (en) | Remote read processing method and device | |
| JP3230339B2 (en) | Communication control device | |
| CN118069570B (en) | Doorbell type chip access system, device and method | |
| JP3299021B2 (en) | Multi-bus II-SCSI bus data transfer method and apparatus | |
| JP3799741B2 (en) | Bus controller | |
| JPH08161244A (en) | Data transmission method | |
| JP2570192B2 (en) | Loop type local area network system | |
| JPH05191474A (en) | Communication protocol processor | |
| JPS642969B2 (en) | ||
| JPH0926911A (en) | Page information transfer processor | |
| JPH0623961B2 (en) | Data transfer method | |
| JPH0667998A (en) | Remote file access equipment | |
| JP2747248B2 (en) | Communication data division transmission method and apparatus | |
| KR950035219A (en) | Gateway Implementation Method and System for Network Matching between Integrated Information Network and Local Area Network | |
| JPH0417492B2 (en) | ||
| JPH0589068A (en) | Inter-different machine type computer communication system | |
| JP2002026911A (en) | Multiplex transmission system and master unit and terminal used for the system | |
| JPS5848136A (en) | Testing system for coupling between host computer and intelligent terminal | |
| JPH04314157A (en) | Communication equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20030603 |