[go: up one dir, main page]

JP2008059060A - Service linkage server and load balancing method - Google Patents

Service linkage server and load balancing method Download PDF

Info

Publication number
JP2008059060A
JP2008059060A JP2006232299A JP2006232299A JP2008059060A JP 2008059060 A JP2008059060 A JP 2008059060A JP 2006232299 A JP2006232299 A JP 2006232299A JP 2006232299 A JP2006232299 A JP 2006232299A JP 2008059060 A JP2008059060 A JP 2008059060A
Authority
JP
Japan
Prior art keywords
server
request
servers
identifier
protocols
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006232299A
Other languages
Japanese (ja)
Inventor
Masashi Kaneko
雅志 金子
Michio Irie
道生 入江
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 Inc
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2006232299A priority Critical patent/JP2008059060A/en
Publication of JP2008059060A publication Critical patent/JP2008059060A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

【課題】高いスケーラビリティを実現し、また、急激な需要増に柔軟に対応可能とする。
【解決手段】ウェブ系プロトコルロードバランサ30、テレコム系プロトコルロードバランサ40において、振り分け判定部は、信号を受信したときに、信号にセッション識別子が含まれているか判別し、信号にセッション識別子が含まれている場合には、サーバ20−1〜20−4に対する信号であるか否かを判別する。そして、サーバ20−1〜20−4に対する信号である場合には、セッション識別子から、セッション管理部にて埋め込んだIPアドレスを抽出し、そのIPアドレスに対して信号送信を行う。
【選択図】図1
[PROBLEMS] To achieve high scalability and flexibly cope with a rapid increase in demand.
In a web protocol load balancer 30 and a telecom protocol load balancer 40, when a signal is received, a distribution determination unit determines whether the signal includes a session identifier, and the signal includes a session identifier. If it is, it is determined whether the signal is for the servers 20-1 to 20-4. When the signal is for the servers 20-1 to 20-4, the IP address embedded in the session management unit is extracted from the session identifier, and the signal is transmitted to the IP address.
[Selection] Figure 1

Description

本発明は、ウェブサービスとテレコムサービスとを連携させるための連携サーバにおけるサービス連携サーバ及び負荷分散方法に関する。   The present invention relates to a service cooperation server and a load distribution method in a cooperation server for linking a web service and a telecom service.

ウェブサービスや、VoIP(Voice over Internet Protocol)サービスなどにおいて、高スケーラビリティを実現する場合、ロードバランサ(負荷分散装置)による負荷分散を行うのが一般的である(例えば、非特許文献1参照)。   In the case of realizing high scalability in web services, VoIP (Voice over Internet Protocol) services, etc., it is common to perform load distribution by a load balancer (load distribution device) (for example, see Non-Patent Document 1).

HTTP(Hyper Text Transfer Protocol)や、SIP(Session Initiation Protocol)などにおいて、複数のリクエストにおいて参照する必要がある共通のセッションデータが存在するサーバに対してロードバランサを適用する場合、ロードバランサにて、リクエストをセッションデータが存在するサーバに対して正しく振り分ける必要がある。   When applying a load balancer to a server that has common session data that needs to be referenced in multiple requests in HTTP (Hyper Text Transfer Protocol), SIP (Session Initiation Protocol), etc., It is necessary to distribute the request correctly to the server where the session data exists.

セッションを考慮したロードバランス方式としては、HTTPにおけるCookieIDや、SIPにおけるCall−ID等のセッション識別子を元にロードバランサにて負荷分散を行うことが一般的である。しかし、両者が連携するシステムにおいて、双方のセッションを同時に意識した振り分け方式は、検討されていない。
Tony Bourke著、鍋島公章 監訳、サーバ負荷分散技術、オライリー・ジャパン、2001年、p185−188
As a load balance method in consideration of a session, load balancing is generally performed by a load balancer based on a session identifier such as Cookie ID in HTTP or Call-ID in SIP. However, in a system in which both parties cooperate, a distribution method that is conscious of both sessions at the same time has not been studied.
By Tony Bourke, directed by Kimiaki Nabeshima, server load balancing technology, O'Reilly Japan, 2001, p185-188

ところで、ウェブ系サービスとテレコム系サービスとを連携させる場合、複雑なテレコム系プロトコルをアプリケーションから扱いやすいAPIに変換するサービス連携サーバの適用が有効である。サービス連携サーバは、HTTP等のウェブ系プロトコルと、H323やSIP等のテレコム系プロトコルの双方を同時に扱うシステムであり、双方のリクエストが1つのセッションデータを共有する場合がある。   By the way, when linking a web service and a telecom service, it is effective to apply a service cooperation server that converts a complicated telecom protocol from an application into an easy-to-handle API. The service cooperation server is a system that handles both a web protocol such as HTTP and a telecom protocol such as H323 and SIP at the same time, and both requests may share one session data.

一般的に、HTTPのセッション識別子とSIPのセッション識別子とは、各々、独立して設定されるため、そのようなシステムにおいて、ロードバランサによる負荷分散を実施する場合、既存方式であるセッション識別子による振り分け方式では、対応することができない。そのため、双方のプロトコルにおけるセッションを意識したロードバランス方式を実現する必要がある。   In general, since the HTTP session identifier and the SIP session identifier are each set independently, in such a system, when load balancing is performed by a load balancer, distribution by the session identifier that is an existing method is performed. The method cannot cope. For this reason, it is necessary to realize a load balancing method that is conscious of sessions in both protocols.

本発明は、このような事情を考慮してなされたものであり、その目的は、サービス連携サーバにおいて、高いスケーラビリティを実現することができ、また、急激な需要増に柔軟に対応することができるサービス連携サーバ及び負荷分散方法を提供することにある。   The present invention has been made in consideration of such circumstances, and the object thereof is to realize high scalability in the service cooperation server and to flexibly cope with a rapid increase in demand. It is to provide a service cooperation server and a load distribution method.

上述した課題を解決するために、本発明は、複数のサーバによって提供されるサービスに対する、複数のプロトコルによるリクエストを振り分けるサービス連携サーバであって、前記複数のプロトコルによるリクエストの初回発生時に、該リクエストのセッション識別子と、該リクエストに対応するサービスを提供するサーバのサーバ識別子とから、新たなセッション識別子を生成するセッション識別子生成手段と、前記リクエストの初回発生時以降に発生した前記複数のプロトコルによるリクエストが前記複数のサーバのいずれかに対するリクエストであるか否かを判別する判別手段と、前記判別手段により、前記リクエストが前記複数のサーバのいずれかに対するリクエストであると判別された場合、前記複数のプロトコルによるリクエストに含まれるセッション識別子からサーバ識別子を抽出する抽出手段と、前記抽出手段によって抽出されたサーバ識別子に基づいて、前記リクエストに対応するサービスを提供するサーバを特定するサーバ特定手段とを具備することを特徴とするサービス連携サーバである。   In order to solve the above-described problem, the present invention provides a service cooperation server that distributes requests according to a plurality of protocols for services provided by a plurality of servers, and the request is generated when the requests according to the plurality of protocols are first generated. A session identifier generating means for generating a new session identifier from the session identifier of the server providing the service corresponding to the request, and requests by the plurality of protocols generated after the first occurrence of the request Determining means for determining whether the request is a request for any of the plurality of servers, and when the determination means determines that the request is a request for any of the plurality of servers, Request by protocol Extracting means for extracting a server identifier from a session identifier included in the client, and server specifying means for specifying a server that provides a service corresponding to the request based on the server identifier extracted by the extracting means. Is a service cooperation server characterized by

