JPH0955708A - Data compression and transfer system - Google Patents

Data compression and transfer system

Info

Publication number
JPH0955708A
JPH0955708A JP20574095A JP20574095A JPH0955708A JP H0955708 A JPH0955708 A JP H0955708A JP 20574095 A JP20574095 A JP 20574095A JP 20574095 A JP20574095 A JP 20574095A JP H0955708 A JPH0955708 A JP H0955708A
Authority
JP
Japan
Prior art keywords
data
character
unit
reproduction information
reproduction
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.)
Withdrawn
Application number
JP20574095A
Other languages
Japanese (ja)
Inventor
Shoichiro Doi
正一郎 土井
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP20574095A priority Critical patent/JPH0955708A/en
Publication of JPH0955708A publication Critical patent/JPH0955708A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a data compressing means which displays an effect even on data wherein characters are not successive as to the data compression and transfer system of a data transfer system. SOLUTION: Of the data transfer system which transfers input data to a transmission side device 100 to a reception side device 200 through a transfer path 300, the transmission side device is provided with a repeated part deleting means 101 which retrieves and deletes partial data appearing plural times in the input data from the input data, a reproduction information generating means 102 which generates reproduction information indicating the use range of the data after deletion when the input data are reproduced, and a reproduction information adding means 103 which adds the reproduction information to the data after deletion and transfers them to the reception side device 200 through the transfer line 300. The reception side device 200 is provided with a reproduction information separating means 201 which separates the reproduction information from the received data after deletion and a reproducing means 202 which generates repeated partial data from the data after deletion according to the reproduction information to reproduce the input 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 compression transfer method in a data transfer system, and more particularly to a data compression system in a data transfer system for transferring input data input to a transmission side device to a reception side device via a transfer path. Regarding transfer method.

【0002】[0002]

【従来の技術】図11は本発明の対象となるデータ転送
システムを例示する図であり、図12は従来ある処理装
置を例示する図であり、図13は図12におけるデータ
圧縮状況を例示する図である。
2. Description of the Related Art FIG. 11 is a diagram illustrating a data transfer system to which the present invention is applied, FIG. 12 is a diagram illustrating a conventional processing device, and FIG. 13 is a data compression situation in FIG. It is a figure.

【0003】図11には、本発明の対象となるデータ転
送システムとして、交換機の遠隔保守システムが例示さ
れている。図11において、複数の交換機(1)は、そ
れぞれ通話路装置(2)、処理装置(3)およびファイ
ルメモリ(4)を具備しており、通話路装置(2)に収
容される図示されぬ加入者相互を、処理装置(3)の制
御の下に交換接続を行う。
FIG. 11 illustrates a remote maintenance system for an exchange as a data transfer system to which the present invention is applied. In FIG. 11, the plurality of exchanges (1) are respectively provided with a speech path device (2), a processing device (3) and a file memory (4), and are not shown in the figure and accommodated in the speech path device (2). Switching connection is established between the subscribers under the control of the processing unit (3).

【0004】なおファイルメモリ(4)内には、処理装
置(3)が交換処理を実行するに必要なシステムファイ
ルおよび局データ、並びに交換機(1)の運用結果を記
録する運用データ等が格納されている。
The file memory (4) stores system files and station data necessary for the processor (3) to execute the exchange process, and operation data for recording the operation result of the exchange (1). ing.

【0005】また各交換機(1)は、それぞれ通信回線
(5)を経由して遠隔保守装置(6)に接続されてい
る。遠隔保守装置(6)は、処理装置(7)およびファ
イルメモリ(8)を具備しており、各交換機(1)の運
用状況を監視する為に、各交換機(1)のファイルメモ
リ(4)に格納されている運用データを通信回線(5)
を経由して収集し、ファイルメモリ(8)に格納し、ま
た各交換機(1)が使用するシステムファイルを更新す
る為に、ファイルメモリ(8)に格納されている更新済
システムファイルを、通信回線(5)を経由して各交換
機(1)のファイルメモリ(4)にダウンロードする。
Each exchange (1) is connected to a remote maintenance device (6) via a communication line (5). The remote maintenance device (6) comprises a processing device (7) and a file memory (8), and in order to monitor the operation status of each exchange (1), the file memory (4) of each exchange (1). Operation data stored in the communication line (5)
The updated system file stored in the file memory (8) is communicated in order to collect it via the network, store it in the file memory (8), and update the system file used by each exchange (1). Download to the file memory (4) of each exchange (1) via the line (5).

【0006】各交換機(1)の処理装置(3)は、遠隔
保守装置(6)から運用データの転送指令を受信する
と、ファイルメモリ(4)から運用データを読出し、通
話路装置(2)および通信回線(5)を経由して遠隔保
守装置(6)へ転送し、また遠隔保守装置(6)からシ
ステムファイルのダウンロード指令を受信すると、遠隔
保守装置(6)から通信回線(5)を経由して転送され
るシステムファイルを受信し、ファイルメモリ(4)へ
格納する必要がある。
When the processing device (3) of each exchange (1) receives the operation data transfer command from the remote maintenance device (6), it reads the operation data from the file memory (4), and the communication path device (2) and When it is transferred to the remote maintenance device (6) via the communication line (5) and a system file download command is received from the remote maintenance device (6), the remote maintenance device (6) passes through the communication line (5). It is necessary to receive the system file that is transferred in the following manner and store it in the file memory (4).

【0007】処理装置(3)は、運用データ或いはシス
テムファイルの転送に要する負荷を極力軽減し、交換処
理能力を圧迫することを防止する為に、図12に示され
る如きデータ転送システムを具備していた。
The processing device (3) is equipped with a data transfer system as shown in FIG. 12 in order to reduce the load required to transfer the operational data or the system file as much as possible and prevent the replacement processing capacity from being pressed. Was there.

【0008】図12において、ファイル読出部(31)
は、ファイルメモリ(4)から指定された運用データ等
の転送対象とするデータ〔例えば図13(a) に示される
圧縮前データ〕を読出し、ゼロ圧縮部(32)に伝達す
る。
In FIG. 12, a file reading section (31)
Reads out data to be transferred (for example, pre-compression data shown in FIG. 13A) such as designated operation data from the file memory (4) and transmits it to the zero compression unit (32).

【0009】図13(a) に示される圧縮前データは、第
0番目に文字(A)が配列し、第1番目に文字(B)が
配列した後、第2番目から第51番目迄、文字(0)が
連続して50個配列し、第52番目に文字(C)が配列
し、第53番目に文字(0)が配列し、更に第54番目
に文字(D)が配列している。
In the pre-compression data shown in FIG. 13A, the character (A) is arranged at the 0th position, the character (B) is arranged at the 1st position, and then the second to 51st characters are arranged. 50 characters (0) are arranged consecutively, the character (C) is arranged at the 52nd position, the character (0) is arranged at the 53rd position, and the character (D) is arranged at the 54th position. There is.

【0010】ゼロ圧縮部(32)は、入力された圧縮前
データの内、文字(0)以外はその儘圧縮済データに配
列するが、文字(0)のみは、一個の文字(0)と、配
列する文字数とに変換し、図13(b) に示される如き圧
縮済データを作成する。
The zero compression section (32) arranges the input pre-compression data other than the character (0) in the same compressed data, but only the character (0) becomes one character (0). , And the number of characters to be arranged to create compressed data as shown in FIG. 13 (b).

【0011】その結果、圧縮前データの第0文字(A)
および第1文字(B)は、その儘圧縮済データの第0文
字および第1文字として配列するが、圧縮前データの第
2番目から第51番目迄、連続して50個配列した文字
(0)は、一個の文字(0)と、文字(50)とに変換
し、それぞれ圧縮済データの第2文字および第3文字に
配列する。
As a result, the 0th character (A) of the uncompressed data
The first character (B) and the first character (B) are arranged as the 0th character and the 1st character of the same compressed data, but the 50th character (0 ) Is converted into one character (0) and one character (50) and arranged in the second and third characters of the compressed data, respectively.

【0012】また圧縮前データの第52文字(C)は、
その儘圧縮済データの第4文字に配列するが、圧縮前デ
ータの第53文字(0)は、一個の文字(0)と、文字
(1)とに変換し、それぞれ圧縮済データの第5文字お
よび第6文字に配列する。
The 52nd character (C) of the uncompressed data is
The fourth character of the compressed data is arranged, but the 53rd character (0) of the uncompressed data is converted into a single character (0) and a character (1), and the fifth character of the compressed data is obtained. Arrange to the character and the 6th character.

【0013】最後に圧縮前データの第54文字(D)
は、その儘圧縮済データの第7文字に配列する。以上に
より、ゼロ圧縮部(32)は、55文字から構成されて
いた圧縮前データを、7文字から構成される圧縮済デー
タに圧縮した後、送信部(33)に伝達する。
Finally, the 54th character (D) of the uncompressed data
Is arranged in the seventh character of the compressed data. As described above, the zero compression unit (32) compresses the uncompressed data composed of 55 characters into the compressed data composed of 7 characters, and then transmits the compressed data to the transmission unit (33).

【0014】送信部(33)は、ゼロ圧縮部(32)か
ら伝達された圧縮済データを、通話路装置(2)を介し
て通信回線(5)に送出し、遠隔保守装置(6)へ転送
する。
The transmission unit (33) sends the compressed data transmitted from the zero compression unit (32) to the communication line (5) via the communication path device (2) and sends it to the remote maintenance device (6). Forward.

【0015】一方、遠隔保守装置(6)における処理装
置(7)が、システムファイル等の転送対象とするデー
タ〔例えば図13(a) に示される圧縮前データ〕をファ
イルメモリ(8)から読出し、処理装置(3)における
ゼロ圧縮部(32)と同様のゼロ圧縮処理を施し、図1
3(b) に示される圧縮済データを作成し、通信回線
(5)を経由して交換機(1)に転送したとする。
On the other hand, the processing device (7) in the remote maintenance device (6) reads out data to be transferred such as a system file [for example, uncompressed data shown in FIG. 13 (a)] from the file memory (8). 1, the same zero compression processing as the zero compression section (32) in the processing device (3) is performed.
It is assumed that the compressed data shown in 3 (b) is created and transferred to the exchange (1) via the communication line (5).

【0016】交換機(1)においては、処理装置(3)
内の受信部(34)が、通信回線(5)から到着する圧
縮済データを、通話路装置(2)を介して受信すると、
ゼロ再生部(35)に伝達する。
In the exchange (1), the processing device (3)
When the receiving unit (34) therein receives the compressed data arriving from the communication line (5) via the communication path device (2),
It is transmitted to the zero reproducing unit (35).

