JP4636864B2 - Relay equipment - Google Patents

Relay equipment Download PDF

Info

Publication number
JP4636864B2
JP4636864B2 JP2004346446A JP2004346446A JP4636864B2 JP 4636864 B2 JP4636864 B2 JP 4636864B2 JP 2004346446 A JP2004346446 A JP 2004346446A JP 2004346446 A JP2004346446 A JP 2004346446A JP 4636864 B2 JP4636864 B2 JP 4636864B2
Authority
JP
Japan
Prior art keywords
service
operation mode
unit
client terminal
message
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.)
Expired - Fee Related
Application number
JP2004346446A
Other languages
Japanese (ja)
Other versions
JP2006157601A (en
Inventor
智尋 中川
貴 吉川
晃 金野
拓 藤本
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.)
NTT Docomo Inc
Original Assignee
NTT Docomo 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 NTT Docomo Inc filed Critical NTT Docomo Inc
Priority to JP2004346446A priority Critical patent/JP4636864B2/en
Publication of JP2006157601A publication Critical patent/JP2006157601A/en
Application granted granted Critical
Publication of JP4636864B2 publication Critical patent/JP4636864B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、クライアント端末、サービス提供装置、中継機器、サービス負荷分散システム及びサービス負荷分散方法に関する。   The present invention relates to a client terminal, a service providing apparatus, a relay device, a service load distribution system, and a service load distribution method.

クライアント端末が他のサービスを発見する仕組みは、サービス発見プロトコルとして多数の検討が行われている。例えば、Jlni,UPnP(Universal Plug & Play),SLP(Service Location Protocol)等がサービス発見の手順を定義したプロトコルとして提案されている。サービス発見プロトコルでは、サービスを利用するクライアントが、サービス要求機能において要求するサービスを指定して周囲にブロードキャストする。要求を受信したサービスは、自身の提供するサービスとクライアントのサービス要求に記述されたサービスが一致する場合に、サービス応答機能においてサービス応答メッセージを生成し、クライアントに応答する。このように、効率良く通信相手を発見するための技術は開示されている(例えば、特許文献1参照。)   Numerous studies have been conducted on a mechanism for a client terminal to discover other services as a service discovery protocol. For example, Jlni, UPnP (Universal Plug & Play), SLP (Service Location Protocol), and the like have been proposed as protocols that define service discovery procedures. In the service discovery protocol, a client using a service designates a service requested in the service request function and broadcasts it to the surroundings. When the service provided by the service matches the service provided by the service and the service described in the client service request, the service response function generates a service response message and responds to the client. Thus, a technique for efficiently discovering a communication partner has been disclosed (for example, see Patent Document 1).

又、サービスは、接続すべきクライアントを接続前に把握していないため、接続を要求する不特定多数のクライアントに対してサービス応答を返信することが必要である。又、サービスはサービス自身の身元を証明するために、サービス応答にデジタル署名を付与することが重要である。このデジタル署名機能は、既存のサービス発見プロトコルにおいて必ずしも搭載されている機能ではないが、SLPではオプションとして提供されている。サービス応答へのデジタル署名機能を利用することにより、悪意のあるサービスが偽のサービス応答を発信し、クライアントが正規のサービスに接続することを妨害する攻撃を防止することができる。
特開2004−88428号公報
Further, since the service does not know the client to be connected before connection, it is necessary to return a service response to an unspecified number of clients that request connection. It is also important that the service provides a digital signature to the service response in order to prove the identity of the service itself. This digital signature function is not necessarily a function installed in the existing service discovery protocol, but is provided as an option in SLP. By using the digital signature function for the service response, it is possible to prevent an attack that prevents a malicious service from sending a fake service response and prevents the client from connecting to a legitimate service.
JP 2004-88428 A

しかしながら、上記の従来技術においては、サービスのサービス応答機能が不特定多数の任意のクライアントによるサービス要求に応答する必要がある。このため、悪意のあるクライアントが膨大な数のサービス要求を発信した場合、これらのサービス要求に対してサービスはデジタル署名を付与してサービス応答を返信することが必要である。デジタル署名は、デジタルカメラ等の計算機能の乏しいサービスにとって負荷の高い計算処理を要求するため、膨大な数のデジタル署名を計算するサービスはCPUリソースが枯渇し、新規のサービス要求を処理できなくなるという問題があった。   However, in the above prior art, the service response function of a service needs to respond to a service request by an unspecified number of arbitrary clients. For this reason, when a malicious client sends a large number of service requests, the service needs to give a digital signature to these service requests and return a service response. Since digital signatures require heavy computational processing for services with poor computing capabilities such as digital cameras, services that compute a huge number of digital signatures run out of CPU resources and cannot process new service requests. There was a problem.

本発明は、上記の課題に鑑み、悪意のあるクライアントが膨大なサービス要求を発信した場合でも、正規のクライアントが通常通りの短い時間でサービスを発見し、接続することが可能なクライアント端末、サービス提供装置、中継機器、サービス負荷分散システム及びサービス負荷分散方法を提供することを目的とする。   In view of the above-described problems, the present invention provides a client terminal and a service that allow a legitimate client to find and connect to a service in a short time as usual even when a malicious client sends a huge service request It is an object to provide a providing device, a relay device, a service load distribution system, and a service load distribution method.

上記目的を達成するため、本発明の第1の特徴は、サービス提供装置からデータあるいは機能を提供されるクライアント端末であって、(a)サービス提供装置へサービスを要求するサービス要求メッセージを生成する要求生成部と、(b)サービス要求メッセージの送信先の情報を含む動作モードを決定する動作モード決定部と、(c)動作モード決定部によって決定された動作モードに従って、サービス要求メッセージを送信する通信部とを備えるクライアント端末であることを要旨とする。   In order to achieve the above object, a first feature of the present invention is a client terminal to which data or a function is provided from a service providing apparatus, and (a) generates a service request message for requesting a service to the service providing apparatus. A request generation unit; (b) an operation mode determination unit that determines an operation mode including information on a transmission destination of the service request message; and (c) a service request message is transmitted according to the operation mode determined by the operation mode determination unit. The gist of the invention is that the client terminal includes a communication unit.

第1の特徴に係るクライアント端末によると、悪意のあるクライアントが膨大なサービス要求を発信した場合でも、正規のクライアントが通常通りの短い時間でサービスを発見し、接続することができる。   According to the client terminal according to the first feature, even if a malicious client sends a huge service request, a legitimate client can find and connect to the service in a short time as usual.

又、第1の特徴に係るクライアント端末は、サービス要求メッセージを蓄積するメッセージ蓄積部と、メッセージ蓄積部の状態を監視する状態監視部とを更に備え、動作モード決定部は、状態監視部によって得られた、メッセージ蓄積部に蓄積されたサービス要求メッセージの量に基づいて、動作モードを決定してもよい。   The client terminal according to the first feature further includes a message storage unit that stores a service request message and a state monitoring unit that monitors a state of the message storage unit, and the operation mode determination unit is obtained by the state monitoring unit. The operation mode may be determined based on the amount of service request messages stored in the message storage unit.

このクライアント端末によると、サービス要求メッセージの量に基づいて、動作モードを決定することにより、サービス提供装置の負荷を軽減することができる。   According to this client terminal, the load on the service providing apparatus can be reduced by determining the operation mode based on the amount of the service request message.

本発明の第2の特徴は、クライアント端末にデータあるいは機能を提供するサービス提供装置であって、(a)クライアント端末から受信した、サービスを要求するサービス要求メッセージを蓄積するメッセージ蓄積部と、(b)サービス要求メッセージの送信先を含む動作モードを決定する動作モード決定部とを備えるサービス提供装置であることを要旨とする。   A second feature of the present invention is a service providing apparatus that provides data or a function to a client terminal, wherein (a) a message storage unit that stores a service request message for requesting a service received from the client terminal; The gist of the present invention is a service providing apparatus including an operation mode determination unit that determines an operation mode including a transmission destination of a service request message.

