JP2007156775A - Session information management method, system and program - Google Patents

Session information management method, system and program Download PDF

Info

Publication number
JP2007156775A
JP2007156775A JP2005350262A JP2005350262A JP2007156775A JP 2007156775 A JP2007156775 A JP 2007156775A JP 2005350262 A JP2005350262 A JP 2005350262A JP 2005350262 A JP2005350262 A JP 2005350262A JP 2007156775 A JP2007156775 A JP 2007156775A
Authority
JP
Japan
Prior art keywords
session information
computer
importance
request
http session
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2005350262A
Other languages
Japanese (ja)
Other versions
JP4606317B2 (en
Inventor
Tomoya Uchida
内田  智也
Ryuta Wakabayashi
竜太 若林
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2005350262A priority Critical patent/JP4606317B2/en
Publication of JP2007156775A publication Critical patent/JP2007156775A/en
Application granted granted Critical
Publication of JP4606317B2 publication Critical patent/JP4606317B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide technology allowing reduction of consumption of a resource by duplication of session information, while maintaining reliability of continuation of a session. <P>SOLUTION: This session information management method storing the session information in a plurality of computers and managing has a step for reading the definition of an importance level showing the importance level of the session information from a storage device, when request is received from the computer on a client side, acquiring an attribute of the importance level, corresponding to the session information of the received request from the definition of the importance level, adding the acquired attribute of the importance level to the session information of the received request, and storing it into the storage device; a step for reading the definition of a transfer destination, showing the computer that is the transfer destination of the session information from the storage device, acquiring information showing the computer of the transfer destination from the definition of the transfer destination, and transferring the session information of the importance level, corresponding to the computer to the acquired computer of the transfer destination by a communication device; and a step for storing and registering the transferred session information into the storage device of the computer of the transfer destination. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明はユーザID等のセション情報を複数の計算機へ格納して管理するセション情報管理技術に関するものである。   The present invention relates to session information management technology for storing and managing session information such as user IDs in a plurality of computers.

従来、クライアントマシンからの要求を処理するアプリケーションサーバはクラスタ構成で複数設置され、クライアントマシンからの要求が負荷分散機等によって任意のアプリケーションサーバに振り分けられる様になっている。   Conventionally, a plurality of application servers that process requests from client machines are installed in a cluster configuration, and requests from client machines are distributed to arbitrary application servers by a load balancer or the like.

また、クライアントマシンからの要求を処理しているアプリケーションサーバで障害が発生した場合には、他のアプリケーションサーバがそのセション情報を引き継いで処理を継続する必要がある。そして、そのセション情報を引き継ぐ方式としては、セション情報を保持する為のセション情報管理サーバにセション情報の複製を作成する方式がある。   Further, when a failure occurs in an application server that is processing a request from a client machine, it is necessary for another application server to take over the session information and continue processing. As a method for taking over the session information, there is a method for creating a copy of the session information in the session information management server for holding the session information.

この方式では、セション情報の一元管理による整合性の保証、システム構築の容易性、及び期限切れのセション情報の自動削除等が実現できるが、セション情報管理サーバがダウン(故障等による作動停止)した場合は、セション情報管理サーバで保持しているセション情報が失われてしまい、セションが継続できなくなる。   This method can guarantee consistency by centralized management of session information, easy system construction, automatic deletion of expired session information, etc., but the session information management server is down (stopped due to failure etc.) The session information held in the session information management server is lost, and the session cannot be continued.

セションの継続の信頼性を重視したシステムの場合、他の方式として、セション情報の複製を、クラスタを構成する全てのアプリケーションサーバ内のメモリ上に作成する方式がある。
なお、本方式の公知例を記載した文献は見当たらない。最も近い公知例は特許文献1を参照。
In the case of a system that places importance on the reliability of continuation of a session, as another method, there is a method in which a copy of session information is created on the memory in all application servers constituting the cluster.
There are no documents describing known examples of this method. See Patent Document 1 for the closest known example.

特開2004−78552号公報JP 2004-78552 A

しかしながら、セション情報の複製を、クラスタを構成する全てのアプリケーションサーバ内のメモリ上に作成する方式では、セション情報の複製におけるメモリ使用量、通信量、及び処理時間等のリソースの消費が大きくなるという問題があった。   However, the method of creating a copy of session information on the memory in all application servers that make up the cluster increases the consumption of resources such as memory usage, communication amount, and processing time in copying session information. There was a problem.

本発明の目的は上記問題を解決し、セションの継続の信頼性を保ちつつ、セション情報の複製によるリソースの消費を軽減することが可能な技術を提供することにある。   An object of the present invention is to provide a technique capable of solving the above-described problems and reducing resource consumption due to duplication of session information while maintaining reliability of continuation of the session.

本発明は、複数の計算機にセション情報を格納して管理するセション情報管理システムにおいて、セション情報をその重要度に応じて転送先の計算機へ転送して登録するものである。   According to the present invention, in a session information management system that stores and manages session information in a plurality of computers, the session information is transferred to a transfer destination computer and registered in accordance with its importance.

本発明のセション情報管理システムでは、クライアント側の計算機からリクエストを受信すると、セション情報の重要度を示す重要度の定義を参照し、前記受信したリクエストのセション情報の重要度をその重要度の定義から読み出して、前記受信したリクエストのセション情報に前記読み出した重要度の属性を付加して記憶装置に格納する。   In the session information management system of the present invention, when a request is received from a computer on the client side, the definition of importance indicating the importance of session information is referred to, and the importance of session information of the received request is defined as the definition of importance. The attribute of the read importance is added to the session information of the received request and stored in the storage device.

例えば、その情報が消去されると、クライアントで再度ログイン操作が必要となる様なログイン情報等の様なセション情報については、重要度として高の属性を付加し、また、その情報が消去されても、クライアントには影響を与えることはなく、アプリケーションサーバ内で再検索を行うことで再生成可能なデータベースの検索結果等の様なセション情報については、重要度として低の属性を付加する。   For example, if the information is deleted, the session information such as login information that requires the login operation again at the client is added with a high attribute as the importance, and the information is deleted. However, it does not affect the client, and a low attribute is added to session information such as a database search result that can be regenerated by performing a re-search in the application server.

そして、前記リクエストの処理をアプリケーションプログラムにより行って前記セション情報の値の更新を行った後、転送先の計算機の名称と転送するセション情報の重要度とを示す転送先の定義を参照し、前記セション情報に付加した重要度に対応する計算機の名称を前記転送先の定義から読み出して、その転送先の計算機へ当該セション情報を転送する。転送先の計算機では、前記転送されたセション情報を受信した後、その受信したセション情報を転送先の計算機の記憶装置に登録する。   Then, after processing the request by the application program and updating the value of the session information, refer to the transfer destination definition indicating the name of the transfer destination computer and the importance of the session information to be transferred, The name of the computer corresponding to the importance added to the session information is read from the definition of the transfer destination, and the session information is transferred to the transfer destination computer. After receiving the transferred session information, the transfer destination computer registers the received session information in the storage device of the transfer destination computer.

例えば、障害が発生した場合にリクエストの次の配信先となる計算機に対しては、重要度が高及び低のセション情報を転送して登録し、それ以外の計算機に対しては重要度が低のセション情報を転送して登録する。   For example, if a failure occurs, the computer that is the next delivery destination of the request is transferred and registered with high and low importance session information, and the importance is low for other computers. Transfer and register the session information.

その後、クライアントからのリクエストを処理している計算機で障害が発生した場合には、その障害の発生した計算機から、リクエストの次の配信先となる計算機への切り替えを行い、その切り替えられた計算機では、クライアント側からのリクエストを処理する際に、そのリクエストのセション情報に付加されている重要度の属性を読み出して、当該セションに対してどの重要度のセション情報が登録されているかを調べ、重要度の高いセション情報と重要度の低いセション情報が登録されている場合には、それらの重要度の高いセション情報と重要度の低いセション情報を使用してセションを継続する。   After that, if a failure occurs in the computer that is processing the request from the client, the computer that failed is switched to the computer that will be the next delivery destination of the request. When processing a request from the client side, read the attribute of importance added to the session information of the request, check which importance session information is registered for the session, If session information with a high degree of importance and session information with a low degree of importance are registered, the session information is continued using the session information with a high degree of importance and the session information with a low degree of importance.

また、リクエストの次の配信先となる計算機でも障害が発生している場合には、その次に配信先となる計算機への切り替えを行い、その切り替えられた計算機では、クライアント側からのリクエストを処理する際に、そのリクエストのセション情報に付加されている重要度の属性を読み出して、当該セションに対してどの重要度のセション情報が登録されているかを調べ、重要度の高いセション情報のみが登録されている場合には、その重要度の高いセション情報を使用すると共に、重要度の低いセション情報についてはその計算機で生成してセションを継続する。   In addition, if a failure occurs in the computer that is the next delivery destination of the request, the next computer is switched to the delivery destination, and the request from the client side is processed in the changed computer. When reading, the importance level attribute added to the session information of the request is read, and the level of importance level session information is registered for that session, and only the high level importance session information is registered. If it is, the session information with the higher importance is used, and the session information with the lower importance is generated by the computer and the session is continued.

本発明によれば、セションの継続の信頼性を保ちつつ、セション情報の複製によるリソースの消費を軽減することが可能である。   According to the present invention, it is possible to reduce resource consumption due to duplication of session information while maintaining reliability of continuation of a session.

以下に複数の計算機にセション情報を格納して管理する一実施形態のセション情報管理システムについて、図面を参照しながら、全体構成、データ構成、処理手順の順番で説明する。   Hereinafter, a session information management system according to an embodiment that stores and manages session information in a plurality of computers will be described in the order of the overall configuration, data configuration, and processing procedure with reference to the drawings.

<<全体構成>>
図1は本実施形態のセション情報管理システムの全体構成を示す図である。図1に示す様に本実施形態のセション情報管理システム100は、クライアントマシン110〜112、ネットワーク120、負荷分散機130及び計算機1〜nにより構成される。
<< Overall structure >>
FIG. 1 is a diagram showing the overall configuration of the session information management system of this embodiment. As shown in FIG. 1, the session information management system 100 according to this embodiment includes client machines 110 to 112, a network 120, a load balancer 130, and computers 1 to n.

クライアントマシン110〜112は、クライアント(ユーザ)が使用するマシンであり、例えば、PC(Personal Computer)である。
ネットワーク120は、広域通信網であり、例えば、インターネットである。クライアントマシン110〜112は、ネットワーク120を介して、負荷分散機130に接続される。
負荷分散機130は、クライアントマシン110〜112からのアクセスを、通信回線140経由で計算機1〜nに振り分けるものであり、いわゆるロードバランサである。
The client machines 110 to 112 are machines used by clients (users), for example, PCs (Personal Computers).
The network 120 is a wide area communication network, for example, the Internet. The client machines 110 to 112 are connected to the load balancer 130 via the network 120.
The load balancer 130 distributes accesses from the client machines 110 to 112 to the computers 1 to n via the communication line 140, and is a so-called load balancer.

<計算機1〜n(アプリケーションサーバ計算機)>
計算機1〜nは、クラスタ構成となっており、負荷分散機130からの振り分けによってクライアントマシン110〜112からのアクセスを受け付け、処理を行う計算機である。そして、計算機1〜nは、ハードウェア、ソフトウェア共に同様の構成となっているので、以下、代表して計算機1を例にとって説明する。
<Computer 1 to n (application server computer)>
The computers 1 to n have a cluster configuration, and are computers that receive and process access from the client machines 110 to 112 by distribution from the load balancer 130. Since the computers 1 to n have the same configuration for both hardware and software, the computer 1 will be described as an example.

計算機1は、CPU(Central Processing Unit)151と記憶装置152とを含めて構成される。
CPU151は、中央処理装置であり、負荷分散機130から受信したデータや記憶装置152内のプログラム等に基いて、各種演算処理を行う。
記憶装置152は、メモリやRAM(Random Access Memory)、ROM(Read Only Memory)、ハードディスク等から構成され、各種情報を記憶する。記憶装置152には、プログラムであるアプリケーションサーバ153が記憶されている。
The computer 1 includes a CPU (Central Processing Unit) 151 and a storage device 152.
The CPU 151 is a central processing unit, and performs various arithmetic processes based on data received from the load balancer 130, a program in the storage device 152, and the like.
The storage device 152 includes a memory, a RAM (Random Access Memory), a ROM (Read Only Memory), a hard disk, and the like, and stores various types of information. The storage device 152 stores an application server 153 that is a program.

アプリケーションサーバ153は、アプリケーションプログラム155、HTTPセション情報管理部154及びHTTPセション情報159を保持しているHTTPセションID158から構成される。
アプリケーションプログラム155は、クライアントマシン110〜112からのリクエストに対して処理を行うプログラムである。
The application server 153 includes an application program 155, an HTTP session information management unit 154, and an HTTP session ID 158 that holds HTTP session information 159.
The application program 155 is a program that processes requests from the client machines 110 to 112.

HTTPセション情報管理部154は、HTTP(Hyper Text Transfer Protocol)のセション情報を管理するプログラムであり、クライアントからのリクエストの受信とレスポンスの返信、HTTPセションIDの作成、HTTPセションIDに対するHTTPセション情報の取得、HTTPセションIDとセション情報の削除、アプリケーションプログラムへのリクエストに対する処理要求とアプリケーションプログラムからのレスポンスの返信要求の受信、他のアプリケーションサーバへのHTTPセション情報の更新要求とHTTPセション情報の転送、他のアプリケーションサーバへのHTTPセションIDとそのHTTPセション情報の削除要求、及び他のアプリケーションサーバからの更新要求と削除要求の受信を行う。   The HTTP session information management unit 154 is a program for managing session information of HTTP (Hyper Text Transfer Protocol), and receives a request from a client and returns a response, creates an HTTP session ID, and creates HTTP session information for the HTTP session ID. Acquisition, deletion of an HTTP session ID and session information, processing request for a request to an application program and reception of a response return request from the application program, transfer of an HTTP session information update request and HTTP session information to another application server, A request for deleting an HTTP session ID and HTTP session information to another application server, and an update request and a deletion request from another application server are received.

HTTPセション情報管理部154は、HTTPセションIDの作成を行う場合に、HTTPセション情報に対する重要度を付加する為に、重要度の属性を定義した「重要度の定義」156を持つ。この「重要度の定義」156は、クラスタを構成する全てのアプリケーションサーバで同じ内容を定義する。
また、他のアプリケーションサーバへのHTTPセション情報の更新要求とHTTPセション情報の転送、他のアプリケーションサーバへのHTTPセションIDとそのHTTPセション情報の削除要求を行う場合に、要求の送信先となるアプリケーションサーバを定義した「転送先の定義」157を持つ。この「転送先の定義」157は、クラスタを構成する各アプリケーションサーバ毎に転送先を定義する。
The HTTP session information management unit 154 has an “importance definition” 156 that defines an attribute of importance in order to add importance to the HTTP session information when creating an HTTP session ID. This “importance level definition” 156 defines the same contents in all the application servers constituting the cluster.
In addition, when an HTTP session information update request and HTTP session information is transferred to another application server, and an HTTP session ID and HTTP session information deletion request is sent to another application server, the application that is the transmission destination of the request It has a “transfer destination definition” 157 that defines a server. This “definition of transfer destination” 157 defines a transfer destination for each application server constituting the cluster.

本実施形態において、前記HTTPセション情報管理部として各計算機を機能させる為のプログラムは、CD−ROM等の記録媒体に記録され磁気ディスク等に格納された後、メモリにロードされて実行されるものとする。なお前記プログラムを記録する記録媒体はCD−ROM以外の他の記録媒体でも良い。また前記プログラムを当該記録媒体から情報処理装置にインストールして使用しても良いし、ネットワークを通じて当該記録媒体にアクセスして前記プログラムを使用するものとしても良い。   In this embodiment, a program for causing each computer to function as the HTTP session information management unit is recorded on a recording medium such as a CD-ROM and stored in a magnetic disk or the like, and then loaded into a memory and executed. And The recording medium for recording the program may be a recording medium other than the CD-ROM. The program may be used by installing it from the recording medium into the information processing apparatus, or the program may be used by accessing the recording medium through a network.

また前記計算機は、前記HTTPセション情報管理部として当該コンピュータを機能させる為のプログラムや、アプリケーションプログラム、アプリケーションサーバ等の処理を実行するCPU、前記プログラムをロードしたり実行時のデータを一時的に格納するメモリ、それらのプログラムや前記セション情報を格納する磁気ディスク装置の他、操作指示やデータ等の入力を受け付ける入力装置、各種情報の出力等を行う出力装置、他のコンピュータとの通信を行う通信装置等のハードウェア資源を備えているものとする。   In addition, the computer stores a program for causing the computer to function as the HTTP session information management unit, a CPU that executes processing of an application program, an application server, and the like, and loads the program or temporarily stores data at the time of execution. In addition to a magnetic disk device that stores such programs and the session information, an input device that receives input of operation instructions and data, an output device that outputs various information, and communication that communicates with other computers Assume that hardware resources such as devices are provided.

セション情報管理システム100は、アプリケーションサーバで障害が発生した場合、負荷分散機130によりリクエストの配信先が変更されて、リクエストを処理するアプリケーションサーバの切り替えが行われた場合でも、セションを継続できる様にする為に、HTTPセションID及びHTTPセション情報の複製を、クラスタを構成する全てのアプリケーションサーバ上に作成する(S101)。   When a failure occurs in the application server, the session information management system 100 can continue the session even when the request distribution destination is changed by the load balancer 130 and the application server that processes the request is switched. Therefore, a copy of the HTTP session ID and HTTP session information is created on all application servers that constitute the cluster (S101).

<<データ構成>>
<HTTPセション情報の重要度の定義のデータ構成>
続いて、図1のHTTPセション情報管理部での、HTTPセションID作成に使用する、HTTPセション情報の重要度の定義のデータ構成について、図2を参照しながら説明する。
<< Data structure >>
<Data structure of definition of importance level of HTTP session information>
Next, the data structure of the definition of the importance level of the HTTP session information used for creating the HTTP session ID in the HTTP session information management unit in FIG. 1 will be described with reference to FIG.

図2は本実施形態のHTTPセション情報の重要度の定義156のデータ構成を示す図である。キー201は、セション情報を構成するそれぞれの情報の種類を示したものである。重要度202は、キー201として表わされる各情報のそれぞれの重要度の属性を表わしている。重要度の属性は、高と低の2種類である。   FIG. 2 is a diagram showing a data configuration of the importance level definition 156 of the HTTP session information according to this embodiment. The key 201 indicates the type of information constituting the session information. The importance level 202 represents an attribute of the importance level of each piece of information represented as the key 201. There are two types of importance attributes, high and low.

重要度が高の属性は、セションを継続する上で重要度が高い情報を表す。例えば、ログイン情報等の様なもので、その情報が消去されると、クライアントで再度ログイン操作が必要となる様な情報、すなわち、その情報が消去されるとクライアントからのデータが再度必要となるセション情報である。   The attribute with high importance represents information with high importance in continuing the session. For example, when the information is deleted, such as login information, the information that requires the login operation again at the client, that is, when the information is deleted, the data from the client is required again. Session information.

また、重要度が低の属性は、セションを継続する上で重要度が低い情報を表す。例えば、ログイン情報を用いたデータベースの検索結果等の様なもので、その情報が消去されても、ログイン情報があればクライアントには影響を与えることはなく、アプリケーションサーバ内で再検索を行うことで再生成可能な情報、すなわち、その情報が消去されてもクライアントからのデータが再度必要とならないセション情報である。   An attribute with a low importance represents information with a low importance in continuing the session. For example, database search results using login information, etc. Even if the information is deleted, if there is login information, the client is not affected and the search is performed again within the application server. Information that can be regenerated by the client, that is, session information that does not require data from the client again even if the information is deleted.

<HTTPセション情報の転送先の定義のデータ構成>
続いて、図1のHTTPセション情報管理部での、他のアプリケーションサーバへのHTTPセション情報の更新要求とHTTPセション情報の転送、及び他のアプリケーションサーバへのHTTPセションIDとそのHTTPセション情報の削除要求を行う場合に使用する、HTTPセション情報の転送先の定義のデータ構成について、図3を参照しながら説明する。
<Data structure of definition of transfer destination of HTTP session information>
Subsequently, the HTTP session information management unit in FIG. 1 updates the HTTP session information to another application server, transfers the HTTP session information, and deletes the HTTP session ID and the HTTP session information to the other application server. The data structure of the definition of the transfer destination of the HTTP session information used when making a request will be described with reference to FIG.

図3は本実施形態のHTTPセション情報の転送先の定義157のデータ構成を示す図である。図3(a)の、サーバ名301は、クラスタを構成する全てのアプリケーションサーバの名称である。   FIG. 3 is a diagram showing a data configuration of the transfer destination definition 157 of the HTTP session information according to this embodiment. The server name 301 in FIG. 3A is the name of all application servers that constitute the cluster.

転送するHTTPセション情報の重要度302は、他のアプリケーションサーバへのHTTPセション情報の更新要求とHTTPセション情報の転送を行う場合に、転送の対象とするHTTPセション情報の重要度を示す。転送するHTTPセション情報の重要度302が「高、低」のアプリケーションサーバに対しては、重要度が高及び低のHTTPセション情報を転送することを示す。また、転送するHTTPセション情報の重要度302が「高」のアプリケーションサーバに対しては、重要度が高のHTTPセション情報を転送することを示す。更に、転送するHTTPセション情報の重要度302が「−」のアプリケーションサーバに対しては、HTTPセション情報を転送しないことを示す。   The importance 302 of the HTTP session information to be transferred indicates the importance of the HTTP session information to be transferred when the HTTP session information update request and the HTTP session information are transferred to another application server. This indicates that HTTP session information with high and low importance is transferred to an application server with the importance 302 of the HTTP session information to be transferred being “high, low”. Further, it indicates that HTTP session information having a high importance level is transferred to an application server having a high importance level 302 of the HTTP session information to be transferred. Further, it indicates that HTTP session information is not transferred to an application server whose importance 302 of the transferred HTTP session information is “−”.

転送するHTTPセション情報の重要度302の「高、低」は、障害発生等によるアプリケーションサーバの切り替えが行われ、リクエストの次の配信先となるアプリケーションサーバに対して定義する。これは、図1の負荷分散機130で予め設定している、障害発生時のリクエストの次の配信先となるアプリケーションサーバに対して定義する。   The importance 302 of the HTTP session information to be transferred is defined as “high, low” for the application server that is the next delivery destination of the request when the application server is switched due to a failure or the like. This is defined for an application server that is set in advance in the load balancer 130 of FIG.

転送するHTTPセション情報の重要度302の「高」は、上記で示した「高、低」を定義したアプリケーションサーバ、及び自アプリケーションサーバ以外のアプリケーションサーバに対して定義する。
転送するHTTPセション情報の重要度302の「−」は、自アプリケーションサーバに対して定義する。
“High” in the importance 302 of the HTTP session information to be transferred is defined for the application server that defines “high, low” and the application servers other than its own application server.
“−” Of the importance 302 of the HTTP session information to be transferred is defined for the own application server.

また、図3(a)は、図1のアプリケーションサーバ1のHTTPセション情報管理部における、HTTPセション情報の転送先の定義の内容を示している。負荷分散機130の設定で、アプリケーションサーバ1における障害発生時のリクエストの次の配信先となるアプリケーションサーバは「アプリケーションサーバ2」とする。これにより、アプリケーションサーバ名301のアプリケーションサーバ2に対して、アプリケーションサーバ1から転送するHTTPセション情報の重要度302に「高、低」を定義する。   FIG. 3A shows the contents of the definition of the transfer destination of the HTTP session information in the HTTP session information management unit of the application server 1 of FIG. In the setting of the load balancer 130, the application server that is the next delivery destination of the request when a failure occurs in the application server 1 is “application server 2”. As a result, “high, low” is defined for the importance 302 of the HTTP session information transferred from the application server 1 to the application server 2 with the application server name 301.

図3(b)は、図1のアプリケーションサーバ2のHTTPセション情報管理部における、HTTPセション情報の転送先の定義の内容を示している。負荷分散機130の設定で、アプリケーションサーバ2における障害発生時のリクエストの次の配信先となるアプリケーションサーバは「アプリケーションサーバ3」とする。これにより、アプリケーションサーバ名303のアプリケーションサーバ3に対して、アプリケーションサーバ2から転送するHTTPセション情報の重要度304に「高、低」を定義する。   FIG. 3B shows the definition contents of the transfer destination of the HTTP session information in the HTTP session information management unit of the application server 2 of FIG. In the setting of the load balancer 130, the application server that is the next delivery destination of the request when a failure occurs in the application server 2 is “application server 3”. Thus, “high, low” is defined for the importance 304 of the HTTP session information transferred from the application server 2 to the application server 3 with the application server name 303.

<HTTPセションIDのデータ構成>
次に、図1のアプリケーションサーバにおけるHTTPセションIDのデータ構成について、図4を参照しながら説明する。
<Data structure of HTTP session ID>
Next, the data structure of the HTTP session ID in the application server of FIG. 1 will be described with reference to FIG.

図4は本実施形態のHTTPセションIDのデータ構成を示す図である。図4において、1つのセション情報が、HTTPセションID401、有効期限402、キー403、値404、及び重要度405の5項目を含んでいる。   FIG. 4 is a diagram illustrating a data configuration of the HTTP session ID according to the present embodiment. In FIG. 4, one session information includes five items of an HTTP session ID 401, an expiration date 402, a key 403, a value 404, and an importance 405.

HTTPセションID401は、そのアプリケーションサーバ内でセションを一意に特定する識別子である。有効期限402は、セション情報の有効期限である。キー403は、図2で説明した様に、セション情報を構成するそれぞれの情報の種類を示したものであり、ログイン処理やデータベース検索処理等、そのリクエスト処理の内容に応じて生成されるるものとする。値404は、キー403に対応する実際の値である。重要度405は、キー403として表わされる各情報のそれぞれが属する重要度の属性を表わしている。重要度は、図2のHTTPセション情報の重要度の定義の内容に従い、キー403に対応する重要度が設定される。   The HTTP session ID 401 is an identifier that uniquely identifies a session within the application server. The expiration date 402 is the expiration date of the session information. As described with reference to FIG. 2, the key 403 indicates the type of information constituting the session information, and is generated according to the contents of the request processing such as login processing and database search processing. To do. A value 404 is an actual value corresponding to the key 403. The importance 405 represents an attribute of importance to which each piece of information represented as the key 403 belongs. As the importance, the importance corresponding to the key 403 is set according to the definition of the importance of the HTTP session information in FIG.

<<処理手順>>
続いて、セション情報管理システム100の具体的な処理手順について説明する。
<HTTPセション情報の複製処理>
図5は本実施形態のHTTPセション情報の複製処理の処理フローを示す図である。まず、図5を参照しながら、HTTPセション情報の複製処理について詳細に説明する。HTTPセション情報の複製処理は、HTTPセション情報を他のアプリケーションサーバに複製する処理であり、図5はその処理フロー図である。
<< Processing procedure >>
Subsequently, a specific processing procedure of the session information management system 100 will be described.
<HTTP session information replication processing>
FIG. 5 is a diagram showing a processing flow of HTTP session information duplication processing of this embodiment. First, HTTP session information duplication processing will be described in detail with reference to FIG. The HTTP session information duplication process is a process for duplicating the HTTP session information to another application server, and FIG. 5 is a flowchart of the process.

なお、ここでは、クライアントからの初めのリクエストが、負荷分散機130によりアプリケーションサーバ1(153)に配信された状態、または、クライアントからの初めのリクエストが、負荷分散機130によりアプリケーションサーバ1(153)に配信されたことにより、クライアントからの2回目以降のリクエストが、アプリケーションサーバ1(153)に配信される状態から処理が開始されるものを、例にとって説明する。   In this case, the initial request from the client is delivered to the application server 1 (153) by the load balancer 130, or the initial request from the client is sent to the application server 1 (153 by the load balancer 130. ) Will be described as an example in which processing is started from a state in which the second and subsequent requests from the client are distributed to the application server 1 (153).

まず、アプリケーションサーバ1(153)のHTTPセション情報管理部154で、クライアントからのリクエスト1501を受信する(S501)。   First, the HTTP session information management unit 154 of the application server 1 (153) receives a request 1501 from the client (S501).

HTTPセション情報管理部154では、リクエスト中にHTTPセションID1502が含まれていない場合は、アプリケーションサーバ1上にHTTPセションID158を作成する。作成したHTTPセションID158に対するHTTPセション情報159には、重要度の定義156の内容に従い、HTTPセション情報のキー毎に重要度の属性を付加する。リクエスト中にHTTPセションID1502が含まれている場合は、そのHTTPセションIDに対するアプリケーションサーバ1上に登録されているHTTPセションID158への参照情報(ポインタ)を取得する(S502)。
そして、アプリケーションプログラム155に、作成または取得したHTTPセションIDへの参照情報を渡して、リクエストに対する処理を要求する(S503)。
The HTTP session information management unit 154 creates an HTTP session ID 158 on the application server 1 when the HTTP session ID 1502 is not included in the request. In accordance with the contents of the definition of importance 156, an attribute of importance is added to each HTTP session information key in the HTTP session information 159 for the created HTTP session ID 158. If the HTTP session ID 1502 is included in the request, reference information (pointer) to the HTTP session ID 158 registered on the application server 1 for the HTTP session ID is acquired (S502).
Then, reference information for the created or acquired HTTP session ID is passed to the application program 155 to request processing for the request (S503).

リクエストに対する処理要求を受け取ったアプリケーションプログラム155では、リクエストに対する処理を行い、HTTPセション情報管理部154から渡されたHTTPセションIDへの参照情報を使用して、HTTPセション情報159の内容を更新する(S504)。
そして、HTTPセション情報管理部154へ、レスポンスの返信を要求する(S505)。
The application program 155 that has received the request for processing the request performs processing for the request, and updates the content of the HTTP session information 159 by using the reference information to the HTTP session ID passed from the HTTP session information management unit 154 ( S504).
Then, a response response is requested to the HTTP session information management unit 154 (S505).

レスポンスの返信要求を受け取ったHTTPセション情報管理部154では、転送先の定義157の内容に従い、アプリケーションサーバ1(153)で障害が発生した場合のリクエストの次の配信先となるアプリケーションサーバ2(163)のHTTPセション情報管理部164に対して、重要度が高及び低のHTTPセション情報の更新を要求する(S506)。
そして、アプリケーションサーバ2(163)のHTTPセション情報管理部164に対して、重要度が高及び低のHTTPセション情報を転送する。
The HTTP session information management unit 154 that has received the response return request, in accordance with the contents of the transfer destination definition 157, the application server 2 (163) that is the next delivery destination of the request when a failure occurs in the application server 1 (153). The HTTP session information management unit 164 of () is requested to update HTTP session information with high and low importance (S506).
Then, HTTP session information with high and low importance is transferred to the HTTP session information management unit 164 of the application server 2 (163).

重要度が高及び低のHTTPセション情報の更新要求を受け取ったアプリケーションサーバ2(163)のHTTPセション情報管理部164では、転送された重要度が高及び低のHTTPセション情報を受け取り、受け取ったHTTPセション情報をアプリケーションサーバ2(163)上に登録する(S507)。   The HTTP session information management unit 164 of the application server 2 (163) that has received the update request for HTTP session information with high and low importance receives the transferred HTTP session information with high and low importance and receives the received HTTP session information. Session information is registered on the application server 2 (163) (S507).

次に、HTTPセション情報管理部154では、転送先の定義157の内容に従い、アプリケーションサーバ3〜nのHTTPセション情報管理部に対して、重要度が高のHTTPセション情報の更新を要求する。
そして、アプリケーションサーバ3〜nのHTTPセション情報管理部に対して、重要度が高のHTTPセション情報を転送する(S508)。
Next, in accordance with the contents of the transfer destination definition 157, the HTTP session information management unit 154 requests the HTTP session information management unit of the application servers 3 to n to update the HTTP session information with high importance.
Then, the HTTP session information with high importance is transferred to the HTTP session information management unit of the application servers 3 to n (S508).

重要度が高のHTTPセション情報の更新要求を受け取ったアプリケーションサーバ3〜nのHTTPセション情報管理部では、転送された重要度が高のHTTPセション情報を受け取り、受け取ったHTTPセション情報をそれぞれのアプリケーションサーバ上に登録する(S509)。   The HTTP session information management unit of the application servers 3 to n that has received the update request for the HTTP session information with the high importance receives the transferred HTTP session information with the high importance, and receives the received HTTP session information for each application. Registration on the server (S509).

HTTPセション情報管理部154では、他のアプリケーションサーバへのHTTPセション情報の転送が完了したら、クライアントへレスポンス1503を返す(S510)。   When the transfer of the HTTP session information to another application server is completed, the HTTP session information management unit 154 returns a response 1503 to the client (S510).

この処理により、HTTPセション情報の複製に必要となる、HTTPセション情報を保存する為のメモリ容量、HTTPセション情報を他のアプリケーションサーバに転送する為の通信量、及びそれらの処理にかかるオーバヘッド等のリソースを軽減することができる。   This process requires the memory capacity for storing HTTP session information, the amount of communication for transferring the HTTP session information to other application servers, and the overhead required for such processing. Resources can be reduced.

<障害が発生した場合の処理>
図6は本実施形態の障害が発生した場合の処理を示す図である。続いて、図6を参照しながら、障害が発生した場合の処理について詳細に説明する。障害が発生した場合の処理は、アプリケーションサーバで障害が発生したときに、リクエストの配信先が変更され、リクエストを処理するアプリケーションサーバの切り替えが行われた場合の処理であり、図6はその処理フロー図である。
<Processing when a failure occurs>
FIG. 6 is a diagram illustrating processing when a failure according to the present embodiment occurs. Next, a process when a failure occurs will be described in detail with reference to FIG. The processing when a failure occurs is processing when the request delivery destination is changed and the application server that processes the request is switched when a failure occurs in the application server. FIG. FIG.

なお、ここでは、クライアントからのリクエストが、アプリケーションサーバ1(153)に配信されている場合において、アプリケーションサーバ1(153)で障害が発生した状態から処理が開始されるものを、例にとって説明する。   Here, an example will be described in which processing is started from a state where a failure has occurred in the application server 1 (153) when a request from a client is distributed to the application server 1 (153). .

アプリケーションサーバ1(153)での障害発生により、リクエストの配信先がアプリケーションサーバ2(163)に変更となり、アプリケーションサーバ1(153)のHTTPセション情報管理部154で受信していたリクエストを、アプリケーションサーバ2(163)のHTTPセション情報管理部164で受信する(S601)。   The request delivery destination is changed to the application server 2 (163) due to the occurrence of a failure in the application server 1 (153), and the request received by the HTTP session information management unit 154 of the application server 1 (153) is changed to the application server. 2 (163) is received by the HTTP session information management unit 164 (S601).

HTTPセション情報管理部164では、リクエスト1601中に含まれているHTTPセションID1602に対する、アプリケーションサーバ上に登録されているHTTPセションID168への参照情報を取得する(S602)。   The HTTP session information management unit 164 acquires reference information for the HTTP session ID 168 registered on the application server with respect to the HTTP session ID 1602 included in the request 1601 (S602).

取得したHTTPセションID168への参照情報に登録されているHTTPセション情報169は、アプリケーションサーバ1(153)から、重要度が高及び低の全てのHTTPセション情報が転送されているため、前記参照情報を用いて重要度が高及び低の全てのHTTPセション情報を記憶装置により読み出し、その読み出したHTTPセション情報を使用してセションを継続することができる。
そして、アプリケーションプログラム165に、取得したHTTPセションID168への参照情報を渡して、リクエストに対する処理を要求する(S603)。
Since the HTTP session information 169 registered in the reference information to the acquired HTTP session ID 168 has been transferred from the application server 1 (153), all the HTTP session information with high and low importance is transferred. All the HTTP session information with high and low importance can be read out by the storage device using, and the session can be continued using the read HTTP session information.
Then, reference information to the acquired HTTP session ID 168 is passed to the application program 165 to request processing for the request (S603).

リクエストに対する処理要求を受け取ったアプリケーションプログラム165では、リクエストに対する処理を行い、HTTPセション情報管理部164から渡されたHTTPセションID168への参照情報を使用してHTTPセション情報169を記憶装置により読み出し、HTTPセション情報169の内容を更新する(S604)。
そして、HTTPセション情報管理部164へ、レスポンスの返信を要求する(S605)。
The application program 165 that has received the processing request for the request performs the processing for the request, reads the HTTP session information 169 from the storage device using the reference information to the HTTP session ID 168 passed from the HTTP session information management unit 164, and HTTP The content of the session information 169 is updated (S604).
Then, a response response is requested to the HTTP session information management unit 164 (S605).

レスポンスの返信要求を受け取ったHTTPセション情報管理部164では、転送先の定義167の内容に従い、アプリケーションサーバ2(163)で障害が発生した場合のリクエストの次の配信先となるアプリケーションサーバ3(173)のHTTPセション情報管理部174に対して、重要度が高及び低のHTTPセション情報の更新を要求する(S606)。
そして、アプリケーションサーバ3(173)のHTTPセション情報管理部174に対して、重要度が高及び低のHTTPセション情報を転送する。
The HTTP session information management unit 164 that has received the response reply request, in accordance with the contents of the transfer destination definition 167, the application server 3 (173) that is the next delivery destination of the request when a failure occurs in the application server 2 (163). ) Of the HTTP session information management unit 174 of) is requested to update the HTTP session information with high and low importance (S606).
Then, HTTP session information with high and low importance is transferred to the HTTP session information management unit 174 of the application server 3 (173).