【0017】ゼロ再生部(35)は、受信部(34)か
ら伝達された圧縮済データの内、文字(0)以外はその
儘再生データに配列するが、文字(0)のみは、文字
(0)に続いて配列されている文字が示す数だけ文字
(0)を連続して配列し、図13(a) に示される如き圧
縮前データと同一の再生データを再生する。
The zero reproducing section (35) arranges the compressed data transmitted from the receiving section (34) except the character (0) in the normal reproducing data, but only the character (0) is converted into the character ( Characters (0) are consecutively arranged by the number indicated by the character arranged following (0) to reproduce the same reproduction data as the pre-compression data as shown in FIG. 13 (a).

【0018】その結果、圧縮済データの第0文字(A)
および第1文字(B)は、その儘再生データの第0文字
および第1文字として配列するが、圧縮済データの第2
文字(0)は、続く第3文字(50)が示す数だけ連続
して、再生データの第2番目から第51番目迄配列す
る。
As a result, the 0th character (A) of the compressed data
And the first character (B) are arranged as the 0th character and the 1st character of the normal reproduction data, but the 2nd character of the compressed data is arranged.
The character (0) is continuously arranged by the number indicated by the following third character (50) from the second to the 51st of the reproduction data.

【0019】また圧縮済データの第4文字(C)は、そ
の儘再生データの第52文字に配列するが、圧縮済デー
タの第5文字(0)は、続く第6文字(1)が示す数だ
け、再生データの第53文字として配列する。
The fourth character (C) of the compressed data is arranged in the 52nd character of the normal reproduction data, and the fifth character (0) of the compressed data is indicated by the following sixth character (1). Arrange as many as the 53rd character of the reproduction data.

【0020】最後に圧縮済データの第7文字(D)は、
その儘再生データの第54文字に配列する。以上によ
り、ゼロ再生部(35)は、7文字から構成されていた
圧縮済データを、圧縮前データと同じ55文字から構成
されていた圧縮前データに再生した後、ファイル書込部
(36)に伝達する。
Finally, the seventh character (D) of the compressed data is
It is arranged in the 54th character of the normal reproduction data. As described above, the zero reproducing unit (35) reproduces the compressed data composed of 7 characters into the uncompressed data composed of 55 characters which is the same as the uncompressed data, and then the file writing unit (36). Communicate to.

【0021】ファイル書込部(36)は、ゼロ再生部
(35)から伝達された再生データを、ファイルメモリ
(4)に格納する。
The file writing unit (36) stores the reproduction data transmitted from the zero reproduction unit (35) in the file memory (4).

【0022】[0022]

【発明が解決しようとする課題】以上の説明から明らか
な如く、従来あるデータ転送システムにおいては、ゼロ
圧縮部(32)が連続する文字(0)を、一個の文字
(0)と、文字(0)の連続文字数に変換していた為、
例えば文字(0)の連続数が50個等と大きい場合に
は、圧縮効果が大きいが、連続数が1個等と小さい場合
には、寧ろ文字数が増加して逆効果となる問題があり、
また文字(0)がデータ内に出現しなかった場合には、
圧縮効果が全く発揮出来ぬ問題があった。
As is clear from the above description, in the conventional data transfer system, the character (0) in which the zero compression section (32) is continuous is converted into a character (0) and a character (0). Since it was converted to the number of consecutive characters of 0),
For example, when the number of consecutive characters (0) is large, such as 50, the compression effect is large, but when the number of consecutive characters is small, such as 1, the number of characters is rather increased and there is a problem that the opposite effect occurs.
If the character (0) does not appear in the data,
There was a problem that the compression effect could not be exhibited at all.

【0023】本発明は、文字(0)が連続しないデータ
に対しても効果を発揮し得るデータ圧縮手段を実現する
ことを目的とする。
It is an object of the present invention to realize a data compression means which can exert an effect even on data in which characters (0) are not continuous.

【0024】[0024]

【課題を解決するための手段】図1は本発明の原理図で
ある。図1において、100は送信側装置、200は受
信側装置、300は転送路であり、データ転送システム
を構成する。
FIG. 1 is a diagram illustrating the principle of the present invention. In FIG. 1, reference numeral 100 is a transmission side apparatus, 200 is a reception side apparatus, and 300 is a transfer path, which constitutes a data transfer system.

【0025】101は、本発明により送信側装置(10
0)に設けられた重複部分削除手段である。102は、
本発明により送信側装置(100)に設けられた再生情
報作成手段である。
Reference numeral 101 denotes a transmitting side device (10
It is a duplicated portion deleting means provided in 0). 102 is
The reproduction information creating means is provided in the transmission side device (100) according to the present invention.

【0026】103は、本発明により送信側装置(10
0)に設けられた再生情報付加手段である。201は、
本発明により受信側装置(200)に設けられた再生情
報分離手段である。
Reference numeral 103 denotes a transmitting side device (10
0) is a reproduction information adding means. 201 is
The reproduction information separating means is provided in the receiving side device (200) according to the present invention.

【0027】202は、本発明により送信側装置(10
0)に設けられた再生手段である。重複部分削除手段
(101)は、入力データ内に複数回重複して出現する
部分データを検索し、検出した重複部分データを入力デ
ータから削除し、削除済データを作成する。
Reference numeral 202 denotes a transmitting side device (10
It is a reproducing means provided in 0). The overlapping part deleting means (101) searches for partial data that appears multiple times in the input data, deletes the detected overlapping part data from the input data, and creates deleted data.

【0028】再生情報作成手段(102)は、重複部分
削除手段(101)が作成した削除済データから入力デ
ータを再生する為に、削除済データの使用範囲を示す再
生情報を作成する。
The reproduction information creating means (102) creates reproduction information indicating the use range of the deleted data in order to reproduce the input data from the deleted data created by the overlapping portion deleting means (101).

【0029】再生情報付加手段(103)は、重複部分
削除手段(101)が重複部分を削除した後の削除済デ
ータに、再生情報作成手段(102)が作成した再生情
報を付加し、転送路(300)を経由して受信側装置
(200)に転送する。
The reproduction information adding means (103) adds the reproduction information created by the reproduction information creating means (102) to the deleted data after the overlapping part deleting means (101) deletes the overlapping part, and transfers the transfer path. Transfer to the receiving device (200) via (300).

【0030】再生情報分離手段(201)は、送信側装
置(100)から転送路(300)を経由して転送され
る削除済データから再生情報を分離する。再生手段(2
02)は、再生情報分離手段(201)が分離した再生
情報を解析することにより、重複部分削除手段(10
1)により削除された重複部分データを削除済データか
ら作成し、入力データを再生する。
The reproduction information separating means (201) separates the reproduction information from the deleted data transferred from the transmission side device (100) via the transfer path (300). Reproduction means (2
02) analyzes the reproduction information separated by the reproduction information separating means (201), thereby deleting the overlapping portion deleting means (10).
The overlapping portion data deleted in 1) is created from the deleted data, and the input data is reproduced.

【0031】なお再生情報作成手段(102)は、再生
情報を、入力データを再生する為に、削除済データ内の
使用範囲の先頭位置と使用範囲のデータ長とを、入力デ
ータの再生順に配列して生成することが考慮される。
The reproduction information creating means (102) arranges the reproduction information, in order to reproduce the input data, the start position of the usage range and the data length of the usage range in the deleted data in the order of reproduction of the input data. And then generated.

【0032】また重複部分削除手段(101)は、入力
データを構成する単位データを、該単位データの順序番
号の小さいものから順次抽出し、抽出した単位データの
順序番号より小さい順序番号を有する単位データを重複
の比較対象とする単位データとして、順序番号の降順に
順次比較することにより、抽出した単位データの重複の
有無を検索することが考慮される。
Further, the overlapping part deleting means (101) sequentially extracts the unit data constituting the input data from the unit data having the smallest sequence number, and the unit having the sequence number smaller than the sequence number of the extracted unit data. It is considered to search for the presence or absence of duplication of the extracted unit data by sequentially comparing the data as unit data to be compared for duplication in descending order of sequence numbers.

【0033】また重複部分削除手段(101)は、抽出
した単位データの比較対象とする単位データの数を、予
め定められた閾値の範囲内に限定することが考慮され
る。また重複部分削除手段(101)は、抽出した単位
データと重複する比較対象とする単位データを検出した
場合に、抽出した単位データより順序番号の大きい単位
データと、重複する比較対象とする単位データより順序
番号の大きい単位データとを、各順序番号の昇順に比較
し、連続する複数の単位データの重複の有無を検索する
ことが考慮される。
Further, it is considered that the overlapping part deleting means (101) limits the number of unit data to be compared with the extracted unit data within the range of a predetermined threshold value. Further, when the overlapping portion deleting means (101) detects the unit data to be compared that overlaps with the extracted unit data, the unit data having a larger order number than the extracted unit data and the unit data to be overlapped are compared. It may be considered to compare unit data having a larger sequence number with each sequence number in ascending order to search for the presence or absence of duplication of a plurality of consecutive unit data.

【0034】また重複部分削除手段(101)は、連続
して抽出した複数の単位データと重複する連続する比較
対象とする単位データを検出した場合に、連続単位デー
タ数が予め定められた閾値より大きい場合に限り、連続
して重複を検出された単位データを削除することが考慮
される。
The overlapping portion deleting means (101) determines the number of continuous unit data from a predetermined threshold value when detecting continuous unit data to be compared, which overlaps with a plurality of continuously extracted unit data. Only when it is large, it is considered to delete the unit data in which duplicates are continuously detected.

【0035】また重複部分削除手段(101)は、連続
して抽出した複数の単位データと重複する連続する比較
対象とする単位データを複数組検出し、検出された各組
の連続単位データ数を比較し、最大の連続単位データ数
を有する組を重複検出の対象とすることが考慮される。
The overlapping portion deleting means (101) detects a plurality of sets of continuous unit data to be compared, which overlaps with a plurality of continuously extracted unit data, and detects the number of continuous unit data of each detected set. In comparison, it is considered that the set having the maximum number of consecutive unit data is the target of duplicate detection.

【0036】また送信側装置(100)は、転送路(3
00)の輻輳状態を監視し、転送路(300)の輻輳程
度に対応して、重複部分削除手段(101)の稼働・停
止を制御し、または前記重複部分削除手段(101)に
対する入力データの単位データ数を変更し、または前記
重複部分削除手段(101)の重複検索範囲を変更する
ことが考慮される。
Further, the transmission side device (100) has a transfer path (3
00) for monitoring the congestion state and controlling the operation / stop of the duplicated portion deleting means (101) according to the degree of congestion of the transfer path (300), or the input data to the duplicated portion deleting means (101). It is considered that the number of unit data is changed or the duplicate search range of the duplicate part deleting means (101) is changed.

【0037】更に送信側装置(100)は、重複部分削
除手段(101)の輻輳状態を監視し、重複部分削除手
段(101)の輻輳程度に対応して、重複部分削除手段
(101)の稼働・停止を制御し、または重複部分削除
手段(101)に対する入力データの単位データ数を変
更し、または重複部分削除手段(101)の重複検索範
囲を変更することが考慮される。
Further, the transmission side device (100) monitors the congestion state of the duplicated portion deleting means (101), and operates the duplicated portion deleting means (101) according to the congestion degree of the duplicated portion deleting means (101). It is considered to control the stop or change the unit data number of the input data to the duplicated portion deleting means (101) or change the duplicate search range of the duplicated portion deleting means (101).

【0038】従って、連続する文字「0」を含まぬ入力
データに対しても、重複する単位データを検索して削除
することにより転送データを圧縮することが可能とな
り、またデータ転送システムの輻輳程度に応じて圧縮程
度を変更可能となり、当該データ転送システムのデータ
転送効率を大幅に向上可能となる。
Therefore, even for input data which does not include the continuous character "0", it is possible to compress the transfer data by searching for and deleting the overlapping unit data, and the degree of congestion of the data transfer system. The degree of compression can be changed according to the above, and the data transfer efficiency of the data transfer system can be greatly improved.

【0039】[0039]

【発明の実施の形態】以下、本発明の一実施例を図面に
より説明する。図2は本発明の一実施例による処理装置
を示す図であり、図3は図2における圧縮処理過程を例
示する図であり、図4は図3における索引データ編集処
理過程を例示する図であり、図5は図2における再生処
理過程を例示する図であり、図6は図2における応答時
間監視処理過程を例示する図であり、図7は図2におけ
る圧縮処理時間監視処理過程を例示する図であり、図8
は図2における圧縮データ構成を例示する図であり、図
9は図2によるデータ圧縮および再生状況(その一)を
例示する図であり、図10は図2によるデータ圧縮およ
び再生状況(その二)を例示する図である。なお、全図
を通じて同一符号は同一対象物を示す。また対象とする
データ転送システムは図11に示す通りとする。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to the drawings. 2 is a diagram illustrating a processing device according to an embodiment of the present invention, FIG. 3 is a diagram illustrating a compression processing process in FIG. 2, and FIG. 4 is a diagram illustrating an index data editing processing process in FIG. 5, FIG. 5 is a diagram illustrating the reproduction processing process in FIG. 2, FIG. 6 is a diagram illustrating the response time monitoring processing process in FIG. 2, and FIG. 7 is an example of the compression processing time monitoring processing process in FIG. 8 and FIG.
2 is a diagram showing an example of the compressed data structure in FIG. 2, FIG. 9 is a diagram showing an example of the data compression and reproduction state (part 1) according to FIG. 2, and FIG. 10 is a diagram showing the data compression and reproduction state according to FIG. 2 (part 2). FIG. The same reference numerals indicate the same objects throughout the drawings. The target data transfer system is as shown in FIG.