第2の特徴に係るサービス提供装置によると、悪意のあるクライアントが膨大なサービス要求を発信した場合でも、正規のクライアントが通常通りの短い時間でサービスを発見し、接続することができる。   According to the service providing apparatus according to the second feature, even when a malicious client sends a huge service request, a legitimate client can find and connect to a service in a short time as usual.

本発明の第3の特徴は、メッセージ蓄積部の状態を監視する状態監視部とを更に備え、動作モード決定部は、状態監視部によって得られた、メッセージ蓄積部に蓄積されたサービス要求メッセージの量に基づいて、動作モードを決定してもよい。   The third feature of the present invention further includes a status monitoring unit that monitors the status of the message storage unit, and the operation mode determination unit is a service request message stored in the message storage unit obtained by the status monitoring unit. The operating mode may be determined based on the quantity.

このサービス提供装置によると、サービス要求メッセージの量に基づいて、動作モードを決定することにより、サービス提供装置の負荷を軽減することができる。   According to this service providing apparatus, it is possible to reduce the load on the service providing apparatus by determining the operation mode based on the amount of the service request message.

本発明の第4の特徴は、クライアント端末と、該クライアント端末にデータあるいは機能を提供するサービス提供装置との通信を中継する中継機器であって、(a)クライアント端末から受信した、サービス提供装置へサービスを要求するサービス要求メッセージを蓄積するメッセージ蓄積部と、(b)サービス要求メッセージを処理する要求代行処理部と、(c)サービス要求メッセージの送信先を含む動作モードを決定する動作モード決定部とを備える中継機器であることを要旨とする。   A fourth feature of the present invention is a relay device that relays communication between a client terminal and a service providing apparatus that provides data or a function to the client terminal, and (a) a service providing apparatus received from the client terminal A message accumulating unit for accumulating a service request message for requesting a service, (b) a request proxy processing unit for processing the service request message, and (c) an operation mode determination for determining an operation mode including a transmission destination of the service request message The gist of the present invention is that it is a relay device provided with a section.

第3の特徴に係る中継機器によると、悪意のあるクライアントが膨大なサービス要求を発信した場合でも、正規のクライアントが通常通りの短い時間でサービスを発見し、接続することができる。   According to the relay device according to the third feature, even if a malicious client sends a huge service request, a legitimate client can find and connect to the service in a short time as usual.

又、第3の特徴に係る中継機器は、メッセージ蓄積部の状態を監視する状態監視部とを更に備え、動作モード決定部は、状態監視部によって得られた、メッセージ蓄積部に蓄積されたサービス要求メッセージの量に基づいて、動作モードを決定してもよい。   The relay device according to the third feature further includes a state monitoring unit that monitors the state of the message storage unit, and the operation mode determination unit is a service stored in the message storage unit obtained by the state monitoring unit. The operating mode may be determined based on the amount of request messages.

この中継機器によると、サービス要求メッセージの量に基づいて、動作モードを決定することにより、サービス提供装置の負荷を軽減することができる。   According to this relay device, it is possible to reduce the load on the service providing apparatus by determining the operation mode based on the amount of the service request message.

本発明の第4の特徴は、クライアント端末と、該クライアント端末にデータあるいは機能を提供するサービス提供装置と、クライアント端末とサービス提供装置との通信を中継する中継機器とを備えるサービス負荷分散システムであって、(a)サービス提供装置へサービスを要求するサービス要求メッセージを蓄積するメッセージ蓄積部と、(b)サービス要求メッセージの送信先の情報を含む動作モードを決定する動作モード決定部とを備えるサービス負荷分散システムであることを要旨とする。   A fourth feature of the present invention is a service load distribution system including a client terminal, a service providing apparatus that provides data or a function to the client terminal, and a relay device that relays communication between the client terminal and the service providing apparatus. And (a) a message storage unit that stores a service request message for requesting a service to the service providing device, and (b) an operation mode determination unit that determines an operation mode including information on a transmission destination of the service request message. The gist of the service load balancing system.

第4の特徴に係るサービス負荷分散システムによると、悪意のあるクライアントが膨大なサービス要求を発信した場合でも、正規のクライアントが通常通りの短い時間でサービスを発見し、接続することができる。   According to the service load distribution system according to the fourth feature, even when a malicious client sends an enormous service request, a regular client can find and connect to a service in a short time as usual.

本発明の第5の特徴は、クライアント端末と、該クライアント端末にデータあるいは機能を提供するサービス提供装置と、クライアント端末とサービス提供装置との通信を中継する中継機器とを備える負荷分散システムにおいて、サービス提供装置へサービスを要求するサービス要求メッセージを処理する負荷を分散するサービス負荷分散方法であって、(a)サービス要求メッセージを蓄積するステップと、(b)サービス要求メッセージの送信先の情報を含む動作モードを決定するステップとを含むサービス負荷分散方法であることを要旨とする。   According to a fifth aspect of the present invention, there is provided a load distribution system including a client terminal, a service providing apparatus that provides data or a function to the client terminal, and a relay device that relays communication between the client terminal and the service providing apparatus. A service load distribution method for distributing a load for processing a service request message for requesting a service to a service providing apparatus, comprising: (a) a step of storing the service request message; and (b) information on a transmission destination of the service request message. And a service load distribution method including a step of determining an operation mode to be included.

第5の特徴に係るサービス負荷分散方法によると、悪意のあるクライアントが膨大なサービス要求を発信した場合でも、正規のクライアントが通常通りの短い時間でサービスを発見し、接続することができる。   According to the service load distribution method according to the fifth feature, even if a malicious client sends a huge service request, a legitimate client can find and connect to a service in a short time as usual.

本発明によると、悪意のあるクライアントが膨大なサービス要求を発信した場合でも、正規のクライアントが通常通りの短い時間でサービスを発見し、接続することが可能なクライアント端末、サービス提供装置、中継機器、サービス負荷分散システム及びサービス負荷分散方法を提供することができる。   According to the present invention, even when a malicious client sends a huge service request, a client terminal, a service providing device, and a relay device that can be found and connected by a regular client in a short time as usual A service load distribution system and a service load distribution method can be provided.

次に、図面を参照して、本発明の実施の形態を説明する。以下の図面の記載において、同一又は類似の部分には、同一又は類似の符号を付している。ただし、図面は模式的なものであることに留意すべきである。   Next, embodiments of the present invention will be described with reference to the drawings. In the following description of the drawings, the same or similar parts are denoted by the same or similar reference numerals. However, it should be noted that the drawings are schematic.

(サービス負荷分散システム)
本発明の実施の形態におけるサービス負荷分散システムは、図1に示すように、クライアント端末100と、外部サービス機器200(サービス提供装置)と、クライアント端末100−サービス提供装置200間の通信を中継する中継機器300(例えば、プロキシサーバ)とから構成される。
(Service load balancing system)
As shown in FIG. 1, the service load distribution system according to the exemplary embodiment of the present invention relays communication between the client terminal 100, the external service device 200 (service providing apparatus), and the client terminal 100-service providing apparatus 200. It is comprised from the relay apparatus 300 (for example, proxy server).

クライアント端末100は、入出力機能の拡張・遠隔デバイスとの通信/状態確認/制御等を目的として、外部サービス機器200と接続する。外部サービス機器200とは、デジタルカメラ・ビデオカメラ・テレビ・スピーカ等のクライアント端末よりも優れた入出力機能を有する機器や、ネットワーク機能を有する冷蔵庫・洗濯機・電子レンジ・エアコン等の白物家電や、温度計・湿度計・赤外線センサ・体温計・血圧計・体重計といった各種センサや、他のPC・携帯電話・PDAといったクライアント端末や、ネットワーク上のあらゆるソフトウェアなど、クライアント端末に対して何らかの機能あるいはデータを提供するハードウェアもしくはソフトウェアである。   The client terminal 100 is connected to the external service device 200 for the purpose of expansion of input / output functions, communication with a remote device / status confirmation / control, and the like. The external service device 200 is a device having an input / output function superior to a client terminal such as a digital camera, a video camera, a TV, a speaker, etc., and a white goods such as a refrigerator, a washing machine, a microwave oven, an air conditioner having a network function. Some functions for client terminals such as various sensors such as thermometers, hygrometers, infrared sensors, thermometers, sphygmomanometers, weight scales, client terminals such as other PCs, mobile phones, PDAs, and all software on the network Alternatively, it is hardware or software that provides data.

クライアント端末100は、これらの外部サービス機器200に接続することで、クライアント端末100単体では実現できない多様なアプリケーションを実現する。例えば、高機能なデジタルカメラで撮影した画像をクライアント端末100に転送して蓄積し、任意の大画面テレビに転送して表示するアプリケーションを実現することができる。又、日々の体温や体重の情報をセンサから取得して携帯電話に蓄積し、1ヶ月の履歴をテレビに表示して確認するといったアプリケーションが考えられる。これらのアプリケーションを実現するためには、クライアント端末100が他のサービスを発見するための仕組みが必要である。   The client terminal 100 realizes various applications that cannot be realized by the client terminal 100 alone by connecting to the external service device 200. For example, it is possible to realize an application in which images taken with a high-functional digital camera are transferred to the client terminal 100 and stored, and transferred to an arbitrary large-screen television for display. In addition, an application is conceivable in which information on daily body temperature and weight is acquired from a sensor and stored in a mobile phone, and a one-month history is displayed on a television for confirmation. In order to realize these applications, a mechanism for the client terminal 100 to discover other services is necessary.

クライアント端末100は、図1に示すように、中央処理部101と、通信部102と、メッセージ蓄積部103と、要求生成部104と、動作モード決定部105と、状態監視部106と、動作モード記録部107とを備える。   As shown in FIG. 1, the client terminal 100 includes a central processing unit 101, a communication unit 102, a message storage unit 103, a request generation unit 104, an operation mode determination unit 105, a state monitoring unit 106, an operation mode, And a recording unit 107.

中央処理部101は、クライアント端末100の各構成要素間の情報の流れを制御する。   The central processing unit 101 controls the flow of information between each component of the client terminal 100.

通信部102は、外部サービス機器200の通信部202および中継機器300の通信部302との間で通信を行う。例えば、要求生成部104によって生成されたメッセージを、動作モード決定部105によって決定された動作モードに従って、外部サービス機器200へ送信し、外部サービス機器200から応答メッセージを受信する。   The communication unit 102 communicates with the communication unit 202 of the external service device 200 and the communication unit 302 of the relay device 300. For example, the message generated by the request generation unit 104 is transmitted to the external service device 200 according to the operation mode determined by the operation mode determination unit 105, and a response message is received from the external service device 200.

メッセージ蓄積部103は、要求生成部104によって生成されたサービス要求メッセージを蓄積する。又、メッセージ蓄積部103は、外部サービス機器200および中継機器300から受信したサービス応答メッセージを蓄積し、要求生成部104に転送する。   The message storage unit 103 stores the service request message generated by the request generation unit 104. Further, the message storage unit 103 stores service response messages received from the external service device 200 and the relay device 300 and transfers them to the request generation unit 104.

要求生成部104は、要求するサービスの種類や属性を記述したサービス要求メッセージを生成して外部サービス機器200もしくは中継機器300に送信する。   The request generation unit 104 generates a service request message describing the type and attributes of the requested service and transmits the service request message to the external service device 200 or the relay device 300.

動作モード決定部105は、クライアント端末100の負荷に基づいて、サービス要求メッセージの処理方法、サービス要求メッセージの送信先(外部サービス機器200もしくは中継機器300)、サービス要求メッセージの送信経路などの情報を含む動作モードを決定する。   Based on the load of the client terminal 100, the operation mode determination unit 105 obtains information such as a service request message processing method, a service request message transmission destination (external service device 200 or relay device 300), and a service request message transmission path. Determine the operating mode to include.

状態監視部106は、メッセージ蓄積部103に蓄積されているサービス要求メッセージの量を監視し、監視結果を動作モード決定部105に通知する。   The state monitoring unit 106 monitors the amount of service request messages stored in the message storage unit 103 and notifies the operation mode determination unit 105 of the monitoring result.

動作モード記録部107は、動作モード決定部105において決定された動作モードを記録する。   The operation mode recording unit 107 records the operation mode determined by the operation mode determination unit 105.

外部サービス機器200は、図1に示すように、中央処理部201と、通信部202と、メッセージ蓄積部203と、要求応答部204と、動作モード決定部205と、状態監視部206と、動作モード記録部207とを備える。   As shown in FIG. 1, the external service device 200 includes a central processing unit 201, a communication unit 202, a message storage unit 203, a request response unit 204, an operation mode determination unit 205, a state monitoring unit 206, an operation A mode recording unit 207.

中央処理部201は、外部サービス機器200の各構成要素間の情報の流れを制御する。   The central processing unit 201 controls the information flow between the components of the external service device 200.

通信部202は、クライアント端末100の通信部102および中継機器300の通信部302との間で通信を行う。例えば、クライアント端末100からサービス要求メッセージを受信し、要求応答部204で生成したサービス応答メッセージをクライアント端末100へ送信する。あるいは、中継機器300の要求代行処理部304から処理済みのメッセージを受信し、クライアント端末100にサービス応答メッセージを送信する。   The communication unit 202 performs communication between the communication unit 102 of the client terminal 100 and the communication unit 302 of the relay device 300. For example, a service request message is received from the client terminal 100 and the service response message generated by the request response unit 204 is transmitted to the client terminal 100. Alternatively, a processed message is received from the request proxy processing unit 304 of the relay device 300 and a service response message is transmitted to the client terminal 100.

メッセージ蓄積部203は、クライアント端末100および中継機器300から受信するサービス要求メッセージを蓄積する。   The message storage unit 203 stores service request messages received from the client terminal 100 and the relay device 300.

要求応答部204は、メッセージ蓄積部203に蓄積されたメッセージを処理し、サービス応答メッセージを生成してクライアント端末100へ送信する。   The request response unit 204 processes the message stored in the message storage unit 203, generates a service response message, and transmits it to the client terminal 100.

動作モード決定部205は、メッセージ蓄積部203に蓄積されたサービス要求メッセージの量を監視し、監視結果に応じてサービス要求メッセージの処理方法、サービス要求メッセージの送信先(外部サービス機器200もしくは中継機器300)、サービス要求メッセージの送信経路などの情報を含む動作モードを決定する。   The operation mode determination unit 205 monitors the amount of the service request message stored in the message storage unit 203, and determines the service request message processing method and the service request message transmission destination (external service device 200 or relay device) according to the monitoring result. 300), an operation mode including information such as a transmission path of the service request message is determined.

状態監視部206は、メッセージ蓄積部203に蓄積されたサービス要求メッセージの量を監視し、監視結果を動作モード決定部305に通知する。   The state monitoring unit 206 monitors the amount of service request messages stored in the message storage unit 203 and notifies the operation mode determination unit 305 of the monitoring result.

動作モード記録部207は、動作モード決定部205において決定された動作モードを記録する。   The operation mode recording unit 207 records the operation mode determined by the operation mode determination unit 205.

中継機器300は、図1に示すように、中央処理部301と、通信部302と、メッセージ蓄積部303と、要求代行処理部304と、動作モード決定部305と、状態監視部306と、動作モード記録部307とを備える。   As shown in FIG. 1, the relay device 300 includes a central processing unit 301, a communication unit 302, a message storage unit 303, a request proxy processing unit 304, an operation mode determination unit 305, a state monitoring unit 306, an operation A mode recording unit 307.

中央処理部301は、中継機器300の各構成要素間の情報の流れを制御する。   The central processing unit 301 controls the flow of information between the components of the relay device 300.

通信部302は、クライアント端末100の通信部102および外部サービス機器200の通信部202との間で通信を行う。   The communication unit 302 performs communication between the communication unit 102 of the client terminal 100 and the communication unit 202 of the external service device 200.

メッセージ蓄積部303は、クライアント端末100および外部サービス機器200から受信したメッセージを蓄積する。   The message storage unit 303 stores messages received from the client terminal 100 and the external service device 200.

要求代行処理部304は、クライアント端末100からサービス要求メッセージを受信した場合に、外部サービス機器200の代理としてメッセージの処理を行う。例えば、メッセージの優先度を計算する処理や、サービスの署名を付与する処理を行う。   When receiving a service request message from the client terminal 100, the request proxy processing unit 304 processes the message as a proxy for the external service device 200. For example, processing for calculating the priority of a message and processing for assigning a service signature are performed.

動作モード決定部305は、クライアント端末100が発信するサービス要求メッセージの処理方法、サービス要求メッセージの送信先(外部サービス機器200もしくは中継機器300)、サービス要求メッセージの送信経路などの情報を含む動作モードを決定する。   The operation mode determination unit 305 includes an operation mode including information such as a method for processing a service request message transmitted from the client terminal 100, a transmission destination of the service request message (external service device 200 or relay device 300), and a transmission path of the service request message. To decide.

状態監視部306は、メッセージ蓄積部303に蓄積されたサービス要求メッセージの量を監視し、監視結果を動作モード決定部305に通知する。   The state monitoring unit 306 monitors the amount of service request messages stored in the message storage unit 303 and notifies the operation mode determination unit 305 of the monitoring result.

動作モード記録部307は、動作モード決定部305において決定された動作モードを記録する。   The operation mode recording unit 307 records the operation mode determined by the operation mode determination unit 305.

又、クライアント端末100のメッセージ蓄積部103、動作モード記録部107、外部サービス機器200のメッセージ蓄積部203、動作モード記録部207、中継機器300のメッセージ蓄積部303、動作モード記録部307は、RAM等の内部記憶装置を用いても良く、ハードディスクやフレキシブルディスク等の外部記憶装置を用いても良い。   The message storage unit 103, the operation mode recording unit 107 of the client terminal 100, the message storage unit 203 of the external service device 200, the operation mode recording unit 207, the message storage unit 303 of the relay device 300, and the operation mode recording unit 307 are stored in the RAM. An internal storage device such as a hard disk or a flexible disk may be used.

又、本実施形態に係るクライアント端末100は、処理制御装置(CPU)を有し、上述した中央処理部101、通信部102、要求生成部104、動作モード決定部105、状態監視部106などをモジュールとして、CPUに内蔵する構成とすることができる。これらのモジュールは、パーソナルコンピュータ等の汎用コンピュータにおいて、所定のプログラム言語を利用するための専用プログラムを実行することにより実現することができる。   The client terminal 100 according to the present embodiment includes a processing control device (CPU), and includes the above-described central processing unit 101, communication unit 102, request generation unit 104, operation mode determination unit 105, state monitoring unit 106, and the like. The module can be built in the CPU. These modules can be realized by executing a dedicated program for using a predetermined program language in a general-purpose computer such as a personal computer.

又、図示していないが、クライアント端末100は、要求生成処理、動作モード決定処理、状態監視処理などをCPUに実行させるためのプログラムを蓄積するプログラム保持部を備えてもよい。プログラム保持部は、例えば、RAM、ROM、ハードディスク、フレキシブルディスク、コンパクトディスク、ICチップ、カセットテープなどの記録媒体である。このような記録媒体によれば、プログラムの蓄積、運搬、販売などを容易に行うことができる。   Although not shown, the client terminal 100 may include a program holding unit that stores a program for causing the CPU to execute request generation processing, operation mode determination processing, state monitoring processing, and the like. The program holding unit is a recording medium such as a RAM, a ROM, a hard disk, a flexible disk, a compact disk, an IC chip, and a cassette tape. According to such a recording medium, it is possible to easily store, transport, and sell programs.

同様に、外部サービス機器200は、処理制御装置(CPU)を有し、上述した中央処理部201、通信部202、要求応答部204、動作モード決定部205、状態監視部206などをモジュールとして、CPUに内蔵する構成とすることができる。これらのモジュールは、パーソナルコンピュータ等の汎用コンピュータにおいて、所定のプログラム言語を利用するための専用プログラムを実行することにより実現することができる。   Similarly, the external service device 200 includes a processing control device (CPU), and the above-described central processing unit 201, communication unit 202, request response unit 204, operation mode determination unit 205, state monitoring unit 206, and the like are modules. It can be configured to be built in the CPU. These modules can be realized by executing a dedicated program for using a predetermined program language in a general-purpose computer such as a personal computer.

又、図示していないが、外部サービス機器200は、要求応答処理、動作モード決定処理、状態監視処理などをCPUに実行させるためのプログラムを蓄積するプログラム保持部を備えてもよい。プログラム保持部は、例えば、RAM、ROM、ハードディスク、フレキシブルディスク、コンパクトディスク、ICチップ、カセットテープなどの記録媒体である。このような記録媒体によれば、プログラムの蓄積、運搬、販売などを容易に行うことができる。   Although not shown, the external service device 200 may include a program holding unit that stores a program for causing the CPU to execute request response processing, operation mode determination processing, state monitoring processing, and the like. The program holding unit is a recording medium such as a RAM, a ROM, a hard disk, a flexible disk, a compact disk, an IC chip, and a cassette tape. According to such a recording medium, it is possible to easily store, transport, and sell programs.

同様に、中継機器300は、処理制御装置(CPU)を有し、上述した中央処理部301、通信部302、要求代行処理部304、動作モード決定部305、状態監視部306などをモジュールとして、CPUに内蔵する構成とすることができる。これらのモジュールは、パーソナルコンピュータ等の汎用コンピュータにおいて、所定のプログラム言語を利用するための専用プログラムを実行することにより実現することができる。   Similarly, the relay device 300 includes a processing control device (CPU), and the above-described central processing unit 301, communication unit 302, request proxy processing unit 304, operation mode determination unit 305, state monitoring unit 306, and the like as modules. It can be configured to be built in the CPU. These modules can be realized by executing a dedicated program for using a predetermined program language in a general-purpose computer such as a personal computer.

又、図示していないが、中継機器300は、要求代行処理、動作モード決定処理、状態監視処理などをCPUに実行させるためのプログラムを蓄積するプログラム保持部を備えてもよい。プログラム保持部は、例えば、RAM、ROM、ハードディスク、フレキシブルディスク、コンパクトディスク、ICチップ、カセットテープなどの記録媒体である。このような記録媒体によれば、プログラムの蓄積、運搬、販売などを容易に行うことができる。   Although not shown, the relay device 300 may include a program holding unit that stores a program for causing the CPU to execute a request proxy process, an operation mode determination process, a state monitoring process, and the like. The program holding unit is a recording medium such as a RAM, a ROM, a hard disk, a flexible disk, a compact disk, an IC chip, and a cassette tape. According to such a recording medium, it is possible to easily store, transport, and sell programs.

(サービス負荷分散方法)
次に、本実施形態に係るサービス負荷分散方法について、図2〜5を用いて説明する。ここで、サービス要求メッセージの送信先を含む動作モードを決定する主体は、クライアント端末100でもよく、外部サービス機器200でもよく、中継機器300でもよい。
(Service load balancing method)
Next, the service load distribution method according to the present embodiment will be described with reference to FIGS. Here, the entity that determines the operation mode including the transmission destination of the service request message may be the client terminal 100, the external service device 200, or the relay device 300.

図2は、クライアント端末100において、動作モードを決定する方法を示すフローチャートである。   FIG. 2 is a flowchart illustrating a method for determining an operation mode in the client terminal 100.

まず、ステップS11において、クライアント端末100の要求生成部104は、サービス要求メッセージを生成する。   First, in step S11, the request generation unit 104 of the client terminal 100 generates a service request message.

次に、ステップS12において、クライアント端末100のメッセージ蓄積部103は、サービス要求メッセージを蓄積する。   Next, in step S12, the message storage unit 103 of the client terminal 100 stores a service request message.

次に、ステップS13において、状態監視部106は、メッセージ蓄積部103に蓄積されているサービス要求メッセージの量を監視し、監視結果を動作モード決定部105に通知する。   Next, in step S <b> 13, the state monitoring unit 106 monitors the amount of service request messages stored in the message storage unit 103 and notifies the operation mode determination unit 105 of the monitoring result.

次に、ステップS14において、動作モード決定部105は、クライアント端末100の負荷に基づいて、サービス要求メッセージの処理方法、サービス要求メッセージの送信先(外部サービス機器200もしくは中継機器300)、サービス要求メッセージの送信経路などの情報を含む動作モードを決定する。例えば、同一の外部サービス機器200に膨大な量のサービス要求メッセージを送信する場合は、その一部を中継機器300に送信する動作モードとする。   Next, in step S <b> 14, the operation mode determination unit 105 determines a service request message processing method, a service request message transmission destination (external service device 200 or relay device 300), a service request message based on the load on the client terminal 100. The operation mode including information such as the transmission route of the mobile phone is determined. For example, when an enormous amount of service request messages are transmitted to the same external service device 200, an operation mode in which a part thereof is transmitted to the relay device 300 is set.

そして、ステップS15において、通信部102は、動作モード決定部105によって決定された動作モードに従って、サービス要求メッセージを送信する。   In step S <b> 15, the communication unit 102 transmits a service request message according to the operation mode determined by the operation mode determination unit 105.

図3は、外部サービス機器200において、動作モードを決定する方法を示すフローチャートである。   FIG. 3 is a flowchart illustrating a method for determining an operation mode in the external service device 200.

まず、ステップS21において、外部サービス機器200のメッセージ蓄積部203は、クライアント端末100から受信したサービス要求メッセージを蓄積する。   First, in step S21, the message storage unit 203 of the external service device 200 stores the service request message received from the client terminal 100.

次に、ステップS22において、外部サービス機器200の状態監視部206は、メッセージ蓄積部203に蓄積されているサービス要求メッセージの量を監視し、監視結果を動作モード決定部205に通知する。   Next, in step S <b> 22, the state monitoring unit 206 of the external service device 200 monitors the amount of service request message stored in the message storage unit 203 and notifies the operation mode determination unit 205 of the monitoring result.

次に、ステップS23において、動作モード決定部205は、外部サービス機器200の負荷に基づいて、サービス要求メッセージの処理方法、サービス要求メッセージの送信先(外部サービス機器200もしくは中継機器300)、サービス要求メッセージの送信経路などの情報を含む動作モードを決定する。例えば、膨大な量のサービス要求メッセージが蓄積されている場合、これ以降のサービス要求メッセージは、中継機器300に送信する動作モードとする。   Next, in step S23, the operation mode determination unit 205 determines a service request message processing method, a service request message transmission destination (external service device 200 or relay device 300), service request based on the load of the external service device 200. An operation mode including information such as a message transmission path is determined. For example, when an enormous amount of service request messages are accumulated, the subsequent service request messages are set to an operation mode to be transmitted to the relay device 300.

そして、ステップS24において、外部サービス機器200の通信部102は、動作モード決定部205によって決定された動作モードをクライアント端末100及び中継機器300に通知する。   In step S <b> 24, the communication unit 102 of the external service device 200 notifies the client terminal 100 and the relay device 300 of the operation mode determined by the operation mode determination unit 205.

クライアント端末100は、通知された動作モードに従って、サービス要求メッセージを送信する。   The client terminal 100 transmits a service request message according to the notified operation mode.

図4は、中継機器300において、動作モードを決定する方法を示すフローチャートである。ここでは、クライアント端末100が中継機器300に対して、サービス要求メッセージを送信していることを前提とする。   FIG. 4 is a flowchart illustrating a method for determining the operation mode in the relay device 300. Here, it is assumed that the client terminal 100 is transmitting a service request message to the relay device 300.

まず、ステップS31において、中継機器300のメッセージ蓄積部303は、クライアント端末100から受信したサービス要求メッセージを蓄積する。   First, in step S31, the message storage unit 303 of the relay device 300 stores the service request message received from the client terminal 100.

次に、ステップS32において、中継機器300の状態監視部306は、メッセージ蓄積部303に蓄積されているサービス要求メッセージの量を監視し、監視結果を動作モード決定部305に通知する。   Next, in step S <b> 32, the state monitoring unit 306 of the relay device 300 monitors the amount of service request message stored in the message storage unit 303 and notifies the operation mode determination unit 305 of the monitoring result.

次に、ステップS33において、動作モード決定部305は、外部サービス機器200及び中継機器300の負荷に基づいて、サービス要求メッセージの処理方法、サービス要求メッセージの送信先(外部サービス機器200もしくは中継機器300)、サービス要求メッセージの送信経路などの情報を含む動作モードを決定する。例えば、蓄積されるサービス要求メッセージが規定量より小さい場合、まだ中継機器300には、処理能力があるとして、これ以降のサービス要求メッセージは、中継機器300に送信する動作モードとする。   Next, in step S33, the operation mode determination unit 305 determines the service request message processing method, the service request message transmission destination (the external service device 200 or the relay device 300) based on the loads on the external service device 200 and the relay device 300. ) And an operation mode including information such as a transmission path of the service request message is determined. For example, if the accumulated service request message is smaller than a prescribed amount, it is assumed that the relay device 300 still has processing capability, and the subsequent service request message is set to an operation mode to be transmitted to the relay device 300.

そして、ステップS34において、中継機器300の通信部302は、動作モード決定部305によって決定された動作モードをクライアント端末100及び外部サービス機器200に通知する。   In step S <b> 34, the communication unit 302 of the relay device 300 notifies the client terminal 100 and the external service device 200 of the operation mode determined by the operation mode determination unit 305.

クライアント端末100は、通知された動作モードに従って、サービス要求メッセージを送信する。   The client terminal 100 transmits a service request message according to the notified operation mode.

次に、図5に示すクライアント端末100、外部サービス機器200及び中継機器300のシーケンス図を用いて、サービス負荷分散方法の詳細を説明する。   Next, details of the service load distribution method will be described using the sequence diagram of the client terminal 100, the external service device 200, and the relay device 300 shown in FIG.

ここでは、クライアント端末100が発信したサービス要求に対して、外部サービス機器200がサービス応答を発信し、クライアント端末100がサービス応答を受信するまでの第1ステップと、外部サービス機器200の負荷が増大したことを中継機器300に通知し、動作モードを変更し、新しい動作モードをクライアント端末100および外部サービス機器200に通知するまでの第2ステップと、クライアント端末100が新しい動作モードに従って中継機器300へサービス要求を送信し、中継機器において代理でメッセージの優先制御と応答メッセージへの署名処理を行い、外部サービス機器200を経由してクライアント端末100へ応答メッセージを返信するまでの第3ステップとから構成される。   Here, in response to the service request transmitted by the client terminal 100, the first step until the external service device 200 transmits a service response and the client terminal 100 receives the service response, and the load on the external service device 200 increases. The second step until the relay terminal 300 is notified of the change, the operation mode is changed, and the client terminal 100 and the external service device 200 are notified of the new operation mode, and the client terminal 100 transmits to the relay device 300 according to the new operation mode. It consists of a third step until a service request is transmitted, message priority control and response message signature processing are performed on behalf of the relay device, and a response message is returned to the client terminal 100 via the external service device 200 Is done.

=第1のステップ=
まず、ステップS101においてクライアント端末100の要求生成部104は、サービス要求メッセージを生成し、通信部102に送信する。
= First step =
First, in step S <b> 101, the request generation unit 104 of the client terminal 100 generates a service request message and transmits it to the communication unit 102.

次に、ステップS102において、クライアント端末100の通信部102は、サービス要求メッセージを外部サービス機器200へ送信し、外部サービス機器200の通信部202は、サービス要求メッセージを受信する。   Next, in step S102, the communication unit 102 of the client terminal 100 transmits a service request message to the external service device 200, and the communication unit 202 of the external service device 200 receives the service request message.

次に、ステップS103において、外部サービス機器200の通信部202は、受信したサービス要求メッセージをメッセージ蓄積部203へ送信する。   Next, in step S <b> 103, the communication unit 202 of the external service device 200 transmits the received service request message to the message storage unit 203.

次に、ステップS104において、外部サービス機器200のメッセージ蓄積部203は、受信したメッセージを要求応答部204に送信し、要求されたサービスの内容を確認し、外部サービス機器200において提供するサービスと一致するか否かを確認する。要求されたサービスと一致していない場合にはサービス要求メッセージを破棄する。   Next, in step S104, the message storage unit 203 of the external service device 200 transmits the received message to the request response unit 204, confirms the content of the requested service, and matches the service provided by the external service device 200. Confirm whether or not to do. If it does not match the requested service, the service request message is discarded.

次に、一致している場合には、ステップS105において、外部サービス機器200の要求応答部204は、サービス応答メッセージを作成し、サービスの電子署名を加えて通信部202に送信する。   Next, if they match, in step S105, the request response unit 204 of the external service device 200 creates a service response message, adds the electronic signature of the service, and transmits it to the communication unit 202.

次に、ステップS106において、外部サービス機器200の通信部202は、サービス応答メッセージをクライアント端末100に送信し、クライアント端末100の通信部102は、サービス応答メッセージを受信する。   Next, in step S106, the communication unit 202 of the external service device 200 transmits a service response message to the client terminal 100, and the communication unit 102 of the client terminal 100 receives the service response message.

次に、ステップS107において、クライアント端末100の通信部102は、サービス応答メッセージを要求生成部104に送信し、要求生成部104は、発見されたサービスに接続するための情報を取得する。   Next, in step S107, the communication unit 102 of the client terminal 100 transmits a service response message to the request generation unit 104, and the request generation unit 104 acquires information for connecting to the discovered service.

=第2のステップ=
次に、ステップS201において、外部サービス機器200の状態監視部206は、メッセージ蓄積部203を監視し、メッセージ蓄積部203に蓄積されたメッセージの量を確認し、記録する。
= Second step =
Next, in step S201, the state monitoring unit 206 of the external service device 200 monitors the message storage unit 203, confirms and records the amount of messages stored in the message storage unit 203.

次に、ステップS202において、外部サービス機器200の動作モード決定部205は、状態監視部206に記録されたメッセージの蓄積状態を確認する。   Next, in step S <b> 202, the operation mode determination unit 205 of the external service device 200 confirms the accumulation state of the message recorded in the state monitoring unit 206.

次に、ステップS203において、動作モード決定部205は、外部サービス機器200の負荷が規定の閾値を超えている場合、中継機器300の動作モード決定部305に動作状態変更通知を送信し、中継機器300の動作モード決定部305は動作状態変更通知を受信する。   Next, in step S203, the operation mode determination unit 205 transmits an operation state change notification to the operation mode determination unit 305 of the relay device 300 when the load of the external service device 200 exceeds the specified threshold, and the relay device The operation mode determination unit 305 of 300 receives the operation state change notification.

次に、ステップS204において、中継機器300の動作モード決定部305は、クライアント端末100から発信されるサービス要求メッセージを、中継機器300を経由して外部サービス機器200へ送信する動作モードに変更し、その変更をクライアント端末100の動作モード決定部105および外部サービス機器200の動作モード決定部205に通知する。   Next, in step S204, the operation mode determination unit 305 of the relay device 300 changes the service request message transmitted from the client terminal 100 to the operation mode for transmitting to the external service device 200 via the relay device 300, The change is notified to the operation mode determination unit 105 of the client terminal 100 and the operation mode determination unit 205 of the external service device 200.

=第3のステップ=
次に、ステップS301において、クライアント端末100の要求生成部104は、サービス要求メッセージを生成し、通信部102に送信する。
= Third step =
Next, in step S <b> 301, the request generation unit 104 of the client terminal 100 generates a service request message and transmits it to the communication unit 102.

次に、ステップS302において、クライアント端末100は、動作モード記録部107に記録された動作モードを確認し、中継機器300の通信部302へサービス要求メッセージを送信し、中継機器300の通信部302は、サービス要求メッセージを受信する。   Next, in step S302, the client terminal 100 confirms the operation mode recorded in the operation mode recording unit 107, transmits a service request message to the communication unit 302 of the relay device 300, and the communication unit 302 of the relay device 300 Receive a service request message.

次に、ステップS303において、中継機器300の通信部302は、サービス要求メッセージをメッセージ蓄積部303に蓄積する。   Next, in step S <b> 303, the communication unit 302 of the relay device 300 stores the service request message in the message storage unit 303.

次に、ステップS304において、メッセージ蓄積部303は、サービス要求メッセージを要求代行処理部304に送信する。   Next, in step S304, the message storage unit 303 transmits a service request message to the request proxy processing unit 304.

次に、ステップS305において、要求代行処理部304は、サービス要求メッセージの処理を外部サービス機器200の代理として実行する。例えば、サービス応答メッセージを生成し、外部サービス機器200の電子署名を付与する。あるいは、同一発信元からのサービス要求メッセージを多数受信した場合に処理の優先度を下げることによりDoS攻撃の可能性のあるメッセージを排除する。これらの処理を終えた後、新たに生成されたサービス応答メッセージを通信部302に送信する。   Next, in step S <b> 305, the request proxy processing unit 304 executes the service request message processing as a proxy for the external service device 200. For example, a service response message is generated and an electronic signature of the external service device 200 is given. Alternatively, when a large number of service request messages from the same source are received, a message having a possibility of DoS attack is eliminated by lowering the processing priority. After finishing these processes, a newly generated service response message is transmitted to the communication unit 302.

次に、ステップS306において、中継機器300の通信部302は、サービス応答メッセージを外部サービス機器200の通信部202に送信する。   Next, in step S306, the communication unit 302 of the relay device 300 transmits a service response message to the communication unit 202 of the external service device 200.

次に、ステップS307において、外部サービス機器200の通信部202は、サービス応答メッセージをメッセージ蓄積部203に蓄積する。   Next, in step S307, the communication unit 202 of the external service device 200 stores the service response message in the message storage unit 203.

次に、ステップS308において、外部サービス機器200のメッセージ蓄積部203は、サービス応答メッセージを要求応答部204に送信し、サービス応答メッセージを処理する。   Next, in step S308, the message storage unit 203 of the external service device 200 transmits a service response message to the request response unit 204, and processes the service response message.

次に、ステップS309において、外部サービス機器200の要求応答部204は、サービス応答メッセージを通信部202に送信する。   Next, in step S309, the request response unit 204 of the external service device 200 transmits a service response message to the communication unit 202.

次に、ステップS310において、外部サービス機器200の通信部202は、クライアント端末100の通信部102にサービス応答メッセージを送信し、クライアント端末100の通信部102は、サービス応答メッセージを受信する。   Next, in step S310, the communication unit 202 of the external service device 200 transmits a service response message to the communication unit 102 of the client terminal 100, and the communication unit 102 of the client terminal 100 receives the service response message.

次に、ステップS311において、クライアント端末100の通信部102は、サービス応答メッセージを要求生成部104に送信し、要求生成部104はサービスに接続するための情報を取得する。   Next, in step S311, the communication unit 102 of the client terminal 100 transmits a service response message to the request generation unit 104, and the request generation unit 104 acquires information for connecting to the service.

(作用及び効果)
本実施の形態に係るクライアント端末100、外部サービス機器200、中継機器300、サービス負荷分散システム及びサービス負荷分散方法によると、外部サービス機器200が膨大なサービス要求メッセージを受信した際に、中継機器300を経由してサービス要求メッセージを送信する経路に変更し、中継機器300において外部サービス機器200の行う処理を代行することにより、外部サービス機器200の負荷を軽減し、正規のクライアント端末100からのサービス要求を処理することが可能となる。
(Action and effect)
According to the client terminal 100, the external service device 200, the relay device 300, the service load distribution system, and the service load distribution method according to the present embodiment, when the external service device 200 receives an enormous service request message, the relay device 300 The route is changed to a route for transmitting the service request message via the relay device, and the processing performed by the external service device 200 is performed on the relay device 300, thereby reducing the load on the external service device 200 and the service from the regular client terminal 100. The request can be processed.

又、本実施の形態に係るクライアント端末100によると、状態監視部106によって得られた、メッセージ蓄積部103に蓄積されたサービス要求メッセージの量に基づいて、動作モードを決定することができる。   Further, according to the client terminal 100 according to the present embodiment, the operation mode can be determined based on the amount of service request messages stored in the message storage unit 103 obtained by the state monitoring unit 106.

同様に、本実施の形態に係る外部サービス機器200によると、状態監視部206によって得られた、メッセージ蓄積部203に蓄積されたサービス要求メッセージの量に基づいて、動作モードを決定することができる。   Similarly, according to the external service device 200 according to the present embodiment, the operation mode can be determined based on the amount of service request messages accumulated in the message accumulation unit 203 obtained by the state monitoring unit 206. .

同様に、本実施の形態に係る中継機器300によると、状態監視部306によって得られた、メッセージ蓄積部303に蓄積されたサービス要求メッセージの量に基づいて、動作モードを決定することができる。   Similarly, according to the relay device 300 according to the present embodiment, the operation mode can be determined based on the amount of service request messages stored in the message storage unit 303 obtained by the state monitoring unit 306.

このように、サービス要求メッセージの量に基づいて、動作モードを決定することにより、外部サービス機器200の負荷を軽減することができる。   In this way, the load on the external service device 200 can be reduced by determining the operation mode based on the amount of service request messages.

(その他の実施形態)
本発明は上記の実施形態によって記載したが、この開示の一部をなす論述及び図面はこの発明を限定するものであると理解すべきではない。この開示から当業者には様々な代替実施形態、実施例及び運用技術が明らかとなろう。
(Other embodiments)
Although the present invention has been described according to the above-described embodiments, it should not be understood that the descriptions and drawings constituting a part of this disclosure limit the present invention. From this disclosure, various alternative embodiments, examples and operational techniques will be apparent to those skilled in the art.

例えば、本発明の実施の形態において、中継機器300の配置方法として、インターネットを介して通信することを前提に遠隔地に配置してもよいし、無線LANやBluetoothあるいはイーサネット(登録商標)などによるローカルエリアネットワークを介して通信することを前提にユーザに近い場所に配置してもよい。又、中継機器300は複数台を配置してもよい。又、中継機器300が外部サービス機器200の代理として行う処理として、サービス要求メッセージに記述された要求内容と外部サービス機器の提供するサービス内容のマッチング、サービス応答メッセージの生成、サービス応答メッセージへの電子署名の付与、サービス要求メッセージの処理の優先度の決定などの様々な処理のうち、任意の処理を代行してよい。   For example, in the embodiment of the present invention, the relay device 300 may be arranged in a remote place on the assumption that communication is performed via the Internet, or by wireless LAN, Bluetooth, Ethernet (registered trademark), or the like. You may arrange | position in the place near a user on the assumption that it communicates via a local area network. A plurality of relay devices 300 may be arranged. In addition, as processing performed by the relay device 300 as a proxy for the external service device 200, matching of the request content described in the service request message with the service content provided by the external service device, generation of a service response message, and electronic to the service response message Arbitrary processing among various processing such as assignment of a signature and determination of priority of processing of a service request message may be performed.

又、本発明の実施の形態において、クライアント端末100は、中央処理部101、通信部102、要求生成部104、動作モード決定部105、状態監視部106等を一つの処理制御装置(CPU)内に備えてもよいと説明したが、それらが二つあるいはそれ以上の処理制御装置に分かれていても構わない。その際はそれらの処理制御装置間でデータのやりとりが行えるようにバスなどで装置間を接続しているとする。外部サービス機器200、中継機器300についても同様である。   In the embodiment of the present invention, the client terminal 100 includes a central processing unit 101, a communication unit 102, a request generation unit 104, an operation mode determination unit 105, a state monitoring unit 106, and the like in one processing control device (CPU). However, they may be divided into two or more processing control devices. In this case, it is assumed that the devices are connected by a bus or the like so that data can be exchanged between the processing control devices. The same applies to the external service device 200 and the relay device 300.

このように、本発明はここでは記載していない様々な実施形態等を含むことは勿論である。従って、本発明の技術的範囲は上記の説明から妥当な特許請求の範囲に係る発明特定事項によってのみ定められるものである。   As described above, the present invention naturally includes various embodiments not described herein. Therefore, the technical scope of the present invention is defined only by the invention specifying matters according to the scope of claims reasonable from the above description.

本実施形態に係るクライアント端末、外部サービス機器及び中継機器の構成ブロック図である。It is a block diagram of the configuration of a client terminal, an external service device, and a relay device according to the present embodiment. 本実施形態に係るクライアント端末の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the client terminal which concerns on this embodiment. 本実施形態に係る外部サービス機器の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the external service apparatus which concerns on this embodiment. 本実施形態に係る中継機器の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the relay apparatus which concerns on this embodiment. 本実施形態に係るサービス負荷分散方法のシーケンス図である。It is a sequence diagram of the service load distribution method according to the present embodiment.

符号の説明Explanation of symbols

100…クライアント端末
101…中央処理部
102…通信部
103…メッセージ蓄積部
104…要求生成部
105…動作モード決定部
106…状態監視部
107…動作モード記録部
200…サービス提供装置
200…外部サービス機器
201…中央処理部
202…通信部
203…メッセージ蓄積部
204…要求応答部
205…動作モード決定部
206…状態監視部
207…動作モード記録部
300…中継機器
301…中央処理部
302…通信部
303…メッセージ蓄積部
304…要求代行処理部
305…動作モード決定部
306…状態監視部
307…動作モード記録部
DESCRIPTION OF SYMBOLS 100 ... Client terminal 101 ... Central processing part 102 ... Communication part 103 ... Message storage part 104 ... Request generation part 105 ... Operation mode determination part 106 ... State monitoring part 107 ... Operation mode recording part 200 ... Service provision apparatus 200 ... External service apparatus DESCRIPTION OF SYMBOLS 201 ... Central processing part 202 ... Communication part 203 ... Message storage part 204 ... Request response part 205 ... Operation mode determination part 206 ... State monitoring part 207 ... Operation mode recording part 300 ... Relay apparatus 301 ... Central processing part 302 ... Communication part 303 ... Message storage unit 304 ... Request proxy processing unit 305 ... Operation mode determination unit 306 ... Status monitoring unit 307 ... Operation mode recording unit

Claims (2)

クライアント端末と、前記クライアント端末にデータあるいは機能を提供するサービス提供装置との通信を中継する中継機器であって、
前記クライアント端末から受信した、前記サービス提供装置へサービスを要求するサービス要求メッセージを蓄積するメッセージ蓄積部と、
前記サービス提供装置の負荷を軽減した後、前記サービス要求メッセージを前記サービス提供装置に送信する要求代行処理部と、
前記メッセージ蓄積部の状態を監視する状態監視部と、
前記サービス要求メッセージの前記クライアント端末における送信先を含む動作モードを決定する動作モード決定部とを備え、
前記動作モード決定部は、前記状態監視部によって得られた、前記メッセージ蓄積部に蓄積された前記サービス要求メッセージの量に基づいて、前記サービス提供装置の前記負荷を判断し、前記動作モードを決定し、
前記負荷の軽減とは、同一の前記クライアント端末から受信した前記サービス要求メッセージの量が規定の閾値を超えている場合は、同一の前記クライアント端末から受信した前記サービス要求メッセージに対する処理の優先度を下げることを特徴とする中継機器。
A relay device that relays communication between a client terminal and a service providing apparatus that provides data or a function to the client terminal,
A message storage unit for storing a service request message for requesting a service to the service providing apparatus received from the client terminal;
A request agent processing unit that transmits the service request message to the service providing apparatus after reducing the load on the service providing apparatus;
A state monitoring unit for monitoring the state of the message storage unit;
An operation mode determination unit for determining an operation mode including a transmission destination in the client terminal of the service request message,
The operation mode determination unit determines the operation mode by determining the load of the service providing device based on the amount of the service request message stored in the message storage unit obtained by the state monitoring unit. And
The load reduction means that when the amount of the service request message received from the same client terminal exceeds a predetermined threshold, the processing priority for the service request message received from the same client terminal is Relay equipment characterized by lowering .
前記動作モード決定部は、前記メッセージ蓄積部に蓄積された前記サービス要求メッセージの量が規定の閾値より小さい場合は、前記動作モードに含まれる前記送信先を前記中継機器とすることを特徴とする請求項に記載の中継機器。 The operation mode determination unit, when the amount of the service request message stored in the message storage unit is smaller than a predetermined threshold, sets the transmission destination included in the operation mode as the relay device. The relay device according to claim 1 .
JP2004346446A 2004-11-30 2004-11-30 Relay equipment Expired - Fee Related JP4636864B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004346446A JP4636864B2 (en) 2004-11-30 2004-11-30 Relay equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004346446A JP4636864B2 (en) 2004-11-30 2004-11-30 Relay equipment

Publications (2)

Publication Number Publication Date
JP2006157601A JP2006157601A (en) 2006-06-15
JP4636864B2 true JP4636864B2 (en) 2011-02-23

Family

ID=36635325

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004346446A Expired - Fee Related JP4636864B2 (en) 2004-11-30 2004-11-30 Relay equipment

Country Status (1)

Country Link
JP (1) JP4636864B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101203052B (en) * 2007-12-24 2012-06-27 华为技术有限公司 Method and apparatus for preventing malice business request
DK3661245T3 (en) * 2011-06-10 2023-10-16 Signify Holding Bv AVOIDING HOSTILE ATTACKS IN A NETWORK
JP6540095B2 (en) 2015-02-27 2019-07-10 日本電気株式会社 Communication apparatus, information processing system, message processing method
JP6834768B2 (en) 2017-05-17 2021-02-24 富士通株式会社 Attack detection method, attack detection program and relay device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002252640A (en) * 2001-02-23 2002-09-06 Fujitsu Ltd Network repeater and method and system for the same
JP2003067279A (en) * 2001-08-28 2003-03-07 Nec Corp Contents dynamic mirroring system
JP2003169089A (en) * 2001-11-29 2003-06-13 Ancl Inc Stream data decentralized distribution method and its system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0619819A (en) * 1992-07-01 1994-01-28 Fujitsu Ltd Transmission/reception controller
JPH11177551A (en) * 1997-12-11 1999-07-02 Oki Electric Ind Co Ltd Congestion avoiding device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002252640A (en) * 2001-02-23 2002-09-06 Fujitsu Ltd Network repeater and method and system for the same
JP2003067279A (en) * 2001-08-28 2003-03-07 Nec Corp Contents dynamic mirroring system
JP2003169089A (en) * 2001-11-29 2003-06-13 Ancl Inc Stream data decentralized distribution method and its system

Also Published As

Publication number Publication date
JP2006157601A (en) 2006-06-15

Similar Documents

Publication Publication Date Title
WO2020093500A1 (en) Intelligent scheduling method, terminal device, edge node cluster and intelligent scheduling system
CN108111999B (en) Device sharing request and control method, electronic device and storage medium
US7627906B2 (en) Service discovery system, client terminal, service providing device, and service discovery method
US9326115B2 (en) Information processing system, information processing method, mobile phone, server, and control method and control program thereof
US20080263213A1 (en) Communication device and client device
US10911378B2 (en) System and method for providing conversational contents
JP2006024197A (en) Service provision system, service provision method and its program
US8656028B2 (en) System, method, and program for communication connection by polling
JP4490499B2 (en) Communication terminal, relay device, wireless communication system, wireless communication control method, and program
CN114338650A (en) File transmission method and device, electronic equipment and readable storage medium
US20100240353A1 (en) Remote control system and facility side control apparatus and control program of facility apparatus and control method of facility apparatus
JP5876647B2 (en) Communication connection system, method and program by polling
JP4636864B2 (en) Relay equipment
US20090157896A1 (en) Tcp offload engine apparatus and method for system call processing for static file transmission
US20040192354A1 (en) Image processing server
US8456671B2 (en) Communication system, information storage device, management device, and terminal device
CN110708293B (en) Method and device for distributing multimedia service
US20190104557A1 (en) Communication apparatus, method of controlling the same, and storage medium
KR20200007634A (en) Electronic device for performing data transmission and method thereof
JP4900576B2 (en) Program, storage medium, and image processing method
CN113746909A (en) Network connection method, device, electronic equipment and computer readable storage medium
CN112383617A (en) Method, device, terminal equipment and medium for long connection
JP7184108B2 (en) Communication system, communication control method, and program
KR100632399B1 (en) UPnP-IEEE1394 device bridge and its method
CN112333787B (en) Data transmission method, device, storage medium, terminal and network access point equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071005

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100309

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100507

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100713

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100913

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: 20101116

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: 20101122

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

Free format text: PAYMENT UNTIL: 20131203

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees