JPH10326207A - Session maintenance control system for www server - Google Patents

Session maintenance control system for www server

Info

Publication number
JPH10326207A
JPH10326207A JP9134727A JP13472797A JPH10326207A JP H10326207 A JPH10326207 A JP H10326207A JP 9134727 A JP9134727 A JP 9134727A JP 13472797 A JP13472797 A JP 13472797A JP H10326207 A JPH10326207 A JP H10326207A
Authority
JP
Japan
Prior art keywords
session
www server
program
www
maintenance
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
JP9134727A
Other languages
Japanese (ja)
Inventor
Nobuo Ito
信夫 伊藤
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 JP9134727A priority Critical patent/JPH10326207A/en
Publication of JPH10326207A publication Critical patent/JPH10326207A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To permit both efficient use of resources of a WWW server and user's convenience by sending a session monitor program in a terminal system from the WWW server system. SOLUTION: A WWW server 1, when receiving a request message from a terminal system 30, determines whether or not the message is a process request to a high-order application 20 for which session management is necessary, and then determines whether or not it has a session ID in such a case. When the request already has the session ID, the request message is passed to the high-order application 20. When the message does not have the session ID, on the other hand, a session maintenance control process 12 registers it newly in a session management table 15 and then sends a session maintenance program 41 out to the terminal system 30. At the same time, a session ID for session maintenance and an indication requesting the same request message of the WWW server 11 again are also sent out.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、インターネット・
イントラネットで広く利用されている情報検索サービス
である。WWWサーバのセション維持管理方式につい
て、特に長時間運転するデータベースシステムに好適な
セション維持管理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention
This is an information retrieval service widely used on intranets. The present invention relates to a session maintenance and management system for a WWW server, and more particularly to a session maintenance and management system suitable for a database system that operates for a long time.

【0002】[0002]

【従来の技術】WWWにおける通信プロトコルであるH
TTP(Hyper Text Transfer Protocol)は、1ペ
ージサービスのプロトコルであるため、データベース検
索にみられる絞り込み検索のような、複数ページにまた
がった、関連したリクエストを処理するには向いていな
い。これを実現するためには、セション管理という方式
を用いるのが一般的である。この方式によれば、データ
ベースの絞り込み検索なども可能となる。
2. Description of the Related Art H which is a communication protocol in WWW
Since TTP (Hyper Text Transfer Protocol) is a one-page service protocol, it is not suitable for processing related requests that span multiple pages, such as a narrow search in a database search. To achieve this, it is common to use a method called session management. According to this method, it is also possible to narrow down a database search.

【0003】ところが、ここで問題となるのは、たとえ
ばパーソナルコンピュータ等のクライアント端末システ
ムが、セションを確立したままの状態でダウンしてしま
った場合、WWWサーバ上ではセションを維持したまま
となり、そのセションに関する情報を記憶しているメモ
リやディスク等のハードウェア資源が解放されない。
However, the problem here is that, for example, when a client terminal system such as a personal computer goes down with a session established, the session is maintained on the WWW server. Hardware resources such as a memory and a disk that store information about the session are not released.

【0004】このような場合従来のシステムでは、デー
タベースアクセスゲートウェイプログラムがタイマ監視
を行い、ある一定の期間状態変化の無いセションを検出
し資源解放しリフレッシュする。
In such a case, in the conventional system, the database access gateway program monitors the timer, detects a session in which there is no state change for a certain period, releases resources, and refreshes.

【0005】なお、セション管理については、日経デー
タプロ社著「WWW−データベース連携システム構築
法」(1996年3月4日発行)の92ページで論じら
れている。
[0005] The session management is discussed on page 92 of "WWW-Database Cooperation System Construction Method" by Nikkei Data Pro, issued on March 4, 1996.

【0006】[0006]

【発明が解決しようとする課題】上記の従来技術は、タ
イマ監視時間の設定によって、WWWサーバの資源が不
当に使われる時間が長い、あるいは、利用者がセション
確立中に作業を中断し、しばらくした後再開しようと考
えてもWWWサーバから勝手にセションを切断してしま
っているという点について配慮されておらず、すべての
利用者にとって使い易いシステムではないという課題が
あった。
According to the above-mentioned prior art, the setting of the timer monitoring time makes it impossible for the resources of the WWW server to be used improperly for a long time, or the user interrupts the work during the establishment of the session and waits for a while. However, even if the user intends to restart the system after taking care of it, no consideration has been given to the fact that the session has been disconnected without permission from the WWW server, and there has been a problem that the system is not easy to use for all users.

【0007】本発明の目的は、WWWサーバの資源の効
率利用と、利用者の利便性を両立させることにある。
An object of the present invention is to achieve both efficient use of resources of a WWW server and convenience of a user.

【0008】[0008]

【課題を解決するための手段】上記の目的は、WWWサ
ーバに対しセションの維持要求を告げるプログラムを、
クライアント側で稼動させることによって達成される。
クライアント側で稼動させるプログラムは、WWWサー
バから送出する。
The object of the present invention is to provide a program for notifying a WWW server of a session maintenance request.
Achieved by running on the client side.
The program operated on the client side is sent from the WWW server.

【0009】[0009]

【発明の実施の形態】以下、本発明の一実施例について
図面で説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings.

【0010】図1は本発明によるWWWシステムの構成
例である。電子計算機システム10には、WWWサーバ
プログラム11と、これと連動して動作する上位アプリ
ケーションプログラム20が存在する。WWWサーバプ
ログラム11には、セション維持・管理のためのプロセ
ス12があり、そのプロセスはセション管理テーブル1
5を持つ。上位アプリケーションプログラム20は、セ
ションの維持を必要とする、たとえばデータベースアク
セスのためのゲートウェイプログラム21がある。デー
タベースアクセスゲートウェイプログラム21は、デー
タベース22をアクセスする。電子計算機10は、イン
ターネット・イントラネットに接続されており、WWW
ブラウザ40が動作するクライアントである端末システ
ム30からアクセスできる。WWWブラウザ40は、上
位アプリケーションとして、WWWサーバ11から送出
されるプログラムを動作させることができる。これによ
り、セション維持プログラム41を動作させる。
FIG. 1 shows a configuration example of a WWW system according to the present invention. The computer system 10 includes a WWW server program 11 and a higher-level application program 20 that operates in conjunction with the WWW server program 11. The WWW server program 11 has a process 12 for maintaining and managing a session.
Have five. The upper-level application program 20 includes a gateway program 21 that requires maintenance of a session, for example, a database access. The database access gateway program 21 accesses the database 22. The electronic computer 10 is connected to the Internet / intranet,
It can be accessed from the terminal system 30 which is a client on which the browser 40 operates. The WWW browser 40 can operate a program sent from the WWW server 11 as a higher-level application. As a result, the session maintenance program 41 is operated.

【0011】図2はセション管理テーブルの構成例を示
したもので、端末システムアドレス対応に、上位アプリ
ケーションID、セションID、アクセスした時間を記
憶するタイマ値、および、このセションのために割り当
てた電子計算機10内の資源のアドレスを記憶する領域
を持つ。
FIG. 2 shows an example of the structure of a session management table. The upper application ID, the session ID, the timer value for storing the access time, and the electronic value assigned for this session are shown in correspondence with the terminal system address. It has an area for storing the address of a resource in the computer 10.

【0012】図3は本発明によるWWWサーバシステム
のセション維持管理の処理フローの例である。
FIG. 3 shows an example of a processing flow of session maintenance and management of a WWW server system according to the present invention.

【0013】端末システム30のWWWブラウザ40か
らの要求メッセージは、HTTP:Hyper Text Tran
sfer Protocolに従い、端末アドレスを含む。また、す
でにセションを維持する指示がWWWサーバ11から通
知された場合は、セションIDも含む。
The request message from the WWW browser 40 of the terminal system 30 is HTTP: Hyper Text Tran.
According to the sfer protocol, it contains the terminal address. Also, when an instruction to maintain a session has already been notified from the WWW server 11, the session ID is also included.

【0014】端末システム30からの要求メッセージを
WWWサーバ11が受信すると、セション管理が必要な
上位アプリケーション20への処理要求かを判定し、そ
うであれば、セションIDを持っているか否かを判定す
る。
When the request message from the terminal system 30 is received by the WWW server 11, it is determined whether the request is a processing request to the upper application 20 requiring session management, and if so, it is determined whether or not it has a session ID. I do.

【0015】すでにセション管理テーブル15に登録済
みの端末システムアドレスおよびセションIDを持った
要求の場合は、セション管理テーブル15のタイマ値保
存領域にアクセス時間を上書き保存し、要求メッセージ
を上位アプリケーションへ渡す。
In the case of a request having a terminal system address and a session ID already registered in the session management table 15, the access time is overwritten and stored in the timer value storage area of the session management table 15, and the request message is passed to the upper application. .

【0016】セションIDを持っていない場合は、セシ
ョン維持・管理プロセス12がセション管理テーブル1
5に新規登録した後、端末システム30に対しセション
維持プログラム41を送出する。この時同時に、セショ
ン維持のためのセションIDと、もう一度WWWサーバ
に対して同じ要求メッセージを送信するような指示も送
出する。
If there is no session ID, the session maintenance / management process 12 executes the session management table 1
After the new registration in 5, the session maintenance program 41 is sent to the terminal system 30. At this time, a session ID for maintaining the session and an instruction to transmit the same request message to the WWW server again are also transmitted.

【0017】セション維持プログラム41は、端末シス
テム30のWWWブラウザ40の上位アプリケーション
として動作し、一定時間毎に端末システムが稼働中であ
ることを、WWWサーバプログラム11へ通知する。W
WWサーバプログラム11では、端末システム30から
の要求メッセージが、セション維持プログラム41から
のセション維持通知であった場合、セション管理テーブ
ル15のタイマ値保存領域にアクセス時間を上書き保存
する。
The session maintenance program 41 operates as an upper application of the WWW browser 40 of the terminal system 30, and notifies the WWW server program 11 that the terminal system is operating at regular intervals. W
When the request message from the terminal system 30 is a session maintenance notification from the session maintenance program 41, the WW server program 11 overwrites and stores the access time in the timer value storage area of the session management table 15.

【0018】WWWサーバプログラム11のセション維
持・管理プロセス12は、セション維持プログラム41
がセション維持通知を送信する時間間隔より十分長い時
間間隔で、セション管理テーブル15のタイマ値保存領
域を監視し、ある一定の値を越えて過去の時間を持つセ
ションについて、これの持つ電子計算機10内の資源を
解放する。
The session maintenance / management process 12 of the WWW server program 11 includes a session maintenance program 41
Monitors the timer value storage area of the session management table 15 at a time interval sufficiently longer than the time interval at which the session maintenance notification is transmitted, and, for a session having a past time exceeding a certain value, the computer 10 Free resources within.

【0019】本実施例によれば、端末システム30やW
WWブラウザ40のハングアップ等により、セション維
持中の処理が中断した場合でも、WWWサーバプログラ
ム11でセション維持・管理プロセスがセションの中断
を検出することによって、当該セションのために確保し
ていた電子計算機10の資源を早期に解放でき、他のプ
ロセスの円滑な動作に効果がある。また、WWWブラウ
ザ40の利用者の意図しないセションの解放が発生しな
いため、利便性の向上に効果がある。
According to the present embodiment, the terminal system 30 and the W
Even if the processing during the maintenance of the session is interrupted due to a hang-up of the WW browser 40, etc., the session maintenance / management process detects the interruption of the session by the WWW server program 11, and the electronic security secured for the session is detected. The resources of the computer 10 can be released at an early stage, which is effective for smooth operation of other processes. In addition, since a session that the user of the WWW browser 40 does not intend to release is not generated, the convenience is improved.

【0020】[0020]

【発明の効果】以上説明したように、本発明によれば、
WWWサーバシステムから端末システムへセション監視
プログラムを送り込むことで、電子計算機の資源を不当
に浪費することなく、セションの維持管理ができるた
め、電子計算機の資源の効率利用と、利用者の利便性を
向上することができる。
As described above, according to the present invention,
By sending the session monitoring program from the WWW server system to the terminal system, it is possible to maintain and manage the session without unduly consuming computer resources. Therefore, efficient use of computer resources and user's convenience can be achieved. Can be improved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明によるセション維持管理機能を備えたW
WWサーバシステムの構成例を示す図である。
FIG. 1 shows a W having a session maintenance management function according to the present invention.
FIG. 2 is a diagram illustrating a configuration example of a WW server system.

【図2】セション管理テーブルの内容の一例を示す図で
ある。
FIG. 2 is a diagram showing an example of the contents of a session management table.

【図3】本発明によるセション維持管理処理のフロー例
を示す図である。
FIG. 3 is a diagram showing an example of a flow of a session maintenance management process according to the present invention.

【符号の説明】[Explanation of symbols]

10…電子計算機システム、 11…WWWサー
バプログラム、12…セション維持・管理プロセス、1
5…セション管理テーブル、41…セション維持プログ
ラム。
10: Computer system, 11: WWW server program, 12: Session maintenance / management process, 1
5: session management table; 41: session maintenance program.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】WWW(World Wide Web)技術を使用
したWWWサーバシステムで、セションの維持を行うた
めにクライアント側にプログラムを送り込み、そのプロ
グラムからの通知でクライアントの稼動状況をモニター
することを特徴とする、WWWサーバのセション維持管
理方式。
1. A WWW server system using WWW (World Wide Web) technology, wherein a program is sent to a client side to maintain a session, and the operating status of the client is monitored based on a notification from the program. WWW server session maintenance management system.
【請求項2】WWW(World Wide Web)技術を使用
したWWWサーバシステムで、セションの維持を行うた
めにクライアント側にプログラムを送り込み、そのプロ
グラムからの通知により、セション維持中のクライアン
トを、サーバ側から切断しないことを特徴とする、WW
Wサーバのセション維持管理方式。
2. In a WWW server system using WWW (World Wide Web) technology, a program is sent to a client side in order to maintain a session, and a client maintaining a session is sent to the server side by a notification from the program. WW, characterized by not being cut from
W server session maintenance management system.
【請求項3】WWW(World Wide Web)技術を使用
したWWWサーバシステムで、セションの維持を行うた
めにクライアント側にプログラムを送り込み、そのプロ
グラムからの通知が途絶えることでクライアントの障害
を認識し、サーバ側でセションを解放することを特徴と
する、WWWサーバのセション維持管理方式。
3. In a WWW server system using WWW (World Wide Web) technology, a program is sent to a client in order to maintain a session, and when a notification from the program is interrupted, a failure of the client is recognized. A session maintenance and management system for a WWW server, characterized by releasing a session on a server side.
JP9134727A 1997-05-26 1997-05-26 Session maintenance control system for www server Pending JPH10326207A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9134727A JPH10326207A (en) 1997-05-26 1997-05-26 Session maintenance control system for www server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9134727A JPH10326207A (en) 1997-05-26 1997-05-26 Session maintenance control system for www server

Publications (1)

Publication Number Publication Date
JPH10326207A true JPH10326207A (en) 1998-12-08

Family

ID=15135196

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9134727A Pending JPH10326207A (en) 1997-05-26 1997-05-26 Session maintenance control system for www server

Country Status (1)

Country Link
JP (1) JPH10326207A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000222320A (en) * 1999-01-28 2000-08-11 Hitachi Information Systems Ltd Database session managing method of www server-client system and server-client system using same
EP1562114A1 (en) 2004-02-09 2005-08-10 Canon Kabushiki Kaisha Apparatus and method for managing client sessions with a server
JP2009502087A (en) * 2005-07-19 2009-01-22 サムスン エレクトロニクス カンパニー リミテッド Method and system for transmitting asynchronous notification to network device
JP2009146404A (en) * 2007-12-14 2009-07-02 Iti Scotland Ltd Dynamic code update
JP2011210107A (en) * 2010-03-30 2011-10-20 Nippon Telegr & Teleph Corp <Ntt> Message queue management system, lock server, message queue management method, and message queue management program
JP2012185601A (en) * 2011-03-04 2012-09-27 Konami Digital Entertainment Co Ltd Distribution system, server device, terminal device, service method, terminal method and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000222320A (en) * 1999-01-28 2000-08-11 Hitachi Information Systems Ltd Database session managing method of www server-client system and server-client system using same
EP1562114A1 (en) 2004-02-09 2005-08-10 Canon Kabushiki Kaisha Apparatus and method for managing client sessions with a server
US7475147B2 (en) 2004-02-09 2009-01-06 Canon Kabushiki Kaisha Information processing apparatus and method, computer storage medium, and program
JP2009502087A (en) * 2005-07-19 2009-01-22 サムスン エレクトロニクス カンパニー リミテッド Method and system for transmitting asynchronous notification to network device
JP2009146404A (en) * 2007-12-14 2009-07-02 Iti Scotland Ltd Dynamic code update
JP2011210107A (en) * 2010-03-30 2011-10-20 Nippon Telegr & Teleph Corp <Ntt> Message queue management system, lock server, message queue management method, and message queue management program
JP2012185601A (en) * 2011-03-04 2012-09-27 Konami Digital Entertainment Co Ltd Distribution system, server device, terminal device, service method, terminal method and program

Similar Documents

Publication Publication Date Title
US6470398B1 (en) Method and apparatus for supporting a select () system call and interprocess communication in a fault-tolerant, scalable distributed computer environment
US7188145B2 (en) Method and system for dynamic distributed data caching
US7035911B2 (en) Method and system for community data caching
US5781737A (en) System for processing requests for notice of events
US6487581B1 (en) Apparatus and method for a multi-client event server
US5872929A (en) Method and system for managing terminals in a network computing system using terminal information including session status
JPH05207025A (en) System and method for acquisition of netwrok performance data
JP2000293497A (en) Generation system for cluster node relief signal
US5857076A (en) Program product for obtaining the state of network resources in A distributed computing environment
US5768523A (en) Program product for processing requests for notice of events
US5781736A (en) Method for obtaining the state of network resources in a distributed computing environment by utilizing a provider associated with indicators of resource states
US6622167B1 (en) Document shadowing intranet server, memory medium and method
JPH10326207A (en) Session maintenance control system for www server
JP3906890B2 (en) Network equipment
US20020188766A1 (en) System and method for communicating information between application programs
JPH11316727A (en) Security system
JP2000047912A (en) Method and device for monitorning network service and storage medium having recorded network service monitor program thereon
JP2004133839A (en) Device and program for distributing server
JP3597513B2 (en) Packet relay device, packet relay method, packet relay program, and computer-readable recording medium recording packet relay program
JPH0746287A (en) On-line system
JP2004213122A (en) Stable operation method of control system by client/server and program therefor
US7493625B2 (en) Hierarchical event filtering for multiple parent event types
JP4110129B2 (en) Computer system control method, computer system, and control program
JP2001331398A (en) Server-managing system
JP2002149534A (en) Proxy server, communication method using the same and recording medium

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040330