【0040】図11においては、図1における送信側装
置(100)および受信側装置(200)として処理装
置(3)が設けられており、また図1における転送路
(300)として通信回線(5)が設けられている。
In FIG. 11, a processing device (3) is provided as the transmission side device (100) and the reception side device (200) in FIG. 1, and the communication line (5) is provided as the transfer path (300) in FIG. ) Is provided.

【0041】また図2には、図11における処理装置
(3)内に設けられているデータ転送システムが示され
ており、ファイル読出部(31)、送信部(33)、受
信部(34)およびファイル書込部(36)は、図12
に示されると略同様の役割を果たし、圧縮部(37)内
に設けられている重複部検索部(371)および本文デ
ータメモリ(372)が図1における重複部分削除手段
(101)に対応し、また索引データ編集部(373)
および索引データメモリ(374)が図1における再生
情報作成手段(102)に対応し、更に転送データ組立
部(375)が図1における再生情報付加手段(10
3)に対応する。
FIG. 2 shows a data transfer system provided in the processing device (3) shown in FIG. 11, which includes a file reading unit (31), a transmitting unit (33) and a receiving unit (34). The file writing unit (36) is shown in FIG.
1, the duplicated portion search unit (371) and the text data memory (372) provided in the compression unit (37) correspond to the duplicated portion deleting unit (101) in FIG. , Again, index data editor (373)
The index data memory (374) corresponds to the reproduction information creating means (102) in FIG. 1, and the transfer data assembling section (375) further includes the reproduction information adding means (10) in FIG.
It corresponds to 3).

【0042】また再生部(38)内に設けられている転
送データ分解部(381)は図1における再生情報分離
手段(201)に対応し、また再生部(382)、作業
メモリ(383)および再生データメモリ(384)が
図1における再生手段(202)に対応する。
The transfer data decomposing section (381) provided in the reproducing section (38) corresponds to the reproduction information separating means (201) in FIG. 1, and the reproducing section (382), working memory (383) and The reproduction data memory (384) corresponds to the reproduction means (202) in FIG.

【0043】なお図2においては、図11に示される処
理装置(3)の内、圧縮および再生処理に関連する部分
のみが示され、その他の部分は省略されている。最初
に、本発明(請求項1乃至6)の実施例による圧縮処理
過程を、図2、図3、図8乃至図10を用いて説明す
る。
In FIG. 2, of the processing device (3) shown in FIG. 11, only the portion related to the compression and reproduction processing is shown, and the other portions are omitted. First, a compression processing process according to an embodiment of the present invention (claims 1 to 6) will be described with reference to FIGS. 2, 3, and 8 to 10.

【0044】図2、図3、図8乃至図10において、フ
ァイル読出部(31)は、ファイルメモリ(4)から指
定された転送対象とするデータ〔以後入力データブロッ
クと称する〕を読出し、圧縮部(37)に伝達する。
2, FIG. 3, and FIG. 8 to FIG. 10, the file reading unit (31) reads out the specified data to be transferred (hereinafter referred to as an input data block) from the file memory (4) and compresses it. To the section (37).

【0045】入力データブロック(X1 )は、図8(a)
に示される如く、M個の文字(Ai)〔但しiは入力デ
ータブロック(X1 )内の文字番号を表し、1乃至M−
1の任意数を示す〕から構成されている。
The input data block (X 1 ) is shown in FIG.
, M characters (A i ) [where i is the character number in the input data block (X 1 ) and is 1 to M-
1 represents an arbitrary number].

【0046】例えば図9(a) および図10(a) に例示さ
れる入力データブロックは、何れも36個〔即ちi=3
6〕の英文字から構成されている。圧縮部(37)は、
図3に示される処理過程で、入力データブロック
(X1 )の圧縮処理を実行する。
For example, the input data blocks illustrated in FIGS. 9 (a) and 10 (a) are both 36 [that is, i = 3].
6] is composed of English letters. The compression unit (37)
In the process shown in FIG. 3, the compression process of the input data block (X 1 ) is executed.

【0047】図3において、ステップS32乃至S3B
を含む〔ループ1〕は、作業データ(i)を(0)から
(M−1)迄歩進させ乍ら、入力データブロック
(X1 )を構成する各文字(Ai )を一つ宛抽出し、圧
縮処理の対象とするものであり、またステップS33乃
至S3Aを含む〔ループ2〕は、作業データ(n)を
(1)から(i)迄歩進させ乍ら、これ迄に抽出済の文
字(A(i-n) )を順次抽出し、ループ1で抽出した文字
(Ai )と一致する抽出済の文字(A(i-n) )を検索す
るものである。
In FIG. 3, steps S32 to S3B
In the [loop 1] including, the work data (i) is stepped from (0) to (M-1), and each character (A i ) forming the input data block (X 1 ) is addressed to one. In the [loop 2] which is to be extracted and subjected to compression processing, and which includes steps S33 to S3A, the work data (n) is stepped from (1) to (i), and is extracted so far. The extracted characters (A (in) ) are sequentially extracted, and the extracted characters (A (in) ) that match the characters (A i ) extracted in loop 1 are searched.

【0048】なお〔ループ2〕における作業データ
(n)には上限〔以後検索範囲(S)と称する〕が設け
られており、検索時間、延いては圧縮処理時間が無制限
に延長することを防止している。
The work data (n) in the [loop 2] is provided with an upper limit [hereinafter referred to as the search range (S)] to prevent the search time, and thus the compression processing time, from being extended indefinitely. are doing.

【0049】またステップS37乃至S39を含む〔ル
ープ3〕は、〔ループ2〕により文字(Ai )と一致す
る抽出済の文字(A(i-n) )が検出された場合に、作業
データ(m)を(1)から順次歩進させることにより、
文字(Ai )に連続する文字(Ai+m )が、抽出済の文
字(A(i-n) )に連続する文字(A(i-n+m) )と一致す
るか否かを検索するものであり、作業データ(m)は、
連続的に一致が検出された文字(Ai )乃至
(A(i+m) )の個数に相当する。
The [loop 3] including steps S37 to S39 is the work data (m) when the extracted character (A (in) ) matching the character (A i ) is detected by the [loop 2]. ) By sequentially stepping from (1),
Consecutive characters in the character (A i) (A i + m) is, searches whether matches the consecutive characters to extract already letters (A (in)) (A (in + m)) The work data (m) is
This corresponds to the number of characters (A i ) to (A (i + m) ) for which a match is continuously detected.

【0050】なお文字数(m)個の連続一致文字列が検
出された場合にも、圧縮処理内容を受信側へ通知する為
には付加情報〔後述の索引データ(X2 )、図8(c) 参
照〕の文字数を充分上回るもので無ければ、圧縮効果は
得られぬ為、圧縮効果の有無を判定する数値〔以後圧縮
効果判定数(P)と称する〕が予め定められており、連
続文字数(m)が圧縮効果判定数(P)以上となるか否
かを確認の上〔図3ステップS3C〕、圧縮処理を実行
有無を判定している。
Even when a continuous matching character string of the number of characters (m) is detected, additional information [index data (X 2 ) described later, FIG. ), The compression effect cannot be obtained unless the number of characters is sufficiently larger. Therefore, the numerical value for determining the presence or absence of the compression effect [hereinafter referred to as the compression effect determination number (P)] is set in advance and the number of consecutive characters is determined. After confirming whether (m) is equal to or more than the compression effect determination number (P) [step S3C in FIG. 3], it is determined whether or not the compression processing is executed.

【0051】圧縮処理を実行しないと判定した場合に
は、入力データブロック(X1 )から抽出した文字(A
i )を、その儘受信側へ転送するデータ〔以後本文デー
タ(X 3 )と称する、図8(b) 参照〕を構成する文字
(Bj )〔但しjは本文データ(X3 )内の文字番号を
表す〕として、本文データメモリ(372)に格納する
〔図3ステップS3F〕。
When it is determined that the compression processing is not executed,
Is the input data block (X1) Character extracted from (A
i) Is transferred to the receiving side (hereinafter referred to as text data).
(X Three), Refer to FIG. 8 (b)]
(Bj) [However, j is the text data (XThree) Character number
Stored in the text data memory (372)
[FIG. 3 Step S3F].

【0052】また圧縮処理を実行すると判定した場合に
は、入力データブロック(X1 )から抽出した文字(A
i )を、本文データ(X3 )を構成する文字(Bj )と
して本文データメモリ(372)に格納せず、圧縮範囲
を受信側へ通知する索引データ(X2 )〔図8(c) 参
照〕を構成する先頭文字の文字番号(j)〔以後開始位
置(CkS)と称する〕および連続文字数(m)〔以後列
長(CkL)と称する〕として、索引データメモリ(37
4)に格納する〔図3ステップS3D〕。
If it is determined that the compression process is to be executed, the character (A) extracted from the input data block (X 1 )
i ) is not stored in the body data memory (372) as characters (B j ) forming the body data (X 3 ), and index data (X 2 ) for notifying the receiving side of the compression range (FIG. 8 (c)) Index data memory (37) as a character number (j) [hereinafter referred to as a start position (C kS )] and a continuous character number (m) [hereinafter referred to as a column length (C kL )] of the first character constituting the
4) (step S3D in FIG. 3).

【0053】なお本文データ(X3 )に対しても、同様
の索引データ(X2 )を作成し、索引データメモリ(3
74)に格納している〔図3ステップS3F〕。重複部
検索部(371)による入力データブロック(X1 )か
ら索引データ(X2 )および本文データ(X3 )への圧
縮処理が終了すると、転送データ組立部(375)は、
本文データメモリ(372)に格納された本文データ
(X3 )と、索引データメモリ(374)に格納された
索引データ(X2 )を抽出し、図8(d) に示される如き
転送データ(X4 )を組立てる。
Similar index data (X 2 ) is created for the body data (X 3 ) and the index data memory (3
74) (FIG. 3, step S3F). When the compression processing from the input data block (X 1 ) to the index data (X 2 ) and the body data (X 3 ) by the duplicated portion search unit (371) is completed, the transfer data assembly unit (375)
The body data (X 3 ) stored in the body data memory (372) and the index data (X 2 ) stored in the index data memory (374) are extracted, and transfer data (X 3 ) shown in FIG. Assemble X 4 ).

【0054】図8(d) において、転送データ(X4 )の
第0文字(D0 )は圧縮処理の有無を示す圧縮フラグ
(FCMP )〔圧縮実行の場合はFCMP =論理“1”、圧
縮不実行の場合はFCMP =論理“0”〕であり、第1文
字(D1 )は索引データ(X2)の先頭位置(HX2)を
示し、第2文字(D2 )は索引データ(X2 )の列長
(LX2)を示し、第3文字(D3 )は本文データ
(X3 )の先頭位置(SX3)を示し、第4文字(D4
は本文データ(X3 )の列長(LX3)を示し、第5文字
(D5 )以降に、索引データ(X2 )および本文データ
(X3 )が配列する。
In FIG. 8 (d), the 0th character (D 0 ) of the transfer data (X 4 ) is a compression flag ( FCMP ) indicating the presence / absence of compression processing [ FCMP = logical "1" when compression is executed). , C CMP = logical “0”] when compression is not executed, the first character (D 1 ) indicates the start position (H X2 ) of the index data (X 2 ), and the second character (D 2 ) indicates Indicates the column length (L X2 ) of the index data (X 2 ), the third character (D 3 ) indicates the start position (S X3 ) of the body data (X 3 ), and the fourth character (D 4 ).
Indicates the column length (L X3 ) of the body data (X 3 ), and the index data (X 2 ) and the body data (X 3 ) are arranged after the fifth character (D 5 ).

【0055】以上の圧縮処理過程を、図9および図10
に示される入力データブロックを対象として説明する。
最初に、図9に示される入力データブロック(X1
が、圧縮部(37)に入力されたとする。
The above compression process is shown in FIG. 9 and FIG.
The input data block shown in FIG.
First, the input data block (X 1 ) shown in FIG.
Is input to the compression unit (37).

【0056】重複部検索部(371)は、入力データブ
ロック(X1 )の第0文字(A0 =A)乃至第10文字
(A10=K)迄を順次抽出し、重複する抽出済文字を検
索した結果、何れも抽出済文字と一致しないことから、
何れも本文データ(X3 )の第0文字(B0 =A)乃至
第10文字(B10=K)として本文データメモリ(37
2)に格納すると共に、索引データ(X2 )の第0開始
位置(C0S=(0))および第0列長(C0L=(1
1))を、索引データメモリ(374)に格納する。
The duplication part search unit (371) sequentially extracts the 0th character (A 0 = A) to the 10th character (A 10 = K) of the input data block (X 1 ) and repeats the extracted character. As a result of searching for, none of them match the extracted characters,
In any case, the body data memory (37) is used as the 0th character (B 0 = A) to the 10th character (B 10 = K) of the body data (X 3 ).
2) and stores the index data (X 2 ) at the 0th start position (C 0S = (0)) and the 0th column length (C 0L = (1
1)) is stored in the index data memory (374).

【0057】次に入力データブロック(X1 )の第11
文字(A11=K)を抽出し、重複する抽出済文字を検索
した場合に、最初〔n=1〕に比較した第10文字(A
10=K)と一致することを検出すると、第11文字(A
11=K)に続く第12文字(A12=K)以降と、比較対
象とした第10文字(A10=K)に続く第11文字(A
11=K)以降とを順次比較し、第25文字(A25=K)
迄が第24文字(A24=K)と一致し、第26文字(A
26=L)が第25文字(A25=K)と一致しないことを
検出し〔m=15〕、且つ文字数〔m=15〕が圧縮効
果判定数(P)より大きく、圧縮効果が有ることを確認
すると、第11文字(A11=K)乃至第25文字(A25
=K)は本文データ(X3 )に格納せず、索引データ
(X2 )の第1開始位置(C1S=(10))および第0
列長(C1L=15)のみを、索引データメモリ(37
4)に格納する。
Next, the eleventh input data block (X 1 )
When a character (A 11 = K) is extracted and a duplicate extracted character is searched for, the 10th character (A
When it is detected that 10 = K), the 11th character (A
11th character (A 12 = K) and subsequent 11th character (A 10 = K) and 11th character (A 10 = K)
11 = K) and the subsequent characters are sequentially compared, and the 25th character (A 25 = K)
Up to the 24th character (A 24 = K), the 26th character (A 24
It is detected that 26 = L) does not match the 25th character (A 25 = K) [m = 15], and the number of characters [m = 15] is larger than the number of compression effect judgments (P) and there is a compression effect. , The 11th character (A 11 = K) to the 25th character (A 25
= K) is not stored in the body data (X 3 ), but the first start position (C 1S = (10)) and the 0th position of the index data (X 2 ) are stored.
Only the column length (C 1L = 15) is stored in the index data memory (37
4).

【0058】続いて重複部検索部(371)は、入力デ
ータブロック(X1 )の第26文字(A26=L)乃至第
35文字(A35=U)を順次抽出し、何れも抽出済文字
と一致しないことから、何れも本文データ(X3 )の第
11文字(B11=L)乃至第20文字(B20=U)とし
て本文データメモリ(372)に格納すると共に、索引
データ(X2 )の第2開始位置(C1S=(26))およ
び第1列長(C1L=10)を、索引データメモリ(37
4)に格納する。
Subsequently, the duplicated portion search unit (371) sequentially extracts the 26th character (A 26 = L) to the 35th character (A 35 = U) of the input data block (X 1 ) and all have been extracted. Since they do not match the characters, they are stored in the body data memory (372) as the 11th character (B 11 = L) to the 20th character (B 20 = U) of the body data (X 3 ) and the index data ( The second start position (C 1S = (26)) and the first column length (C 1L = 10) of X 2 ) are stored in the index data memory (37).
4).

【0059】次に転送データ組立部(375)は、本文
データメモリ(372)から本文データ(X3 )を抽出
し、また索引データメモリ(374)から索引データ
(X2)を抽出し、圧縮フラグ(FCMP =論理
“1”)、索引データ(X2 )の先頭位置(HX2=5)
および列長(LX2=12)、本文データ(X3 )の先頭
位置(H X3=17)および列長(LX3=21)を付加
し、図9(d) に示される如き転送データ(X4 )を組立
て、送信部(33)に伝達する。
Next, the transfer data assembling unit (375)
From the data memory (372), the text data (XThree) Extract
The index data from the index data memory (374).
(X2) Is extracted and the compression flag (FCMP= Logic
"1"), index data (X2) Start position (HX2= 5)
And column length (LX2= 12), body data (XThree) Beginning
Position (H X3= 17) and the column length (LX3= 21) is added
Then, transfer data (XFour) Assembled
And transmits it to the transmitter (33).

【0060】以上により、抽出文字(A11)との一致
を、直前に抽出済の文字(A10)から文字番号(i)の
降順に検索することにより、同一文字(K)が連続する
場合に、探索処理が大幅に単純化される。
As described above, when the same character (K) continues by searching for a match with the extracted character (A 11 ) in descending order of the character number (i) from the character (A 10 ) that has been extracted immediately before. In addition, the search process is greatly simplified.

【0061】次に、図10に示される入力データブロッ
ク(X1 )が、圧縮部(37)に入力されたとする。重
複部検索部(371)は、入力データブロック(X1
の第0文字(A0 =A)乃至第10文字(A10=K)迄
を順次抽出し、重複する抽出済文字を検索した結果、何
れも抽出済文字と一致しないことから、何れも本文デー
タ(X3 )の第0文字(B0 =A)乃至第10文字(B
10=K)として本文データメモリ(372)に格納する
と共に、索引データ(X2 )の第0開始位置(C0S
0)および第0列長(C0L=11)を、索引データメモ
リ(374)に格納する。
Next, it is assumed that the input data block (X 1 ) shown in FIG. 10 is input to the compression section (37). The duplication part search unit (371) uses the input data block (X 1 )
The 0th character (A 0 = A) to the 10th character (A 10 = K) are sequentially extracted, and as a result of searching for duplicate extracted characters, none of them match with the extracted characters. The 0th character (B 0 = A) to the 10th character (B) of the data (X 3 ).
10 = K) is stored in the body data memory (372) and the 0th start position (C 0S =) of the index data (X 2 ) is stored.
0) and the 0th column length (C 0L = 11) are stored in the index data memory (374).

【0062】次に入力データブロック(X1 )の第11
文字(A11=A)を抽出し、重複する抽出済文字を検索
した結果、最後〔n=11〕に比較した第0文字(A0
=A)と一致することを検出すると、第11文字(A11
=A)に続く第12文字(A 12=B)以降と、比較対象
とした第0文字(A0 =A)に続く第1文字(A1
B)以降とを順次比較し、第14文字(A14=D)迄が
第3文字(A3 =D)と一致し、第15文字(A15
H)が第4文字(A4 =E)と一致しないことを検出し
〔m=4〕、且つ文字数〔m=4〕が圧縮効果判定数
(P)より大きく、圧縮効果が有ることを確認すると、
第11文字(A11=A)乃至第14文字(A14=D)は
本文データ(X3 )に格納せず、索引データ(X2 )の
第1開始位置(C1S=0)および第1列長(C1L=4)
のみを、索引データメモリ(374)に格納する。
Next, the input data block (X1) Of 11
Letter (A11= A) and search for duplicate extracted characters
As a result, the 0th character (A0
= A), the 11th character (A11
= A) and the 12th character (A 12= B) or later and comparison target
0th character (A0= A) followed by the first character (A1=
B) and subsequent ones are sequentially compared, and the 14th character (A14Up to = D)
Third character (AThree= D), the 15th character (AFifteen=
H is the fourth character (AFour= E)
[M = 4] and the number of characters [m = 4] is the compression effect determination number
When it is confirmed that the compression effect is larger than (P),
11th character (A11= A) to the 14th character (A14= D)
Body data (XThree), The index data (X2)of
First start position (C1S= 0) and the first column length (C1L= 4)
Only stored in the index data memory (374).

【0063】続いて重複部検索部(371)は、入力デ
ータブロック(X1 )の第15文字(A15=H)乃至第
18文字(A18=K)を順次抽出し、前述と同様の過程
により、抽出済の第7文字(A7 =H)乃至第10文字
(A10=K)とそれぞれ一致することを検出し、且つ圧
縮効果を確認すると、第15文字(A15=H)乃至第1
8文字(A15=K)は本文データ(X3 )に格納せず、
索引データ(X2 )の第2開始位置(C2S=7)および
第2列長(C2L=4)のみを、索引データメモリ(37
4)に格納する。
Subsequently, the duplicated portion search unit (371) sequentially extracts the 15th character (A 15 = H) to the 18th character (A 18 = K) of the input data block (X 1 ) and performs the same process as described above. Through the process, it is detected that the extracted 7th character (A 7 = H) to the 10th character (A 10 = K) are respectively matched, and the compression effect is confirmed. Then, the 15th character (A 15 = H) is detected. Through first
Eight characters (A 15 = K) are not stored in the text data (X 3 ),
Only the second start position (C 2S = 7) and the second column length (C 2L = 4) of the index data (X 2 ) are stored in the index data memory (37
4).

【0064】続いて重複部検索部(371)は、入力デ
ータブロック(X1 )の第19文字(A19=L)乃至第
22文字(A22=O)を順次抽出し、前述と同様の過程
により、何れも抽出済文字と一致しないことから、何れ
も本文データ(X3 )の第11文字(B11=L)乃至第
14文字(B14=O)として本文データメモリ(37
2)に格納すると共に、索引データ(X2 )の第3開始
位置(C3S=19)および第3列長(C3L=4)を、索
引データメモリ(374)に格納する。
Subsequently, the duplicated portion search unit (371) sequentially extracts the 19th character (A 19 = L) to the 22nd character (A 22 = O) of the input data block (X 1 ) and performs the same processing as described above. According to the process, none of the characters match the extracted characters, so that none of the 11th character (B 11 = L) to 14th character (B 14 = O) of the body data (X 3 ) is stored in the body data memory (37).
2), the third start position (C 3S = 19) and the third column length (C 3L = 4) of the index data (X 2 ) are stored in the index data memory (374).

【0065】続いて重複部検索部(371)は、入力デ
ータブロック(X1 )の第23文字(A23=H)乃至第
26文字(A26=K)を順次抽出し、前述と同様の過程
により、抽出済の第15文字(A15=H)乃至第18文
字(A18=K)とそれぞれ一致することを検出し、且つ
圧縮効果を確認すると、第23文字(A23=H)乃至第
26文字(A26=K)は本文データ(X3 )に格納せ
ず、索引データ(X2 )の第4開始位置(C4S=15)
および第4列長(C4L=4)のみを、索引データメモリ
(374)に格納する。
Subsequently, the duplication part search unit (371) sequentially extracts the 23rd character (A 23 = H) to the 26th character (A 26 = K) of the input data block (X 1 ) and performs the same processing as described above. By the process, it is detected that the extracted 15th character (A 15 = H) to the 18th character (A 18 = K) respectively match, and the compression effect is confirmed, the 23rd character (A 23 = H) The 26th character (A 26 = K) is not stored in the body data (X 3 ) but the fourth start position (C 4S = 15) of the index data (X 2 ).
And only the fourth column length (C 4L = 4) is stored in the index data memory (374).

【0066】続いて重複部検索部(371)は、入力デ
ータブロック(X1 )の第27文字(A27=A)乃至第
30文字(A30=D)を順次抽出し、前述と同様の過程
により、抽出済の第11文字(A11=A)乃至第14文
字(A14=D)とそれぞれ一致することを検出し、且つ
圧縮効果を確認すると、第27文字(A27=A)乃至第
30文字(A30=D)は本文データ(X3 )に格納せ
ず、索引データ(X2 )の第5開始位置(C5S=11)
および第5列長(C5L=4)のみを、索引データメモリ
(374)に格納する。
Subsequently, the duplication part search unit (371) sequentially extracts the 27th character (A 27 = A) to the 30th character (A 30 = D) of the input data block (X 1 ) and performs the same processing as described above. By the process, it is detected that the extracted 11th character (A 11 = A) to 14th character (A 14 = D) match, respectively, and the compression effect is confirmed, the 27th character (A 27 = A) Thru the 30th character (A 30 = D) is not stored in the body data (X 3 ) but the fifth start position (C 5S = 11) of the index data (X 2 ).
And only the fifth column length (C 5L = 4) is stored in the index data memory (374).

【0067】更に重複部検索部(371)は、入力デー
タブロック(X1 )の第31文字(A31=E)乃至第3
5文字(A35=I)を順次抽出し、前述と同様の過程に
より、抽出済の第4文字(A4 =E)乃至第8文字(A
8 =I)とそれぞれ一致することを検出し、且つ圧縮効
果を確認すると、第31文字(A31=E)乃至第35文
字(A35=I)は本文データ(X3 )に格納せず、索引
データ(X2 )の第6開始位置(C6S=4)および第6
列長(C6L=5)のみを、索引データメモリ(374)
に格納する。
Further, the duplication part search part (371) uses the 31st character (A 31 = E) through the 3rd character of the input data block (X 1 ).
Five characters (A 35 = I) are sequentially extracted, and the extracted fourth character (A 4 = E) through eighth character (A 4 ) are extracted by the same process as described above.
8 = I) and the compression effect is confirmed, the 31st character (A 31 = E) to the 35th character (A 35 = I) are not stored in the text data (X 3 ). , The sixth start position (C 6S = 4) of the index data (X 2 ) and the sixth position
Only the column length (C 6L = 5) is stored in the index data memory (374)
To be stored.

【0068】以上の結果、索引データメモリ(374)
に格納された索引データ(X2 )は、第0開始位置(C
0S)乃至第6開始位置(C6S)と、第0列長(C0L)乃
至第6列長(C6L)との合計14文字から構成されるこ
ととなる。
As a result of the above, the index data memory (374)
The index data (X 2 ) stored in the
0S ) to the sixth start position ( C6S ) and the 0th column length ( C0L ) to the sixth column length ( C6L ), which is a total of 14 characters.

【0069】次に、本発明(請求項7)の実施例による
索引データ編集処理過程を、図2、図3および図4を用
いて説明する。本発明(請求項7)の実施例において
は、図3ステップS3Dの次に、図4に示される如き処
理過程を実行する索引データ編集処理〔図3ステップS
3E〕が、ステップS3DA の代わりに挿入される。
Next, an index data editing process according to the embodiment of the present invention (claim 7) will be described with reference to FIGS. 2, 3 and 4. In the embodiment of the present invention (claim 7), after the step S3D in FIG. 3, the index data editing process for executing the process shown in FIG. 4 [step S3 in FIG.
3E] is inserted instead of step S3D A.

【0070】図4において、ステップS43乃至S44
を含む〔ループ4〕は、図3ループ3により重複文字列
を検出した場合に、索引データ(X2 )の開始位置(C
kS)および列長(CkL)に格納済の文字列の中に、他に
同一文字から始まる文字列が存在しないかを検索するも
のであり、またステップS47およびS48を含む〔ル
ープ5〕は、〔ループ4〕により検出された他の抽出済
文字列と、対象とする文字列との連続一致を確認するも
のであり、ステップS49乃至S4Bは、他の抽出済文
字列と比較した場合の連続一致文字数(m′)が、比較
済の連続一致文字数(m)より多い場合に、索引データ
(X2 )の該当する開始位置(CkS)および列長
(CkL)を更新するものである。
In FIG. 4, steps S43 to S44.
[Loop 4] including "," the start position (C 2 ) of the index data (X 2 ) when the duplicate character string is detected by Loop 3 in FIG.
kS ) and column length (C kL ) are searched for another character string starting with the same character among the character strings already stored, and the steps S47 and S48 are included in [loop 5]. , [Loop 4] is to confirm the continuous match between the other extracted character string detected by [loop 4] and the target character string, and steps S49 to S4B are performed when comparing with other extracted character strings. When the number of consecutive matching characters (m ') is larger than the number of consecutive matching characters (m) that have been compared, the corresponding start position (C kS ) and column length (C kL ) of the index data (X 2 ) are updated. is there.

【0071】以上の索引データ編集処理過程を、図10
に示される索引データ(X2 )の内、第27文字(A27
=A)乃至第30文字(A30=D)を対象として説明す
る。最初に重複部検索部(371)は、第27文字(A
27=A)乃至第30文字(A30=D)を順次抽出し、前
述と同様の過程により、抽出済の第11文字(A11
A)乃至第14文字(A14=D)とそれぞれ一致するこ
とを検出した後、索引データ(X2 )の第5開始位置
(C5S=11)および第5列長(C5L=4)を索引デー
タメモリ(374)に格納した後、索引データ編集部
(373)を起動する。
The above-described index data editing process is shown in FIG.
Of the index data (X 2 ) shown in, the 27th character (A 27
= A) to the 30th character (A 30 = D). First, the duplicated part search part (371) detects the 27th character (A
27 = A) to the 30th character (A 30 = D) are sequentially extracted, and the extracted 11th character (A 11 =
A) to the 14th character (A 14 = D) are detected, and then the fifth start position (C 5S = 11) and the fifth column length (C 5L = 4) of the index data (X 2 ) are detected. Is stored in the index data memory (374), and then the index data editing unit (373) is activated.

【0072】起動された索引データ編集部(373)
は、図4に示される索引データ編集処理過程を実行する
ことにより、先ず第27文字(A27=A)と抽出済の第
0文字(A0 =A)とを比較し、一致することを確認す
ると〔図4ループ4〕、第27文字(A27=A)の後続
各文字(A28=B)以降を、第0文字(A0 =A)の後
続各文字(A1 =B)以降と順次比較することにより、
第35文字(A35=I)迄が、第8文字(A8 =I)と
それぞれ一致することを検出する〔図4ループ5(m′
=9)〕。
Index data editing unit (373) which is activated
Executes the index data editing process shown in FIG. 4 to first compare the 27th character (A 27 = A) with the extracted 0th character (A 0 = A) and confirm that they match. When confirmed [loop 4 in FIG. 4], the succeeding characters (A 28 = B) of the 27th character (A 27 = A) and the succeeding characters of the 0th character (A 0 = A) (A 1 = B) By sequentially comparing with the following,
It is detected that the characters up to the 35th character (A 35 = I) and the 8th character (A 8 = I) respectively match [loop 5 (m ′ in FIG. 4].
= 9)].

【0073】その結果、第27文字(A27=A)乃至第
30文字(A30=D)と第11文字(A11=A)乃至第
14文字(A14=D)との連続一致文字数〔m=4〕よ
り、第27文字(A27=A)乃至第35文字(A35
I)と第0文字(A0 =A)乃至第8文字(A8 =I)
との連続一致文字数〔m=9〕が多いことから、索引デ
ータメモリ(374)に格納済の索引データ(X2
の、第5開始位置(C5S=11)および第6開始位置
(C6S=4)と、第5列長(C5L=4)および第6列長
(C6L=5)とを、第5開始位置(C5S=0)および第
5列長(C5L=9)に更新する。
As a result, the number of consecutively matched characters of the 27th character (A 27 = A) to the 30th character (A 30 = D) and the 11th character (A 11 = A) to the 14th character (A 14 = D) From [m = 4], the 27th character (A 27 = A) to the 35th character (A 35 =
I) and the 0th character (A 0 = A) to the 8th character (A 8 = I)
Since the number of consecutively matched characters [m = 9] is large, the index data (X 2 ) already stored in the index data memory (374)
The fifth start position (C 5S = 11) and the sixth start position (C 6S = 4), the fifth column length (C 5L = 4) and the sixth column length (C 6L = 5) 5 Update to start position (C 5S = 0) and fifth column length (C 5L = 9).

【0074】その結果、索引データメモリ(374)に
格納された索引データ(X2 )は、第0開始位置
(C0S)乃至第5開始位置(C5S)と、第0列長
(C0L)乃至第5列長(C5L)との合計12文字から構
成されることとなり、索引データ編集部(373)を起
動しなかった場合に比し、2文字削減されることとな
る。
As a result, the index data (X 2 ) stored in the index data memory (374) has the 0th start position (C 0S ) to the 5th start position (C 5S ) and the 0th column length (C 0L). ) To the fifth column length (C 5L ), a total of 12 characters, which is reduced by 2 characters as compared with the case where the index data editing unit (373) is not activated.

【0075】以上により、転送データ組立部(375)
が組立てた転送データ(X4 )は、図10(d) に示され
る通りとなる。次に、本発明(請求項1)の一実施例に
よる再生処理過程を、図2、図5、図8乃至図10を用
いて説明する。
As described above, the transfer data assembling section (375)
The transfer data (X 4 ) assembled by is as shown in FIG. Next, a reproducing process according to an embodiment of the present invention (claim 1) will be described with reference to FIGS. 2, 5, and 8 to 10.

【0076】なお再生処理過程においては、圧縮処理過
程と逆に、図8(d) に示される転送データ(X4 )か
ら、図8(a) に示される入力データブロック(X1 )を
再生するものである為、入力データブロック(X1 )を
再生データブロック(X1 )と称する。
In the reproducing process, contrary to the compressing process, the input data block (X 1 ) shown in FIG. 8 (a) is reproduced from the transfer data (X 4 ) shown in FIG. 8 (d). to those therefore referred to as a reproduced data block input data block (X 1) (X 1) .

【0077】図2、図5、図8乃至図10において、受
信部(34)は、通信回線(5)から通話路装置(2)
を介して処理装置(3)に到着する転送データ(X4
を受信すると、先頭に付加されている圧縮フラグ(F
CMP )を分析し、圧縮フラグ(FCMP )が圧縮不実行
〔=論理“0”〕に設定されている場合には、転送デー
タ(X4 )を再生部(38)に伝達すること無く、直接
ファイル書込部(36)に伝達し、ファイルメモリ
(4)へ格納を要求するが、圧縮フラグ(FCMP )が圧
縮実行〔=論理“1”〕に設定されている場合には、再
生部(38)に伝達する。
In FIG. 2, FIG. 5, and FIG. 8 to FIG. 10, the receiving unit (34) is connected to the communication line device (2) from the communication line (5).
Transfer data (X 4 ) arriving at the processor (3) via
Is received, the compression flag (F
CMP ) is analyzed, and when the compression flag (F CMP ) is set to compression non-execution [= logical “0”], the transfer data (X 4 ) is not transmitted to the reproducing unit (38), The data is directly transmitted to the file writing unit (36) and requested to be stored in the file memory (4), but if the compression flag ( FCMP ) is set to compression execution [= logical "1"], reproduction is performed. To the section (38).

【0078】最初に転送データ分解部(381)は、伝
達された転送データ(X4 )の第1文字(D1 )乃至第
4文字(D4 )に付加されている先頭位置(HX2)、列
長(LX2)、先頭位置(HX3)および列長(LX3)に基
づき、転送データ(X4 )を索引データ(X2 )および
本文データ(X3 )に分解し、作業メモリ(383)に
格納する。
First, the transfer data decomposing unit (381) determines the head position (H X2 ) added to the first character (D 1 ) to the fourth character (D 4 ) of the transferred transfer data (X 4 ). , The column length (L X2 ), the start position (H X3 ) and the column length (L X3 ), the transfer data (X 4 ) is decomposed into the index data (X 2 ) and the body data (X 3 ), and the working memory is obtained. It is stored in (383).

【0079】続いて再生部(382)は、作業メモリ
(383)に格納された索引データ(X2 )および本文
データ(X3 )を用いて、図5に示される処理過程で再
生処理を実行する。
Subsequently, the reproducing unit (382) executes the reproducing process in the process shown in FIG. 5 by using the index data (X 2 ) and the body data (X 3 ) stored in the working memory (383). To do.

【0080】図5において、ステップS52乃至S59
を含む〔ループ1〕は、作業データ(k)を0からQ
〔但しQは索引データ(X2 )の文字数〕迄歩進させ乍
ら、索引データ(X2 )から各開始位置(CkS)および
列長(CkL)を一組宛抽出し、再生処理の対象とするも
のであり、またステップS53乃至S58を含む〔ルー
プ2〕は、作業データ(i)および(j)を歩進させ乍
ら、且つ作業データ(n)を1から列長(CkL)迄歩進
させ乍ら、再生文字位置(i)と開始位置(CkS)とを
比較することにより、再生データブロック(X1 )の文
字(Ai )を、本文データ(X3 )から〔ステップS5
6、S57〕、または再生データメモリ(384)に格
納済の再生データブロック(X1 )から〔ステップS5
4、S55〕抽出するものである。
In FIG. 5, steps S52 to S59.
[Loop 1] including the work data (k) from 0 to Q
[Where Q is the number of characters in the index data (X 2 )], each starting position (C kS ) and column length (C kL ) are extracted from the index data (X 2 ) as a set, and the reproduction process is performed. In [loop 2] including steps S53 to S58, work data (i) and (j) are stepped, and work data (n) is changed from 1 to the column length (C). By stepping up to kL ), and comparing the reproduced character position (i) with the start position (C kS ), the character (A i ) in the reproduced data block (X 1 ) is converted into the body data (X 3 ). From [Step S5
6, S57] or from the reproduction data block (X 1 ) already stored in the reproduction data memory (384) [step S5
4, S55] to be extracted.

【0081】以上の再生処理過程を、図9および図10
に示される索引データおよび本文データを対象として説
明する。最初に、図9に示される索引データ(X2 )お
よび本文データ(X3 )が、作業メモリ(383)に格
納されたとする。
The above reproduction processing steps are shown in FIG. 9 and FIG.
The description will be made with reference to the index data and body data shown in. First, it is assumed that the index data (X 2 ) and the body data (X 3 ) shown in FIG. 9 are stored in the working memory (383).

【0082】再生部(382)は、索引データ(X2
の第0開始位置(C0S=0)および第0列長(C0L=1
1)と、再生データブロック(X1 )内の再生文字番号
(i=0)とに基づき、本文データ(X3 )の第0文字
(B0 =A)乃至第10文字(B10=K)を順次抽出
し、再生データブロック(X1 )の第0文字(A0
A)乃至第10文字(A10=K)として、再生データメ
モリ(384)に格納する。
The reproducing section (382) uses the index data (X 2 )
0th start position (C 0S = 0) and 0th column length (C 0L = 1)
1), based on the reproduction data blocks (X 1) in the reproduction character number (i = 0), the 0 character (B 0 = A) to 10 characters (B 10 = K the body data (X 3) ) Are sequentially extracted, and the 0th character (A 0 =) of the reproduction data block (X 1 ) is extracted.
A) to the tenth character (A 10 = K) are stored in the reproduction data memory (384).

【0083】続いて再生部(382)は、索引データ
(X2 )の第1開始位置(C1S=10)および第1列長
(C0L=15)と、再生データブロック(X1 )内の再
生文字番号(i=11)とに基づき、再生データブロッ
ク(X1 )の第1開始位置(C 1S=10)〔即ち本文デ
ータ(X3 )の第10文字(B10=K)〕を、第1列長
(C1L=15)に相当する文字数(=15文字)だけ繰
返し抽出し、再生データブロック(X1 )の第11文字
(A11=K)乃至第25文字(A25=K)として、再生
データメモリ(384)に格納する。
Then, the reproducing unit (382) displays the index data.
(X2) First start position (C1S= 10) and the first column length
(C0L= 15) and the reproduction data block (X1) Re in
Playback data block based on the raw character number (i = 11)
Ku (X1) First start position (C 1S= 10) [that is, the text
Data (XThree) 10th character (BTen= K)], the first column length
(C1L= 15) repeated for the number of characters (= 15)
Return and extract and play data block (X1) 11th character
(A11= K) through the 25th character (Atwenty five= K), play
The data is stored in the data memory (384).

【0084】続いて再生部(382)は、索引データ
(X2 )の第2開始位置(C2S=26)および第2列長
(C2L=10)と、再生データブロック(X1 )内の再
生文字番号(i=26)とに基づき、本文データ
(X3 )の第11文字(B11=L)乃至第20文字(B
20=U)を順次抽出し、再生データブロック(X1 )の
第26文字(A26=L)乃至第35文字(A35=U)と
して、再生データメモリ(384)に格納する。
Then, the reproducing unit (382) receives the second start position (C 2S = 26) and the second column length (C 2L = 10) of the index data (X 2 ) and the reproduction data block (X 1 ). Based on the reproduction character number (i = 26) of the body text data (X 3 ) from the 11th character (B 11 = L) to the 20th character (B).
20 = U) are sequentially extracted and stored in the reproduction data memory (384) as the 26th character (A 26 = L) to the 35th character (A 35 = U) of the reproduction data block (X 1 ).

【0085】以上により再生データメモリ(384)に
は、図9(a) に示される如く、入力データブロック(X
1 )と同一の再生データブロック(X1 )が再生され、
格納されたこととなる。
As described above, in the reproduction data memory (384), as shown in FIG. 9 (a), the input data block (X
The same reproduction data block (X 1 ) as in 1 ) is reproduced,
It has been stored.

【0086】ファイル書込部(36)は、再生データメ
モリ(384)に格納された再生データブロック
(X1 )を、ファイルメモリ(4)に格納する。次に、
図10に示される索引データ(X2 )および本文データ
(X3 )が、作業メモリ(383)に格納されたとす
る。
The file writing unit (36) stores the reproduction data block (X 1 ) stored in the reproduction data memory (384) in the file memory (4). next,
It is assumed that the index data (X 2 ) and the body data (X 3 ) shown in FIG. 10 are stored in the working memory (383).

【0087】再生部(382)は、索引データ(X2
の第0開始位置(C0S=0)および第0列長(C0L=1
1)と、再生データブロック(X1 )の再生文字番号
(i=0)とに基づき、本文データ(X3 )の第0文字
(B0 =A)乃至第10文字(B10=K)を順次抽出
し、再生データブロック(X1 )の第0文字(A0
A)乃至第10文字(A10=K)として、再生データメ
モリ(384)に格納する。
The reproducing section (382) uses the index data (X 2 )
0th start position (C 0S = 0) and 0th column length (C 0L = 1)
1) and the reproduction character number (i = 0) of the reproduction data block (X 1 ) based on the 0th character (B 0 = A) to the 10th character (B 10 = K) of the body data (X 3 ). the extracted sequentially, the 0th character of the reproduced data blocks (X 1) (a 0 =
A) to the tenth character (A 10 = K) are stored in the reproduction data memory (384).

【0088】続いて再生部(382)は、索引データ
(X2 )の第1開始位置(C1S=0)および第1列長
(C0L=4)と、再生データブロック(X1 )の再生文
字番号(i=11)とに基づき、再生データブロック
(X1 )の第1開始位置(C1S=0)から第1列長(C
1L=4)分の連続文字、即ち本文データ(X3 )内の第
0文字(B0 =A)乃至第3(文字(B3 =D)を連続
して抽出し、再生データブロック(X1 )の第11文字
(A11=A)乃至第14文字(A14=D)として、再生
データメモリ(384)に格納する。
Subsequently, the reproducing section (382) stores the first start position (C 1S = 0) and the first column length (C 0L = 4) of the index data (X 2 ) and the reproduction data block (X 1 ). Based on the reproduction character number (i = 11), from the first start position (C 1S = 0) of the reproduction data block (X 1 ) to the first column length (C 1
1L = 4) consecutive characters, that is, the 0th character (B 0 = A) to the 3rd (character (B 3 = D)) in the body data (X 3 ) are continuously extracted and reproduced data block (X 1 ) The 11th character (A 11 = A) to the 14th character (A 14 = D) are stored in the reproduction data memory (384).

【0089】続いて再生部(382)は、索引データ
(X2 )の第2開始位置(C2S=7)および第2列長
(C2L=4)と、再生データブロック(X1 )の再生文
字番号(i=15)とに基づき、再生データブロック
(X1 )の第2開始位置(C2S=7)から第2列長(C
2L=4)分の連続文字、即ち本文データ(X3 )内の第
7文字(B7 =H)乃至第10(文字(B10=K)を連
続して抽出し、再生データブロック(X1 )の第15文
字(A15=H)乃至第18文字(A18=K)として、再
生データメモリ(384)に格納する。
Then, the reproducing unit (382) reproduces the second start position (C 2S = 7) and the second column length (C 2L = 4) of the index data (X 2 ) and the reproduced data block (X 1 ). Based on the reproduction character number (i = 15), from the second start position (C 2S = 7) of the reproduction data block (X 1 ) to the second column length (C
2L = 4) worth of continuous character, i.e. body data (X 3) seventh character in (B 7 = H) to 10 (characters (B 10 = K) is continuously extracted, reproduced data blocks (X It is stored in the reproduction data memory (384) as the 15th character (A 15 = H) to the 18th character (A 18 = K) of 1).

【0090】続いて再生部(382)は、索引データ
(X2 )の第3開始位置(C3S=19)および第3列長
(C3L=4)と、再生データブロック(X1 )の再生文
字番号(i=19)とに基づき、本文データ(X3 )の
第11文字(B11=L)乃至第14文字(B14=O)を
順次抽出し、再生データブロック(X1 )の第19文字
(A19=L)乃至第22文字(A22=O)として、再生
データメモリ(384)に格納する。
Subsequently, the reproducing section (382) stores the third start position (C 3S = 19) and the third column length (C 3L = 4) of the index data (X 2 ) and the reproduced data block (X 1 ). Based on the reproduction character number (i = 19), the 11th character (B 11 = L) to the 14th character (B 14 = 0) of the body data (X 3 ) are sequentially extracted, and the reproduction data block (X 1 ) is extracted. 19th character (A 19 = L) through 22nd character (A 22 = O) of the above are stored in the reproduction data memory (384).

【0091】続いて再生部(382)は、索引データ
(X2 )の第4開始位置(C4S=15)および第4列長
(C2L=4)と、再生データブロック(X1 )の再生文
字番号(i=23)とに基づき、再生データブロック
(X1 )の第4開始位置(C4S=15)から第4列長
(C4L=4)分の連続文字、即ち本文データ(X3 )内
の第7文字(B7 =H)乃至第10(文字(B10=K)
を連続して抽出し、再生データブロック(X1 )の第2
3文字(A23=H)乃至第26文字(A26=K)とし
て、再生データメモリ(384)に格納する。
Then, the reproducing unit (382) stores the fourth start position (C 4S = 15) and the fourth column length (C 2L = 4) of the index data (X 2 ) and the reproduced data block (X 1 ). Based on the reproduction character number (i = 23), continuous characters of the fourth column length (C 4L = 4) from the fourth start position (C 4S = 15) of the reproduction data block (X 1 ), that is, the body data ( 7th character (B 7 = H) to 10th character (character (B 10 = K)) in X 3 ).
Of the reproduced data block (X 1 )
It is stored in the reproduction data memory (384) as 3 characters (A 23 = H) to 26th character (A 26 = K).

【0092】続いて再生部(382)は、索引データ
(X2 )の第5開始位置(C5S=0)および第5列長
(C5L=9)と、再生データブロック(X1 )の再生文
字番号(i=27)とに基づき、再生データブロック
(X1 )の第5開始位置(C5S=0)から第5列長(C
5L=8)分の連続文字、即ち本文データ(X3 )内の第
0文字(B0 =A)乃至第8(文字(B8 =I)を連続
して抽出し、再生データブロック(X1 )の第27文字
(A27=A)乃至第35文字(A35=I)として、再生
データメモリ(384)に格納する。
Subsequently, the reproducing unit (382) stores the fifth start position (C 5S = 0) and the fifth column length (C 5L = 9) of the index data (X 2 ) and the reproduction data block (X 1 ). Based on the reproduction character number (i = 27), from the fifth start position (C 5S = 0) of the reproduction data block (X 1 ) to the fifth column length (C
5L = 8) consecutive characters, that is, the 0th character (B 0 = A) to the 8th (character (B 8 = I)) in the body data (X 3 ) are continuously extracted, and the reproduction data block (X 1 ) The 27th character (A 27 = A) to the 35th character (A 35 = I) are stored in the reproduction data memory (384).

【0093】以上により再生データメモリ(384)に
は、図10(a) に示される入力データブロック(X1
と同一の再生データブロック(X1 )が再生され、格納
されたこととなる。
As described above, the input data block (X 1 ) shown in FIG. 10 (a) is stored in the reproduction data memory (384).
That is, the same reproduction data block (X 1 ) as that of 1 is reproduced and stored.

【0094】ファイル書込部(36)は、再生データメ
モリ(384)に格納された再生データブロック
(X1 )を、ファイルメモリ(4)に格納する。次に、
本発明(請求項8および9)の実施例を、図2、図6お
よび図7を用いて説明する。
The file writing unit (36) stores the reproduction data block (X 1 ) stored in the reproduction data memory (384) in the file memory (4). next,
An embodiment of the present invention (claims 8 and 9) will be described with reference to FIGS. 2, 6 and 7.

【0095】図2における圧縮制御データメモリ(3
B)には、圧縮要否を判定するデータ列長〔例えば40
96バイト等〕と、検索範囲(S)〔例えば128バイ
ト等〕とが格納されている。
The compression control data memory (3
In B), the data string length for determining whether compression is necessary [for example, 40
96 bytes and the like] and a search range (S) [for example, 128 bytes and the like] are stored.

【0096】図2、図6および図7において、圧縮制御
データメモリ(3B)は、送信部(33)が転送データ
(X4 )を転送してから、受信側から応答が返送される
迄の応答時間(SC)を監視し〔図6ステップS6
1〕、応答時間(SC)が予め定められている閾値(B
1 )以上となることを検出すると〔ステップS6
2〕、送信処理が輻輳していると判定し、圧縮効果を向
上することにより、輻輳解消を図る為に、圧縮フラグ
(FCMP )を圧縮実行〔=論理“1”〕に設定すると共
に、ファイル読出部(31)によるファイルメモリ
(4)から読出す入力データブロック(X1 )のデータ
長(LCMP )を予め定められた程度〔例えば64バイト
程度等〕、拡張し、また検索範囲(S)を予め定められ
た程度〔例えば32バイト程度等〕、拡張する〔ステッ
プS63〕。
In FIGS. 2, 6 and 7, the compression control data memory (3B) is used from the time when the transmitting unit (33) transfers the transfer data (X 4 ) to the time when a response is returned from the receiving side. The response time (SC) is monitored [step S6 in FIG. 6].
1], the response time (SC) has a predetermined threshold value (B
When it is detected that L 1 ) or more is exceeded [step S6
2], it is determined that the transmission process is congested and the compression effect is improved, so that the compression flag ( FCMP ) is set to the compression execution [= logical "1"] in order to eliminate the congestion. The data length (L CMP ) of the input data block (X 1 ) read from the file memory (4) by the file reading unit (31) is expanded by a predetermined amount (for example, about 64 bytes), and the search range ( S) is expanded by a predetermined amount [for example, about 32 bytes] [step S63].

【0097】また圧縮制御データメモリ(3B)は、圧
縮部(37)が入力データブロック(X1 )を受信して
から、転送データ(X4 )を出力する迄の圧縮処理時間
(CC)を監視し〔図7ステップS71〕、圧縮処理時
間(CC)が予め定められている閾値(BL2 )以上と
なることを検出すると〔ステップS72〕、圧縮処理が
輻輳していると判定し、圧縮処理負荷を軽減する為に、
圧縮フラグ(FCMP )を圧縮不実行〔=論理“0”〕に
設定すると共に、ファイル読出部(31)によるファイ
ルメモリ(4)から読出す入力データブロック(X1
のデータ長(L CMP )を予め定められた程度〔例えば6
4バイト程度等〕、縮小し、また検索範囲(S)を予め
定められた程度〔例えば32バイト程度等〕、縮小する
〔ステップS73〕。
The compression control data memory (3B) is
The reduction unit (37) controls the input data block (X1) Received
From the transfer data (XFour) Output compression time
(CC) is monitored [step S71 in FIG. 7] and during compression processing
Interval (CC) is a predetermined threshold value (BL2) With above
If it is detected that [step S72], the compression process
In order to determine that it is congested and reduce the compression processing load,
Compression flag (FCMP) Is not executed [= logic "0"]
The file is read by the file reading unit (31) while setting
Input data block (X1)
Data length (L CMP) To a predetermined degree [eg 6
4 bytes, etc.], reduced, and search range (S) in advance
Reduce by a specified amount (for example, about 32 bytes)
[Step S73].

【0098】以上の説明から明らかな如く、本実施例に
よれば、入力データブロック(X1)の構成各文字(A
i )を文字番号(i)のより小さい文字(Ai )と比較
し、重複しない文字(Bj )のみで本文データ(X3
を構成し、入力データブロック(X1 )の再生に必要と
する本文データ(X3 )各部の開始位置(CkS)および
列長(CkL)により索引データ(X2 )を作成し、索引
データ(X2 )と本文データ(X3 )とにより転送デー
タ(X4 )を組立てる為、連続する文字(0)を含まぬ
入力データブロック(X1 )に対しても圧縮処理が可能
となる。
As is apparent from the above description, according to the present embodiment, each character (A in the input data block (X 1 ) is composed.
i ) is compared with a character (A i ) having a smaller character number (i) and only the non-overlapping characters (B j ) are included in the body data (X 3 ).
And the index data (X 2 ) is created by the start position (C kS ) and column length (C kL ) of each part of the body data (X 3 ) required for reproducing the input data block (X 1 ) and the index is created. Since the transfer data (X 4 ) is assembled from the data (X 2 ) and the body data (X 3 ), it is possible to perform compression processing even on the input data block (X 1 ) that does not include consecutive characters (0). .

【0099】また比較の対象とする文字(Ai )を、文
字番号の降順に順次検索する為、重複文字が連続する場
合に、圧縮処理時間が短縮可能となる。また比較の対象
とする文字(Ai )の検索範囲(S)を限定することに
より、圧縮処理時間を短縮することが可能となる。
Since the characters (A i ) to be compared are sequentially searched in the descending order of the character numbers, the compression processing time can be shortened when duplicate characters are consecutive. Further, by limiting the search range (S) of the characters (A i ) to be compared, the compression processing time can be shortened.

【0100】更に送信部(33)または圧縮部(37)
の輻輳状況に応じて入力データブロック(X1 )のブロ
ック長、圧縮処理範囲を制御することにより、データ転
送システムのデータ転送効率を向上することも可能とな
る。
Further, the transmission section (33) or the compression section (37)
It is also possible to improve the data transfer efficiency of the data transfer system by controlling the block length and the compression processing range of the input data block (X 1 ) according to the congestion status of the data transfer system.

【0101】なお、図2乃至図11はあく迄本発明の一
実施例に過ぎず、例えば対象とする入力データは文字を
単位とするデータブロック(X1 )に限定されることは
無く、他に幾多の変形が考慮されるが、何れの場合にも
本発明の効果は変わらない。また圧縮部(37)および
再生部(38)の構成は、図示されるものに限定される
ことは無く、他に幾多の変形が考慮されるが、何れの場
合にも本発明の効果は変わらない。更に本発明の対象と
なるデータ転送システムは、例示される交換網に限定さ
れぬことは言う迄も無い。
2 to 11 are merely examples of the present invention until now. For example, the target input data is not limited to the data block (X 1 ) in units of characters, and other However, the effect of the present invention does not change in any case. Further, the configurations of the compression section (37) and the reproduction section (38) are not limited to those shown in the figure, and various modifications may be considered, but in any case, the effect of the present invention is different. Absent. Further, it goes without saying that the data transfer system to which the present invention is applied is not limited to the exemplified switching network.

【0102】[0102]

【発明の効果】以上、本発明によれば、前記データ転送
システムにおいて、連続する文字「0」を含まぬ入力デ
ータに対しても、重複する単位データを検索して削除す
ることにより転送データを圧縮することが可能となり、
またデータ転送システムの輻輳程度に応じて圧縮程度を
変更可能となり、当該データ転送システムのデータ転送
効率を大幅に向上可能となる。
As described above, according to the present invention, in the data transfer system, even for input data which does not include the continuous character "0", the transfer data can be transferred by searching for and deleting duplicate unit data. It becomes possible to compress,
Further, the compression degree can be changed according to the congestion degree of the data transfer system, and the data transfer efficiency of the data transfer system can be significantly improved.

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

【図1】 本発明の原理図FIG. 1 is a principle diagram of the present invention.

【図2】 本発明の一実施例による処理装置FIG. 2 is a processing apparatus according to an embodiment of the present invention.

【図3】 図2における圧縮処理過程FIG. 3 is a compression process in FIG.

【図4】 図3における索引データ編集処理過程FIG. 4 is a process of editing index data in FIG.

【図5】 図2における再生処理過程FIG. 5 is a reproduction processing process in FIG.

【図6】 図2における応答時間監視処理過程FIG. 6 is a response time monitoring process in FIG.

【図7】 図2における圧縮処理時間監視処理過程FIG. 7 is a compression processing time monitoring processing process in FIG.

【図8】 図2における圧縮データ構成FIG. 8 is a compressed data structure in FIG.

【図9】 図2によるデータ圧縮および再生状況(その
一)
FIG. 9: Data compression and reproduction status according to FIG. 2 (No. 1)

【図10】 図2によるデータ圧縮および再生状況(そ
の二)
FIG. 10: Data compression and reproduction status according to FIG. 2 (Part 2)

【図11】 本発明の対象となるデータ転送システムFIG. 11 is a data transfer system to which the present invention is applied.

【図12】 従来ある処理装置FIG. 12 Conventional processing device

【図13】 図12におけるデータ圧縮状況FIG. 13 is a data compression state in FIG.

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

1 交換機 2 通話路装置 3、7 処理装置 4、8 ファイルメモリ 5 通信回線 6 遠隔保守装置 31 ファイル読出部 32 ゼロ圧縮部 33 送信部 34 受信部 35 ゼロ再生部 36 ファイル書込部 37 圧縮部 38 再生部 3A 監視部 3B 圧縮制御データメモリ 100 送信側装置 101 重複部分削除手段 102 再生情報作成手段 103 再生情報付加手段 200 受信側装置 201 再生情報分離手段 202 再生手段 300 転送路 371 重複部検索部 372 本文データメモリ 373 索引データ編集部 374 索引データメモリ 375 転送データ組立部 381 転送データ分解部 382 再生部 383 作業メモリ 384 再生データメモリ DESCRIPTION OF SYMBOLS 1 switchboard 2 speech path device 3, 7 processing device 4, 8 file memory 5 communication line 6 remote maintenance device 31 file reading unit 32 zero compression unit 33 transmission unit 34 reception unit 35 zero reproduction unit 36 file writing unit 37 compression unit 38 Reproduction unit 3A Monitoring unit 3B Compression control data memory 100 Transmission side device 101 Overlapping part deletion means 102 Reproduction information creation means 103 Reproduction information addition means 200 Receiving side device 201 Reproduction information separation means 202 Reproduction means 300 Transfer path 371 Duplication part search section 372 Text data memory 373 Index data editing unit 374 Index data memory 375 Transfer data assembling unit 381 Transfer data disassembling unit 382 Reproducing unit 383 Working memory 384 Reproducing data memory

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 送信側装置に入力された入力データを、
転送路を経由して受信側装置に転送するデータ転送シス
テムにおいて、 前記送信側装置に、前記入力データ内に複数回重複して
出現する部分データを検索し、検出した重複部分データ
を前記入力データから削除し、削除済データを作成する
重複部分削除手段と、 前記重複部分削除手段が作成した削除済データから前記
入力データを再生する為に、前記削除済データの使用範
囲を示す再生情報を作成する再生情報作成手段と、 前記重複部分削除手段が前記重複部分を削除した後の削
除済データに、前記再生情報作成手段が作成した前記再
生情報を付加し、前記転送路を経由して前記受信側装置
に転送する再生情報付加手段とを設け、 前記受信側装置に、前記送信側装置から前記転送路を経
由して転送される前記削除済データから前記再生情報を
分離する再生情報分離手段と、 前記再生情報分離手段が分離した前記再生情報を解析す
ることにより、前記重複部分削除手段により削除された
前記重複部分データを前記削除済データから作成し、前
記入力データを再生する再生手段とを設けることを特徴
とするデータ圧縮転送方式。
1. Input data input to a transmission side device,
In a data transfer system for transferring to a receiving side device via a transfer path, the transmitting side device searches for partial data that appears multiple times in the input data, and detects the duplicated partial data as the input data. And reproducing information indicating the use range of the deleted data in order to reproduce the input data from the deleted data created by the overlapping part deleting means. Reproduction information creating means for adding the reproduction information created by the reproduction information creating means to the deleted data after the overlapping part deleting means deletes the overlapping part, and receiving the data via the transfer path. Reproduction information adding means for transferring the reproduction information from the deleted data transferred from the transmission side device to the reception side device via the transfer path. And a reproduction information separation unit that separates the reproduction information separated by the reproduction information separation unit to create the overlapped portion data deleted by the overlapped portion deletion unit from the deleted data, and the input A data compression and transfer method, characterized in that a reproducing means for reproducing data is provided.
【請求項2】 前記再生情報作成手段は、前記再生情報
を、前記入力データを再生する為に、前記削除済データ
内の使用範囲の先頭位置と使用範囲のデータ長とを、前
記入力データの再生順に配列して生成することを特徴と
する請求項1記載のデータ圧縮転送方式。
2. The reproduction information creating means, in order to reproduce the reproduction information from the input data, sets the start position of the usage range and the data length of the usage range in the deleted data to the input data. 2. The data compression transfer method according to claim 1, wherein the data compression transfer method is arranged and generated in a reproduction order.
【請求項3】 前記重複部分削除手段は、前記入力デー
タを構成する単位データを、該単位データの順序番号の
小さいものから順次抽出し、前記抽出した単位データの
順序番号より小さい順序番号を有する単位データを重複
の比較対象とする単位データとして、順序番号の降順に
順次比較することにより、抽出した単位データの重複の
有無を検索することを特徴とする請求項1記載のデータ
圧縮転送方式。
3. The overlapping part deleting means sequentially extracts the unit data constituting the input data from the unit data having the smallest sequence number, and has a sequence number smaller than the sequence number of the extracted unit data. 2. The data compression transfer method according to claim 1, wherein the unit data to be compared for duplication is sequentially compared in descending order of the sequence numbers to search for the duplication of the extracted unit data.
【請求項4】 前記重複部分削除手段は、前記抽出した
単位データの比較対象とする単位データの数を、予め定
められた閾値の範囲内に限定することを特徴とする請求
項1記載のデータ圧縮転送方式。
4. The data according to claim 1, wherein the overlapping portion deleting unit limits the number of unit data to be compared with the extracted unit data within a range of a predetermined threshold value. Compressed transfer method.
【請求項5】 前記重複部分削除手段は、前記抽出した
単位データと重複する比較対象とする単位データを検出
した場合に、前記抽出した単位データより順序番号の大
きい単位データと、前記重複する比較対象とする単位デ
ータより順序番号の大きい単位データとを、各順序番号
の昇順に比較し、連続する複数の単位データの重複の有
無を検索することを特徴とする請求項1記載のデータ圧
縮転送方式。
5. The overlapping portion deleting means, when detecting the unit data to be compared that overlaps with the extracted unit data, compares the unit data having a larger sequence number than the extracted unit data with the overlapping comparison. 2. The data compression transfer according to claim 1, wherein the unit data having a larger sequence number than the target unit data is compared in ascending order of the respective sequence numbers, and the presence or absence of duplication of a plurality of consecutive unit data is searched. method.
【請求項6】 前記重複部分削除手段は、連続して抽出
した複数の単位データと重複する連続する比較対象とす
る単位データを検出した場合に、該連続単位データ数が
予め定められた閾値より大きい場合に限り、該連続して
重複を検出された単位データを削除することを特徴とす
る請求項1記載のデータ圧縮転送方式。
6. The overlapped portion deleting means, when detecting unit data as a continuous comparison target that overlaps with a plurality of continuously extracted unit data, determines the number of continuous unit data from a predetermined threshold value. The data compression transfer method according to claim 1, wherein the unit data in which the duplicates are continuously detected is deleted only when the data is large.
【請求項7】 前記重複部分削除手段は、連続して抽出
した複数の単位データと重複する連続する比較対象とす
る単位データを複数組検出し、該検出された各組の連続
単位データ数を比較し、最大の連続単位データ数を有す
る組を重複検出の対象とすることを特徴とする請求項1
記載のデータ圧縮転送方式。
7. The overlapping portion deleting means detects a plurality of sets of continuous comparison target unit data that overlaps a plurality of continuously extracted unit data, and detects the number of continuous unit data of each detected set. The pair which has the maximum number of consecutive unit data by comparison is targeted for duplicate detection.
Data compression transfer method described.
【請求項8】 前記送信側装置は、前記転送路の輻輳状
態を監視し、前記転送路の輻輳程度に対応して、前記重
複部分削除手段の稼働・停止を制御し、または前記重複
部分削除手段に対する入力データの単位データ数を変更
し、または前記重複部分削除手段の前記重複検索範囲を
変更することを特徴とすることを特徴とする請求項1記
載のデータ圧縮転送方式。
8. The transmission side device monitors the congestion state of the transfer path, controls the operation / stop of the overlapping part deleting means in accordance with the congestion degree of the transfer path, or deletes the overlapping part. 2. The data compression transfer system according to claim 1, wherein the number of unit data of input data to the means is changed, or the duplication search range of the duplication part deleting means is changed.
【請求項9】 前記送信側装置は、前記重複部分削除手
段の輻輳状態を監視し、前記重複部分削除手段の輻輳程
度に対応して、前記重複部分削除手段の稼働・停止を制
御し、または前記重複部分削除手段に対する入力データ
の単位データ数を変更し、または前記重複部分削除手段
の重複検索範囲を変更することを特徴とすることを特徴
とする請求項1記載のデータ圧縮転送方式。
9. The transmission side device monitors the congestion state of the duplicated portion deleting means, controls the operation / stop of the duplicated portion deleting means in response to the degree of congestion of the duplicated portion deleting means, or 2. The data compression transfer method according to claim 1, wherein the number of unit data of the input data to the overlapping portion deleting means is changed, or the overlapping search range of the overlapping portion deleting means is changed.
JP20574095A 1995-08-11 1995-08-11 Data compression and transfer system Withdrawn JPH0955708A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20574095A JPH0955708A (en) 1995-08-11 1995-08-11 Data compression and transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20574095A JPH0955708A (en) 1995-08-11 1995-08-11 Data compression and transfer system

Publications (1)

Publication Number Publication Date
JPH0955708A true JPH0955708A (en) 1997-02-25

Family

ID=16511881

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20574095A Withdrawn JPH0955708A (en) 1995-08-11 1995-08-11 Data compression and transfer system

Country Status (1)

Country Link
JP (1) JPH0955708A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010086023A (en) * 2008-09-29 2010-04-15 Casio Computer Co Ltd Sales data processing apparatus, network system, and program
CN112398750A (en) * 2019-08-19 2021-02-23 无锡江南计算技术研究所 Job starting data compression and transmission method in parallel computing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010086023A (en) * 2008-09-29 2010-04-15 Casio Computer Co Ltd Sales data processing apparatus, network system, and program
CN112398750A (en) * 2019-08-19 2021-02-23 无锡江南计算技术研究所 Job starting data compression and transmission method in parallel computing
CN112398750B (en) * 2019-08-19 2024-02-06 无锡江南计算技术研究所 Method for compressing and transmitting operation starting data in parallel computing

Similar Documents

Publication Publication Date Title
US11138219B2 (en) Database management system, database management method, and database management program
JP3305191B2 (en) Document management apparatus, data compression method, and data restoration method
JPH10320400A (en) Method and device for retrieving video
JPH11126209A (en) Information processor, its method and recording medium recorded with information processing program
JPH0955708A (en) Data compression and transfer system
EP0721699B1 (en) Method and apparatus for a unique and efficient use of a data structure for compressing data
WO2002033589A1 (en) Dynamic image content search information managing apparatus
JP3092563B2 (en) State transition diagram converter
WO2006035813A1 (en) Encoding device, encoding method, decoding device, decoding method, program, and machine-readable recording medium containing the program
JP3199317B2 (en) GAME DEVICE, DATA EDITING METHOD, AND COMPUTER-READABLE RECORDING MEDIUM
JP4510041B2 (en) Document search system and program
JPH0484361A (en) Operational history recording device
JPH08328924A (en) Index updating system
JP3219150B2 (en) Performance information compression method
US5161224A (en) List type data storing and retrieving system
JPH02110772A (en) Character string retrieving device
KR20030066043A (en) Method and apparatus for processing call control data stored on an Hash Table in implementing BICC Protocol, and recording medium therefor
JPS60254963A (en) Image file device
JPH04145579A (en) Content retrieving device
JP2550096B2 (en) Autonomous message output method
CN116483836A (en) Item index processing method, device, equipment and medium
JP2001109768A (en) Device for generating database index
JPH02171840A (en) File retrieving system for cordless system
Stallings An application of coroutines and backtracking in interactive systems
JPH11306183A (en) Data base retrieval system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20021105