上述した課題を解決するために、本発明は、複数のサーバによって提供されるサービスに対する、複数のプロトコルによるリクエストを振り分けるサービス連携サーバであって、
前記複数のサーバによって提供される全てのサービスにアクセス可能なように、前記複数のサーバによって提供されるサービスデータを一元的に管理するサービスデータ管理手段を具備することを特徴とするサービス連携サーバである。
In order to solve the above-described problem, the present invention is a service cooperation server that distributes requests based on a plurality of protocols for services provided by a plurality of servers,
A service cooperation server comprising service data management means for centrally managing service data provided by the plurality of servers so that all services provided by the plurality of servers can be accessed. is there.

上述した課題を解決するために、本発明は、複数のサーバによって提供されるサービスに対する、複数のプロトコルによるリクエストを振り分けるサービス連携サーバであって、前記リクエストに含まれるセッション識別子と前記複数のサーバのサーバ識別子とを対応付けて記憶する振り分け先管理記憶手段と、前記複数のプロトコルによるリクエストに含まれるセッション識別子に基づいて、前記振り分け先管理記憶手段から対応するサーバ識別子を取得するサーバ識別子取得手段と、前記サーバ識別子取得手段によって取得されたサーバ識別子に基づいて、前記リクエストに対応するサービスを提供するサーバを特定するサーバ特定手段とを具備することを特徴とするサービス連携サーバである。   In order to solve the above-described problem, the present invention provides a service cooperation server that distributes requests based on a plurality of protocols to services provided by a plurality of servers, and includes a session identifier included in the request and the plurality of servers. A distribution destination management storage unit that associates and stores a server identifier, and a server identifier acquisition unit that acquires a corresponding server identifier from the distribution destination management storage unit based on a session identifier included in the requests according to the plurality of protocols; And a server identification unit that identifies a server that provides a service corresponding to the request based on the server identifier acquired by the server identifier acquisition unit.

本発明は、上記に記載の発明において、前記複数のプロトコルによるリクエストが前記複数のサーバのいずれかに対するリクエストであるか否かを判別する判別手段と、前記判別手段により、前記リクエストが前記複数のサーバのいずれかに対するリクエストでないと判別された場合、前記リクエストに含まれるセッション識別子と、リクエスト送信元のサーバ識別子とを対応付けて前記振り分け先管理記憶手段に登録する登録手段とを具備することを特徴とする。   According to the present invention, in the invention described above, the request is determined by the determining unit that determines whether the request based on the plurality of protocols is a request for any of the plurality of servers. A registration unit for registering the session identifier included in the request and the server identifier of the request transmission source in association with the distribution destination management storage unit when it is determined that the request is not for any of the servers. Features.

本発明は、複数のサーバによって提供されるサービスに対する、複数のプロトコルによるリクエストを振り分ける負荷分散方法であって、前記複数のプロトコルによるリクエストの初回発生時に、該リクエストのセッション識別子と、該リクエストに対応するサービスを提供するサーバのサーバ識別子とから、新たなセッション識別子を生成し、前記リクエストの初回発生時以降に発生した前記複数のプロトコルによるリクエストが前記複数のサーバのいずれかに対するリクエストであるか否かを判別し、前記複数のサーバのいずれかに対するリクエストであると判別された場合、前記複数のプロトコルによるリクエストに含まれるセッション識別子からサーバ識別子を抽出し、抽出したサーバ識別子に基づいて、前記リクエストに対応するサービスを提供するサーバを特定することを特徴とする負荷分散方法である。   The present invention relates to a load distribution method for distributing requests based on a plurality of protocols to services provided by a plurality of servers, and when a request based on the plurality of protocols is generated for the first time, the request identifier corresponds to the request. A new session identifier is generated from the server identifier of the server providing the service to be executed, and whether or not the request by the plurality of protocols generated after the first generation of the request is a request to any of the plurality of servers If it is determined that the request is for one of the plurality of servers, a server identifier is extracted from a session identifier included in the request according to the plurality of protocols, and the request is based on the extracted server identifier. Corresponding to A load distribution method characterized by identifying a server providing-bis.

本発明は、複数のサーバによって提供されるサービスに対する、複数のプロトコルによるリクエストを振り分ける負荷分散方法であって、前記複数のサーバによって提供される全てのサービスにアクセス可能なように、前記複数のサーバによって提供されるサービスデータを一元的に管理することを特徴とする負荷分散方法である。   The present invention is a load distribution method for distributing requests based on a plurality of protocols to services provided by a plurality of servers, wherein the plurality of servers are accessible so that all services provided by the plurality of servers can be accessed. The load distribution method is characterized in that the service data provided by is managed centrally.

本発明は、複数のサーバによって提供されるサービスに対する、複数のプロトコルによるリクエストを振り分ける負荷分散方法であって、前記リクエストに含まれるセッション識別子と前記複数のサーバのサーバ識別子とを対応付けて記憶しておき、前記複数のプロトコルによるリクエストに含まれるセッション識別子に対応するサーバ識別子を取得し、取得したサーバ識別子に基づいて、前記リクエストに対応するサービスを提供するサーバを特定することを特徴とする負荷分散方法である。   The present invention is a load distribution method for distributing requests based on a plurality of protocols to services provided by a plurality of servers, and stores session identifiers included in the requests and server identifiers of the plurality of servers in association with each other. A load characterized by acquiring a server identifier corresponding to a session identifier included in a request according to the plurality of protocols, and identifying a server that provides a service corresponding to the request based on the acquired server identifier Dispersion method.

この発明によれば、複数のプロトコルによるリクエストの初回発生時に、該リクエストのセッション識別子と、該リクエストに対応するサービスを提供するサーバのサーバ識別子とから、新たなセッション識別子を生成し、前記初回発生時以降に発生した前記複数のプロトコルによるリクエストが前記複数のサーバのいずれかに対するリクエストであるか否かを判別し、複数のサーバのいずれかに対するリクエストであると判別された場合、複数のプロトコルによるリクエストに含まれるセッション識別子からサーバ識別子を抽出し、抽出されたサーバ識別子に基づいて、リクエストに対応するサービスを提供するサーバを特定する。したがって、複数のプロトコルによるリクエストから、該リクエストに対応するサービスを提供するサーバを容易に特定することができるという利点が得られる。   According to the present invention, when a request according to a plurality of protocols is generated for the first time, a new session identifier is generated from the session identifier of the request and the server identifier of the server providing the service corresponding to the request, and the first generation It is determined whether or not a request according to the plurality of protocols generated after the time is a request for any of the plurality of servers, and when it is determined that the request is for any of the plurality of servers, A server identifier is extracted from the session identifier included in the request, and a server that provides a service corresponding to the request is specified based on the extracted server identifier. Therefore, it is possible to obtain an advantage that a server that provides a service corresponding to the request can be easily specified from requests according to a plurality of protocols.

また、本発明によれば、複数のサーバによって提供される全てのサービスにアクセス可能なように、複数のサーバによって提供されるサービスデータを一元的に管理する。したがって、サービスデータの管理位置を意識せずに振り分けることができるという利点が得られる。   In addition, according to the present invention, service data provided by a plurality of servers is centrally managed so that all services provided by the plurality of servers can be accessed. Therefore, there is an advantage that the service data can be distributed without being aware of the management position.

また、本発明によれば、リクエストに含まれるセッション識別子と複数のサーバのサーバ識別子とを対応付けて記憶しておき、複数のプロトコルによるリクエストに含まれるセッション識別子に対応するサーバ識別子を取得し、取得されたサーバ識別子に基づいて、前記リクエストに対応するサービスを提供するサーバを特定する。したがって、セッション識別子を新たに生成することなく、複数のプロトコルによるリクエストから、該リクエストに対応するサービスを提供するサーバを容易に特定することができるという利点が得られる。   Further, according to the present invention, the session identifier included in the request and the server identifiers of the plurality of servers are stored in association with each other, and the server identifier corresponding to the session identifier included in the request according to the plurality of protocols is acquired, Based on the acquired server identifier, a server that provides a service corresponding to the request is specified. Therefore, there is an advantage that a server that provides a service corresponding to the request can be easily specified from a request based on a plurality of protocols without newly generating a session identifier.

また、この発明によれば、複数のプロトコルによるリクエストが複数のサーバのいずれかに対するリクエストであるか否かを判別し、リクエストが複数のサーバのいずれかに対するリクエストでないと判別された場合、リクエストに含まれるセッション識別子と、リクエスト送信元のサーバ識別子とを対応付けて記憶する。したがって、リクエストに含まれるセッション識別子と複数のサーバのサーバ識別子との対応付けを容易に更新することができ、リクエストに対応するサービスを提供するサーバを常に最新の情報で容易に特定することができるという利点が得られる。   Further, according to the present invention, it is determined whether or not a request based on a plurality of protocols is a request for any of a plurality of servers, and if it is determined that the request is not a request for any of a plurality of servers, The session identifier included and the server identifier of the request transmission source are stored in association with each other. Therefore, the association between the session identifier included in the request and the server identifiers of a plurality of servers can be easily updated, and the server that provides the service corresponding to the request can always be easily identified with the latest information. The advantage is obtained.

以下、本発明の一実施形態による負荷分散方式を、図面を参照して説明する。   Hereinafter, a load balancing method according to an embodiment of the present invention will be described with reference to the drawings.

A.第1実施形態
図1は、本発明の第1実施形態による負荷分散方式を適用した、HTTPプロトコルとSIPプロトコルとによるサービスが連携するサービス連携サーバの構成を示すブロック図である。図1において、ウェブ−テレコム連携サーバ10は、HTTP及びSIPの信号を処理するサーバであり、複数のサーバ20−1〜20−4、ウェブ系プロトコルロードバランサ30、テレコム系プロトコルロードバランサ40を備えている。
A. First Embodiment FIG. 1 is a block diagram showing a configuration of a service cooperation server to which a service based on an HTTP protocol and a SIP protocol cooperates, to which a load distribution method according to a first embodiment of the present invention is applied. In FIG. 1, a web-telecom cooperation server 10 is a server that processes HTTP and SIP signals, and includes a plurality of servers 20-1 to 20-4, a web protocol load balancer 30, and a telecom protocol load balancer 40. ing.

サーバ20−1〜20−4は、各々、リクエストに応じたサービスを提供する。ウェブ系プロトコルロードバランサ30は、HTTPを用いるインターネット45に接続され、テレコム系プロトコルロードバランサ40は、SIPを用いるテレコムネットワーク46に接続されている。ウェブ系プロトコルロードバランサ30、テレコム系プロトコルロードバランサ40は、各々、上記クライアント50から発信されたHTTP、SIP双方のリクエストを、サービスデータが存在するサーバ20−1〜20−4のいずれかに振り分ける。   Each of the servers 20-1 to 20-4 provides a service according to the request. The web protocol load balancer 30 is connected to the Internet 45 using HTTP, and the telecom protocol load balancer 40 is connected to a telecom network 46 using SIP. Each of the web protocol load balancer 30 and the telecom protocol load balancer 40 distributes both HTTP and SIP requests transmitted from the client 50 to one of the servers 20-1 to 20-4 where service data exists. .

クライアント50は、HTTP、SIPによる双方のリクエストを、それぞれ、インターネット45、テレコムネットワーク46を介して、ウェブ系プロトコルロードバランサ30、テレコム系プロトコルロードバランサ40に発信する。   The client 50 sends both HTTP and SIP requests to the web protocol load balancer 30 and the telecom protocol load balancer 40 via the Internet 45 and the telecom network 46, respectively.

次に、図2は、上記サーバ20−1〜20−4と、ウェブ系プロトコルロードバランサ30、テレコム系プロトコルロードバランサ40との機能構成を示すブロック図である。図2において、サーバ20−1〜20−4は、各々、サービスデータ管理部60及びセッション管理部70を備えている。サービスデータ管理部60は、サーバにおけるサービス起動時にサービスデータを生成する。セッション管理部70は、サービスを起動したリクエストや、起動されたサービスが生成したセッションに対して、セッション識別子を発行する。以降のリクエストにおいては、上記セッション識別子を指定してサービスデータへのアクセスが行われる。   Next, FIG. 2 is a block diagram showing functional configurations of the servers 20-1 to 20-4, the web protocol load balancer 30, and the telecom protocol load balancer 40. In FIG. 2, the servers 20-1 to 20-4 each include a service data management unit 60 and a session management unit 70. The service data management unit 60 generates service data when a service is started in the server. The session management unit 70 issues a session identifier to a request that activates a service or a session generated by the activated service. In subsequent requests, access to the service data is performed by designating the session identifier.

上記構成において、ウェブ系プロトコルロードバランサ30、テレコム系プロトコルロードバランサ40は、セッション識別子が指定されているリクエストについては、そのセッションと関連したサービスデータが存在するサービスデータ管理部60を備えるサーバ20−i(i=1,2,3,4)に対してリクエスト信号を振り分ける必要がある。   In the above configuration, the web protocol load balancer 30 and the telecom protocol load balancer 40 have a service data management unit 60 in which service data related to the session exists for a request for which a session identifier is specified. It is necessary to distribute request signals to i (i = 1, 2, 3, 4).

そこで、本第1実施形態では、セッション管理部70は、セッション識別子を発行する際に、該セッション識別子と、そのセッションが生成されたサーバ20−i(i=1,2,3,4)のIPアドレスとから、新たなセッション識別子を生成するようになっている。なお、新たなセッション識別子の生成方法としては、セッション識別子にIPアドレスを連結して新たなセッション識別子としてもよいし、セッション識別子とIPアドレスとから、ハッシュ演算などにより、新たにセッション識別子を生成してもよい。ウェブ系プロトコルロードバランサ30、テレコム系プロトコルロードバランサ40での振り分け時には、セッション識別子に埋め込まれたIPアドレスを抽出し、該IPアドレスに対応するサーバ20−iに対して信号送信を行うようにすればよい。   Therefore, in the first embodiment, when the session management unit 70 issues a session identifier, the session identifier and the server 20-i (i = 1, 2, 3, 4) where the session is generated are generated. A new session identifier is generated from the IP address. As a method for generating a new session identifier, a new session identifier may be generated by concatenating an IP address to the session identifier. Alternatively, a new session identifier may be generated from the session identifier and the IP address by a hash operation or the like. May be. At the time of distribution by the web protocol load balancer 30 and the telecom protocol load balancer 40, the IP address embedded in the session identifier is extracted and signal transmission is performed to the server 20-i corresponding to the IP address. That's fine.

次に、図3は、本第1実施形態による負荷分散方式を適用したウェブ系プロトコルロードバランサ30、テレコム系プロトコルロードバランサ40の動作を説明するためのフローチャートである。ウェブ系プロトコルロードバランサ30、テレコム系プロトコルロードバランサ40において、振り分け判定部80は、信号を受信したときに、信号にセッション識別子が含まれているか判別し(ステップS10)、信号にセッション識別子が含まれている場合には、サーバ20−1〜20−4に対する信号であるか否かを判別する(ステップS11)。そして、サーバ20−1〜20−4に対する信号である場合には、セッション識別子からIPアドレスを抽出し(ステップS12)、そのIPアドレスに対して信号送信を行う。   Next, FIG. 3 is a flowchart for explaining the operations of the web protocol load balancer 30 and the telecom protocol load balancer 40 to which the load distribution method according to the first embodiment is applied. In the web protocol load balancer 30 and the telecom protocol load balancer 40, the distribution determination unit 80 determines whether the session identifier is included in the signal when the signal is received (step S10), and the session identifier is included in the signal. If so, it is determined whether or not the signal is for the servers 20-1 to 20-4 (step S11). If the signal is for the servers 20-1 to 20-4, the IP address is extracted from the session identifier (step S12), and the signal is transmitted to the IP address.

例えば、あるサービスにおいて、SIPによってクライアント間に新規のセッションを生成する場合、図4に示すように、SIPのセッション識別子として用いられるCall−IDにサーバ20−i(i=1,2,3,4)のIPアドレス等のサーバ識別子を連結し、その値を新たなCall−IDとして用いる。そして、テレコム系プロトコルロードバランサ40にてSIP信号を振り分ける際に、指定されているCall−IDから連結されたIPアドレスを取り出すことにより、振り分け先のサーバ20−iを判定する。   For example, in a certain service, when a new session is generated between clients by SIP, as shown in FIG. 4, the server 20-i (i = 1, 2, 3, 3) is used as the Call-ID used as the SIP session identifier. 4) Concatenate server identifiers such as IP addresses and use the values as new Call-IDs. Then, when the SIP signal is distributed by the telecom protocol load balancer 40, the server 20-i that is the distribution destination is determined by taking out the IP address linked from the designated Call-ID.

また、HTTPの場合にも、HTTPのセッション識別子にサーバ20−i(i=1,2,3,4)のIPアドレス等のサーバ識別子を連結して、新たなセッション識別子とすることで、HTTP信号を振り分ける際に、振り分け先のサーバ20−iを判定することが可能となる。   Also in the case of HTTP, a server identifier such as the IP address of the server 20-i (i = 1, 2, 3, 4) is concatenated with the HTTP session identifier to form a new session identifier, thereby making the HTTP When the signal is distributed, it is possible to determine the server 20-i that is the distribution destination.

B.第2実施形態
次に、本発明の第2実施形態について説明する。本第2実施形態では、サービスデータ管理部60に対して、全てのサーバ20−1〜20−4からサービスデータへのアクセスを可能としている。
B. Second Embodiment Next, a second embodiment of the present invention will be described. In the second embodiment, the service data management unit 60 can be accessed from all the servers 20-1 to 20-4.

図5は、本第2実施形態によるサーバ20−1〜20−4の構成を示すブロック図である。図5において、全てのサーバ20−1〜20−4は、全てのサービスデータにアクセス可能なように、サービスデータを一元的に管理するサービスデータ一元管理部61を備えている。なお、各サーバ20−1〜20−4にサービスデータ一元管理部61を備える以外に、全てのサーバ20−1〜20−4から参照可能な共通のデータベースを別途設けるようにしてもよい。   FIG. 5 is a block diagram showing the configuration of the servers 20-1 to 20-4 according to the second embodiment. In FIG. 5, all the servers 20-1 to 20-4 are provided with a service data centralized management unit 61 that centrally manages service data so that all service data can be accessed. In addition to the provision of the service data centralized management unit 61 in each of the servers 20-1 to 20-4, a common database that can be referred to from all the servers 20-1 to 20-4 may be separately provided.

各サーバ20−1〜20−4に振り分けられたリクエストがサービスデータにアクセスする際には、サービスデータ管理部60にアクセスすることにより、処理を実施する。この場合、図2に示す振り分け先判定部80は、特に、セッション識別子を意識した振り分けなどを行う必要はなく、ラウンドロビン方式、重み付けラウンドロビン方式等の周知の振り分け方式を用いることが可能である。   When a request distributed to each of the servers 20-1 to 20-4 accesses service data, the service data management unit 60 is accessed to perform processing. In this case, the distribution destination determination unit 80 shown in FIG. 2 does not need to perform distribution particularly in consideration of the session identifier, and can use a known distribution method such as a round robin method or a weighted round robin method. .

これにより、ウェブ系プロトコルロードバランサ30、テレコム系プロトコルロードバランサ40においてサービスデータの管理位置を意識せずに振り分けることが可能となる。   As a result, the web protocol load balancer 30 and the telecom protocol load balancer 40 can distribute the service data without regard to the management position of the service data.

C.第3実施形態
次に、本発明の第3実施形態について説明する。本第3実施形態では、サービスデータ管理部60や、セッション管理部70において、特別な処理を行うことなく、リクエスト信号の振り分けを行うようになっている。
C. Third Embodiment Next, a third embodiment of the present invention will be described. In the third embodiment, the service data management unit 60 and the session management unit 70 distribute request signals without performing special processing.

図6は、本第3実施形態による負荷分散方式を適用したウェブ系プロトコルロードバランサ30、テレコム系プロトコルロードバランサ40の構成を示すブロック図である。図6において、ウェブ系プロトコルロードバランサ30、テレコム系プロトコルロードバランサ40は、振り分け先管理テーブル81を備えている。該振り分け先管理テーブル81は、図7に示すように、セッション識別子S−ID1、S−ID2、S−ID3、…と、該セッション識別子に対応するサービスデータを提供するサーバ20−1〜20−4のIPアドレスIP1、IP2、IP3、…とを対応付けて記憶している。   FIG. 6 is a block diagram showing a configuration of a web protocol load balancer 30 and a telecom protocol load balancer 40 to which the load distribution method according to the third embodiment is applied. In FIG. 6, the web protocol load balancer 30 and the telecom protocol load balancer 40 include a distribution destination management table 81. As shown in FIG. 7, the distribution destination management table 81 includes servers 20-1 to 20- that provide session identifiers S-ID1, S-ID2, S-ID3,... And service data corresponding to the session identifiers. 4 IP addresses IP1, IP2, IP3,...

振り分け先判定部80は、リクエスト信号を受信したときに、信号内にセッション識別子が存在した場合、それがサーバ20−i(i=1,2,3,4)に対する信号である場合には、振り分け先管理テーブル81からセッション識別子に対応した振り分け先サーバのIPアドレスを取得し、該IPアドレスのサーバ20−iに対して信号を送信する。また、振り分け先判定部80は、サーバ20−1〜20−4に対する信号でない場合、つまり、クライアント50に対する信号である場合には、振り分け先管理テーブル81にセッション識別子と信号送信元(サーバ20−i)のIPアドレスとを登録して送信先アドレスに信号を送信する。   The distribution destination determination unit 80 receives a request signal, and if a session identifier is present in the signal, if it is a signal for the server 20-i (i = 1, 2, 3, 4), The IP address of the distribution destination server corresponding to the session identifier is acquired from the distribution destination management table 81, and a signal is transmitted to the server 20-i with the IP address. Further, when the signal is not a signal for the servers 20-1 to 20-4, that is, when the signal is for the client 50, the distribution destination determination unit 80 stores a session identifier and a signal transmission source (server 20-2) in the distribution destination management table 81. i) is registered with the IP address and a signal is transmitted to the destination address.

次に、図8は、本第3実施形態の動作を説明するためのフローチャートである。ウェブ系プロトコルロードバランサ30、テレコム系プロトコルロードバランサ40において、振り分け判定部80は、信号を受信したときに、信号にセッション識別子が含まれているか判別し(ステップS20)、信号にセッション識別子が含まれている場合には、サーバ20−1〜20−4に対する信号であるか否かを判別する(ステップS21)。そして、サーバ20−1〜20−4に対する信号である場合には、振り分け先管理テーブル81からセッション識別子に対応した振り分け先サーバのIPアドレスを取得し(ステップS22)、該IPアドレスに対して信号を送信する。   Next, FIG. 8 is a flowchart for explaining the operation of the third embodiment. In the web protocol load balancer 30 and the telecom protocol load balancer 40, the distribution determination unit 80 determines whether the session identifier is included in the signal when receiving the signal (step S20), and the signal includes the session identifier. If so, it is determined whether or not the signal is for the servers 20-1 to 20-4 (step S21). If it is a signal for the servers 20-1 to 20-4, the IP address of the distribution destination server corresponding to the session identifier is acquired from the distribution destination management table 81 (step S22), and a signal is sent to the IP address. Send.

一方、サーバ20−1〜20−4に対する信号でない場合には、振り分け先管理テーブル81にセッション識別子と信号送信元(サーバ20−i)のIPアドレスとを登録し(ステップS23)、送信先アドレスに信号を送信する。   On the other hand, if it is not a signal for the servers 20-1 to 20-4, the session identifier and the IP address of the signal transmission source (server 20-i) are registered in the distribution destination management table 81 (step S23), and the transmission destination address. Send a signal to

ここで、図9は、本第3実施形態の一動作例を説明するためのシーケンス図である。図9に示すシーケンスは、HTTPよりSIPによるセッションを制御された場合の動作例であり、クライアントAは、HTTPを用い、クライアントB、Cは、SIPを用いて通信を行う。HTTPサーバ20−Aは、図1に示すサーバ20−i(i=1〜4)のいずれかに相当し、HTTPを用いたサービスを提供する。また、SIPサーバ20−Bは、図1に示すサーバ20−i(i=1〜4)のいずれかに相当し、SIPを用いたサービスを提供する。   Here, FIG. 9 is a sequence diagram for explaining an operation example of the third embodiment. The sequence shown in FIG. 9 is an operation example when a SIP session is controlled by HTTP, and client A uses HTTP, and clients B and C communicate using SIP. The HTTP server 20-A corresponds to one of the servers 20-i (i = 1 to 4) shown in FIG. 1, and provides a service using HTTP. The SIP server 20-B corresponds to one of the servers 20-i (i = 1 to 4) shown in FIG. 1 and provides a service using SIP.

まず、HTTPのクライアントAからHTTPサーバ20−Aに対して発呼要求(リクエスト)があると(SS1)、HTTPサーバ20−Aは、HTTPリクエストデータで指定されたSIPのクライアントB、C間にセッション確立をするように、SIPサーバ20−Bに対して、セッション開始要求を行う(SS2)。   First, when there is a call request (request) from the HTTP client A to the HTTP server 20-A (SS1), the HTTP server 20-A connects between the SIP clients B and C specified by the HTTP request data. A session start request is made to the SIP server 20-B so as to establish a session (SS2).

次に、SIPサーバ20−Bは、HTTPサーバ20−Aに対して、SIPセッション識別子を通知する(SS3)。SIPサーバ20−Bからの応答を受けたHTTPサーバ20−Aは、HTTPセッション識別子を新たに発行し、HTTPセッション識別子とSIPセッション識別子との対応をHTTPセッションデータとして保存した後、HTTPクライアントAに対してHTTPセッション識別子を、HTTPセッションの識別子として指定してセッション確立応答を送信する(SS4)。   Next, the SIP server 20-B notifies the SIP server identifier to the HTTP server 20-A (SS3). The HTTP server 20-A that has received the response from the SIP server 20-B newly issues an HTTP session identifier, stores the correspondence between the HTTP session identifier and the SIP session identifier as HTTP session data, and then stores it in the HTTP client A. On the other hand, an HTTP session identifier is designated as the identifier of the HTTP session, and a session establishment response is transmitted (SS4).

このとき、セッション確立応答は、サーバに対するものではないので、上述したように、ウェブ系プロトコルロードバランサ30では、振り分け先管理テーブル81にHTTPセッション識別子と信号送信元(HTTPサーバ20−A)のIPアドレスとを登録し(SS5)、HTTPのクライアントAに送信する(SS6)。   At this time, since the session establishment response is not for the server, as described above, in the web protocol load balancer 30, the HTTP session identifier and the IP of the signal transmission source (HTTP server 20-A) are stored in the distribution destination management table 81. The address is registered (SS5) and transmitted to the client A of HTTP (SS6).

また、リクエストを受けたSIPサーバ20−Bは、新たにSIPセッション識別子(Call−ID)を発行し、まず、当該SIPセッション識別子を指定してセッション開始をクライアントBに通知する(SS7)。このとき、セッション開始通知は、サーバに対するものではないので、上述したように、テレコム系プロトコルロードバランサ40では、振り分け先管理テーブル81にSIPセッション識別子と信号送信元(SIPサーバ20−B)のIPアドレスとを登録し(SS8)、SIPのクライアントBに送信する(SS9)。クライアントBは、上記SIPセッション識別子を指定してセッション開始応答を返す(SS10)。   In addition, the SIP server 20-B that has received the request issues a new SIP session identifier (Call-ID), and first designates the SIP session identifier and notifies the client B of the start of the session (SS7). At this time, since the session start notification is not for the server, as described above, in the telecom protocol load balancer 40, the SIP session identifier and the IP of the signal transmission source (SIP server 20-B) are stored in the distribution destination management table 81. The address is registered (SS8) and transmitted to the SIP client B (SS9). Client B specifies the SIP session identifier and returns a session start response (SS10).

テレコム系プロトコルロードバランサ40では、クライアントBからのセッション開始応答を受信すると、サーバに対する信号であるので、振り分け先管理テーブル81からSIPセッション識別子に対応した振り分け先サーバのIPアドレス、この場合、SIPサーバ20−BのIPアドレスを取得し(SS11)、該IPアドレスに対してセッション開始応答を送信する(SS12)。   In the telecom protocol load balancer 40, when a session start response from the client B is received, it is a signal to the server, so the IP address of the distribution destination server corresponding to the SIP session identifier from the distribution destination management table 81, in this case, the SIP server The 20-B IP address is acquired (SS11), and a session start response is transmitted to the IP address (SS12).

同様に、SIPサーバ20−Bは、新たに生成したSIPセッション識別子を指定してセッション開始をクライアントCに通知する(SS13)。このとき、セッション開始通知は、サーバに対するものではないので、上述したように、テレコム系プロトコルロードバランサ40では、振り分け先管理テーブル81にSIPセッション識別子と信号送信元(SIPサーバ20−B)のIPアドレスとを登録し(SS14)、SIPのクライアントCに送信する(SS15)。クライアントCは、上記SIPセッション識別子を指定してセッション開始応答を返す(SS16)。   Similarly, the SIP server 20-B designates the newly generated SIP session identifier and notifies the client C of the start of the session (SS13). At this time, since the session start notification is not for the server, as described above, in the telecom protocol load balancer 40, the SIP session identifier and the IP of the signal transmission source (SIP server 20-B) are stored in the distribution destination management table 81. The address is registered (SS14) and transmitted to the SIP client C (SS15). The client C specifies the SIP session identifier and returns a session start response (SS16).

テレコム系プロトコルロードバランサ40では、クライアントCからのセッション開始応答を受信すると、サーバに対する信号であるので、振り分け先管理テーブル81からSIPセッション識別子に対応した振り分け先サーバのIPアドレス、この場合、SIPサーバ20−BのIPアドレスを取得し(SS17)、該IPアドレスに対してセッション開始応答を送信する(SS18)。   In the telecom protocol load balancer 40, when a session start response is received from the client C, it is a signal to the server, so the IP address of the distribution destination server corresponding to the SIP session identifier from the distribution destination management table 81, in this case, the SIP server The 20-B IP address is acquired (SS17), and a session start response is transmitted to the IP address (SS18).

なお、HTTPサーバ20−AにてSIPセッションが確立されたか否かを確認するためには、SIPセッション識別子を指定してSIPセッション状態の問い合わせを行うリクエストをHTTPサーバ20−Aに送信すると、SIPサーバ20−Bに対して状態を問い合わせ、SIPのクライアントCが応答する前であれば「接続待ち」、SIPのクライアントCが応答した後であれば「接続中」の状態を表す値が返ってくる。HTTPのクライアントAは、上記値を確認して接続されたか否かを判断するようになっている。   In order to confirm whether or not the SIP session is established in the HTTP server 20-A, when a request for inquiring the SIP session state by specifying the SIP session identifier is transmitted to the HTTP server 20-A, the SIP server The server 20-B is inquired about the status, and if the SIP client C is before responding, a value indicating "waiting for connection" is returned, and if the SIP client C is responding, a value indicating the status of "connecting" is returned. come. The client A of HTTP confirms the above value and determines whether or not it is connected.

セッション確立後、HTTPのクライアントAから、SIPセッションの終了や、SIPセッション状態情報の参照を行う場合、当該HTTPセッション識別子を指定して、HTTPサーバ20−Aに対してリクエストを送信する。例えば、SIPセッションの終了時では、HTTPセッション識別子を指定して、HTTPサーバ20−Aに対して終了要求を送信する(SS19)。   After the session is established, when the end of the SIP session or the SIP session state information is referred from the HTTP client A, the HTTP session identifier is specified and a request is transmitted to the HTTP server 20-A. For example, at the end of the SIP session, an HTTP session identifier is designated and an end request is transmitted to the HTTP server 20-A (SS19).

ウェブ系プロトコルロードバランサ30では、クライアントAからの終了要求を受信すると、サーバに対する信号であるので、振り分け先管理テーブル81からHTTPセッション識別子に対応した振り分け先サーバのIPアドレス、この場合、HTTPサーバ20−AのIPアドレスを取得し(SS20)、該IPアドレスに対して終了要求を送信する(SS21)。HTTPサーバ20−Aは、セッションデータからSIPセッション識別子を取り出し、SIPサーバ20−Bに対してセッション終了要求を行う(SS22)。   When receiving a termination request from the client A, the web-system protocol load balancer 30 sends a signal to the server, so the IP address of the distribution destination server corresponding to the HTTP session identifier from the distribution destination management table 81, in this case, the HTTP server 20 -Obtain the IP address of A (SS20), and send a termination request to the IP address (SS21). The HTTP server 20-A extracts the SIP session identifier from the session data, and makes a session end request to the SIP server 20-B (SS22).

SIPサーバ20−Bは、上記SIPセッション識別子を指定して、クライアントBに対してセッション終了通知を送信する(SS23)。このとき、セッション終了通知は、サーバに対するものではないので、上述したように、ウェブ系プロトコルロードバランサ30では、振り分け先管理テーブル81にSIPセッション識別子と信号送信元(SIPサーバ20−B)のIPアドレスとを登録し(SS24)、SIPのクライアントBに送信する(SS25)。クライアントBからは、上記SIPセッション識別子を指定してセッション終了応答を返す(SS26)。   The SIP server 20-B designates the SIP session identifier and transmits a session end notification to the client B (SS23). At this time, since the session end notification is not for the server, as described above, in the web-system protocol load balancer 30, the SIP session identifier and the IP of the signal transmission source (SIP server 20-B) are stored in the distribution destination management table 81. The address is registered (SS24) and transmitted to the SIP client B (SS25). From the client B, a session end response is returned by designating the SIP session identifier (SS26).

テレコム系プロトコルロードバランサ40では、クライアントBからのセッション終了応答を受信すると、サーバに対する信号であるので、振り分け先管理テーブル81からSIPセッション識別子に対応した振り分け先サーバのIPアドレス、この場合、SIPサーバ20−BのIPアドレスを取得し(SS27)、該IPアドレスに対してセッション終了応答を送信する(SS28)。   In the telecom protocol load balancer 40, when a session end response from the client B is received, it is a signal to the server, so the IP address of the distribution destination server corresponding to the SIP session identifier from the distribution destination management table 81, in this case, the SIP server The 20-B IP address is acquired (SS27), and a session end response is transmitted to the IP address (SS28).

同様に、SIPサーバ20−Bは、クライアントCにSIPセッション識別子として指定したセッション終了通知を送信する(SS29)。このとき、セッション終了通知は、サーバに対するものではないので、上述したように、テレコム系プロトコルロードバランサ40では、振り分け先管理テーブル81にSIPセッション識別子と信号送信元(SIPサーバ20−B)のIPアドレスとを登録し(SS30)、SIPのクライアントCに送信する(SS31)。クライアントCからは、上記SIPセッション識別子を指定してセッション終了応答を返す(SS32)。   Similarly, the SIP server 20-B transmits a session end notification designated as a SIP session identifier to the client C (SS29). At this time, since the session end notification is not to the server, as described above, in the telecom protocol load balancer 40, the SIP session identifier and the IP of the signal transmission source (SIP server 20-B) are stored in the distribution destination management table 81. The address is registered (SS30) and transmitted to the SIP client C (SS31). The client C returns a session end response by designating the SIP session identifier (SS32).

テレコム系プロトコルロードバランサ40では、クライアントCからのセッション終了応答を受信すると、サーバに対する信号であるので、振り分け先管理テーブル81からSIPセッション識別子に対応した振り分け先サーバのIPアドレス、この場合、SIPサーバ20−BのIPアドレスを取得し(SS33)、該IPアドレスに対してセッション終了応答を送信する(SS34)。SIPサーバ20−Bは、上記セッション終了応答をHTTPサーバ20−Aに送信し(SS35)、HTTPサーバ20−Aは、HTTPのクライアントAに上記セッション終了応答を送信する(SS36)。   In the telecom protocol load balancer 40, when a session end response is received from the client C, it is a signal to the server, so the IP address of the distribution destination server corresponding to the SIP session identifier from the distribution destination management table 81, in this case, the SIP server The 20-B IP address is acquired (SS33), and a session end response is transmitted to the IP address (SS34). The SIP server 20-B transmits the session end response to the HTTP server 20-A (SS35), and the HTTP server 20-A transmits the session end response to the HTTP client A (SS36).

なお、第1実施形態の構成にて、図8に示すシーケンスの動作を実現するためには、HTTPサーバ20−A、SIPサーバ20−Bにて、セッション識別子を発行する際に、IPアドレス等のサーバ識別子を含めたものを発行するよう構成することになる。また、第2実施形態の構成では、HTTPサーバ20−AとSIPサーバ20−Bにおいて、上述したサービスデータ一元管理部61を備えるよう構成することになる。   In order to realize the operation of the sequence shown in FIG. 8 with the configuration of the first embodiment, when issuing the session identifier in the HTTP server 20-A and the SIP server 20-B, the IP address, etc. The server ID including the server identifier is issued. In the configuration of the second embodiment, the HTTP server 20-A and the SIP server 20-B are configured to include the service data centralized management unit 61 described above.

上述した第1ないし第3実施形態によれば、サービス連携サーバにおいて、高いスケーラビリティを実現することが可能となり、急激な需要増に柔軟に対応できるシステムを構築することが可能となる。   According to the first to third embodiments described above, high scalability can be realized in the service cooperation server, and a system that can flexibly cope with a rapid increase in demand can be constructed.

本発明の第1実施形態による負荷分散方式を適用した、HTTPプロトコルとSIPプロトコルとによるサービスが連携するサービス連携サーバの構成を示すブロック図である。It is a block diagram which shows the structure of the service cooperation server to which the service by the HTTP protocol and SIP protocol which apply the load distribution system by 1st Embodiment of this invention cooperates. サーバ20−1〜20−4と、ウェブ系プロトコルロードバランサ30、テレコム系プロトコルロードバランサ40との機能構成を示すブロック図である。It is a block diagram which shows the function structure of the servers 20-1 to 20-4, the web type | system | group protocol load balancer 30, and the telecom type | system | group protocol load balancer 40. FIG. 本第1実施形態の動作を説明するためのフローチャートである。It is a flowchart for demonstrating the operation | movement of this 1st Embodiment. セッション識別子へのIPアドレスの埋め込み例を示す概念図である。It is a conceptual diagram which shows the example of embedding IP address to a session identifier. 本第2実施形態によるサーバ20−1〜20−4の構成を示すブロック図である。It is a block diagram which shows the structure of the servers 20-1 to 20-4 by this 2nd Embodiment. 本第3実施形態による負荷分散方式を適用したウェブ系プロトコルロードバランサ30、テレコム系プロトコルロードバランサ40の構成を示すブロック図である。It is a block diagram which shows the structure of the web type | system | group protocol load balancer 30 and the telecom type | system | group protocol load balancer 40 to which the load distribution system by this 3rd Embodiment is applied. 本第3実施形態による振り分け先管理テーブル81のデータ構成を示す概念図である。It is a conceptual diagram which shows the data structure of the distribution destination management table 81 by this 3rd Embodiment. 本第3実施形態の動作を説明するためのフローチャートである。It is a flowchart for demonstrating the operation | movement of this 3rd Embodiment. 本第3実施形態の動作例を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the operation example of this 3rd Embodiment.

符号の説明Explanation of symbols

10 ウェブ−テレコムサービス連携サーバ
20−1〜20−4 サーバ
30 ウェブ系プロトコルロードバランサ
40 テレコム系プロトコルロードバランサ
45 インターネット
46 テレコムネットワーク
50 クライアント
60 サービスデータ管理部
61 サービスデータ一元管理部(サービスデータ管理手段)
70 セッション管理部(セッション識別子生成手段)
80 振り分け先判定部(抽出手段、サーバ特定手段、判別手段、登録手段)
81 振り分け先管理テーブル(振り分け先管理記憶手段)
A HTTPのクライアント
B、C SIPのクライアント
20−A HTTPサーバ
20−B SIPサーバ

DESCRIPTION OF SYMBOLS 10 Web-telecom service cooperation server 20-1-20-4 server 30 Web system protocol load balancer 40 Telecom system protocol load balancer 45 Internet 46 Telecom network 50 Client 60 Service data management part 61 Service data central management part (Service data management means )
70 Session management unit (session identifier generating means)
80 Distribution destination determination unit (extraction means, server identification means, determination means, registration means)
81 Distribution destination management table (distribution destination management storage means)
A HTTP client B, C SIP client 20-A HTTP server 20-B SIP server

Claims (7)

複数のサーバによって提供されるサービスに対する、複数のプロトコルによるリクエストを振り分けるサービス連携サーバであって、
前記複数のプロトコルによるリクエストの初回発生時に、該リクエストのセッション識別子と、該リクエストに対応するサービスを提供するサーバのサーバ識別子とから、新たなセッション識別子を生成するセッション識別子生成手段と、
前記リクエストの初回発生時以降に発生した前記複数のプロトコルによるリクエストが前記複数のサーバのいずれかに対するリクエストであるか否かを判別する判別手段と、
前記判別手段により、前記リクエストが前記複数のサーバのいずれかに対するリクエストであると判別された場合、前記複数のプロトコルによるリクエストに含まれるセッション識別子からサーバ識別子を抽出する抽出手段と、
前記抽出手段によって抽出されたサーバ識別子に基づいて、前記リクエストに対応するサービスを提供するサーバを特定するサーバ特定手段と
を具備することを特徴とするサービス連携サーバ。
A service linkage server that distributes requests based on multiple protocols for services provided by multiple servers,
Session identifier generating means for generating a new session identifier from a session identifier of the request and a server identifier of a server providing a service corresponding to the request at the first occurrence of a request according to the plurality of protocols;
Determining means for determining whether a request according to the plurality of protocols generated after the first occurrence of the request is a request for any of the plurality of servers;
An extracting unit that extracts a server identifier from a session identifier included in a request according to the plurality of protocols when the determination unit determines that the request is a request to any of the plurality of servers;
And a server identification unit that identifies a server that provides a service corresponding to the request based on the server identifier extracted by the extraction unit.
複数のサーバによって提供されるサービスに対する、複数のプロトコルによるリクエストを振り分けるサービス連携サーバであって、
前記複数のサーバによって提供される全てのサービスにアクセス可能なように、前記複数のサーバによって提供されるサービスデータを一元的に管理するサービスデータ管理手段を具備することを特徴とするサービス連携サーバ。
A service linkage server that distributes requests based on multiple protocols for services provided by multiple servers,
A service cooperation server comprising service data management means for centrally managing service data provided by the plurality of servers so that all services provided by the plurality of servers can be accessed.
複数のサーバによって提供されるサービスに対する、複数のプロトコルによるリクエストを振り分けるサービス連携サーバであって、
前記リクエストに含まれるセッション識別子と前記複数のサーバのサーバ識別子とを対応付けて記憶する振り分け先管理記憶手段と、
前記複数のプロトコルによるリクエストに含まれるセッション識別子に基づいて、前記振り分け先管理記憶手段から対応するサーバ識別子を取得するサーバ識別子取得手段と、
前記サーバ識別子取得手段によって取得されたサーバ識別子に基づいて、前記リクエストに対応するサービスを提供するサーバを特定するサーバ特定手段と
を具備することを特徴とするサービス連携サーバ。
A service linkage server that distributes requests based on multiple protocols for services provided by multiple servers,
A distribution destination management storage means for storing a session identifier included in the request and server identifiers of the plurality of servers in association with each other;
Server identifier acquisition means for acquiring a corresponding server identifier from the distribution destination management storage means based on a session identifier included in the requests by the plurality of protocols;
And a server identification unit that identifies a server that provides a service corresponding to the request based on the server identifier acquired by the server identifier acquisition unit.
前記複数のプロトコルによるリクエストが前記複数のサーバのいずれかに対するリクエストであるか否かを判別する判別手段と、
前記判別手段により、前記リクエストが前記複数のサーバのいずれかに対するリクエストでないと判別された場合、前記リクエストに含まれるセッション識別子と、リクエスト送信元のサーバ識別子とを対応付けて前記振り分け先管理記憶手段に登録する登録手段と
を具備することを特徴とする請求項3記載のサービス連携サーバ。
Determining means for determining whether a request according to the plurality of protocols is a request to any of the plurality of servers;
When the determination unit determines that the request is not a request to any of the plurality of servers, the distribution destination management storage unit associates the session identifier included in the request with the server identifier of the request transmission source. The service cooperation server according to claim 3, further comprising registration means for registering with the service cooperation server.
複数のサーバによって提供されるサービスに対する、複数のプロトコルによるリクエストを振り分ける負荷分散方法であって、
前記複数のプロトコルによるリクエストの初回発生時に、該リクエストのセッション識別子と、該リクエストに対応するサービスを提供するサーバのサーバ識別子とから、新たなセッション識別子を生成し、
前記リクエストの初回発生時以降に発生した前記複数のプロトコルによるリクエストが前記複数のサーバのいずれかに対するリクエストであるか否かを判別し、
前記複数のサーバのいずれかに対するリクエストであると判別された場合、前記複数のプロトコルによるリクエストに含まれるセッション識別子からサーバ識別子を抽出し、抽出したサーバ識別子に基づいて、前記リクエストに対応するサービスを提供するサーバを特定することを特徴とする負荷分散方法。
A load distribution method for distributing requests by a plurality of protocols for services provided by a plurality of servers,
Generating a new session identifier from a session identifier of the request and a server identifier of a server providing a service corresponding to the request at the first occurrence of the request by the plurality of protocols;
Determining whether a request according to the plurality of protocols generated after the first occurrence of the request is a request to any of the plurality of servers;
When it is determined that the request is for one of the plurality of servers, a server identifier is extracted from a session identifier included in the request by the plurality of protocols, and a service corresponding to the request is determined based on the extracted server identifier. A load distribution method characterized by specifying a server to be provided.
複数のサーバによって提供されるサービスに対する、複数のプロトコルによるリクエストを振り分ける負荷分散方法であって、
前記複数のサーバによって提供される全てのサービスにアクセス可能なように、前記複数のサーバによって提供されるサービスデータを一元的に管理することを特徴とする負荷分散方法。
A load distribution method for distributing requests by a plurality of protocols for services provided by a plurality of servers,
A load distribution method characterized in that service data provided by the plurality of servers is centrally managed so that all services provided by the plurality of servers can be accessed.
複数のサーバによって提供されるサービスに対する、複数のプロトコルによるリクエストを振り分ける負荷分散方法であって、
前記リクエストに含まれるセッション識別子と前記複数のサーバのサーバ識別子とを対応付けて記憶しておき、前記複数のプロトコルによるリクエストに含まれるセッション識別子に対応するサーバ識別子を取得し、取得したサーバ識別子に基づいて、前記リクエストに対応するサービスを提供するサーバを特定することを特徴とする負荷分散方法。

A load distribution method for distributing requests by a plurality of protocols for services provided by a plurality of servers,
The session identifier included in the request and the server identifiers of the plurality of servers are stored in association with each other, the server identifier corresponding to the session identifier included in the request according to the plurality of protocols is acquired, and the acquired server identifier is A load distribution method comprising: identifying a server that provides a service corresponding to the request based on the request.

JP2006232299A 2006-08-29 2006-08-29 Service linkage server and load balancing method Pending JP2008059060A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006232299A JP2008059060A (en) 2006-08-29 2006-08-29 Service linkage server and load balancing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006232299A JP2008059060A (en) 2006-08-29 2006-08-29 Service linkage server and load balancing method

Publications (1)

Publication Number Publication Date
JP2008059060A true JP2008059060A (en) 2008-03-13

Family

ID=39241758

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006232299A Pending JP2008059060A (en) 2006-08-29 2006-08-29 Service linkage server and load balancing method

Country Status (1)

Country Link
JP (1) JP2008059060A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010003273A (en) * 2008-06-23 2010-01-07 Nippon Telegr & Teleph Corp <Ntt> Sip message distribution method and sip message distribution device
JP2010108479A (en) * 2008-10-03 2010-05-13 Fujitsu Ltd Uniqueness assurance information setting management program, application program, load balancing program, uniqueness assurance realization method, session management method, uniqueness assurance information setting management device, and load balancing device
JP2013025497A (en) * 2011-07-19 2013-02-04 Nippon Telegr & Teleph Corp <Ntt> Distributed processing system, distributed processing method, load distribution device, load distribution method, and load distribution program
US8386575B2 (en) 2009-03-19 2013-02-26 Fujitsu Limited Method of realizing uniqueness assurance and method of determining message destination

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1155645A (en) * 1997-08-07 1999-02-26 Mitsubishi Electric Corp Multimedia distribution operation management system
JP2002189646A (en) * 2000-12-22 2002-07-05 Matsushita Electric Ind Co Ltd Relay device
JP2004192067A (en) * 2002-12-06 2004-07-08 Nippon Telegr & Teleph Corp <Ntt> Signal distribution method, service providing system, service control device thereof, and database server
JP2004523020A (en) * 2000-08-04 2004-07-29 アバイア テクノロジー コーポレーション Intelligent demand-based recognition of URL objects in connection-oriented transactions
JP2004247916A (en) * 2003-02-13 2004-09-02 Nippon Telegr & Teleph Corp <Ntt> Web service cooperative SIP service control system and control method
JP2006018795A (en) * 2004-05-31 2006-01-19 Nec Corp Web sharing system, web sharing method, web sharing program, relay server, and www browser display device
JP2006127470A (en) * 2004-09-30 2006-05-18 Oki Electric Ind Co Ltd Shared information management program, method and apparatus, recording medium, and communication apparatus between components

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1155645A (en) * 1997-08-07 1999-02-26 Mitsubishi Electric Corp Multimedia distribution operation management system
JP2004523020A (en) * 2000-08-04 2004-07-29 アバイア テクノロジー コーポレーション Intelligent demand-based recognition of URL objects in connection-oriented transactions
JP2002189646A (en) * 2000-12-22 2002-07-05 Matsushita Electric Ind Co Ltd Relay device
JP2004192067A (en) * 2002-12-06 2004-07-08 Nippon Telegr & Teleph Corp <Ntt> Signal distribution method, service providing system, service control device thereof, and database server
JP2004247916A (en) * 2003-02-13 2004-09-02 Nippon Telegr & Teleph Corp <Ntt> Web service cooperative SIP service control system and control method
JP2006018795A (en) * 2004-05-31 2006-01-19 Nec Corp Web sharing system, web sharing method, web sharing program, relay server, and www browser display device
JP2006127470A (en) * 2004-09-30 2006-05-18 Oki Electric Ind Co Ltd Shared information management program, method and apparatus, recording medium, and communication apparatus between components

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010003273A (en) * 2008-06-23 2010-01-07 Nippon Telegr & Teleph Corp <Ntt> Sip message distribution method and sip message distribution device
JP2010108479A (en) * 2008-10-03 2010-05-13 Fujitsu Ltd Uniqueness assurance information setting management program, application program, load balancing program, uniqueness assurance realization method, session management method, uniqueness assurance information setting management device, and load balancing device
US8386575B2 (en) 2009-03-19 2013-02-26 Fujitsu Limited Method of realizing uniqueness assurance and method of determining message destination
JP2013025497A (en) * 2011-07-19 2013-02-04 Nippon Telegr & Teleph Corp <Ntt> Distributed processing system, distributed processing method, load distribution device, load distribution method, and load distribution program

Similar Documents

Publication Publication Date Title
JP3966598B2 (en) Server selection system
KR100889977B1 (en) Media session framework using protocol independent control module for application and service server management
US20060036747A1 (en) System and method for resource handling of SIP messaging
JP5444995B2 (en) Session sharing system, method and program, and user terminal
JP5104591B2 (en) Bus system
WO2007108000A2 (en) Method and system for distributing processing of computerized tasks
CN110351246A (en) Server cluster system Socket management method and device
CN103812838A (en) Service calling method and device and system
TW200929941A (en) Apparatus and method for transmitting streaming services
US8577984B2 (en) State management in a distributed computing system
US7716337B2 (en) Intermediate device which can be introduced and removed in seamless way
CA2397114A1 (en) Communications network
JP2008059060A (en) Service linkage server and load balancing method
US8402124B1 (en) Method and system for automatic load balancing of advertised services by service information propagation based on user on-demand requests
US7260644B1 (en) Apparatus and method for re-directing a client session
JP2005202573A (en) Computer system, server computer, application updating method for computer system, and program
JP2001345850A (en) Method and system for centralized management of call control data for call agent
US20040199643A1 (en) Distributed service component systems
US20040226022A1 (en) Method and apparatus for providing a client-side local proxy object for a distributed object-oriented system
JP2011055236A (en) Communication system, mapping information notification device, mapping information notification method and program
CN100499642C (en) Method of inquiring routing to position server
JP2000200245A (en) Information use system and information use method
JP2007219637A (en) Load balancing system and program thereof
CN115460291B (en) Inter-group scheduling method based on center configuration, center server and system
JP4123440B2 (en) Object-oriented network distributed computing system, load balancing apparatus and server thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080801

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101028

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101109

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110405