JP2009044619A - Communication method, network system, storage medium, and network connection device - Google Patents

Communication method, network system, storage medium, and network connection device Download PDF

Info

Publication number
JP2009044619A
JP2009044619A JP2007209404A JP2007209404A JP2009044619A JP 2009044619 A JP2009044619 A JP 2009044619A JP 2007209404 A JP2007209404 A JP 2007209404A JP 2007209404 A JP2007209404 A JP 2007209404A JP 2009044619 A JP2009044619 A JP 2009044619A
Authority
JP
Japan
Prior art keywords
request command
response
client
server
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2007209404A
Other languages
Japanese (ja)
Other versions
JP4927661B2 (en
Inventor
Toshihiro Fukuda
敏博 福田
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.)
JT Engineering Inc
Original Assignee
JT Engineering Inc
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 JT Engineering Inc filed Critical JT Engineering Inc
Priority to JP2007209404A priority Critical patent/JP4927661B2/en
Publication of JP2009044619A publication Critical patent/JP2009044619A/en
Application granted granted Critical
Publication of JP4927661B2 publication Critical patent/JP4927661B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a network system simply configured to sufficiently ensure real-time property of data reception in a client even when performing data communication, according to a request command/answer response system, between the client and a server via a low-speed network. <P>SOLUTION: When transmitting the same request command from a client in a fixed cycle, the request command is cached at a server side. Thus, without performing data communication of the request command from the client via a network, an answer response is redirected from the server in a fixed cycle in accordance with the cached request command. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、ネットワークを介して接続されたクライアントとサーバとの間で要求コマンドに対する応答レスポンスを返信する方式でデータ通信を行うシステムに係り、特にリアルタイム性を向上させた通信方法、ネットワークシステム、記憶媒体およびネットワーク接続機器に関する。尚、ここではクライアント側の情報処理機器(コンピュータ)をクライアントと定義し、またサーバ用の情報処理機器(コンピュータ)をサーバと定義して用いる。   The present invention relates to a system for performing data communication in a system in which a response response to a request command is returned between a client and a server connected via a network, and in particular, a communication method, a network system, and a memory with improved real-time characteristics The present invention relates to a medium and a network connection device. Here, an information processing device (computer) on the client side is defined as a client, and an information processing device (computer) for a server is defined as a server.

ファクトリーオートメーション(FA)等においては、図9に示すようにクライアント1とサーバ2とをネットワーク3を介して接続し、ネットワーク3を介してデータ通信を行うネットワークシステムが構築される。このようなネットワークシステムにおいては、例えば図10に示すようにクライアント1からサーバ2に向けて該サーバ2のデータエリアに格納されたデータAの値の出力を要求するコマンド(要求コマンド)を送信し、この要求コマンドを受けたサーバ2から前記クライアント1に向けて上記要求コマンドに対する応答レスポンスの形で前記データAの値を返信することが多い。このようなデータ通信形態は、例えば要求コマンド/応答レスポンス方式と称される(例えば特許文献1,2を参照)。   In factory automation (FA) or the like, a network system is constructed in which a client 1 and a server 2 are connected via a network 3 and data communication is performed via the network 3 as shown in FIG. In such a network system, for example, as shown in FIG. 10, a command (request command) requesting output of the value of data A stored in the data area of the server 2 is transmitted from the client 1 to the server 2. In many cases, the value of the data A is returned in the form of a response response to the request command from the server 2 receiving the request command to the client 1. Such a data communication form is called, for example, a request command / response response system (see, for example, Patent Documents 1 and 2).

また上記FAにおいては、サーバ2が収集したデータをクライアント1側にて定常的に監視するべく、クライアント1から同一の要求コマンドを一定時間毎に繰り返し送信することも多い。
特開2000−32006号公報 特開2001−168921号公報
In the FA, the same request command is often repeatedly transmitted from the client 1 at regular intervals so that the data collected by the server 2 is constantly monitored on the client 1 side.
JP 2000-32006 JP JP 2001-168921 A

しかしながらネットワーク3が広域に亘って敷設された低速の通信回線にて構築されるような場合、要求コマンドの送出から応答レスポンスの到着までに要する時間(応答遅れ時間;遅延時間)が大きくなることが否めず、リアルタイム性が損なわれると言う不具合がある。また広域ネットワークとしてインターネット回線を利用するような場合、セキュリティを高めるべく通信データを暗号化することが多く、暗号化・復号化に伴う高負荷な処理に起因して前述した応答遅れ時間が益々増大すると言う不具合がある。従って要求コマンド/応答レスポンス方式によりリアルタイムにデータを収集する必要のある状態監視等の用途においては、ローカルエリアネットワーク等の高速な環境に限られると言う問題がある。   However, when the network 3 is constructed by a low-speed communication line laid over a wide area, the time (response delay time; delay time) required from sending a request command to arrival of a response response may increase. Undoubtedly, there is a problem that real-time performance is impaired. In addition, when using an Internet line as a wide area network, communication data is often encrypted to increase security, and the response delay time described above increases due to heavy processing associated with encryption / decryption. There is a problem to say. Therefore, in applications such as state monitoring that requires collecting data in real time using a request command / response response method, there is a problem that it is limited to a high-speed environment such as a local area network.

本発明はこのような事情を考慮してなされたもので、その目的は、例えば広域ネットワークのような比較的低速なネットワークを介してクライアントとサーバとの間で要求コマンド/応答レスポンス方式によりデータ通信を行う場合であっても、そのリアルタイム性を十分に確保したデータ通信を行い得る通信方法、および簡易な構成のネットワークシステムを提供することにある。   The present invention has been made in consideration of such circumstances, and its object is to perform data communication by a request command / response response method between a client and a server via a relatively low speed network such as a wide area network. Therefore, it is an object to provide a communication method capable of performing data communication with sufficiently ensuring the real-time property and a network system with a simple configuration.

また同時に本発明は上記ネットワークシステムを構築するに必要な機能を有するソフトウェアプログラムを記憶した記憶媒体、更には上記機能を備えたネットワーク接続機器を提供することにある。   At the same time, it is an object of the present invention to provide a storage medium storing a software program having a function necessary for constructing the network system, and a network connection device having the function.

上述した目的を達成するべく本発明は、ネットワークを介して接続されたクライアントとサーバとの間で要求コマンド/応答レスポンス方式にてデータ通信を行い、これによってサーバが収集したデータをクライアントにて定常的に監視するような場合、クライアントからサーバに向けて同一の要求コマンドを一定の周期で繰り返し送信することが多いことに着目している。そこで本発明に係る通信方法は、ネットワークを介して同一の要求コマンドを一定の周期で受信したとき該要求コマンドをキャッシュし、キャッシュした要求コマンドに従って一定の周期で応答レスポンスを返信するようにしたことを特徴としている。   In order to achieve the above-described object, the present invention performs data communication between a client and a server connected via a network by a request command / response response method, whereby the data collected by the server is constantly transmitted by the client. In such a case, it is noted that the same request command is often repeatedly transmitted from the client to the server at a constant period. Therefore, the communication method according to the present invention caches the request command when the same request command is received via the network at a constant cycle, and returns a response response at a constant cycle according to the cached request command. It is characterized by.

また本発明に係るネットワークシステムは、クライアントからネットワークを介してサーバに要求コマンドを送信し、上記要求コマンドを受けた前記サーバから前記ネットワークを介して前記クライアントに応答レスポンスを返信するシステムにおいて、
前記クライアントから同一の要求コマンドが一定の周期で送信されるとき、前記サーバ側において前記要求コマンドをキャッシュし、キャッシュした要求コマンドに従って前記サーバから一定の周期で応答レスポンスを返信するようにしたことを特徴としている。
In the network system according to the present invention, a request command is transmitted from a client to a server via a network, and a response response is returned from the server that has received the request command to the client via the network.
When the same request command is transmitted from the client at a fixed cycle, the request command is cached on the server side, and a response response is returned from the server at a fixed cycle according to the cached request command. It is a feature.

好ましくは前記クライアントおよび前記サーバを、中継機能を備えた代理エージェントを介して前記ネットワークにそれぞれ接続し、
前記クライアント側の代理エージェントを、前記クライアントから同一の要求コマンドが一定の周期で通知されるとき、前記サーバ側の代理エージェントに該要求コマンドのキャッシュを指示すると共に、その後の前記クライアントからの要求コマンドの中継を停止するように構成すると共に、前記サーバ側の代理エージェントを、キャッシュした要求コマンドに従って前記クライアントに代わって前記一定の周期で前記サーバに要求コマンドを発するように構成することが好ましい。
Preferably, the client and the server are respectively connected to the network via a proxy agent having a relay function,
When the same request command is notified from the client in a certain cycle to the client side proxy agent, the server side proxy agent is instructed to cache the request command, and the subsequent request command from the client Preferably, the server-side proxy agent is configured to issue a request command to the server at the predetermined period in place of the client in accordance with the cached request command.

また前記サーバにおいては、キャッシュした要求コマンドに応答するに際して、前記ネットワークでの応答遅れ時間を見込んで応答レスポンスを返送するように構成することが望ましい。尚、前記クライアント側の代理エージェントにおいては、要求コマンドの内容をハッシュ計算して求められる値をシグニチャとして同一の要求コマンドの検出を行うようにすれば良い。また前記ハッシュ計算については、要求コマンドに含まれるシーケンス番号を除いて実行するようにすれば良い。   The server is preferably configured to return a response response in response to a cached request command in anticipation of a response delay time in the network. In the proxy agent on the client side, the same request command may be detected using the value obtained by hash calculation of the contents of the request command as a signature. The hash calculation may be executed by excluding the sequence number included in the request command.

また上述したクライアント側の代理エージェントの機能およびサーバ側の代理エージェントの機能については、コンピュータ上でこれらの機能を実現するソフトウェアを記憶した記憶媒体として提供するようにしても良い。或いはクライアント側の代理エージェントの機能を備えたネットワーク接続機器や、サーバ側の代理エージェントの機能を備えたネットワーク接続機器として提供するようにしても良い。   Further, the functions of the client-side proxy agent and the server-side proxy agent described above may be provided as a storage medium storing software that realizes these functions on a computer. Alternatively, it may be provided as a network connection device having a client-side proxy agent function or a network connection device having a server-side proxy agent function.

本発明に係る通信方法およびネットワークシステムによれば、クライアントが同一の要求コマンドを一定の時間毎に繰り返して送信する状態をクライアント側の代理エージェントにおいて検出したとき、その要求コマンドをサーバ側の代理エージェントにてキャッシュさせると共にその後の同一要求コマンドの中継を停止し、サーバ側の代理エージェントにおいてはキャッシュした要求コマンドに従って一点時間毎にクライアントに向けて応答レスポンスを送信するので、見掛け上その応答遅れを低減することができる。またネットワークに対して同一の要求コマンドが一定時間毎に繰り返し送信されることがなくなるので、ネットワークでのトラフィック量を低減することも可能となる。   According to the communication method and the network system of the present invention, when the client-side proxy agent detects a state in which the client repeatedly transmits the same request command at regular intervals, the request command is transmitted to the server-side proxy agent. And the subsequent proxy request on the server is stopped, and the server side proxy agent sends a response response to the client at every point of time according to the cached request command, apparently reducing the response delay. can do. In addition, since the same request command is not repeatedly transmitted to the network at regular intervals, it is possible to reduce the traffic amount in the network.

特にサーバからクライアントに向けて応答レスポンスを送信するに際して、ネットワークでの応答遅れ時間を見込んで時間的に遡って応答レスポンスを返送するようにすれば、クライアントにおいては要求コマンドの送信タイミングにてリアルタイムに応答レスポンスを得ることができるので、実質的に応答遅れ時間を零(0)としてリアルタイム性を確保することが可能となる。従って低速のネットワークを介して要求コマンド/応答レスポンス方式によりデータ通信を行う場合であっても、そのリアルタイム性を簡易にして効果的に確保することが可能となる。   In particular, when sending a response response from the server to the client, if the response response is sent back in time in anticipation of the response delay time in the network, the client will send the request command in real time at the transmission timing of the request command. Since a response response can be obtained, real-time performance can be ensured with the response delay time substantially zero (0). Therefore, even when data communication is performed by a request command / response response method via a low-speed network, the real-time property can be simply and effectively ensured.

以下、図面を参照して本発明の一実施形態に係る通信方法およびこの通信方法を採用したネットワークシステムについて説明する。
図1は本発明に係るネットワークシステムの概略構成図で、1はクライアント(クライアント側の情報処理装置;コンピュータ)、2はサーバ(サーバ用の情報処理装置;コンピュータ)、そして3は広域通信回線やインターネット回線等のネットワークである。本発明に係るネットワークシステムは、中継機能を備えた代理応答用の代理エージェント(代理応答エージェント)4を介して前記クライアント1をネットワーク3に接続すると共に、中継機能を備えた代理要求用の代理エージェント(代理要求エージェント)5を介して前記サーバ2をネットワーク3に接続して構築される。そして前記クライアント1およびサーバ2は、上記代理応答エージェント4および代理要求エージェント5をそれぞれ介してデータ通信を行うように設定される。尚、上記各代理エージェント4,5とは、クライアント1またはサーバ2と前記ネットワーク3との間で要求コマンドおよび応答レスポンスをそれぞれ中継する中継機能、並びに後述する代理応答機能および代理要求機能を備えた情報処理装置(コンピュータ)を指す。
Hereinafter, a communication method according to an embodiment of the present invention and a network system employing the communication method will be described with reference to the drawings.
FIG. 1 is a schematic configuration diagram of a network system according to the present invention. 1 is a client (information processing apparatus on the client side; computer), 2 is a server (information processing apparatus for server; computer), and 3 is a wide area communication line or A network such as an Internet line. The network system according to the present invention connects the client 1 to the network 3 via a proxy response agent (proxy response agent) 4 having a relay function, and also performs a proxy request proxy agent having a relay function. It is constructed by connecting the server 2 to the network 3 via a (proxy request agent) 5. The client 1 and the server 2 are set to perform data communication via the proxy response agent 4 and the proxy request agent 5, respectively. Each of the proxy agents 4 and 5 has a relay function for relaying a request command and a response response between the client 1 or server 2 and the network 3, and a proxy response function and a proxy request function described later. An information processing device (computer).

このような代理応答エージェント4および代理要求エージェント5をそれぞれ介する前述したクライアント1とサーバ2との間の間接的なデータ通信は、クライアント1が代理応答エージェント4をサーバ3と看做し得るように、またサーバ2が代理要求エージェント5をクライアント1と看做し得るように、上記各代理エージェント4,5に仮想のネットワークアドレスを割り当てることにより実現される。   The above-described indirect data communication between the client 1 and the server 2 through the proxy response agent 4 and the proxy request agent 5 respectively allows the client 1 to regard the proxy response agent 4 as the server 3. In addition, it is realized by assigning a virtual network address to each of the proxy agents 4 and 5 so that the server 2 can regard the proxy request agent 5 as the client 1.

そしてこれらの代理エージェント4,5間でのネットワーク3を介するデータ通信は、例えば図2に示すようにクライアント1から送信された要求コマンド(通信データ)またはサーバ2から返送される応答レスポンス(通信データ)に、これらの通信データの中継を制御する為のエージェント中継制御ヘッダを付し、更に通信プロトコルヘッダを付すことで、所定のフォーマットの通信パケットを構成して行われる。好ましくは前記エージェント4,5間でのデータ通信は、要求コマンド/応答レスポンス(通信データ)とエージェント中継制御ヘッダとからなる通信データ内容(パケットデータ)を暗号化して行われる。   The data communication between the proxy agents 4 and 5 via the network 3 is, for example, a request command (communication data) transmitted from the client 1 or a response response (communication data) returned from the server 2 as shown in FIG. ) Is attached with an agent relay control header for controlling the relay of these communication data, and further with a communication protocol header, thereby forming a communication packet of a predetermined format. Preferably, the data communication between the agents 4 and 5 is performed by encrypting communication data contents (packet data) including a request command / response response (communication data) and an agent relay control header.

さて前記代理応答エージェント4は前述した中継機能に加えて、クライアント1からサーバ2に向けて送信される要求コマンドを監視して、同一の要求コマンドが繰り返し送信されるか否かを判定し、また同一の要求コマンドが一定の周期Tで繰り返し送信される場合には、その周期Tを検出する機能を備える。そして同一の要求コマンドが所定の期間に亘って、或いは所定の回数に亘って一定の周期Tで繰り返し送信されることが検出された場合には該要求コマンドの中継処理を停止し、サーバ2側に該要求コマンドのキャッシュを指示する機能を備える。   In addition to the relay function described above, the proxy response agent 4 monitors a request command transmitted from the client 1 to the server 2, and determines whether or not the same request command is repeatedly transmitted. In the case where the same request command is repeatedly transmitted at a constant period T, a function for detecting the period T is provided. If it is detected that the same request command is repeatedly transmitted over a predetermined period or a predetermined number of times at a constant period T, the relay process of the request command is stopped and the server 2 side Has a function of instructing the cache of the request command.

一方、前記代理要求エージェント5は前述した中継機能に加えて前記要求コマンドのキャッシュ機能を備える。このキャッシュ機能は、前記代理応答エージェント4から要求コマンドのキャッシュの指示を受けたとき、前記クライアント1から一定の周期Tで繰り返し送信されていた要求コマンドと該要求コマンドの送信周期Tの情報とを図示しないメモリ(キャッシュ・メモリ)に書き込んで保存する役割を担う。そして更に代理要求エージェント5は上述した如く要求コマンドをキャッシュしたとき、キャッシュした要求コマンドに従って前記周期T毎に前述したクライアント1に代わって前記要求コマンドを繰り返しサーバ2に通知する機能を備える。   On the other hand, the proxy request agent 5 has a cache function for the request command in addition to the relay function described above. When receiving a request command cache instruction from the proxy response agent 4, the cache function includes a request command that has been repeatedly transmitted from the client 1 at a predetermined period T and information on the transmission period T of the request command. It plays a role of writing and saving in a memory (cache memory) (not shown). Further, the proxy request agent 5 has a function of repeatedly notifying the request command to the server 2 on behalf of the client 1 every cycle T according to the cached request command when the request command is cached as described above.

このようにしてキャッシュした要求コマンドを前記サーバ2に向けて出力する際、前記代理要求エージェント5は、後述するように前記ネットワーク3での通信データの伝送遅れ(遅延時間D)に基づいて、その遅延時間に相当する時間Dだけ遡ったタイミングで同一の要求コマンドを一定の周期Tで繰り返し出力する。するとサーバ2は代理要求エージェント5が発した要求コマンドを、前記クライアント1から送信された要求コマンドであると看做して取り込み、クライアント1に向けて応答レスポンスを返信する。   When the request command cached in this way is output to the server 2, the proxy request agent 5 determines, based on the transmission delay (delay time D) of communication data in the network 3, as will be described later. The same request command is repeatedly output at a constant period T at a timing that is back by the time D corresponding to the delay time. Then, the server 2 considers the request command issued by the proxy request agent 5 as the request command transmitted from the client 1 and returns a response response to the client 1.

このようにしてサーバ2から返信された応答レスポンスは代理要求エージェント5から前記ネットワーク3を介して、更には前記代理応答エージェント4を介して中継されてクライアント1に送信される。従ってクライアント1は、自らが送信した要求コマンドに対して、あたかも代理応答エージェント4からリアルタイムに応答レスポンスがあったかの如く、その応答レスポンスを受信することが可能となる。   The response response returned from the server 2 in this way is relayed from the proxy request agent 5 via the network 3 and further via the proxy response agent 4 and transmitted to the client 1. Therefore, the client 1 can receive the response response as if there was a response response in real time from the proxy response agent 4 in response to the request command transmitted by itself.

このように構築されたネットワークシステムにおいては、代理応答エージェント4および代理要求エージェント5の各中継機能を用いることで、基本的には図3(a)に示すようにクライアント1とサーバ2との間で要求コマンド/応答レスポンス方式によるデータ通信を間接的に行い得る。しかしこの場合、代理応答エージェント4と代理要求エージェント5とを結ぶネットワーク3の伝送特性に起因してクライアント1から送信された要求コマンドがサーバ2に届くまでに時間(遅れ時間)が掛かることが否めない。また同様にサーバ2が返信した応答レスポンスがクライアント1に届くまでに時間(遅れ時間)が掛かることが否めない。   In the network system constructed in this way, the relay functions of the proxy response agent 4 and the proxy request agent 5 are used, so that basically between the client 1 and the server 2 as shown in FIG. Thus, data communication by the request command / response response method can be performed indirectly. However, in this case, due to the transmission characteristics of the network 3 connecting the proxy response agent 4 and the proxy request agent 5, it can be denied that it takes time (delay time) for the request command transmitted from the client 1 to reach the server 2. Absent. Similarly, it cannot be denied that it takes time (delay time) until the response returned from the server 2 reaches the client 1.

しかし代理応答エージェント4による同一要求コマンドの検出機能と代理要求エージェント5による要求コマンドのキャッシュ機能とを用い、クライアント1から発せられた要求コマンドのサーバ2側への中継を中止し、これに代わって前記代理要求エージェント5からキャッシュした要求コマンドをサーバ2に与えることで、図3(b)に示すようにネットワーク3を介して要求コマンドをデータ通信する必要がなくなるので、見掛け上、該要求コマンドの伝送遅れをなくすことができる。   However, using the same request command detection function by the proxy response agent 4 and the request command cache function by the proxy request agent 5, the relay of the request command issued from the client 1 to the server 2 side is stopped, and instead, By giving the request command cached from the proxy request agent 5 to the server 2, it is not necessary to perform data communication of the request command via the network 3 as shown in FIG. Transmission delay can be eliminated.

またサーバ2から返信される応答レスポンスについては、ネットワーク3を介してデータ通信することが必要なので、それ自体の伝送遅れを回避することはできない。しかし前述したようにネットワーク3での伝送遅れを見込み、その伝送遅れ時間分だけ遡ったタイミングで前記サーバ2から応答レスポンスを出力するようにすれば、クライアント1は見掛け上、応答遅れなく応答レスポンスを受信することが可能となる。但し、このようにして応答レスポンスの出力タイミングを早めるには、その分、前記代理要求エージェント5からキャッシュした要求コマンドを、前述した伝送遅れ時間を見込んで遡ったタイミングで発するようにすることは言うまでもない。   In addition, since it is necessary to perform data communication via the network 3 for the response response returned from the server 2, the transmission delay of itself cannot be avoided. However, as described above, if a transmission delay in the network 3 is anticipated and a response response is output from the server 2 at a timing that is traced back by the transmission delay time, the client 1 apparently responds without a response delay. It becomes possible to receive. However, in order to advance the response response output timing in this way, it goes without saying that the request command cached from the proxy request agent 5 is issued at a timing that goes back in anticipation of the transmission delay time. Yes.

従ってこのように構築されたネットワークシステムによれば、ネットワーク3での伝送遅れが無視できない環境下においても、クライアント1は要求コマンドを発したタイミングから時間遅れなく、つまりリアルタイムにその応答レスポンスを受け取ることが可能となり、そのリアルタイム性を十分に高めることが可能となる。しかもクライアント1が同一の要求コマンドを一定の周期Tで繰り返し発することが多いことに着目し、所定の周期Tで繰り返し発せられる要求コマンドをサーバ2側の代理要求エージェント5にてキャッシュし、しかる後、ネットワークを介する要求コマンドのデータ通信を行うことなく、キャッシュした要求コマンドに従って応答レスポンスを繰り返し返信すると言う簡易な制御だけで、要求コマンド/応答レスポンス方式によるクライアント1でのデータ収集をリアルタイムに行うことができる。従ってその実用的利点が絶大である。   Therefore, according to the network system constructed in this way, even in an environment where transmission delays in the network 3 cannot be ignored, the client 1 receives the response response in real time without delay from the timing at which the request command is issued. And real-time characteristics can be sufficiently enhanced. Moreover, paying attention to the fact that the client 1 often issues the same request command repeatedly at a certain period T, the request command that is repeatedly issued at a predetermined period T is cached by the proxy request agent 5 on the server 2 side, and thereafter Collecting data at the client 1 by the request command / response response method in real time with simple control of repeatedly returning a response response according to the cached request command without performing data communication of the request command via the network Can do. Therefore, its practical advantage is tremendous.

ここで前述した代理応答エージェント4が有する同一の要求コマンドの検出処理と、前記代理要求エージェント5における要求コマンドのキャッシュ処理について今少し詳しく説明する。クライアント1が送信された要求コマンドの前記代理応答エージェント4における監視は、要求コマンドの内容をシグニチャ値として取り扱い、繰り返し送信される要求コマンドのシグニチャ値が等しいか否かを判定することによって行われる。特に本発明においては、要求コマンドの内容をハッシュ計算し、その計算結果をシグニチャ値として求めることで要求コマンドの内容の一意性を保証しながら、小容量で固定長のデータとして取り扱うものとなっている。   Here, the detection process of the same request command included in the proxy response agent 4 and the cache process of the request command in the proxy request agent 5 will be described in a little more detail. Monitoring of the request command transmitted by the client 1 in the proxy response agent 4 is performed by treating the contents of the request command as a signature value and determining whether or not the signature value of the request command repeatedly transmitted is equal. In particular, in the present invention, the content of the request command is hash-calculated, and the calculation result is obtained as a signature value, thereby ensuring the uniqueness of the content of the request command and handling it as small-capacity fixed-length data. Yes.

尚、クライアント1から送信される要求コマンドに一連のシーケンス番号(連番)等の付属情報が付されるような場合には、図4に例示するように付属情報を除いた要求コマンドそのものだけを抽出して、換言すれば付属情報をマスクしてハッシュ計算が行われる。このようにして求められたシグニチャ値(ハッシュ計算値)をキーとして前記要求コマンドに付されているタイムスタンプを管理し、例えば現在の要求コマンドのタイムスタンプと前回の要求コマンドのタイムスタンプとの時間差として、その繰り返し周期Tを計測する。   In the case where attached information such as a series of sequence numbers (serial numbers) is attached to the request command transmitted from the client 1, only the request command itself excluding the attached information as illustrated in FIG. In other words, hash calculation is performed by masking attached information. The time stamp attached to the request command is managed using the signature value (hash calculation value) obtained in this way as a key. For example, the time difference between the time stamp of the current request command and the time stamp of the previous request command The repetition period T is measured.

より具体的には代理応答エージェント4は、例えば図5に示す処理手順に従って要求コマンドの監視処理等を実行する。即ち、代理応答エージェント4はクライアント1からの要求コマンドを受信すると〈ステップS1〉、先ず前述したように要求コマンドの内容をハッシュ計算し、その計算結果をシグニチャ値とする〈ステップS2〉。そして予め準備されているシグニチャテーブル4aを検索し〈ステップS3〉、該シグニチャテーブル4aに同じシグニチャ値が登録されているか否かを判定する〈ステップS4〉。   More specifically, the proxy response agent 4 executes a request command monitoring process according to the processing procedure shown in FIG. 5, for example. That is, when the proxy response agent 4 receives the request command from the client 1 (step S1), first, as described above, the content of the request command is hash-calculated and the calculation result is set as the signature value (step S2). Then, the signature table 4a prepared in advance is searched <step S3>, and it is determined whether or not the same signature value is registered in the signature table 4a <step S4>.

尚、シグニチャテーブル4aとは、シグニチャ値をキーとして要求コマンドのタイムスタンプ、その繰り返し周期、同一要求コマンドの測定回数、同一要求コマンドの測定完了フラグ等を記憶する為のメモリ領域からなる。そして前述したステップS2において求められたシグニチャ値がシグニチャテーブル4aに登録されていない場合には、そのシグニチャ値をシグニチャテーブル4aに新規登録する〈ステップS5〉。シグニチャテーブル4aへの新規登録は、シグニチャ値をキーとし、タイムスタンプの項目に前記要求コマンドに付されているタイムスタンプの値を書き込むと共に、周期の項目および測定回数の項目をそれぞれ零(0)にリセットすることによって行われる。   The signature table 4a includes a memory area for storing a time stamp of a request command, a repetition period thereof, the number of times of measurement of the same request command, a measurement completion flag of the same request command, etc. using the signature value as a key. If the signature value obtained in step S2 described above is not registered in the signature table 4a, the signature value is newly registered in the signature table 4a <step S5>. The new registration to the signature table 4a uses the signature value as a key, writes the time stamp value attached to the request command in the time stamp item, and sets the period item and the number of measurement times to zero (0). Is done by resetting to

そしてこの場合には、次に前述した要求コマンドをサーバ2側(代理要求エージェント4)に向けて中継送信する〈ステップS6〉。そしてサーバ2側(代理要求エージェント4)からの応答レスポンスを待ち受け〈ステップS7〉、応答レスポンスを受信したときには該応答レスポンスをクライアント1に向けて中継送信する〈ステップS8〉。これによって要求コマンド/応答レスポンス方式によるクライアント1とサーバ2との間のデータ通信の中継を完了する。   In this case, the request command described above is then relay-transmitted toward the server 2 side (proxy request agent 4) <step S6>. Then, it waits for a response from the server 2 side (proxy request agent 4) <step S7>, and when it receives the response, it relays the response to the client 1 <step S8>. This completes the relay of data communication between the client 1 and the server 2 by the request command / response response method.

