Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6252016B2 - Session management program, session management method, and session management apparatus - Google Patents
[go: Go Back, main page]

JP6252016B2 - Session management program, session management method, and session management apparatus - Google Patents

Session management program, session management method, and session management apparatus Download PDF

Info

Publication number
JP6252016B2
JP6252016B2 JP2013158115A JP2013158115A JP6252016B2 JP 6252016 B2 JP6252016 B2 JP 6252016B2 JP 2013158115 A JP2013158115 A JP 2013158115A JP 2013158115 A JP2013158115 A JP 2013158115A JP 6252016 B2 JP6252016 B2 JP 6252016B2
Authority
JP
Japan
Prior art keywords
session
unit
terminal
relay unit
management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2013158115A
Other languages
Japanese (ja)
Other versions
JP2015028722A (en
Inventor
加藤 弘之
弘之 加藤
史生 堀江
史生 堀江
正徳 島田
正徳 島田
正則 近藤
正則 近藤
直人 川島
直人 川島
靖明 黒澤
靖明 黒澤
英彦 真弓
英彦 真弓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Ltd filed Critical Fujitsu Ltd
Priority to JP2013158115A priority Critical patent/JP6252016B2/en
Publication of JP2015028722A publication Critical patent/JP2015028722A/en
Application granted granted Critical
Publication of JP6252016B2 publication Critical patent/JP6252016B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Description

本発明は、セッション管理プログラム、セッション管理方法およびセッション管理装置に関する。   The present invention relates to a session management program, a session management method, and a session management apparatus.

従来より、スマートフォンやタブレット端末などの端末装置を用いて外部から社内のシステムを利用する場合、安全かつ快適にアクセスさせる技術がある。この技術では、端末装置から画像転送機能を有する仮想ブラウザサーバへアクセスさせ、仮想ブラウザサーバが端末装置へ社内Webシステムの画面を転送する。さらにこの技術では、仮想ブラウザサーバと接続するセッション数を管理する管理サーバを設けている。管理サーバは、仮想ブラウザサーバから通知される端末装置の接続状況を記録し、接続可能なセッション数を管理する。また、管理サーバは、端末装置から接続要求を受け付ける。管理サーバは、端末装置から接続要求を受け付けた際に、仮想ブラウザサーバのセッション数が上限ではない場合、仮想ブラウザサーバへのアクセスを許可する。   Conventionally, when using an in-house system from the outside by using a terminal device such as a smartphone or a tablet terminal, there is a technology for allowing safe and comfortable access. In this technology, a terminal device is accessed to a virtual browser server having an image transfer function, and the virtual browser server transfers the screen of the in-house Web system to the terminal device. Furthermore, in this technique, a management server that manages the number of sessions connected to the virtual browser server is provided. The management server records the connection status of the terminal device notified from the virtual browser server and manages the number of connectable sessions. The management server receives a connection request from the terminal device. When the management server receives a connection request from the terminal device, the management server permits access to the virtual browser server if the number of sessions of the virtual browser server is not the upper limit.

“業界初!ゲートウェイを置くだけでPC向けWeb業務画面を簡単かつスムーズにスマート端末で利用可能に”、[online]、[平成25年7月5日検索]、インターネット<URL:http://pr.fujitsu.com/jp/news/2013/06/18-1.html>“Industry's first! Web business screens for PCs can be used easily and smoothly on smart devices simply by placing a gateway”, [online], [Search July 5, 2013], Internet <URL: http: // pr.fujitsu.com/jp/news/2013/06/18-1.html> “FUJITSU Thin Client Solution モバらくだ for スマートデバイス”、[online]、[平成25年7月5日検索]、インターネット<URL:http://jp.fujitsu.com/group/fnets/services/ictinfra/m-smartdevice.html>“FUJITSU Thin Client Solution Moba Camel for Smart Devices”, [online], [Search July 5, 2013], Internet <URL: http://jp.fujitsu.com/group/fnets/services/ictinfra/m -smartdevice.html>

しかしながら、画像転送機能を有する仮想ブラウザサーバを用いて社内Webシステムの画面を転送すると、OSやアプリケーションの制限が高くなり、その制限により提供できるサービスが制限される。そこで、仮想ブラウザサーバに制限されない画面を転送する画像中継サーバを設けた場合に、管理サーバは、画像中継サーバと、仮想ブラウザサーバの双方を管理する場合がある。この場合に、画像中継サーバと、仮想ブラウザサーバのセッションを各々独立して管理すると、接続可能なセッションを有効活用できない場合がある。   However, if the screen of the in-house Web system is transferred using a virtual browser server having an image transfer function, restrictions on the OS and applications increase, and the services that can be provided are restricted by the restrictions. Therefore, when an image relay server that transfers an unrestricted screen is provided in the virtual browser server, the management server may manage both the image relay server and the virtual browser server. In this case, if the sessions of the image relay server and the virtual browser server are managed independently, the connectable session may not be effectively used.

一側面では、接続可能なセッションを有効活用できるセッション管理プログラム、セッション管理方法およびセッション管理装置を提供することを目的とする。   An object of one aspect is to provide a session management program, a session management method, and a session management apparatus that can effectively use a connectable session.

本発明の一側面によれば、セッション管理プログラムは、実行部で実行するアプリケーションの処理結果を中継する中継部と、前記中継部で中継するセッションを管理する管理部とで実行される。セッション管理プログラムは、管理部に、端末からセッションの割り当て要求を受け付け、記端末にアクセスさせる中継部の接続先情報を前記端末に返信する処理を実行させる。セッション管理プログラムは、前記中継部に、前記端末のアクセスに基づいて、該端末と前記実行部とを中継するセッションを接続する処理を実行させる。セッション管理プログラムは、前記管理部に、前記中継部が中継するセッションの切断に応じて、前記実行部から通知されるセッションの切断を受信し、通知されたセッションの割り当てを解放する処理を実行させる。   According to one aspect of the present invention, a session management program is executed by a relay unit that relays a processing result of an application executed by an execution unit, and a management unit that manages a session relayed by the relay unit. The session management program causes the management unit to receive a session allocation request from the terminal and to execute a process of returning to the terminal connection destination information of a relay unit that allows the terminal to access the terminal. The session management program causes the relay unit to execute processing for connecting a session that relays the terminal and the execution unit based on the access of the terminal. The session management program causes the management unit to receive a session disconnection notified from the execution unit in response to a session disconnection relayed by the relay unit, and to execute a process of releasing the notified session assignment .

本発明の一側面によれば、リソースを有効活用できる。   According to one aspect of the present invention, resources can be effectively used.

図1は、システムの全体構成の一例を概略的に示した図である。FIG. 1 is a diagram schematically showing an example of the overall configuration of the system. 図2は、管理サーバの機能的な構成の一例を示す図である。FIG. 2 is a diagram illustrating an example of a functional configuration of the management server. 図3は、中継サーバ情報のデータ構成の一例を示す図である。FIG. 3 is a diagram illustrating an example of a data configuration of the relay server information. 図4は、セッション情報のデータ構成の一例を示す図である。FIG. 4 is a diagram illustrating an example of a data configuration of session information. 図5は、システム管理画面の一例を示す図である。FIG. 5 is a diagram illustrating an example of a system management screen. 図6は、セッションを確立して画像の転送を行う際の通信の流れの一例を模式的に示した図である。FIG. 6 is a diagram schematically illustrating an example of a communication flow when establishing a session and transferring an image. 図7は、セッション管理処理の手順の一例を示すフローチャートである。FIG. 7 is a flowchart illustrating an exemplary procedure of session management processing. 図8は、セッション管理プログラムを実行するコンピュータを示す図である。FIG. 8 is a diagram illustrating a computer that executes a session management program.

以下に、本発明にかかるセッション管理プログラム、セッション管理方法およびセッション管理装置の実施例を図面に基づいて詳細に説明する。なお、この実施例によりこの発明が限定されるものではない。そして、各実施例は、処理内容を矛盾させない範囲で適宜組み合わせることが可能である。   Embodiments of a session management program, a session management method, and a session management apparatus according to the present invention will be described below in detail with reference to the drawings. Note that the present invention is not limited to the embodiments. Each embodiment can be appropriately combined within a range in which processing contents are not contradictory.

[全体構成]
実施例1に係るシステム10の全体構成について説明する。図1は、システムの全体構成の一例を概略的に示した図である。システム10は、外部からセキュアなネットワークにアクセスを可能とするシステムである。本実施例では、外部から会社などの内部ネットワークに設けられた社内Webシステム13にアクセスを行う場合を例にして説明する。
[overall structure]
The overall configuration of the system 10 according to the first embodiment will be described. FIG. 1 is a diagram schematically showing an example of the overall configuration of the system. The system 10 is a system that enables access to a secure network from the outside. In the present embodiment, a case will be described as an example in which an in-house Web system 13 provided in an internal network such as a company is accessed from the outside.

システム10は、管理サーバ20と、画像中継サーバ21と、仮想ブラウザサーバ22とを有する。管理サーバ20、画像中継サーバ21および仮想ブラウザサーバ22は、例えば、データセンターや会社に設けられたサーバコンピュータである。画像中継サーバ21および仮想ブラウザサーバ22は、任意の数とすることができ、最大の同時アクセス数に応じた数だけ設置される。   The system 10 includes a management server 20, an image relay server 21, and a virtual browser server 22. The management server 20, the image relay server 21, and the virtual browser server 22 are server computers provided in a data center or a company, for example. The image relay server 21 and the virtual browser server 22 can be set to an arbitrary number, and the number corresponding to the maximum number of simultaneous accesses is installed.

システム10は、外部ネットワーク12に接続され、端末装置11からアクセス可能とされている。かかる外部ネットワーク12としては、有線または無線を問わず、インターネット、LAN(Local Area Network)やVPN(Virtual Private Network)、移動体通信網などの任意の通信網が挙げられる。   The system 10 is connected to an external network 12 and can be accessed from the terminal device 11. Examples of the external network 12 include any communication network such as the Internet, a LAN (Local Area Network), a VPN (Virtual Private Network), and a mobile communication network regardless of wired or wireless.

端末装置11は、利用者が内部ネットワークへのアクセスに用いる装置である。端末装置11としては、スマートフォン、タブレット端末、PDA(Personal Digital Assistant)などの携帯端末が挙げられる。なお、端末装置11は、デスクトップ型PC(パーソナル・コンピュータ)、ノート型PCなどの情報処理装置であってもよい。利用者は、外部から社内Webシステム13を利用する場合、端末装置11を用いてシステム10へアクセスする。例えば、端末装置11は、社内Webシステム13にアクセスする場合、最初に管理サーバ20へアクセスして画像中継サーバ21へのセッションの割り当てを要求する。なお、図1の例では、端末装置11を2台とした場合を例示したが、開示のシステムはこれに限定されず、端末装置11を任意の数とすることができる。   The terminal device 11 is a device used by a user to access an internal network. Examples of the terminal device 11 include mobile terminals such as smartphones, tablet terminals, and PDAs (Personal Digital Assistants). The terminal device 11 may be an information processing device such as a desktop PC (personal computer) or a notebook PC. A user accesses the system 10 using the terminal device 11 when using the in-house Web system 13 from the outside. For example, when accessing the in-house Web system 13, the terminal device 11 first accesses the management server 20 and requests assignment of a session to the image relay server 21. In the example of FIG. 1, the case where the number of the terminal devices 11 is two is illustrated, but the disclosed system is not limited to this, and the number of the terminal devices 11 can be an arbitrary number.

管理サーバ20は、端末装置11とのセッションの管理を行う物理サーバである。ここで、画像中継サーバ21は、後述するように、端末装置11へ画面を転送するが、画像の転送などの処理に負荷がかかるため、端末装置と接続可能なセッション数に制限がある。そこで、管理サーバ20は、各画像中継サーバ21に接続可能なセッション数を管理する。例えば、管理サーバ20は、各画像中継サーバ21に対して定期的にセッションの接続状況を問い合せして接続中のセッションを管理する。管理サーバ20は、端末装置11から画像中継サーバ21へのセッションの割り当てが要求され、セッションを割り当て可能な画像中継サーバ21がある場合、セッションを割り当て可能な画像中継サーバ21に関する情報を端末装置11へ通知する。端末装置11は、通知された画像中継サーバ21にアクセスする。   The management server 20 is a physical server that manages a session with the terminal device 11. Here, as will be described later, the image relay server 21 transfers the screen to the terminal device 11, but there is a limit to the number of sessions that can be connected to the terminal device because a load is imposed on processing such as image transfer. Therefore, the management server 20 manages the number of sessions connectable to each image relay server 21. For example, the management server 20 periodically inquires each image relay server 21 about the connection status of the session and manages the currently connected session. When the management server 20 is requested to assign a session from the terminal device 11 to the image relay server 21 and there is an image relay server 21 to which a session can be assigned, the management server 20 displays information regarding the image relay server 21 to which the session can be assigned. To notify. The terminal device 11 accesses the notified image relay server 21.

画像中継サーバ21は、内部ネットワークへのアクセスを中継する物理サーバである。例えば、画像中継サーバ21は、端末装置11からの社内Webシステム13へのアクセスを中継する。画像中継サーバ21は、端末装置11からアクセスされると、仮想ブラウザサーバ22へアクセスして仮想ブラウザを起動させ、端末装置11および仮想ブラウザサーバ22とセッションを確立する。なお、画像中継サーバ21がアクセスする仮想ブラウザサーバ22は、画像中継サーバ21に対して予め対応付けておいてもよい。また、画像中継サーバ21が各仮想ブラウザサーバ22の負荷状態を示す情報を収集して、負荷の低い仮想ブラウザサーバ22にアクセスするものとしてもよい。また、画像中継サーバ21が各仮想ブラウザサーバ22の画像中継サーバ21との接続状況を示す情報を収集して、接続数が最も少ない仮想ブラウザサーバ22にアクセスするものとしてもよい。   The image relay server 21 is a physical server that relays access to the internal network. For example, the image relay server 21 relays access from the terminal device 11 to the in-house Web system 13. When accessed from the terminal device 11, the image relay server 21 accesses the virtual browser server 22 to activate the virtual browser and establishes a session with the terminal device 11 and the virtual browser server 22. The virtual browser server 22 accessed by the image relay server 21 may be associated with the image relay server 21 in advance. The image relay server 21 may collect information indicating the load state of each virtual browser server 22 and access the virtual browser server 22 having a low load. Alternatively, the image relay server 21 may collect information indicating the connection status of each virtual browser server 22 with the image relay server 21 and access the virtual browser server 22 having the smallest number of connections.

画像中継サーバ21は、セッションが確立すると、仮想ブラウザサーバ22で動作する仮想ブラウザの画面の情報を端末装置11へ随時転送する。また、画像中継サーバ21は、端末装置11から仮想ブラウザに対する操作情報を受け付ける。画像中継サーバ21は、操作情報を受け付けると、例えば、リモートデスクトップの機能を用いて、仮想ブラウザサーバ22で動作する仮想ブラウザに対して操作情報に基づく操作を行う。また、画像中継サーバ21は、管理サーバ20からセッションの接続状況の問い合せを受けた場合、接続しているセッションの接続状況に関する情報を管理サーバ20へ回答する。   When the session is established, the image relay server 21 transfers information on the screen of the virtual browser operating on the virtual browser server 22 to the terminal device 11 as needed. In addition, the image relay server 21 receives operation information for the virtual browser from the terminal device 11. When receiving the operation information, the image relay server 21 performs an operation based on the operation information with respect to the virtual browser operating on the virtual browser server 22 using, for example, a remote desktop function. Further, when the image relay server 21 receives an inquiry about the connection status of the session from the management server 20, the image relay server 21 returns information regarding the connection status of the connected session to the management server 20.

仮想ブラウザサーバ22は、仮想ブラウザを動作させる物理サーバである。例えば、仮想ブラウザサーバ22は、リモートデスクトップの機能を用いて、画像中継サーバ21からの要求によりブラウザを動作させる。そして、仮想ブラウザサーバ22は、例えば、RemoteAppの機能を用いて、ブラウザ部分の画面を画像中継サーバ21へ転送することにより、ブラウザを仮想ブラウザとして動作させる。また、仮想ブラウザサーバ22は、画像中継サーバ21とのセッションが切断されると、セッションの切断を管理サーバ20へ通知する。例えば、仮想ブラウザサーバ22では、端末装置11からの社内Webシステム13へのアクセスが完了して仮想ブラウザが終了する際、仮想ブラウザがセッションの切断を管理サーバ20へ通知する。なお、仮想ブラウザが終了する際、仮想ブラウザとは異なり、仮想ブラウザの状態を監視するプログラムがセッションの切断を管理サーバ20へ通知してもよい。   The virtual browser server 22 is a physical server that operates the virtual browser. For example, the virtual browser server 22 operates the browser in response to a request from the image relay server 21 using a remote desktop function. Then, the virtual browser server 22 causes the browser to operate as a virtual browser, for example, by transferring the screen of the browser portion to the image relay server 21 using the RemoteApp function. Further, when the session with the image relay server 21 is disconnected, the virtual browser server 22 notifies the management server 20 of the disconnection of the session. For example, in the virtual browser server 22, when the access to the in-house Web system 13 from the terminal device 11 is completed and the virtual browser is terminated, the virtual browser notifies the management server 20 of session disconnection. When the virtual browser is terminated, unlike the virtual browser, a program for monitoring the state of the virtual browser may notify the management server 20 of the disconnection of the session.

このように、本実施例に係るシステム10は、端末装置11から社内Webシステム13へのアクセスが要求された場合、仮想ブラウザにより代理で社内Webシステム13にアクセスさせ、当該仮想ブラウザの画面を端末装置11へ転送する。すなわち、端末装置11には、仮想ブラウザの画面が転送されるが、内部ネットワークのデータは転送されない。このため、内部ネットワークのセキュリティを保つことができる。また、端末装置11には、内部ネットワークのデータが転送されないため、データの漏洩を抑制できる。   As described above, when access to the in-house Web system 13 is requested from the terminal device 11, the system 10 according to the present embodiment causes the in-house Web system 13 to be accessed on behalf of the virtual browser, and the screen of the virtual browser is displayed on the terminal. Transfer to device 11. That is, the screen of the virtual browser is transferred to the terminal device 11, but the data of the internal network is not transferred. For this reason, the security of the internal network can be maintained. Further, since the data of the internal network is not transferred to the terminal device 11, data leakage can be suppressed.

[管理サーバの構成]
次に、実施例1に係る管理サーバ20の構成について説明する。図2は、管理サーバの機能的な構成の一例を示す図である。図2に示すように、管理サーバ20は、通信I/F(インタフェース)部30と、表示部31と、入力部32と、記憶部33と、制御部34とを有する。
[Management server configuration]
Next, the configuration of the management server 20 according to the first embodiment will be described. FIG. 2 is a diagram illustrating an example of a functional configuration of the management server. As illustrated in FIG. 2, the management server 20 includes a communication I / F (interface) unit 30, a display unit 31, an input unit 32, a storage unit 33, and a control unit 34.

通信I/F部30は、他の装置との間で通信制御を行うインタフェースである。通信I/F部30は、他の装置と各種情報を送受信する。例えば、通信I/F部30は、外部ネットワーク12を介して端末装置11から画像中継サーバ21へのセッションの割り当ての要求を受信する。また、通信I/F部30は、仮想ブラウザサーバ22からセッションの切断が通知される。かかる通信I/F部30の一態様としては、LANカードなどのネットワークインタフェースカードを採用できる。   The communication I / F unit 30 is an interface that controls communication with other devices. The communication I / F unit 30 transmits / receives various information to / from other devices. For example, the communication I / F unit 30 receives a session assignment request from the terminal device 11 to the image relay server 21 via the external network 12. In addition, the communication I / F unit 30 is notified of session disconnection from the virtual browser server 22. As an aspect of the communication I / F unit 30, a network interface card such as a LAN card can be employed.

表示部31は、各種情報を表示する表示デバイスである。表示部31としては、LCD(Liquid Crystal Display)やCRT(Cathode Ray Tube)などの表示デバイスが挙げられる。表示部31は、各種情報を表示する。   The display unit 31 is a display device that displays various types of information. Examples of the display unit 31 include display devices such as an LCD (Liquid Crystal Display) and a CRT (Cathode Ray Tube). The display unit 31 displays various information.

入力部32は、各種の情報を入力する入力デバイスである。例えば、入力部32としては、マウスやキーボードなどの入力デバイスが挙げられる。入力部32は、管理者などからの操作入力を受け付け、受け付けた操作内容を示す操作情報を制御部34に入力する。   The input unit 32 is an input device that inputs various types of information. For example, examples of the input unit 32 include input devices such as a mouse and a keyboard. The input unit 32 receives an operation input from an administrator or the like, and inputs operation information indicating the received operation content to the control unit 34.

記憶部33は、ハードディスク、SSD(Solid State Drive)、光ディスクなどの記憶装置である。なお、記憶部33は、RAM(Random Access Memory)、フラッシュメモリ、NVSRAM(Non Volatile Static Random Access Memory)などのデータを書き換え可能な半導体メモリであってもよい。   The storage unit 33 is a storage device such as a hard disk, an SSD (Solid State Drive), or an optical disk. Note that the storage unit 33 may be a semiconductor memory that can rewrite data, such as a random access memory (RAM), a flash memory, and a non-volatile static random access memory (NVSRAM).

記憶部33は、制御部34で実行されるOS(Operating System)やセッション管理に用いる各種プログラムを記憶する。さらに、記憶部33は、制御部34で実行されるプログラムで用いられる各種データを記憶する。例えば、記憶部33は、中継サーバ情報40と、セッション情報41とを記憶する。   The storage unit 33 stores an OS (Operating System) executed by the control unit 34 and various programs used for session management. Furthermore, the storage unit 33 stores various data used in the program executed by the control unit 34. For example, the storage unit 33 stores relay server information 40 and session information 41.

中継サーバ情報40は、画像中継サーバ21に関する情報を記憶したデータである。図3は、中継サーバ情報のデータ構成の一例を示す図である。図3に示すように、中継サーバ情報40は、「サーバ名」、「IPアドレス」、「セッション上限」の各項目を有する。サーバ名の項目は、画像中継サーバ21を識別する識別情報として画像中継サーバ21のコンピュータ名を記憶する領域である。IPアドレスの項目は、画像中継サーバ21のIP(Internet Protocol)アドレスを記憶する領域である。セッション上限の項目は、画像中継サーバ21に接続可能なセッション数の上限値を記憶する領域である。   The relay server information 40 is data that stores information related to the image relay server 21. FIG. 3 is a diagram illustrating an example of a data configuration of the relay server information. As illustrated in FIG. 3, the relay server information 40 includes items of “server name”, “IP address”, and “session upper limit”. The server name item is an area for storing the computer name of the image relay server 21 as identification information for identifying the image relay server 21. The IP address item is an area for storing the IP (Internet Protocol) address of the image relay server 21. The session upper limit item is an area for storing an upper limit value of the number of sessions connectable to the image relay server 21.

図3の例では、サーバ名が「RVEC_A」の画像中継サーバ21は、IPアドレスが「192.168.20.185」であり、セッション上限が「10」であることを示す。   In the example of FIG. 3, the image relay server 21 whose server name is “RVEC_A” indicates that the IP address is “192.168.20.185” and the session upper limit is “10”.

セッション情報41は、管理サーバ20において管理するセッションに関する情報を記憶したデータである。図4は、セッション情報のデータ構成の一例を示す図である。図4に示すように、セッション情報41は、「セッションID」、「接続日時」、「ログインID」、「状態」、「接続元IPアドレス」、「画像中継SV」、「仮想ブラウザSV」、「切断日時」の各項目を有する。セッションIDの項目は、セッションを識別する識別情報を記憶する領域である。セッションには、それぞれを識別する識別情報として、数字や文字を組み合わせてユニークなセッションIDが付与される。セッションIDの項目には、セッションに対して付与されたセッションIDが記憶される。接続日時の項目は、セッションの接続を開始した日時を記憶する領域である。本実施例では、接続日時の項目に、端末装置11からセッションの割り当ての要求を受信した日時が記憶される。ログインIDの項目は、端末装置11の利用者のユーザIDを記憶する領域である。本実施例では、セッションの割り当てを要求する際に、最初に、ユーザIDおよびパスワードを入力させてユーザ認証を行うものとしている。ログインIDの項目には、ユーザ認証で入力されたユーザIDが記憶される。状態の項目は、セッションの状態を記憶する領域である。本実施例では、セッションの状態として、接続中、接続、解放中、異常を用いる。接続中の状態は、セッションが割り当てられているが、セッションが確立されていない状態であることを示す。接続の状態は、セッションが確立されて画像の転送が可能な状態であることを示す。解放中の状態は、セッションを解放している途中であることを示す。異常の状態は、セッションを解放できず、異常が発生していることを示す。状態の項目は、セッションの状態に応じて随時更新される。接続元IPアドレスの項目は、セッションの割り当てを要求した端末装置11のIPアドレスを記憶する領域である。画像中継SVは、セッションにより接続されている画像中継サーバ21のIPアドレスを記憶する領域である。仮想ブラウザSVの項目は、セッションにより接続されている仮想ブラウザサーバ22のIPアドレスを記憶する領域である。切断日時の項目は、セッションの切断を開始した日時を記憶する領域である。切断日時の項目は、セッションが接続中の間、空白とされ、セッションを切断する際に日時が設定される。   The session information 41 is data that stores information related to a session managed by the management server 20. FIG. 4 is a diagram illustrating an example of a data configuration of session information. As shown in FIG. 4, the session information 41 includes “session ID”, “connection date / time”, “login ID”, “state”, “connection source IP address”, “image relay SV”, “virtual browser SV”, It has each item of "cutting date". The item of session ID is an area for storing identification information for identifying a session. Each session is given a unique session ID by combining numbers and characters as identification information for identifying each. In the session ID item, a session ID assigned to the session is stored. The item of connection date and time is an area for storing the date and time when connection of the session is started. In this embodiment, the date and time when the session allocation request is received from the terminal device 11 is stored in the connection date and time item. The login ID item is an area for storing the user ID of the user of the terminal device 11. In this embodiment, when requesting session assignment, user authentication is first performed by inputting a user ID and password. The login ID field stores a user ID input by user authentication. The status item is an area for storing the session status. In this embodiment, connected, connected, released, and abnormal are used as the session state. The connected state indicates that a session is allocated but a session is not established. The connection state indicates that a session is established and image transfer is possible. The releasing state indicates that the session is being released. The abnormal state indicates that the session cannot be released and an abnormality has occurred. The status item is updated as needed according to the session status. The connection source IP address field is an area for storing the IP address of the terminal device 11 that has requested session assignment. The image relay SV is an area for storing the IP address of the image relay server 21 connected by the session. The item of the virtual browser SV is an area for storing the IP address of the virtual browser server 22 connected by the session. The item of disconnection date / time is an area for storing the date / time when session disconnection is started. The disconnect date / time item is left blank while the session is connected, and the date / time is set when the session is disconnected.

図4の例では、セッションIDが「0001」のセッションは、接続日時が「2013/6/25 20:30:40」であり、ログインIDが「A」であり、状態が「接続中」であることを示す。また、セッションIDが「0001」のセッションは、接続元IPアドレスが「10.53.147.137」であり、画像中継SVが「192.168.20.185」であることを示す。また、セッションIDが「0001」のセッションは、仮想ブラウザSVが「192.168.20.181」であり、切断日時が空白であることから、セッションの切断が開始されておらず、セッションが接続中であることを示す。   In the example of FIG. 4, the session with the session ID “0001” has the connection date and time “2013/6/25 20:30:40”, the login ID “A”, and the status “connected”. Indicates that there is. The session with the session ID “0001” indicates that the connection source IP address is “10.53.147.137” and the image relay SV is “192.168.20.185”. Also, the session with the session ID “0001” has the virtual browser SV “192.168.20.181” and the disconnection date / time is blank, so the session disconnection is not started and the session is connected. Indicates that it is inside.

図2に戻り、制御部34は、管理サーバ20を制御するデバイスである。制御部34としては、Central Processing Unit(CPU)、Micro Processing Unit(MPU)等の電子回路や、Application Specific Integrated Circuit(ASIC)、Field Programmable Gate Array(FPGA)等の集積回路を採用できる。制御部34は、各種の処理手順を規定したプログラムや制御データを格納するための内部メモリを有し、これらによって種々の処理を実行する。制御部34は、各種のプログラムが動作することにより各種の処理部として機能する。例えば、制御部34は、受付部50と、割当部51と、管理部52と、解放部53とを有する。   Returning to FIG. 2, the control unit 34 is a device that controls the management server 20. As the control unit 34, an electronic circuit such as a central processing unit (CPU) or a micro processing unit (MPU), or an integrated circuit such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA) can be employed. The control unit 34 has an internal memory for storing programs defining various processing procedures and control data, and executes various processes using these. The control unit 34 functions as various processing units by operating various programs. For example, the control unit 34 includes a reception unit 50, an allocation unit 51, a management unit 52, and a release unit 53.

