JPH0823353A - Data transfer method using packet exchange - Google Patents

Data transfer method using packet exchange

Info

Publication number
JPH0823353A
JPH0823353A JP15711794A JP15711794A JPH0823353A JP H0823353 A JPH0823353 A JP H0823353A JP 15711794 A JP15711794 A JP 15711794A JP 15711794 A JP15711794 A JP 15711794A JP H0823353 A JPH0823353 A JP H0823353A
Authority
JP
Japan
Prior art keywords
data
packet
record
records
packet switching
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.)
Granted
Application number
JP15711794A
Other languages
Japanese (ja)
Other versions
JP2802228B2 (en
Inventor
Riyouichi Hase
良一 馳
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.)
PFU Ltd
Original Assignee
PFU Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by PFU Ltd filed Critical PFU Ltd
Priority to JP15711794A priority Critical patent/JP2802228B2/en
Publication of JPH0823353A publication Critical patent/JPH0823353A/en
Application granted granted Critical
Publication of JP2802228B2 publication Critical patent/JP2802228B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE:To reduce the time required for data transfer and the communication charge by minimizing the umber of packets with respect to the data transfer method employing inter-computer packet exchange among computers being components of a network via a packet exchange network. CONSTITUTION:A data transmitter side computer compresses plural consecutive records in which data to be sent are stored in the unit of records to generate a data aggregate and a packet of a length most efficient to send the entire data aggregate is generated and sent to the packet exchange network. A data receiver computer receives the packet from the packet exchange network and expands the compressed data aggregate as to each record being a component of the packet to decode it into a regular record for reading data.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は,パケット交換を用いた
データ転送方法,特にパケット交換網を介してネットワ
ークを構成するコンピュータ間のパケット交換を用いた
データ転送方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer method using packet switching, and more particularly to a data transfer method using packet switching between computers constituting a network via a packet switching network.

【0002】近年,コンピュータネットワークシステム
においては,ネットワークを構成するコンピュータ間の
データ転送方法として,ISDN−Pなどのパケット交
換網を介したパケット交換を用いたデータ転送方法が採
られている。
In recent years, in a computer network system, a data transfer method using packet switching via a packet switching network such as ISDN-P has been adopted as a data transfer method between computers constituting a network.

【0003】本発明は,コンピュータネットワークシス
テムにおける,パケット交換を用いたデータ転送を効率
的に行うことのできる方法を提供するものである。
The present invention provides a method capable of efficiently performing data transfer using packet switching in a computer network system.

【0004】[0004]

【従来の技術】図4は,従来例を示す図であり,ファイ
ルサーバ機能を有するホストコンピュータに対して,端
末コンピュータがネットワーク(パケット交換網)を介
してデータアクセスする場合の,パケット交換を用いた
従来のデータ転送方法を示している。
2. Description of the Related Art FIG. 4 is a diagram showing a conventional example, which is used for packet switching when a terminal computer accesses data to a host computer having a file server function via a network (packet switching network). The conventional conventional data transfer method is shown.

【0005】図4に示す例は,端末コンピュータが起動
した動作プログラム中にある,ホストコンピュータに格
納されているAファイルに対するREAD(リード)命
令の実行時に,端末コンピュータとホストコンピュータ
との間で送受されるパケットの動きを示している。以
下,これを具体的に説明する。
In the example shown in FIG. 4, when a READ command is executed for an A file stored in the host computer in an operation program started by the terminal computer, transmission / reception is performed between the terminal computer and the host computer. It shows the movement of a packet that is dropped. This will be specifically described below.

【0006】 端末コンピュータは,Aファイルの転
送要求を内容とするパケットを1個作成し,ネットワー
ク(パケット交換網)に送出する。 ネットワーク(パケット交換網)からのパケット
を受信したホストコンピュータは,Aファイルから1レ
コード(128バイト)を切り出して1個のパケットを
作成し,ネットワーク(パケット交換網)に送出する。
The terminal computer creates one packet containing the transfer request for the A file and sends it to the network (packet switching network). The host computer that receives the packet from the network (packet switching network) cuts out one record (128 bytes) from the A file, creates one packet, and sends it to the network (packet switching network).

【0007】 端末コンピュータは,ネットワーク
(パケット交換網)からのパケットを受信し,Aファ
イル中の1レコード(128バイト)分のデータを取得
する。そして,データ取得の完了を内容とする応答パケ
ットを1個作成し,ネットワーク(パケット交換網)に
送出する。
The terminal computer receives a packet from the network (packet switching network) and acquires data for one record (128 bytes) in the A file. Then, one response packet having the content of data acquisition completion is created and sent to the network (packet switching network).

【0008】例えば,Aファイルが10レコード(12
80バイト)から成る場合,前記〜のパケット交換
を10回繰り返す。この結果,合計30パケットの交換
が行われることとなる。
For example, the A file has 10 records (12
If it consists of 80 bytes), the packet exchanges 1 to 3 above are repeated 10 times. As a result, a total of 30 packets will be exchanged.

【0009】パケット交換では,送受信するパケットの
数量で課金される。したがって,1パケット=0.5円
とすると,30パケットの交換が行われると15円課金
されることになる。
In packet switching, charges are charged according to the number of packets sent and received. Therefore, if 1 packet = 0.5 yen, 15 yen will be charged when 30 packets are exchanged.

【0010】また,パケット交換では,ネットワーク
(パケット交換網)を通過する際に遅延が生じる。1パ
ケット当たりの遅延時間を0.5秒とすると,30パケ
ットの交換が行われると,15秒間の遅延が生じること
になる。
In packet switching, a delay occurs when passing through a network (packet switching network). Assuming that the delay time per packet is 0.5 seconds, when 30 packets are exchanged, a delay of 15 seconds will occur.

【0011】[0011]

【発明が解決しようとする課題】ホストコンピュータと
端末コンピュータとの間のパケット交換を用いたデータ
転送方法では,ファイルのオープン命令およびファイル
のクローズ命令を実行する場合,1命令につき往復で2
パケットを送受信している。また,リード命令,ライト
命令,およびリライト命令を実行する場合,1回のデー
タ転送につき往復で3パケットを送受信している。
In a data transfer method using packet switching between a host computer and a terminal computer, when executing a file open instruction and a file close instruction, two round trips are performed per instruction.
Sending and receiving packets. When executing a read command, a write command, and a rewrite command, three packets are sent and received in a round trip for each data transfer.

【0012】従来のパケット交換を用いたデータ転送方
法では,リード命令,ライト命令,およびリライト命令
を実行する場合,アクセスするファイルのレコード長に
よりパケット長が決定されているために,最も効率的な
パケット長のパケットでの送受信となっていない。すな
わち,図4に示す従来例では,ファイルのレコード長は
128バイトであり,パケット長も128バイトに決定
され,最も効率的な4096バイトのパケット長になっ
ていない。
In the conventional data transfer method using packet switching, when executing a read command, a write command, and a rewrite command, the packet length is determined by the record length of the file to be accessed. It is not sent or received in packets of packet length. That is, in the conventional example shown in FIG. 4, the record length of the file is 128 bytes, and the packet length is determined to be 128 bytes, which is not the most efficient packet length of 4096 bytes.

【0013】このため,パケット交換を用いた従来のデ
ータ転送方法には,リード命令,ライト命令,およびリ
ライト命令を実行して大量のデータにアクセスすると,
非効率であると共に通信料金が増大する,という問題が
あった。
Therefore, in the conventional data transfer method using packet switching, if a large amount of data is accessed by executing a read command, a write command, and a rewrite command,
There was a problem that it was inefficient and the communication charge increased.

【0014】また,レスポンス(応答性能)について
も,ネットワーク(パケット交換網)中で1パケットに
つき約0.5秒間の蓄積遅延があるため,交換するパケ
ット数が多くなると,遅延時間が増大するので,レスポ
ンスが低下する,という問題も生じていた。
Regarding the response (response performance), since there is a storage delay of about 0.5 seconds per packet in the network (packet switching network), the delay time increases as the number of packets to be exchanged increases. There was also the problem of poor response.

【0015】本発明は,上記の問題点を解決して,パケ
ット数を最小限にすることにより,データ転送に要する
時間を短縮すると共に通信料金を低減させることのでき
る,パケット交換を用いたデータ転送方法,特にパケッ
ト交換網を介してネットワークを構成するコンピュータ
間のパケット交換を用いたデータ転送方法を提供するこ
とを目的とする。
The present invention solves the above-mentioned problems and minimizes the number of packets, thereby shortening the time required for data transfer and reducing the communication charge, and data using packet switching. It is an object of the present invention to provide a transfer method, particularly a data transfer method using packet switching between computers forming a network via a packet switching network.

【0016】[0016]

【課題を解決するための手段】上記の目的を達成するた
めに,本発明は,次のように構成する。 (1)パケット交換網を介してネットワークを構成する
コンピュータ間のパケット交換を用いたデータ転送方法
であって,データを送信する側のコンピュータは,送信
するデータが格納された連続する複数個のレコードをレ
コード単位に圧縮してデータ集合体を作成し,このデー
タ集合体の全体を送信するのに最も効率的なパケット長
のパケットを作成してパケット交換網に送出し,データ
を受信する側のコンピュータは,パケット交換網から前
記パケットを受信した後,当該パケットを構成する各レ
コードについて圧縮されたデータ集合体を伸長させて正
規のレコードに復元してデータの読み込みを行うように
構成する。
In order to achieve the above object, the present invention is configured as follows. (1) A data transfer method using packet switching between computers forming a network via a packet switching network, in which a computer transmitting data has a plurality of consecutive records in which the data to be transmitted is stored. Is compressed in record units to create a data set, and a packet with the most efficient packet length for sending the entire data set is created and sent to the packet switching network to receive data. The computer is configured to, after receiving the packet from the packet switching network, decompress the compressed data aggregate for each record forming the packet to restore the regular record and read the data.

【0017】(2)前記(1)において,データを送信
する側のコンピュータは,送信するデータが格納された
各レコード内のデータ圧縮を行った後,連続する複数個
のレコードをまとめてレコード単位にデータ圧縮してデ
ータ集合体を作成し,このデータ集合体の全体を送信す
るのに最も効率的なパケット長のパケットを作成し,デ
ータを受信する側のコンピュータは,受信したパケット
を構成する各レコードについて圧縮されたデータ集合体
を伸長させて複数個のデータ圧縮されたレコードに復元
した後,各レコードを構成するデータを伸長させて正規
のデータに復元してデータの読み込みを行うように構成
する。
(2) In (1), the computer on the data transmitting side compresses the data in each record in which the data to be transmitted is stored, and then collects a plurality of consecutive records in record units. Data is compressed into a data aggregate, a packet with the most efficient packet length for transmitting the entire data aggregate is created, and the computer receiving the data configures the received packet. After decompressing the compressed data set for each record to restore it to a plurality of data-compressed records, decompress the data that composes each record, restore it to regular data, and read the data. Configure.

【0018】(3)パケット交換網を介してネットワー
クを構成するコンピュータ間のパケット交換を用いたデ
ータ転送方法であって,端末コンピュータが,ホストコ
ンピュータに格納されている複数個のファイルを一時に
読み込むためのデータ転送方法において,端末コンピュ
ータは,プログラムロジックを解読して,データを連続
して転送できるポイントの情報を内容とするパケットを
作成してパケット交換網に送出し,ホストコンピュータ
は,パケット交換網からこのパケットを受信し,連続し
てデータ転送できるポイントを事前に把握し,端末コン
ピュータは,ホストコンピュータに対するデータアクセ
スを内容とするパケットを作成してパケット交換網に送
出し,ホストコンピュータは,パケット交換網からこの
パケットを受信すると,複数個のファイルにわたるレコ
ードの読み込みを行い,複数個のファイルにわたるレコ
ードをレコード単位にデータ圧縮してデータ集合体を作
成し,このデータ集合体の全体を送信するのに最も効率
的なパケット長のパケットを作成してパケット交換網に
送出し,端末コンピュータは,パケット交換網からこの
パケットを受信した後,受信したパケットを構成するレ
コード単位にデータ圧縮されたデータ集合体を伸長させ
て複数個の正規のレコードに復元した後,この複数個の
正規のレコードを複数個のファイルに分解してファイル
の読み込みを行うように構成する。
(3) A data transfer method using packet switching between computers constituting a network via a packet switching network, in which a terminal computer reads a plurality of files stored in a host computer at one time. In the data transfer method, the terminal computer decodes the program logic, creates a packet containing information of points at which data can be continuously transferred, and sends the packet to the packet switching network. Upon receiving this packet from the network and knowing in advance the points at which data can be transferred continuously, the terminal computer creates a packet containing data access to the host computer and sends it to the packet switching network. Receive this packet from the packet switching network The most efficient packet for reading records across multiple files, compressing records across multiple files in record units to create a data aggregate, and transmitting the entire data aggregate. After creating a long packet and sending it to the packet switching network, the terminal computer receives this packet from the packet switching network, and then decompresses the data aggregate that has been data-compressed in units of records that make up the received packet to generate multiple packets. After being restored to each regular record, the multiple regular records are decomposed into multiple files and the file is read.

【0019】(4)前記(3)において,ホストコンピ
ュータは,各ファイルを構成するレコード内のデータ圧
縮を行った後,複数個のファイルにわたるレコードをレ
コード単位にデータ圧縮してデータ集合体を作成し,こ
のデータ集合体の全体を送信するのに最も効率的なパケ
ット長のパケットを作成し,端末コンピュータは,受信
したパケットを構成するレコード単位にデータ圧縮され
たデータ集合体を伸長させて複数個のデータ圧縮された
レコードに復元した後,各レコードを構成するデータを
伸長させて正規のデータに復元して複数個の正規のレコ
ードを作成し,この複数個の正規のレコードを複数個の
ファイルに分解してファイルの読み込みを行うように構
成する。
(4) In (3) above, the host computer compresses the data in the records constituting each file and then compresses the records of a plurality of files in record units to create a data aggregate. Then, a packet having the most efficient packet length for transmitting the entire data aggregate is created, and the terminal computer decompresses the data aggregate that is data-compressed for each record constituting the received packet, After decompressing each data compressed record, decompress the data that composes each record and decompress it to regular data to create multiple regular records. Configure to read the file by decomposing it into a file.

【0020】[0020]

【作用】図1は,本発明の基本構成を示す図である。以
下,同図を用いて本発明の作用を説明する。
1 is a diagram showing the basic configuration of the present invention. The operation of the present invention will be described below with reference to FIG.

【0021】ホストコンピュータと端末コンピュータと
は,パケット交換網(例えば,ISDN−P)を介して
コンピュータネットワークを構成している。ホストコン
ピュータには,検索プログラム(1)を常時実行させて
おく。一方,端末コンピュータは,参照プログラムを実
行することにより,ホストコンピュータ中の即時更新デ
ータベースが保持しているファイルのうち希望するもの
を転送させる。
The host computer and the terminal computer constitute a computer network via a packet switching network (for example, ISDN-P). The search program (1) is always executed by the host computer. On the other hand, the terminal computer transfers the desired file among the files held in the immediate update database in the host computer by executing the reference program.

【0022】このとき,参照プログラム中の検索依頼セ
グメント(2)は,検索情報を内容とするパケットを作
成してパケット交換網(ISDN−P)に送出する。こ
のパケットを受信したホストコンピュータ内では,検索
プログラム(1)が検索用ファイルVLDを参照しなが
ら,即時更新データベースから該当するファイルを抽出
する。
At this time, the search request segment (2) in the reference program creates a packet containing the search information and sends it to the packet switching network (ISDN-P). In the host computer that receives this packet, the search program (1) refers to the search file VLD and extracts the corresponding file from the immediate update database.

【0023】抽出されたファイルは,当該ファイルを構
成する1レコード(128バイト)ごとにデータ圧縮
(3)が行われる。データ圧縮が行われた各レコード
は,レコード単位にデータ圧縮が行われる。レコード単
位にデータ圧縮が行われたデータ集合体は,送信するの
に最も効率的な4096バイトに切り分けられ,409
6バイトのパケット長を有するパケットが作成される。
The extracted file is subjected to data compression (3) for each record (128 bytes) that constitutes the file. Data compression is performed on a record-by-record basis for each data-compressed record. The data aggregate, which has been compressed in record units, is divided into 4096 bytes, which is the most efficient for transmission.
A packet is created with a packet length of 6 bytes.

【0024】そして,作成された4096バイトのパケ
ット長を有するのパケットが,順次パケット交換網(I
SDN−P)に送出される。端末コンピュータは,パケ
ット交換網(ISDN−P)から4096バイトのパケ
ット長を有するパケットを受信した後,検索結果セグメ
ント(4)により,受信したパケットを構成するデータ
集合体をレコード単位に伸長させて複数個のレコードに
復元した後,復元した各レコードを構成するデータを伸
長させることにより,正規のレコード(128バイト)
に復元して希望のファイルを読み込む。
Then, the created packet having a packet length of 4096 bytes is sequentially transferred to the packet switching network (I
SDN-P). After receiving a packet having a packet length of 4096 bytes from the packet switching network (ISDN-P), the terminal computer decompresses the data aggregate forming the received packet in record units by using the search result segment (4). After restoring to multiple records, decompressing the data that constitutes each restored record to make a regular record (128 bytes)
Restore to and load the desired file.

【0025】以上のようにすることにより,本発明に係
るパケット交換を用いたデータ転送方法,特にパケット
交換網を介してネットワークを構成するコンピュータ間
のパケット交換を用いたデータ転送方法では,パケット
数を最小限にすることが可能になるから,データ転送に
要する時間の短縮および通信料金の低減が実現する。
As described above, in the data transfer method using packet switching according to the present invention, particularly in the data transfer method using packet switching between computers forming a network via a packet switching network, the number of packets Since it can be minimized, the time required for data transfer and the communication charge can be reduced.

【0026】[0026]

【実施例】図2は,本発明の一実施例を示す図であり,
ファイルサーバ機能を有するホストコンピュータに対し
て,端末コンピュータがネットワーク(パケット交換
網)を介してデータアクセスする場合の,本発明に係る
パケット交換を用いたデータ転送方法を示している。
FIG. 2 is a diagram showing an embodiment of the present invention,
1 shows a data transfer method using packet switching according to the present invention when a terminal computer accesses data to a host computer having a file server function via a network (packet switching network).

【0027】図2に示す例は,端末コンピュータが起動
した動作プログラム中にある,ホストコンピュータに格
納されているAファイルに対するREAD(リード)命
令の実行時に,端末コンピュータとホストコンピュータ
との間で送受されるパケットの動きを示している。以
下,これを具体的に説明する。
In the example shown in FIG. 2, when the READ command for the A file stored in the host computer in the operation program started by the terminal computer is executed, transmission / reception between the terminal computer and the host computer is performed. It shows the movement of a packet that is dropped. This will be specifically described below.

【0028】 端末コンピュータは,Aファイルの転
送要求を内容とするパケットを1個作成し,ネットワー
ク(パケット交換網)に送出する。 ネットワーク(パケット交換網)からのパケット
を受信したホストコンピュータは,Aファイルから12
8バイトのレコード長を有する連続する複数個のレコー
ドをレコード単位にデータ圧縮してデータ集合体を作成
し,このデータ集合体のデータ量によりパケット長を変
化させ,最適のパケット長のパケットを作成する。
The terminal computer creates one packet containing the transfer request for the A file and sends it to the network (packet switching network). The host computer that received the packet from the network (packet switching network) receives 12 from the A file.
Create a data aggregate by compressing multiple consecutive records having a record length of 8 bytes in record units, and change the packet length according to the data amount of this data aggregate to create a packet with an optimum packet length. To do.

【0029】すなわち,送信するのに最も効率的な,例
えば4096バイトのパケット長を有するパケットを作
成する。このとき,図に示すように,Aファイルが10
レコード=1280バイトである場合には,レコード単
位にデータ圧縮したデータ集合体のデータ量が4096
バイトよりも少ないので,1280バイトのパケット長
を有するパケットを作成する。逆に,レコード単位にデ
ータ圧縮したデータ集合体のデータ量が4096バイト
よりも多ければ,4096バイトのパケット長を有する
パケットを複数個作成する。
That is, a packet having a packet length of, for example, 4096 bytes, which is the most efficient for transmission, is created. At this time, as shown in the figure, the A file has 10
If the record is 1280 bytes, the data amount of the data aggregate compressed in record units is 4096.
Since it is less than bytes, it creates a packet with a packet length of 1280 bytes. On the contrary, if the data amount of the data aggregate compressed in record units is larger than 4096 bytes, a plurality of packets having a packet length of 4096 bytes are created.

【0030】作成されたパケットは,ネットワーク(パ
ケット交換網)に送出される。 端末コンピュータは,ネットワーク(パケット交換
網)からのパケットを受信した後,パケットを構成す
るデータ集合体を伸長させて正規の128バイトのレコ
ード長のレコードに復元することにより,Aファイルの
読み込みを行う。
The created packet is sent to the network (packet switching network). After receiving the packet from the network (packet switching network), the terminal computer reads the A file by decompressing the data aggregate forming the packet and restoring the record with a regular record length of 128 bytes. .

【0031】そして,Aファイルの読み込みの完了を内
容とする応答パケットを1個作成し,ネットワーク(パ
ケット交換網)に送出する。以上のように,本発明によ
れば,例えば,Aファイルが10レコード(1280バ
イト)から成る場合,前記〜のパケット交換を1回
行うだけで済む。すなわち,3パケットの交換で済ます
ことが可能になる。図4に示した従来例では,30パケ
ットの交換を必要としていたのと比べると,本発明に係
るパケット交換を用いたデータ転送方法では,転送効率
が格段に向上することがわかる。
Then, one response packet having the content of the completion of reading the A file is created and sent to the network (packet switching network). As described above, according to the present invention, for example, when the A file is composed of 10 records (1280 bytes), the packet exchanges 1 to 3 above need only be performed once. That is, it becomes possible to exchange 3 packets. Compared with the case where the conventional example shown in FIG. 4 requires the exchange of 30 packets, it can be seen that the data transfer method using the packet exchange according to the present invention significantly improves the transfer efficiency.

【0032】パケット交換では,送受信するパケットの
数量で課金される。したがって,1パケット=0.5
円,1ロングパケット=8.7円とすると,3パケット
の交換が行われると8.7円課金されることになる。
In packet switching, the amount of packets sent and received is charged. Therefore, 1 packet = 0.5
If yen and 1 long packet = 8.7 yen, 8.7 yen will be charged when 3 packets are exchanged.

【0033】また,パケット交換では,ネットワーク
(パケット交換網)を通過する際に遅延が生じる。1パ
ケット当たりの遅延時間を0.5秒とすると,3パケッ
トの交換が行われると,1.5秒間の遅延が生じること
になる。
Further, in packet switching, a delay occurs when passing through a network (packet switching network). Assuming that the delay time per packet is 0.5 seconds, when 3 packets are exchanged, a delay of 1.5 seconds will occur.

【0034】ちなみに,図4に示した従来例では,本実
施例と同じくAファイルが10レコード(1280バイ
ト)から成るにも拘わらず30パケットの交換が行われ
るので,15円課金され,遅延時間は15秒間であっ
た。これに比べると,本発明に係るパケット交換を用い
たデータ転送方法は,通信料金の大幅な低減,および遅
延時間の大幅な短縮(すなわちデータ転送速度の大幅な
向上)を実現していることがわかる。
Incidentally, in the conventional example shown in FIG. 4, 30 packets are exchanged even though the A file consists of 10 records (1280 bytes) as in the case of the present embodiment, so that 15 yen is charged and the delay time is increased. Was for 15 seconds. Compared with this, the data transfer method using packet switching according to the present invention achieves a significant reduction in communication charges and a significant reduction in delay time (that is, a significant improvement in data transfer rate). Recognize.

【0035】以上,本発明に係るパケット交換を用いた
データ転送方法を,端末コンピュータからホストコンピ
ュータ中のファイルに対してREAD(リード)命令を
実行する例を用いて述べたが,リード命令に限らず,ラ
イト命令,およびリライト命令を実行して大量のデータ
にアクセスする場合にも,通信料金の大幅な低減,およ
び遅延時間の大幅な短縮(すなわちデータ転送速度の大
幅な向上)を実現することができることはもちろんであ
る。
The data transfer method using packet switching according to the present invention has been described above by using the example of executing the READ (read) command from the terminal computer to the file in the host computer, but is not limited to the read command. Even if a large amount of data is accessed by executing a write command and a rewrite command, the communication charge and the delay time are significantly reduced (that is, the data transfer speed is significantly improved). Of course, you can

【0036】上述した実施例では,連続する複数個のレ
コードをレコード単位にデータ圧縮してデータ集合体を
作成し,このデータ集合体のデータ量によりパケット長
を変化させ,最適のパケット長のパケット作成する例を
説明したが,本発明は,さらに,送信するのに最も効率
的なパケット長を有するパケットを作成する方法をも提
供する。
In the above-described embodiment, a data set is created by compressing a plurality of continuous records in record units, and the packet length is changed according to the data amount of this data set. Although described as an example of creating, the present invention also provides a method of creating a packet having the most efficient packet length for transmission.

【0037】すなわち,連続する複数個のレコードをレ
コード単位にデータ圧縮してデータ集合体を作成し,こ
のデータ集合体の全体を送信するのに最適のパケット長
のパケットを作成する前に,各レコードを構成するデー
タを圧縮する方法である。具体的には,各レコード内で
4文字(ワード)以上連続する同一のデータを圧縮す
る。
That is, a plurality of continuous records are data-compressed in record units to form a data set, and each data set is transmitted before the packet having the optimum packet length for transmitting the entire data set is created. This is a method of compressing the data that constitutes a record. Specifically, the same data in which four characters (words) or more are consecutive in each record is compressed.

【0038】例えば,16進数表示で, 40 40 40 40 40 40 40 というデータ列が存在する場合, FE 00 07 40 のように圧縮することにより,7文字(ワード)のデー
タを4文字(ワード)に圧縮することができる。データ
圧縮の方法にはこの他にも種々あるが,本発明の実際の
適用に当たっては最適の方法を選択すればよい。
For example, when there is a data string of 40 40 40 40 40 40 40 40 in hexadecimal notation, by compressing like FE 00 07 40, data of 7 characters (word) is 4 characters (word). Can be compressed into. Although there are various other data compression methods, the most suitable method may be selected for practical application of the present invention.

【0039】連続するレコードをレコード単位にデータ
圧縮する前に各レコード内のデータ圧縮を行うことによ
り,パケット長をより短くすることが可能になるので,
データ転送の効率がより一層向上する。
Since it is possible to further shorten the packet length by compressing the data in each record before compressing the data of consecutive records in record units,
The efficiency of data transfer is further improved.

【0040】次に,端末コンピュータがホストコンピュ
ータ中の複数個のファイルを一時に読み込む実施例を,
図3に示す本発明の動作フローを用いて説明する。 (S1)端末コンピュータは,プログラムロジックを解
読し,データを連続して転送できるポイントと,ファイ
ルの利用項目とを内容とするパケットを作成してホスト
コンピュータに送る。データを連続して転送できるポイ
ントとは,連続する複数個のレコードをレコード単位に
データ圧縮してデータ集合体を作成し,このデータ集合
体の全体を送信するのに最適なパケットを作成するため
の区切りのことである。また,ファイルの利用項目と
は,ホストコンピュータ中の複数個のファイルの中の項
目のうち,端末コンピュータが実行中のプログラムが利
用する項目のことである。
Next, an embodiment in which the terminal computer reads a plurality of files in the host computer at a time,
This will be described using the operation flow of the present invention shown in FIG. (S1) The terminal computer decodes the program logic, creates a packet containing the points at which data can be continuously transferred and the usage items of the file, and sends it to the host computer. The point at which data can be transferred consecutively is to create a data aggregate by compressing multiple consecutive records in record units, and to create the optimum packet for transmitting the entire data aggregate. It is a break. The file usage item is an item used by the program being executed by the terminal computer, among the items in the plurality of files in the host computer.

【0041】(S2)ホストコンピュータは,(S1)
のパケットを受信すると,端末コンピュータが実行中の
プログラムを解読した情報を蓄積する。すなわち,連続
してデータ転送できるポイントと,使用しているファイ
ル内の項目のうちの使用項目(端末コンピュータが実行
しているプログラムが利用する利用項目,以下同じ)を
事前に把握する。
(S2) The host computer is (S1)
When the packet is received, the terminal computer accumulates information obtained by decoding the program being executed. That is, the points at which data can be continuously transferred and the usage items (usage items used by the program executed by the terminal computer, the same applies hereinafter) of the items in the file being used are grasped in advance.

【0042】(S3)端末コンピュータは,ホストコン
ピュータに対するデータアクセスを内容とするパケット
を作成してホストコンピュータに送る。 (S4)ホストコンピュータは,有効な(最も効率的
な)データ転送方法を選択する。具体的には,次の手順
による。
(S3) The terminal computer creates a packet containing data access to the host computer and sends it to the host computer. (S4) The host computer selects an effective (most efficient) data transfer method. Specifically, the procedure is as follows.

【0043】 レコードを読み込む。このレコードの
読み込みは,異なる複数個のファイルのレコードも同時
に読み込むことにより行う。
Read a record. This record is read by simultaneously reading records from different files.

【0044】 前記で読み込んだレコードのうち,
使用項目が存在するレコードのみを抜き出す。 各ファイルごとに,当該ファイルを構成する複数個
のレコードをレコード単位にデータ圧縮してデータ集合
体を作成する。
Of the records read above,
Extract only records that have used items. For each file, multiple records that make up the file are compressed in record units to create a data aggregate.

【0045】 レコード単位にデータ圧縮された各フ
ァイルをファイル単位にデータ圧縮する。 ファイル単位にデータ圧縮されたデータ集合体を,
128〜4096バイトのうちの送信に最も効率の良い
パケット長のパケットを作成して順次,端末コンピュー
タに送出する。
Each file that has been data-compressed in record units is data-compressed in file units. A data collection that is data compressed in file units,
A packet having the most efficient packet length of 128 to 4096 bytes for transmission is created and sequentially sent to the terminal computer.

【0046】(S5)端末コンピュータは,ホストコン
ピュータから受信したパケット列を元のデータに復元し
て,複数個のファイルを読み込む。具体的には,次の手
順による。
(S5) The terminal computer restores the packet sequence received from the host computer to the original data and reads a plurality of files. Specifically, the procedure is as follows.

【0047】 レコード単位にデータ圧縮されたデー
タ集合体を個々のレコードに伸長させる。 伸長された個々の各レコードを正規の各レコードに
分解する。
A data aggregate, which is data-compressed in record units, is expanded into individual records. Each decompressed individual record is decomposed into regular records.

【0048】 (S1)において利用項目として指定
しなかった未使用項目を追加して,各ファイルの形態を
正規のものに調整する。 各ファイルによって異なるレコード(各ファイルを
構成する固有のレコード群に属する各レコード)を取り
出すことにより,複数個のファイルの読み込みを行う。
Unused items not specified as the usage items in (S1) are added to adjust the form of each file to a regular one. Multiple files are read by fetching different records (each record belonging to a unique record group that constitutes each file) for each file.

【0049】以上の実施例においても,先に説明した実
施例と同様に,レコード単位にデータ圧縮してデータ集
合体を作成する前に各レコードのデータ圧縮を行えば,
パケット長をより短くすることが可能になるので,デー
タ転送効率をより一層向上させることができる。
In the above embodiment as well, similar to the above-described embodiment, if data compression of each record is performed before data compression is performed in record units to create a data aggregate,
Since the packet length can be further shortened, the data transfer efficiency can be further improved.

【0050】[0050]

【発明の効果】本発明によれば,パケット交換を用いた
データ転送方法,特にパケット交換網を介してネットワ
ークを構成するコンピュータ間のパケット交換を用いた
データ転送方法において,パケット数を最小限にするこ
とが可能になる。
According to the present invention, the number of packets is minimized in a data transfer method using packet switching, and particularly in a data transfer method using packet switching between computers forming a network via a packet switching network. It becomes possible to do.

【0051】その結果,データ転送に要する時間が短縮
されるので,データ転送速度の向上が実現する。また,
送受信するパケットの数量が減少するので,通信料金の
低減が実現する。
As a result, the time required for data transfer is shortened, and the data transfer speed is improved. Also,
Since the number of packets sent and received is reduced, the communication charge is reduced.

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

【図1】本発明の基本構成を示す図である。FIG. 1 is a diagram showing a basic configuration of the present invention.

【図2】本発明の一実施例を示す図である。FIG. 2 is a diagram showing an embodiment of the present invention.

【図3】本発明の動作フローを示す図である。FIG. 3 is a diagram showing an operation flow of the present invention.

【図4】従来例を示す図である。FIG. 4 is a diagram showing a conventional example.

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

1 検索プログラム 2 検索依頼セグメント 3 データ圧縮 4 検索結果セグメント 1 Search program 2 Search request segment 3 Data compression 4 Search result segment

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 パケット交換網を介してネットワークを
構成するコンピュータ間のパケット交換を用いたデータ
転送方法であって,データを送信する側のコンピュータ
は,送信するデータが格納された連続する複数個のレコ
ードをレコード単位に圧縮してデータ集合体を作成し,
このデータ集合体の全体を送信するのに最も効率的なパ
ケット長のパケットを作成してパケット交換網に送出
し,データを受信する側のコンピュータは,パケット交
換網から前記パケットを受信した後,当該パケットを構
成する各レコードについて圧縮されたデータ集合体を伸
長させて正規のレコードに復元してデータの読み込みを
行うことを特徴とするパケット交換を用いたデータ転送
方法。
1. A data transfer method using packet switching between computers constituting a network via a packet switching network, wherein a computer transmitting data has a plurality of continuous data storing data to be transmitted. Create a data aggregate by compressing the records of
A computer having a packet length most efficient for transmitting the entire data aggregate and transmitting the packet to the packet switching network, and the computer receiving the data, after receiving the packet from the packet switching network, A data transfer method using packet switching, which comprises decompressing a compressed data set for each record forming the packet to restore a regular record and reading the data.
【請求項2】 請求項1において,データを送信する側
のコンピュータは,送信するデータが格納された各レコ
ード内のデータ圧縮を行った後,連続する複数個のレコ
ードをまとめてレコード単位にデータ圧縮してデータ集
合体を作成し,このデータ集合体の全体を送信するのに
最も効率的なパケット長のパケットを作成し,データを
受信する側のコンピュータは,受信したパケットを構成
する各レコードについて圧縮されたデータ集合体を伸長
させて複数個のデータ圧縮されたレコードに復元した
後,各レコードを構成するデータを伸長させて正規のデ
ータに復元してデータの読み込みを行うことを特徴とす
るパケット交換を用いたデータ転送方法。
2. The computer according to claim 1, wherein the computer on the data transmitting side compresses the data in each record in which the data to be transmitted is stored, and then collects a plurality of continuous records in record units. A data aggregate is created by compression, a packet with the most efficient packet length for transmitting the entire data aggregate is created, and the computer receiving the data uses the records that make up the received packet. The compressed data set is decompressed and restored to a plurality of data-compressed records, and then the data that composes each record is decompressed and restored to regular data, and the data is read. Data transfer method using packet switching.
【請求項3】 パケット交換網を介してネットワークを
構成するコンピュータ間のパケット交換を用いたデータ
転送方法であって,端末コンピュータが,ホストコンピ
ュータに格納されている複数個のファイルを一時に読み
込むためのデータ転送方法において,端末コンピュータ
は,プログラムロジックを解読して,データを連続して
転送できるポイントの情報を内容とするパケットを作成
してパケット交換網に送出し,ホストコンピュータは,
パケット交換網からこのパケットを受信し,連続してデ
ータ転送できるポイントを事前に把握し,端末コンピュ
ータは,ホストコンピュータに対するデータアクセスを
内容とするパケットを作成してパケット交換網に送出
し,ホストコンピュータは,パケット交換網からこのパ
ケットを受信すると,複数個のファイルにわたるレコー
ドの読み込みを行い,複数個のファイルにわたるレコー
ドをレコード単位にデータ圧縮してデータ集合体を作成
し,このデータ集合体の全体を送信するのに最も効率的
なパケット長のパケットを作成してパケット交換網に送
出し,端末コンピュータは,パケット交換網からこのパ
ケットを受信した後,受信したパケットを構成するレコ
ード単位にデータ圧縮されたデータ集合体を伸長させて
複数個の正規のレコードに復元した後,この複数個の正
規のレコードを複数個のファイルに分解してファイルの
読み込みを行うことを特徴とするパケット交換を用いた
データ転送方法。
3. A data transfer method using packet switching between computers composing a network via a packet switching network, wherein a terminal computer reads a plurality of files stored in a host computer at one time. In the data transfer method, the terminal computer decodes the program logic, creates a packet containing the information of points at which data can be transferred continuously, and sends the packet to the packet switching network.
Upon receiving this packet from the packet switching network and grasping in advance the points at which data can be continuously transferred, the terminal computer creates a packet having data access to the host computer and sends it to the packet switching network. When this packet is received from the packet switching network, it reads records across multiple files, compresses the records across multiple files in record units, and creates a data aggregate. To create a packet of the most efficient packet length for transmission to the packet switching network, and the terminal computer receives this packet from the packet switching network, and then compresses the data in record units that compose the received packet. The expanded data set is expanded and After restoring the de data transfer method using packet switching, characterized in that to read the file by decomposing a record of the plurality of regular in multiple files.
【請求項4】 請求項3において,ホストコンピュータ
は,各ファイルを構成するレコード内のデータ圧縮を行
った後,複数個のファイルにわたるレコードをレコード
単位にデータ圧縮してデータ集合体を作成し,このデー
タ集合体の全体を送信するのに最も効率的なパケット長
のパケットを作成し,端末コンピュータは,受信したパ
ケットを構成するレコード単位にデータ圧縮されたデー
タ集合体を伸長させて複数個のデータ圧縮されたレコー
ドに復元した後,各レコードを構成するデータを伸長さ
せて正規のデータに復元して複数個の正規のレコードを
作成し,この複数個の正規のレコードを複数個のファイ
ルに分解してファイルの読み込みを行うことを特徴とす
るパケット交換を用いたデータ転送方法。
4. The host computer according to claim 3, after compressing the data in the records making up each file, compressing the records in a plurality of files in record units to create a data aggregate, A packet having the most efficient packet length for transmitting the entire data aggregate is created, and the terminal computer decompresses the data aggregate, which is data-compressed in the record unit forming the received packet, to obtain a plurality of packets. After decompressing the data into compressed records, decompressing the data that composes each record and decompressing it into regular data to create multiple regular records, and writing these multiple regular records into multiple files. A data transfer method using packet switching characterized by disassembling and reading a file.
JP15711794A 1994-07-08 1994-07-08 Data transfer method using packet switching Expired - Lifetime JP2802228B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15711794A JP2802228B2 (en) 1994-07-08 1994-07-08 Data transfer method using packet switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15711794A JP2802228B2 (en) 1994-07-08 1994-07-08 Data transfer method using packet switching

Publications (2)

Publication Number Publication Date
JPH0823353A true JPH0823353A (en) 1996-01-23
JP2802228B2 JP2802228B2 (en) 1998-09-24

Family

ID=15642592

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15711794A Expired - Lifetime JP2802228B2 (en) 1994-07-08 1994-07-08 Data transfer method using packet switching

Country Status (1)

Country Link
JP (1) JP2802228B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002132335A (en) * 2000-08-14 2002-05-10 Komatsu Denki Sangyo Kk Monitor and control network system for water treating facilities
US6493764B1 (en) 1998-07-08 2002-12-10 International Business Machines Corporation Data communications apparatus, method and computer program product implementing data communications protocol with efficient packing of datagrams

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04839A (en) * 1990-04-17 1992-01-06 Nippon Telegr & Teleph Corp <Ntt> Method of making packet communication
JPH04151936A (en) * 1990-10-16 1992-05-25 Nec Software Kansai Ltd Data transmission system
JPH04223635A (en) * 1990-12-25 1992-08-13 Canon Inc Packet switchboard

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04839A (en) * 1990-04-17 1992-01-06 Nippon Telegr & Teleph Corp <Ntt> Method of making packet communication
JPH04151936A (en) * 1990-10-16 1992-05-25 Nec Software Kansai Ltd Data transmission system
JPH04223635A (en) * 1990-12-25 1992-08-13 Canon Inc Packet switchboard

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6493764B1 (en) 1998-07-08 2002-12-10 International Business Machines Corporation Data communications apparatus, method and computer program product implementing data communications protocol with efficient packing of datagrams
JP2002132335A (en) * 2000-08-14 2002-05-10 Komatsu Denki Sangyo Kk Monitor and control network system for water treating facilities

Also Published As

Publication number Publication date
JP2802228B2 (en) 1998-09-24

Similar Documents

Publication Publication Date Title
CN101599091B (en) Content-based segmentation scheme for data compression in storage and transmission including hierarchical segment representation
US7451237B2 (en) Data compression program, data compression method, and data compression device
JPH06223011A (en) Computer and method data transfer
CN103116615B (en) A kind of data index method and server based on version vector
CN101197773B (en) Packet compressed transmitting and received de-compression method and system based on multilink
KR100512388B1 (en) Information transmission method and device
CN114666212B (en) Configuration data issuing method
CN107046812A (en) A kind of data save method and device
WO2021068891A1 (en) Method, system, electronic device, and storage medium for storing and collecting temperature data
CN100477582C (en) Method and system for processing real-time multi-media information in instant telecommunication
CN102694730B (en) Method and device for parallel processing
CN102377688B (en) File transmission method and equipment
JP2699430B2 (en) Data transfer method
CN103888452B (en) For the order-preserving method and device of message compression
JP2802228B2 (en) Data transfer method using packet switching
CN100401671C (en) Method for transmitting files
Vestergaard et al. Enabling random access in universal compressors
EP2531939A1 (en) Method and system for compressing data records and for processing compressed data records
CN108509568A (en) A kind of data storage and management method and device
JP2002312250A (en) Transmission system, device and method
CN112328373A (en) Distributed simulation-oriented data distribution service DDS automatic discovery method
Bhargava et al. Communication costs in digital library databases
CN111935237B (en) Log processing method and system, electronic device and storage medium
JPH0520146A (en) Electronic bulletin board device
JPH11215176A (en) Repeater