これに対して要求コマンドから求めたシグニチャ値が、前述したシグニチャテーブル4aに既に登録されている場合には〈ステップS4〉、当該要求コマンドに対する同一性の判定(繰り返し周期の測定)が既に完了したか否かが判定される〈ステップS9〉。そして同一の要求コマンドが一定の周期でクライアント1から繰り返し送信されていることが既に検出されている場合には、該要求コマンドをサーバ4側に向けて中継送信することなく、換言すれば要求コマンドの中継を停止し、前述したようにサーバ4側からの応答レスポンスを待ち受ける〈ステップS7〉。そして受信した応答レスポンスをクライアント1に向けて中継送信する〈ステップS8〉。   On the other hand, if the signature value obtained from the request command is already registered in the signature table 4a described above (step S4), the identity determination (repetition cycle measurement) for the request command has already been completed. Is determined <step S9>. If it is already detected that the same request command has been repeatedly transmitted from the client 1 at a fixed period, the request command is not relayed to the server 4 side, in other words, the request command And waits for a response from the server 4 side as described above <step S7>. The received response response is relayed to the client 1 <Step S8>.

一方、要求コマンドから求めたシグニチャ値が、前述したシグニチャテーブル4aに既に登録されているが、その要求コマンドの繰り返し送信周期Tが求められていない場合には、前述したシグニチャテーブル4aから前回の同じ要求コマンドに付されていたタイムスタンプを求めると共に、今回の要求コマンドに付されていたタイムスタンプを求め、これらのタイムスタンプの時間差として要求コマンドの繰り返し送信周期Tを求める〈ステップS10〉。そしてシグニチャテーブル4aに、要求コマンドの繰り返し送信周期Tが登録されているか否かを判定し〈ステップS11〉、送信周期Tが登録されていない場合には、前述した如く求めた送信周期Tをシグニチャテーブル4aに書き込んでその登録内容を更新する〈ステップS12〉。この際、シグニチャテーブル4aに登録している測定回数Nをインクリメントする。   On the other hand, if the signature value obtained from the request command has already been registered in the signature table 4a, but the repeated transmission period T of the request command has not been obtained, the same as the previous one from the signature table 4a. The time stamp attached to the request command is obtained, the time stamp attached to the current request command is obtained, and the request command repeated transmission cycle T is obtained as a time difference between these time stamps (step S10). Then, it is determined whether or not the repetition cycle T of the request command is registered in the signature table 4a <step S11>. If the transmission cycle T is not registered, the transmission cycle T obtained as described above is used as the signature. The registered contents are updated by writing in the table 4a <step S12>. At this time, the number of measurements N registered in the signature table 4a is incremented.

しかる後、クライアント1から受け取った要求コマンドをサーバ2側(代理要求エージェント4)に向けて中継送信する〈ステップS6〉。そしてサーバ2側(代理要求エージェント4)からの応答レスポンスを待ち受け〈ステップS7〉、応答レスポンスを受信したときには該応答レスポンスをクライアント1に向けて中継送信する〈ステップS8〉。これによって要求コマンド/応答レスポンス方式によるクライアント1とサーバ2との間のデータ通信の中継を完了する。   Thereafter, the request command received from the client 1 is relayed and transmitted to the server 2 side (proxy request agent 4) <step S6>. Then, it waits for a response from the server 2 side (proxy request agent 4) <step S7>, and when it receives the response, it relays the response to the client 1 <step S8>. This completes the relay of data communication between the client 1 and the server 2 by the request command / response response method.

これに対してシグニチャテーブル4aに送信周期Tが登録されている場合には〈ステップS11〉、シグニチャテーブル4aに登録されている送信周期Tと、今回新たに求めたタイムスタンプの時間差(送信周期T)との差が、許容された誤差範囲内であるか否かを判定する〈ステップS13〉。この誤差判定は、例えば今回求めたタイムスタンプの時間差(送信周期T)とシグニチャテーブル4aに登録されている送信周期Tとの比を求め、その比が所定の判定閾値以上であるか否かを調べることによって実行される。   On the other hand, when the transmission cycle T is registered in the signature table 4a (step S11), the time difference between the transmission cycle T registered in the signature table 4a and the newly obtained time stamp (transmission cycle T). It is determined whether or not the difference from) is within an allowable error range (step S13). For this error determination, for example, a ratio between the time difference (transmission period T) of the time stamp obtained this time and the transmission period T registered in the signature table 4a is obtained, and whether or not the ratio is equal to or greater than a predetermined determination threshold value. Performed by examining.

そして送信周期Tのずれが許容誤差範囲を超える場合には前記シグニチャテーブル4aの内容を初期化し、新たに今回求められたタイムスタンプを登録し、周期Tおよび測定回数Nをそれぞれ零(0)にリセットする〈ステップS14〉。この場合にも、クライアント1から受け取った要求コマンドをサーバ2側(代理要求エージェント4)に向けて中継送信し〈ステップS6〉、サーバ2側(代理要求エージェント4)からの応答レスポンスを待ち受けて〈ステップS7〉、受信した応答レスポンスをクライアント1に向けて中継送信する〈ステップS8〉。   If the deviation of the transmission period T exceeds the allowable error range, the contents of the signature table 4a are initialized, the time stamp newly obtained this time is registered, and the period T and the number of measurements N are set to zero (0). Reset (step S14). Also in this case, the request command received from the client 1 is relay-transmitted to the server 2 side (proxy request agent 4) <step S6>, and a response response from the server 2 side (proxy request agent 4) is waited for < Step S7>, and relay-transmit the received response response toward the client 1 <Step S8>.

さてシグニチャテーブル4aに登録されている送信周期Tと、新たに求められた送信周期Tとの差が許容された誤差範囲内である場合には〈ステップS13〉、例えば上記シグニチャテーブル4aに登録されている送信周期Tと、今回新たに求めた送信周期(タイムスタンプの時間差)Tとの平均を求め、これを現時点で計測されている同一の要求コマンドの送信周期Tとして求める〈ステップS15〉。そしてシグニチャテーブル4aに登録されている測定回数Nが所定回数以上であるか否かを判定することで同じ要求コマンドの繰り返し性を判断する〈ステップS16〉。そして上記測定回数Nが所定回数に満たず、同じ要求コマンドの繰り返し性が保証されない場合には、今回のタイムスタンプや、新たに求めた周期Tをシグニチャテーブル4aに登録し、また測定回数Nをインクリメントとしてシグニチャテーブル4aを更新する〈ステップS17〉。   If the difference between the transmission cycle T registered in the signature table 4a and the newly determined transmission cycle T is within an allowable error range, <step S13>, for example, registered in the signature table 4a. The average of the transmission cycle T currently obtained and the transmission cycle (time difference between time stamps) T newly obtained this time is obtained, and this is obtained as the transmission cycle T of the same request command currently measured <step S15>. Then, the repeatability of the same request command is determined by determining whether or not the number of times of measurement N registered in the signature table 4a is equal to or greater than a predetermined number <step S16>. If the measurement number N is less than the predetermined number and repeatability of the same request command is not guaranteed, the current time stamp and the newly obtained period T are registered in the signature table 4a, and the measurement number N is The signature table 4a is updated as an increment <step S17>.

この場合にも、クライアント1から受け取った要求コマンドをサーバ2側(代理要求エージェント4)に向けて中継送信し〈ステップS6〉、サーバ2側(代理要求エージェント4)からの応答レスポンスを待ち受けて〈ステップS7〉、受信した応答レスポンスをクライアント1に向けて中継送信する〈ステップS8〉。そして前記クライアント1からの次の要求コマンドの送信を待ち受ける。   Also in this case, the request command received from the client 1 is relay-transmitted to the server 2 side (proxy request agent 4) <step S6>, and a response response from the server 2 side (proxy request agent 4) is waited for < Step S7>, and relay-transmit the received response response toward the client 1 <Step S8>. Then, it waits for transmission of the next request command from the client 1.

さて上述した如くしてクライアント1が送信した要求コマンドのシグニチャ値を求め、シグニチャテーブル4aを参照して該要求コマンドの同一性と、その繰り返し周期性とが確認されたならば〈ステップS16〉、前記代理要求エージェント5に対して当該要求コマンドのキャッシュを指示する〈ステップS18〉。そしてシグニチャテーブル4aを更新した後〈ステップS17〉、前述したようにクライアント1から受け取った要求コマンドをサーバ2側(代理要求エージェント4)に向けて中継送信する〈ステップS6〉。そしてサーバ2側(代理要求エージェント4)からの応答レスポンスを待ち受けて〈ステップS7〉、受信した応答レスポンスをクライアント1に向けて中継送信する〈ステップS8〉。   Now, as described above, the signature value of the request command transmitted by the client 1 is obtained, and if the identity of the request command and its repetition periodicity are confirmed by referring to the signature table 4a, <step S16> The proxy request agent 5 is instructed to cache the request command <step S18>. Then, after updating the signature table 4a <step S17>, as described above, the request command received from the client 1 is relay-transmitted toward the server 2 side (proxy request agent 4) <step S6>. Then, it waits for a response from the server 2 side (proxy request agent 4) <step S7>, and relays the received response response toward the client 1 <step S8>.

このようにして代理要求エージェント5に対して要求コマンドのキャッシュを指示した後、クライアント1からの新たな要求コマンドを受信すると、代理応答エージェント4においては前述したシグニチャテーブル4aを参照することで、その要求コマンドが所定の周期で繰り返し送信されている要求コマンドと同一であるか否かを判定する〈ステップS4〉。そして所定回数に亘って要求コマンドの繰り返し周期が求められ、その繰り返し周期性が保証されている場合には〈ステップS9〉、代理応答エージェント4は、クライアント1から受け取った要求コマンドをサーバ2側(代理要求エージェント4)に向けて中継送信することなく、つまり要求コマンドの中継を行うことなくサーバ2側(代理要求エージェント4)からの応答レスポンスを待ち受ける〈ステップS7〉。そして受信した応答レスポンスをクライアント1に向けて中継送信する〈ステップS8〉。   After instructing the proxy request agent 5 to cache the request command in this way, when a new request command is received from the client 1, the proxy response agent 4 refers to the signature table 4a described above. It is determined whether or not the request command is the same as the request command that is repeatedly transmitted at a predetermined cycle <step S4>. Then, when the repetition cycle of the request command is obtained over a predetermined number of times and the repetition periodicity is guaranteed <Step S9>, the proxy response agent 4 sends the request command received from the client 1 to the server 2 side ( A response response from the server 2 side (proxy request agent 4) is awaited without relay transmission toward the proxy request agent 4), that is, without relaying the request command (step S7). The received response response is relayed to the client 1 <Step S8>.

代理応答エージェント4は、クライアント1から発せられた要求コマンドを受信する都度、上述した処理手順により要求コマンドの同一性を判断し、更には一定周期での繰り返し性を判断することで、代理要求エージェント5に対して要求コマンドのキャッシュを指示する。そしてその後の要求コマンドの中継を停止し、代理要求エージェント5による管理の下でサーバ2から一定周期で返信される応答レスポンスをクライアント1に中継することになる。従ってクライアント1は、一定の周期Tでサーバ2に向けて送信した要求コマンドに対する応答レスポンスをサーバ2から確実に受け取ることが可能となる。この際、代理応答エージェント4において要求コマンドに付されたシーケンス番号に従って応答レスポンスの中継を管理すれば、常に要求コマンドとその応答レスポンスとを対応付けることが可能となるので、要求コマンド/応答レスポンス方式によるクライアント1とサーバ2との間でのデータ通信に何等の支障を招く虞もない。   Each time the proxy response agent 4 receives a request command issued from the client 1, the proxy response agent 4 determines the identity of the request command according to the above-described processing procedure, and further determines the repeatability at a constant period, thereby determining the proxy request agent. 5 is instructed to cache the request command. Thereafter, the relay of the request command is stopped, and the response response returned from the server 2 at a constant cycle under the management of the proxy request agent 5 is relayed to the client 1. Therefore, the client 1 can surely receive a response from the server 2 in response to a request command transmitted to the server 2 at a constant period T. At this time, if the proxy response agent 4 manages response response relaying according to the sequence number attached to the request command, it is possible to always associate the request command with the response response. There is no possibility of causing any trouble in data communication between the client 1 and the server 2.

さて前述したように代理応答エージェント4から要求コマンドのキャッシュの指示を受ける代理要求エージェント5は、例えば図6に示す処理手順に従ってその処理機能を実行する。即ち、代理要求エージェント5は、基本的には代理応答エージェント4からの要求コマンドを受信し〈ステップS21〉、その要求コマンドにキャッシュ指示の情報が含まれているか否かを判断する〈ステップS22〉。そしてキャッシュ指示がない場合には、代理応答エージェント4から受信した要求コマンドをサーバ2に向けて中継送信する〈ステップS23〉。そしてこの要求コマンドに対してサーバ2が返信する応答レスポンスを受信し〈ステップS24〉、受信した応答レスポンスを前記代理応答エージェント4に対して中継送信する〈ステップS25〉。即ち、代理応答エージェント4とサーバ2との間のデータ通信を中継する。   As described above, the proxy request agent 5 that receives a request command cache instruction from the proxy response agent 4 executes the processing function according to the processing procedure shown in FIG. 6, for example. That is, the proxy request agent 5 basically receives the request command from the proxy response agent 4 <step S21>, and determines whether or not the cache command information is included in the request command <step S22>. . If there is no cache instruction, the request command received from the proxy response agent 4 is relayed to the server 2 <Step S23>. Then, a response response sent back by the server 2 in response to this request command is received <step S24>, and the received response response is relayed to the proxy response agent 4 <step S25>. That is, the data communication between the proxy response agent 4 and the server 2 is relayed.

これに対して代理応答エージェント4から通知された要求コマンドにキャッシュ指示の情報が含まれる場合には〈ステップS22〉、その指示に従って当該要求コマンドをキャッシュメモリ5aにキャッシュする〈ステップS26〉。同時に前記代理応答エージェント4にて求められた要求コマンドの繰り返し周期Tの情報を取得する。そしてこの繰り返し周期Tから前記ネットワーク3でのデータの伝送遅れ時間(伝送遅延時間)を差し引くことで、前記クライアント1が次回に要求コマンドを送信すると見込まれるタイミングから一定時間だけ遡ったタイミングを設定する〈ステップS27〉。この場合、前述したように前記代理応答エージェント4にて要求コマンドの中継が停止されることから、上記タイミングにて前記クライアント1からの要求コマンドに代えて、先にキャッシュした要求コマンドを読み込み〈ステップS28〉、この要求コマンドをサーバ2に対して送信する〈ステップS29〉。この場合、要求コマンドに負荷するシーケンス番号を順次インクリメントする。そして送信した要求コマンドに対して前記サーバ2が返信する応答レスポンスを受信し〈ステップS30〉、この応答レスポンスを前記代理応答エージェント4に対して中継送信する〈ステップS31〉。   On the other hand, if the request command notified from the proxy response agent 4 includes cache instruction information (step S22), the request command is cached in the cache memory 5a according to the instruction (step S26). At the same time, information on the repetition period T of the request command obtained by the proxy response agent 4 is acquired. Then, by subtracting the data transmission delay time (transmission delay time) in the network 3 from the repetition period T, a timing that is a predetermined time later than the timing at which the client 1 is expected to transmit the request command next time is set. <Step S27>. In this case, since the proxy response agent 4 stops relaying the request command as described above, the previously cached request command is read instead of the request command from the client 1 at the above timing <step S28>, this request command is transmitted to the server 2 <Step S29>. In this case, the sequence number loaded on the request command is sequentially incremented. Then, a response response returned by the server 2 in response to the transmitted request command is received <Step S30>, and this response response is relayed to the proxy response agent 4 <Step S31>.

その後、前述した要求コマンドの繰り返し周期Tをタイマ管理し、上記周期Tが経過する都度〈ステップS32〉、前述したステップS28からの処理を繰り返し実行する。即ち、一定の周期毎にキャッシュした要求コマンドをサーバ2に与えることで、該サーバ2から一定周期T毎にその応答レスポンスを引き出し、これをクライアント1側に向けて中継送信する。   Thereafter, the repetition period T of the request command described above is managed by a timer, and each time the period T elapses <step S32>, the processing from step S28 described above is repeatedly executed. That is, by giving a request command cached at regular intervals to the server 2, the response response is extracted from the server 2 at regular intervals T and relayed to the client 1 side.

このように機能する代理要求エージェント5と前述した代理応答エージェント4とにより、クライアント1から一定の周期で繰り返し送信される同一の要求コマンドが検出されたとき、その要求コマンドを代理要求エージェント5にてキャッシュし、ネットワーク3を介してクライアント1が送信した要求コマンドを伝送することなく、キャッシュした要求コマンドに基づいてサーバ2から一定の周期で応答レスポンスをクライアント1に与えることが可能となる。特にキャッシュした要求コマンドに基づく応答レスポンスの返送タイミングを、ネットワーク3での伝送遅れを見込んで早めに設定することで、クライアント1における要求コマンドの送信タイミングからの応答レスポンスの受信タイミングまでの応答遅れを実質的(見掛け上)になくすことができる。従ってそのリアルタイム性を十分に高くすることが可能となる。   When the proxy request agent 5 functioning in this way and the proxy response agent 4 described above detect the same request command that is repeatedly transmitted from the client 1 at a fixed period, the proxy request agent 5 sends the request command to the proxy request agent 5. It is possible to provide a response response from the server 2 to the client 1 at a constant cycle based on the cached request command without caching and transmitting the request command transmitted by the client 1 via the network 3. In particular, by setting the response response return timing based on the cached request command early in anticipation of transmission delay in the network 3, the response delay from the request command transmission timing to the response response reception timing in the client 1 can be reduced. It can be virtually eliminated (apparently). Therefore, the real time property can be sufficiently increased.

尚、前述した代理応答エージェント4および代理要求エージェント5がそれぞれ有する機能については、図7に例示するようにクライアント1側のコンピュータおよびサーバ2がのコンピュータにそれぞれソフトウェアプログラムとして組み込むようにすれば十分である。この場合、代理応答エージェント4および代理要求エージェント5がそれぞれ有する機能を実行するソフトウェアプログラムをCD-ROM等の記録媒体に書き込んで、適宜、各種のネットワークシステムに組み込みうるようにしておくことが好ましい。   As for the functions of the proxy response agent 4 and the proxy request agent 5 described above, it suffices if the computer on the client 1 side and the server 2 are respectively incorporated as software programs in the computer as illustrated in FIG. is there. In this case, it is preferable that a software program for executing the functions of the proxy response agent 4 and the proxy request agent 5 is written in a recording medium such as a CD-ROM so that it can be appropriately incorporated into various network systems.

また或いは図8に示すように代理応答エージェント4の機能を備えたネットワーク接続機器、および代理要求エージェント5の機能を備えたネットワーク接続機器としてそれぞれ実現し、これらのネットワーク接続機器をクライアントコンピュータとネットワーク3の間、およびサーバコンピュータとネットワーク3の間にそれぞれ介挿するようにしても良い。要はその実施の形態については種々変形可能である。   Alternatively, as shown in FIG. 8, the network connection device having the function of the proxy response agent 4 and the network connection device having the function of the proxy request agent 5 are realized, and these network connection devices are respectively connected to the client computer and the network 3. And between the server computer and the network 3, respectively. In short, the embodiment can be variously modified.

尚、本発明は上述した実施形態に限定されるものではない。例えば要求コマンドの同一性の判定やその周期性の判定については、種々の判定アルゴリズを適宜採用可能である。またここではクライアント1とサーバ2との1対1のデータ通信を例に説明したが、複数のサーバ2との間で並列的に要求コマンド/応答レスポンス方式にてそれぞれデータ通信を行う場合でも同様に適用することができる。その他、本発明はその要旨を逸脱しない範囲で種々変形して実施することができる。   The present invention is not limited to the embodiment described above. For example, various determination algorithms can be appropriately employed for determining the identity of request commands and determining the periodicity thereof. In addition, here, the one-to-one data communication between the client 1 and the server 2 has been described as an example, but the same applies when performing data communication with a plurality of servers 2 in parallel using a request command / response response method. Can be applied to. In addition, the present invention can be variously modified and implemented without departing from the scope of the invention.

本発明の一実施形態に係るネットワークシステムの概略構成図。1 is a schematic configuration diagram of a network system according to an embodiment of the present invention. 代理応答エージェントと代理要求エージェントとの間でのデータ通信されるパケットのフォーマット例を示す図。The figure which shows the example of a format of the packet by which data communication is carried out between a proxy response agent and a proxy request agent. 図1に示すネットワークシステムでのデータ通信形態を模式的に示す図。The figure which shows typically the data communication form in the network system shown in FIG. 要求コマンドの内容をハッシュ計算して求められるシグニチャ値の概念を示す図。The figure which shows the concept of the signature value calculated | required by hash-calculating the content of a request command. 代理応答エージェントの機能を実現する処理手順の例を示す図。The figure which shows the example of the process sequence which implement | achieves the function of a proxy response agent. 代理要求エージェントの機能を実現する処理手順の例を示す図。The figure which shows the example of the process sequence which implement | achieves the function of a proxy request agent. 本発明に係るネットワークシステムの実現例を示す図。The figure which shows the implementation example of the network system which concerns on this invention. 本発明に係るネットワークシステムの別の実現例を示す図。The figure which shows another example of implementation | achievement of the network system which concerns on this invention. 一般的なネットワークシステムの構成を示す図。The figure which shows the structure of a general network system. 図9に示すネットワークシステムにおける要求コマンド/応答レスポンス方式でのデータ通信の形態を示す図。The figure which shows the form of the data communication by the request command / response response system in the network system shown in FIG.

符号の説明Explanation of symbols

1 クライアント
2 サーバ
3 ネットワーク
4 代理応答エージェント
5 代理要求エージェント
1 Client 2 Server 3 Network 4 Proxy Response Agent 5 Proxy Request Agent

Claims (9)

ネットワークを介して同一の要求コマンドを一定の周期で受信したとき該要求コマンドをキャッシュし、キャッシュした要求コマンドに従って一定の周期で応答レスポンスを返信することを特徴とする通信方法。   A communication method characterized in that when the same request command is received via a network at a constant cycle, the request command is cached and a response response is returned at a constant cycle according to the cached request command. クライアントからネットワークを介してサーバに要求コマンドを送信し、上記要求コマンドを受けた前記サーバから前記ネットワークを介して前記クライアントに応答レスポンスを返信するシステムであって、
前記クライアントから同一の要求コマンドが一定の周期で送信されるとき、前記サーバ側において前記要求コマンドをキャッシュし、キャッシュした要求コマンドに従って前記サーバから一定の周期で応答レスポンスを返信することを特徴とするネットワークシステム。
A system for sending a request command from a client to a server via a network and returning a response response from the server that has received the request command to the client via the network,
When the same request command is transmitted from the client at a fixed cycle, the request command is cached on the server side, and a response response is returned from the server at a fixed cycle according to the cached request command. Network system.
前記クライアントおよび前記サーバは、中継機能を備えた代理エージェントを介して前記ネットワークにそれぞれ接続されるものであって、
前記クライアント側の代理エージェントは、前記クライアントから同一の要求コマンドが一定の周期で通知されるとき、前記サーバ側の代理エージェントに該要求コマンドのキャッシュを指示すると共に、その後の前記クライアントからの要求コマンドの中継を停止する機能を備え、
前記サーバ側の代理エージェントは、キャッシュした要求コマンドに従って前記クライアントに代わって前記一定の周期で前記サーバに要求コマンドを発する機能を備えることを特徴とする請求項2に記載のネットワークシステム。
The client and the server are each connected to the network via a proxy agent having a relay function,
The client-side proxy agent instructs the server-side proxy agent to cache the request command when the same request command is notified from the client in a certain cycle, and the subsequent request command from the client. Has a function to stop
3. The network system according to claim 2, wherein the server-side proxy agent has a function of issuing a request command to the server at the fixed period on behalf of the client in accordance with a cached request command.
前記サーバは、キャッシュした要求コマンドに応答するに際して、前記ネットワークでの応答遅れ時間を見込んで応答レスポンスを返送することを特徴とする請求項2に記載のネットワークシステム。   3. The network system according to claim 2, wherein when the server responds to the cached request command, the server returns a response response in anticipation of a response delay time in the network. 前記クライアント側の代理エージェントは、要求コマンドの内容をハッシュ計算して求められる値をシグニチャとして同一の要求コマンドの検出を行うものである請求項2に記載のネットワークシステム。   The network system according to claim 2, wherein the proxy agent on the client side detects the same request command using a value obtained by hash calculation of the contents of the request command as a signature. 前記ハッシュ計算は、要求コマンドに含まれるシーケンス番号を除いて実行されるものである請求項5に記載のネットワークシステム。   The network system according to claim 5, wherein the hash calculation is executed except for a sequence number included in a request command. 請求項3に記載の前記クライアント側の代理エージェントの機能および前記サーバ側の代理エージェントの機能を備えたソフトウェアを記憶した記憶媒体。   A storage medium storing software having the function of the proxy agent on the client side and the function of the proxy agent on the server side according to claim 3. 請求項3に記載の前記クライアント側の代理エージェントの機能を備えたネットワーク接続機器。   The network connection apparatus provided with the function of the said proxy agent of the client side of Claim 3. 請求項3に記載の前記サーバ側の代理エージェントの機能を備えたネットワーク接続機器。   The network connection apparatus provided with the function of the said server side proxy agent of Claim 3.
JP2007209404A 2007-08-10 2007-08-10 Communication method, network system, storage medium, and network connection device Expired - Fee Related JP4927661B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007209404A JP4927661B2 (en) 2007-08-10 2007-08-10 Communication method, network system, storage medium, and network connection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007209404A JP4927661B2 (en) 2007-08-10 2007-08-10 Communication method, network system, storage medium, and network connection device

Publications (2)

Publication Number Publication Date
JP2009044619A true JP2009044619A (en) 2009-02-26
JP4927661B2 JP4927661B2 (en) 2012-05-09

Family

ID=40444833

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007209404A Expired - Fee Related JP4927661B2 (en) 2007-08-10 2007-08-10 Communication method, network system, storage medium, and network connection device

Country Status (1)

Country Link
JP (1) JP4927661B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009071753A (en) * 2007-09-18 2009-04-02 Fujitsu Ltd Communication suppressing method, communication suppressing apparatus, communication suppressing program, service providing server and service utilizing terminal
JP2012156852A (en) * 2011-01-27 2012-08-16 Nippon Telegr & Teleph Corp <Ntt> Communication device and operation method therefor
US9294652B2 (en) 2014-01-20 2016-03-22 Konica Minolta, Inc. Technique of relaying communication between image forming apparatus and server
JP2016539818A (en) * 2014-01-20 2016-12-22 珠海艾派克微▲電▼子有限公司 Imaging cartridge storage chip parameter transmission method, storage chip, and imaging cartridge

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH086898A (en) * 1994-06-21 1996-01-12 Fujitsu Ltd Polling substitute device
JPH11122244A (en) * 1997-10-20 1999-04-30 Fujitsu Ltd Managing device for large scaled network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH086898A (en) * 1994-06-21 1996-01-12 Fujitsu Ltd Polling substitute device
JPH11122244A (en) * 1997-10-20 1999-04-30 Fujitsu Ltd Managing device for large scaled network

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009071753A (en) * 2007-09-18 2009-04-02 Fujitsu Ltd Communication suppressing method, communication suppressing apparatus, communication suppressing program, service providing server and service utilizing terminal
JP2012156852A (en) * 2011-01-27 2012-08-16 Nippon Telegr & Teleph Corp <Ntt> Communication device and operation method therefor
US9294652B2 (en) 2014-01-20 2016-03-22 Konica Minolta, Inc. Technique of relaying communication between image forming apparatus and server
JP2016539818A (en) * 2014-01-20 2016-12-22 珠海艾派克微▲電▼子有限公司 Imaging cartridge storage chip parameter transmission method, storage chip, and imaging cartridge

Also Published As

Publication number Publication date
JP4927661B2 (en) 2012-05-09

Similar Documents

Publication Publication Date Title
US9781215B2 (en) Migration of network connection under mobility
JP5935622B2 (en) Information processing apparatus, monitoring apparatus, information processing method, and monitoring program
JPWO2016006520A1 (en) Detection device, detection method, and detection program
JP4758362B2 (en) Relay device, program, and relay method
JP2005044353A (en) State migration in multiple nic rdma enabled devices
JP2017505473A5 (en)
CN102833337A (en) FTP (File Transfer Protocol) file uploading, downloading method and device
US10609151B2 (en) Communicating with a constrained internet device
RU2007148416A (en) UNITED ARCHITECTURE FOR REMOTE NETWORK ACCESS
WO2018107387A1 (en) Data transmission method, device, system, electronic device, and computer program product
JP4927661B2 (en) Communication method, network system, storage medium, and network connection device
CN103685213A (en) Device, system and method for reducing attacks on DNS
CN107995233B (en) Method for establishing connection and corresponding equipment
WO2018040793A1 (en) Method and apparatus for defending distributed reflection denial of service, and switch
US10536560B2 (en) System and method for implementing augmented object members for remote procedure call
CN111245831B (en) FTP data transmission method and device, and information interaction system of server and client
US20080170498A1 (en) Method and system for a distributed platform solution for supporting cim over web services based management
US20130080501A1 (en) Method for transmitting real-time video data over network
JP2006330783A (en) Device and method for specifying overlay network generation application starting node
JP2014513351A (en) Authentication information processing
WO2016184079A1 (en) Method and device for processing system log message
JP2008108116A (en) Two-way communication system, server device, relay device, two-way communication method, and program
JP2008003645A (en) Request control method by timer link
US11310191B2 (en) Receiving device, receiving device control method, network system, network system control method, and medium
CN110365778B (en) Communication control method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100707

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111014

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111130

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120116

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120201

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120209

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150217

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees