JPH07202983A - Data transmitter-receiver - Google Patents

Data transmitter-receiver

Info

Publication number
JPH07202983A
JPH07202983A JP35238293A JP35238293A JPH07202983A JP H07202983 A JPH07202983 A JP H07202983A JP 35238293 A JP35238293 A JP 35238293A JP 35238293 A JP35238293 A JP 35238293A JP H07202983 A JPH07202983 A JP H07202983A
Authority
JP
Japan
Prior art keywords
data
transmission
processing unit
packet
reception
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP35238293A
Other languages
Japanese (ja)
Inventor
Mitsuhiro Ichinose
光宏 一ノ瀬
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP35238293A priority Critical patent/JPH07202983A/en
Publication of JPH07202983A publication Critical patent/JPH07202983A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To eliminate futile processing such as compression or monitor by constituting a data transmitter-receiver so that it can be set whether the compression of transmitting data is required or not. CONSTITUTION:A packet transmission/reception processing part 400 receives data from a line 500, and a monitor processing part 200 judges the state of the line. A transmission mode decision processing part 230 decides whether the compression of transmitting data is required or not according to a mode set to a transmission mode setting part 220 and the state of the line or the like. According to this decision, a packet preparation processing part 240 compresses the transmitting data as needed and dispatches them to the packet transmission/reception processing part 400. In this case, the packet contains information showing whether the data are compressed or not and according to this information, the compressed data are expanded on the reception side.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、情報処理装置において
データの送受信を行なうデータ送受信装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmitting / receiving device for transmitting / receiving data in an information processing device.

【0002】[0002]

【従来の技術】従来のデータ送受信装置では、回線上に
データを送信する際に必ず回線の通信状態を監視し、回
線状態が高負荷であると判断した場合にデータを圧縮す
ることで通信量を減らして通信時間を短縮していた。
2. Description of the Related Art A conventional data transmitter / receiver always monitors the communication state of a line when transmitting data on the line, and compresses the data when the line state is judged to be a heavy load, thereby reducing the communication amount. To reduce communication time.

【0003】例えば、特開平2−143762号公報に
は、回線上での送信データと他のデータとの衝突を検出
するトランシーバと、衝突検出信号から回線の通信負荷
量を算出する通信量監視装置と、通信負荷量が所定の基
準値を超えた場合に送信すべきイメージデータを圧縮す
る圧縮装置とを有するイメージデータ転送方式が記載さ
れている。また、この従来のイメージデータ転送方式で
は、通信負荷量を算出するにあたって、単位時間当たり
の通信量,単位時間当たりの衝突回数,送信の際に送出
するキャリアの送出回数,または送信時間の、4つの事
象のいずれかを計測することにより算出していた。
For example, Japanese Patent Laid-Open No. 2-143762 discloses a transceiver for detecting a collision between transmission data on a line and other data, and a communication amount monitoring device for calculating a communication load amount of the line from a collision detection signal. And an image data transfer method including a compression device that compresses image data to be transmitted when the communication load exceeds a predetermined reference value. In addition, in this conventional image data transfer method, when calculating the communication load amount, the communication amount per unit time, the number of collisions per unit time, the number of transmissions of the carrier to be transmitted at the time of transmission, or the transmission time It was calculated by measuring one of the two events.

【0004】[0004]

【発明が解決しようとする課題】上述した従来の技術で
は、データを送信する際に必ず回線状態を監視していた
ため、恒常的に回線負荷が高いことが知られていて回線
状態を監視するまでもなく圧縮をしたいような場合で
も、必ず回線状態の監視を行ってしまい無駄な処理を行
なっていた。また、恒常的に回線負荷が低いことが知ら
れていて回線状態を監視するまでもなく圧縮が不要であ
るような場合でも、必ず回線状態の監視を行ってしまい
無駄な処理を行なっていた。
In the above-mentioned conventional technique, the line state is always monitored when transmitting data. Therefore, it is known that the line load is constantly high, and the line state is continuously monitored. Even if compression is desired, the line status is always monitored and useless processing is performed. Further, even when it is known that the line load is constantly low and compression is unnecessary without monitoring the line state, the line state is always monitored and useless processing is performed.

【0005】さらに、データの圧縮を行なうか否かの判
断を回線状態に依存していたため、送信データ自身が小
さく圧縮による効果がほとんど得られないような場合に
も、わざわざ圧縮処理を行なってしまい、結果として却
ってシステム全体の処理能力を低下させてしまうという
問題があった。
Further, since the judgment as to whether or not to compress the data depends on the line state, even if the transmission data itself is small and the effect of the compression is hardly obtained, the compression process is purposely performed. As a result, there is a problem that the processing capacity of the entire system is lowered.

【0006】[0006]

【課題を解決するための手段】上記課題を解決するため
本願発明では、回線とのパケットのやりとりを行なうパ
ケット送受信処理手段と、送信すべきデータをパケット
の形式に変形して前記パケット送受信処理手段に渡すデ
ータ送信処理手段と、前記パケット送受信処理手段から
パケットを受け取って送信されてきたデータを取り出す
データ受信処理手段とを有するデータ送受信装置におい
て、前記データ送信処理手段は、前記送信すべきデータ
を圧縮するモードと、圧縮しないモードと、圧縮するか
しないかを随時選択できるモード、のいずれか一つのモ
ードを送信モードとして設定する送信モード設定部と、
この送信モード設定部の送信モードに従って前記送信す
べきデータを圧縮すべきか否かを判定する送信モード判
定処理部と、この送信モード判定処理部の判定が圧縮す
べき旨であれば前記送信すべきデータを圧縮してパケッ
トの形式に変形し、前記送信モード判定処理部の判定が
圧縮しない旨であれば前記送信すべきデータを圧縮せず
にパケットの形式に変形して、前記パケット送受信処理
手段に出力するパケット作成処理部とを含み;前記デー
タ受信処理手段は、前記パケット送受信処理手段から受
け取ったパケットが圧縮されたデータを含むものか否か
を判定する受信モード判定処理部と、前記パケットから
データを取り出して、前記受信モード判定処理部の判定
が圧縮されたデータを含む旨であれば前記取り出したデ
ータを伸張して受信データとし、前記受信モード判定処
理部の判定が圧縮されたデータを含む旨であれば前記取
り出したデータを受信データとするデータ整形処理部と
を含む。
In order to solve the above problems, according to the present invention, a packet transmission / reception processing means for exchanging packets with a line, and the packet transmission / reception processing means by transforming data to be transmitted into a packet format. In the data transmitting / receiving apparatus, the data transmitting / receiving device has a data transmitting processing means for delivering to the device, and a data receiving processing means for taking out the transmitted data from the packet transmitting / receiving processing means. A compression mode, a non-compression mode, and a transmission mode setting unit that sets any one mode of the compression mode and the compression mode as a transmission mode,
According to the transmission mode of the transmission mode setting unit, a transmission mode determination processing unit that determines whether or not to compress the data to be transmitted, and if the determination of the transmission mode determination processing unit indicates that the data should be compressed, the transmission should be performed. The data is compressed and transformed into a packet format, and if the determination of the transmission mode determination processing unit does not indicate compression, the data to be transmitted is transformed into a packet format without compression, and the packet transmission / reception processing means A packet creation processing section for outputting the packet to the data reception processing means; the data reception processing means determines whether or not the packet received from the packet transmission / reception processing means includes compressed data; If the determination of the reception mode determination processing unit includes compressed data, the extracted data is expanded and received. And data, and a data shaping section to the reception mode determination processing unit determines the reception was taken out the long that includes a compressed data data data.

【0007】また、前記パケット送受信処理手段は前記
回線の状態を監視して、前記データ送信処理手段は、前
記パケット送受信処理手段から前記回線の状態を受け取
り、この回線が高負荷状態にあるか否かを判断する監視
処理部をさらに含み、前記送信モード判定処理部は、前
記圧縮するかしないかを随時選択できるモードにおいて
前記監視処理部の判断に基づいて前記送信すべきデータ
を圧縮するかしないかを選択する。
Further, the packet transmission / reception processing means monitors the state of the line, and the data transmission processing means receives the state of the line from the packet transmission / reception processing means to determine whether or not this line is in a high load state. The transmission mode determination processing unit further includes a monitoring processing unit that determines whether to compress the data to be transmitted based on the determination of the monitoring processing unit in a mode in which it is possible to select whether or not to compress the data. Or select.

【0008】また、前記送信モード判定処理部は、前記
圧縮するかしないかを随時選択できるモードにおいて前
記送信すべきデータのデータ量に基づいて前記送信すべ
きデータを圧縮するかしないかを選択する。
Further, the transmission mode determination processing unit selects whether or not to compress the data to be transmitted based on the data amount of the data to be transmitted in a mode in which it can be selected at any time whether or not to compress. .

【0009】[0009]

【実施例】次に本願発明のデータ送受信装置の一実施例
について図面を参照して詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the data transmitting / receiving apparatus of the present invention will be described in detail with reference to the drawings.

【0010】図1を参照すると、本願発明の一実施例で
あるデータ送受信装置100は、データ送信処理手段2
00と、データ受信処理手段300と、パケット送受信
処理部400とを含んでいる。データ送信処理手段20
0はさらに、監視処理部210と、送信モード設定部2
20と、送信モード判定処理部230と、パケット作成
処理部240とを含んでいる。データ受信処理手段30
0は、受信モード判定処理部330と、データ整形処理
部340とを含んでいる。
Referring to FIG. 1, a data transmission / reception apparatus 100 according to an embodiment of the present invention includes a data transmission processing means 2
00, a data reception processing unit 300, and a packet transmission / reception processing unit 400. Data transmission processing means 20
0 further indicates the monitoring processing unit 210 and the transmission mode setting unit 2
20, a transmission mode determination processing unit 230, and a packet creation processing unit 240. Data reception processing means 30
0 includes a reception mode determination processing unit 330 and a data shaping processing unit 340.

