JP2005149382A - License management device and program - Google Patents

License management device and program Download PDF

Info

Publication number
JP2005149382A
JP2005149382A JP2003389388A JP2003389388A JP2005149382A JP 2005149382 A JP2005149382 A JP 2005149382A JP 2003389388 A JP2003389388 A JP 2003389388A JP 2003389388 A JP2003389388 A JP 2003389388A JP 2005149382 A JP2005149382 A JP 2005149382A
Authority
JP
Japan
Prior art keywords
application
communication terminal
license
time
business
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003389388A
Other languages
Japanese (ja)
Inventor
Mitsuharu Kamiya
充治 神谷
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2003389388A priority Critical patent/JP2005149382A/en
Publication of JP2005149382A publication Critical patent/JP2005149382A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To manage user's access restriction based on the number of users who can simultaneously use an application and the execution time of the application. <P>SOLUTION: This license management device 1 registers user IDs of communication terminals to which the execution of a Web application is permitted and a time when the execution of the Web application is permitted in a license permission management file 141 and when a communication terminal 3 accesses the Web application, when the number of communication terminals registered in the license permission management file 141 is smaller than the preset number of licenses, registers a user ID of the communication terminal 3 which accesses the Web application in the license permission management file 141. In addition, processing for deleting a user ID whose execution time of the Web application exceeds a preset timer time among the user IDs registered in the license permission management file 141 from the license permission management file 141 is performed. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、ライセンス管理装置及びプログラムに関する。   The present invention relates to a license management apparatus and a program.

近年、会社、学校等では、LAN(Local Area Network)、WAN(Wide Area Network)によるネットワーク化が進み、ネットワーク上でアプリケーションのライセンス(アプリケーションの使用権)を管理するライセンス管理システムが開発されている(例えば、特許文献1参照。)。このようなライセンス管理システムでは、ユーザがアプリケーションにアクセスする際に、ユーザ認証を行い、ネットワーク上でアプリケーションを同時に使用可能なユーザの数を制限することによって、アプリケーションのライセンス管理を行っている。最近では、Webアプリケーションを用いた業務システムが増大している。Webアプリケーションを用いた業務システムでは、アプリケーションのライセンスを管理するために、例えば、CookieからユーザIDを取得することによってユーザ認証を行っている。
特開平9−62393号公報
In recent years, companies, schools, etc. have been networked by LAN (Local Area Network) and WAN (Wide Area Network), and a license management system for managing application licenses (application usage rights) on the network has been developed. (For example, refer to Patent Document 1). In such a license management system, when a user accesses an application, user authentication is performed, and the license management of the application is performed by limiting the number of users who can simultaneously use the application on the network. Recently, business systems using Web applications are increasing. In a business system using a Web application, user authentication is performed by acquiring a user ID from a cookie, for example, in order to manage application licenses.
JP-A-9-62393

しかしながら、Webアプリケーションを用いた業務システムでは、ユーザの通信端末側でアプリケーションをダウンロードしてWebブラウザ内で業務を遂行しているため、Webサーバと通信端末とは、データ通信後に回線が切断されてしまい、同時ユーザアクセス制限(アプリケーションを同時に使用可能なユーザ数の制限)によってライセンスを管理するのは困難であるという問題があった。また、データ通信後に回線が切断されるWebアプリケーションの特性上、アクセス状態での放置や他のサイトへの移行など、ユーザの利用状況を正確に管理できないという問題もあった。   However, in a business system using a web application, the application is downloaded on the user's communication terminal side and the business is performed in the web browser. Therefore, the line between the web server and the communication terminal is disconnected after data communication. Therefore, there is a problem that it is difficult to manage licenses due to simultaneous user access restriction (restriction of the number of users who can use the application simultaneously). In addition, due to the characteristics of the Web application in which the line is disconnected after data communication, there has been a problem that the usage status of the user cannot be managed accurately, such as being left in an access state or shifting to another site.

また、従来のライセンス管理システムでは、会計システム、給与システム、販売管理システム等の複数の業務システムが混在する環境下では、業務システム毎にユーザ認証を行っているため、複数の業務システムを利用するユーザにとって、このようなユーザ認証の手続きは面倒であるという問題があった。   In addition, in the conventional license management system, user authentication is performed for each business system in an environment where a plurality of business systems such as an accounting system, a salary system, and a sales management system coexist, so a plurality of business systems are used. There has been a problem that such a user authentication procedure is troublesome for the user.

本発明の課題は、アプリケーションを同時に使用可能なユーザ数及びアプリケーションの実行時間に基づいて、ユーザのアクセス制限を管理可能にすることである。   An object of the present invention is to manage user access restrictions based on the number of users who can use an application at the same time and the execution time of the application.

請求項1に記載の発明は、ネットワークを介して接続される複数の通信端末に、業務システムを動作させるためのアプリケーションを実行させるライセンス管理装置であって、アプリケーションを同時に実行可能な通信端末の数を制限するためのライセンス数及び当該アプリケーションを実行可能な時間を制限するためのタイマー時間を記憶する情報管理記憶手段と、アプリケーションを実行している通信端末の識別情報及び当該アプリケーションの実行が許可された時刻を登録する許可管理記憶手段と、通信端末が前記アプリケーションにアクセスした際、前記許可管理記憶手段に識別情報が登録された通信端末の数が前記ライセンス数より少ない場合、前記アクセスをした通信端末の識別情報を前記許可管理記憶手段に登録して、当該アプリケーションの実行を許可する制御手段と、前記許可管理記憶手段に識別情報が登録された通信端末毎に、アプリケーションの実行時間が前記タイマー時間を超えたか否かを判定する判定手段と、前記判定手段によりアプリケーションの実行時間が前記タイマー時間を越えたと判定された通信端末の識別情報を前記許可管理記憶手段から削除する削除手段と、を備えることを特徴としている。   The invention according to claim 1 is a license management apparatus that causes a plurality of communication terminals connected via a network to execute an application for operating a business system, and the number of communication terminals that can simultaneously execute the application Information management storage means for storing the number of licenses for limiting the time and timer time for limiting the time during which the application can be executed, identification information of the communication terminal that is executing the application, and execution of the application are permitted The permission management storage means for registering the received time, and when the communication terminal accesses the application, if the number of communication terminals whose identification information is registered in the permission management storage means is less than the number of licenses, the accessed communication Register the terminal identification information in the permission management storage means, and A control unit that permits execution of the application, a determination unit that determines whether or not the execution time of the application exceeds the timer time for each communication terminal whose identification information is registered in the permission management storage unit, and the determination unit And deleting means for deleting the identification information of the communication terminal determined that the execution time of the application has exceeded the timer time from the permission management storage means.

請求項4に記載のプログラムは、コンピュータに、アプリケーションを実行している通信端末の識別情報及び当該アプリケーションの実行が許可された時刻を記憶手段に登録する機能と、通信端末が前記アプリケーションにアクセスした際、前記記憶手段に識別情報が登録された通信端末の数が予め設定された数より少ない場合、前記アクセスをした通信端末の識別情報を前記記憶手段に登録し、当該アプリケーションの実行を許可する機能と、前記記憶手段に識別情報が登録された通信端末毎に、アプリケーションの実行時間が予め設定された時間を超えたか否かを判定する機能と、前記判定によりアプリケーションの実行時間が予め設定された時間を越えたと判定された通信端末の識別情報を前記記憶手段から削除する機能と、を実現させる。   According to a fourth aspect of the present invention, there is provided a program for registering, in a storage unit, identification information of a communication terminal that is executing an application and a time when the application is permitted to execute, and the communication terminal has accessed the application. When the number of communication terminals whose identification information is registered in the storage means is smaller than a preset number, the identification information of the accessed communication terminal is registered in the storage means and the execution of the application is permitted. A function, a function for determining whether the execution time of the application exceeds a preset time for each communication terminal whose identification information is registered in the storage means, and the execution time of the application is preset by the determination. A function of deleting the identification information of the communication terminal determined to have exceeded the predetermined time from the storage means. That.

本発明によれば、通信端末がアプリケーションを実行中に、アプリケーションを提供するサーバと通信端末との通信が切断された状態であっても、ユーザのアクセス制限によるライセンス管理を行うことができる。また、ユーザのアプリケーションの利用状況を把握することができるため、ユーザの利用状況に応じたライセンス管理を行うことができる。   ADVANTAGE OF THE INVENTION According to this invention, the license management by a user's access restriction | limiting can be performed even if it is in the state in which communication with the server which provides an application, and a communication terminal is cut | disconnected while the communication terminal is executing the application. In addition, since the usage status of the user's application can be grasped, license management according to the usage status of the user can be performed.

以下、図を参照して、本発明の実施形態について詳細に説明する。
(実施形態1)
図1〜図6を参照して、本発明の実施形態1について詳細に説明する。まず、実施形態1における構成について説明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
(Embodiment 1)
The first embodiment of the present invention will be described in detail with reference to FIGS. First, the configuration in the first embodiment will be described.

図1に、実施形態1のライセンス管理システム100の構成を示す。ライセンス管理システム100は、図1に示すように、ライセンス管理装置1、Webアプリサーバ2、通信端末3〜6により構成され、各装置は、LAN(Local Area Network)、WAN(Wide Area Network)等の通信ネットワークを介して接続される。なお、1台のWebアプリサーバ2に接続される通信端末の台数は特に限定されない。   FIG. 1 shows the configuration of the license management system 100 according to the first embodiment. As shown in FIG. 1, the license management system 100 includes a license management apparatus 1, a web application server 2, and communication terminals 3 to 6, each of which includes a LAN (Local Area Network), a WAN (Wide Area Network), and the like. Connected via a communication network. Note that the number of communication terminals connected to one Web application server 2 is not particularly limited.

ライセンス管理装置1は、会計システム、給与システム、販売管理システム等の各業務システムが提供するWebアプリケーションへのユーザのアクセス制限を管理する装置である。ライセンス管理装置1を構成する各部の詳細については、後に図2を参照して説明する。   The license management apparatus 1 is an apparatus that manages user access restrictions on Web applications provided by business systems such as an accounting system, a salary system, and a sales management system. Details of each unit constituting the license management apparatus 1 will be described later with reference to FIG.

Webアプリサーバ2は、業務システムをWebアプリケーションによって稼動させる装置であり、通信端末3〜6のWebブラウザからの接続要求に応じて業務メニューを実行する。Webアプリサーバ2を構成する各部の詳細については、後に図4を参照して説明する。   The web application server 2 is a device that operates a business system using a web application, and executes a business menu in response to a connection request from a web browser of the communication terminals 3 to 6. Details of each part constituting the Web application server 2 will be described later with reference to FIG.

通信端末3〜6は、WebブラウザからWebアプリケーションにアクセス可能なPC(Personal Computer)等の端末であり、各通信端末には、ユーザIDが設定されている。   The communication terminals 3 to 6 are terminals such as a PC (Personal Computer) that can access a Web application from a Web browser, and a user ID is set for each communication terminal.

次に、図2を参照して、ライセンス管理装置1の主要部構成について説明する。ライセンス管理装置1は、図2に示すように、CPU(Central Processing Unit)10、表示装置11、入力装置12、通信制御装置13、RAM(Random Access Memory)14、記憶装置15、タイマー部16により構成され、各部は、バス17により接続される。   Next, the main configuration of the license management apparatus 1 will be described with reference to FIG. As shown in FIG. 2, the license management device 1 includes a CPU (Central Processing Unit) 10, a display device 11, an input device 12, a communication control device 13, a RAM (Random Access Memory) 14, a storage device 15, and a timer unit 16. Each part is connected by a bus 17.

CPU10は、記憶装置15に格納されている各種制御処理プログラムを読み出してRAM14内に展開し、それらの制御処理プログラムに従ってライセンス管理装置1の各部を集中制御する。以下、CPU10による制御動作について説明する。   The CPU 10 reads out various control processing programs stored in the storage device 15 and develops them in the RAM 14, and centrally controls each part of the license management apparatus 1 according to these control processing programs. Hereinafter, the control operation by the CPU 10 will be described.

CPU10は、通信端末が、ある業務システムのWebアプリケーション(例えば、販売管理システムのWebアプリケーション)にアクセスした際、ライセンス許可管理ファイル141(図3(a)参照)に登録済みの通信端末の数(ユーザIDの数)が、予め設定されたライセンス数(Webアプリケーションに同時にアクセス可能な通信端末の最大数)より小さければ、アクセスした通信端末のユーザIDをライセンス許可管理ファイル141に登録し、そのWebアプリケーションの実行を許可する。   When the communication terminal accesses a Web application of a certain business system (for example, a Web application of a sales management system), the CPU 10 counts the number of communication terminals registered in the license permission management file 141 (see FIG. 3A) ( If the number of user IDs) is smaller than a preset license number (the maximum number of communication terminals that can simultaneously access the Web application), the user ID of the accessed communication terminal is registered in the license permission management file 141, and the Web Allow application to run.

また、CPU10は、ライセンス許可管理ファイル141に登録されたユーザID毎に、現在のシステム時刻と許可時刻(Webアプリケーションの実行が許可された時刻)との差からWebアプリケーションの実行時間を算出し、その算出された実行時間が予め設定されたタイマー時間を超えたか否かを判定し、タイマー時間を超えたと判定されたユーザIDを、ライセンス許可管理ファイル141から削除する処理を行う。   Further, the CPU 10 calculates the execution time of the Web application from the difference between the current system time and the permission time (time when the execution of the Web application is permitted) for each user ID registered in the license permission management file 141. It is determined whether or not the calculated execution time exceeds a preset timer time, and a process of deleting the user ID determined to have exceeded the timer time from the license permission management file 141 is performed.

表示装置11は、LCD(Liquid Crystal Display)、CRT(Cathode Ray Tube)等の表示画面を備え、CPU10から入力される表示信号に従って所要の表示処理を行う。   The display device 11 includes a display screen such as an LCD (Liquid Crystal Display) or a CRT (Cathode Ray Tube), and performs a required display process according to a display signal input from the CPU 10.

入力装置12は、文字入力キー、テンキー、カーソルキー及び各種機能キーを備えたキー入力装置や、マウス等のポインティングデバイス等を備え、キー入力装置やポインティングデバイスの操作による操作信号をCPU10に出力する。   The input device 12 includes a key input device including a character input key, a numeric keypad, a cursor key, and various function keys, a pointing device such as a mouse, and the like, and outputs an operation signal generated by operating the key input device and the pointing device to the CPU 10. .

通信制御装置13は、モデム(MODEM:MOdulator/DEModulator)、ルータ、TA(Terminal Adapter)等によって構成され、電話回線、専用線、ISDN回線等の通信回線を介して外部機器と通信を行うための制御を行う。   The communication control device 13 is configured by a modem (MODEM / DEModulator), a router, a TA (Terminal Adapter), and the like, and performs communication with an external device via a communication line such as a telephone line, a dedicated line, and an ISDN line. Take control.

RAM14は、CPU10により実行される各種制御処理プログラムや各種アプリケーションプログラムをプログラム格納エリアに展開する。また、RAM14は、入力データ及び上記の制御処理プログラムの実行時に生じる処理結果等のデータを、ワークエリアに一時的に格納する。   The RAM 14 develops various control processing programs and various application programs executed by the CPU 10 in a program storage area. The RAM 14 temporarily stores input data and data such as processing results generated when the control processing program is executed in the work area.

RAM14は、ユーザアクセス制限の管理に必要なファイルとして、図3に示すようなライセンス許可管理ファイル141(図3(a))と、ライセンス情報管理ファイル142(図3(b))を格納する。   The RAM 14 stores a license permission management file 141 (FIG. 3A) and a license information management file 142 (FIG. 3B) as shown in FIG. 3 as files necessary for managing user access restrictions.

ライセンス許可管理ファイル141は、図3(a)に示すように、ユーザIDと許可時刻の各項目を対応付けて記憶している。ユーザID項目は、Webアプリケーションの実行が許可された通信端末を識別するためのデータを格納する。許可時刻項目は、Webアプリケーションの実行が許可された時刻のデータを格納する。図3(a)において、許可時刻「09:45:10」は「9時45分10秒」を意味する。   As shown in FIG. 3A, the license permission management file 141 stores each item of user ID and permission time in association with each other. The user ID item stores data for identifying a communication terminal that is permitted to execute a Web application. The permitted time item stores data of the time when the execution of the Web application is permitted. In FIG. 3A, the permission time “09:45:10” means “9:45:10”.

ライセンス情報管理ファイル142は、図3(b)に示すように、ライセンス数とタイマー時間のデータを格納する。ライセンス数とは、1つのWebアプリケーションに同時にアクセス可能な通信端末の最大数である。タイマー時間とは、1台の通信端末がWebアプリケーションを連続して使用可能な時間である。ここでタイマー時間「30」は「30分」を意味する。   As shown in FIG. 3B, the license information management file 142 stores data on the number of licenses and timer time. The number of licenses is the maximum number of communication terminals that can simultaneously access one Web application. The timer time is a time during which one communication terminal can continuously use a Web application. Here, the timer time “30” means “30 minutes”.

ライセンス情報管理ファイル142に記憶されるライセンス数及びタイマー時間は、ライセンス管理装置1に業務システムプログラムをインストールするときに、RAM14又は記憶装置15が有する記録媒体に自動的に設定される。ライセンス数及びタイマー時間は、ユーザの利用頻度の増減に伴って変更可能である。   The number of licenses and the timer time stored in the license information management file 142 are automatically set in a recording medium included in the RAM 14 or the storage device 15 when the business system program is installed in the license management device 1. The number of licenses and the timer time can be changed as the user's usage frequency increases or decreases.

記憶装置15は、プログラムやデータ等が予め記憶されている記録媒体を有している。この記録媒体は、磁気的、光学的記録媒体又は半導体等の不揮発性メモリで構成されており、記憶装置15に固定的に設けたもの又は着脱自在に装着するものである。この記録媒体は、ライセンス管理処理プログラム及びこのプログラムで処理されたデータ等を記憶する。   The storage device 15 has a recording medium in which programs, data, and the like are stored in advance. This recording medium is composed of a magnetic or optical recording medium or a non-volatile memory such as a semiconductor, and is fixedly attached to the storage device 15 or detachably mounted. This recording medium stores a license management processing program and data processed by this program.

なお、記憶装置15が記憶するプログラム又はデータ等は、その一部又は全部を他の機器から通信ネットワークを介して受信して記憶する構成にしてもよい。また、記録媒体は、通信ネットワーク上に構築された別のホストコンピュータの記録媒体であってもよい。また、記憶装置15が記憶するプログラムを、通信ネットワークを介して他の機器へ伝送して、これらの機器にインストールするような構成にしてもよい。   Note that the program or data stored in the storage device 15 may be received and stored in part or in whole from another device via a communication network. Further, the recording medium may be a recording medium of another host computer constructed on the communication network. In addition, the program stored in the storage device 15 may be transmitted to other devices via a communication network and installed in these devices.

タイマー部16は、CPU10からの制御信号に従って、通信端末3〜6にWebアプリケーションの実行を許可した時刻(許可時刻)からの経過時間を計時し、計時結果をCPU10に出力する。   The timer unit 16 measures the elapsed time from the time (permitted time) when the communication terminals 3 to 6 are permitted to execute the Web application in accordance with the control signal from the CPU 10 and outputs the measured result to the CPU 10.

次に、図4を参照して、Webアプリサーバ2の主要部構成について説明する。Webアプリサーバ2は、図4に示すように、CPU(Central Processing Unit)20、表示装置21、入力装置22、通信制御装置23、RAM(Random Access Memory)24、記憶装置25により構成され、各部は、バス26により接続される。   Next, with reference to FIG. 4, the configuration of the main part of the Web application server 2 will be described. As shown in FIG. 4, the Web application server 2 includes a CPU (Central Processing Unit) 20, a display device 21, an input device 22, a communication control device 23, a RAM (Random Access Memory) 24, and a storage device 25. Are connected by a bus 26.

CPU20は、記憶装置25に格納されている各種制御プログラムを読み出してRAM24内に展開し、それらの制御プログラムに従ってWebアプリサーバ2の各部を集中制御する。以下、CPU20による制御動作について説明する。   The CPU 20 reads out various control programs stored in the storage device 25 and develops them in the RAM 24, and centrally controls each part of the Web application server 2 in accordance with those control programs. Hereinafter, the control operation by the CPU 20 will be described.

CPU20は、Webアプリケーションにアクセス要求した通信端末のユーザIDを取得し、その取得したユーザIDと実行確認要求をライセンス管理装置1に送信する。ライセンス管理装置1によりWebアプリケーションの実行が許可された場合は、通信端末から指定されたメニュー業務を実行する。ライセンス管理装置1によりWebアプリケーションの実行が許可されなかった場合には、そのWebアプリケーションへのアクセス数がライセンス数を超過したことを通知する案内表示メッセージを、アクセス要求をした通信端末に送信する。   The CPU 20 acquires the user ID of the communication terminal that has requested access to the Web application, and transmits the acquired user ID and execution confirmation request to the license management apparatus 1. When the license management apparatus 1 permits the execution of the Web application, the menu job specified from the communication terminal is executed. If the license management apparatus 1 does not permit execution of the Web application, a guidance display message notifying that the number of accesses to the Web application has exceeded the number of licenses is transmitted to the communication terminal that has requested access.

表示装置21は、LCD(Liquid Crystal Display)、CRT(Cathode Ray Tube)等の表示画面を備え、CPU20から入力される表示信号に従って所要の表示処理を行う。   The display device 21 includes a display screen such as an LCD (Liquid Crystal Display) and a CRT (Cathode Ray Tube), and performs a required display process according to a display signal input from the CPU 20.

入力装置22は、文字入力キー、テンキー、カーソルキー及び各種機能キーを備えたキー入力装置や、マウス等のポインティングデバイス等を備え、キー入力装置やポインティングデバイスの操作による操作信号をCPU20に出力する。   The input device 22 includes a key input device including a character input key, a numeric keypad, a cursor key, and various function keys, a pointing device such as a mouse, and the like, and outputs an operation signal generated by operating the key input device and the pointing device to the CPU 20. .

通信制御装置23は、モデム(MODEM:MOdulator/DEModulator)、ルータ、TA(Terminal Adapter)等によって構成され、電話回線、専用線、ISDN回線等の通信回線を介して外部機器と通信を行うための制御を行う。   The communication control device 23 is configured by a modem (MODEM / DEModulator), a router, a TA (Terminal Adapter), and the like, and performs communication with an external device via a communication line such as a telephone line, a dedicated line, and an ISDN line. Take control.

RAM24は、CPU20により実行される各種制御処理プログラムや各種アプリケーションプログラムをプログラム格納エリアに展開する。また、RAM24は、入力データ及び上記の制御処理プログラムの実行時に生じる処理結果等のデータを、ワークエリアに一時的に格納する。   The RAM 24 develops various control processing programs and various application programs executed by the CPU 20 in a program storage area. The RAM 24 temporarily stores input data and data such as processing results generated when the control processing program is executed in the work area.

記憶装置25は、プログラムやデータ等が予め記憶されている記録媒体を有している。この記録媒体は、磁気的、光学的記録媒体又は半導体等の不揮発性メモリで構成されており、記憶装置25に固定的に設けたもの又は着脱自在に装着するものである。   The storage device 25 has a recording medium in which programs, data, and the like are stored in advance. This recording medium is composed of a magnetic or optical recording medium or a non-volatile memory such as a semiconductor, and is provided in the storage device 25 fixedly or detachably mounted.

次に、実施形態1における動作について説明する。
まず、図5のフローチャートを参照して、実施形態1のWebアプリサーバ2により実行される処理について説明する。以下では、通信端末3から接続要求があったときの処理について説明する。
Next, the operation in the first embodiment will be described.
First, processing executed by the Web application server 2 according to the first embodiment will be described with reference to the flowchart of FIG. In the following, processing when there is a connection request from the communication terminal 3 will be described.

通信端末3のWebブラウザで、WebアプリケーションのURL(Uniform Resource Locator)が指定されると、該当するWebアプリケーションのメニューが通信端末3に送信される(ステップT10)。   When the URL (Uniform Resource Locator) of the Web application is specified by the Web browser of the communication terminal 3, a menu of the corresponding Web application is transmitted to the communication terminal 3 (Step T10).

通信端末3において、受信されたメニューから業務が選択されると、通信端末3に記録されているユーザIDがCookieにより取得され(ステップT11)、その取得されたユーザIDがセットされる。そして、取得されたユーザID及び実行確認要求がライセンス管理装置1に送信され(ステップT12)、ライセンス管理装置1からの実行確認の回答を待機する(ステップT13)。   When an operation is selected from the received menu in the communication terminal 3, the user ID recorded in the communication terminal 3 is acquired by Cookie (step T11), and the acquired user ID is set. Then, the acquired user ID and execution confirmation request are transmitted to the license management apparatus 1 (step T12), and an execution confirmation response from the license management apparatus 1 is waited for (step T13).

実行確認の結果として、ライセンス管理装置1から、Webアプリケーションの実行が許可されなかったことを示すNG信号が受信された場合(ステップT13;NG)、そのWebアプリケーションへのアクセス数がライセンス数を超過したことを通知するメッセージが生成されて通信端末3に送信され(ステップT14)、ステップT10に戻る。   As a result of the execution confirmation, when an NG signal indicating that execution of the Web application is not permitted is received from the license management device 1 (step T13; NG), the number of accesses to the Web application exceeds the number of licenses. A message notifying that it has been generated is generated and transmitted to the communication terminal 3 (step T14), and the process returns to step T10.

実行確認の結果として、ライセンス管理装置1から、Webアプリケーションの実行が許可されたことを示すOK信号が受信された場合(ステップT13;YES)、通信端末3で選択されたメニュー業務が実行される(ステップT15)。   As a result of the execution confirmation, when an OK signal indicating that the execution of the Web application is permitted is received from the license management apparatus 1 (step T13; YES), the menu job selected by the communication terminal 3 is executed. (Step T15).

通信端末3から業務終了が指示された場合(ステップT16;YES)、通信端末3とのセッションが繋がっているときは、ユーザIDがセットされ、ライセンス管理装置1に、該当するユーザID及び終了確認要求が送信され(ステップT17)、業務終了処理が実行される。通信端末3から業務終了が指示されたときに、通信端末3の操作放置により、通信端末3とのセッションが切断されている場合は、ユーザIDを引き継ぐことができないため、業務終了処理のみが実行される。業務処理終了後、ステップT10に戻り、業務システムが終了するまで、ステップT10〜T17の処理が繰り返される。   When the end of business is instructed from the communication terminal 3 (step T16; YES), if the session with the communication terminal 3 is connected, the user ID is set, and the corresponding user ID and end confirmation are set in the license management apparatus 1. A request is transmitted (step T17), and business end processing is executed. When a job termination is instructed from the communication terminal 3, if the session with the communication terminal 3 is disconnected due to the operation of the communication terminal 3, the user ID cannot be taken over, so only the job termination process is executed. Is done. After the business process is completed, the process returns to step T10, and the processes of steps T10 to T17 are repeated until the business system is completed.

図6は、実施形態1のライセンス管理装置1の動作を説明するためのフローチャートである。このフローチャートは、実施形態1のライセンス管理装置1を構成するコンピュータに各機能を実現させるためのプログラムを説明するためのものである。本実施形態1では、このプログラムがCPU10が読み取り可能なプログラムコードの形態で記録媒体に格納されている例で説明するが、全ての機能を記録媒体に格納する必要はなく、必要に応じて、その一部又は全部を、通信ネットワークを介して通信制御装置13から受信して実現するようにしてもよい。   FIG. 6 is a flowchart for explaining the operation of the license management apparatus 1 according to the first embodiment. This flowchart is for explaining a program for causing a computer constituting the license management apparatus 1 of the first embodiment to realize each function. In the first embodiment, an example in which this program is stored in a recording medium in the form of a program code that can be read by the CPU 10 will be described, but it is not necessary to store all the functions in the recording medium. A part or all of the information may be received from the communication control device 13 via a communication network.

図6のフローチャートを参照して、実施形態1のライセンス管理装置1により実行されるライセンス管理処理について説明する。   A license management process executed by the license management apparatus 1 according to the first embodiment will be described with reference to the flowchart of FIG.

Webアプリサーバ2が起動されると、ライセンス管理装置1において、Webアプリ要求管理のモジュールが起動されるとともに(ステップS100)、タイマー設定管理のモジュールが起動され(ステップS120)、Webアプリ要求管理のモジュールでは、Webアプリサーバ2からの実行確認要求又は終了確認要求の受信を待機する(ステップS101)。   When the web application server 2 is activated, a web application request management module is activated in the license management apparatus 1 (step S100), and a timer setting management module is activated (step S120). The module waits for an execution confirmation request or an end confirmation request from the Web application server 2 (step S101).

ステップS101において、Webアプリサーバ2から実行確認要求が受信された場合(ステップS101;実行確認)、Webアプリサーバ2から、Webアプリケーションにアクセス要求をした通信端末のユーザIDが取得され(ステップS102)、その取得されたユーザIDが、ライセンス許可管理ファイル141に登録済みであるか否かが判定される(ステップS103)。   In step S101, when an execution confirmation request is received from the web application server 2 (step S101; execution confirmation), the user ID of the communication terminal that has requested access to the web application is acquired from the web application server 2 (step S102). Then, it is determined whether or not the acquired user ID has been registered in the license permission management file 141 (step S103).

ステップS103において、ステップS102で取得されたユーザIDが、ライセンス許可管理ファイル141に登録済みであると判定された場合(ステップS103;YES)、ライセンス管理装置1のシステム時刻が許可時刻として設定され(ステップS107)、ステップS102で取得したユーザIDと、ステップS107で設定された許可時刻が、ライセンス許可管理ファイル141に設定(追加又は訂正)される(ステップS108)。そして、ステップS101に戻り、再度、Webアプリサーバ2からの実行確認要求又は終了確認要求の受信を待機する。   In step S103, when it is determined that the user ID acquired in step S102 has been registered in the license permission management file 141 (step S103; YES), the system time of the license management apparatus 1 is set as the permission time ( In step S107), the user ID acquired in step S102 and the permission time set in step S107 are set (added or corrected) in the license permission management file 141 (step S108). Then, the process returns to step S101, and again waits for reception of an execution confirmation request or an end confirmation request from the web application server 2.

ステップS103において、ステップS102で取得されたユーザIDが、ライセンス許可管理ファイル141に登録されていないと判定された場合(ステップS103;NO)、ライセンス情報管理ファイル142からライセンス数が取得される(ステップS104)。   In step S103, when it is determined that the user ID acquired in step S102 is not registered in the license permission management file 141 (step S103; NO), the number of licenses is acquired from the license information management file 142 (step S103). S104).

次いで、ライセンス許可管理ファイル141に現在設定されている許可数(ユーザIDの数)が計算され(ステップS105)、新規にアクセスを許可した場合のアクセス数がライセンス数の範囲内であるか否かが判定される(ステップS106)。   Next, the permission number (number of user IDs) currently set in the license permission management file 141 is calculated (step S105), and whether or not the access number when the access is newly permitted is within the range of the license number. Is determined (step S106).

ステップS106において、新規にアクセスを許可した場合のアクセス数がライセンス数の範囲内でないと判定された場合(ステップS106;NO)、アクセス制限オーバーである旨の案内表示がWebアプリサーバ2に送信され(ステップS109)、ステップS101に戻り、再度、Webアプリサーバ2からの実行確認要求又は終了確認要求の受信を待機する。   In step S106, when it is determined that the number of accesses when access is newly permitted is not within the range of the number of licenses (step S106; NO), a guidance display indicating that access is over is transmitted to the web application server 2. (Step S109), the process returns to Step S101 and again waits for reception of an execution confirmation request or an end confirmation request from the Web application server 2.

ステップS106において、新規にアクセスを許可した場合のアクセス数がライセンス数の範囲内であると判定された場合(ステップS106;YES)、ライセンス管理装置1のシステム時刻が許可時刻として設定され(ステップS107)、ステップS102で取得したユーザIDと、ステップS107で設定された許可時刻が、ライセンス許可管理ファイル141に設定(追加又は訂正)される(ステップS108)。そして、ステップS101に戻り、再度、Webアプリサーバ2からの実行確認要求又は終了確認要求の受信を待機する。   If it is determined in step S106 that the number of accesses when access is newly permitted is within the range of the number of licenses (step S106; YES), the system time of the license management apparatus 1 is set as the permitted time (step S107). ) The user ID acquired in step S102 and the permission time set in step S107 are set (added or corrected) in the license permission management file 141 (step S108). Then, the process returns to step S101, and again waits for reception of an execution confirmation request or an end confirmation request from the web application server 2.

ステップS101において、Webアプリサーバ2から終了確認要求が受信された場合(ステップS101;終了確認)、Webアプリサーバ2から、業務終了を指定した通信端末のユーザIDが取得され(ステップS110)、その取得されたユーザIDが、ライセンス許可管理ファイル141に登録済みであるか否かが判定される(ステップS111)。   When an end confirmation request is received from the web application server 2 in step S101 (step S101; end confirmation), the user ID of the communication terminal that designates the end of business is acquired from the web application server 2 (step S110). It is determined whether or not the acquired user ID has been registered in the license permission management file 141 (step S111).

ステップS111において、ステップS110で取得されたユーザIDが、ライセンス許可管理ファイル141に登録済みであると判定された場合(ステップS111;YES)、ライセンス許可管理ファイル141から、該当するユーザID及び許可時刻が削除され(ステップS112)、ステップS101に戻る。   If it is determined in step S111 that the user ID acquired in step S110 has been registered in the license permission management file 141 (step S111; YES), the corresponding user ID and permission time are read from the license permission management file 141. Is deleted (step S112), and the process returns to step S101.

ステップS111において、ステップS110で取得されたユーザIDがライセンス許可管理ファイル141に登録されていないと判定された場合(ステップS111;NO)、エラーとみなされ、Webアプリサーバ2にエラー通知が送信され(ステップS113)、ステップS101に戻る。   If it is determined in step S111 that the user ID acquired in step S110 is not registered in the license permission management file 141 (step S111; NO), it is regarded as an error, and an error notification is transmitted to the web application server 2. (Step S113), the process returns to Step S101.

タイマー設定管理のモジュールでは、まず、ライセンス許可管理ファイル141から、現在、Webアプリケーションの実行が許可されているユーザのユーザID及び許可時刻が取得される(ステップS121)。   In the timer setting management module, first, the user ID and permission time of the user who is currently permitted to execute the Web application are acquired from the license permission management file 141 (step S121).

次いで、ライセンス情報管理ファイル142からタイマー時間が取得され(ステップS122)、ステップS121で取得されたユーザIDの通信端末におけるWebアプリケーションの実行時間が、タイマー時間以内であるか否かが判定される(ステップS123)。   Next, the timer time is acquired from the license information management file 142 (step S122), and it is determined whether or not the execution time of the Web application in the communication terminal of the user ID acquired in step S121 is within the timer time ( Step S123).

ステップS123において、Webアプリケーションの実行時間がタイマー時間以内であると判定された場合(ステップS123;YES)、ステップS121に戻り、ライセンス許可管理ファイル141の次のユーザIDに対して、ステップS121〜S123の処理が繰り返される。   If it is determined in step S123 that the execution time of the Web application is within the timer time (step S123; YES), the process returns to step S121, and steps S121 to S123 are performed for the next user ID in the license permission management file 141. The process is repeated.

ステップS123において、Webアプリケーションの実行時間がタイマー時間を超えていると判定された場合(ステップS123;NO)、該当するユーザに対する業務が終了したとみなされ、ライセンス許可管理ファイル141から、該当するユーザID及び許可時刻が削除される(ステップS124)。そして、ライセンス許可管理ファイル141の次のユーザIDに対して、ステップS121〜S123の処理が繰り返される。   If it is determined in step S123 that the execution time of the Web application has exceeded the timer time (step S123; NO), it is considered that the task for the corresponding user has ended, and the corresponding user is determined from the license permission management file 141. The ID and permission time are deleted (step S124). Then, the processing in steps S121 to S123 is repeated for the next user ID in the license permission management file 141.

以上のように、本実施形態1のライセンス管理装置1は、ライセンス許可管理ファイル141に、Webアプリケーションの実行を許可した通信端末のユーザID及びそのWebアプリケーションの実行が許可された時刻を登録し、通信端末がWebアプリケーションにアクセスした際、ライセンス許可管理ファイル141に登録された通信端末の数がライセンス数より小さければ、アクセスをした通信端末のユーザIDをライセンス許可管理ファイル141に登録し、ライセンス許可管理ファイル141に登録されたユーザIDのうち、Webアプリケーションの実行時間が予め設定されたタイマー時間を超えたユーザIDを、ライセンス許可管理ファイル141から削除するようにした。従って、通信端末がWebアプリケーションを実行中に、通信端末とWebサーバとの通信が切断された状態であっても、ユーザのアクセス制限を管理することができる。また、ユーザのWebアプリケーションの利用状況を把握することができるため、利用状況に応じたライセンス管理を行うことが可能になる。   As described above, the license management apparatus 1 according to the first embodiment registers the user ID of the communication terminal permitted to execute the Web application and the time when the execution of the Web application is permitted in the license permission management file 141. When the communication terminal accesses the Web application, if the number of communication terminals registered in the license permission management file 141 is smaller than the number of licenses, the user ID of the accessed communication terminal is registered in the license permission management file 141 and license permission is granted. Among the user IDs registered in the management file 141, user IDs whose Web application execution time has exceeded a preset timer time are deleted from the license permission management file 141. Therefore, even when communication between the communication terminal and the Web server is disconnected while the communication terminal is executing the Web application, it is possible to manage user access restrictions. In addition, since the usage status of the user's Web application can be ascertained, license management according to the usage status can be performed.

また、ユーザ認証でアクセス制限をする従来の方式と異なり、業務システム毎にユーザ認証を行う必要がないため、複数の業務システムを利用する場合であっても、ユーザは円滑に各業務システムのWebアプリケーションを利用することができる。   In addition, unlike the conventional method of restricting access by user authentication, it is not necessary to perform user authentication for each business system. Therefore, even when using a plurality of business systems, the user can smoothly access the Web of each business system. Applications can be used.

(実施形態2)
次に、図7〜図9を参照して、本発明の実施形態2について詳細に説明する。実施形態2では、業務システムで取り扱われる商品毎に、ユーザのアクセス制限を管理する方式について説明する。
(Embodiment 2)
Next, Embodiment 2 of the present invention will be described in detail with reference to FIGS. In the second embodiment, a method for managing user access restrictions for each product handled in the business system will be described.

まず、実施形態2における構成について説明する。
実施形態2におけるライセンス管理装置の主要部構成は、実施形態1において図2に示したライセンス管理装置1と同一であるため、その図示を省略し、同一符号を用いるものとする。以下、実施形態1のライセンス管理装置1と異なる構成部分のみを説明する。
First, the configuration in the second embodiment will be described.
Since the main configuration of the license management apparatus according to the second embodiment is the same as that of the license management apparatus 1 shown in FIG. 2 in the first embodiment, the illustration thereof is omitted and the same reference numerals are used. Only the components different from the license management apparatus 1 of the first embodiment will be described below.

実施形態2のライセンス管理装置1のCPU10は、記憶装置15に格納されている各種制御処理プログラムを読み出してRAM14内に展開し、それらの制御処理プログラムに従ってライセンス管理装置1の各部を集中制御する。以下、実施形態2のCPU10による制御動作について説明する。   The CPU 10 of the license management apparatus 1 according to the second embodiment reads various control processing programs stored in the storage device 15 and expands them in the RAM 14 and centrally controls each part of the license management apparatus 1 according to these control processing programs. Hereinafter, the control operation by the CPU 10 of the second embodiment will be described.

CPU10は、通信端末が、商品IDによって特定されるWebアプリケーションにアクセスした際、ライセンス許可管理ファイル143(図7(a)参照)から、その商品IDのWebアプリケーションを実行中の通信端末の数(ユーザIDの数)を取得し、その取得された通信端末の数が、該当する商品IDに対応して設定されたライセンス数より小さければ、アクセスした通信端末のユーザIDをライセンス許可管理ファイル143に登録し、そのWebアプリケーションの実行を許可する。   When the communication terminal accesses the Web application specified by the product ID, the CPU 10 determines from the license permission management file 143 (see FIG. 7A) the number of communication terminals that are executing the Web application with the product ID ( If the number of acquired communication terminals is smaller than the number of licenses set corresponding to the corresponding product ID, the user ID of the accessed communication terminal is stored in the license permission management file 143. Register and allow execution of the web application.

また、CPU10は、ライセンス許可管理ファイル143に登録されたユーザID毎に、現在のシステム時刻と許可時刻(Webアプリケーションの実行が許可された時刻)との差からWebアプリケーションの実行時間を算出し、その算出された実行時間が、該当する商品IDに対応して設定されたタイマー時間を超えたか否かを判定し、タイマー時間を超えたと判定されたユーザIDを、ライセンス許可管理ファイル143から削除する処理を行う。   Further, the CPU 10 calculates the execution time of the Web application from the difference between the current system time and the permission time (time when the execution of the Web application is permitted) for each user ID registered in the license permission management file 143. It is determined whether the calculated execution time has exceeded the timer time set corresponding to the corresponding product ID, and the user ID determined to have exceeded the timer time is deleted from the license permission management file 143. Process.

RAM14は、CPU10により実行される各種制御処理プログラムや各種アプリケーションプログラムをプログラム格納エリアに展開する。また、RAM14は、入力データ及び上記の制御処理プログラムの実行時に生じる処理結果等のデータを、ワークエリアに一時的に格納する。   The RAM 14 develops various control processing programs and various application programs executed by the CPU 10 in a program storage area. The RAM 14 temporarily stores input data and data such as processing results generated when the control processing program is executed in the work area.

RAM14は、ユーザアクセス制限の管理に必要なファイルとして、図7に示すようなライセンス許可管理ファイル143(図7(a))と、ライセンス情報管理ファイル144(図7(b))を格納する。   The RAM 14 stores a license permission management file 143 (FIG. 7A) and a license information management file 144 (FIG. 7B) as shown in FIG. 7 as files necessary for managing user access restrictions.

ライセンス許可管理ファイル143は、図7(a)に示すように、商品ID、ユーザID、許可時刻の各項目を対応付けて記憶している。商品ID項目は、業務システムで取り扱われる商品を識別するためのデータを格納する。ユーザID項目は、対応する商品IDにより特定されるWebアプリケーションの実行が許可された通信端末を識別するためのデータを格納する。許可時刻項目は、対応する商品IDにより特定されるWebアプリケーションの実行が許可された時刻のデータを格納する。   As shown in FIG. 7A, the license permission management file 143 stores items of product ID, user ID, and permission time in association with each other. The product ID item stores data for identifying a product handled in the business system. The user ID item stores data for identifying a communication terminal that is permitted to execute the Web application specified by the corresponding product ID. The permission time item stores data of the time when the execution of the Web application specified by the corresponding product ID is permitted.

ライセンス情報管理ファイル144は、図7(b)に示すように、商品ID、ライセンス数、タイマー時間の各項目を対応付けて記憶している。ライセンス数項目は、対応する商品IDにより特定されるWebアプリケーションに同時にアクセス可能な通信端末の最大数のデータを格納する。タイマー時間項目は、1台の通信端末が、対応する商品IDにより特定されるWebアプリケーションを連続して使用可能な時間のデータを格納する。図7(b)に示したタイマー時間「30」、「40」、「50」は、夫々「30分」、「40分」、「50分」を意味する。   As shown in FIG. 7B, the license information management file 144 stores items of product ID, number of licenses, and timer time in association with each other. The license number field stores data on the maximum number of communication terminals that can simultaneously access the Web application specified by the corresponding product ID. The timer time item stores data on the time at which one communication terminal can continuously use the Web application specified by the corresponding product ID. The timer times “30”, “40”, and “50” shown in FIG. 7B mean “30 minutes”, “40 minutes”, and “50 minutes”, respectively.

ライセンス情報管理ファイル144に記憶されるライセンス数及びタイマー時間は、ライセンス管理装置1に業務システムプログラムをインストールするときに、RAM14又は記憶装置15が有する記録媒体に自動的に設定される。ライセンス数及びタイマー時間は、ユーザの利用頻度の増減に伴って変更可能である。   The number of licenses and the timer time stored in the license information management file 144 are automatically set in the recording medium of the RAM 14 or the storage device 15 when the business system program is installed in the license management device 1. The number of licenses and the timer time can be changed as the user's usage frequency increases or decreases.

次に、実施形態2における動作を説明する。
まず、図8のフローチャートを参照して、実施形態2のWebアプリサーバ2により実行される処理について説明する。以下では、通信端末3から接続要求があったときの処理について説明する。
Next, the operation in the second embodiment will be described.
First, processing executed by the Web application server 2 of the second embodiment will be described with reference to the flowchart of FIG. In the following, processing when there is a connection request from the communication terminal 3 will be described.

通信端末3のWebブラウザで、WebアプリケーションのURL(Uniform Resource Locator)が指定されると、該当するWebアプリケーションのメニューが通信端末3に送信される(ステップT20)。   When the URL (Uniform Resource Locator) of the Web application is specified by the Web browser of the communication terminal 3, a menu of the corresponding Web application is transmitted to the communication terminal 3 (Step T20).

通信端末3において、受信されたメニューから業務が選択されると、通信端末3に記録されているユーザIDがCookieにより取得され(ステップT21)、その取得されたユーザIDがセットされる。そして、該当するWebアプリケーションを特定する商品ID、ステップT21で取得されたユーザID及び実行確認要求がライセンス管理装置1に送信され(ステップT22)、ライセンス管理装置1からの実行確認の回答を待機する(ステップT23)。   When an operation is selected from the received menu in the communication terminal 3, the user ID recorded in the communication terminal 3 is acquired by Cookie (step T21), and the acquired user ID is set. Then, the product ID for identifying the corresponding Web application, the user ID acquired in step T21, and the execution confirmation request are transmitted to the license management apparatus 1 (step T22), and an execution confirmation response from the license management apparatus 1 is waited for. (Step T23).

実行確認の結果として、ライセンス管理装置1から、Webアプリケーションの実行が許可されなかったことを示すNG信号が受信された場合(ステップT23;NG)、そのWebアプリケーションへのアクセス数がライセンス数を超過したことを通知する案内表示メッセージが生成されて通信端末3に送信され(ステップT24)、ステップT20に戻る。   As a result of the execution confirmation, when an NG signal indicating that execution of the Web application is not permitted is received from the license management apparatus 1 (step T23; NG), the number of accesses to the Web application exceeds the number of licenses. A guidance display message notifying that it has been generated is generated and transmitted to the communication terminal 3 (step T24), and the process returns to step T20.

実行確認の結果として、ライセンス管理装置1から、Webアプリケーションの実行が許可されたことを示すOK信号が受信された場合(ステップT23;YES)、通信端末3で選択されたメニュー業務が実行される(ステップT25)。   As a result of the execution confirmation, when an OK signal indicating that the execution of the Web application is permitted is received from the license management apparatus 1 (step T23; YES), the menu job selected by the communication terminal 3 is executed. (Step T25).

通信端末3から業務終了が指示された場合(ステップT26;YES)、通信端末3とのセッションが繋がっているときは、ユーザIDがセットされ、ライセンス管理装置1に、該当するWebアプリケーションを特定する商品ID、そのWebアプリケーションを実行した通信端末3のユーザID、終了確認要求が送信され(ステップT27)、業務終了処理が実行される。通信端末3から業務終了が指示されたときに、通信端末3の操作放置により、通信端末3とのセッションが切断されている場合は、ユーザIDを引き継ぐことができないため、業務終了処理のみが実行される。業務処理終了後、ステップT20に戻り、業務システムが終了するまで、ステップT20〜T27の処理が繰り返される。   When the end of business is instructed from the communication terminal 3 (step T26; YES), when the session with the communication terminal 3 is connected, the user ID is set and the corresponding Web application is specified in the license management apparatus 1. The product ID, the user ID of the communication terminal 3 that executed the Web application, and an end confirmation request are transmitted (step T27), and the business end process is executed. When a job termination is instructed from the communication terminal 3, if the session with the communication terminal 3 is disconnected due to the operation of the communication terminal 3, the user ID cannot be taken over, so only the job termination process is executed. Is done. After the business process is completed, the process returns to step T20, and the processes of steps T20 to T27 are repeated until the business system is completed.

図9は、実施形態2のライセンス管理装置1の動作を説明するためのフロ−チャートである。このフローチャートは、実施形態2のライセンス管理装置1を構成するコンピュータに各機能を実現させるためのプログラムを説明するためのものである。本実施形態2では、これらのプログラムが、CPU10が読み取り可能なプログラムコードの形態で記録媒体に格納されている例で説明するが、全ての機能を記録媒体に格納する必要はなく、必要に応じて、その一部又は全部を、通信ネットワークを介して通信制御装置13から受信して実現するようにしてもよい。   FIG. 9 is a flowchart for explaining the operation of the license management apparatus 1 according to the second embodiment. This flowchart is for explaining a program for causing a computer constituting the license management apparatus 1 of the second embodiment to realize each function. In the second embodiment, an example in which these programs are stored in the recording medium in the form of a program code that can be read by the CPU 10 will be described. However, it is not necessary to store all the functions in the recording medium. A part or all of the information may be received from the communication control device 13 via the communication network.

図9のフローチャートを参照して、実施形態2のライセンス管理装置1により実行されるライセンス管理処理について説明する。   A license management process executed by the license management apparatus 1 according to the second embodiment will be described with reference to the flowchart of FIG.

Webアプリサーバ2が起動されると、ライセンス管理装置1において、Webアプリ要求管理のモジュールが起動されるとともに(ステップS200)、タイマー設定管理のモジュールが起動され(ステップS220)、Webアプリ要求管理のモジュールでは、Webアプリサーバ2からの実行確認要求又は終了確認要求の受信を待機する(ステップS201)。   When the web application server 2 is activated, a web application request management module is activated in the license management apparatus 1 (step S200), and a timer setting management module is activated (step S220). The module waits for an execution confirmation request or an end confirmation request from the Web application server 2 (step S201).

ステップS201において、Webアプリサーバ2から実行確認要求が受信された場合(ステップS201;実行確認)、Webアプリサーバ2から、Webアプリケーションを特定する商品ID、そのWebアプリケーションにアクセス要求をした通信端末のユーザIDが取得され(ステップS202)、その取得された商品ID及びユーザIDが、ライセンス許可管理ファイル143に登録済みであるか否かが判定される(ステップS203)。   In step S201, when an execution confirmation request is received from the web application server 2 (step S201; execution confirmation), the product ID for identifying the web application from the web application server 2 and the communication terminal that has requested access to the web application. A user ID is acquired (step S202), and it is determined whether or not the acquired product ID and user ID have been registered in the license permission management file 143 (step S203).

ステップS203において、ステップS202で取得された商品ID及びユーザIDが、ライセンス許可管理ファイル143に登録済みであると判定された場合(ステップS203;YES)、ライセンス管理装置1のシステム時刻が許可時刻として設定され(ステップS207)、ステップS202で取得した商品ID、ユーザID、ステップS207で設定された許可時刻が、ライセンス許可管理ファイル143に設定(追加又は訂正)される(ステップS208)。そして、ステップS201に戻り、再度、Webアプリサーバ2からの実行確認要求又は終了確認要求の受信を待機する。   In step S203, when it is determined that the product ID and user ID acquired in step S202 are already registered in the license permission management file 143 (step S203; YES), the system time of the license management apparatus 1 is set as the permission time. The product ID, the user ID acquired in step S202, and the permission time set in step S207 are set (added or corrected) in the license permission management file 143 (step S208). Then, the process returns to step S201, and again waits for reception of an execution confirmation request or an end confirmation request from the Web application server 2.

ステップS203において、ステップS202で取得された商品ID及びユーザIDが、ライセンス許可管理ファイル143に登録されていないと判定された場合(ステップS203;NO)、ライセンス情報管理ファイル144から、該当する商品IDに対応するライセンス数が取得される(ステップS204)。   If it is determined in step S203 that the product ID and user ID acquired in step S202 are not registered in the license permission management file 143 (step S203; NO), the corresponding product ID is obtained from the license information management file 144. The number of licenses corresponding to is acquired (step S204).

次いで、ライセンス許可管理ファイル143に現在設定されている該当商品IDの許可数(ユーザIDの数)が計算され(ステップS205)、新規にアクセスを許可した場合のアクセス数が、該当する商品IDのライセンス数の範囲内であるか否かが判定される(ステップS206)。   Next, the permitted number (number of user IDs) of the corresponding product ID currently set in the license permission management file 143 is calculated (step S205), and the access number when the access is newly permitted is the corresponding product ID. It is determined whether the number of licenses is within the range (step S206).

ステップS206において、新規にアクセスを許可した場合のアクセス数が、該当する商品IDのライセンス数の範囲内でないと判定された場合(ステップS206;NO)、アクセス制限オーバーである旨の案内表示がWebアプリサーバ2に送信され(ステップS209)、ステップS201に戻り、再度、Webアプリサーバ2からの実行確認要求又は終了確認要求の受信を待機する。   In step S206, when it is determined that the number of accesses when access is newly permitted is not within the range of the number of licenses of the corresponding product ID (step S206; NO), a guidance display indicating that the access limit is exceeded is displayed on the Web. It is transmitted to the application server 2 (step S209), returns to step S201, and again waits for reception of an execution confirmation request or termination confirmation request from the web application server 2.

ステップS206において、新規にアクセスを許可した場合のアクセス数が、該当する商品IDのライセンス数の範囲内であると判定された場合(ステップS206;YES)、ライセンス管理装置1のシステム時刻が許可時刻として設定され(ステップS207)、ステップS202で取得した商品ID、ユーザID、ステップS207で設定された許可時刻が、ライセンス許可管理ファイル143に設定(追加又は訂正)される(ステップS208)。そして、ステップS201に戻り、再度、Webアプリサーバ2からの実行確認要求又は終了確認要求の受信を待機する。   In step S206, when it is determined that the number of accesses when access is newly permitted is within the range of the number of licenses of the corresponding product ID (step S206; YES), the system time of the license management apparatus 1 is the permitted time. (Step S207), the product ID acquired in Step S202, the user ID, and the permission time set in Step S207 are set (added or corrected) in the license permission management file 143 (Step S208). Then, the process returns to step S201, and again waits for reception of an execution confirmation request or an end confirmation request from the Web application server 2.

ステップS201において、Webアプリサーバ2から終了確認要求が受信された場合(ステップS201;終了確認)、Webアプリサーバ2から、業務終了を指定した通信端末のユーザID、Webアプリケーションを特定する商品IDが取得され(ステップS210)、その取得された商品ID及びユーザIDが、ライセンス許可管理ファイル143に登録済みであるか否かが判定される(ステップS211)。   When an end confirmation request is received from the web application server 2 in step S201 (step S201; end confirmation), the user ID of the communication terminal that has designated the end of business and the product ID that identifies the web application are received from the web application server 2. It is acquired (step S210), and it is determined whether or not the acquired product ID and user ID have been registered in the license permission management file 143 (step S211).

ステップS211において、ステップS210で取得された商品ID及びユーザIDが、ライセンス許可管理ファイル143に登録済みであると判定された場合(ステップS211;YES)、ライセンス許可管理ファイル143から、該当する商品ID、ユーザID及び許可時刻が削除され(ステップS212)、ステップS201に戻る。   If it is determined in step S211 that the product ID and user ID acquired in step S210 have been registered in the license permission management file 143 (step S211; YES), the corresponding product ID is determined from the license permission management file 143. The user ID and permission time are deleted (step S212), and the process returns to step S201.

ステップS211において、ステップS210で取得された商品ID及びユーザIDがライセンス許可管理ファイル143に登録されていないと判定された場合(ステップS211;NO)、エラーとみなされ、Webアプリサーバ2にエラー通知が送信され(ステップS213)、ステップS201に戻る。   In step S211, when it is determined that the product ID and the user ID acquired in step S210 are not registered in the license permission management file 143 (step S211; NO), it is regarded as an error, and an error notification is sent to the web application server 2. Is transmitted (step S213), and the process returns to step S201.

タイマー設定管理のモジュールでは、まず、ライセンス許可管理ファイル143から、現在、Webアプリケーションの実行が許可されているユーザのユーザID、そのWebアプリケーションを特定する商品ID及び許可時刻が取得される(ステップS221)。   In the timer setting management module, first, from the license permission management file 143, the user ID of the user who is currently permitted to execute the Web application, the product ID for specifying the Web application, and the permission time are acquired (step S221). ).

次いで、ライセンス情報管理ファイル144から、ステップS221で取得された商品IDに対応するタイマー時間が取得され(ステップS222)、その商品IDのWebアプリケーションの実行時間が、タイマー時間以内であるか否かが判定される(ステップS223)。   Next, the timer time corresponding to the product ID acquired in step S221 is acquired from the license information management file 144 (step S222), and whether or not the execution time of the Web application for the product ID is within the timer time. Determination is made (step S223).

ステップS223において、該当する商品IDのWebアプリケーションの実行時間が、その商品IDのタイマー時間以内であると判定された場合(ステップS223;YES)、ステップS221に戻り、ライセンス許可管理ファイル143の次のユーザIDに対して、ステップS221〜S223の処理が繰り返される。   If it is determined in step S223 that the execution time of the Web application with the corresponding product ID is within the timer time of the product ID (step S223; YES), the process returns to step S221 and the next in the license permission management file 143 is returned. The process of steps S221 to S223 is repeated for the user ID.

ステップS223において、該当する商品IDのWebアプリケーションの実行時間が、その商品IDのタイマー時間を超えていると判定された場合(ステップS223;NO)、該当するユーザに対する業務が終了したとみなされ、ライセンス許可管理ファイル143から、該当する商品ID、ユーザID及び許可時刻が削除される(ステップS224)。そして、ライセンス許可管理ファイル143の次のユーザIDに対して、ステップS221〜S223の処理が繰り返される。   In step S223, when it is determined that the execution time of the Web application with the corresponding product ID exceeds the timer time of the product ID (step S223; NO), it is considered that the task for the corresponding user has ended, The corresponding product ID, user ID, and permission time are deleted from the license permission management file 143 (step S224). Then, the processing in steps S221 to S223 is repeated for the next user ID in the license permission management file 143.

以上のように、本実施形態2のライセンス管理システム100によれば、業務システムで取り扱われる商品毎に、ユーザのアクセス制限を管理するようにしたため、商品毎の細かなライセンス管理を行うことができる。   As described above, according to the license management system 100 of the second embodiment, the user access restriction is managed for each product handled in the business system, so that detailed license management can be performed for each product. .

(実施形態3)
次に、図10〜図12を参照して、本発明の実施形態3について詳細に説明する。実施形態3では、業務システムにおける業務メニュー毎に、ユーザのアクセス制限を管理する方式について説明する。業務メニューとは、業務システムを構成する業務項目を意味する。
(Embodiment 3)
Next, Embodiment 3 of the present invention will be described in detail with reference to FIGS. In the third embodiment, a method for managing user access restrictions for each business menu in the business system will be described. The business menu means business items constituting the business system.

まず、実施形態3における構成について説明する。
実施形態3におけるライセンス管理装置の主要部構成は、実施形態1において図2に示したライセンス管理装置1と同一であるため、その図示を省略し、同一符号を用いるものとする。以下、実施形態1のライセンス管理装置1と異なる構成部分のみを説明する。
First, the configuration in the third embodiment will be described.
Since the main configuration of the license management apparatus according to the third embodiment is the same as that of the license management apparatus 1 shown in FIG. 2 in the first embodiment, the illustration thereof is omitted and the same reference numerals are used. Only the components different from the license management apparatus 1 of the first embodiment will be described below.

実施形態3のライセンス管理装置1のCPU10は、記憶装置15に格納されている各種制御処理プログラムを読み出してRAM14内に展開し、それらの制御処理プログラムに従ってライセンス管理装置1の各部を集中制御する。以下、実施形態3のCPU10による制御動作について説明する。   The CPU 10 of the license management apparatus 1 according to the third embodiment reads various control processing programs stored in the storage device 15 and develops them in the RAM 14 and centrally controls each part of the license management apparatus 1 according to these control processing programs. Hereinafter, the control operation by the CPU 10 of the third embodiment will be described.

CPU10は、通信端末が、Webアプリケーションに含まれる業務メニューにアクセスした際、ライセンス許可管理ファイル145(図10(a)参照)から、その業務メニューを実行中の通信端末の数(ユーザIDの数)を取得し、その取得された通信端末の数が、該当する業務メニューに対応して設定されたライセンス数より小さければ、アクセスした通信端末のユーザIDをライセンス許可管理ファイル145に登録し、その業務メニューの実行を許可する。   When the communication terminal accesses the business menu included in the Web application, the CPU 10 determines from the license permission management file 145 (see FIG. 10A) the number of communication terminals that are executing the business menu (the number of user IDs). ) And the user ID of the accessed communication terminal is registered in the license permission management file 145 if the number of acquired communication terminals is smaller than the number of licenses set corresponding to the corresponding business menu. Permit execution of business menu.

また、CPU10は、ライセンス許可管理ファイル145に登録されたユーザID毎に、現在のシステム時刻と許可時刻(業務メニューの実行が許可された時刻)との差から業務メニューの実行時間を算出し、その算出された実行時間が、該当する業務メニューIDに対応して設定されたタイマー時間を超えたか否かを判定し、タイマー時間を超えたと判定されたユーザIDを、ライセンス許可管理ファイル145から削除する処理を行う。   Further, the CPU 10 calculates the execution time of the business menu for each user ID registered in the license permission management file 145 from the difference between the current system time and the permission time (time when the execution of the business menu is permitted), It is determined whether or not the calculated execution time exceeds the timer time set corresponding to the corresponding business menu ID, and the user ID determined to have exceeded the timer time is deleted from the license permission management file 145. Perform the process.

RAM14は、CPU10により実行される各種制御処理プログラムや各種アプリケーションプログラムをプログラム格納エリアに展開する。また、RAM14は、入力データ及び上記の制御処理プログラムの実行時に生じる処理結果等のデータを、ワークエリアに一時的に格納する。   The RAM 14 develops various control processing programs and various application programs executed by the CPU 10 in a program storage area. The RAM 14 temporarily stores input data and data such as processing results generated when the control processing program is executed in the work area.

RAM14は、ユーザアクセス制限の管理に必要なファイルとして、図10に示すようなライセンス許可管理ファイル145(図10(a))と、ライセンス情報管理ファイル146(図10(b))を格納する。   The RAM 14 stores a license permission management file 145 (FIG. 10A) and a license information management file 146 (FIG. 10B) as shown in FIG. 10 as files necessary for managing user access restrictions.

ライセンス許可管理ファイル145は、図10(a)に示すように、業務ID、ユーザID、許可時刻の各項目を対応付けて記憶している。業務ID項目は、業務メニューを識別するためのデータを格納する。ユーザID項目は、対応する業務メニューの実行が許可された通信端末を識別するためのデータを格納する。許可時刻項目は、対応する業務メニューの実行が許可された時刻のデータを格納する。   As shown in FIG. 10A, the license permission management file 145 stores business ID, user ID, and permission time items in association with each other. The business ID item stores data for identifying a business menu. The user ID item stores data for identifying a communication terminal that is permitted to execute the corresponding business menu. The permitted time item stores data on the time when the execution of the corresponding business menu is permitted.

ライセンス情報管理ファイル146は、図10(b)に示すように、業務ID、ライセンス数、タイマー時間の各項目を対応付けて記憶している。ライセンス数項目は、対応する業務IDの業務メニューに同時にアクセス可能な通信端末の最大数のデータを格納する。タイマー時間項目は、1台の通信端末が、対応する業務メニューを連続して使用可能な時間のデータを格納する。   As shown in FIG. 10B, the license information management file 146 stores the business ID, the number of licenses, and the timer time in association with each other. The number-of-licenses item stores data on the maximum number of communication terminals that can simultaneously access the business menu of the corresponding business ID. The timer time item stores data on the time at which one communication terminal can continuously use the corresponding business menu.

ライセンス情報管理ファイル146に記憶されるライセンス数及びタイマー時間は、ライセンス管理装置1に業務システムプログラムをインストールするときに、RAM14又は記憶装置15が有する記録媒体に自動的に設定される。ライセンス数及びタイマー時間は、ユーザの利用頻度の増減に伴って変更可能である。   The number of licenses and the timer time stored in the license information management file 146 are automatically set in a recording medium included in the RAM 14 or the storage device 15 when the business system program is installed in the license management device 1. The number of licenses and the timer time can be changed as the user's usage frequency increases or decreases.

次に、実施形態3における動作を説明する。
まず、図11のフローチャートを参照して、実施形態3のWebアプリサーバ2により実行される処理について説明する。以下では、通信端末3から接続要求があったときの処理について説明する。
Next, the operation in the third embodiment will be described.
First, processing executed by the Web application server 2 according to the third embodiment will be described with reference to the flowchart in FIG. In the following, processing when there is a connection request from the communication terminal 3 will be described.

通信端末3のWebブラウザで、WebアプリケーションのURL(Uniform Resource Locator)が指定されると、該当するWebアプリケーションのメニューが通信端末3に送信される(ステップT30)。   When the URL (Uniform Resource Locator) of the Web application is specified by the Web browser of the communication terminal 3, a menu of the corresponding Web application is transmitted to the communication terminal 3 (Step T30).

通信端末3において、業務メニューが選択されると、通信端末3に記録されているユーザIDがCookieにより取得され(ステップT31)、その取得されたユーザIDがセットされる。そして、選択された業務メニューの業務ID、ステップT31で取得されたユーザID及び実行確認要求がライセンス管理装置1に送信され(ステップT32)、ライセンス管理装置1からの実行確認の回答を待機する(ステップT33)。   When the business menu is selected in the communication terminal 3, the user ID recorded in the communication terminal 3 is acquired by Cookie (step T31), and the acquired user ID is set. Then, the business ID of the selected business menu, the user ID acquired in step T31, and the execution confirmation request are transmitted to the license management apparatus 1 (step T32), and an execution confirmation response from the license management apparatus 1 is waited for ( Step T33).

実行確認の結果として、ライセンス管理装置1から、業務メニューの実行が許可されなかったことを示すNG信号が受信された場合(ステップT33;NG)、その業務メニューへのアクセス数がライセンス数を超過したことを通知する案内表示メッセージが生成されて通信端末3に送信され(ステップT34)、ステップT30に戻る。   As a result of the execution confirmation, when an NG signal indicating that execution of the business menu is not permitted is received from the license management apparatus 1 (step T33; NG), the number of accesses to the business menu exceeds the number of licenses. A guidance display message notifying that it has been generated is generated and transmitted to the communication terminal 3 (step T34), and the process returns to step T30.

実行確認の結果として、ライセンス管理装置1から、業務メニューの実行が許可されたことを示すOK信号が受信された場合(ステップT33;YES)、該当するメニュー業務が実行される(ステップT35)。   As a result of the execution confirmation, when an OK signal indicating that the execution of the job menu is permitted is received from the license management apparatus 1 (step T33; YES), the corresponding menu job is executed (step T35).

通信端末3から業務終了が指示された場合(ステップT36;YES)、通信端末3とのセッションが繋がっているときは、ユーザIDがセットされ、ライセンス管理装置1に、該当する業務ID、該当する業務メニューを実行した通信端末3のユーザID、終了確認要求が送信され(ステップT37)、業務終了処理が実行される。通信端末3から業務終了が指示されたときに、通信端末3の操作放置により、通信端末3とのセッションが切断されている場合は、ユーザIDを引き継ぐことができないため、業務終了処理のみが実行される。業務処理終了後、ステップT30に戻り、業務システムが終了するまで、ステップT30〜T37の処理が繰り返される。   When the end of business is instructed from the communication terminal 3 (step T36; YES), when a session with the communication terminal 3 is connected, a user ID is set, and the corresponding business ID is stored in the license management apparatus 1. The user ID of the communication terminal 3 that executed the business menu and the end confirmation request are transmitted (step T37), and the business end process is executed. When a job termination is instructed from the communication terminal 3, if the session with the communication terminal 3 is disconnected due to the operation of the communication terminal 3, the user ID cannot be taken over, so only the job termination process is executed. Is done. After the business process is completed, the process returns to step T30, and the processes in steps T30 to T37 are repeated until the business system is completed.

図12は、実施形態3のライセンス管理装置1の動作を説明するためのフロ−チャートである。このフローチャートは、実施形態3のライセンス管理装置1を構成するコンピュータに各機能を実現させるためのプログラムを説明するためのものである。本実施形態3では、これらのプログラムが、CPU10が読み取り可能なプログラムコードの形態で記録媒体に格納されている例で説明するが、全ての機能を記録媒体に格納する必要はなく、必要に応じて、その一部又は全部を、通信ネットワークを介して通信制御装置13から受信して実現するようにしてもよい。   FIG. 12 is a flowchart for explaining the operation of the license management apparatus 1 according to the third embodiment. This flowchart is for explaining a program for causing a computer constituting the license management apparatus 1 of the third embodiment to realize each function. In the third embodiment, an example in which these programs are stored in a recording medium in the form of a program code that can be read by the CPU 10 will be described. However, it is not necessary to store all the functions in the recording medium. A part or all of the information may be received from the communication control device 13 via the communication network.

図12のフローチャートを参照して、実施形態3のライセンス管理装置1により実行されるライセンス管理処理について説明する。   A license management process executed by the license management apparatus 1 according to the third embodiment will be described with reference to the flowchart of FIG.

Webアプリサーバ2が起動されると、ライセンス管理装置1において、Webアプリ要求管理のモジュールが起動されるとともに(ステップS300)、タイマー設定管理のモジュールが起動され(ステップS320)、Webアプリ要求管理のモジュールでは、Webアプリサーバ2からの実行確認要求又は終了確認要求の受信を待機する(ステップS301)。   When the web application server 2 is activated, a web application request management module is activated in the license management apparatus 1 (step S300), a timer setting management module is activated (step S320), and the web application request management module is activated. The module waits for an execution confirmation request or an end confirmation request from the Web application server 2 (step S301).

ステップS301において、Webアプリサーバ2から実行確認要求が受信された場合(ステップS301;実行確認)、Webアプリサーバ2から、Webアプリケーションに含まれる業務メニューの業務ID、その業務メニューにアクセス要求をした通信端末のユーザIDが取得され(ステップS302)、その取得された業務ID及びユーザIDが、ライセンス許可管理ファイル145に登録済みであるか否かが判定される(ステップS303)。   In step S301, when an execution confirmation request is received from the web application server 2 (step S301; execution confirmation), the web application server 2 makes an access request to the business ID of the business menu included in the web application and the business menu. The user ID of the communication terminal is acquired (step S302), and it is determined whether or not the acquired business ID and user ID have been registered in the license permission management file 145 (step S303).

ステップS303において、ステップS302で取得された業務ID及びユーザIDが、ライセンス許可管理ファイル145に登録済みであると判定された場合(ステップS303;YES)、ライセンス管理装置1のシステム時刻が許可時刻として設定され(ステップS307)、ステップS302で取得した業務ID、ユーザID、ステップS307で設定された許可時刻が、ライセンス許可管理ファイル145に設定(追加又は訂正)される(ステップS308)。そして、ステップS301に戻り、再度、Webアプリサーバ2からの実行確認要求又は終了確認要求の受信を待機する。   If it is determined in step S303 that the business ID and user ID acquired in step S302 have been registered in the license permission management file 145 (step S303; YES), the system time of the license management apparatus 1 is set as the permission time. The business ID, the user ID acquired in step S302, and the permission time set in step S307 are set (added or corrected) in the license permission management file 145 (step S308). Then, the process returns to step S301, and again waits for reception of an execution confirmation request or an end confirmation request from the Web application server 2.

ステップS303において、ステップS302で取得された業務ID及びユーザIDが、ライセンス許可管理ファイル145に登録されていないと判定された場合(ステップS303;NO)、ライセンス情報管理ファイル146から、該当する業務IDに対応するライセンス数が取得される(ステップS304)。   If it is determined in step S303 that the business ID and user ID acquired in step S302 are not registered in the license permission management file 145 (step S303; NO), the corresponding business ID is determined from the license information management file 146. The number of licenses corresponding to is acquired (step S304).

次いで、ライセンス許可管理ファイル145に現在設定されている該当業務IDの許可数(ユーザIDの数)が計算され(ステップS305)、新規にアクセスを許可した場合のアクセス数が、該当する業務IDのライセンス数の範囲内であるか否かが判定される(ステップS306)。   Next, the permitted number (number of user IDs) of the corresponding business ID currently set in the license permission management file 145 is calculated (step S305), and the access number when the access is newly permitted is the corresponding business ID. It is determined whether the number of licenses is within the range (step S306).

ステップS306において、新規にアクセスを許可した場合のアクセス数が、該当する業務IDのライセンス数の範囲内でないと判定された場合(ステップS306;NO)、アクセス制限オーバーである旨の案内表示がWebアプリサーバ2に送信され(ステップS309)、ステップS301に戻り、再度、Webアプリサーバ2からの実行確認要求又は終了確認要求の受信を待機する。   In step S306, when it is determined that the number of accesses when access is newly permitted is not within the range of the number of licenses of the corresponding business ID (step S306; NO), a guidance display indicating that access is over is displayed on the Web. It is transmitted to the application server 2 (step S309), returns to step S301, and again waits for reception of an execution confirmation request or termination confirmation request from the web application server 2.

ステップS306において、新規にアクセスを許可した場合のアクセス数が、該当する業務IDのライセンス数の範囲内であると判定された場合(ステップS306;YES)、ライセンス管理装置1のシステム時刻が許可時刻として設定され(ステップS307)、ステップS302で取得した業務ID、ユーザID、ステップS307で設定された許可時刻が、ライセンス許可管理ファイル145に設定(追加又は訂正)される(ステップS308)。そして、ステップS301に戻り、再度、Webアプリサーバ2からの実行確認要求又は終了確認要求の受信を待機する。   If it is determined in step S306 that the number of accesses when the access is newly permitted is within the range of the number of licenses of the corresponding business ID (step S306; YES), the system time of the license management apparatus 1 is the permitted time. (Step S307), the business ID and user ID acquired in step S302 and the permission time set in step S307 are set (added or corrected) in the license permission management file 145 (step S308). Then, the process returns to step S301, and again waits for reception of an execution confirmation request or an end confirmation request from the Web application server 2.

ステップS301において、Webアプリサーバ2から終了確認要求が受信された場合(ステップS301;終了確認)、Webアプリサーバ2から、業務終了を指定した通信端末のユーザID、業務IDが取得され(ステップS310)、その取得された業務ID及びユーザIDが、ライセンス許可管理ファイル145に登録済みであるか否かが判定される(ステップS311)。   In step S301, when an end confirmation request is received from the web application server 2 (step S301; end confirmation), the user ID and the business ID of the communication terminal that designates the business end are acquired from the web application server 2 (step S310). It is determined whether or not the acquired business ID and user ID have been registered in the license permission management file 145 (step S311).

ステップS311において、ステップS310で取得された業務ID及びユーザIDが、ライセンス許可管理ファイル145に登録済みであると判定された場合(ステップS311;YES)、ライセンス許可管理ファイル145から、該当する業務ID、ユーザID及び許可時刻が削除され(ステップS312)、ステップS301に戻る。   If it is determined in step S311 that the business ID and user ID acquired in step S310 have been registered in the license permission management file 145 (step S311; YES), the corresponding business ID is retrieved from the license permission management file 145. The user ID and permission time are deleted (step S312), and the process returns to step S301.

ステップS311において、ステップS310で取得された業務ID及びユーザIDがライセンス許可管理ファイル145に登録されていないと判定された場合(ステップS311;NO)、エラーとみなされ、Webアプリサーバ2にエラー通知が送信され(ステップS313)、ステップS301に戻る。   In step S311, when it is determined that the business ID and user ID acquired in step S310 are not registered in the license permission management file 145 (step S311; NO), it is regarded as an error and an error notification is sent to the web application server 2. Is transmitted (step S313), and the process returns to step S301.

タイマー設定管理のモジュールでは、まず、ライセンス許可管理ファイル145から、現在、Webアプリケーションに含まれる業務メニューの実行が許可されているユーザのユーザID、その業務メニューの業務ID及び許可時刻が取得される(ステップS321)。   In the timer setting management module, first, the user ID of the user who is currently permitted to execute the business menu included in the Web application, the business ID of the business menu, and the permission time are acquired from the license permission management file 145. (Step S321).

次いで、ライセンス情報管理ファイル146から、ステップS321で取得された業務IDに対応するタイマー時間が取得され(ステップS322)、その業務IDの業務メニューの実行時間が、ステップS322で取得されたタイマー時間以内であるか否かが判定される(ステップS323)。   Next, the timer time corresponding to the business ID acquired in step S321 is acquired from the license information management file 146 (step S322), and the execution time of the business menu of the business ID is within the timer time acquired in step S322. It is determined whether or not (step S323).

ステップS323において、該当する業務メニューの実行時間がタイマー時間以内であると判定された場合(ステップS323;YES)、ステップS321に戻り、ライセンス許可管理ファイル145の次のユーザIDに対して、ステップS321〜S323の処理が繰り返される。   If it is determined in step S323 that the execution time of the corresponding business menu is within the timer time (step S323; YES), the process returns to step S321, and for the next user ID in the license permission management file 145, step S321 is executed. The process of S323 is repeated.

ステップS323において、該当する業務メニューの実行時間がタイマー時間を超えていると判定された場合(ステップS323;NO)、該当するユーザに対する業務が終了したとみなされ、ライセンス許可管理ファイル145から、該当する業務ID、ユーザID及び許可時刻が削除される(ステップS324)。そして、ライセンス許可管理ファイル145の次のユーザIDに対して、ステップS321〜S323の処理が繰り返される。   If it is determined in step S323 that the execution time of the corresponding business menu has exceeded the timer time (step S323; NO), it is considered that the business for the corresponding user has ended, and the license permission management file 145 indicates that the corresponding The business ID, user ID, and permission time to be deleted are deleted (step S324). Then, the processing in steps S321 to S323 is repeated for the next user ID in the license permission management file 145.

以上のように、本実施形態3のライセンス管理システム100によれば、業務システムの業務メニュー毎に、ユーザのアクセス制限を管理するようにしたため、業務メニュー毎の細かなライセンス管理を行うことができる。また、業務メニュー単位でタイマー時間を設定することにより、利用が集中する業務の負荷分散が可能になる。   As described above, according to the license management system 100 of the third embodiment, since the user access restriction is managed for each business menu of the business system, fine license management for each business menu can be performed. . In addition, by setting a timer time for each business menu, it is possible to distribute the load of the business where the use is concentrated.

なお、上記各実施形態における記述内容は、本発明の趣旨を逸脱しない範囲で適宜変更可能である。   In addition, the description content in each said embodiment can be suitably changed in the range which does not deviate from the meaning of this invention.

本実施形態のライセンス管理システムの構成を示すブロック図。The block diagram which shows the structure of the license management system of this embodiment. 本発明の実施形態に係るライセンス管理装置の構成を示すブロック図。The block diagram which shows the structure of the license management apparatus which concerns on embodiment of this invention. 実施形態1のライセンス管理装置のRAMに記憶されるライセンス許可管理ファイルのデータ構成(同図(a))と、ライセンス情報管理ファイルのデータ構成(同図(b))を示す図。FIG. 2 is a diagram showing a data configuration (a diagram (a)) of a license permission management file stored in the RAM of the license management apparatus according to the first embodiment and a data configuration (a diagram (b)) of a license information management file. Webアプリサーバ2の構成を示すブロック図。The block diagram which shows the structure of the web application server 2. FIG. 通信端末のWebブラウザから接続要求を受けた際に、実施形態1のWebアプリサーバにより実行される処理を示すフローチャート。6 is a flowchart illustrating processing executed by the Web application server according to the first embodiment when a connection request is received from a Web browser of a communication terminal. 実施形態1のライセンス管理装置により実行されるライセンス管理処理を示すフローチャート。6 is a flowchart illustrating a license management process executed by the license management apparatus according to the first embodiment. 実施形態2のライセンス管理装置のRAMに記憶されるライセンス許可管理ファイルのデータ構成(同図(a))と、ライセンス情報管理ファイルのデータ構成(同図(b))を示す図。FIG. 9 is a diagram showing a data configuration (a diagram (a)) of a license permission management file stored in a RAM of a license management apparatus according to a second embodiment and a data configuration (a diagram (b)) of a license information management file. 通信端末のWebブラウザから接続要求を受けた際に、実施形態2のWebアプリサーバにより実行される処理を示すフローチャート。10 is a flowchart illustrating processing executed by the Web application server according to the second embodiment when a connection request is received from a Web browser of a communication terminal. 実施形態2のライセンス管理装置により実行されるライセンス管理処理を示すフローチャート。10 is a flowchart showing a license management process executed by the license management apparatus according to the second embodiment. 実施形態3のライセンス管理装置のRAMに記憶されるライセンス許可管理ファイルのデータ構成(同図(a))と、ライセンス情報管理ファイルのデータ構成(同図(b))を示す図。The figure which shows the data structure (the figure (a)) of the license permission management file memorize | stored in RAM of the license management apparatus of Embodiment 3 and the data structure (the figure (b)) of a license information management file. 通信端末のWebブラウザから接続要求を受けた際に、実施形態3のWebアプリサーバにより実行される処理を示すフローチャート。10 is a flowchart illustrating processing executed by the Web application server according to the third embodiment when a connection request is received from a Web browser of a communication terminal. 実施形態3のライセンス管理装置により実行されるライセンス管理処理を示すフローチャート。10 is a flowchart showing a license management process executed by the license management apparatus according to the third embodiment.

符号の説明Explanation of symbols

1 ライセンス管理装置
10 CPU
11 表示装置
12 入力装置
13 通信制御装置
14 RAM
141、143、145 ライセンス許可管理ファイル
142、144、146 ライセンス情報管理ファイル
15 記憶装置
16 タイマー部
2 Webアプリサーバ
20 CPU
21 表示装置
22 入力装置
23 通信制御装置
24 RAM
25 記憶装置
3〜6 通信端末
100 ライセンス管理システム
1 License management device 10 CPU
11 Display device 12 Input device 13 Communication control device 14 RAM
141, 143, 145 License permission management file 142, 144, 146 License information management file 15 Storage device 16 Timer unit 2 Web application server 20 CPU
21 Display device 22 Input device 23 Communication control device 24 RAM
25 Storage Device 3-6 Communication Terminal 100 License Management System

Claims (4)

ネットワークを介して接続される複数の通信端末に、業務システムを動作させるためのアプリケーションを実行させるライセンス管理装置であって、
アプリケーションを同時に実行可能な通信端末の数を制限するためのライセンス数及び当該アプリケーションを実行可能な時間を制限するためのタイマー時間を記憶する情報管理記憶手段と、
アプリケーションを実行している通信端末の識別情報及び当該アプリケーションの実行が許可された時刻を登録する許可管理記憶手段と、
通信端末が前記アプリケーションにアクセスした際、前記許可管理記憶手段に識別情報が登録された通信端末の数が前記ライセンス数より少ない場合、前記アクセスをした通信端末の識別情報を前記許可管理記憶手段に登録して、当該アプリケーションの実行を許可する制御手段と、
前記許可管理記憶手段に識別情報が登録された通信端末毎に、アプリケーションの実行時間が前記タイマー時間を超えたか否かを判定する判定手段と、
前記判定手段によりアプリケーションの実行時間が前記タイマー時間を越えたと判定された通信端末の識別情報を前記許可管理記憶手段から削除する削除手段と、
を備えることを特徴とするライセンス管理装置。
A license management apparatus for executing an application for operating a business system on a plurality of communication terminals connected via a network,
Information management storage means for storing the number of licenses for limiting the number of communication terminals that can simultaneously execute the application and the timer time for limiting the time during which the application can be executed;
Permission management storage means for registering the identification information of the communication terminal that is executing the application and the time when the execution of the application is permitted;
When a communication terminal accesses the application, if the number of communication terminals whose identification information is registered in the permission management storage means is less than the number of licenses, the identification information of the accessed communication terminal is stored in the permission management storage means. Control means to register and allow execution of the application;
For each communication terminal whose identification information is registered in the permission management storage unit, a determination unit that determines whether the execution time of the application exceeds the timer time;
A deletion unit that deletes the identification information of the communication terminal determined by the determination unit that the execution time of the application has exceeded the timer time from the permission management storage unit;
A license management apparatus comprising:
前記ネットワークを介して、前記複数の通信端末の各々が複数のアプリケーションに接続可能であり、
前記複数のアプリケーションの各々は、前記業務システムで取り扱われる商品によって特定され、
前記情報管理記憶手段は、アプリケーションを特定する商品毎に、前記ライセンス数及び前記タイマー時間を記憶し、
前記許可管理記憶手段は、アプリケーションを特定する商品毎に、アプリケーションを実行している通信端末の識別情報及び当該アプリケーションの実行が許可された時刻を登録し、
前記制御手段は、通信端末がアプリケーションにアクセスした際、前記許可管理記憶手段から当該アプリケーションを実行中の通信端末の数を取得し、その取得された通信端末の数が、当該アプリケーションに対応するライセンス数より少ない場合、前記アクセスをした通信端末の識別情報を前記許可管理記憶手段に登録して、当該アプリケーションの実行を許可し、
前記判定手段は、前記許可管理記憶手段に識別情報が登録された通信端末毎に、アプリケーションの実行時間が、当該アプリケーションに対応するタイマー時間を超えたか否かを判定し、
前記削除手段は、前記判定手段によりアプリケーションの実行時間が当該アプリケーションに対応するタイマー時間を越えたと判定された通信端末の識別情報を前記許可管理記憶手段から削除することを特徴とする請求項1記載のライセンス管理装置。
Each of the plurality of communication terminals can be connected to a plurality of applications via the network,
Each of the plurality of applications is specified by a product handled in the business system,
The information management storage means stores the number of licenses and the timer time for each product specifying an application,
The permission management storage means registers the identification information of the communication terminal that is executing the application and the time when the application is permitted to be executed for each product that identifies the application,
When the communication terminal accesses the application, the control unit acquires the number of communication terminals that are executing the application from the permission management storage unit, and the acquired number of communication terminals corresponds to the license corresponding to the application. If the number is less than the number, register the identification information of the accessed communication terminal in the permission management storage means, permit the execution of the application,
The determination means determines whether or not the execution time of the application exceeds the timer time corresponding to the application for each communication terminal whose identification information is registered in the permission management storage means.
2. The deletion unit is configured to delete, from the permission management storage unit, identification information of a communication terminal that is determined by the determination unit that the execution time of the application has exceeded a timer time corresponding to the application. License management device.
前記アプリケーションには、前記業務システムにおける複数の業務メニューが含まれ、
前記情報管理記憶手段は、前記業務システムにおける業務メニュー毎に、業務メニューを同時に実行可能な通信端末の数を制限するためのライセンス数及び当該業務メニューを実行可能な時間を制限するためのタイマー時間を記憶し、
前記許可管理記憶手段は、アプリケーションに含まれる業務メニュー毎に、業務メニューを実行している通信端末の識別情報及び当該業務メニューの実行が許可された時刻を登録し、
前記制御手段は、通信端末がアプリケーションに含まれる業務メニューにアクセスした際、前記許可管理記憶手段から当該業務メニューを実行中の通信端末の数を取得し、その取得された通信端末の数が、当該業務メニューに対応するライセンス数より少ない場合、前記アクセスをした通信端末の識別情報を前記許可管理記憶手段に登録して、当該業務メニューの実行を許可し、
前記判定手段は、前記許可管理記憶手段に識別情報が登録された通信端末毎に、業務メニューの実行時間が、当該業務メニューに対応するタイマー時間を超えたか否かを判定し、
前記削除手段は、前記判定手段により業務メニューの実行時間が当該業務メニューに対応するタイマー時間を越えたと判定された通信端末の識別情報を前記許可管理記憶手段から削除することを特徴とする請求項1記載のライセンス管理装置。
The application includes a plurality of business menus in the business system,
The information management storage means includes, for each business menu in the business system, a license number for limiting the number of communication terminals that can simultaneously execute the business menu and a timer time for limiting a time during which the business menu can be executed. Remember
The permission management storage unit registers, for each business menu included in the application, identification information of a communication terminal that is executing the business menu and a time at which the execution of the business menu is permitted,
The control unit acquires the number of communication terminals that are executing the business menu from the permission management storage unit when the communication terminal accesses the business menu included in the application, and the acquired number of communication terminals is: If the number of licenses corresponding to the business menu is less, the identification information of the accessed communication terminal is registered in the permission management storage unit, and the execution of the business menu is permitted,
The determination means determines, for each communication terminal whose identification information is registered in the permission management storage means, whether or not the execution time of the business menu exceeds a timer time corresponding to the business menu,
The deletion unit is configured to delete, from the permission management storage unit, identification information of a communication terminal that has been determined by the determination unit that a task menu execution time has exceeded a timer time corresponding to the task menu. 1. The license management apparatus according to 1.
コンピュータに、
アプリケーションを実行している通信端末の識別情報及び当該アプリケーションの実行が許可された時刻を記憶手段に登録する機能と、
通信端末が前記アプリケーションにアクセスした際、前記記憶手段に識別情報が登録された通信端末の数が予め設定された数より少ない場合、前記アクセスをした通信端末の識別情報を前記記憶手段に登録し、当該アプリケーションの実行を許可する機能と、
前記記憶手段に識別情報が登録された通信端末毎に、アプリケーションの実行時間が予め設定された時間を超えたか否かを判定する機能と、
前記判定によりアプリケーションの実行時間が予め設定された時間を越えたと判定された通信端末の識別情報を前記記憶手段から削除する機能と、
を実現させるためのプログラム。
On the computer,
A function of registering in the storage means the identification information of the communication terminal that is executing the application and the time when the execution of the application is permitted;
When a communication terminal accesses the application, if the number of communication terminals whose identification information is registered in the storage means is less than a preset number, the identification information of the accessed communication terminal is registered in the storage means. , A function that allows execution of the application,
A function for determining whether or not the execution time of the application exceeds a preset time for each communication terminal whose identification information is registered in the storage unit;
A function of deleting the identification information of the communication terminal determined from the determination that the execution time of the application exceeds a preset time from the storage unit;
A program to realize
JP2003389388A 2003-11-19 2003-11-19 License management device and program Pending JP2005149382A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003389388A JP2005149382A (en) 2003-11-19 2003-11-19 License management device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003389388A JP2005149382A (en) 2003-11-19 2003-11-19 License management device and program

Publications (1)

Publication Number Publication Date
JP2005149382A true JP2005149382A (en) 2005-06-09

Family

ID=34696153

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003389388A Pending JP2005149382A (en) 2003-11-19 2003-11-19 License management device and program

Country Status (1)

Country Link
JP (1) JP2005149382A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8973155B2 (en) 2009-03-04 2015-03-03 Nec Corporation License management system, license management method and license management program
US9124501B2 (en) 2006-12-26 2015-09-01 Ricoh Company, Ltd. Server device, network device, and method of providing data providing location
JP2020091825A (en) * 2018-11-26 2020-06-11 キヤノン株式会社 System, managing device, method, and program
CN114726961A (en) * 2021-04-23 2022-07-08 京瓷办公信息系统株式会社 Information processing device, information processing system including the same, and recording medium storing setting tool program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9124501B2 (en) 2006-12-26 2015-09-01 Ricoh Company, Ltd. Server device, network device, and method of providing data providing location
US8973155B2 (en) 2009-03-04 2015-03-03 Nec Corporation License management system, license management method and license management program
JP2020091825A (en) * 2018-11-26 2020-06-11 キヤノン株式会社 System, managing device, method, and program
JP7214517B2 (en) 2018-11-26 2023-01-30 キヤノン株式会社 System, management device, method and program
CN114726961A (en) * 2021-04-23 2022-07-08 京瓷办公信息系统株式会社 Information processing device, information processing system including the same, and recording medium storing setting tool program
CN114726961B (en) * 2021-04-23 2024-05-14 京瓷办公信息系统株式会社 Information processing device, information processing system including the same, and recording medium storing setting tool program

Similar Documents

Publication Publication Date Title
EP1860547B1 (en) Remote stored print job retrieval
JP2007203736A (en) Method for executing locked printing in printing device
JP7020630B2 (en) Methods and equipment for managing hardware resource access in electronic devices
JP2006240023A (en) Printer and information processor
US8321951B2 (en) License information management apparatus, method, and program
GB2382198A (en) Packaging a document file and translator together to facilitate the generation of hard copies
JP4850159B2 (en) External device management system
JP2005149382A (en) License management device and program
US20090222607A1 (en) Document management system, document management method, program and storage medium
JP5870642B2 (en) Information processing apparatus, management method, and management program
US20160006742A1 (en) Information processing apparatus and control method thereof
JP2000035947A (en) Remote setting method for system state information and computer system
CN101582971A (en) Application platform
JP2021082004A (en) Authorization server, system, system method, and authorization server program
JP2009020744A (en) Portable information processor, electronic equipment, operation control method, and operation control program
EP4235465A1 (en) Information processing system, setting change method, and carrier means
JP2006293938A (en) Server which provides program for managing expiration date of usable software, program and terminal capable of executing program
EP4054166B1 (en) Information processing apparatus, information processing program, and information processing method
JP4993818B2 (en) Job execution control system
JP2007249806A (en) Document sharing system
JP2012252411A (en) Selection program, image processor, and computer
JP4082430B2 (en) Printing apparatus and recording medium
JP2009086960A (en) Method for setting url filter, client device, terminal device, client/server system, and program for setting url filter
JP2008037031A (en) Image processing device and image processing system
JP2007065866A (en) Information apparatus, control method therefor, and control program