JP2014021812A - Connection state management device and program of the same - Google Patents

Connection state management device and program of the same Download PDF

Info

Publication number
JP2014021812A
JP2014021812A JP2012161290A JP2012161290A JP2014021812A JP 2014021812 A JP2014021812 A JP 2014021812A JP 2012161290 A JP2012161290 A JP 2012161290A JP 2012161290 A JP2012161290 A JP 2012161290A JP 2014021812 A JP2014021812 A JP 2014021812A
Authority
JP
Japan
Prior art keywords
connection status
connection
function
user
history information
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
JP2012161290A
Other languages
Japanese (ja)
Other versions
JP5891140B2 (en
Inventor
Kenichi Furukawa
研一 古川
Shuhei Masuno
修平 増野
Tatsuya Omote
達也 表
Kohei Kaneda
光平 金田
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.)
Fujitsu Marketing Ltd
Original Assignee
Fujitsu Marketing 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 Fujitsu Marketing Ltd filed Critical Fujitsu Marketing Ltd
Priority to JP2012161290A priority Critical patent/JP5891140B2/en
Publication of JP2014021812A publication Critical patent/JP2014021812A/en
Application granted granted Critical
Publication of JP5891140B2 publication Critical patent/JP5891140B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To manage the connection state of a client and a server such that mismatching can be prevented from being generated in the processing state of a user who operates a client or stored data by changing the connection state in a proper timing.SOLUTION: The connection state management device includes: a first connection state change processing execution section for, when a request for the change of a connection state is made, acquiring whether or not a function which is being used by a user is a function whose connection state is forcedly changeable from function information, and for, when the connection state is changeable, changing the connection state; and a second connection state change processing execution section for, when a request for the connection of the function of a server application is made from a client application, referring to the function which is being used by the user and the connection state of connection history information, and for, when the connection state is changeable, changing the connection state.

Description

本発明は,接続状態管理装置およびそのプログラムに関し,特に,クライアントサーバ型のアプリケーションにおいて,クライアントアプリケーションとサーバアプリケーションの接続状態をセッション情報として管理することによって接続状態を管理する接続状態管理技術に関するものである。   The present invention relates to a connection state management apparatus and a program thereof, and more particularly to a connection state management technique for managing a connection state by managing a connection state between a client application and a server application as session information in a client server type application. is there.

近年,コンピュータによるアプリケーションの実行方式として,コンピュータネットワークを介したクライアントサーバ型のアプリケーション実行モデルが数多く採用されている。クライアントサーバ型のアプリケーション実行モデルでは,アプリケーションの処理はクライアント端末とサーバ装置とで分散して行われる。一般的には,クライアント端末のアプリケーションでは,アプリケーションの処理要求の入力や,実行結果の表示処理が行われる。クライアント端末装置で入力された処理要求はコンピュータネットワークを経由して,サーバ装置に送信され,サーバ装置では処理要求に応じてアプリケーション機能の処理が実行される。サーバ装置での処理結果は再びコンピュータネットワークを経由して,クライアント端末に送信され,クライアント端末のアプリケーションではサーバ装置による処理結果の表示が行われる。   In recent years, many client-server application execution models via computer networks have been adopted as computer application execution methods. In the client server type application execution model, application processing is performed in a distributed manner between client terminals and server devices. In general, in a client terminal application, an application processing request is input and an execution result display process is performed. The processing request input by the client terminal device is transmitted to the server device via the computer network, and the processing of the application function is executed in response to the processing request in the server device. The processing result in the server device is transmitted again to the client terminal via the computer network, and the processing result is displayed by the server device in the client terminal application.

このようなネットワークを利用したクライアントサーバ型のアプリケーション実行モデルとして,例えば,WEB(World Wide Web)アプリケーションのような仕組みが知られている。WEBアプリケーションでは,クライアント端末にはクライアントアプリケーションとしてWEBブラウザがあれば,必要に応じて処理を行うサーバ装置であるWEBサーバにWEBブラウザから接続し,WEBサーバでアプリケーション処理を実行させることによって,クライアント端末側にはWEBブラウザ以外のアプリケーションを導入することなしに,WEBサーバで提供されるさまざまなアプリケーションのサービスを受けることができる。   As a client-server type application execution model using such a network, for example, a mechanism such as a WEB (World Wide Web) application is known. In the WEB application, if the client terminal has a WEB browser as a client application, the client terminal is connected to the WEB server, which is a server device that performs processing as necessary, and the application processing is executed by the WEB server. It is possible to receive services of various applications provided by the WEB server without introducing any application other than the WEB browser on the side.

サーバアプリケーションはネットワークを経由して不特定多数のクライアントアプリケーションから利用される可能性があるため,通常はサーバアプリケーションを利用するために認証処理が必要となる場合が多い。認証処理が必要なクライアントサーバ型のアプリケーションでは,サーバアプリケーションでクライアントアプリケーションからの認証処理を受付け,認証処理の結果を接続状態として管理する。認証処理が正しく行われたクライアントアプリケーションはサーバアプリケーションと接続状態にあると管理され,サーバアプリケーションの利用が可能となる。認証処理が行われてないとクライアントアプリケーションとサーバアプリケーションは接続状態にないと管理され,サーバアプリケーションの利用を行う事ができない。   Since the server application may be used by an unspecified number of client applications via the network, authentication processing is usually required in order to use the server application. In a client server type application that requires authentication processing, the server application accepts authentication processing from the client application, and manages the result of the authentication processing as a connection state. A client application that has been correctly authenticated is managed as being connected to the server application, and the server application can be used. If authentication processing is not performed, the client application and the server application are managed if they are not connected, and the server application cannot be used.

このような接続状態などのクライアントアプリケーションの状態をサーバアプリケーション側で保持するために,セッションと呼ばれる識別子を用いてサーバアプリケーション側でクライアントアプリケーションの状態を管理する技術が広く利用されている。セッションとは,サーバで保持されるクライアントの接続情報を管理するための情報のことである。例えば,WEBアプリケーションにおいては,クライアントからサーバに接続されると,サーバ側で接続クライアント別に一意のセッション識別子が割り当てられ,セッション識別子に対応してセッション情報がサーバ側に作成される。セッション情報には,クライアントとサーバの「接続,通信,切断」の状態を管理するための情報が記録される。具体的には,セッション情報として,「クライアントがサーバに接続した時刻」「クライアントの接続時間」「クライアントがサーバとの接続を切断した時刻」「サーバアプリケーションの処理結果」「クライアントアプリケーションで入力された情報」などの様々な情報が保存される。   In order to hold the client application state such as the connection state on the server application side, a technique for managing the client application state on the server application side using an identifier called a session is widely used. A session is information for managing client connection information held by a server. For example, in a WEB application, when a client connects to a server, a unique session identifier is assigned to each connected client on the server side, and session information is created on the server side corresponding to the session identifier. In the session information, information for managing the status of “connection, communication, disconnection” between the client and the server is recorded. Specifically, the session information was entered by the client application time, client connection time, client disconnection time from the server, server application processing results, and client application. Various information such as “information” is stored.

サーバ側で作成されたセッション識別子はクライアントアプリケーションに送信される。クライアントアプリケーションでは,このセッション識別子をサーバに処理を要求する都度,処理要求と合わせてサーバに送信する。サーバではセッション識別子と対応付けてセッション情報を保存しているため,セッション識別子を元にクライアントアプリケーションの前回の接続情報をセッション情報から取得することができる。   The session identifier created on the server side is sent to the client application. The client application sends this session identifier to the server together with the processing request each time the server requests processing. Since the server stores session information in association with the session identifier, the previous connection information of the client application can be acquired from the session information based on the session identifier.

このような仕組みによりセッション情報がサーバで管理され,先に述べた接続状態もセッションによって管理される事が一般的である。セッション情報はサーバ側に保存されるため,削除せずに保存し続けると,サーバ側のディスク容量の圧迫や,データ量増大による処理能力の低下につながる恐れがある。そこで,通常は,セッション情報は無限に保存されるのではなく,一定時間クライアントアプリケーションからの接続が無かった場合には,サーバ側でセッションタイムアウト処理が発生し,セッション情報を削除する処理が行われる。   In general, the session information is managed by the server by such a mechanism, and the connection state described above is generally managed by the session. Session information is stored on the server side, so if you continue to store it without deleting it, it may lead to compression on the server's disk capacity or a decrease in processing capacity due to an increase in the amount of data. Therefore, normally, session information is not stored indefinitely. If there is no connection from a client application for a certain period of time, session timeout processing occurs on the server side, and processing for deleting session information is performed. .

しかし,クライアントが接続状態であるにも関わらず,一定時間処理を中断してしまうと,セッションタイムアウト処理により,これまでにクライアントからの要求に応じてサーバ側で行ってきた処理が,途中で中断されてしまう事となる。そうなると,処理中のデータが突然に失われてしまう事となり,サーバ側で行ってきた処理に不整合が生じたり,保持しているサーバデータの一貫性に矛盾が生じたりする危険性がある。   However, if the processing is interrupted for a certain period of time even though the client is connected, the processing that has been performed on the server side in response to the request from the client is interrupted by the session timeout processing. It will be done. In such a case, the data being processed is suddenly lost, and there is a risk that the processing performed on the server side will be inconsistent and the consistency of the stored server data may be inconsistent.

このように,クライアント側で処理を行っている最中に,セッションタイムアウト処理によりセッション情報が破棄されてしまい,処理の不整合やデータの矛盾が生じないようにするために,クライアントの操作状況に応じて,サーバにダミーリクエストを送信し,セッションタイムアウト時間を自動延長する技術が知られている。   In this way, in order to prevent session inconsistencies and data inconsistencies from occurring due to session time-out processing during processing on the client side, the client operation status is changed. In response, a technique is known in which a dummy request is sent to the server to automatically extend the session timeout time.

特開2008−026945号公報JP 2008-026945 A

従来技術において,セッションタイムアウト処理を発生させないことによって,セッション情報が破棄される事を防止することが可能である。しかし,サーバ装置のメンテナンスを行う場合においては,たとえサーバに接続中のクライアントがあったとしてもサーバの停止や再起動を行わなければならない。このような場合においては,サーバ側で保持しているセッション情報を参照し,接続中のクライアントがある場合には,サーバの停止や再起動を行わないようしなければならない。   In the prior art, it is possible to prevent session information from being discarded by not generating session timeout processing. However, when performing maintenance on the server device, the server must be stopped or restarted even if there is a client connected to the server. In such a case, it is necessary to refer to the session information held on the server side, and to stop or restart the server if there is a connected client.

例えば,WEBアプリケーションにおいては,クライアントを利用する利用者がサーバアプリケーションにログイン処理を行うことによってセッション情報が作成され,ログアウト処理を行うことによってセッション情報は破棄される。そして,セッション情報の中に接続状態が記録されている。そのため,セッション情報が参照できれば,接続中のユーザが居る場合にはサーバの停止や再起動は行わずに,全ての利用者がログアウト処理を行い接続中で無くなるのを待ってサーバの停止や再起動を行うようにすることができる。   For example, in a WEB application, session information is created when a user using a client performs login processing to the server application, and session information is discarded by performing logout processing. The connection state is recorded in the session information. Therefore, if the session information can be referred to, if there is a connected user, the server is not stopped or restarted, and all users log out and wait for the connection to stop and stop or restart the server. You can make it start.

しかし,利用者がどのタイミングでログアウト処理を行うか不定なため,利用者がログアウト処理を長時間行わないと,何時まで経ってもサーバの停止や再起動を行うことができない。そのため,強制的に利用者のログアウト処理を実行し,セッション情報を破棄したり,接続状態を変更したりする事も可能ではあるが,利用者は操作を行っている途中で突然に処理が中断されるという不具合がある。さらには,処理が途中で中断されることによりこれまで行ってきた処理に不整合が発生したり,データの矛盾が発生したりという問題が発生する可能性もある。   However, since it is uncertain when the user performs logout processing, if the user does not perform logout processing for a long time, the server cannot be stopped or restarted after any time. Therefore, it is possible to forcibly execute the user logout process, discard the session information, or change the connection status, but the user suddenly interrupts the process while performing the operation. There is a bug that is done. Furthermore, there is a possibility that the processing that has been performed so far may be inconsistent or data inconsistency may occur due to the processing being interrupted in the middle.

本発明は上記の課題を解決する事を可能としたものであり,適切なタイミングでクライアントとサーバの接続状態を変更し,クライアントを操作する利用者の処理状態や保持されるデータに不整合は生じないように接続状態の管理をすることを可能とするものである。   The present invention has made it possible to solve the above-mentioned problems. The connection state between the client and the server is changed at an appropriate timing, and there is no inconsistency in the processing state of the user who operates the client and the retained data. It is possible to manage the connection state so that it does not occur.

上記課題を解決するために,本発明における接続状態管理装置は,クライアントアプリケーションから接続要求されたサーバアプリケーションの機能を利用履歴情報として記憶する利用履歴情報記憶部と,クライアントアプリケーションのサーバアプリケーションへの接続状況を接続履歴情報として記憶する接続履歴情報記憶部と,前記サーバアプリケーションの機能を利用中に強制的に接続状況を変更可能かどうかの機能情報を記憶するアプリケーション情報記憶部と,前記接続状況の変更要求を受け付ける接続状況変更処理受付部と,前記接続状況の変更要求を受付けた場合に,前記利用履歴情報,接続履歴情報,機能情報から,変更する接続状況を決定し,接続履歴情報に記録する第1の接続状況変更処理実行部と,前記クライアントアプリケーションから前記サーバアプリケーションの機能に接続要求があった場合に,要求があった機能を前記利用履歴情報として記録する利用状況取得部と,前記利用状況取得部において利用履歴情報が記録された際に,前記利用履歴情報,接続履歴情報,機能情報から,前記接続状況を変更するかどうか判定し,変更する場合は,変更した接続状況を接続履歴情報に記録する第2の接続状況変更処理実行部とから構成される。   In order to solve the above-described problem, the connection state management device according to the present invention includes a usage history information storage unit that stores, as usage history information, a function of a server application requested to be connected by a client application, and connection of the client application to the server application. A connection history information storage unit that stores the status as connection history information, an application information storage unit that stores function information indicating whether the connection status can be forcibly changed while using the function of the server application, When the connection status change processing accepting unit that accepts a change request and the connection status change request are accepted, the connection status to be changed is determined from the usage history information, connection history information, and function information, and recorded in the connection history information A first connection status change processing execution unit that performs the client and the client When a connection request is made to the function of the server application from an application, a usage status acquisition unit that records the requested function as the usage history information, and when usage history information is recorded in the usage status acquisition unit In addition, it is determined whether or not to change the connection status from the usage history information, connection history information, and function information, and if so, a second connection status change process is executed to record the changed connection status in the connection history information. It consists of parts.

この接続状態管理装置の概要は次の通りである。
(1)利用履歴情報記憶部は,クライアントアプリケーションから接続要求されたサーバアプリケーションの機能を利用履歴情報として記憶する。利用履歴情報とは,クライアントアプリケーションを利用する利用者別に,サーバアプリケーション上で稼働するどの機能をクライアントアプリケーションから利用中であるのかを記録するものである。利用者は利用者ID又はセッションIDによって特定され,利用中の機能は機能IDによって特定される。
The outline of this connection state management apparatus is as follows.
(1) The usage history information storage unit stores the function of the server application requested for connection from the client application as usage history information. The usage history information records which function running on the server application is being used from the client application for each user who uses the client application. The user is specified by the user ID or the session ID, and the function being used is specified by the function ID.

(2)接続履歴情報記憶部は,クライアントアプリケーションのサーバアプリケーションへの接続状況をログイン履歴情報として記憶している。接続履歴情報とは,クライアントアプリケーションを利用する利用者別に,クライアントアプリケーションとサーバアプリケーションとの接続状況がどのような状態であるのかを記録するものである。接続状況としては例えば「オンライン」「強制ログアウト」「ログアウト」の様な接続状態がある。「オンライン」とはクライアントアプリケーションがサーバアプリケーションを利用中であることを表し,「強制ログアウト」とはクライアントアプリケーションがサーバアプリケーションを利用中ではあるが,ログアウト処理(切断処理)の待ち状態であることを表し,「ログアウト」とはクライアントアプリケーションがサーバアプリケーションを利用中していない状態,すなわち切断中であることを表す。   (2) The connection history information storage unit stores the connection status of the client application to the server application as login history information. The connection history information is a record of the connection status between the client application and the server application for each user who uses the client application. The connection status includes connection status such as “online”, “forced logout”, and “logout”. "Online" means that the client application is using the server application, and "forced logout" means that the client application is using the server application but is waiting for logout processing (disconnection processing). “Logout” indicates that the client application is not using the server application, that is, is disconnected.

(3)アプリケーション情報記録部は,サーバアプリケーションの機能が強制的に接続状況を変更可能かどうかの機能情報を記憶している。強制的に接続状況を変更可能かどうかの機能情報とは,サーバアプリケーションの有する機能別に,各機能を利用中の利用者の接続状況の変更を行ってもよいかどうかを設定した情報のことである。   (3) The application information recording unit stores function information indicating whether the function of the server application can forcibly change the connection status. The function information that indicates whether the connection status can be forcibly changed is information that specifies whether the connection status of the user who is using each function can be changed for each function of the server application. is there.

(4)接続状況変更処理受付部は,接続状況の変更要求の受付けを行う。すなわち,サーバアプリケーションを利用中の利用者を利用者IDやセッションIDを指定して特定し,特定した利用者の接続状況の変更要求を受け付ける。利用者の特定は,例えば,機能IDを指定して指定された機能IDを利用する利用者を利用履歴情報から取得することで特定してもよい。   (4) The connection status change process accepting unit accepts a connection status change request. That is, a user who is using the server application is specified by specifying a user ID and a session ID, and a request for changing the connection status of the specified user is accepted. For example, the user may be specified by specifying a function ID and acquiring a user who uses the specified function ID from the usage history information.

(5)第1の接続状況変更処理実行部は,接続状況変更処理受付部が接続状況変更処理要求を受付けた場合に,利用履歴情報,機能情報から,変更する接続状況を決定し,前記接続履歴情報に記録する処理を行う。具体的には,第1の接続状況変更処理実行部は,利用履歴情報からクライアントアプリケーションが利用中のサーバアプリケーションの機能が何であるかを取得し,利用中の機能が強制的に接続状況を変更可能な機能であるかどうかを機能情報から取得する。例えば,強制的に接続状況を変更可能な機能である場合は,接続履歴情報の接続状況を「ログアウト」として記録し,強制的に接続状況を変更可能な機能でない場合は,接続履歴情報の接続状況を「強制ログアウト」として記録する。   (5) When the connection status change processing accepting unit receives the connection status change processing request, the first connection status change processing execution unit determines the connection status to be changed from the usage history information and function information, and the connection Processing to record in history information is performed. Specifically, the first connection status change processing execution unit acquires what the function of the server application that the client application is using from the usage history information, and the function being used forcibly changes the connection status. Acquire from the function information whether the function is possible. For example, if it is a function that can forcibly change the connection status, the connection status in the connection history information is recorded as “logout”, and if it is not a function that can forcibly change the connection status, the connection history information connection Record the situation as "forced logout".

(6)利用状況取得部は,クライアントアプリケーションからサーバアプリケーションの機能に接続要求があった場合に,要求があった機能を利用履歴情報に記録する。これによって,利用履歴情報には,クライアントアプリケーションが利用中のサーバアプリケーションの機能が記録されることとなる。   (6) When there is a connection request from the client application to the function of the server application, the usage status acquisition unit records the requested function in the usage history information. As a result, the function of the server application being used by the client application is recorded in the usage history information.

(7)第2の接続状況変更処理実行部は,利用状況取得部において利用履歴情報が記録された際に,利用履歴情報,接続履歴情報,機能情報から,前記接続状況を変更するかどうか判定し,変更する場合は,変更した接続状況を接続履歴情報に記録する。例えば,第2の接続状況変更処理実行部は,クライアントアプリケーションからサーバアプリケーションの機能に接続要求があり,利用状況取得部において利用履歴情報が記録された際に,接続履歴情報の接続状況を参照し「強制ログアウト」状態になっていた場合は,利用履歴情報からクライアントアプリケーションが利用中のサーバアプリケーションの機能が何であるかを取得し,利用中の機能が強制的に接続状況を変更可能な機能であるかどうかを機能情報から取得する,強制的に接続状況を変更可能な機能である場合は,接続履歴情報の接続状況を「ログアウト」として記録する。   (7) The second connection status change processing execution unit determines whether to change the connection status from the usage history information, the connection history information, and the function information when the usage history information is recorded in the usage status acquisition unit. When changing the connection status, record the changed connection status in the connection history information. For example, the second connection status change processing execution unit refers to the connection status of the connection history information when a connection request is made from the client application to the function of the server application and the usage history information is recorded in the usage status acquisition unit. If it is in the "forced logout" status, the function that can be used to acquire the server application function being used by the client application from the usage history information and forcibly change the connection status. If it is a function that can be obtained from the function information and forcibly change the connection status, the connection status in the connection history information is recorded as “logout”.

また,本発明の一態様においては,前記利用状況取得部は,前記クライアントアプリケーションから前記サーバアプリケーションの機能に接続要求があった場合に,前記接続履歴情報から接続要求を処理できるかどうかを判定し,接続要求があった機能の処理を抑制する機能を有する。例えば,利用状況取得部は,クライアントアプリケーションからサーバアプリケーションの機能に接続要求があった場合に,接続履歴情報の接続状況を取得し,接続状況が「ログアウト」であった場合には,接続要求があった機能の処理を行わないことにより,クライアントアプリケーションとサーバアプリケーションの接続状態が接続中でない場合には,サーバアプリケーションの利用を抑制することができる。   Also, in one aspect of the present invention, the usage status acquisition unit determines whether a connection request can be processed from the connection history information when a connection request is made from the client application to the function of the server application. , Has a function of suppressing processing of a function requested to be connected. For example, the usage status acquisition unit acquires the connection status in the connection history information when a connection request is received from the client application to the function of the server application. If the connection status is “logout”, the connection request is By not performing the processing of the function, the use of the server application can be suppressed when the connection state between the client application and the server application is not connected.

さらに,本発明における接続状態管理装置の他の構成として,前記接続状態管理装置の構成において,前記利用接続履歴情報を前記クライアントアプリケーションに送信する接続状況提供部をさらに備え,前記接続状況変更処理受付部は,複数の接続状況の変更要求を同時に受付ける機能を有する接続状態管理装置としてもよい。すなわち,接続状況提供部は,接続履歴情報記憶部に記録されている接続履歴情報をクライアントアプリケーションに送信する。これによってクライアントアプリケーションの利用者は,現在サーバアプリケーションを利用している利用者の接続状況を知ることができる。そして,接続状況変更処理受付部は,複数の接続状況の変更要求を同時に受付けることによって,クライアントアプリケーションの利用者は,現在サーバアプリケーションを利用している複数の利用者の接続状況を一括して変更することができる。   Furthermore, as another configuration of the connection status management device according to the present invention, the configuration of the connection status management device further includes a connection status providing unit that transmits the use connection history information to the client application, and the connection status change processing acceptance The unit may be a connection state management device having a function of simultaneously accepting a plurality of connection status change requests. That is, the connection status providing unit transmits the connection history information recorded in the connection history information storage unit to the client application. As a result, the user of the client application can know the connection status of the user who is currently using the server application. The connection status change processing accepting unit simultaneously accepts a plurality of connection status change requests, so that the user of the client application can change the connection status of a plurality of users who are currently using the server application in a batch. can do.

本発明によれば,接続状態管理装置は,接続状況の変更要求があった場合であっても,即座に接続状況を変更するのではなく,接続状況の変更要求があった利用者の利用中のサーバアプリケーションの機能が接続状況の変更をしても問題無い機能である場合のみ接続状況を変更するため,利用者がサーバアプリケーションの機能を利用中であるにも関わらず,処理の途中で接続状況が変更され,処理を続行できなくなるという事態を回避することが可能となる。さらには,利用者の接続状況を変更したいが,利用中の機能が接続状況の変更を許可されていない機能である場合であっても,利用者のサーバアプリケーションの機能を利用する処理が完了し,接続状況を変更しても問題が発生しない状態となると,自動的に接続状況を変更することができるため,利用者の処理を中断させることなく,利用者の処理状況に応じて問題が発生しない状況となった場合に利用者の接続状況を安全に変更させることが可能となる。   According to the present invention, even when a connection status change request is made, the connection status management device does not immediately change the connection status but is currently using the user who has requested the connection status change. Since the connection status is changed only when the server application function is a function that does not cause a problem even if the connection status is changed, the connection is made in the middle of the process even though the user is using the server application function. It is possible to avoid a situation in which the situation has changed and processing cannot be continued. Furthermore, even when the user's connection status is desired to be changed, but the function being used is a function that is not permitted to change the connection status, the process of using the user's server application function is completed. If there is no problem even if the connection status is changed, the connection status can be changed automatically, so problems occur according to the user's processing status without interrupting the user's processing. It becomes possible to change a user's connection condition safely when it becomes the situation which does not carry out.

接続状況管理装置が用いられるシステムの全体構成図である。1 is an overall configuration diagram of a system in which a connection status management apparatus is used. 従来のセッション情報管理を表す処理フローチャートである。It is a process flowchart showing the conventional session information management. 従来の接続状態の管理方法を表す処理フローチャートである。It is a process flowchart showing the management method of the conventional connection state. ログイン状況の変更を指示する画面の例である。It is an example of the screen which instruct | indicates the login status change. 接続状況変更の指示を行う処理フローチャートである。It is a process flowchart which instruct | indicates a connection status change. 接続状況変更の処理を行う処理フローチャートである。It is a process flowchart which performs the process of a connection status change. 接続状況変更の処理を行う処理フローチャートである。It is a process flowchart which performs the process of a connection status change. ログイン履歴情報の例を示す図である。It is a figure which shows the example of login log information. 利用履歴情報の例を示す図である。It is a figure which shows the example of usage history information. アプリケーション情報の例を示す図である。It is a figure which shows the example of application information. セッション管理情報の例を示す図である。It is a figure which shows the example of session management information.

以下に,本願の開示する接続状況管理装置およびそのプログラムの実施例を図面に基づいて詳細に説明する。なお,以下に示す実施例では,クライアントサーバ型のアプリケーション実行方式において,クライアントアプリケーションを操作してサーバアプリケーションの機能を利用する利用者からのログイン処理によってクライアントアプリケーションとサーバアプリケーションの接続が確立され,利用者からのログアウト処理によって接続が切断される場合に,利用者以外のサーバアプリケーションの管理を行うシステム管理者が強制的に強制ログアウト処理を実行し,クライアントアプリケーションとサーバアプリケーションの接続を切断させる場合の例について説明する。しかしながら,本願の開示する接続状況管理装置およびそのプログラムの実施例は,以下で説明するものに限られるわけではなく,クライアントアプリケーションとサーバアプリケーションの接続状況を管理する各種装置にも同様に適用することが可能である。   Hereinafter, embodiments of the connection status management device and the program disclosed in the present application will be described in detail with reference to the drawings. In the following embodiment, in the client server type application execution method, the connection between the client application and the server application is established by the login process from the user who operates the client application and uses the function of the server application. When the system administrator who manages the server application other than the user forcibly executes the forced logout process to disconnect the connection between the client application and the server application when the connection is disconnected by the logout process from the user An example will be described. However, the connection status management device and the embodiment of the program disclosed in the present application are not limited to those described below, and are similarly applied to various devices that manage the connection status between the client application and the server application. Is possible.

最初に,本実施例に係る接続状況管理装置の全体構成の概要について説明する。図1は,本実施例に係る接続状況管理装置の全体構成を示す図である。接続状況管理装置1は,サーバアプリケーション3から制御されることによってクライアントアプリケーション2とサーバアプリケーション3との接続状況を管理する。接続状況管理装置1は,アプリケーション情報記憶部110,接続履歴情報記憶部120,利用履歴情報記憶部130,及び,接続状況変更処理受付部101,利用状況取得部102,接続状況変更処理実行部103,接続状況提供部104から構成される。   First, an overview of the overall configuration of the connection status management apparatus according to the present embodiment will be described. FIG. 1 is a diagram illustrating an overall configuration of a connection status management apparatus according to the present embodiment. The connection status management apparatus 1 manages the connection status between the client application 2 and the server application 3 by being controlled by the server application 3. The connection status management apparatus 1 includes an application information storage unit 110, a connection history information storage unit 120, a usage history information storage unit 130, a connection status change process reception unit 101, a usage status acquisition unit 102, and a connection status change process execution unit 103. , The connection status providing unit 104.

まず,接続状況管理装置1の有する各記憶部について説明する。   First, each storage unit included in the connection status management apparatus 1 will be described.

アプリケーション情報記憶部110は,サーバアプリケーション3が有する機能と当該機能を利用中の利用者の接続状況を強制的に変更することができるかどうかのアプリケーション情報を記憶する。図10は本実施例におけるアプリケーション情報の例を示す図である。アプリケーション情報記憶部110は,図10に示されるように「機能画面ID」「機能画面名」「接続状況変更可否」の情報を有する。「機能画面ID」はサーバアプリケーション3が有する機能を一意に識別するための識別子であり,「機能画面名」は「機能画面ID」に対応して付けられる機能の名称である。「接続状況変更可否」は,当該機能画面IDの機能を利用している最中の利用者の接続状況を強制的に変更できるかどうかを記憶するものである。   The application information storage unit 110 stores application information indicating whether the function of the server application 3 and the connection status of a user who is using the function can be forcibly changed. FIG. 10 is a diagram illustrating an example of application information in the present embodiment. As shown in FIG. 10, the application information storage unit 110 includes information on “function screen ID”, “function screen name”, and “connection status change permission / inhibition”. “Function screen ID” is an identifier for uniquely identifying a function of the server application 3, and “Function screen name” is a name of a function assigned in correspondence with “Function screen ID”. “Connection status change permission / rejection” stores whether or not the connection status of the user who is using the function of the function screen ID can be forcibly changed.

例えば,「機能画面ID」が”Top010",「機能画面名」が”トップ画面”,「接続状況変更可否」が"可能”と記憶されている場合は,機能画面名”トップ画面”の識別子は”Top010”であり,トップ画面を利用中の利用者の接続状況を強制的に変更できることを意味し,「機能画面ID」が”JyuEntry002",「機能画面名」が”受注入力画面”,「接続状況変更可否」が"不可”と記憶されている場合は,機能画面名”受注入力画面”の識別子は”JyuEntry002”であり,受注入力画面を利用中の利用者の接続状況を強制的に変更できることはできない事を意味する。   For example, if "Function screen ID" is stored as "Top010", "Function screen name" is stored as "Top screen", and "Connection status change possibility" is stored as "Possible", the identifier of the function screen name "Top screen" Is “Top010”, which means that the connection status of the user who is using the top screen can be forcibly changed. “Function screen ID” is “JyuEntry002”, “Function screen name” is “Order entry screen”, When "Not available" is stored for "Connection status change possibility", the identifier of the function screen name "Order entry screen" is "JyuEntry002", and the connection status of the user who is using the order entry screen is forced It means that it cannot be changed.

接続履歴情報記憶部120は,利用者が操作するクライアントアプリケーション2とサーバアプリケーション3との接続状況を記憶する。図8は本実施例における接続履歴情報の例を示す図である。接続履歴情報は,図8に示されるように「利用者ID」「利用者名」「会社名」「接続元IPアドレス」「ログイン日時」「接続状況」の情報を有する。「利用者ID」はクライアントアプリケーション2を操作してサーバアプリケーション3の機能を利用する利用者を一意に識別する識別子である,「利用者名」は「利用者ID」に対応して付けられる利用者の名称であり,「会社名」は利用者の属する会社の名称である。「接続元IPアドレス」は利用者が操作するクライアントアプリケーション2に設定されているIPアドレスを表す。「接続状況」は利用者の操作するクライアントアプリケーション2とサーバアプリケーション3との接続状況を表す。   The connection history information storage unit 120 stores the connection status between the client application 2 and the server application 3 operated by the user. FIG. 8 is a diagram showing an example of connection history information in the present embodiment. As shown in FIG. 8, the connection history information includes information of “user ID”, “user name”, “company name”, “connection source IP address”, “login date / time”, and “connection status”. “User ID” is an identifier that uniquely identifies a user who operates the client application 2 and uses the function of the server application 3. “User name” is a usage that is assigned in correspondence with the “user ID”. "Company name" is the name of the company to which the user belongs. The “connection source IP address” represents an IP address set in the client application 2 operated by the user. “Connection status” represents the connection status between the client application 2 and the server application 3 operated by the user.

例えば,「利用者ID」が”User0001”,「利用者名」が”テストユーザー1”,「会社名」が”テスト株式会社”,「接続元IPアドレス」が”192.168.10.5”,「ログイン日時」が”2012/04/07 18:21:31”,「接続状況」が”オンライン”と記憶されている場合は,利用者IDが”User0001”で利用者名”テストユーザー1”,会社名”テスト株式会社”の利用者が操作するクライアントアプリケーション2に設定されているIPアドレスは”192.168.10.5”であり,当該利用者はサーバアプリケーションに”2012/04/07 18:21:31”にログイン処理を行い,現在の利用者の操作するクライアントアプリケーション2とサーバアプリケーション3との接続状況は”オンライン”であることを表す。   For example, “User ID” is “User0001”, “User Name” is “Test User 1”, “Company Name” is “Test Corporation”, “Connection IP Address” is “192.168.10.5”, “Login If "Date and time" is stored as "2012/04/07 18:21:31" and "Connection status" is stored as "Online", the user ID is "User0001", the user name is "Test user 1", the company The IP address set in the client application 2 operated by the user of the name “Test Corporation” is “192.168.10.5”, and the user is assigned to the server application “2012/04/07 18:21:31” The login process is performed, and the connection status between the client application 2 and the server application 3 operated by the current user is “online”.

「接続状況」には”オンライン”,”強制ログアウト”,”ログアウト”などの状況が記憶される。”オンライン”とはクライアントアプリケーション2からサーバアプリケーション3のログイン処理が実行され接続状態であること,すなわち利用中であることを表し,”強制ログアウト”とはクライアントアプリケーション2とサーバアプリケーション3が接続状態,すなわち利用中ではあるが,ログアウト処理(切断処理)の待ち状態であることを表し,”ログアウト”とはクライアントアプリケーション2がサーバアプリケーション3を利用中していない状態,すなわち切断中であることを表す。   The “connection status” stores statuses such as “online”, “forced logout”, and “logout”. “Online” indicates that the login process from the client application 2 to the server application 3 is executed and is in a connected state, that is, it is in use. “Forced logout” indicates that the client application 2 and the server application 3 are connected. In other words, it indicates that it is in use but is waiting for logout processing (disconnection processing), and “logout” indicates that the client application 2 is not using the server application 3, that is, is disconnecting. .

利用履歴情報記憶部130は,利用者がサーバアプリケーション3のどの機能を利用中であるのかを記憶する。図9は本実施例における利用履歴情報の例を示す図である。利用履歴情報記憶部130は,図9に示されるように「利用者ID」「利用者名」「機能画面ID」「機能画面名」「処理時刻」の情報を有する。「利用者ID」はクライアントアプリケーション2を操作してサーバアプリケーション3の機能を利用する利用者を一意に識別する識別子である,「利用者名」は「利用者ID」に対応して付けられる利用者の名称である。「機能画面ID」は「利用者ID」に対応する利用者が現在,クライアントアプリケーション2を操作して利用中のサーバアプリケーション3の機能を特定するための識別子となる「機能画面ID」であり,「機能画面名」は「機能画面ID」に対応する機能画面の名称である。「処理時刻」は利用者が当該機能を使い始めた処理開始時刻を表す。   The usage history information storage unit 130 stores which function of the server application 3 is being used by the user. FIG. 9 is a diagram showing an example of usage history information in the present embodiment. As illustrated in FIG. 9, the usage history information storage unit 130 includes information on “user ID”, “user name”, “function screen ID”, “function screen name”, and “processing time”. “User ID” is an identifier that uniquely identifies a user who operates the client application 2 and uses the function of the server application 3. “User name” is a usage that is assigned in correspondence with the “user ID”. The name of the person. The “functional screen ID” is a “functional screen ID” that is an identifier for the user corresponding to the “user ID” to identify the function of the server application 3 that is currently operating by operating the client application 2. “Function screen name” is the name of the function screen corresponding to “Function screen ID”. “Processing time” represents the processing start time when the user started using the function.

例えば,「利用者ID」が”User0001”,「利用者名」が”テストユーザー1”,「機能画面ID」が”JyuEntry002”,「機能画面名」が”受注入力画面”,「処理時刻」が”2012/04/07 19:30:43”と記憶されている場合は,利用者IDが”User0001”で利用者名”テストユーザー1”の利用者は機能画面IDが”JyuEntry002”で機能画面名が”受注入力画面”のサーバアプリケーション3の機能を処理時刻”2012/04/07 19:30:43”から利用中であることを表す。利用履歴情報は利用者IDごとに作成され,利用者の利用する機能が替わると「機能画面ID」「機能画面名」が利用者の利用中の機能画面IDと機能画面名に書き換えられ,「処理時刻」に当該機能の利用を開始した時刻が記録される。   For example, “User ID” is “User0001”, “User name” is “Test user 1”, “Function screen ID” is “JyuEntry002”, “Function screen name” is “Order entry screen”, “Processing time” Is stored as “2012/04/07 19:30:43”, the user ID “User0001” and the user name “test user 1” function with the function screen ID “JyuEntry002”. This indicates that the function of the server application 3 whose screen name is “order input screen” is being used from the processing time “2012/04/07 19:30:43”. Usage history information is created for each user ID, and when the function used by the user is changed, the “functional screen ID” and “functional screen name” are rewritten to the functional screen ID and functional screen name being used by the user. The time when the use of the function is started is recorded in the “processing time”.

次に,接続状況管理装置1の有する各処理部について説明する。   Next, each processing unit included in the connection status management apparatus 1 will be described.

接続状況変更処理受付部101は,サーバアプリケーション3からの接続状況の変更要求の受付けを行う。具体的には,利用者がクライアントアプリケーション2を操作してサーバアプリケーション3のログイン処理機能を実行しログイン処理が成功すると,サーバアプリケーション3は接続状況変更処理受付部101に対して,接続状況を”オンライン”に変更する要求を行う。同様に,利用者がクライアントアプリケーション2を操作してサーバアプリケーション3のログアウト処理機能を実行し,ログアウト処理が成功すると,サーバアプリケーション3は接続状況変更処理受付部101に対して,接続状況を”ログアウト”に変更する要求を行う。また,利用者は自分自身の接続状況の変更しか行えないが,システム管理者はクライアントアプリケーション2を操作してサーバアプリケーションの強制ログアウト処理機能を実行して,任意の利用者の接続状況の変更を接続状況変更処理受付部101に要求する事もできる。この場合,システム管理者は接続状況を”ログアウト”に変更する利用者IDの一覧をクライアントアプリケーション2より入力し,サーバアプリケーション3に送信する。サーバアプリケーション3は,受け取った利用者IDの接続状況を”ログアウト”に変更する要求を接続状況変更処理受付部101に送信する。   The connection status change process accepting unit 101 accepts a connection status change request from the server application 3. Specifically, when the user operates the client application 2 to execute the login process function of the server application 3 and the login process is successful, the server application 3 sends a connection status to the connection status change process reception unit 101. Request to change to “online”. Similarly, when the user operates the client application 2 to execute the logout process function of the server application 3 and the logout process is successful, the server application 3 notifies the connection status change process reception unit 101 of the connection status by “logout”. Request to change to "". Although the user can only change the connection status of the user himself, the system administrator operates the client application 2 to execute the forced logout processing function of the server application to change the connection status of any user. It is also possible to make a request to the connection status change process reception unit 101. In this case, the system administrator inputs a list of user IDs whose connection status is changed to “logout” from the client application 2 and transmits it to the server application 3. The server application 3 transmits a request for changing the connection status of the received user ID to “logout” to the connection status change process reception unit 101.

接続状況変更処理受付部101は,接続状況の変更要求の受付けを行うと,受付けを行った変更処理要求を接続状況変更処理実行部103に送信する。接続状況変更処理実行部103は,接続状況変更処理受付部101から接続状況の変更要求の受付けると,接続状態を変更する利用者IDを変更要求から特定し,接続履歴情報記憶部120に記憶される当該利用者IDの接続履歴情報の接続状況の変更処理を行う。例えば,接続状況を”オンライン”に変更する要求の場合は,接続履歴情報記憶部120に記憶される接続履歴情報に当該利用者IDの接続履歴情報として,接続状況の変更要求から取得される「利用者ID」「利用者名」「会社名」「接続元IPアドレス」などを記録し,接続状況を”オンライン”として記録し,接続状況を”オンライン”に変更する処理日時を「ログイン日時」として記録する。ここで,接続状況を”オンライン”に変更する要求を受け取った場合であっても,例えば,サーバアプリケーション3がメンテナンスモードである場合や,サーバアプリケーション3の利用ができない状態に設定されている場合などは,接続状況を”オンライン”への変更は行わないようにすることもできる。これによって,ログイン処理が成功した場合であってもサーバアプリケーションの状態によっては接続状況を”オンライン”には変更しないことによってサーバアプリケーション3の利用を抑制することができるようになる。   When the connection status change process accepting unit 101 accepts the connection status change request, the connection status change process accepting unit 101 transmits the accepted change process request to the connection status change process executing unit 103. When the connection status change processing execution unit 103 receives the connection status change request from the connection status change processing reception unit 101, the connection status change processing execution unit 103 identifies the user ID for changing the connection status from the change request and stores it in the connection history information storage unit 120. The connection status of the connection history information of the user ID is changed. For example, in the case of a request to change the connection status to “online”, the connection history information stored in the connection history information storage unit 120 is acquired from the connection status change request as the connection history information of the user ID. Record "User ID", "User name", "Company name", "Source IP address", etc., record the connection status as "Online", and change the connection status to "Online". Record as. Here, even when a request to change the connection status to “online” is received, for example, when the server application 3 is in the maintenance mode, or when the server application 3 is set in a state where the server application 3 cannot be used. Can also prevent the connection status from changing to "online". As a result, even if the login process is successful, the use of the server application 3 can be suppressed by not changing the connection status to “online” depending on the state of the server application.

次に,例えば,接続状況を”ログアウト”に変更する要求の場合は,接続状況変更処理実行部103は利用履歴情報記憶部130から当該利用者IDに対応する利用履歴情報を参照し,当該利用者が利用中の機能画面IDを取得する。そして,アプリケーション情報記憶部110から当該機能画面IDに対応するアプリケーション情報を取得し,当該機能画面IDの接続状況変更可否の情報を取得する。取得した接続状況変更可否が”可能”となっていた場合は,接続履歴情報記憶部120に記憶される当該利用者IDの接続履歴情報の接続状況を”オフライン”として記録する。取得した接続状況変更可否が”不可”となっていた場合は,接続履歴情報記憶部120に記憶される当該利用者IDの接続履歴情報の接続状況を”強制ログアウト”として記録する。   Next, for example, in the case of a request to change the connection status to “logout”, the connection status change processing execution unit 103 refers to the usage history information corresponding to the user ID from the usage history information storage unit 130, and The function screen ID being used by the user is acquired. And the application information corresponding to the said function screen ID is acquired from the application information storage part 110, and the information of the connection status changeability of the said function screen ID is acquired. When the acquired connection status changeability is “possible”, the connection status of the connection history information of the user ID stored in the connection history information storage unit 120 is recorded as “offline”. If the acquired connection status change permission / inhibition is “impossible”, the connection status of the connection history information of the user ID stored in the connection history information storage unit 120 is recorded as “forced logout”.

利用状況取得部102は,利用者がクライアントアプリケーション2を操作してサーバアプリケーション3の機能の利用要求を行うと,サーバアプリケーション3からの要求により,クライアントアプリケーション2を操作する利用者を特定する利用者IDおよび利用要求があったサーバアプリケーション3の機能画面ID,要求の処理時刻等の情報を利用履歴情報記憶部130に記憶する。利用履歴情報は利用者IDごとに一意の情報として作成されるため,クライアントアプリケーション2からサーバアプリケーション3に機能の処理要求がある都度,該当する利用者IDに対応する利用履歴情報が更新される事となる。さらには,利用状況取得部102は,利用者がクライアントアプリケーション2を操作してサーバアプリケーション3の機能の利用要求があった際に,当該要求を行った利用者IDに対応する接続履歴情報を接続履歴情報記憶部120から参照し,当該利用者IDの接続状況を確認する。ここで,確認した接続状況が利用者の接続状態の変更を行う状態となっていた場合,例えば,接続状況が”強制ログアウト”であった場合は,利用状況取得部102は,接続状況変更処理実行部103に対して,当該利用者IDに対応する接続履歴情報記憶部120の接続状況を”ログアウト”に変更する要求を行う。   When the user operates the client application 2 to make a usage request for the function of the server application 3, the usage status acquisition unit 102 identifies the user who operates the client application 2 according to the request from the server application 3. Information such as the ID and the function screen ID of the server application 3 that requested the use, and the processing time of the request is stored in the use history information storage unit 130. Since the usage history information is created as unique information for each user ID, the usage history information corresponding to the corresponding user ID is updated every time there is a function processing request from the client application 2 to the server application 3. It becomes. Further, when the user operates the client application 2 to request the use of the function of the server application 3, the usage status acquisition unit 102 connects the connection history information corresponding to the user ID that made the request. The connection status of the user ID is confirmed by referring to the history information storage unit 120. Here, when the confirmed connection status is a status for changing the connection status of the user, for example, when the connection status is “forced logout”, the usage status acquisition unit 102 performs the connection status change process. The execution unit 103 is requested to change the connection status of the connection history information storage unit 120 corresponding to the user ID to “logout”.

その後,利用状況取得部102はサーバアプリケーション3に利用状況を通知する。接続状況変更処理実行部103に対して接続状況の変更要求を行った場合に接続状況が変更されていた場合は,変更後の接続状況が通知される。接続状況を通知されたサーバアプリケーション3は通知された接続状況に応じて,クライアントアプリケーション2からの機能の利用要求にたいしてどのような処理を行うかを決定する。例えば,接続状況が”オンライン”または”強制ログアウト”である場合は,サーバアプリケーション3はクライアントアプリケーション2から利用要求があった機能の処理を行い,処理結果をクライアントアプリケーション2に返却する。また,接続状況が”ログアウト”の場合は,クライアントアプリケーション2の認証処理が行われてない状況であり,サーバアプリケーション3とクライアントアプリケーション2が接続状態に無いということであるので,サーバアプリケーション3は,クライアントアプリケーション2からの機能の利用要求に対して,要求機能の処理は行わずに認証要求機能画面を返却するなどといった,認証を促す処理や,機能が実行できない旨のメッセージ画面を返却するなどの処理を行う。   Thereafter, the usage status acquisition unit 102 notifies the server application 3 of the usage status. If the connection status is changed when a connection status change request is made to the connection status change processing execution unit 103, the connection status after the change is notified. The server application 3 notified of the connection status determines what processing is to be performed in response to the function use request from the client application 2 in accordance with the notified connection status. For example, when the connection status is “online” or “forced logout”, the server application 3 processes the function requested to be used by the client application 2 and returns the processing result to the client application 2. If the connection status is “logout”, the client application 2 is not authenticated, and the server application 3 and the client application 2 are not connected. In response to a function usage request from the client application 2, a process for prompting authentication, such as returning the authentication request function screen without performing the requested function processing, or returning a message screen indicating that the function cannot be executed, etc. Process.

接続状況提供部104は,サーバアプリケーション3から接続状況の取得要求を受け取ると,接続履歴情報記憶部120から接続履歴情報の一覧を取得し,サーバアプリケーション3に返却する。   Upon receiving a connection status acquisition request from the server application 3, the connection status providing unit 104 acquires a list of connection history information from the connection history information storage unit 120 and returns it to the server application 3.

次にフローチャートを用いて,接続状況管理装置がどのように接続状況の管理を行うのか,具体的な処理フローを説明する。   Next, a specific processing flow of how the connection status management apparatus manages the connection status will be described using a flowchart.

接続状況管理装置1では,クライアントアプリケーション2の操作を行っている利用者の利用者IDを特定する為にセッション管理情報を利用する。セッション管理情報はクライアントアプリケーション2からサーバアプリケーション3に最初に処理要求があった際に生成され,サーバアプリケーション3からクライアントアプリケーション2にセッションIDが通知される。   In the connection status management apparatus 1, session management information is used to identify the user ID of the user who is operating the client application 2. The session management information is generated when a request for processing is first made from the client application 2 to the server application 3, and the session ID is notified from the server application 3 to the client application 2.

図2は,一般的なセッション管理情報の生成を行う際の処理フローチャートである。サーバアプリケーション3はクライアントアプリケーション2からサーバアプリケーション3の有する機能の処理要求としてリクエスト要求を受付ける(S201)。そして,サーバアプリケーション3はクライアントアプリケーション2からセッションIDが送信されなかった場合,クライアントアプリケーション毎に一意となるユニークなセッションIDを生成する(S202)。セッションIDを生成したら,セッションIDに対応するセッション管理情報を生成する(S203)。セッション管理情報は例えば,図11に示すような情報であり,セッションIDと対応する様に,例えば,「利用者ID」「利用者名」などが記録される。生成されたセッションIDをクライアントアプリケーション2に通知され,以降,クライアントアプリケーション2は,サーバアプリケーション3に対して処理要求を行う際にセッションIDを処理要求と合わせて送信する。このような構成を取ることによって,サーバアプリケーション3はクライアントアプリケーション2から送信されたセッションIDを元にセッション管理情報からクライアントアプリケーション2を利用する利用者ごとに一意な情報を管理し,利用することができる。   FIG. 2 is a process flowchart for generating general session management information. The server application 3 receives a request request from the client application 2 as a processing request for the function of the server application 3 (S201). When the session ID is not transmitted from the client application 2, the server application 3 generates a unique session ID that is unique for each client application (S202). When the session ID is generated, session management information corresponding to the session ID is generated (S203). The session management information is, for example, information as shown in FIG. 11. For example, “user ID”, “user name”, and the like are recorded so as to correspond to the session ID. The generated session ID is notified to the client application 2, and thereafter, the client application 2 transmits the session ID together with the processing request when making a processing request to the server application 3. By adopting such a configuration, the server application 3 can manage and use unique information for each user who uses the client application 2 from the session management information based on the session ID transmitted from the client application 2. it can.

例えば,認証処理機能を行うサーバアプリケーション3の機能をクライアントアプリケーション2から利用する場合,クライアントアプリケーション2から利用者IDを含む認証処理に必要な情報がサーバアプリケーション3に送信されると認証処理機能の処理が行われ,その処理結果によって図11に示すように,セッションIDと対応する形で利用者IDがセッション管理情報として記録される。   For example, when the function of the server application 3 that performs the authentication processing function is used from the client application 2, the processing of the authentication processing function is performed when information necessary for the authentication processing including the user ID is transmitted from the client application 2 to the server application 3. As shown in FIG. 11, the user ID is recorded as session management information in a form corresponding to the session ID.

また,図3は一般的なセッション管理情報を利用して接続状態管理を行う場合の処理フローである。セッション管理情報を利用して接続状況を管理することによって,認証処理が行われている場合は接続状態とみなして,クライアントアプリケーション2から処理要求があったサーバアプリケーション3の機能の処理を行い,認証処理が行われていない場合は接続状態にないものとして,クライアントアプリケーション2から処理要求があったサーバアプリケーション3の機能の処理を抑制するといった制御が行われる。   FIG. 3 is a processing flow when connection state management is performed using general session management information. By managing the connection status using session management information, if the authentication process is being performed, it is regarded as the connection state, and the function of the server application 3 requested by the client application 2 is processed and authenticated. When the processing is not performed, it is assumed that the client application 2 is not in a connected state, and control is performed to suppress processing of the function of the server application 3 that has been requested by the client application 2.

このような制御がどのように行われるかについて,図3の処理フローに従って説明する。まず,サーバアプリケーション3はクライアントアプリケーション2より処理要求のリクエストを受け取ると,処理要求からセッションIDを取得する(S301)。そして,セッションIDに対応する利用者IDをセッション管理情報から取得する(S302)。次に,取得した利用者IDの接続状況がどのような状況であるかを取得する(S303)。例えば,利用者の接続状況が図8に示す様な接続履歴情報として記録されているとすると,取得した利用者IDから接続状況として”オンライン”,”ログアウト”等の情報を取得することができる。接続状況が取得できたら,接続状況からログイン状態であるかどうかを判定する(S304)。例えば,接続状況が”オンライン”であった場合,クライアントアプリケーション2はサーバアプリケーション3にログイン状態であると判断し(S304,YES),サーバアプリケーション3はクライアントアプリケーション2から処理要求があった機能の処理を実行し,実行結果の機能画面をクライアントアプリケーション2に送信して表示する(S306)。接続状況が”オフライン”であった場合は,クライアントアプリケーション2はサーバアプリケーション3にログイン状態にないと判断し(S304,NO),サーバアプリケーション3はクライアントアプリケーション2から処理要求があった機能の処理は実行せずに,例えば,認証処理機能画面に強制的に遷移する処理などを行うことによってサーバアプリケーション3の機能が処理されることを抑制する(S305)。   How such control is performed will be described according to the processing flow of FIG. First, when the server application 3 receives a processing request from the client application 2, the server application 3 acquires a session ID from the processing request (S301). Then, the user ID corresponding to the session ID is acquired from the session management information (S302). Next, what is the connection status of the acquired user ID is acquired (S303). For example, if the connection status of a user is recorded as connection history information as shown in FIG. 8, information such as “online” and “logout” can be acquired as the connection status from the acquired user ID. . If the connection status can be acquired, it is determined from the connection status whether the user is in a login state (S304). For example, if the connection status is “online”, the client application 2 determines that the server application 3 is logged in (S304, YES), and the server application 3 processes the function requested by the client application 2. Is executed, and the function screen of the execution result is transmitted to the client application 2 and displayed (S306). When the connection status is “offline”, the client application 2 determines that the server application 3 is not logged in (S304, NO), and the server application 3 performs processing of the function requested by the client application 2. For example, the function of the server application 3 is prevented from being processed by performing a process forcibly transitioning to the authentication processing function screen without executing the process (S305).

以上,図2および図3を用いて,一般的に行われているセッション管理情報を利用した接続状況を管理する実施例について説明した。本発明における接続状況管理装置においてもセッション管理情報を利用して利用者の接続履歴情報,利用履歴情報等を特定することによって,管理者による接続状況の管理を行い,適切なタイミングでの接続状況の変更処理を行う事を実現している。次に,本発明における接続状況を変更する処理フローについて説明する。   The embodiment that manages the connection status using the session management information that is generally performed has been described above with reference to FIGS. 2 and 3. In the connection status management apparatus according to the present invention, the connection status is managed by the administrator by specifying the connection history information, usage history information, etc. of the user by using the session management information, and the connection status at an appropriate timing. The change process is realized. Next, the processing flow for changing the connection status in the present invention will be described.

図5は,接続状況管理装置1における強制ログアウト処理フローの全体処理のフローである。強制ログアウト処理を行う指示は,例えば,サーバアプリケーションの起動や停止,利用状況の監視等を行う役割を担ったシステム管理者によって行われる。システム管理者は,クライアントアプリケーション2を操作して,サーバアプリケーション3に対してサーバアプリケーション3を利用する権限を有する利用者一覧を表示する要求を行う。そうすると,サーバアプリケーション3は接続状況提供部104に利用者の接続状況一覧の問い合わせを行い,接続状況提供部104は接続履歴情報記憶部120を参照して,利用者毎の接続状況を取得する。取得した利用者毎の接続状況はサーバアプリケーション3に返却され,サーバアプリケーション3では返却された利用者毎の接続状況の情報を元に,図4に示すように利用者毎の接続状況をクライアントアプリケーション2に返却し,クライアントアプリケーション2では接続状況情報表示画面を表示する(S501)。接続状況情報表示画面では,接続状況を表示する対象の利用者を「会社名」「ユーザ名」などで絞り込んで表示する事もできる。   FIG. 5 is a flowchart of the entire process of the forced logout process flow in the connection status management apparatus 1. The instruction to perform the forced logout process is given by, for example, a system administrator who is responsible for starting and stopping the server application, monitoring the usage status, and the like. The system administrator operates the client application 2 to request the server application 3 to display a list of users having authority to use the server application 3. Then, the server application 3 inquires the connection status providing unit 104 about the list of connection statuses of the users, and the connection status providing unit 104 refers to the connection history information storage unit 120 and acquires the connection status for each user. The acquired connection status for each user is returned to the server application 3, and the server application 3 shows the connection status for each user based on the returned connection status information for each user as shown in FIG. 2 and the client application 2 displays a connection status information display screen (S501). On the connection status information display screen, the users whose connection status is to be displayed can be narrowed down by “company name”, “user name” or the like.

システム管理者は接続状況情報表示画面の情報を参照し,一覧から「利用者ID」「ログイン日時」「接続状況」等の情報を元に強制ログアウト処理を実行する対象の利用者IDを選択する(S502)。そして,強制ログアウト処理の実行指示を,例えば強制切断ボタンを押す事によってサーバアプリケーション3を経由して接続状況管理装置1に対して行う(S503)。   The system administrator refers to the information on the connection status information display screen, and selects a user ID to be subjected to the forced logout process from the list based on information such as “user ID”, “login date”, and “connection status” (S502). Then, an instruction to execute the forced logout process is given to the connection status management apparatus 1 via the server application 3 by, for example, pressing a forced disconnection button (S503).

図6は,強制ログアウト処理の対象となる利用者ID一覧を受け取った後に,接続状況管理装置1で行われる強制ログアウトの処理フローである。サーバアプリケーション3はクライアントアプリケーション2より強制ログアウト処理を行う対象の利用者ID一覧を受け取ると,対象の利用者ID一覧を接続状況変更処理受付部101に送信し,送信した利用者IDの接続状況をログアウトに変更する要求を行う。接続状況変更処理受付部101は受け取った利用者ID一覧を接続状況変更処理実行部103に送信し,接続状況をログアウトに変更する処理の実行を依頼する。接続状況変更処理実行部103では受け取った利用者IDの各利用者IDについて,接続履歴情報記憶部120に記憶されている利用者IDに対応する接続状況の情報を「強制ログアウト」に変更する処理を実行する(S601)。ここで,接続状況が「ログアウト」である場合には,すでにログアウト処理済みであるため,接続状況の情報を「強制ログアウト」に変更する処理は行わない。   FIG. 6 is a processing flow of forced logout performed in the connection status management apparatus 1 after receiving a list of user IDs to be subjected to forced logout processing. When the server application 3 receives the list of user IDs to be subjected to the forced logout process from the client application 2, the server application 3 transmits the target user ID list to the connection status change process accepting unit 101, and displays the connection status of the transmitted user ID. Request to change to logout. The connection status change process accepting unit 101 transmits the received user ID list to the connection status change process execution unit 103, and requests execution of a process for changing the connection status to logout. The connection status change processing execution unit 103 changes the connection status information corresponding to the user ID stored in the connection history information storage unit 120 to “forced logout” for each user ID of the received user ID. Is executed (S601). Here, when the connection status is “logout”, the logout process has already been completed, and thus the process of changing the connection status information to “forced logout” is not performed.

次に,接続状況変更処理受付部101は受け取った利用者ID一覧について,全ての利用者IDについて処理を行うまで繰返し利用者ID毎に処理を実行する(S602)。まず,処理対象の利用者IDが利用中の機能が何であるか,利用履歴情報記憶部130を参照して,利用者IDに対応する機能IDを取得する(S603)。そして,取得した機能IDの機能が強制ログアウト可能な機能であるかどうか,アプリケーション情報記憶部110を参照して,機能IDに対応する接続状況変更可否の情報を取得することによって確認する(S604)。取得した接続状況変更可否が「可能」であった場合(S604,YES),接続履歴情報記憶部120に記憶されている利用者IDに対応する接続状況の情報を「ログアウト」に変更する。取得した接続状況変更可否が「不可」であった場合(S604,NO),接続履歴情報記憶部120に記憶されている利用者IDに対応する接続状況の情報の変更は行わず「強制ログアウト」のままとなる。1つの利用者IDに対する処理が終わり,対象利用者IDの全てについて処理がされた場合は(S606,YES),強制ログアウトの処理を完了する。対象利用者IDの処理が全て完了していない場合は(S606,NO),S602に戻り,次の利用者IDの処理を行う。   Next, the connection status change process accepting unit 101 repeatedly performs the process for each user ID until the process for all user IDs is performed on the received user ID list (S602). First, the function ID corresponding to the user ID is acquired by referring to the use history information storage unit 130 to determine what function is being used by the user ID to be processed (S603). Then, whether or not the function with the acquired function ID is a function that can be forcibly logged out is confirmed by referring to the application information storage unit 110 and acquiring information on whether or not the connection status can be changed corresponding to the function ID (S604). . When the acquired connection status change permission / inhibition is “possible” (S604, YES), the connection status information corresponding to the user ID stored in the connection history information storage unit 120 is changed to “logout”. If the acquired connection status change permission / inhibition is “impossible” (NO in S604), the connection status information corresponding to the user ID stored in the connection history information storage unit 120 is not changed and “forced logout” is performed. Will remain. When the process for one user ID is completed and all the target user IDs have been processed (S606, YES), the forced logout process is completed. If all the processing of the target user ID is not completed (S606, NO), the process returns to S602 and the next user ID is processed.

以上の処理フローにより,接続状況をログアウトに変更する要求を受けた利用者IDの接続状況は「強制ログアウト」又は「ログアウト」に変更される。次に「強制ログアウト」の状態にある接続状況を「ログアウト」に変更する処理について説明する。接続状況が「強制ログアウト」の接続状況を「ログアウト」に変更するかどうかを判断し変更を行う,強制ログアウト状態管理処理は,先に図3の処理フローを用いて説明した従来の一般的なセッション管理情報を利用して接続状態管理を行う場合の処理に,接続状態の変更判断を組み入れることによって実現される。   With the above processing flow, the connection status of the user ID that has received the request to change the connection status to logout is changed to “forced logout” or “logout”. Next, processing for changing the connection status in the “forced logout” state to “logout” will be described. The forced logout status management process that determines whether or not to change the connection status to “logout” when the connection status is “forced logout” is the conventional general process described above using the processing flow of FIG. This is realized by incorporating a connection status change determination into the process for managing the connection status using session management information.

すなわち,利用者がクライアントアプリケーション2よりサーバアプリケーション3にたいして機能の利用要求を行った際に,セッション管理情報を利用して接続状況を管理することによって,認証処理が行われている場合は接続状態とみなして,クライアントアプリケーション2から処理要求があったサーバアプリケーション3の機能の処理を行い,認証処理が行われていない場合は接続状態にないものとして,クライアントアプリケーション2から処理要求があったサーバアプリケーション3の機能の処理を抑制するといった制御が行われるが,この処理に接続状態の変更判断を組み入れることによって実現される。   That is, when the user makes a function use request from the client application 2 to the server application 3, the connection status is managed by using the session management information, so that the connection status is displayed when the authentication process is performed. It is assumed that the server application 3 that has received a processing request from the client application 2 performs processing of the function of the server application 3 that has received a processing request from the client application 2, and assumes that the client application 2 has not been connected. Control is performed to suppress the processing of this function, which is realized by incorporating a connection state change determination into this processing.

このような制御がどのように行われるかについて,図7の処理フローに従って説明する。まず,サーバアプリケーション3はクライアントアプリケーション2より処理要求のリクエストを受け取ると,処理要求からセッションIDを取得する(S701)。そして,セッションIDに対応する利用者IDをセッション管理情報から取得する(S702)。次に,取得した利用者IDの接続状況がどのような状況であるかを取得する(S703)。例えば,利用者の接続状況が図8に示す様な接続履歴情報として記録されているとすると,取得した利用者IDから接続状況として”オンライン”,”強制ログアウト”,”ログアウト”等の情報を取得することができる。接続状況が取得できたら,接続状況からログイン状態であるかどうかを判定する(S704)。例えば,接続状況が”オンライン”又は”強制ログアウト”であった場合,クライアントアプリケーション2はサーバアプリケーション3にログイン状態であると判断し(S704,YES),接続状況が”オフライン”である場合は,クライアントアプリケーション2はサーバアプリケーション3にログイン状態にないと判断する(S704,NO)。   How such control is performed will be described according to the processing flow of FIG. First, when the server application 3 receives a processing request from the client application 2, the server application 3 acquires a session ID from the processing request (S701). Then, the user ID corresponding to the session ID is acquired from the session management information (S702). Next, what the connection status of the acquired user ID is is acquired (S703). For example, if the connection status of the user is recorded as connection history information as shown in FIG. 8, information such as “online”, “forced logout”, “logout”, etc. is obtained as the connection status from the acquired user ID. Can be acquired. If the connection status can be acquired, it is determined from the connection status whether the user is in the login state (S704). For example, if the connection status is “online” or “forced logout”, the client application 2 determines that it is logged in to the server application 3 (S704, YES), and if the connection status is “offline”, The client application 2 determines that the server application 3 is not logged in (S704, NO).

接続状況からログイン状態にないと判断された場合には(S704,NO),サーバアプリケーション3はクライアントアプリケーション2から処理要求があった機能の処理は実行せずに,例えば,認証処理機能画面に強制的に遷移する処理などを行うことによってサーバアプリケーション3の機能が処理されることを抑制する(S710)。   If it is determined that the login state is not established based on the connection status (NO in S704), the server application 3 does not execute the function requested by the client application 2 but forcibly displays the authentication processing function screen, for example. The function of the server application 3 is prevented from being processed by performing a process of transitioning automatically (S710).

接続状況からログイン状態であると判断された場合は(S704,YES),接続状況の変更を行うかどうかの判断を行い,要求があった機能の処理を行うかどうかの判断を行う。これら判断を行う前に,利用者がどの機能を利用中であるのかを管理するために"利用者ID”,要求があった”利用機能”,”アクセス時刻”等の情報を利用履歴情報として利用履歴情報記憶部130に記録する(S705)。この処理により,利用者がサーバアプリケーション3の有するどの機能を利用中であるかを常に管理することができるようになる。   If it is determined from the connection status that the user is in the login state (S704, YES), it is determined whether or not to change the connection status, and whether or not the requested function is to be processed is determined. Before making these decisions, information such as “user ID”, requested “use function”, and “access time” is used as use history information in order to manage which function the user is using. It records in the usage history information storage unit 130 (S705). With this process, it is possible to always manage which function the user has in the server application 3.

次に,利用者の接続状態が”強制ログアウト”の状態であるかどうかを,接続履歴情報記憶部120に記憶されている利用者IDに対応する接続状況を参照することによって確認する。接続状況が”強制ログアウト”でなかった場合は,接続状況を”ログアウト”に変更する必要は無いため(S706,NO),サーバアプリケーション3はクライアントアプリケーション2から処理要求があった機能の処理を実行し,実行結果の機能画面をクライアントアプリケーション2に送信して表示する(S709)。   Next, it is confirmed by referring to the connection status corresponding to the user ID stored in the connection history information storage unit 120 whether or not the connection status of the user is the “forced logout” status. If the connection status is not "forced logout", it is not necessary to change the connection status to "logout" (NO in S706), so the server application 3 executes the processing for the function requested by the client application 2. Then, the function result screen is transmitted to the client application 2 and displayed (S709).

接続状況が”強制ログアウト”であった場合は(S706,YES),接続状況を”ログアウト”に変更するかどうかの判断を行う。具体的には,接続履歴情報記憶部120に記憶されている利用者IDに対応する機能画面IDを参照することによって,利用者が現在どの機能を利用中であるのかを取得する。そして,利用中の機能が強制ログアウト処理可能な機能であるかどうかを確認するために,アプリケーション情報記憶部110に記録されている機能画面IDに対応する接続状況変更可否を参照する事によって,利用中の機能が接続状況を変更可能かどうか判断する。参照した接続情報変更可否が”不可”であった場合は(S707,NO),接続状況の変更は行わずに,サーバアプリケーション3はクライアントアプリケーション2から処理要求があった機能の処理を実行し,実行結果の機能画面をクライアントアプリケーション2に送信して表示する(S709)。   When the connection status is “forced logout” (S706, YES), it is determined whether or not to change the connection status to “logout”. Specifically, by referring to the function screen ID corresponding to the user ID stored in the connection history information storage unit 120, which function the user is currently using is acquired. Then, in order to confirm whether the function being used is a function that can be forcibly logged out, it is used by referring to the connection status changeability corresponding to the function screen ID recorded in the application information storage unit 110. Judge whether the function inside can change the connection status. If it is determined that the change of the referenced connection information is “impossible” (NO in S707), the server application 3 executes the function requested by the client application 2 without changing the connection status, The execution result function screen is transmitted to the client application 2 and displayed (S709).

参照した接続情報変更可否が”可能”であった場合は(S707,YES),接続履歴情報記憶部120に記憶されている利用者IDに対応する接続状況の情報を「ログアウト」に変更する(S708)。この場合は,サーバアプリケーション3はクライアントアプリケーション2から処理要求があった機能の処理は実行せずに,例えば,認証処理機能画面に強制的に遷移する処理などを行うことによってサーバアプリケーション3の機能が処理されることを抑制する(S710)。   When it is determined that the referred connection information can be changed (YES in S707), the connection status information corresponding to the user ID stored in the connection history information storage unit 120 is changed to "logout" ( S708). In this case, the server application 3 does not execute the function requested by the client application 2 but performs, for example, a process of forcibly transitioning to the authentication processing function screen, so that the server application 3 functions. The processing is suppressed (S710).

以上の様な処理が接続状況管理装置1に行われることによって利用者の接続状況の管理が行われる。このような処理によって,管理者によって利用者の強制ログアウト処理が要求された場合であっても,即座に接続状態が変更されるのではなく,利用者の利用状況に応じて適切なタイミングで接続状況をログアウト状態に変更することできる。これによって,利用者が入力した情報や業務情報が失われる事を防止することができる。さらには,強制ログアウト処理が必要な利用者を選択して強制ログアウト処理の指示が行えるため,ログアウトが必要な利用者だけを強制ログアウトさせることができ,利用者のログイン状況を管理者が把握できるため,適切なメンテナンスのタイミングを知ることができる。   The connection status of the user is managed by performing the processing as described above on the connection status management apparatus 1. With this process, even if the administrator requests a forced logout process, the connection status is not changed immediately, but the connection is made at an appropriate timing according to the user's usage status. You can change the status to logout. As a result, it is possible to prevent the information input by the user and the business information from being lost. In addition, because users can select a user who requires forced logout processing and instruct the forced logout processing, only users who need to log out can be forcibly logged out, and the administrator can grasp the login status of the user. Therefore, it is possible to know the appropriate maintenance timing.

また,接続状況管理装置は,コンピュータとソフトウェアプログラムとによって実現することができ,そのプログラムをコンピュータ読み取り可能な記録媒体に記録することも,ネットワークを通して提供することも可能である。また,図示した各装置の各構成要素は機能概念的なものであり,必ずしも物理的に図示の如く構成されていることを要しない。すなわち,各装置の分散・統合の具体的形態は図示のものに限られず,その全部または一部を,処理単位や使用状況などに応じて,任意の単位で機能的または物理的に分散・統合して構成することができる。さらに,各装置にて行なわれる各処理機能は,その全部または任意の一部が,CPUおよび当該CPUにて解析実行されるプログラムにて実現され,あるいは,ワイヤードロジックによるハードウェアとして実現され得る。   Further, the connection status management device can be realized by a computer and a software program, and the program can be recorded on a computer-readable recording medium or provided through a network. Each component of each device shown in the figure is functionally conceptual and does not necessarily need to be physically configured as shown. In other words, the specific form of distribution / integration of each device is not limited to the one shown in the figure, and all or a part thereof may be functionally or physically distributed / integrated in an arbitrary unit depending on the processing unit or usage status. Can be configured. Further, all or a part of each processing function performed in each device can be realized by a CPU and a program analyzed and executed by the CPU, or can be realized as hardware by wired logic.

1 接続状況管理装置
2 クライアントアプリケーション
3 クライアントアプリケーション
101 接続状況変更処理受付部
102 利用状況取得部
103 接続状況変更処理実行部
104 接続状況提供部
110 アプリケーション情報記憶部
120 接続履歴情報記憶部
130 利用履歴情報記憶部
DESCRIPTION OF SYMBOLS 1 Connection status management apparatus 2 Client application 3 Client application 101 Connection status change process reception part 102 Usage status acquisition part 103 Connection status change process execution part 104 Connection status provision part 110 Application information storage part 120 Connection history information storage part 130 Usage history information Memory

Claims (4)

クライアントアプリケーションから接続要求されたサーバアプリケーションの機能を利用履歴情報として記憶する利用履歴情報記憶部と,
クライアントアプリケーションのサーバアプリケーションへの接続状況を接続履歴情報として記憶する接続履歴情報記憶部と,
前記サーバアプリケーションの機能を利用中に強制的に接続状況を変更可能かどうかの機能情報を記憶するアプリケーション情報記憶部と,
前記接続状況の変更要求を受け付ける接続状況変更処理受付部と,
前記接続状況の変更要求を受付けた場合に,前記利用履歴情報,機能情報から,変更する接続状況を決定し,前記接続履歴情報に記録する第1の接続状況変更処理実行部と,
前記クライアントアプリケーションから前記サーバアプリケーションの機能に接続要求があった場合に,要求があった機能を前記利用履歴情報として記録する利用状況取得部と,
前記利用状況取得部において利用履歴情報が記録された際に,前記利用履歴情報,接続履歴情報,機能情報から,前記接続状況を変更するかどうか判定し,変更する場合は,変更した接続状況を接続履歴情報に記録する第2の接続状況変更処理実行部と
から構成される接続状況管理装置。
A usage history information storage unit that stores, as usage history information, the function of the server application requested for connection by the client application;
A connection history information storage unit for storing the connection status of the client application to the server application as connection history information;
An application information storage unit for storing function information as to whether or not the connection status can be forcibly changed while using the function of the server application;
A connection status change process reception unit for receiving the connection status change request;
A first connection status change processing execution unit for determining a connection status to be changed from the usage history information and function information and recording the connection status information when receiving the connection status change request;
A usage status acquisition unit that records the requested function as the usage history information when there is a connection request from the client application to the function of the server application;
When the usage history information is recorded in the usage status acquisition unit, it is determined whether or not to change the connection status from the usage history information, connection history information, and function information. A connection status management apparatus comprising a second connection status change process execution unit for recording in connection history information.
請求項1に記載の接続状況管理装置において
前記利用状況取得部は,前記クライアントアプリケーションから前記サーバアプリケーションの機能に接続要求があった場合に,前記接続履歴情報から接続要求を処理できるかどうかを判定し,接続要求があった機能の処理を抑制する機能を有する
ことを特徴とする接続状況管理装置。
2. The connection status management apparatus according to claim 1, wherein the usage status acquisition unit determines whether a connection request can be processed from the connection history information when a connection request is made from the client application to the function of the server application. And a connection status management apparatus having a function of suppressing processing of a function requested to be connected.
請求項1または請求項2に記載の接続状況管理装置において
前記接続履歴情報を前記クライアントアプリケーションに送信する接続状況情報提供部をさらに備え,
前記接続状況処理受付部は,複数の接続状況の変更要求を同時に受付ける機能を有する
ことを特徴とする接続状況管理装置。
The connection status management apparatus according to claim 1 or 2, further comprising a connection status information providing unit that transmits the connection history information to the client application.
The connection status processing accepting unit has a function of simultaneously accepting a plurality of connection status change requests.
コンピュータを,請求項1から請求項3までのいずれか1項に記載の接続状況管理装置が備える各処理部として機能させるための接続状況管理プログラム。 The connection condition management program for functioning a computer as each process part with which the connection condition management apparatus of any one of Claim 1 to 3 is provided.
JP2012161290A 2012-07-20 2012-07-20 Connection state management device and program thereof Active JP5891140B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012161290A JP5891140B2 (en) 2012-07-20 2012-07-20 Connection state management device and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012161290A JP5891140B2 (en) 2012-07-20 2012-07-20 Connection state management device and program thereof

Publications (2)

Publication Number Publication Date
JP2014021812A true JP2014021812A (en) 2014-02-03
JP5891140B2 JP5891140B2 (en) 2016-03-22

Family

ID=50196598

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012161290A Active JP5891140B2 (en) 2012-07-20 2012-07-20 Connection state management device and program thereof

Country Status (1)

Country Link
JP (1) JP5891140B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016173712A (en) * 2015-03-17 2016-09-29 日本電気株式会社 Session management device, session management system, session management method, and program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006031064A (en) * 2004-07-12 2006-02-02 Hitachi Ltd Session management system and management method
JP2008026945A (en) * 2006-07-18 2008-02-07 Bank Of Tokyo-Mitsubishi Ufj Ltd Time-out control system and time-out control method
JP2008033787A (en) * 2006-07-31 2008-02-14 Oki Electric Ind Co Ltd Session time-out time determination system, computer program, and application offer system
US20100325306A1 (en) * 2009-06-23 2010-12-23 Nokia Corporation Method and apparatus for a keep alive probe service
JP2011008542A (en) * 2009-06-25 2011-01-13 Canon Inc Information processing apparatus, method of controlling the same, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006031064A (en) * 2004-07-12 2006-02-02 Hitachi Ltd Session management system and management method
JP2008026945A (en) * 2006-07-18 2008-02-07 Bank Of Tokyo-Mitsubishi Ufj Ltd Time-out control system and time-out control method
JP2008033787A (en) * 2006-07-31 2008-02-14 Oki Electric Ind Co Ltd Session time-out time determination system, computer program, and application offer system
US20100325306A1 (en) * 2009-06-23 2010-12-23 Nokia Corporation Method and apparatus for a keep alive probe service
JP2011008542A (en) * 2009-06-25 2011-01-13 Canon Inc Information processing apparatus, method of controlling the same, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016173712A (en) * 2015-03-17 2016-09-29 日本電気株式会社 Session management device, session management system, session management method, and program

Also Published As

Publication number Publication date
JP5891140B2 (en) 2016-03-22

Similar Documents

Publication Publication Date Title
US8763145B2 (en) Cloud system, license management method for cloud service
KR101868489B1 (en) Management of computing sessions
KR101840222B1 (en) Management of computing sessions
JP2013534675A (en) Provisioning multiple network resources
WO2020000758A1 (en) Server acceptance method and apparatus, computer device, and storage medium
KR20160048763A (en) Management of computing sessions
US11048598B2 (en) Enhanced disaster recovery procedure of applications in a cloud environment
JP2011186849A (en) Web content providing system, web server, content providing method, and program thereof
JP2008191878A (en) Remote diagnostic-failure responding system, remote diagnostic-failure responding device, remote diagnostic-failure response instruction device, remote diagnostic-falure responding method, and remote diagnostic-failure responding program
CN112057846B (en) Interaction method, device, equipment and storage medium for cloud game service scheduling
JP2023536296A (en) Blockchain management of provisioning failure
WO2022062661A1 (en) Operation notification method and apparatus, and storage medium and electronic apparatus
JP2010152818A (en) Server system
CN108200151B (en) ISCSI Target load balancing method and device in distributed storage system
JP2011129076A (en) Operation monitoring device, operation monitoring system, control method, program, and recording medium for recording program
TWI507889B (en) Management node , method , machine 一accessible medium and system for reservation and execution image writing of native computing devices
US20230351288A1 (en) Attachment and detachment of compute instances owned by different tenancies
JP5891140B2 (en) Connection state management device and program thereof
JP7073199B2 (en) System and method in system
CN113946362B (en) Consumption data processing method and storage medium
CN109621407A (en) A kind of client log on request method and apparatus
US20230063458A1 (en) Restricted operations due to attachment of compute instances owned by different tenancies
US9727712B2 (en) System that enforces accountability by requiring justifications for sensitive information technology operations
CN109101253B (en) Management method and device for host in cloud computing system
CN109981521B (en) Message association method, message association device and message association system

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20140707

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150612

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151013

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151117

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160115

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160222

R150 Certificate of patent or registration of utility model

Ref document number: 5891140

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350