JP2003345690A - Network communication system and network communication method - Google Patents
Network communication system and network communication methodInfo
- Publication number
- JP2003345690A JP2003345690A JP2002148966A JP2002148966A JP2003345690A JP 2003345690 A JP2003345690 A JP 2003345690A JP 2002148966 A JP2002148966 A JP 2002148966A JP 2002148966 A JP2002148966 A JP 2002148966A JP 2003345690 A JP2003345690 A JP 2003345690A
- Authority
- JP
- Japan
- Prior art keywords
- information
- url information
- network communication
- response message
- response
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
(57)【要約】
【課題】 WebクライアントからWebサーバへ情報
を簡易な手法により渡す。
【解決手段】 Webサーバ4を有する制御装置3と、
Webクライアント5を有する被制御装置2とが、ネッ
トワーク1を介して接続され、被制御装置2は、制御装
置3による情報を受けた場合に応答を返送するときに
は、制御装置3の複数の資源を示すURL情報毎と応答
メッセージとの対応関係情報に基づいて応答内容に対応
するURL情報を取り出し、このURL情報によりWe
bアクセスし、制御装置3は、URL情報によりアクセ
スを受けた場合に制御装置3の複数の資源を示すURL
情報毎と応答メッセージとの対応関係情報に基づいて、
このURL情報に対応する応答メッセージを受け取るこ
とを特徴とする。
(57) [Summary] [Problem] To pass information from a Web client to a Web server by a simple method. SOLUTION: A control device 3 having a Web server 4;
The controlled device 2 having the Web client 5 is connected via the network 1, and when the controlled device 2 returns a response when receiving information from the control device 3, the controlled device 2 uses a plurality of resources of the control device 3. The URL information corresponding to the response content is extracted based on the correspondence information between each of the URL information indicated and the response message, and Web
b, the control device 3 accesses the URL indicating the plurality of resources of the control device 3 when the access is made based on the URL information.
Based on the correspondence information between each information and the response message,
A response message corresponding to the URL information is received.
Description
【0001】[0001]
【発明の属する技術分野】この発明は、Webサーバ機
能を有する第1の装置と、Webクライアント機能を有
する第2の装置とが、ネットワークを介して接続された
ネットワーク通信システム及びその通信システムに用ら
れるネットワーク通信方法に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a network communication system in which a first device having a Web server function and a second device having a Web client function are connected via a network, and to the communication system. The present invention relates to a network communication method to be used.
【0002】[0002]
【従来の技術】従来、WebサーバとWebクライアン
トによる各種のネットワーク通信システムが提供されて
おり、ファイアウォールが設置された場合においてもW
ebサーバとWebクライアントを用いた制御を可能と
するシステムとして特開2001−154953号公報
に記載の技術がある。2. Description of the Related Art Conventionally, various network communication systems using a Web server and a Web client have been provided.
As a system that enables control using an web server and a web client, there is a technique described in JP-A-2001-154953.
【0003】上記公報に開示の技術は、次のようであ
る。ファイアウォールにより分けられ、内部ネットワー
クから外部ネットワークへのアクセスは許容するが、そ
の逆方向へのアクセスが不可能なシステムにおいて、内
部ネットワークにWebクライアントを配置し、Web
サーバを外部ネットワークに配置する。[0003] The technology disclosed in the above publication is as follows. In a system that is divided by a firewall and allows access from the internal network to the external network, but does not allow access in the opposite direction, a Web client is placed in the internal network and
Place the server on an external network.
【0004】そして、図8に示すように、Webクライ
アントはWebサーバから制御データを得るために定期
的にWebサーバへアクセスする(S81)。このアク
セスを受けてWebサーバは、Webクライアントへ応
答と共に制御要求(制御データ)を送る(S82)。[0004] As shown in FIG. 8, the Web client periodically accesses the Web server to obtain control data from the Web server (S81). Upon receiving this access, the Web server sends a control request (control data) together with a response to the Web client (S82).
【0005】Webクライアントは、制御データによっ
て制御対象に対して制御を行い、その結果である制御応
答については、Webサーバへのアクセスに付加して送
るようにする(S83)。[0005] The Web client controls the control target using the control data, and sends a control response as a result in addition to the access to the Web server (S83).
【0006】[0006]
【発明が解決しようとする課題】このように従来のネッ
トワーク通信システムにおいては、Webクライアント
からWebサーバへ情報を渡す場合には、Webサーバ
へのアクセスに付加して送ることが必要であった。As described above, in the conventional network communication system, when information is passed from a Web client to a Web server, it is necessary to send the information in addition to the access to the Web server.
【0007】本発明は上記のような従来のネットワーク
通信システムの現状に鑑みてなされたもので、その目的
はWebクライアントからWebサーバへ情報を渡す場
合に従来より簡易な手法によることを可能とするネット
ワーク通信システム及びネットワーク通信方法を提供す
ることである。[0007] The present invention has been made in view of the current situation of the conventional network communication system as described above, and an object thereof is to enable a simpler method than in the past when information is passed from a Web client to a Web server. A network communication system and a network communication method are provided.
【0008】[0008]
【課題を解決するための手段】本発明に係るネットワー
ク通信システムは、Webサーバ機能を有する第1の装
置と、Webクライアント機能を有する第2の装置と
が、ネットワークを介して接続されたネットワーク通信
システムにおいて、前記第2の装置は、前記第1の装置
による情報を受けた場合に応答を返送するときには、前
記第1の装置の複数の資源を示すURL情報毎と応答メ
ッセージとの対応関係情報に基づいて応答内容に対応す
るURL情報を取り出し、このURL情報によりWeb
アクセスし、前記第1の装置は、URL情報によりアク
セスを受けた場合に前記第1の装置の複数の資源を示す
URL情報毎と応答メッセージとの対応関係情報に基づ
いて、このURL情報に対応する応答メッセージを受け
取ることを特徴とする。A network communication system according to the present invention is a network communication system in which a first device having a Web server function and a second device having a Web client function are connected via a network. In the system, when the second device returns a response when receiving the information from the first device, correspondence information between each URL information indicating a plurality of resources of the first device and a response message URL information corresponding to the response content is extracted based on the
The first device accesses the URL information based on the correspondence information between each URL information indicating a plurality of resources of the first device and a response message when the access is received based on the URL information. Receiving a response message to be sent.
【0009】本発明に係るネットワーク通信システムで
は、前記第1の装置と前記第2の装置には、前記第1の
装置の複数の資源を示すURL情報毎に応答メッセージ
が対応付けられたテーブルが備えられていることを特徴
とする。In the network communication system according to the present invention, the first device and the second device each have a table in which a response message is associated with each URL information indicating a plurality of resources of the first device. It is characterized by being provided.
【0010】本発明に係るネットワーク通信システムで
は、前記第1の装置と前記第2の装置との間にはファイ
アウォールが設けられ、前記第2の装置が前記ファイア
ウォールの内側に設けられていることを特徴とする。In the network communication system according to the present invention, a firewall is provided between the first device and the second device, and the second device is provided inside the firewall. Features.
【0011】本発明に係るネットワーク通信システムで
は、前記第1の装置が制御装置であり、前記第2の装置
が被制御装置であり、前記第2の装置が前記第1の装置
による制御に対して応答メッセージを送る場合に、前記
第1の装置の複数の資源を示すURL情報毎と応答メッ
セージとの対応関係情報を参照して応答内容に対応する
URL情報を取り出し、このURL情報によりアクセス
することを特徴とする。In the network communication system according to the present invention, the first device is a control device, the second device is a controlled device, and the second device is controlled by the first device. When a response message is sent, the URL information corresponding to the response content is extracted by referring to the correspondence relationship information between the URL information indicating the plurality of resources of the first device and the response message, and the URL is accessed based on the URL information. It is characterized by the following.
【0012】本発明に係るネットワーク通信方法は、W
ebサーバ機能を有する第1の装置とWebクライアン
ト機能を有する第2の装置とがネットワークを介して接
続され、前記第1の装置と前記第2の装置とがネットワ
ークを介して通信を行う場合のネットワーク通信方法に
おいて、前記第2の装置が、前記第1の装置による情報
を受け取るステップと、受け取った情報に応答を返送す
る際に、前記第1の装置の複数の資源を示すURL情報
毎と応答メッセージとの対応関係情報に基づいて応答内
容に対応するURL情報を取り出すテップと、取り出し
たURL情報によりアクセスするステップと、前記第1
の装置が、返送されてきた前記URL情報を受け取るス
テップと、前記第1の装置の複数の資源を示すURL情
報毎と応答メッセージとの対応関係情報に基づいて受け
取った前記URL情報に対応する応答メッセージへ変換
するステップとにより構成されることを特徴とする。[0012] The network communication method according to the present invention comprises:
When a first device having an web server function and a second device having a web client function are connected via a network, and the first device and the second device communicate with each other via the network In the network communication method, the second device receives information from the first device, and when returning a response to the received information, the second device includes, for each URL information indicating a plurality of resources of the first device, A step of extracting URL information corresponding to the response content based on the correspondence information with the response message, a step of accessing with the extracted URL information,
Receiving the returned URL information, and responding to the received URL information based on correspondence information between each URL information indicating a plurality of resources of the first device and a response message. And converting the message into a message.
【0013】本発明に係るネットワーク通信方法は、前
記第1の装置と前記第2の装置との間にはファイアウォ
ールが設けられ、前記第2の装置が前記ファイアウォー
ルの内側に設けられている場合に行われることを特徴と
する。[0013] The network communication method according to the present invention is characterized in that a firewall is provided between the first device and the second device, and the second device is provided inside the firewall. It is characterized by being performed.
【0014】本発明に係るネットワーク通信方法は、前
記第1の装置が制御装置であり、前記第2の装置が被制
御装置であり、前記第2の装置が前記第1の装置による
制御に対して応答メッセージを送る場合に、前記第1の
装置の複数の資源を示すURL情報毎と応答メッセージ
との対応関係情報に基づいて応答内容に対応するURL
情報を取り出すステップと、このURL情報によりアク
セスするステップとを実行することを特徴とする。In the network communication method according to the present invention, the first device is a control device, the second device is a controlled device, and the second device is controlled by the first device. When a response message is sent in response to a response message, the URL corresponding to the response content is determined based on correspondence information between each URL information indicating a plurality of resources of the first device and the response message.
A step of extracting information and a step of accessing with the URL information are executed.
【0015】[0015]
【発明の実施の形態】以下添付図面を参照して、本発明
に係るネットワーク通信システム及びネットワーク通信
方法の実施の形態を説明する。本発明に係るネットワー
ク通信システムは図1に示されるように、ネットワーク
1に対して被制御装置2と制御装置3とが接続されてい
る。被制御装置2と制御装置3は共にパーソナルコンピ
ュータやワークステーション、その他の計算機として構
成され、図3に示されている構成要素を備えている。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of a network communication system and a network communication method according to the present invention will be described below with reference to the accompanying drawings. In the network communication system according to the present invention, a controlled device 2 and a control device 3 are connected to a network 1 as shown in FIG. The controlled device 2 and the control device 3 are both configured as personal computers, workstations, and other computers, and include the components shown in FIG.
【0016】すなわち、図3の計算機は、装置を統括制
御するCPU51を有し、このCPU51に上記CPU
51が用いるプログラム及びデータ等の情報が記憶され
る主記憶装置52が接続されている。更に、CPU51
には、システムバス53を介してキーボード制御部5
4、表示制御部55、プリンタ制御部56、通信インタ
フェース57、マウス制御部58、磁気ディスク制御部
59が接続されている。キーボード制御部54には各種
情報をキー入力可能なキーボード入力装置60が接続さ
れ、表示制御部55には情報を表示するためのCRT表
示装置61が接続され、プリンタ制御部56には情報を
印字出力するためのプリンタ装置62が接続され、通信
インタフェース57には回線を介してネットワーク1に
接続して通信を行うための通信処理部63が接続され、
マウス制御部58にはポインティングディバイスである
マウス64が接続され、磁気ディスク制御部59には補
助記憶装置である磁気ディスク装置65が接続されてい
る。また、必要に応じてフレキシブルディスクドライ
ブ、磁気カード或いはICカードリーダ、MO(光磁気
ディスク)ドライブ等が設けられる。That is, the computer shown in FIG. 3 has a CPU 51 for overall control of the apparatus.
A main storage device 52 in which information such as a program and data used by 51 is stored is connected. Further, the CPU 51
The keyboard control unit 5 via the system bus 53
4. The display controller 55, the printer controller 56, the communication interface 57, the mouse controller 58, and the magnetic disk controller 59 are connected. The keyboard control unit 54 is connected with a keyboard input device 60 capable of inputting various information by keys, the display control unit 55 is connected with a CRT display device 61 for displaying information, and the printer control unit 56 is printed with information. A printer device 62 for outputting is connected, and a communication processing unit 63 for performing communication by connecting to the network 1 via a line is connected to the communication interface 57.
The mouse control unit 58 is connected to a mouse 64 as a pointing device, and the magnetic disk control unit 59 is connected to a magnetic disk device 65 as an auxiliary storage device. Further, a flexible disk drive, a magnetic card or IC card reader, an MO (magneto-optical disk) drive and the like are provided as needed.
【0017】被制御装置2にはソフトウエアであるWe
bクライアント5が備えられ、制御装置3にはソフトウ
エアであるWebサーバ4が備えられている。Webク
ライアント5からはURL(Uniform Resource Locato
r)によってWebサーバ4へアクセスが可能に構成さ
れている。The controlled device 2 has software We
b client 5 is provided, and the control device 3 is provided with a Web server 4 which is software. From the Web client 5, a URL (Uniform Resource Locato
r) allows access to the Web server 4.
【0018】URLによってアクセスされたWebサー
バ4は、これに応答して制御要求(制御データ)をWe
bクライアント5へ返送する。この制御データは、制御
装置2がこれに基づき制御を行うための図2に示される
ような制御データ(或いはプログラム)であり、テーブ
ル8が含まれている。制御データは、制御装置2が図2
に示される制御データ(或いはプログラム)に基づく制
御を行うことにより、被制御装置2が保有しているファ
イルを取り出したり、被制御装置2に対するあらゆる制
御を行うことが可能に構成されたデータである。The Web server 4 accessed by the URL sends a control request (control data) in response to the URL.
b Return to client 5. The control data is control data (or a program) as shown in FIG. 2 for the control device 2 to perform control based on the control data, and includes a table 8. The control data is transmitted from the control device 2 in FIG.
Is data that is configured to be able to retrieve files held by the controlled device 2 and perform any control on the controlled device 2 by performing control based on the control data (or program) shown in FIG. .
【0019】また、制御データは制御結果をWebサー
バ4へ通信するための処理を行う部分(プログラム)を
も保有しており、このプログラムを実行することによ
り、上記制御データに基づく処理の結果に基づきテーブ
ル8を参照して対応するURLを取り出し、これを制御
装置3へ送信するように構成されている。つまり、制御
処理の結果が正常終了であればURL情報「http://ww
w.xxx.com/ok 」によりアクセスし、制御処理の結果が
ある種の制御異常1(例えば、全く制御が行われなかっ
た)であればURL情報「http://www.xxx.com/ng1」に
よりアクセスし、制御処理の結果がある種の制御異常2
(例えば、一部分の制御が行われなかった)であればU
RL情報「http://www.xxx.com/ng2」によりアクセス
し、・・・というようにテーブル8には、制御装置3の
複数の資源(ok、ng1 、ng2 等の部分であり通常はディ
レクトリなどを指すように用いられるが、実際に資源と
して存在しなくとも良い)を示すURL情報毎に応答メ
ッセージ(ここでは処理結果)が対応付けられている。The control data also has a part (program) for performing processing for communicating the control result to the Web server 4, and by executing this program, the result of the processing based on the control data is obtained. Based on the table 8, a corresponding URL is extracted and transmitted to the control device 3. That is, if the result of the control processing is normally completed, the URL information “http: // ww
w.xxx.com/ok ”, and if the result of the control processing is a certain type of control abnormality 1 (for example, no control was performed), the URL information“ http://www.xxx.com/ ng1 ”, the result of the control processing is a certain kind of control abnormality 2
(For example, if some control was not performed), U
Accessed by the RL information “http://www.xxx.com/ng2”,..., Etc., the table 8 includes a plurality of resources (such as ok, ng1, ng2, etc. A response message (here, a processing result) is associated with each piece of URL information that indicates a directory or the like, but does not have to actually exist as a resource.
【0020】一方、制御装置3には、上記制御処理の結
果に対応するURLによるアクセスを受けて内容の識別
を行う応答受付処理部6と、テーブル8の記憶内容に等
しい記憶内容を有するテーブル7が備えられている。応
答受付処理部6は、URL情報によるアクセスがされて
きた場合に制御装置3の複数の資源を示すURL情報毎
と応答メッセージとの対応関係情報が記憶されている上
記テーブル7に基づいて、このURL情報に対応する応
答メッセージを受け取るものである。On the other hand, the control device 3 includes a response reception processing unit 6 for accessing the URL corresponding to the result of the control processing to identify the content, and a table 7 having the same storage content as the table 8. Is provided. The response reception processing unit 6 performs, based on the above-mentioned table 7 in which the correspondence information between each URL information indicating a plurality of resources of the control device 3 and the response message is stored when the access based on the URL information is made. A response message corresponding to the URL information is received.
【0021】以上のように構成されたネットワーク通信
システムにおける動作を図4〜図6を参照して説明す
る。図4は正常終了の場合の動作を示すものである。W
ebクライアント5は、例えば定期的にWebサーバ4
をアクセスする(S1)。これを受けて、応答して制御
要求(制御データ)をWebクライアント5へ返送する
(S2)。The operation of the network communication system configured as described above will be described with reference to FIGS. FIG. 4 shows the operation in the case of normal termination. W
The web client 5 is, for example, periodically a web server 4
Is accessed (S1). In response to this, a control request (control data) is returned to the Web client 5 in response (S2).
【0022】上記制御データを受けて被制御装置2では
対応する制御を行い(S3)、その制御処理の結果を求
め、制御が正常終了したことを検出する(S4)。そこ
で、被制御装置2は、正常終了に対応するURL情報
「http://www.xxx.com/ok 」をテーブル8から求めて、
これによるWebアクセスを行う(S5)。In response to the control data, the controlled device 2 performs the corresponding control (S3), obtains the result of the control processing, and detects that the control has been completed normally (S4). Therefore, the controlled device 2 obtains URL information “http://www.xxx.com/ok” corresponding to the normal end from the table 8, and
Web access is performed by this (S5).
【0023】制御装置3ではURL情報「http://www.x
xx.com/ok 」によるアクセスを受けてテーブル7を参照
して対応する正常終了のメッセージを識別し(S6)、
例えばCRT表示装置61へ表示するなどし、更に被制
御装置2へ応答を返送する(S7)。斯して、制御装置
3ではURL情報「http://www.xxx.com/ok 」によるア
クセスを受けることにより、被制御装置2において制御
が正常に終了したことを検出できる。In the control device 3, the URL information "http: //www.x
xx.com/ok ”, the corresponding normal termination message is identified by referring to Table 7 (S6).
For example, a response is returned to the controlled device 2 by displaying it on the CRT display device 61 (S7). Thus, the control device 3 can detect that the control has been normally completed in the controlled device 2 by receiving access by the URL information “http://www.xxx.com/ok”.
【0024】図5は制御異常1が生じた場合の動作を示
すものである。Webクライアント5は、例えば定期的
にWebサーバ4をアクセスし(S1)、これを受け
て、Webサーバ4は応答して制御要求(制御データ)
をWebクライアント5へ返送する(S2)。FIG. 5 shows the operation when control abnormality 1 occurs. For example, the Web client 5 periodically accesses the Web server 4 (S1), and in response to this, the Web server 4 responds by sending a control request (control data).
Is returned to the Web client 5 (S2).
【0025】上記制御データを受けて被制御装置2では
対応する制御を行い(S3)、その制御処理の結果を求
め、制御異常1が発生したことを検出する(S4A)。
そこで、被制御装置2は、制御異常1に対応するURL
情報「http://www.xxx.com/ng1」をテーブル8から求め
て、これによるWebアクセスを行う(S5A)。In response to the control data, the controlled device 2 performs the corresponding control (S3), obtains the result of the control processing, and detects that control abnormality 1 has occurred (S4A).
Therefore, the controlled device 2 sets the URL corresponding to the control abnormality 1
The information "http://www.xxx.com/ng1" is obtained from Table 8, and Web access is performed based on the information (S5A).
【0026】制御装置3ではURL情報「http://www.x
xx.com/ng1」によるアクセスを受けてテーブル7を参照
して対応する制御異常1のメッセージを識別し(S6
A)、例えばCRT表示装置61へ表示するなどし、更
に被制御装置2へ応答を返送する(S7)。斯して、制
御装置3ではURL情報「http://www.xxx.com/ng1」に
よるアクセスを受けることにより、被制御装置2におい
て制御異常1が発生したことを検出できる。In the control device 3, the URL information "http: //www.x
xx.com/ng1 ”, the corresponding control error 1 message is identified with reference to Table 7 (S6
A), for example, display on the CRT display device 61, and further return a response to the controlled device 2 (S7). Thus, the control device 3 can detect the occurrence of the control abnormality 1 in the controlled device 2 by receiving the access using the URL information “http://www.xxx.com/ng1”.
【0027】図6は制御異常2が生じた場合の動作を示
すものである。Webクライアント5は、例えば定期的
にWebサーバ4をアクセスし(S1)、これを受け
て、Webサーバ4は応答して制御要求(制御データ)
をWebクライアント5へ返送する(S2)。FIG. 6 shows the operation when the control abnormality 2 occurs. For example, the Web client 5 periodically accesses the Web server 4 (S1), and in response to this, the Web server 4 responds by sending a control request (control data).
Is returned to the Web client 5 (S2).
【0028】上記制御データを受けて被制御装置2では
対応する制御を行い(S3)、その制御処理の結果を求
め、制御異常2が発生したことを検出する(S4B)。
そこで、被制御装置2は、制御異常2に対応するURL
情報「http://www.xxx.com/ng2」をテーブル8から求め
て、これによるWebアクセスを行う(S5B)。In response to the control data, the controlled device 2 performs corresponding control (S3), obtains the result of the control processing, and detects that control abnormality 2 has occurred (S4B).
Therefore, the controlled device 2 sets the URL corresponding to the control abnormality 2
The information "http://www.xxx.com/ng2" is obtained from Table 8, and Web access is performed based on the information (S5B).
【0029】制御装置3ではURL情報「http://www.x
xx.com/ng2」によるアクセスを受けてテーブル7を参照
して対応する制御異常2のメッセージを識別し(S6
B)、例えばCRT表示装置61へ表示するなどし、更
に被制御装置2へ応答を返送する(S7)。斯して、制
御装置3ではURL情報「http://www.xxx.com/ng2」に
よるアクセスを受けることにより、被制御装置2におい
て制御異常2が発生したことを検出できる。In the control device 3, the URL information "http: //www.x
xx.com/ng2 ”, the corresponding control error 2 message is identified by referring to Table 7 (S6
B), for example, display on the CRT display device 61, and further return a response to the controlled device 2 (S7). Thus, the control device 3 can detect that the control abnormality 2 has occurred in the controlled device 2 by receiving access by the URL information “http://www.xxx.com/ng2”.
【0030】図7は図1のネットワーク通信システムに
おいて、ファイアウォール9をネットワーク1と被制御
装置2との間に設け、被制御装置2がファイアウォール
9の内側になるように設けたものである。つまり、被制
御装置2のWebクライアント5がWebサーバ4をア
クセスして、その応答により被制御装置2を制御するよ
うにしたシステムである。このような構成によっても、
本発明に係るネットワーク通信方法により被制御装置2
から応答メッセージを返すことができる。FIG. 7 shows the network communication system of FIG. 1 in which a firewall 9 is provided between the network 1 and the controlled device 2, and the controlled device 2 is provided inside the firewall 9. In other words, this is a system in which the Web client 5 of the controlled device 2 accesses the Web server 4 and controls the controlled device 2 in response. With such a configuration,
The controlled device 2 by the network communication method according to the present invention
Can return a response message.
【0031】なお、以上の実施例では、制御に対する応
答をURLに対応させたが、制御に対する応答に限るこ
となく、何等かの情報を受けた場合に所望の応答を返送
する場合に対応するURLによるアクセスを行うこと
で、応答内容を識別できるものである。In the above embodiment, the response to the control corresponds to the URL. However, the response to the control is not limited to the response to the control. The URL corresponding to the case where a desired response is returned when any information is received. By performing the access according to, the response content can be identified.
【0032】[0032]
【発明の効果】以上説明したように本発明によれば、第
2の装置が第1の装置による情報を受けた場合に応答を
返送するときには、上記第1の装置の複数の資源を示す
URL情報毎と応答メッセージとの対応関係情報に基づ
いて応答内容に対応するURL情報を取り出し、このUR
L 情報によりWebアクセスし、第1の装置は、URL
情報によりアクセスを受けた場合に第1の装置の複数の
資源を示すURL情報毎と応答メッセージとの対応関係
情報に基づいて、このURL情報に対応する応答メッセ
ージを受け取るので、URL情報のみを用いて第2の装
置から第1の装置へ応答メッセージの返送が可能とな
る。As described above, according to the present invention, when the second device returns a response when receiving the information from the first device, the URL indicating the plurality of resources of the first device is used. URL information corresponding to the response content is extracted based on the correspondence information between each information and the response message, and the UR
The first device accesses the web based on the L information,
When the access message is received, the response message corresponding to the URL information is received based on the correspondence information between each URL information indicating the plurality of resources of the first device and the response message. Therefore, only the URL information is used. Thus, it is possible to return a response message from the second device to the first device.
【図1】本発明に係るネットワーク通信システムの構成
図。FIG. 1 is a configuration diagram of a network communication system according to the present invention.
【図2】本発明に係るネットワーク通信システムにおい
てWebサーバにより送られる制御データの内容を示す
図。FIG. 2 is a diagram showing contents of control data sent by a Web server in the network communication system according to the present invention.
【図3】本発明に係るネットワーク通信システムに用い
られる制御装置と被制御装置を構成するコンピュータの
ブロック図。FIG. 3 is a block diagram of a computer constituting a control device and a controlled device used in the network communication system according to the present invention.
【図4】本発明に係るネットワーク通信システムの被制
御装置において制御が正常終了した場合の通信シーケン
スを示す図。FIG. 4 is a diagram showing a communication sequence when control is normally completed in a controlled device of the network communication system according to the present invention.
【図5】本発明に係るネットワーク通信システムの被制
御装置において制御異常1が発生した場合の通信シーケ
ンスを示す図。FIG. 5 is a diagram showing a communication sequence when a control abnormality 1 occurs in a controlled device of the network communication system according to the present invention.
【図6】本発明に係るネットワーク通信システムの被制
御装置において制御異常2が発生した場合の通信シーケ
ンスを示す図。FIG. 6 is a diagram showing a communication sequence when a control abnormality 2 occurs in a controlled device of the network communication system according to the present invention.
【図7】ファイアウォールが設けられた本発明に係るネ
ットワーク通信システムの構成図。FIG. 7 is a configuration diagram of a network communication system according to the present invention provided with a firewall.
【図8】従来のネットワーク通信システムにおける通信
シーケンスを示す図。FIG. 8 is a diagram showing a communication sequence in a conventional network communication system.
1 ネットワーク 2 被制御装置 3 制御装置 4 Webサーバ 5 Webクライアント 6 応答受付処理部 7、8 テーブル 9 ファイアウォール 1 Network 2 controlled device 3 Control device 4 Web server 5 Web client 6 Response reception processing unit 7, 8 tables 9 Firewall
Claims (7)
と、Webクライアント機能を有する第2の装置とが、
ネットワークを介して接続されたネットワーク通信シス
テムにおいて、 前記第2の装置は、前記第1の装置による情報を受けた
場合に応答を返送するときには、前記第1の装置の複数
の資源を示すURL情報毎と応答メッセージとの対応関
係情報に基づいて応答内容に対応するURL情報を取り
出し、このURL情報によりWebアクセスし、 前記第1の装置は、URL情報によりアクセスを受けた
場合に前記第1の装置の複数の資源を示すURL情報毎
と応答メッセージとの対応関係情報に基づいて、このU
RL情報に対応する応答メッセージを受け取ることを特
徴とするネットワーク通信システム。1. A first device having a Web server function and a second device having a Web client function,
In a network communication system connected via a network, when the second device returns a response when receiving information from the first device, URL information indicating a plurality of resources of the first device. URL information corresponding to the response content is retrieved based on the correspondence relationship information between each and the response message, and Web access is performed using the URL information. The first device is configured to perform the first access when the access is performed based on the URL information. Based on correspondence information between each URL information indicating a plurality of resources of the device and the response message,
A network communication system receiving a response message corresponding to RL information.
前記第1の装置の複数の資源を示すURL情報毎に応答
メッセージが対応付けられたテーブルが備えられている
ことを特徴とする請求項1に記載のネットワーク通信シ
ステム。2. The first device and the second device,
The network communication system according to claim 1, further comprising a table in which a response message is associated with each piece of URL information indicating a plurality of resources of the first device.
にはファイアウォールが設けられ、前記第2の装置が前
記ファイアウォールの内側に設けられていることを特徴
とする請求項1に記載のネットワーク通信システム。3. The device according to claim 1, wherein a firewall is provided between the first device and the second device, and the second device is provided inside the firewall. A network communication system as described.
第2の装置が被制御装置であり、 前記第2の装置が前記第1の装置による制御に対して応
答メッセージを送る場合に、前記第1の装置の複数の資
源を示すURL情報毎と応答メッセージとの対応関係情
報を参照して応答内容に対応するURL情報を取り出
し、このURL情報によりアクセスすることを特徴とす
る請求項1に記載のネットワーク通信システム。4. A method according to claim 1, wherein said first device is a control device, said second device is a controlled device, and said second device sends a response message to control by said first device. And retrieving URL information corresponding to the response content by referring to correspondence information between each URL information indicating a plurality of resources of the first device and the response message, and accessing the URL information based on the URL information. 2. The network communication system according to 1.
Webクライアント機能を有する第2の装置とがネット
ワークを介して接続され、前記第1の装置と前記第2の
装置とがネットワークを介して通信を行う場合のネット
ワーク通信方法において、 前記第2の装置が、前記第1の装置による情報を受け取
るステップと、 受け取った情報に応答を返送する際に、前記第1の装置
の複数の資源を示すURL情報毎と応答メッセージとの
対応関係情報に基づいて応答内容に対応するURL情報
を取り出すテップと、 取り出したURL情報によりアクセスするステップと、 前記第1の装置が、返送されてきた前記URL情報を受
け取るステップと、 前記第1の装置の複数の資源を示すURL情報毎と応答
メッセージとの対応関係情報に基づいて受け取った前記
URL情報に対応する応答メッセージへ変換するステッ
プとにより構成されることを特徴とするネットワーク通
信方法。5. A first device having a Web server function and a second device having a Web client function are connected via a network, and the first device and the second device are connected via a network. In the network communication method for performing communication, the second device receives information from the first device, and, when returning a response to the received information, uses a plurality of resources of the first device. A step of extracting URL information corresponding to the response content based on the correspondence information between each of the URL information and the response message, a step of accessing by the extracted URL information, and a step in which the first device returns the returned URL Receiving information based on correspondence information between each URL information indicating a plurality of resources of the first device and a response message. Network communication method characterized in that it is constituted by a step of converting the response message corresponding to the URL information taken.
にはファイアウォールが設けられ、前記第2の装置が前
記ファイアウォールの内側に設けられている場合に行わ
れることを特徴とする請求項5に記載のネットワーク通
信方法。6. A firewall is provided between the first device and the second device, and is performed when the second device is provided inside the firewall. The network communication method according to claim 5.
第2の装置が被制御装置であり、 前記第2の装置が前記第1の装置による制御に対して応
答メッセージを送る場合に、前記第1の装置の複数の資
源を示すURL情報毎と応答メッセージとの対応関係情
報に基づいて応答内容に対応するURL情報を取り出す
ステップと、このURL情報によりアクセスするステッ
プとを実行することを特徴とする請求項4に記載のネッ
トワーク通信方法。7. The method according to claim 1, wherein said first device is a control device, said second device is a controlled device, and said second device sends a response message to control by said first device. Extracting the URL information corresponding to the response content based on the correspondence information between each URL information indicating a plurality of resources of the first device and the response message, and executing the step of accessing based on the URL information. The network communication method according to claim 4, wherein:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002148966A JP2003345690A (en) | 2002-05-23 | 2002-05-23 | Network communication system and network communication method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002148966A JP2003345690A (en) | 2002-05-23 | 2002-05-23 | Network communication system and network communication method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2003345690A true JP2003345690A (en) | 2003-12-05 |
Family
ID=29767305
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002148966A Withdrawn JP2003345690A (en) | 2002-05-23 | 2002-05-23 | Network communication system and network communication method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2003345690A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8151340B2 (en) | 2007-09-04 | 2012-04-03 | Fujitsu Limited | Data relay device and data relay method |
-
2002
- 2002-05-23 JP JP2002148966A patent/JP2003345690A/en not_active Withdrawn
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8151340B2 (en) | 2007-09-04 | 2012-04-03 | Fujitsu Limited | Data relay device and data relay method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5859973A (en) | Methods, system and computer program products for delayed message generation and encoding in an intermittently connected data communication system | |
| KR100374402B1 (en) | A recording medium storing an information processing method, an information processing apparatus, and a server control program | |
| EP1449345B1 (en) | Servicing requests that are issued in a protocol other than the protocol expected by the service | |
| US7165222B1 (en) | Information providing method and information distribution apparatus | |
| US20040205117A1 (en) | Dynamic user interfaces for network services | |
| JP2003006074A (en) | Reverse proxy mechanism | |
| CN1225479A (en) | Customization of web pages based on requester type | |
| KR100354369B1 (en) | Information processing method, information processing apparatus, and storage medium for storing an information processing program | |
| US7363355B2 (en) | Transparent disconnected services discovery and use | |
| CN109871354B (en) | File processing method and device | |
| US7653729B2 (en) | Information processing system, server apparatus, information processing apparatus, and control method thereof | |
| US8103954B2 (en) | Proxy server, and method and program for controlling same | |
| US20060168079A1 (en) | System and method for automatically connecting a client computer to a server | |
| CN113988797A (en) | Method and device for processing request, storage medium and electronic device | |
| KR100322719B1 (en) | Information processing method and apparatus, and a recording medium storing a program for controlling a server | |
| JP2003345690A (en) | Network communication system and network communication method | |
| JP2001249841A (en) | Automatic re-request method using a proxy server | |
| US20040088399A1 (en) | Terminal apparatus and control method thereof | |
| EP1754145B1 (en) | Method and apparatus for supporting multiple versions of a web services protocol | |
| CN115562714A (en) | Medical data interface service processing method based on micro-service | |
| JP5322972B2 (en) | Web screen restoration device, web screen restoration method, and web screen restoration program | |
| JP4536292B2 (en) | Network system, server, client, inter-object communication method, profile object registration method, program, and storage medium | |
| US20030031095A1 (en) | Portable hard disk system for an internet protocol network | |
| US20070043691A1 (en) | Mobilizing applications | |
| JP2002215537A (en) | Electronic environment information acquisition method, electronic mail transmission method and system, server, recording medium, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20050802 |