【0011】パケット送受信処理部400は、回線50
0とのインタフェースを行なうもので、送信データや受
信データのやりとりを行ない、また、回線状態を監視し
て衝突検出信号等を監視処理部210に通知するための
ものである。例えば、CSMA/CD方式では、回線上
に信号が流れていないかを検出し、検出されなければ送
信を開始する。この場合、ほぼ同時に他の装置からデー
タが送信されていたようなときには、これと自分の送信
データとが衝突してデータが破壊される。この衝突を検
出するためには、回線上のデータを常に取り込み、自分
が送信したデータと回線上のデータとを常に照合する必
要がある。パケット送受信処理部400は、衝突を検出
した旨や、回線上に他の信号が流れていて送信を開始で
きない旨、または、回線上のデータを取り込んだ旨の情
報を監視処理部210に通知する。
The packet transmission / reception processing unit 400 includes a line 50.
It is for interfacing with 0, for exchanging transmission data and reception data, and for monitoring the line status and notifying the monitoring processing unit 210 of a collision detection signal and the like. For example, in the CSMA / CD system, it is detected whether a signal is flowing on the line, and if it is not detected, transmission is started. In this case, when data is being transmitted from another device almost at the same time, the data collides with the own transmission data and the data is destroyed. In order to detect this collision, it is necessary to always take in the data on the line and always compare the data transmitted by itself with the data on the line. The packet transmission / reception processing unit 400 notifies the monitoring processing unit 210 of information that a collision has been detected, that transmission cannot be started because another signal is flowing on the line, or that data on the line has been captured. .

【0012】データ送信処理手段200は、回線500
の状態およびあらかじめ設定された送信モードにより送
信データを圧縮すべきか否かを判断した上で、必要な場
合には圧縮処理を施して、送信データをパケット送受信
処理部400に出力するためのものである。
The data transmission processing means 200 has a line 500.
For determining whether or not the transmission data should be compressed depending on the state of the above and the preset transmission mode, compressing the transmission data if necessary, and outputting the transmission data to the packet transmission / reception processing unit 400. is there.

【0013】データ送信処理手段200において、監視
処理部210は、パケット送受信処理部400からの衝
突検出信号等を受け取り、回線の状態を送信モード判定
処理部230に伝えるためのものであり、回線状態判断
処理部211と、基準値レジスタ212と、タイマカウ
ンタ213と、積算カウンタ214とを備えている。回
線の状態は、例えば、回線上の衝突回数や、データの送
出時間間隔、送信のための待ち時間、またはキャリアの
送出回数等により判断することができる。
In the data transmission processing means 200, the monitoring processing unit 210 is for receiving a collision detection signal or the like from the packet transmission / reception processing unit 400 and transmitting the line status to the transmission mode determination processing unit 230. The determination processing unit 211, a reference value register 212, a timer counter 213, and an integration counter 214 are provided. The state of the line can be determined by, for example, the number of collisions on the line, a data transmission time interval, a waiting time for transmission, or the number of carrier transmissions.

【0014】回線上の衝突回数を求めるためには、基準
値レジスタ212にあらかじめ基準となるべき値を格納
しておき、積算カウンタ214をリセットしておいて、
タイマカウンタ213で所定の時間が経過するのを計数
し、その間パケット送受信処理部400から衝突が発生
した旨の通知がある度に積算カウンタ214を増加させ
る。所定時間経過後、積算カウンタ214の値と基準値
レジスタ212の値とを比較して、積算カウンタ214
の値が基準値レジスタ212の値を超えていれば回線が
高負荷状態であると判断できる。
In order to obtain the number of collisions on the line, a reference value register 212 is stored in advance with a reference value, and the integrating counter 214 is reset.
The timer counter 213 counts the lapse of a predetermined time, and increments the integration counter 214 each time there is a notification from the packet transmission / reception processing unit 400 that a collision has occurred. After a lapse of a predetermined time, the value of the integration counter 214 is compared with the value of the reference value register 212, and the integration counter 214
If the value of exceeds the value of the reference value register 212, it can be determined that the line is in a high load state.

【0015】データの送出時間間隔を求めるためには、
基準値レジスタ212にあらかじめ基準となるべき値を
格納しておき、タイマカウンタ213と積算カウンタ2
14をリセットしておく。パケット送受信処理部400
から回線上のデータを取り込んだ旨の通知がある度に積
算カウンタ214を増加させて、この積算カウンタ21
4の値が所定の回数を示したところで、タイマカウンタ
213の値と基準値レジスタ212の値とを比較して、
タイマカウンタ213の値が基準値レジスタ212の値
を超えていれば回線が高負荷状態であると判断できる。
To obtain the data transmission time interval,
The reference value register 212 stores a reference value in advance, and the timer counter 213 and the integration counter 2
14 is reset. Packet transmission / reception processing unit 400
The integration counter 214 is incremented each time there is a notification from the
When the value of 4 indicates a predetermined number of times, the value of the timer counter 213 and the value of the reference value register 212 are compared,
If the value of the timer counter 213 exceeds the value of the reference value register 212, it can be determined that the line is in a high load state.

【0016】データの送信のための待ち時間を求めるた
めには、基準値レジスタ212にあらかじめ基準となる
べき値を格納しておく。パケット送受信処理部400か
ら送信を開始できない旨の通知があると、タイマカウン
タ213をリセットし、タイマカウンタ213の値と基
準値レジスタ212の値とを比較して、タイマカウンタ
213の値が基準値レジスタ212の値を超えていれば
回線が高負荷状態であると判断できる。この場合は、次
回データを送信する際の圧縮すべきか否かの判断材料と
なる。
In order to obtain the waiting time for data transmission, the reference value register 212 stores a reference value in advance. When the packet transmission / reception processing unit 400 notifies that the transmission cannot be started, the timer counter 213 is reset, the value of the timer counter 213 is compared with the value of the reference value register 212, and the value of the timer counter 213 is changed to the reference value. If the value of the register 212 is exceeded, it can be determined that the line is in a high load state. In this case, it becomes a material for determining whether or not compression should be performed when the data is transmitted next time.

【0017】送信モード設定部220は、あらかじめ送
信すべきモードを設定するものである。本実施例では、
データを送信するモードとして、圧縮モード,非圧縮モ
ードおよび混合モードの三種類を考える。圧縮モードと
は、常に送信データを圧縮するモードである。非圧縮モ
ードとは、常にデータを圧縮せずに送信するモードであ
る。混合モードとは、回線状態等の条件によってデータ
の圧縮をするか否かを決定するモードである。送信モー
ド設定部220の構成の一例としては、単なるレジスタ
を用意して、ユーザから直接コマンドによりモードを設
定する方法や管理用のソフトウェアが強制的にモード設
定する方法等が考えられる。また、送信モード設定部2
20の構成の他の例としては、曜日や時間ごとにモード
を設定できるテーブル形式を採ることにより、曜日や時
間に応じてモードを変化させることが考えられる。
The transmission mode setting section 220 sets a mode to be transmitted in advance. In this embodiment,
There are three types of data transmission modes: compressed mode, non-compressed mode, and mixed mode. The compressed mode is a mode in which transmission data is always compressed. The uncompressed mode is a mode in which data is always transmitted without being compressed. The mixed mode is a mode for deciding whether or not to compress data depending on conditions such as a line state. As an example of the configuration of the transmission mode setting unit 220, a method in which a simple register is prepared and a mode is directly set by a user by a command, a method in which management software is forced to set the mode, and the like can be considered. In addition, the transmission mode setting unit 2
As another example of the configuration of 20, the mode may be changed according to the day of the week or the time by adopting a table format in which the mode can be set for each day of the week or time.

【0018】送信モード判定処理部230は、送信モー
ド設定部220に設定された送信モードと監視処理部2
10からの回線状態とから送信データを圧縮すべきか否
かを判定する。圧縮モードまたは非圧縮モードであれば
無条件に、圧縮すべきまたは圧縮しない旨を決定でき
る。混合モードであれば、監視処理部210からの回線
状態を参照して圧縮すべきまたは圧縮しない旨を判定し
なければならない。
The transmission mode determination processing unit 230 includes the transmission mode set in the transmission mode setting unit 220 and the monitoring processing unit 2.
It is determined from the line status from 10 whether transmission data should be compressed. In the compressed mode or the non-compressed mode, it is possible to unconditionally determine whether or not to compress. In the case of the mixed mode, it is necessary to refer to the line state from the monitoring processing unit 210 to determine whether or not to compress.

【0019】パケット作成処理部240は、送信モード
判定処理部230からの指示に従い、送信データを圧縮
するかまたは送信データを圧縮せずに、使用中のプロト
コルが要求する所定のパケットに変形する。このパケッ
トには通常、送信先アドレスや発信元アドレスなどを含
む制御情報が備えられている。パケット作成処理部24
0は、上記の制御情報に、データが圧縮されたものか否
かを示す情報(以下、圧縮情報という)を書き込む。こ
のようにして作成されたパケットは、パケット送受信処
理部400に渡され、回線500上に出力される。
According to the instruction from the transmission mode determination processing unit 230, the packet creation processing unit 240 compresses the transmission data or transforms the transmission data into a predetermined packet required by the protocol in use without compressing the transmission data. This packet is usually provided with control information including a destination address and a source address. Packet creation processing unit 24
For 0, information indicating whether or not the data is compressed (hereinafter referred to as compression information) is written in the above control information. The packet created in this way is delivered to the packet transmission / reception processing unit 400 and output on the line 500.

【0020】データ受信処理手段300は、パケット送
受信処理部400より受け取ったパケットのデータが圧
縮されたものか否かを判断して、受信データを取り出す
ものである。
The data reception processing means 300 determines whether or not the data of the packet received from the packet transmission / reception processing section 400 is compressed and extracts the received data.

【0021】データ受信処理手段300において、受信
モード判定処理部330は、パケット送受信処理部40
0より受け取ったパケット中の圧縮情報を参照して、そ
のパケットが含むデータが圧縮されたものか否かを判定
する。データ整形処理部340は、この受信モード判定
処理部330からの判定結果を参照して、圧縮されたデ
ータであればそのデータを伸張して元に戻し、圧縮され
ていなければそのままデータ部分を取り出して、受信デ
ータを得る。
In the data reception processing means 300, the reception mode determination processing section 330 has a packet transmission / reception processing section 40.
By referring to the compression information in the packet received from 0, it is determined whether or not the data included in the packet is compressed. The data shaping processing unit 340 refers to the determination result from the reception mode determination processing unit 330, decompresses the data if the data is compressed and returns it to the original, and if it is not compressed, extracts the data portion as it is. And obtain the received data.

【0022】次に本願発明のデータ送受信装置の一実施
例の動作について図面を参照して説明する。
Next, the operation of one embodiment of the data transmitting / receiving apparatus of the present invention will be described with reference to the drawings.

【0023】図2を参照すると、データ送信処理手段2
00が送信データを送信する際の動作を表す図である。
まず、送信モード判定処理部230は送信モード設定部
220を参照して、送信モードが圧縮モード,非圧縮モ
ードまたは混合モードのいずれのモードであるかを判定
する(ステップ601)。ここで混合モードであると判
定した場合には、送信すべきデータが大量のものか否か
を判断して(ステップ602)、データ量が大量でなけ
れば圧縮しないものと判定して、非圧縮モードと同様の
処理を以下のステップ607から行なう。データ量が大
量であると判断した場合には、次に監視処理部210か
らの回線状態を参照して(ステップ603)、回線が高
負荷であれば圧縮すべきものと判定して圧縮モードと同
様の処理を以下のステップ604から行ない、高負荷で
なければ圧縮しないものと判定して非圧縮モードと同様
の処理を以下のステップ607から行なう。
Referring to FIG. 2, data transmission processing means 2
It is a figure showing operation | movement when 00 transmits transmission data.
First, the transmission mode determination processing unit 230 refers to the transmission mode setting unit 220 and determines whether the transmission mode is the compressed mode, the non-compressed mode, or the mixed mode (step 601). If it is determined that the data is in the mixed mode, it is determined whether or not the amount of data to be transmitted is large (step 602). If the amount of data is not large, it is determined that the data is not compressed, and uncompressed. Processing similar to that of the mode is performed from step 607 below. If it is determined that the amount of data is large, then the line status from the monitoring processing unit 210 is referred to (step 603), and if the line has a high load, it is determined that compression should be performed and the same as in compression mode. Is performed from the following step 604, it is determined that compression is not performed unless the load is high, and the same processing as the non-compression mode is performed from the following step 607.

【0024】送信モード判定処理部230により圧縮す
べき旨判定された場合には、パケット作成処理部240
は、送信データを圧縮して(ステップ604)、所定の
パケットの形式に変形する(ステップ605)。さら
に、パケット作成処理部240は、パケット中の圧縮情
報を「圧縮状態」に設定する(ステップ606)。
When the transmission mode determination processing unit 230 determines that compression should be performed, the packet creation processing unit 240
Compresses the transmission data (step 604) and transforms it into a predetermined packet format (step 605). Furthermore, the packet creation processing unit 240 sets the compression information in the packet to the "compression state" (step 606).

【0025】送信モード判定処理部230により圧縮し
ない旨判定された場合には、パケット作成処理部240
は、送信データを圧縮せずに、所定のパケットの形式に
変形する(ステップ607)。さらに、パケット作成処
理部240は、パケット中の圧縮情報を「非圧縮状態」
に設定する(ステップ608)。
When it is determined by the transmission mode determination processing unit 230 that compression is not performed, the packet creation processing unit 240
Transforms the transmission data into a predetermined packet format without compressing it (step 607). Further, the packet creation processing unit 240 sets the compression information in the packet to “uncompressed state”.
(Step 608).

【0026】パケット作成処理部240がパケットを作
成すると、パケット送受信処理部400はそのパケット
を回線上に出力する(ステップ609)。
When the packet creation processing unit 240 creates a packet, the packet transmission / reception processing unit 400 outputs the packet on the line (step 609).

【0027】なお、本実施例では、混合モードにおいて
ステップ602とステップ603とを順次判断した上で
圧縮すべきか否かを判定しているが、この判定はステッ
プ602のみまたはステップ603のみでもよい。ステ
ップ602とステップ603とを順次判断した場合に
は、データ量が大量でかつ回線が高負荷のときだけデー
タを圧縮するため、データを圧縮する機会は少ないもの
となる。ステップ603のみにより判定する場合には、
前述の従来技術と同様の動作をすることになる。ステッ
プ602のみにより判定する場合には、データが大量で
あれば回線の状態には関係なくデータを圧縮するので圧
縮する機会が増すが、回線状態を監視する必要がなくな
るという利点がある。
In this embodiment, it is judged whether compression should be performed after sequentially judging step 602 and step 603 in the mixed mode, but this judgment may be made only at step 602 or only step 603. When step 602 and step 603 are sequentially determined, the data is compressed only when the amount of data is large and the line is heavily loaded, so that the chance of compressing the data is small. If the determination is made only in step 603,
The operation is similar to that of the above-mentioned conventional technique. When the determination is made only in step 602, if there is a large amount of data, the data is compressed regardless of the state of the line, so the chance of compression increases, but there is the advantage that it is not necessary to monitor the line state.

【0028】また、前述のように圧縮モードの設定をユ
ーザからの指定や曜日などで設定することができ、しか
も図2からもわかるようにこの圧縮モードの指定は回線
状態などの判断よりも優先的に行われる。このため、シ
ステムの要求に応じて柔軟に圧縮方法を設定することが
できる。
Further, as described above, the setting of the compression mode can be set by the designation by the user or the day of the week. Moreover, as can be seen from FIG. 2, the designation of the compression mode has priority over the judgment of the line state and the like. Is done in a regular manner. Therefore, it is possible to flexibly set the compression method according to the request of the system.

【0029】図3を参照すると、データ受信処理手段3
00が受信データを受信する際の動作を表す図である。
まず、パケット送受信処理部400がパケットを受信す
ると(ステップ701)、そのパケットは受信モード判
定処理部330に伝えられる。この判定処理部330
は、圧縮情報を参照して、「圧縮状態」であればパケッ
ト内のデータを伸張して元のデータに戻す(ステップ7
03)。「非圧縮状態」であればデータを伸張する必要
はない。そして、このようにして得たデータが複数のパ
ケットに分割されていれば、各データを連結して(ステ
ップ704)、受信データを得る。
Referring to FIG. 3, data reception processing means 3
10 is a diagram showing an operation when 00 receives received data. FIG.
First, when the packet transmission / reception processing unit 400 receives a packet (step 701), the packet is transmitted to the reception mode determination processing unit 330. This determination processing unit 330
Refers to the compression information, and if the data is in the "compressed state", decompresses the data in the packet and restores the original data (step 7).
03). It is not necessary to decompress the data in the "uncompressed state". Then, if the data thus obtained is divided into a plurality of packets, each data is concatenated (step 704) to obtain the received data.

【0030】[0030]

【発明の効果】以上説明したように本発明は、データ送
受信装置において送信モードとして、圧縮モード,非圧
縮モードおよび混合モードという三つのモードを設けた
ことにより、データ送信時の回線などの状態を監視しな
くても、強制的に送信データの圧縮の必要性を設定する
ことができる。また、このモード設定を時間や曜日に応
じて自動的に変更することもできるようになるという効
果を有する。
As described above, according to the present invention, the transmission / reception apparatus is provided with three transmission modes, that is, the compressed mode, the non-compressed mode and the mixed mode. It is possible to forcibly set the need for compression of transmitted data without monitoring. Further, there is an effect that the mode setting can be automatically changed according to time and day of the week.

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

【図1】本発明のデータ送受信装置の一実施例を表すブ
ロック図である。
FIG. 1 is a block diagram showing an embodiment of a data transmission / reception device of the present invention.

【図2】本発明のデータ送受信装置の一実施例における
送信処理手段の動作を表す流れ図である。
FIG. 2 is a flow chart showing an operation of a transmission processing means in one embodiment of the data transmitting / receiving apparatus of the present invention.

【図3】本発明のデータ送受信装置の一実施例における
受信処理手段の動作を表す流れ図である。
FIG. 3 is a flowchart showing the operation of the reception processing means in the embodiment of the data transmitting / receiving apparatus of the present invention.

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

100 データ送受信装置 200 データ送信処理手段 210 監視処理部 211 回線状態判断処理部 212 基準値レジスタ 213 タイマカウンタ 214 積算カウンタ 220 送信モード設定部 230 送信モード判定処理部 240 パケット作成処理部 300 データ受信処理手段 330 受信モード判定処理部 340 データ整形処理部 400 パケット送受信処理部 500 回線 100 Data Transmitting / Receiving Device 200 Data Transmission Processing Unit 210 Monitoring Processing Unit 211 Line Condition Determination Processing Unit 212 Reference Value Register 213 Timer Counter 214 Integration Counter 220 Transmission Mode Setting Unit 230 Transmission Mode Determination Processing Unit 240 Packet Creation Processing Unit 300 Data Reception Processing Unit 330 reception mode determination processing unit 340 data shaping processing unit 400 packet transmission / reception processing unit 500 line

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 9077−5K H04L 11/20 102 F ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Office reference number FI technical display location 9077-5K H04L 11/20 102 F

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】回線とのパケットのやりとりを行なうパケ
ット送受信処理手段と、送信すべきデータをパケットの
形式に変形して前記パケット送受信処理手段に渡すデー
タ送信処理手段と、前記パケット送受信処理手段からパ
ケットを受け取って送信されてきたデータを取り出すデ
ータ受信処理手段とを有するデータ送受信装置におい
て、 前記データ送信処理手段は、 前記送信すべきデータを圧縮するモードと、圧縮しない
モードと、圧縮するかしないかを随時選択できるモー
ド、のいずれか一つのモードを送信モードとして設定す
る送信モード設定部と、 この送信モード設定部の送信モードに従って前記送信す
べきデータを圧縮すべきか否かを判定する送信モード判
定処理部と、 この送信モード判定処理部の判定が圧縮すべき旨であれ
ば前記送信すべきデータを圧縮してパケットの形式に変
形し、前記送信モード判定処理部の判定が圧縮しない旨
であれば前記送信すべきデータを圧縮せずにパケットの
形式に変形して、前記パケット送受信処理手段に出力す
るパケット作成処理部とを含み;前記データ受信処理手
段は、 前記パケット送受信処理手段から受け取ったパケットが
圧縮されたデータを含むものか否かを判定する受信モー
ド判定処理部と、 前記パケットからデータを取り出して、前記受信モード
判定処理部の判定が圧縮されたデータを含む旨であれば
前記取り出したデータを伸張して受信データとし、前記
受信モード判定処理部の判定が圧縮されたデータを含む
旨であれば前記取り出したデータを受信データとするデ
ータ整形処理部とを含むことを特徴とするデータ送受信
装置。
1. A packet transmission / reception processing means for exchanging packets with a line, a data transmission processing means for transforming data to be transmitted into a packet format and passing it to the packet transmission / reception processing means, and the packet transmission / reception processing means. In a data transmission / reception device having a data reception processing means for receiving a packet and extracting the transmitted data, the data transmission processing means compresses the data to be transmitted, a non-compression mode, and a compression mode. A transmission mode setting unit that sets any one of the modes as a transmission mode, and a transmission mode that determines whether or not the data to be transmitted should be compressed according to the transmission mode of the transmission mode setting unit. If the determination processing unit and the determination of this transmission mode determination processing unit indicate that compression should be performed, Note that the data to be transmitted is compressed and transformed into a packet format, and if the determination of the transmission mode determination processing unit does not indicate that it is compressed, the data to be transmitted is transformed into a packet format without compression, and A packet creation processing unit for outputting to a packet transmission / reception processing unit; the data reception processing unit determines whether or not the packet received from the packet transmission / reception processing unit includes compressed data. Then, if data is extracted from the packet and the determination of the reception mode determination processing unit indicates that the data includes compressed data, the extracted data is decompressed into reception data, and the determination of the reception mode determination processing unit is performed. If the data includes compressed data, the data transmission includes a data shaping processing unit that uses the extracted data as received data. Communication apparatus.
【請求項2】前記パケット送受信処理手段は前記回線の
状態を監視して、 前記データ送信処理手段は、 前記パケット送受信処理手段から前記回線の状態を受け
取り、この回線が高負荷状態にあるか否かを判断する監
視処理部をさらに含み、 前記送信モード判定処理部は、前記圧縮するかしないか
を随時選択できるモードにおいて前記監視処理部の判断
に基づいて前記送信すべきデータを圧縮するかしないか
を選択することを特徴とする請求項1に記載のデータ送
受信装置。
2. The packet transmission / reception processing unit monitors the state of the line, the data transmission processing unit receives the state of the line from the packet transmission / reception processing unit, and determines whether or not this line is in a high load state. The transmission mode determination processing unit further includes a monitoring processing unit that determines whether to compress the data to be transmitted based on the determination of the monitoring processing unit in a mode in which it is possible to select whether to compress the compression or not. The data transmitting / receiving apparatus according to claim 1, wherein the data transmitting / receiving apparatus is selected.
【請求項3】前記送信モード判定処理部は、前記圧縮す
るかしないかを随時選択できるモードにおいて前記送信
すべきデータのデータ量に基づいて前記送信すべきデー
タを圧縮するかしないかを選択することを特徴とする請
求項1に記載のデータ送受信装置。
3. The transmission mode determination processing unit selects whether or not to compress the data to be transmitted based on the data amount of the data to be transmitted in a mode in which it is possible to select whether or not to compress. The data transmission / reception device according to claim 1, wherein
【請求項4】前記パケット送受信処理手段は前記回線の
状態を監視して、 前記データ送信処理手段は、 前記パケット送受信処理手段から前記回線の状態を受け
取り、この回線が高負荷状態にあるか否かを判断する監
視処理部をさらに含み、 前記送信モード判定処理部は、前記圧縮するかしないか
を随時選択できるモードにおいて前記監視処理部の判断
および前記送信すべきデータのデータ量に基づいて前記
送信すべきデータを圧縮するかしないかを選択すること
を特徴とする請求項1に記載のデータ送受信装置。
4. The packet transmission / reception processing means monitors the state of the line, the data transmission processing means receives the state of the line from the packet transmission / reception processing means, and determines whether or not this line is in a high load state. The transmission mode determination processing unit further includes a monitoring processing unit that determines whether or not the compression is performed based on a determination by the monitoring processing unit and a data amount of the data to be transmitted in a mode in which the compression or non-compression can be selected at any time. The data transmission / reception device according to claim 1, wherein compression or non-compression of data to be transmitted is selected.
JP35238293A 1993-12-29 1993-12-29 Data transmitter-receiver Pending JPH07202983A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35238293A JPH07202983A (en) 1993-12-29 1993-12-29 Data transmitter-receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35238293A JPH07202983A (en) 1993-12-29 1993-12-29 Data transmitter-receiver

Publications (1)

Publication Number Publication Date
JPH07202983A true JPH07202983A (en) 1995-08-04

Family

ID=18423695

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35238293A Pending JPH07202983A (en) 1993-12-29 1993-12-29 Data transmitter-receiver

Country Status (1)

Country Link
JP (1) JPH07202983A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0810532A2 (en) * 1996-05-31 1997-12-03 Siemens Medical Systems, Inc. A lossless data compression technique that also facilitates signal analysis
JPH11112533A (en) * 1997-09-30 1999-04-23 Canon Inc Data communication system, data communication method, data communication node and recording medium
US6289020B1 (en) 1997-11-21 2001-09-11 Nec Corporation ATM data controller
JP2003308269A (en) * 2002-04-12 2003-10-31 Ricoh Co Ltd Data transfer system, program and recording medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02143762A (en) * 1988-11-25 1990-06-01 Nec Corp Image data transfer system
JPH03191638A (en) * 1989-12-21 1991-08-21 Toshiba Corp Packet reproducing system in packet communication
JPH0429442A (en) * 1990-05-23 1992-01-31 Matsushita Electric Ind Co Ltd Multimedia multiplex transmission equipment
JPH0443743A (en) * 1990-06-08 1992-02-13 Ricoh Co Ltd Printer output system for network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02143762A (en) * 1988-11-25 1990-06-01 Nec Corp Image data transfer system
JPH03191638A (en) * 1989-12-21 1991-08-21 Toshiba Corp Packet reproducing system in packet communication
JPH0429442A (en) * 1990-05-23 1992-01-31 Matsushita Electric Ind Co Ltd Multimedia multiplex transmission equipment
JPH0443743A (en) * 1990-06-08 1992-02-13 Ricoh Co Ltd Printer output system for network

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0810532A2 (en) * 1996-05-31 1997-12-03 Siemens Medical Systems, Inc. A lossless data compression technique that also facilitates signal analysis
EP0810532A3 (en) * 1996-05-31 1999-02-24 Siemens Medical Systems, Inc. A lossless data compression technique that also facilitates signal analysis
JPH11112533A (en) * 1997-09-30 1999-04-23 Canon Inc Data communication system, data communication method, data communication node and recording medium
US6289020B1 (en) 1997-11-21 2001-09-11 Nec Corporation ATM data controller
JP2003308269A (en) * 2002-04-12 2003-10-31 Ricoh Co Ltd Data transfer system, program and recording medium

Similar Documents

Publication Publication Date Title
EP0662761A1 (en) A data communication system for efficient data transfer between terminals in a network
US4896151A (en) Simultaneous communication method and system
JPH07202983A (en) Data transmitter-receiver
JPH11196088A (en) Multicast communication method and system
JP3131515B2 (en) Facsimile communication control method
JP2643630B2 (en) Message transmission method
JP2919057B2 (en) Non-response monitoring method in multi-job system
JPH06164651A (en) Image data transmitter
JP3159244B2 (en) Data compression device
JP3160806B2 (en) Data transmission method and device
JP3159243B2 (en) Data compression device
JP3462061B2 (en) Communication device
JPH0358217B2 (en)
JP2518468B2 (en) Information processing device
JP3241612B2 (en) Data collection system
JPH06276253A (en) Data transmission control method
JPS59212053A (en) Data relay system
JPH10126860A (en) Method for collecting data for remote monitoring device
JPH08223316A (en) Communication equipment with transmission confirmation function
JPH01220561A (en) Facsimile equipment
JPH06268799A (en) Facsimile store and forward exchange
JPH0484531A (en) Communication system for local network system
JPH05342057A (en) System for immediately informing trouble with fax
JPH05257913A (en) Health check system
JPH08111753A (en) Facsimile equipment provided with memory receiving function

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19971028