重要度が高及び低のHTTPセション情報の更新要求を受け取ったアプリケーションサーバ3(173)のHTTPセション情報管理部174では、転送された重要度が高及び低のHTTPセション情報を受け取り、受け取ったHTTPセション情報をアプリケーションサーバ3上に登録する(S607)。   The HTTP session information management unit 174 of the application server 3 (173) that has received the update request for HTTP session information with high and low importance receives the transferred HTTP session information with high and low importance and receives the received HTTP session information. Session information is registered on the application server 3 (S607).

次に、HTTPセション情報管理部164では、転送先の定義167の内容に従い、アプリケーションサーバ1及びアプリケーションサーバ4〜nのHTTPセション情報管理部に対して、重要度が高のHTTPセション情報の更新を要求する。
そして、アプリケーションサーバ1及びアプリケーションサーバ4〜nのHTTPセション情報管理部に対して、重要度が高のHTTPセション情報を転送する(S608)。
Next, the HTTP session information management unit 164 updates the HTTP session information with high importance to the HTTP session information management units of the application server 1 and the application servers 4 to n according to the contents of the transfer destination definition 167. Request.
Then, the HTTP session information with high importance is transferred to the HTTP session information management unit of the application server 1 and the application servers 4 to n (S608).

アプリケーションサーバ1及びアプリケーションサーバ4〜nのHTTPセション情報管理部では、転送された重要度が高のHTTPセション情報を受け取り、受け取ったHTTPセション情報をそれぞれのアプリケーションサーバ上に登録する(S609)。   The HTTP session information management unit of the application server 1 and the application servers 4 to n receives the transferred HTTP session information having a high importance level, and registers the received HTTP session information on each application server (S609).

HTTPセション情報管理部164では、他のアプリケーションサーバへのHTTPセション情報の転送が完了したら、クライアントへレスポンス1603を返す(S610)。   When the transfer of the HTTP session information to another application server is completed, the HTTP session information management unit 164 returns a response 1603 to the client (S610).

<2重障害が発生した場合の処理>
図7は本実施形態の2重障害が発生した場合の処理を示す図である。続いて、図7を参照しながら、2重障害が発生した場合の処理について詳細に説明する。2重障害が発生した場合の処理は、リクエストを受信しているアプリケーションサーバと、そのアプリケーションサーバで障害が発生した場合のリクエストの次の配信先となるアプリケーションサーバの、2つアプリケーションサーバで同時に障害が発生した場合に、リクエストの配信先が変更され、リクエストを処理するアプリケーションサーバの切り替えが行われた場合の処理であり、図7はその処理フロー図である。
<Processing when a double failure occurs>
FIG. 7 is a diagram showing processing when a double failure occurs according to the present embodiment. Next, a process when a double failure occurs will be described in detail with reference to FIG. When a double failure occurs, processing is performed simultaneously on two application servers: the application server that is receiving the request, and the application server that is the next delivery destination of the request when the failure occurs on that application server. Is a process when the request delivery destination is changed and the application server that processes the request is switched, and FIG. 7 is a process flow diagram thereof.

なお、ここでは、クライアントからのリクエストが、アプリケーションサーバ1(153)に配信されている場合において、アプリケーションサーバ1(153)と、アプリケーションサーバ2(163)の、2つのアプリケーションサーバで同時に障害が発生した状態から処理が開始されるものを、例にとって説明する。   Here, when a request from a client is distributed to the application server 1 (153), a failure occurs simultaneously in the two application servers, the application server 1 (153) and the application server 2 (163). An example in which processing is started from the above state will be described.

アプリケーションサーバ1(153)及びアプリケーションサーバ2(163)での障害発生により、リクエストの配信先がアプリケーションサーバ3(173)に変更となり、アプリケーションサーバ1(153)のHTTPセション情報管理部154で受信していたリクエストを、アプリケーションサーバ3(173)のHTTPセション情報管理部174で受信する(S701)。   Due to the occurrence of a failure in the application server 1 (153) and the application server 2 (163), the delivery destination of the request is changed to the application server 3 (173) and is received by the HTTP session information management unit 154 of the application server 1 (153). The received request is received by the HTTP session information management unit 174 of the application server 3 (173) (S701).

HTTPセション情報管理部174では、リクエスト1701中に含まれているHTTPセションID1702に対する、アプリケーションサーバ上に登録されているHTTPセションID178への参照情報を取得する(S702)。   The HTTP session information management unit 174 acquires reference information for the HTTP session ID 178 registered on the application server for the HTTP session ID 1702 included in the request 1701 (S702).

取得したHTTPセションID178への参照情報に登録されているHTTPセション情報179は、アプリケーションサーバ1(153)のHTTPセション情報管理部154から、重要度が高のHTTPセション情報が転送されているため、前記参照情報を用いて重要度が高のHTTPセション情報を記憶装置により読み出し、そのHTTPセション情報を使用してセションを継続する。
そして、アプリケーションプログラム175に、取得したHTTPセションID178への参照情報を渡して、リクエストに対する処理を要求する(S703)。
Since the HTTP session information 179 registered in the reference information to the acquired HTTP session ID 178 is transferred with high importance HTTP session information from the HTTP session information management unit 154 of the application server 1 (153). Using the reference information, HTTP session information with high importance is read from the storage device, and the session is continued using the HTTP session information.
Then, reference information to the acquired HTTP session ID 178 is passed to the application program 175 to request processing for the request (S703).

リクエストに対する処理要求を受け取ったアプリケーションプログラム175では、セションを継続する上で、アプリケーションサーバ1(153)のHTTPセション情報管理部154から転送されていない重要度が低のHTTPセション情報が必要となる場合は、重要度が高のHTTPセション情報を使用して、重要度が低のHTTPセション情報を再生成する。
そして、リクエストに対する処理を行い、HTTPセション情報管理部174から渡されたHTTPセションID178への参照情報を使用して、HTTPセション情報179の内容を更新する(S704)。
そして、HTTPセション情報管理部174へ、レスポンスの返信を要求する(S705)。
When the application program 175 that has received the processing request for the request requires HTTP session information of low importance that is not transferred from the HTTP session information management unit 154 of the application server 1 (153) in order to continue the session. Regenerates HTTP session information of low importance using HTTP session information of high importance.
Then, processing for the request is performed, and the content of the HTTP session information 179 is updated using the reference information to the HTTP session ID 178 passed from the HTTP session information management unit 174 (S704).
Then, a response response is requested to the HTTP session information management unit 174 (S705).

レスポンスの返信要求を受け取ったHTTPセション情報管理部174では、転送先の定義177の内容に従い、アプリケーションサーバ3(173)で障害が発生した場合のリクエストの次の配信先となるアプリケーションサーバ4のHTTPセション情報管理部に対して、重要度が高及び低のHTTPセション情報の更新を要求する(S706)。
そして、アプリケーションサーバ4に対して、重要度が高及び低のHTTPセション情報を転送する。
The HTTP session information management unit 174 that has received the response reply request, in accordance with the contents of the transfer destination definition 177, provides the HTTP of the application server 4 that is the next delivery destination of the request when a failure occurs in the application server 3 (173). The session information management unit is requested to update HTTP session information with high and low importance (S706).
Then, HTTP session information with high and low importance is transferred to the application server 4.

次に、HTTPセション情報管理部174では、転送先の定義177の内容に従い、アプリケーションサーバ1、2及び5〜nのHTTPセション情報管理部に対して、重要度が高のHTTPセション情報の更新を要求する。
そして、アプリケーションサーバ1、2及び5〜nのHTTPセション情報管理部に対して、重要度が高のHTTPセション情報を転送する(S707)。
Next, the HTTP session information management unit 174 updates the HTTP session information with high importance to the HTTP session information management units of the application servers 1, 2, and 5 to n in accordance with the contents of the transfer destination definition 177. Request.
Then, the HTTP session information with high importance is transferred to the HTTP session information management units of the application servers 1, 2 and 5 to n (S707).

重要度が高のHTTPセション情報の更新要求を受け取ったアプリケーションサーバ1、2及び5〜nのHTTPセション情報管理部では、転送された重要度が高のHTTPセション情報を受け取り、受け取ったHTTPセション情報それぞれのアプリケーションサーバ上に登録する(S708)。   The HTTP session information management units of the application servers 1, 2, and 5 to n that have received the update request for the HTTP session information with the high importance receive the transferred HTTP session information with the high importance, and the received HTTP session information Registration is performed on each application server (S708).

HTTPセション情報管理部174では、他のアプリケーションサーバへのHTTPセション情報の転送が完了したら、クライアントへレスポンス1703を返す(S709)。   When the transfer of the HTTP session information to another application server is completed, the HTTP session information management unit 174 returns a response 1703 to the client (S709).

<HTTPセション情報の削除処理>
図8は本実施形態のHTTPセション情報の削除処理の処理フローを示す図である。続いて、図8を参照しながら、HTTPセション情報の削除処理について詳細に説明する。HTTPセション情報の削除処理は、クライアントからのリクエストに対する処理を行う場合に、リクエスト中にセションの終了が指定されているとき、及びセションの有効期限が過ぎているときに、アプリケーションサーバ上のHTTPセションID及びそのHTTPセション情報を削除する場合の処理であり、図8はその処理フロー図である。
<HTTP session information deletion process>
FIG. 8 is a diagram showing a processing flow of HTTP session information deletion processing according to this embodiment. Next, HTTP session information deletion processing will be described in detail with reference to FIG. The HTTP session information deletion process is performed when a request from a client is processed, when the end of the session is specified in the request, and when the expiration date of the session has expired. FIG. 8 is a flowchart of the process when deleting an ID and its HTTP session information.

なお、ここでは、クライアントからのリクエストが、アプリケーションサーバ1(153)に配信されている状態から処理が開始されるものを、例にとって説明する。   Here, an example is described in which processing is started from a state in which a request from a client is distributed to the application server 1 (153).

まず、アプリケーションサーバ1(153)のHTTPセション情報管理部154で、クライアントからのリクエスト1501を受信する(S801)。   First, the HTTP session information management unit 154 of the application server 1 (153) receives a request 1501 from the client (S801).

HTTPセション情報管理部154では、リクエスト1501中に含まれているHTTPセションID1502に対する、アプリケーションサーバ上に登録されているHTTPセションID158への参照情報を取得する(S802)。   The HTTP session information management unit 154 acquires reference information for the HTTP session ID 158 registered on the application server with respect to the HTTP session ID 1502 included in the request 1501 (S802).

ここで、取得したHTTPセションID158への参照情報から、HTTPセションIDに設定されている有効期限をチェックし、有効期限が過ぎている場合は、アプリケーションサーバ1(153)上のHTTPセションID158及びそのHTTPセション情報159を削除する。
そして、転送先の定義157に設定されている自アプリケーションサーバを除く全てのアプリケーションサーバ2〜nのHTTPセション情報管理部に対して、HTTPセションIDの削除を要求する(S806)。
Here, the expiration date set in the HTTP session ID is checked from the acquired reference information to the HTTP session ID 158. If the expiration date has passed, the HTTP session ID 158 on the application server 1 (153) and its The HTTP session information 159 is deleted.
Then, the HTTP session information management unit of all the application servers 2 to n except the self application server set in the transfer destination definition 157 is requested to delete the HTTP session ID (S806).

HTTPセションIDの削除要求を受け取ったアプリケーションサーバ2〜nのHTTPセション情報管理部では、アプリケーションサーバ上のHTTPセションID及びそのHTTPセション情報の削除を行う(S807)。   The HTTP session information management unit of the application server 2 to n that has received the HTTP session ID deletion request deletes the HTTP session ID and the HTTP session information on the application server (S807).

アプリケーションサーバ2〜nのHTTPセションIDの削除が完了したら、クライアントへレスポンス1503を返す(S808)。   When deletion of the HTTP session IDs of the application servers 2 to n is completed, a response 1503 is returned to the client (S808).

S802において、HTTPセションID158への参照情報を取得し、そのHTTPセションIDへの参照情報から、HTTPセションIDに設定されている有効期限をチェックした結果、HTTPセションID158の有効期限が過ぎていない場合は、HTTPセション情報管理部154から、アプリケーションプログラム155に対して、リクエストに対する処理を要求し、HTTPセション情報159の内容を更新する。この処理の内容については、図5の(S503)〜(S505)を参照のこと((S803)、(S804)、(S805))。   In S <b> 802, when the reference information for the HTTP session ID 158 is acquired, and the validity period set in the HTTP session ID is checked from the reference information for the HTTP session ID, the validity period of the HTTP session ID 158 has not passed. The HTTP session information management unit 154 requests the application program 155 to process the request, and updates the content of the HTTP session information 159. For the contents of this process, refer to (S503) to (S505) in FIG. 5 ((S803), (S804), (S805)).

アプリケーションプログラム155からレスポンスの返信要求を受け取ったHTTPセション情報管理部154では、更新されたHTTPセション情報159を、他のアプリケーションサーバへ転送する。この処理の内容については、図5の(S506)〜(S509)を参照のこと((S806)、(S807))。   The HTTP session information management unit 154 that has received a response return request from the application program 155 transfers the updated HTTP session information 159 to another application server. For the contents of this process, refer to (S506) to (S509) in FIG. 5 ((S806), (S807)).

HTTPセション情報管理部154では、他のアプリケーションサーバへのHTTPセション情報の転送が完了した後、リクエスト中にHTTPセションIDの削除要求が指定されているかチェックを行い、リクエスト中にHTTPセションIDの削除要求が指定されている場合は、アプリケーションサーバ1上のHTTPセションID158及びHTTPセション情報159を削除する。
そして、HTTPセション情報管理部154では、転送先の定義157に設定されている自アプリケーションサーバを除く全てのアプリケーションサーバ2〜nのHTTPセション情報管理部に対して、HTTPセションIDの削除を要求する(S806)。
After completing the transfer of the HTTP session information to another application server, the HTTP session information management unit 154 checks whether an HTTP session ID deletion request is specified in the request, and deletes the HTTP session ID in the request. If the request is specified, the HTTP session ID 158 and the HTTP session information 159 on the application server 1 are deleted.
Then, the HTTP session information management unit 154 requests the HTTP session information management units of all the application servers 2 to n except the self application server set in the transfer destination definition 157 to delete the HTTP session ID. (S806).

HTTPセションIDの削除要求を受け取ったアプリケーションサーバ2〜nのHTTPセション情報管理部では、アプリケーションサーバ上のHTTPセションID及びそのHTTPセション情報の削除を行う(S807)。
最後に、HTTPセション情報管理部154から、クライアントへレスポンス1503を返す(S808)。
The HTTP session information management unit of the application server 2 to n that has received the HTTP session ID deletion request deletes the HTTP session ID and the HTTP session information on the application server (S807).
Finally, a response 1503 is returned from the HTTP session information management unit 154 to the client (S808).

続いて、HTTPセション情報管理部のフローチャートについて説明する。
<クライアントからリクエストを受信した場合のフローチャート>
図9は本実施形態のリクエスト受信処理の処理手順を示すフローチャートである。まず、図9を参照しながら、HTTPセション情報管理部で、クライアントからリクエストを受信した場合のフローチャートについて説明する。
Next, a flowchart of the HTTP session information management unit will be described.
<Flowchart when a request is received from a client>
FIG. 9 is a flowchart showing a processing procedure of request reception processing of this embodiment. First, a flowchart when a request is received from a client by the HTTP session information management unit will be described with reference to FIG.

通信装置によりクライアントからリクエストを受信したHTTPセション情報管理部では、クライアントから受信したリクエスト中に、HTTPセションIDが含まれているか判定する(ステップ901)。   The HTTP session information management unit that has received the request from the client by the communication apparatus determines whether the HTTP session ID is included in the request received from the client (step 901).

リクエスト中にHTTPセションIDが含まれていない場合は、アプリケーションサーバ上に、HTTPセションIDを作成し(ステップ902)、作成したHTTPセションID内のHTTPセション情報に、重要度の定義の内容に従い、HTTPセション情報のキー毎に重要度の属性を付加する(ステップ903)。すなわち、重要度の定義を記憶装置により読み出して、前記作成したHTTPセションID内のHTTPセション情報のキーと一致するキーを持つレコードを前記重要度の属性で検索し、検索されたキーに対応する重要度を重要度の定義から取得して、その取得した重要度の属性を前記作成したHTTPセションID内のHTTPセション情報に付加して記憶装置に格納する。
そして、アプリケーションプログラムに、作成したHTTPセションIDへの参照情報を渡して、リクエストに対する処理を要求する(ステップ904)。
If the HTTP session ID is not included in the request, an HTTP session ID is created on the application server (step 902), and the HTTP session information in the created HTTP session ID is in accordance with the content of the definition of importance. An attribute of importance is added for each key of HTTP session information (step 903). That is, the definition of importance is read from the storage device, and a record having a key that matches the key of the HTTP session information in the created HTTP session ID is searched with the attribute of the importance, and the corresponding key is searched. The importance is acquired from the definition of importance, and the attribute of the acquired importance is added to the HTTP session information in the created HTTP session ID and stored in the storage device.
Then, the reference information to the created HTTP session ID is passed to the application program, and the processing for the request is requested (step 904).

クライアントから受信したリクエスト中にHTTPセションIDが含まれている場合は、そのHTTPセションIDに対する、アプリケーションサーバ上に登録されているHTTPセションIDへの参照情報を取得する(ステップ905)。   When the HTTP session ID is included in the request received from the client, reference information to the HTTP session ID registered on the application server for the HTTP session ID is acquired (step 905).

取得したHTTPセションIDへの参照情報から、HTTPセションIDの有効期限が過ぎているかを判定し(ステップ906)、有効期限が過ぎていない場合は、アプリケーションプログラムに、作成したHTTPセションIDへの参照情報を渡して、リクエストに対する処理を要求する(ステップ904)。   From the reference information to the acquired HTTP session ID, it is determined whether or not the expiration date of the HTTP session ID has passed (step 906). If the expiration date has not passed, the application program refers to the created HTTP session ID. Information is passed to request processing for the request (step 904).

有効期限が過ぎている場合は、アプリケーションサーバ上のHTTPセション情報及びHTTPセションIDを記憶装置から削除し(ステップ907)、記憶装置から読み出した転送先の定義に設定されている自アプリケーションサーバを除く全てのアプリケーションサーバに対して、通信装置によりHTTPセションIDの削除を要求する(ステップ908)。
そして、通信装置によりクライアントへセションの有効期限が切れたことを示すレスポンスを返す(ステップ909)。
If the expiration date has passed, the HTTP session information and HTTP session ID on the application server are deleted from the storage device (step 907), and the own application server set in the transfer destination definition read from the storage device is excluded. The communication device requests all application servers to delete the HTTP session ID (step 908).
Then, the communication device returns a response indicating that the session has expired (step 909).

<アプリケーションプログラムからレスポンスの返信要求を受け取った場合のフローチャート>
図10は本実施形態のレスポンス返信要求受信処理の処理手順を示すフローチャートである。続いて、図10を参照しながら、HTTPセション情報管理部で、アプリケーションプログラムからレスポンスの返信要求を受け取った場合のフローチャートについて説明する。
<Flowchart when response reply request is received from application program>
FIG. 10 is a flowchart showing the processing procedure of the response reply request receiving process of this embodiment. Next, a flowchart when the HTTP session information management unit receives a response return request from the application program will be described with reference to FIG.

アプリケーションプログラムからレスポンスの返信要求を受け取ったHTTPセション情報管理部では、転送先の定義の内容に従い、重要度が高及び低のHTTPセション情報の転送先となっているアプリケーションサーバに対して、HTTPセション情報の更新を要求する(ステップ1001)。すなわち、転送先の定義を記憶装置により読み出し、転送するHTTPセション情報の重要度が高及び低であるレコードを前記転送先の定義から検索して、その重要度に対応するサーバ名を前記転送先の定義から取得し、その取得したサーバ名の計算機へ通信装置によりHTTPセション情報の更新を要求する。
そして、更新要求を行ったアプリケーションサーバに対して、重要度が高及び低のHTTPセション情報を通信装置により転送する(ステップ1002)。
The HTTP session information management unit that has received the response return request from the application program sends an HTTP session to the application server that is the transfer destination of high and low importance HTTP session information according to the contents of the transfer destination definition. An update of information is requested (step 1001). That is, the definition of the transfer destination is read out from the storage device, a record in which the importance of the HTTP session information to be transferred is high and low is searched from the definition of the transfer destination, and the server name corresponding to the importance is found in the transfer destination And requests the computer with the acquired server name to update the HTTP session information by the communication device.
Then, HTTP session information with high and low importance is transferred by the communication device to the application server that made the update request (step 1002).

続いて、転送先の定義の内容に従い、重要度が高のHTTPセション情報の転送先となっているアプリケーションサーバに対して、HTTPセション情報の更新を通信装置により要求する(ステップ1003)。すなわち、転送先の定義を記憶装置により読み出し、転送するHTTPセション情報の重要度が高であるレコードを前記転送先の定義から検索して、その重要度に対応するサーバ名を前記転送先の定義から取得し、その取得したサーバ名の計算機へ通信装置によりHTTPセション情報の更新を要求する。
そして、更新要求を行ったアプリケーションサーバに対して、重要度が高のHTTPセション情報を通信装置により転送する(ステップ1004)。
Subsequently, in accordance with the contents of the definition of the transfer destination, the communication device requests the application server that is the transfer destination of the HTTP session information with high importance to update the HTTP session information (step 1003). That is, the definition of the transfer destination is read from the storage device, a record having a high importance level of the HTTP session information to be transferred is searched from the definition of the transfer destination, and the server name corresponding to the importance level is defined as the definition of the transfer destination. And requesting the computer having the acquired server name to update the HTTP session information by the communication device.
Then, the HTTP session information with high importance is transferred by the communication device to the application server that made the update request (step 1004).

他のアプリケーションサーバへのHTTPセション情報の転送が完了したら、リクエスト中にHTTPセションIDの削除要求が指定されているかを判定する(ステップ1005)。   When transfer of the HTTP session information to another application server is completed, it is determined whether an HTTP session ID deletion request is specified in the request (step 1005).

リクエスト中にHTTPセションIDの削除要求が指定されていない場合は、通信装置によりそのままクライアントへレスポンスを返す(ステップ1006)。   If an HTTP session ID deletion request is not specified in the request, the communication device returns a response to the client as it is (step 1006).

リクエスト中にHTTPセションIDの削除要求が指定されている場合は、アプリケーションサーバ上のHTTPセション情報及びHTTPセションIDを削除し(ステップ1007)、記憶装置から読み出した転送先の定義に設定されている自アプリケーションサーバを除く全てのアプリケーションサーバに対して、通信装置によりHTTPセションIDの削除を要求し(ステップ1008)、他アプリケーションサーバのHTTPセションIDを削除した後、通信装置によりクライアントへレスポンスを返す(ステップ1006)。   If a request to delete an HTTP session ID is specified in the request, the HTTP session information and the HTTP session ID on the application server are deleted (step 1007), and the transfer destination definition read from the storage device is set. The communication device requests all application servers other than its own application server to delete the HTTP session ID (step 1008). After deleting the HTTP session ID of the other application server, the communication device returns a response to the client ( Step 1006).

<他アプリケーションサーバのHTTPセション情報管理部から要求を受け取った場合のフローチャート>
図11は本実施形態の他アプリケーションサーバ要求受信処理の処理手順を示すフローチャートである。続いて、図11を参照しながら、HTTPセション情報管理部で、他アプリケーションサーバのHTTPセション情報管理部から要求を受け取った場合のフローチャートについて説明する。
<Flowchart when a request is received from the HTTP session information management unit of another application server>
FIG. 11 is a flowchart showing a processing procedure of other application server request reception processing of this embodiment. Next, a flowchart when the HTTP session information management unit receives a request from the HTTP session information management unit of another application server will be described with reference to FIG.

他アプリケーションサーバのHTTPセション情報管理部から通信装置により要求を受け取ったHTTPセション情報管理部では、要求の内容を判定する(ステップ1101)。   The HTTP session information management unit that has received the request from the HTTP session information management unit of the other application server by the communication apparatus determines the content of the request (step 1101).

要求の内容が、HTTPセションIDの更新要求の場合は、更新要求を行ったアプリケーションサーバのHTTPセション情報管理部から、重要度が高及び低、または重要度が高の、HTTPセション情報を通信装置により受け取る(ステップ1102)。
そして、受け取ったHTTPセション情報を記憶装置により格納して、アプリケーションサーバ上に登録する(ステップ1103)。
If the content of the request is an HTTP session ID update request, the HTTP session information management unit of the application server that made the update request sends HTTP session information with high and low importance or high importance to the communication device. (Step 1102).
The received HTTP session information is stored in the storage device and registered on the application server (step 1103).

要求の内容が、HTTPセションIDの削除要求の場合は、削除要求のあったHTTPセションIDについて、アプリケーションサーバ上に登録されているHTTPセションID及びそのHTTPセション情報を記憶装置により削除する(ステップ1105)。   If the content of the request is an HTTP session ID deletion request, the HTTP session ID registered on the application server and the HTTP session information are deleted from the storage device for the HTTP session ID requested to be deleted (step 1105). ).

更新処理または削除処理が完了したら、更新要求または削除要求に対する処理が完了したことを、要求を行ったアプリケーションサーバのHTTPセション情報管理部へ通信装置により通知する(ステップ1104)。   When the update process or the delete process is completed, the communication apparatus notifies the HTTP session information management unit of the application server that made the request that the process for the update request or the delete request has been completed (step 1104).

以上説明した様に本実施形態のセション情報管理システムによれば、セション情報をその重要度に応じて転送先の計算機へ転送して登録するので、セションの継続の信頼性を保ちつつ、セション情報の複製によるリソースの消費を軽減することが可能である。   As described above, according to the session information management system of the present embodiment, session information is transferred to a transfer destination computer according to its importance and registered, so that the session information is maintained while maintaining the reliability of continuation of the session. It is possible to reduce resource consumption due to duplication.

本実施形態のセション情報管理システムの全体構成を示す図である。It is a figure which shows the whole structure of the session information management system of this embodiment. 本実施形態のHTTPセション情報の重要度の定義156のデータ構成を示す図である。It is a figure which shows the data structure of the definition 156 of the importance of the HTTP session information of this embodiment. 本実施形態のHTTPセション情報の転送先の定義157のデータ構成を示す図である。It is a figure which shows the data structure of the definition 157 of the transfer destination of the HTTP session information of this embodiment. 本実施形態のHTTPセションIDのデータ構成を示す図である。It is a figure which shows the data structure of HTTP session ID of this embodiment. 本実施形態のHTTPセション情報の複製処理の処理フローを示す図である。It is a figure which shows the processing flow of the duplication process of the HTTP session information of this embodiment. 本実施形態の障害が発生した場合の処理を示す図である。It is a figure which shows a process when the failure of this embodiment generate | occur | produces. 本実施形態の2重障害が発生した場合の処理を示す図である。It is a figure which shows a process when the double failure generate | occur | produces of this embodiment. 本実施形態のHTTPセション情報の削除処理の処理フローを示す図である。It is a figure which shows the processing flow of the deletion process of the HTTP session information of this embodiment. 本実施形態のリクエスト受信処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the request reception process of this embodiment. 本実施形態のレスポンス返信要求受信処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the response reply request reception process of this embodiment. 本実施形態の他アプリケーションサーバ要求受信処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the other application server request | requirement reception process of this embodiment.

符号の説明Explanation of symbols

100…セション情報管理システム、110〜112…クライアントマシン、120…ネットワーク、130…負荷分散機、140…通信回線、151…CPU、152…記憶装置、153…アプリケーションサーバ、154…HTTPセション情報管理部、155…アプリケーションプログラム、156…重要度の定義、157…転送先の定義、158…HTTPセションID、159…HTTPセション情報、201…キー、202…重要度、301…サーバ名、302…転送するHTTPセション情報の重要度、303…サーバ名、304…転送するHTTPセション情報の重要度、401…HTTPセションID、402…有効期限、403…キー、404…値、405…重要度、163…アプリケーションサーバ、164…HTTPセション情報管理部、173…アプリケーションサーバ、174…HTTPセション情報管理部、183…アプリケーションサーバ、184…HTTPセション情報管理部、1501…リクエスト、1502…HTTPセションID、1503…レスポンス、165…アプリケーションプログラム、166…重要度の定義、167…転送先の定義、168…HTTPセションID、169…HTTPセション情報、1601…リクエスト、1602…HTTPセションID、1603…レスポンス、175…アプリケーションプログラム、176…重要度の定義、177…転送先の定義、178…HTTPセションID、179…HTTPセション情報、1701…リクエスト、1702…HTTPセションID、1703…レスポンス。
DESCRIPTION OF SYMBOLS 100 ... Session information management system, 110-112 ... Client machine, 120 ... Network, 130 ... Load balancer, 140 ... Communication line, 151 ... CPU, 152 ... Storage device, 153 ... Application server, 154 ... HTTP session information management part 155 ... application program, 156 ... definition of importance, 157 ... definition of transfer destination, 158 ... HTTP session ID, 159 ... HTTP session information, 201 ... key, 202 ... importance, 301 ... server name, 302 ... transfer Importance of HTTP session information, 303 ... Server name, 304 ... Importance of HTTP session information to be transferred, 401 ... HTTP session ID, 402 ... Expiration date, 403 ... Key, 404 ... Value, 405 ... Importance, 163 ... Application Server, 164 ... HTT Session information management unit, 173 ... application server, 174 ... HTTP session information management unit, 183 ... application server, 184 ... HTTP session information management unit, 1501 ... request, 1502 ... HTTP session ID, 1503 ... response, 165 ... application program, 166 ... Definition of importance, 167 ... Definition of transfer destination, 168 ... HTTP session ID, 169 ... HTTP session information, 1601 ... Request, 1602 ... HTTP session ID, 1603 ... Response, 175 ... Application program, 176 ... Importance of importance Definition, 177 ... Definition of transfer destination, 178 ... HTTP session ID, 179 ... HTTP session information, 1701 ... Request, 1702 ... HTTP session ID, 1703 ... Response.

Claims (10)

複数の計算機にセション情報を格納して管理するセション情報管理方法において、
クライアント側の計算機からリクエストを受信した場合に、セション情報の重要度を示す重要度の定義を記憶装置により読み出して、前記受信したリクエストのセション情報に対応する重要度の属性を前記重要度の定義から取得し、その取得した重要度の属性を前記受信したリクエストのセション情報に付加して記憶装置に格納するステップと、
セション情報の転送先となる計算機を示す転送先の定義を記憶装置により読み出して、転送先の計算機を示す情報を前記転送先の定義から取得し、その取得した転送先の計算機へ当該計算機に対応する重要度のセション情報を通信装置により転送するステップと、
前記転送されたセション情報を転送先の計算機の記憶装置に格納して登録するステップとを有することを特徴とするセション情報管理方法。
In a session information management method for storing and managing session information in a plurality of computers,
When a request is received from a computer on the client side, a definition of importance indicating the importance of session information is read out by a storage device, and an attribute of importance corresponding to the session information of the received request is defined as the definition of importance. Storing the attribute of the acquired importance level in the storage device by adding it to the session information of the received request;
The transfer destination definition indicating the computer that is the session information transfer destination is read from the storage device, information indicating the transfer destination computer is acquired from the transfer destination definition, and the acquired transfer destination computer corresponds to the computer. Transferring the session information of the importance level to be transmitted by the communication device;
Storing the transferred session information in a storage device of a transfer destination computer and registering the transferred session information.
障害発生による計算機の切り替えが行われ、その切り替えられた計算機でクライアント側からのリクエストを処理する際に、当該計算機に転送されているセション情報を記憶装置により読み出し、前記リクエストのセションに対して重要度の高いセション情報と重要度の低いセション情報が登録されている場合には、その重要度の高いセション情報と重要度の低いセション情報を使用してセションを継続することを特徴とする請求項1に記載されたセション情報管理方法。   When a computer is switched due to a failure and a request from the client side is processed by the switched computer, the session information transferred to the computer is read by the storage device and is important for the session of the request. When the session information with high importance and the session information with low importance are registered, the session information is continued using the session information with high importance and the session information with low importance. 1. The session information management method described in 1. 障害発生による計算機の切り替えが行われ、その切り替えられた計算機でクライアント側からのリクエストを処理する際に、当該計算機に転送されているセション情報を記憶装置により読み出し、前記リクエストのセションに対して重要度の高いセション情報のみが登録されている場合には、その重要度の高いセション情報と当該計算機で生成したセション情報を使用してセションを継続することを特徴とする請求項1に記載されたセション情報管理方法。   When a computer is switched due to a failure and a request from the client side is processed by the switched computer, the session information transferred to the computer is read by the storage device and is important for the session of the request. When only high-level session information is registered, the session is continued using the high-level importance session information and the session information generated by the computer. Session information management method. クライアント側の計算機から終了が指定されているセションや有効期限の過ぎたセションのセション情報を記憶装置により削除するステップと、前記転送先の計算機に登録されている前記セション情報の複製を記憶装置により削除するステップとを有することを特徴とする請求項1乃至請求項3のいずれか1項に記載されたセション情報管理方法。   The storage device deletes session information of a session whose end is specified from a computer on the client side or a session whose expiration date has expired, and a copy of the session information registered in the transfer destination computer. The session information management method according to any one of claims 1 to 3, further comprising a step of deleting. 障害発生による計算機の切り替え時にリクエストの次の配信先となる計算機へ全ての重要度のセション情報を通信装置により転送することを特徴とする請求項1乃至請求項4のいずれか1項に記載されたセション情報管理方法。   5. The session information of all the importance levels is transferred by a communication device to a computer that is a next delivery destination of a request when a computer is switched due to a failure. 5. Session information management method. 障害発生による計算機の切り替え時にリクエストの次の配信先となる計算機以外の計算機へ特定の重要度のセション情報のみを通信装置により転送することを特徴とする請求項1乃至請求項5のいずれか1項に記載されたセション情報管理方法。   The communication apparatus transfers only session information having a specific importance level to a computer other than a computer that is a next delivery destination of a request when a computer is switched due to a failure. Session information management method described in the section. クライアント側の計算機からのデータが必要となるセション情報であるかどうかに応じて前記重要度の属性を設定することを特徴とする請求項1乃至請求項6のいずれか1項に記載されたセション情報管理方法。   The session according to any one of claims 1 to 6, wherein the attribute of importance is set according to whether or not data from a computer on a client side is necessary session information. Information management method. クライアント側の計算機からのデータが必要なログイン操作におけるセション情報に重要度の高い属性を付加し、クライアント側の計算機からのデータが不必要なデータベースの検索結果を示すセション情報に重要度の低い属性を付加することを特徴とする請求項7に記載されたセション情報管理方法。   A high-importance attribute is added to session information in login operations that require data from a client-side computer, and a low-importance attribute is added to session information that indicates database search results that do not require data from a client-side computer. The session information management method according to claim 7, further comprising: 複数の計算機にセション情報を格納して管理するセション情報管理システムにおいて、
クライアント側の計算機からリクエストを受信した場合に、セション情報の重要度を示す重要度の定義を記憶装置により読み出して、前記受信したリクエストのセション情報に対応する重要度の属性を前記重要度の定義から取得し、その取得した重要度の属性を前記受信したリクエストのセション情報に付加して記憶装置に格納し、セション情報の転送先となる計算機を示す転送先の定義を記憶装置により読み出して、転送先の計算機を示す情報を前記転送先の定義から取得し、その取得した転送先の計算機へ当該計算機に対応する重要度のセション情報を通信装置により転送する第1のセション情報管理部と、
前記転送されたセション情報を転送先の計算機の記憶装置に格納して登録する第2のセション情報管理部とを備えることを特徴とするセション情報管理システム。
In a session information management system that stores and manages session information in multiple computers,
When a request is received from a computer on the client side, a definition of importance indicating the importance of session information is read out by a storage device, and an attribute of importance corresponding to the session information of the received request is defined as the definition of importance. And the attribute of the obtained importance is added to the session information of the received request and stored in the storage device, and the definition of the transfer destination indicating the computer that is the transfer destination of the session information is read by the storage device, A first session information management unit for acquiring information indicating a transfer destination computer from the definition of the transfer destination, and transferring session information of importance corresponding to the computer to the acquired transfer destination computer by a communication device;
A session information management system comprising: a second session information management unit that stores and registers the transferred session information in a storage device of a transfer destination computer.
複数の計算機にセション情報を格納して管理するセション情報管理方法をコンピュータに実行させる為のプログラムにおいて、
クライアント側の計算機からリクエストを受信した場合に、セション情報の重要度を示す重要度の定義を記憶装置により読み出して、前記受信したリクエストのセション情報に対応する重要度の属性を前記重要度の定義から取得し、その取得した重要度の属性を前記受信したリクエストのセション情報に付加して記憶装置に格納するステップと、
セション情報の転送先となる計算機を示す転送先の定義を記憶装置により読み出して、転送先の計算機を示す情報を前記転送先の定義から取得し、その取得した転送先の計算機へ当該計算機に対応する重要度のセション情報を通信装置により転送するステップと、
前記転送されたセション情報を転送先の計算機の記憶装置に格納して登録するステップとをコンピュータに実行させることを特徴とするプログラム。
In a program for causing a computer to execute a session information management method for storing and managing session information in a plurality of computers,
When a request is received from a computer on the client side, a definition of importance indicating the importance of session information is read out by a storage device, and an attribute of importance corresponding to the session information of the received request is defined as the definition of importance. Storing the attribute of the acquired importance level in the storage device by adding it to the session information of the received request;
The transfer destination definition indicating the computer that is the session information transfer destination is read from the storage device, information indicating the transfer destination computer is acquired from the transfer destination definition, and the acquired transfer destination computer corresponds to the computer. Transferring the session information of the importance level to be transmitted by the communication device;
A program for causing a computer to execute the step of storing and registering the transferred session information in a storage device of a transfer destination computer.
JP2005350262A 2005-12-05 2005-12-05 Session information management method, system and program Active JP4606317B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005350262A JP4606317B2 (en) 2005-12-05 2005-12-05 Session information management method, system and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005350262A JP4606317B2 (en) 2005-12-05 2005-12-05 Session information management method, system and program

Publications (2)

Publication Number Publication Date
JP2007156775A true JP2007156775A (en) 2007-06-21
JP4606317B2 JP4606317B2 (en) 2011-01-05

Family

ID=38241067

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005350262A Active JP4606317B2 (en) 2005-12-05 2005-12-05 Session information management method, system and program

Country Status (1)

Country Link
JP (1) JP4606317B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004248174A (en) * 2003-02-17 2004-09-02 Canon Inc Communication network, and node instrument and transmission control method used therein
JP2004532443A (en) * 2001-02-13 2004-10-21 アベンテイル コーポレーション Distributed cache for state transfer operation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004532443A (en) * 2001-02-13 2004-10-21 アベンテイル コーポレーション Distributed cache for state transfer operation
JP2004248174A (en) * 2003-02-17 2004-09-02 Canon Inc Communication network, and node instrument and transmission control method used therein

Also Published As

Publication number Publication date
JP4606317B2 (en) 2011-01-05

Similar Documents

Publication Publication Date Title
US11388251B2 (en) Providing access to managed content
US10389674B2 (en) Systems and methods for storing and transferring message data
US10209893B2 (en) Massively scalable object storage for storing object replicas
US7921189B2 (en) Single virtual client for multiple client access and equivalency
US10104175B2 (en) Massively scalable object storage system
US9626420B2 (en) Massively scalable object storage system
AU2015259419B2 (en) File service using a shared file access-REST interface
US7805420B2 (en) Versioning and concurrency control for multiple client access of data
KR101923245B1 (en) Transparent failover
US7788346B2 (en) System and method for state data back-up in a distributed data system
US8099388B2 (en) Efficient handling of mostly read data in a computer server
US20080271130A1 (en) Minimizing client-side inconsistencies in a distributed virtual file system
US20060123121A1 (en) System and method for service session management
US7933868B2 (en) Method and system for partition level cleanup of replication conflict metadata
US20120179828A1 (en) Server apparatus, session management apparatus, method, system, and recording medium of program
US20090083837A1 (en) Storage controller for controlling access based on location of controller
US20060294053A1 (en) Recording medium having a file sharing program recorded thereon and file sharing apparatus
US7240058B2 (en) Lock mechanism for a distributed data system
US20110208761A1 (en) Coordinating content from multiple data sources
JP2005063374A (en) Data management method, data management device, program for the same, and recording medium
WO2020153053A1 (en) Database management service providing system
JP2004302564A (en) Name service providing method, execution device of the same, and processing program of the same
JP4606317B2 (en) Session information management method, system and program
US10362146B1 (en) Method and system for enforcing governance across multiple content repositories using a content broker
US11157454B2 (en) Event-based synchronization in a file sharing environment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080220

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100426

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100511

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100630

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4606317

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20131015

Year of fee payment: 3