受付部50は、各種の情報を受け付ける。例えば、受付部50は、端末装置11から画像中継サーバ21へのセッションの割り当ての要求を受け付ける。   The receiving unit 50 receives various types of information. For example, the reception unit 50 receives a session allocation request from the terminal device 11 to the image relay server 21.

割当部51は、画像中継サーバ21へのセッションの割り当てを行う。例えば、割当部51は、受付部50によりセッションの割り当ての要求を受け付けると、新たなセッションIDを生成する。また、割当部51は、画像中継サーバ21毎に、使用中および使用予定のセッションのセッション数を求める。例えば、セッション情報41に基づき、画像中継サーバ21毎に、状態が解放中以外のセッション数を求める。本実施例では、割当部51は、画像中継サーバ21毎に、状態が接続中、接続、異常の何れかであるセッション数を求める。状態が接続中のセッションは、画像中継サーバ21への割り当てが行われ、これから通信を確立させるセッションである。状態が接続のセッションは、通信が確立して使用中のセッションである。状態が異常のセッションは、何らかの理由で解放できずに残っているセッションである。このため、本実施例では、使用中および使用予定のセッションのセッション数として、状態が接続中、接続、異常の何れかであるセッション数を求める。   The assignment unit 51 assigns a session to the image relay server 21. For example, when the allocation unit 51 receives a session allocation request from the reception unit 50, the allocation unit 51 generates a new session ID. Further, the allocating unit 51 obtains the number of sessions in use and scheduled to be used for each image relay server 21. For example, based on the session information 41, the number of sessions whose state is not released is determined for each image relay server 21. In the present embodiment, the allocating unit 51 obtains the number of sessions whose status is either connected, connected, or abnormal for each image relay server 21. The session whose state is connected is a session that is assigned to the image relay server 21 and establishes communication from now on. A session whose state is connection is a session in use after communication is established. A session in an abnormal state is a session that cannot be released for some reason and remains. For this reason, in this embodiment, the number of sessions in which the state is connected, connected, or abnormal is obtained as the number of sessions in use or scheduled to be used.

割当部51は、セッション数が中継サーバ情報40に記憶されたセッション上限に達していない画像中継サーバ21を特定する。割当部51は、セッション数がセッション上限に達していない画像中継サーバ21が無い場合、セッション数に空きがなく接続できない旨を端末装置11へ通知する。   The allocating unit 51 identifies the image relay server 21 whose number of sessions has not reached the session upper limit stored in the relay server information 40. When there is no image relay server 21 whose number of sessions has not reached the session upper limit, the allocating unit 51 notifies the terminal device 11 that the number of sessions is not available and cannot be connected.

割当部51は、セッション数がセッション上限に達していない画像中継サーバ21がある場合、当該画像中継サーバ21のなかから、接続対象の画像中継サーバ21を決定する。接続対象の画像中継サーバ21の決定方法は、何れの方式であってもよい。例えば、割当部51は、セッション数がセッション上限未満の画像中継サーバ21からセッション数が最も少ない画像中継サーバ21を接続対象の画像中継サーバ21と決定してもよい。また、例えば、割当部51は、セッション数がセッション上限未満の画像中継サーバ21からセッション数が最も多い画像中継サーバ21を接続対象の画像中継サーバ21と決定してもよい。すなわち、割当部51は、セッション数がセッション上限に達するまで、セッション数が多い画像中継サーバ21を接続対象として、画像中継サーバ21を集中的に動作させてもよい。   When there is an image relay server 21 in which the number of sessions has not reached the session upper limit, the allocating unit 51 determines the image relay server 21 to be connected from among the image relay servers 21. The method for determining the image relay server 21 to be connected may be any method. For example, the allocating unit 51 may determine the image relay server 21 having the smallest number of sessions as the connection target image relay server 21 from the image relay servers 21 having the number of sessions less than the session upper limit. For example, the allocating unit 51 may determine the image relay server 21 having the largest number of sessions as the image relay server 21 to be connected from the image relay servers 21 having the number of sessions less than the session upper limit. That is, the allocating unit 51 may operate the image relay server 21 in a concentrated manner with the image relay server 21 having a large number of sessions as a connection target until the number of sessions reaches the session upper limit.

割当部51は、セッションIDおよび接続対象の画像中継サーバ21のIPアドレスを割り当ての要求元の端末装置11へ通知する。   The assignment unit 51 notifies the terminal device 11 that has requested assignment of the session ID and the IP address of the connection target image relay server 21.

端末装置11では、通知されたIPアドレスの画像中継サーバ21へ通知されたセッションIDを通知してアクセスを行う。これにより、画像中継サーバ21は、端末装置11および仮想ブラウザサーバ22とセッションを確立し、仮想ブラウザサーバ22で動作する仮想ブラウザの画面の情報を端末装置11へ随時転送する。   The terminal device 11 performs access by notifying the notified session ID to the image relay server 21 of the notified IP address. As a result, the image relay server 21 establishes a session with the terminal device 11 and the virtual browser server 22 and transfers information on the screen of the virtual browser operating on the virtual browser server 22 to the terminal device 11 as needed.

割当部51は、セッション情報41に割り当てたセッションに関する情報を格納したレコードを登録する。例えば、割当部51は、セッションIDを新たなセッションIDとし、接続日時を現在日時とし、ログインIDを要求元の利用者のユーザIDとし、状態を接続中とし、接続元IPアドレスを要求元の端末装置11のIPアドレスとしたレコードを登録する。   The allocating unit 51 registers a record storing information related to the session allocated to the session information 41. For example, the assigning unit 51 sets the session ID as a new session ID, the connection date and time as the current date and time, the login ID as the user ID of the requesting user, the state as being connected, and the connection source IP address as the requesting source IP address. A record having the IP address of the terminal device 11 is registered.

管理部52は、各画像中継サーバ21に接続中のセッションの状態を管理する。例えば、管理部52は、各画像中継サーバ21に対して定期的にセッションの接続状況を問い合せる。この接続状況の問い合せを行う周期は、例えば、数秒から数分の範囲の値とするが、管理者等により外部から設定可能としてもよい。   The management unit 52 manages the state of the session currently connected to each image relay server 21. For example, the management unit 52 periodically inquires each image relay server 21 about the connection status of the session. The period for inquiring the connection status is, for example, a value ranging from several seconds to several minutes, but may be set from the outside by an administrator or the like.

画像中継サーバ21は、管理サーバ20からセッションの接続状況の問い合せを受けた場合、接続中のセッションに関する情報を管理サーバ20へ回答する。例えば、画像中継サーバ21は、接続中のセッションのセッションIDおよびセッションにおいて接続中の仮想ブラウザのIPアドレスを管理サーバ20へ回答する。このように、画像中継サーバ21は、セッションの接続状況の問い合せを受けた場合、接続中のセッションに関する情報を管理サーバ20へ回答する。このため、例えば、端末装置11からの接続が終了してセッション解放された場合、解放されたセッションに関する情報は、管理サーバ20へ通知されなくなる。   When the image relay server 21 receives an inquiry about the connection status of the session from the management server 20, the image relay server 21 replies to the management server 20 with information regarding the currently connected session. For example, the image relay server 21 replies to the management server 20 with the session ID of the session being connected and the IP address of the virtual browser being connected in the session. As described above, when receiving an inquiry about the connection status of a session, the image relay server 21 replies to the management server 20 with information regarding the currently connected session. For this reason, for example, when the connection from the terminal device 11 is terminated and the session is released, information on the released session is not notified to the management server 20.

管理部52は、画像中継サーバ21からの回答に応じてセッション情報41を更新する。例えば、管理部52は、セッションIDが通知されたセッションの仮想ブラウザのIPアドレスをセッション情報41に登録する。また、管理部52は、セッションIDが通知されたセッションのセッション情報41の状態を接続に更新する。また、管理部52は、セッションIDが通知されなくなったセッションのレコードをセッション情報41から削除する。これにより、セッションは、端末装置11からの接続が終了して解放されると、画像中継サーバ21からセッションIDが通知されなくなるため、セッション情報41から当該セッションのレコードが削除される。   The management unit 52 updates the session information 41 according to the answer from the image relay server 21. For example, the management unit 52 registers the virtual browser IP address of the session for which the session ID is notified in the session information 41. In addition, the management unit 52 updates the state of the session information 41 of the session for which the session ID is notified to connection. In addition, the management unit 52 deletes from the session information 41 the record of the session for which the session ID is no longer notified. As a result, when the connection from the terminal device 11 is terminated and released, the session ID is not notified from the image relay server 21, and the session record is deleted from the session information 41.

また、管理部52は、各画像中継サーバ21に接続中のセッションの状態を画面に表示させて管理者により確認可能としている。例えば、管理部52は、所定の操作が行われた場合、セッションの状態を確認するシステム管理画面を表示させる。なお、管理部52は、管理サーバ20に接続された他の管理用の端末装置から操作を受け付けて、当該端末装置にシステム管理画面を表示させてもよく、入力部32から操作を受け付けて表示部31にシステム管理画面を表示させるものとしてもよい。   In addition, the management unit 52 displays the state of the session currently connected to each image relay server 21 on the screen so that the administrator can check it. For example, when a predetermined operation is performed, the management unit 52 displays a system management screen for confirming the session state. The management unit 52 may receive an operation from another management terminal device connected to the management server 20 and display a system management screen on the terminal device, or may receive an operation from the input unit 32 and display it. The unit 31 may display a system management screen.

図5は、システム管理画面の一例を示す図である。システム管理画面60は、セッション毎に、セッションに関する各種情報を表示する表示領域61を有する。図5の例では、表示領域61に、セッションの接続日時、ログインID、状態、接続元IPアドレス、画像中継SV、仮想ブラウザSVが表示されている。また、システム管理画面60には、セッション毎に、セッションの切断を指示する切断ボタン62が設けられている。   FIG. 5 is a diagram illustrating an example of a system management screen. The system management screen 60 has a display area 61 for displaying various information related to a session for each session. In the example of FIG. 5, session connection date and time, login ID, state, connection source IP address, image relay SV, and virtual browser SV are displayed in the display area 61. The system management screen 60 is provided with a disconnect button 62 for instructing disconnection of a session for each session.

図2に戻り、解放部53は、セッションの解放を行う。例えば、解放部53は、システム管理画面60において切断ボタン62が選択された場合、切断が指示されたセッションにより接続される画像中継サーバ21に対して、切断が指示されたセッションの切断を指示する。そして、解放部53は、切断を指示したセッションのセッション情報41の状態を解放中に更新し、切断日時に現在の日時を格納する。   Returning to FIG. 2, the release unit 53 releases the session. For example, when the disconnect button 62 is selected on the system management screen 60, the release unit 53 instructs the image relay server 21 connected by the session instructed to disconnect to disconnect the session instructed to disconnect. . Then, the release unit 53 updates the state of the session information 41 of the session instructed to be disconnected while being released, and stores the current date and time in the date and time of disconnection.

一方、仮想ブラウザサーバ22では、端末装置11からの社内Webシステム13へのアクセスが完了して仮想ブラウザが終了する際、仮想ブラウザがセッションの切断を管理サーバ20へ通知する。例えば、切断されるセッションのセッションIDを管理サーバ20へ通知する。   On the other hand, in the virtual browser server 22, when the access to the in-house Web system 13 from the terminal device 11 is completed and the virtual browser is terminated, the virtual browser notifies the management server 20 of session disconnection. For example, the management server 20 is notified of the session ID of the session to be disconnected.

解放部53は、セッションの切断が通知されると、切断が通知されたセッションのセッション情報41の状態を解放中に更新し、切断日時に現在の日時を格納する。   When the disconnection of the session is notified, the release unit 53 updates the state of the session information 41 of the session notified of the disconnection while releasing, and stores the current date and time in the disconnection date.

[通信の流れ]
次に、本実施例に係るシステム10がセッションを確立して画像の転送を行う際の通信の流れの一例を説明する。図6は、セッションを確立して画像の転送を行う際の通信の流れの一例を模式的に示した図である。
[Communication flow]
Next, an example of a communication flow when the system 10 according to the present embodiment establishes a session and transfers an image will be described. FIG. 6 is a diagram schematically illustrating an example of a communication flow when establishing a session and transferring an image.

端末装置11は、社内Webシステム13にアクセスする場合、管理サーバ20へアクセスして画像中継サーバ21へのセッションの割り当てを要求する(図6(1))。   When accessing the in-house Web system 13, the terminal device 11 accesses the management server 20 and requests assignment of a session to the image relay server 21 (FIG. 6 (1)).

管理サーバ20は、画像中継サーバ21に対して定期的にセッションの接続状況を問い合せし、問い合せに対する回答に基づき、セッション情報41により接続中のセッションを管理する(図6(2)(3))。   The management server 20 periodically inquires the connection status of the session to the image relay server 21, and manages the currently connected session by the session information 41 based on the answer to the inquiry (FIG. 6 (2) (3)). .

管理サーバ20は、端末装置11から画像中継サーバ21へのセッションの割り当てが要求されると、セッションIDおよび割り当てた画像中継サーバ21のIPアドレスを割り当ての要求元の端末装置11へ通知する(図6(4))。   When the management server 20 is requested to allocate a session from the terminal device 11 to the image relay server 21, the management server 20 notifies the terminal device 11 that is the allocation request source of the session ID and the IP address of the allocated image relay server 21 (FIG. 6 (4)).

端末装置11では、通知されたIPアドレスの画像中継サーバ21へ通知されたセッションIDを通知してアクセスを行う(図6(5))。画像中継サーバ21は、仮想ブラウザサーバ22にアクセスを行い、セッションを確立する(図6(6))。仮想ブラウザサーバ22は、画像中継サーバ21からのアクセスにより、仮想ブラウザを起動して社内Webシステム13にアクセスする(図6(7)(8))。   The terminal device 11 performs access by notifying the notified session ID to the image relay server 21 of the notified IP address ((5) in FIG. 6). The image relay server 21 accesses the virtual browser server 22 to establish a session ((6) in FIG. 6). The virtual browser server 22 activates the virtual browser and accesses the in-house Web system 13 by access from the image relay server 21 (FIGS. 6 (7) and (8)).

画像中継サーバ21は、仮想ブラウザサーバ22上で動作する仮想ブラウザの画面の情報を取得し(図6(9))、仮想ブラウザの画面の情報を端末装置11へ随時転送する(図6(10))。   The image relay server 21 acquires information on the screen of the virtual browser operating on the virtual browser server 22 (FIG. 6 (9)), and transfers the information on the screen of the virtual browser to the terminal device 11 as needed (FIG. 6 (10)). )).

仮想ブラウザサーバ22では、端末装置11からの社内Webシステム13へのアクセスが完了して仮想ブラウザが終了する際、仮想ブラウザがセッションの切断を管理サーバ20へ通知する(図6(11))。   In the virtual browser server 22, when the access to the in-house Web system 13 from the terminal device 11 is completed and the virtual browser is terminated, the virtual browser notifies the management server 20 of disconnection of the session ((11) in FIG. 6).

管理サーバ20は、このように仮想ブラウザサーバ22からセッションの切断が通知された場合、セッションの割り当てを解放する(図6(12))。例えば、管理サーバ20は、切断が通知されたセッションのセッション情報41の状態を解放中に更新する。そして、管理サーバ20は、切断が通知されたセッションにより接続された画像中継サーバ21に対して、切断が通知されたセッションの解放を指示する(図6(13))。   When the session disconnection is notified from the virtual browser server 22 in this manner, the management server 20 releases the session assignment (FIG. 6 (12)). For example, the management server 20 updates the state of the session information 41 of the session for which the disconnection has been notified during release. Then, the management server 20 instructs the image relay server 21 connected by the session notified of disconnection to release the session notified of disconnection (FIG. 6 (13)).

このように、本実施例に係る管理サーバ20は、セッションの切断が通知された場合、セッションの割り当てを解放する。これにより、管理サーバ20は、切断が通知されたセッションが早く解放されるため、接続可能なセッションを有効活用できる。   Thus, the management server 20 according to the present embodiment releases the session assignment when the session disconnection is notified. As a result, the management server 20 can effectively use the connectable session because the session notified of disconnection is released earlier.

[処理の流れ]
次に、本実施例に係る管理サーバ20が、セッションを管理するセッション管理処理の流れについて説明する。図7は、セッション管理処理の手順の一例を示すフローチャートである。このセッション管理処理は、例えば、端末装置11から画像中継サーバ21へのセッションの割り当ての要求を受け付けたタイミングで実行される。
[Process flow]
Next, a flow of session management processing in which the management server 20 according to the present embodiment manages a session will be described. FIG. 7 is a flowchart illustrating an exemplary procedure of session management processing. This session management process is executed, for example, at a timing when a request for assigning a session from the terminal device 11 to the image relay server 21 is received.

図7に示すように、割当部51は、新たなセッションIDを生成する(S10)。また、割当部51は、セッション情報41および中継サーバ情報40に基づいて、接続対象の画像中継サーバ21を決定する(S11)。割当部51は、セッションIDおよび接続対象の画像中継サーバ21のIPアドレスを接続先情報として、割り当ての要求元の端末装置11へ返信する(S12)。割当部51は、セッションIDで割り当てたセッションに関する情報を格納したレコードをセッション情報41に登録する(S13)。   As shown in FIG. 7, the assigning unit 51 generates a new session ID (S10). Also, the allocating unit 51 determines the connection target image relay server 21 based on the session information 41 and the relay server information 40 (S11). The allocating unit 51 returns the session ID and the IP address of the connection target image relay server 21 as connection destination information to the terminal device 11 that is the allocation request source (S12). The allocating unit 51 registers a record storing information related to the session allocated by the session ID in the session information 41 (S13).

管理部52は、各画像中継サーバ21に対して定期的にセッションの接続状況を問い合せ、所定時間以内にセッションが確立したか否かを判定する(S14)。所定時間以内にセッションが確立しない場合(S14否定)、セッションの確立が失敗したものとして処理を終了する。   The management unit 52 periodically inquires each image relay server 21 about the connection status of the session, and determines whether or not the session is established within a predetermined time (S14). If the session is not established within the predetermined time (No at S14), the process is terminated assuming that the session establishment has failed.

一方、所定時間以内にセッションが確立した場合(S14肯定)、管理部52は、セッションが確立したセッションのセッション情報41の状態を接続に更新する(S15)。   On the other hand, when the session is established within the predetermined time (Yes in S14), the management unit 52 updates the state of the session information 41 of the session in which the session is established to connection (S15).

解放部53は、仮想ブラウザからセッションの切断が通知されたか否かを判定する(S16)。セッションの切断が通知された場合(S16肯定)、解放部53は、切断が通知されたセッションのセッション情報41の状態を解放中に更新し(S17)、後述のS21へ移行する。   The release unit 53 determines whether a session disconnection is notified from the virtual browser (S16). When the disconnection of the session is notified (Yes at S16), the release unit 53 updates the state of the session information 41 of the session notified of the disconnection while releasing (S17), and proceeds to S21 described later.

一方、セッションの切断が通知されていない場合(S16否定)、解放部53は、システム管理画面60において何れかのセッションの切断が指示されたか否かを判定する(S18)。セッションの切断が指示されていない場合(S18否定)、上述のS16へ移行する。セッションの切断が指示された場合(S18肯定)、解放部53は、切断が指示されたセッションにより接続される画像中継サーバ21に対して、切断が指示されたセッションの切断を指示する(S19)。解放部53は、切断を指示したセッションのセッション情報41の状態を解放中に更新する(S20)。   On the other hand, when the session disconnection is not notified (No in S16), the release unit 53 determines whether any session disconnection is instructed on the system management screen 60 (S18). If session disconnection is not instructed (No at S18), the process proceeds to S16 described above. When the session disconnection is instructed (Yes in S18), the release unit 53 instructs the image relay server 21 connected by the session instructed to disconnect to disconnect the session instructed to disconnect (S19). . The release unit 53 updates the state of the session information 41 of the session instructed to be disconnected during release (S20).

管理部52は、各画像中継サーバ21に対して定期的にセッションの接続状況を問い合せし(S21)、状態を解放中に更新したセッションが解放されたか否かを判定する(S22)。セッションが解放された場合(S22肯定)、解放されたセッションのセッション情報41のレコードを削除して、処理を終了する。   The management unit 52 periodically inquires the connection status of the session to each image relay server 21 (S21), and determines whether or not the session updated while releasing the state is released (S22). If the session is released (Yes at S22), the record of the session information 41 of the released session is deleted, and the process ends.

一方、セッションが解放されていない場合(S22否定)、管理部52は、状態を解放中に更新してからセッションの解放にかかる一定時間を経過したか否かを判定する(S23)。一定時間を経過していない場合(S23否定)、上述のS21へ移行する。   On the other hand, when the session has not been released (No at S22), the management unit 52 determines whether or not a certain time required for releasing the session has elapsed since the state was updated during release (S23). If the predetermined time has not elapsed (No at S23), the process proceeds to S21 described above.

一方、一定時間を経過した場合(S23肯定)、管理部52は、解放されないセッションのセッション情報41の状態を異常に更新する(S24)。解放部53は、状態が異常のセッションを有する画像中継サーバ21に対して、状態が異常のセッションの解放を指示する(S25)。管理部52は、状態が異常のセッションのセッション情報41のレコードを削除し(S26)、処理を終了する。   On the other hand, when the predetermined time has elapsed (Yes in S23), the management unit 52 abnormally updates the state of the session information 41 of the session that is not released (S24). The release unit 53 instructs the image relay server 21 having a session with an abnormal state to release the session with an abnormal state (S25). The management unit 52 deletes the record of the session information 41 of the session whose state is abnormal (S26), and ends the process.

[効果]
上述してきたように、画像中継サーバ21は、仮想ブラウザサーバ22で実行するアプリケーションの処理結果を中継する。管理サーバ20は、画像中継サーバ21で中継するセッションを管理する。管理サーバ20は、端末装置11からセッションの割り当て要求を受け付け、端末装置11にアクセスさせる画像中継サーバ21の接続先情報を端末装置11に返信する。画像中継サーバ21は、端末装置11のアクセスに基づいて、該端末装置11と仮想ブラウザサーバ22とを中継するセッションを接続する。管理サーバ20は、画像中継サーバ21が中継するセッションの切断に応じて、仮想ブラウザサーバ22から通知されるセッションの切断を受信し、通知されたセッションの割り当てを解放する。これにより、管理サーバ20は、切断が通知されたセッションを直ぐに次に割り当てることができるため、接続可能なセッションを有効活用できる。
[effect]
As described above, the image relay server 21 relays the processing result of the application executed by the virtual browser server 22. The management server 20 manages a session relayed by the image relay server 21. The management server 20 accepts a session allocation request from the terminal device 11 and returns connection destination information of the image relay server 21 to be accessed to the terminal device 11 to the terminal device 11. The image relay server 21 connects a session for relaying the terminal device 11 and the virtual browser server 22 based on the access of the terminal device 11. In response to the disconnection of the session relayed by the image relay server 21, the management server 20 receives the disconnection of the session notified from the virtual browser server 22, and releases the allocation of the notified session. As a result, the management server 20 can immediately assign the session notified of the disconnection next, so that the connectable session can be effectively used.

すなわち、管理サーバ20は、セッションを管理する画像中継サーバ21へのセッションの割り当てが要求された場合、画像中継サーバ21へのセッションを割り当てる。また、管理サーバ20は、画像中継サーバ21に対して定期的にセッションの接続状況を問い合せして接続中のセッションを管理する。そして、管理サーバ20は、接続中のセッションにおいて動作する仮想ブラウザからセッションが切断されたことを示す情報が通知された場合、当該セッションの割り当てを解放する。これにより、管理サーバ20は、切断が通知されたセッションを直ぐに次に割り当てることができるため、接続可能なセッションを有効活用できる。   That is, the management server 20 allocates a session to the image relay server 21 when a session allocation to the image relay server 21 that manages the session is requested. Further, the management server 20 periodically inquires the connection status of the session to the image relay server 21 and manages the currently connected session. When the management server 20 is notified of information indicating that the session is disconnected from the virtual browser operating in the connected session, the management server 20 releases the allocation of the session. As a result, the management server 20 can immediately assign the session notified of the disconnection next, so that the connectable session can be effectively used.

また、管理サーバ20は、セッションを管理するシステム管理画面60からセッションの解放が指示された場合、解放するセッションの状態を解放中として管理する。この解放中のセッションは、解放されるセッションである。管理サーバ20は、まだ解放されていないが解放中のセッションを解放中として管理することにより、次にセッションの割り当て要求に割り当てることができるため、接続可能なセッションを有効活用できる。   In addition, when the release of the session is instructed from the system management screen 60 for managing the session, the management server 20 manages the state of the session to be released as being released. This releasing session is a session to be released. Since the management server 20 manages a session that has not been released yet but is being released as being released, it can be allocated to the next session allocation request, so that a connectable session can be used effectively.

また、管理サーバ20は、解放されたセッションが画像中継サーバ21に残っている場合、当該セッションの解放を画像中継サーバ21に指示する。これにより、管理サーバ20は、解放したセッションが画像中継サーバ21に残っている場合、解放させることができるため、接続可能なセッションを有効活用できる。   When the released session remains in the image relay server 21, the management server 20 instructs the image relay server 21 to release the session. As a result, the management server 20 can release a session that has been released if it remains in the image relay server 21, so that a connectable session can be used effectively.

さて、これまで開示の装置に関する実施例について説明したが、開示の技術は上述した実施例以外にも、種々の異なる形態にて実施されてよいものである。そこで、以下では、本発明に含まれる他の実施例を説明する。   Although the embodiments related to the disclosed apparatus have been described so far, the disclosed technology may be implemented in various different forms other than the above-described embodiments. Therefore, another embodiment included in the present invention will be described below.

例えば、上記の実施例では、仮想ブラウザにより社内Webシステム13の画面を転送する場合について説明したが、開示のシステムはこれに限定されない。例えば、利用者が社内で使用するPCの画面を転送してもよい。   For example, in the above embodiment, the case where the screen of the in-house Web system 13 is transferred by a virtual browser has been described, but the disclosed system is not limited to this. For example, a PC screen used by the user in the company may be transferred.

また、上記の実施例では、仮想ブラウザサーバ22がアプリケーションとして、例えば、Internet Explorerなどのブラウザを仮想ブラウザとして動作させる場合について説明したが、開示のシステムはこれに限定されない。例えば、仮想ブラウザサーバが実行するアプリケーションは、ブラウザに限定されず、端末装置11へ転送する情報を生成するものであれば何れのプログラムあってもよい。   In the above-described embodiment, the case has been described in which the virtual browser server 22 operates a browser such as Internet Explorer as a virtual browser as an application, but the disclosed system is not limited thereto. For example, the application executed by the virtual browser server is not limited to the browser, and may be any program as long as it generates information to be transferred to the terminal device 11.

また、上記の実施例では、管理サーバ20と画像中継サーバ21と仮想ブラウザサーバ22とを別な物理サーバとした場合について説明したが、開示の装置はこれに限定されない。例えば、画像中継サーバ21と仮想ブラウザサーバ22を同じ物理サーバが兼ねてもよい。また、管理サーバ20と画像中継サーバ21と仮想ブラウザサーバ22は何れかが仮想マシンであってもよい。例えば、物理サーバ上で1または複数のVM(Virtual Machine:仮想マシン)を動作させ、VMが管理サーバ20と画像中継サーバ21と仮想ブラウザサーバ22として機能してもよい。すなわち、1つまたは複数のサーバによって、管理サーバ20を機能的に管理部として動作させ、画像中継サーバ21を中継部として動作させ、仮想ブラウザサーバ22を実行部と動作させてもよい。   In the above-described embodiment, the case where the management server 20, the image relay server 21, and the virtual browser server 22 are different physical servers has been described. However, the disclosed apparatus is not limited thereto. For example, the same physical server may serve as the image relay server 21 and the virtual browser server 22. Any of the management server 20, the image relay server 21, and the virtual browser server 22 may be a virtual machine. For example, one or a plurality of VMs (Virtual Machines) may be operated on a physical server, and the VM may function as the management server 20, the image relay server 21, and the virtual browser server 22. That is, the management server 20 may be functionally operated as a management unit, the image relay server 21 may be operated as a relay unit, and the virtual browser server 22 may be operated as an execution unit by one or a plurality of servers.

また、上記の実施例では、システム管理画面60から解放が指示されたセッションおよび仮想ブラウザサーバ22から切断が通知されたセッションの状態を解放中として管理する場合について説明したが、開示の装置はこれに限定されない。例えば、システム管理画面60から解放が指示されたセッションおよび仮想ブラウザサーバ22から切断が通知されたセッションのレコードをセッション情報41から削除してもよい。   In the above-described embodiment, a case has been described in which the state of a session instructed to be released from the system management screen 60 and the state of a session in which disconnection is notified from the virtual browser server 22 are managed as being released. It is not limited to. For example, a record of a session instructed to be released from the system management screen 60 and a session in which disconnection is notified from the virtual browser server 22 may be deleted from the session information 41.

また、上記の実施例では、切断が通知された解放中のセッションを直ぐに次に割り当てる場合について説明したが、開示の装置はこれに限定されない。例えば、管理サーバ20は、セッション情報41に開放中に更新されたセッションが存在し、端末装置11からセッションの割り当て要求を受け付けた場合に、次のように処理を行ってもよい。管理サーバ20は、開放中に更新されたセッションで管理される中継サーバ21の接続先情報を、端末装置11へ返信する中継サーバ21の接続先情報から除外してもよい。すなわち、管理サーバ20は、セッションの割り当て要求を受け付けた端末装置11が、セッション情報41に開放中に更新されたセッションで管理される端末装置11ではない場合、該開放中のセッションで接続された中継サーバ21を端末装置11へ返信する中継サーバ21から除外してもよい。また、管理サーバ20は、セッションの割り当て要求を受け付けた端末装置11が、セッション情報41に開放中に更新されたセッションで管理される端末装置11であった場合には、接続先情報を返信してもよい。すなわち、管理サーバ20は、セッションの割り当て要求を受け付けた端末装置11が、セッション情報41に開放中に更新されたセッションで管理される端末装置11である場合、該開放中のセッションで接続された中継サーバ21を端末装置11へ返信する中継サーバ21としてもよい。これにより、端末装置11に対して解放中のセッションと同じ中継サーバ21を通知することで、セッションを有効活用できる。例えば、端末装置11に対して、開放中のセッションを再度利用して通信を行わせることで、セッションを有効活用できる。   In the above-described embodiment, a case has been described in which a released session notified of disconnection is immediately assigned next, but the disclosed apparatus is not limited thereto. For example, the management server 20 may perform the following process when the session information 41 includes a session updated while being released and receives a session allocation request from the terminal device 11. The management server 20 may exclude the connection destination information of the relay server 21 managed in the session updated during the release from the connection destination information of the relay server 21 that returns to the terminal device 11. That is, when the terminal device 11 that has received the session allocation request is not the terminal device 11 that is managed in the session information 41 that is updated while being released, the management server 20 is connected in the session that is being released. The relay server 21 may be excluded from the relay server 21 that replies to the terminal device 11. In addition, when the terminal device 11 that has received the session allocation request is the terminal device 11 that is managed by the session updated while being released to the session information 41, the management server 20 returns connection destination information. May be. In other words, when the terminal device 11 that has received the session allocation request is the terminal device 11 that is managed in the session information 41 that is updated while being released, the management server 20 is connected in the session that is being released. The relay server 21 may be the relay server 21 that sends a reply to the terminal device 11. Thereby, the session can be effectively utilized by notifying the terminal device 11 of the same relay server 21 as the session being released. For example, the session can be effectively used by causing the terminal device 11 to perform communication using the open session again.

また、図示した各装置の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各装置の分散・統合の具体的状態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。例えば、管理サーバ20の受付部50、割当部51、管理部52および解放部53の各処理部が適宜統合されてもよい。また、各処理部の処理が適宜複数の処理部の処理に分離されてもよい。さらに、各処理部にて行なわれる各処理機能は、その全部または任意の一部が、CPUおよび当該CPUにて解析実行されるプログラムにて実現され、あるいは、ワイヤードロジックによるハードウェアとして実現され得る。   Further, each component of each illustrated apparatus is functionally conceptual, and does not necessarily need to be physically configured as illustrated. In other words, the specific state 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 or arbitrarily distributed in arbitrary units according to various loads or usage conditions. Can be integrated and configured. For example, the processing units of the reception unit 50, the allocation unit 51, the management unit 52, and the release unit 53 of the management server 20 may be appropriately integrated. Further, the processing of each processing unit may be appropriately separated into a plurality of processing units. Further, all or any part of each processing function performed in each processing unit can be realized by a CPU and a program analyzed and executed by the CPU, or can be realized as hardware by wired logic. .

[セッション管理プログラム]
また、上記の実施例で説明した各種の処理は、あらかじめ用意されたプログラムをパーソナルコンピュータやワークステーションなどのコンピュータシステムで実行することによって実現することもできる。そこで、以下では、上記の実施例と同様の機能を有するプログラムを実行するコンピュータシステムの一例を説明する。図8は、セッション管理プログラムを実行するコンピュータを示す図である。
[Session management program]
The various processes described in the above embodiments can also be realized by executing a program prepared in advance on a computer system such as a personal computer or a workstation. Therefore, in the following, an example of a computer system that executes a program having the same function as in the above embodiment will be described. FIG. 8 is a diagram illustrating a computer that executes a session management program.

図8に示すように、コンピュータ300は、CPU(Central Processing Unit)310、HDD(Hard Disk Drive)320、RAM(Random Access Memory)340を有する。これら310〜340の各部は、バス400を介して接続される。   As illustrated in FIG. 8, the computer 300 includes a central processing unit (CPU) 310, a hard disk drive (HDD) 320, and a random access memory (RAM) 340. These units 310 to 340 are connected via a bus 400.

HDD320には上記の管理サーバ20の受付部50、割当部51、管理部52および解放部53と同様の機能を発揮するセッション管理プログラム320aが予め記憶される。なお、セッション管理プログラム320aについては、適宜分離しても良い。   The HDD 320 stores in advance a session management program 320a that exhibits the same functions as the reception unit 50, the allocation unit 51, the management unit 52, and the release unit 53 of the management server 20 described above. Note that the session management program 320a may be separated as appropriate.

また、HDD320は、各種情報を記憶する。例えば、HDD320は、OSやセッション管理を含む各種の制御に用いる各種データを記憶する。   The HDD 320 stores various information. For example, the HDD 320 stores various data used for various controls including OS and session management.

そして、CPU310が、セッション管理プログラム320aをHDD320から読み出して実行することで、実施例の各処理部と同様の動作を実行する。すなわち、セッション管理プログラム320aは、受付部50、割当部51、管理部52および解放部53と同様の動作を実行する。   Then, the CPU 310 reads out and executes the session management program 320a from the HDD 320, thereby executing the same operation as each processing unit of the embodiment. That is, the session management program 320a performs the same operations as the reception unit 50, the allocation unit 51, the management unit 52, and the release unit 53.

なお、上記したセッション管理プログラム320aについては、必ずしも最初からHDD320に記憶させることを要しない。   Note that the session management program 320a is not necessarily stored in the HDD 320 from the beginning.

例えば、コンピュータ300に挿入されるフレキシブルディスク(FD)、CD−ROM、DVDディスク、光磁気ディスク、ICカードなどの「可搬用の物理媒体」にプログラムを記憶させておく。そして、コンピュータ300がこれらからプログラムを読み出して実行するようにしてもよい。   For example, the program is stored in a “portable physical medium” such as a flexible disk (FD), a CD-ROM, a DVD disk, a magneto-optical disk, or an IC card inserted into the computer 300. Then, the computer 300 may read and execute the program from these.

さらには、公衆回線、インターネット、LAN、WANなどを介してコンピュータ300に接続される「他のコンピュータ(またはサーバ)」などにプログラムを記憶させておく。そして、コンピュータ300がこれらからプログラムを読み出して実行するようにしてもよい。   Furthermore, the program is stored in “another computer (or server)” connected to the computer 300 via a public line, the Internet, a LAN, a WAN, or the like. Then, the computer 300 may read and execute the program from these.

10 システム
11 端末装置
12 外部ネットワーク
13 社内Webシステム
20 管理サーバ
21 画像中継サーバ
22 仮想ブラウザサーバ
30 通信I/F部
31 表示部
32 入力部
33 記憶部
34 制御部
40 中継サーバ情報
41 セッション情報
50 受付部
51 割当部
52 管理部
53 解放部
60 システム管理画面
DESCRIPTION OF SYMBOLS 10 System 11 Terminal apparatus 12 External network 13 In-house Web system 20 Management server 21 Image relay server 22 Virtual browser server 30 Communication I / F part 31 Display part 32 Input part 33 Storage part 34 Control part 40 Relay server information 41 Session information 50 Reception Unit 51 Allocation unit 52 Management unit 53 Release unit 60 System management screen

Claims (7)

実行部で実行するアプリケーションの処理結果を中継する中継部と、
前記中継部で中継するセッションを管理する管理部とで実行されるセッション管理プログラムであって、
前記管理部は、
前記中継部で中継するセッションについて、前記実行部から切断が通知された場合、または、切断が指示された場合、いずれの場合についても状態を解放中としてセッションを管理し、
端末からセッションの割り当て要求を受け付けると、前記中継部ごとに、状態が解放中以外のセッション数をカウントし、
セッション数が所定の上限値未満の前記中継部のなかから、前記端末にアクセスさせる前記中継部を決定し、
決定した前記中継部の接続先情報を前記端末に返信し、
前記中継部は、
前記端末のアクセスに基づいて、該端末と前記実行部とを中継するセッションを接続し、
前記管理部は、
前記中継部が中継するセッションの切断に応じて、前記実行部から通知されるセッションの切断を受信し、
通知されたセッションの割り当てを解放する
処理を実行させることを特徴とするセッション管理プログラム。
A relay unit that relays the processing results of the application executed by the execution unit;
A session management program executed by a management unit that manages a session relayed by the relay unit,
The management unit
For a session relayed by the relay unit, when disconnection is notified from the execution unit, or when disconnection is instructed, in any case, managing the session as releasing the state,
When the terminal accepting an session allocation request for each of the relay unit, the state counts the number of sessions other than during release,
From among the relay units whose number of sessions is less than a predetermined upper limit value, determine the relay unit to be accessed by the terminal ,
The determined connection destination information of the relay unit to reply to the terminal,
The relay unit is
Based on the access of the terminal, connecting a session relaying the terminal and the execution unit,
The management unit
In response to disconnection of the session relayed by the relay unit, the disconnection of the session notified from the execution unit is received,
A session management program for executing a process for releasing the notified session allocation.
前記管理部は、
前記中継部に対してセッションの接続状況を問い合せ、問い合せに対する回答に基づいてセッション情報を更新し、
前記端末へ返信する中継部の接続先情報は、前記セッション情報に基づいて生成する
処理を実行させることを特徴とする請求項1に記載のセッション管理プログラム。
The management unit
Query the connection status of the session to the relay unit, update the session information based on the answer to the inquiry,
The session management program according to claim 1, wherein the connection destination information of the relay unit that returns to the terminal is generated based on the session information.
端末のアクセスに基づいて、該端末とアプリケーションの処理を実行する実行部とを中継するセッションを接続し、前記実行部で実行するアプリケーションの処理結果を中継する中継部と、
前記中継部で中継するセッションについて、前記実行部から切断が通知された場合、または、切断が指示された場合、いずれの場合についても状態を解放中としてセッションを管理し、前記端末からセッションの割り当て要求を受け付けると、前記中継部ごとに、状態が解放中以外のセッション数をカウントし、セッション数が所定の上限値未満の前記中継部のなかから、前記端末にアクセスさせる前記中継部を決定し、決定した前記中継部の接続先情報を前記端末に返信し、前記中継部が中継するセッションの切断に応じて、前記実行部から通知されるセッションの切断を受信した場合、通知されたセッションの割り当てを解放する管理部と、
を有することを特徴とするセッション管理装置。
A relay unit that connects a session that relays the terminal and an execution unit that executes application processing based on the access of the terminal, and relays a processing result of the application executed by the execution unit;
When a session is relayed by the relay unit, when the disconnection is notified from the execution unit, or when disconnection is instructed, the session is managed as being released in any case, and the session is allocated from the terminal. determining the request Ru accepted, for each of the relay unit, the state counts the number of non during release session from among the number of sessions of the relay portion less than a predetermined upper limit value, the relay unit for access to the terminal The determined connection destination information of the relay unit is returned to the terminal, and when the session disconnection notified from the execution unit is received in response to the session disconnection relayed by the relay unit, the notified session A management unit to release the allocation of
A session management apparatus comprising:
実行部で実行するアプリケーションの処理結果を中継する中継部と、
前記中継部で中継するセッションを管理する管理部とで実行されるセッション管理方法であって、
前記管理部は、
前記中継部で中継するセッションについて、前記実行部から切断が通知された場合、または、切断が指示された場合、いずれの場合についても状態を解放中としてセッションを管理し、
端末からセッションの割り当て要求を受け付けると、前記中継部ごとに、状態が解放中以外のセッション数をカウントし、
セッション数が所定の上限値未満の前記中継部のなかから、前記端末にアクセスさせる前記中継部を決定し、
決定した前記中継部の接続先情報を前記端末に返信し、
前記中継部は、
前記端末のアクセスに基づいて、該端末と前記実行部とを中継するセッションを接続し、
前記管理部は、
前記中継部が中継するセッションの切断に応じて、前記実行部から通知されるセッションの切断を受信し、
通知されたセッションの割り当てを解放する
処理を実行することを特徴とするセッション管理方法。
A relay unit that relays the processing results of the application executed by the execution unit;
A session management method executed by a management unit that manages a session relayed by the relay unit,
The management unit
For a session relayed by the relay unit, when disconnection is notified from the execution unit, or when disconnection is instructed, in any case, managing the session as releasing the state,
When the terminal accepting an session allocation request for each of the relay unit, the state counts the number of sessions other than during release,
From among the relay units whose number of sessions is less than a predetermined upper limit value, determine the relay unit to be accessed by the terminal ,
The determined connection destination information of the relay unit to reply to the terminal,
The relay unit is
Based on the access of the terminal, connecting a session relaying the terminal and the execution unit,
The management unit
In response to disconnection of the session relayed by the relay unit, the disconnection of the session notified from the execution unit is received,
A session management method characterized by executing a process of releasing the notified session allocation.
実行部で実行するアプリケーションの処理結果を中継する中継部と、A relay unit that relays the processing results of the application executed by the execution unit;
前記中継部で中継するセッションを管理する管理部とで実行されるセッション管理プログラムであって、A session management program executed by a management unit that manages a session relayed by the relay unit,
前記管理部は、The management unit
前記中継部で中継するセッションについて、前記実行部から切断が通知された場合、または、切断が指示された場合、いずれの場合についても状態を解放中としてセッションを管理し、For a session relayed by the relay unit, when disconnection is notified from the execution unit, or when disconnection is instructed, in any case, managing the session as releasing the state,
前記中継部に対してセッションの接続状況を定期的に問い合わせして、接続状況が通知されないセッションを切断したものとして当該セッションの管理情報を削除し、Inquire the connection status of the session to the relay unit periodically, delete the session management information as a disconnection of the session for which the connection status is not notified,
端末からセッションの割り当て要求を受け付け、Accept session allocation request from terminal,
割り当て要求を受け付けた端末が解放中のセッションで接続された端末である場合には、当該解放中のセッションを中継する中継部の接続先情報を前記端末に返信し、割り当て要求を受け付けた端末が、解放中のセッションで接続された端末以外の場合には、当該解放中のセッションを中継する中継部以外の中継部の接続先情報を前記端末に返信し、If the terminal that has received the allocation request is a terminal connected in the released session, the connection destination information of the relay unit that relays the released session is returned to the terminal, and the terminal that has received the allocation request In a case other than the terminal connected in the released session, the connection destination information of the relay unit other than the relay unit that relays the released session is returned to the terminal,
前記中継部は、The relay unit is
前記端末のアクセスに基づいて、該端末と前記実行部とを中継するセッションを接続し、Based on the access of the terminal, connecting a session relaying the terminal and the execution unit,
前記管理部は、The management unit
前記中継部が中継するセッションの切断に応じて、前記実行部から通知されるセッションの切断を受信し、In response to disconnection of the session relayed by the relay unit, the disconnection of the session notified from the execution unit is received,
通知されたセッションの割り当てを解放するRelease the reported session allocation
処理を実行させることを特徴とするセッション管理プログラム。A session management program characterized by causing a process to be executed.
端末のアクセスに基づいて、該端末とアプリケーションの処理を実行する実行部とを中継するセッションを接続し、前記実行部で実行するアプリケーションの処理結果を中継する中継部と、A relay unit that connects a session that relays the terminal and an execution unit that executes application processing based on the access of the terminal, and relays a processing result of the application executed by the execution unit;
前記中継部で中継するセッションについて、前記実行部から切断が通知された場合、または、切断が指示された場合、いずれの場合についても状態を解放中としてセッションを管理し、前記中継部に対してセッションの接続状況を定期的に問い合わせして、接続状況が通知されないセッションを切断したものとして当該セッションの管理情報を削除し、端末からセッションの割り当て要求を受け付け、割り当て要求を受け付けた端末が解放中のセッションで接続された端末である場合には、当該解放中のセッションを中継する中継部の接続先情報を前記端末に返信し、割り当て要求を受け付けた端末が、解放中のセッションで接続された端末以外の場合には、当該解放中のセッションを中継する中継部以外の中継部の接続先情報を前記端末に返信し、前記中継部が中継するセッションの切断に応じて、前記実行部から通知されるセッションの切断を受信し、通知されたセッションの割り当てを解放する管理部と、For a session relayed by the relay unit, when disconnection is notified from the execution unit, or when disconnection is instructed, the session is managed as being released in any case, and The session connection status is periodically inquired, the session management information is deleted as if the session for which the connection status was not notified is disconnected, the session allocation request is accepted from the terminal, and the terminal that received the allocation request is released The connection destination information of the relay unit that relays the released session is returned to the terminal, and the terminal that accepted the allocation request is connected in the released session. In a case other than the terminal, the connection destination information of the relay unit other than the relay unit that relays the released session is sent to the terminal And Shin, depending on the cut of the session in which the relay unit relays, receiving the termination of the session notified from the execution unit, a management unit to release the allocation of the announced session,
を有することを特徴とするセッション管理装置。A session management apparatus comprising:
実行部で実行するアプリケーションの処理結果を中継する中継部と、A relay unit that relays the processing results of the application executed by the execution unit;
前記中継部で中継するセッションを管理する管理部とで実行されるセッション管理方法であって、A session management method executed by a management unit that manages a session relayed by the relay unit,
前記管理部は、The management unit
前記中継部で中継するセッションについて、前記実行部から切断が通知された場合、または、切断が指示された場合、いずれの場合についても状態を解放中としてセッションを管理し、For a session relayed by the relay unit, when disconnection is notified from the execution unit, or when disconnection is instructed, in any case, managing the session as releasing the state,
前記中継部に対してセッションの接続状況を定期的に問い合わせして、接続状況が通知されないセッションを切断したものとして当該セッションの管理情報を削除し、Inquire the connection status of the session to the relay unit periodically, delete the session management information as a disconnection of the session for which the connection status is not notified,
端末からセッションの割り当て要求を受け付け、Accept session allocation request from terminal,
割り当て要求を受け付けた端末が解放中のセッションで接続された端末である場合には、当該解放中のセッションを中継する中継部の接続先情報を前記端末に返信し、割り当て要求を受け付けた端末が、解放中のセッションで接続された端末以外の場合には、当該解放中のセッションを中継する中継部以外の中継部の接続先情報を前記端末に返信し、If the terminal that has received the allocation request is a terminal connected in the released session, the connection destination information of the relay unit that relays the released session is returned to the terminal, and the terminal that has received the allocation request In a case other than the terminal connected in the released session, the connection destination information of the relay unit other than the relay unit that relays the released session is returned to the terminal,
前記中継部は、The relay unit is
前記端末のアクセスに基づいて、該端末と前記実行部とを中継するセッションを接続し、Based on the access of the terminal, connecting a session relaying the terminal and the execution unit,
前記管理部は、The management unit
前記中継部が中継するセッションの切断に応じて、前記実行部から通知されるセッションの切断を受信し、In response to disconnection of the session relayed by the relay unit, the disconnection of the session notified from the execution unit is received,
通知されたセッションの割り当てを解放するRelease the reported session allocation
処理を実行することを特徴とするセッション管理方法。The session management method characterized by performing a process.
JP2013158115A 2013-07-30 2013-07-30 Session management program, session management method, and session management apparatus Expired - Fee Related JP6252016B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013158115A JP6252016B2 (en) 2013-07-30 2013-07-30 Session management program, session management method, and session management apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013158115A JP6252016B2 (en) 2013-07-30 2013-07-30 Session management program, session management method, and session management apparatus

Publications (2)

Publication Number Publication Date
JP2015028722A JP2015028722A (en) 2015-02-12
JP6252016B2 true JP6252016B2 (en) 2017-12-27

Family

ID=52492389

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013158115A Expired - Fee Related JP6252016B2 (en) 2013-07-30 2013-07-30 Session management program, session management method, and session management apparatus

Country Status (1)

Country Link
JP (1) JP6252016B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8375127B1 (en) * 1999-03-31 2013-02-12 International Business Machines Corporation Method and system for using virtual URLs for load balancing
JP2006148661A (en) * 2004-11-22 2006-06-08 Toshiba Corp Information terminal remote operation system, remote access terminal thereof, gateway server thereof, information terminal control device thereof, information terminal device, and remote operation method thereof
JP2008097314A (en) * 2006-10-12 2008-04-24 Kddi Corp Temporary connection method, server, and program for distributing access requests from terminals spatially and / or temporally
JP4819644B2 (en) * 2006-10-12 2011-11-24 株式会社日立製作所 Information processing system, information processing method, and information processing apparatus
JP4990399B2 (en) * 2007-09-06 2012-08-01 マイクロソフト コーポレーション Session broker extensibility application program interface

Also Published As

Publication number Publication date
JP2015028722A (en) 2015-02-12

Similar Documents

Publication Publication Date Title
US10560538B2 (en) Integrated user interface for consuming services across different distributed networks
US10469314B2 (en) API gateway for network policy and configuration management with public cloud
US11539803B2 (en) Highly available private cloud service
JP6364160B2 (en) Menu control method, menu control apparatus, and menu control program
US9432449B2 (en) Managing connection failover in a load balancer
JP6631710B2 (en) Virtualization management program, virtualization management device, and virtualization management method
CN110635944A (en) A cluster network configuration method, device, electronic device and storage medium
CN103297412B (en) Thin client system, connection management server, connection management method and computer-readable medium
CN108984266A (en) A kind of management method of virtual machine, apparatus and system
US20150237003A1 (en) Computerized techniques for network address assignment
JP6200080B2 (en) Managing client access to multiple computing systems
CN109155939B (en) Load migration method, device and system
JP5352367B2 (en) Virtual machine boot terminal and virtual machine boot program
EP3629160A1 (en) Method and device for managing vnf instantiation
KR20210044281A (en) Method and apparatus for ensuring continuous device operation stability in cloud degraded mode
US10771564B2 (en) Sharing system managed HTTP client sessions across processes
JP7406086B2 (en) Data access control program, data access control method, and authorization server
CN106254411B (en) For providing system, server system and the method for service
CN111770176A (en) Traffic scheduling method and device
WO2018032499A1 (en) Load balancing method and associated device
JP2017102777A (en) Load distribution processing server, load distribution processing method, and system
JP6252016B2 (en) Session management program, session management method, and session management apparatus
JP6961098B2 (en) Session management methods and systems, as well as equipment
US20170017520A1 (en) System and control method
US11853560B2 (en) Conditional role decision based on source environments

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160405

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170328

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170529

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171113

R150 Certificate of patent or registration of utility model

Ref document number: 6252016

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees