JP4585540B2 - Web application system, apparatus and program - Google Patents
Web application system, apparatus and program Download PDFInfo
- Publication number
- JP4585540B2 JP4585540B2 JP2007121051A JP2007121051A JP4585540B2 JP 4585540 B2 JP4585540 B2 JP 4585540B2 JP 2007121051 A JP2007121051 A JP 2007121051A JP 2007121051 A JP2007121051 A JP 2007121051A JP 4585540 B2 JP4585540 B2 JP 4585540B2
- Authority
- JP
- Japan
- Prior art keywords
- execution
- instruction information
- processing
- background
- execution instruction
- 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.)
- Active
Links
Images
Landscapes
- Stored Programmes (AREA)
Description
本発明は、Webアプリケーションシステム、装置及びプログラムに係り、例えば、1つの業務処理プログラムをバックグラウンド処理及びリアルタイム処理で実行でき、プログラムの保守性及び生産性の低下を阻止し得るWebアプリケーションシステム、装置及びプログラムに関する。 The present invention relates to a Web application system, apparatus, and program. For example, a Web application system, apparatus, and the like that can execute one business processing program by background processing and real-time processing and prevent a decrease in maintainability and productivity of the program. And the program.
通常、Webアプリケーションでは、画面から処理の実行指示が入力された後、アプリケーションサーバによる処理の実行が終了するまで利用者が画面の前で待つ必要がある。 Normally, in a Web application, after a process execution instruction is input from the screen, the user needs to wait in front of the screen until the execution of the process by the application server is completed.
このように実行指示に対し即時に処理を実行し、実行結果を返す処理をリアルタイム処理と呼ぶ。リアルタイム処理では処理の終了まで待つ必要があるので、短時間で終了する処理の場合には問題ないが、長時間に及ぶ処理の場合には、待ち時間が長いことや、待ち時間中に他の処理を実行できないといった問題が生じる。 A process that immediately executes a process in response to an execution instruction and returns an execution result is called a real-time process. In real-time processing, it is necessary to wait until the end of processing, so there is no problem in the case of processing that ends in a short time, but in the case of processing that takes a long time, the waiting time is long and other times during the waiting time There arises a problem that processing cannot be executed.
この問題を解決するために、待ち時間が長くなる場合には、画面から実行指示用のデータのみ作成し、実際の処理はアプリケーションサーバのバッチ処理にて実行する方法が知られている(具体例としては、特許文献1参照。)。この方法では、利用者が画面から処理の実行指示を入力すると、その実行指示の情報のみを作成し、実行指示の情報が登録されたことを画面に表示する。 In order to solve this problem, there is a known method in which only the execution instruction data is created from the screen when the waiting time becomes long, and the actual processing is executed by batch processing of the application server (specific example) (See Patent Document 1). In this method, when a user inputs a process execution instruction from the screen, only the execution instruction information is created, and the execution instruction information is registered on the screen.
その後、アプリケーションサーバは、登録した実行指示情報を参照し、バッチ処理を実行する。このように、実行指示の入力とは非同期に実行されるバッチ処理をバックグラウンド処理と呼ぶ。このようなバックグラウンド処理によれば、リアルタイム処理の問題が解決される。
しかしながら、以上のようなバックグラウンド処理を実現する場合、リアルタイム処理用と別にバックグラウンド処理用のプログラムを作成する必要が生じる。 However, when the background processing as described above is realized, it is necessary to create a program for background processing separately from the real-time processing.
すなわち、同一の業務処理でリアルタイム処理用とバックグラウンド処理用の2つのプログラムが必要となるので、プログラムの保守性、生産性が著しく低下してしまう。 That is, since two programs for real-time processing and background processing are required in the same business process, the maintainability and productivity of the program are significantly reduced.
本発明は上記実情を考慮してなされたもので、1つの業務処理プログラムをバックグラウンド処理及びリアルタイム処理で実行でき、プログラムの保守性及び生産性の低下を阻止し得るWebアプリケーションシステム、装置及びプログラムを提供することを目的とする。 The present invention has been made in consideration of the above circumstances, and a Web application system, apparatus, and program that can execute one business processing program by background processing and real-time processing, and can prevent deterioration in maintainability and productivity of the program. The purpose is to provide.
第1の発明は、データベース装置と、前記データベース装置を読出/書込可能なアプリケーションサーバ装置とを備えたWebアプリケーションシステムであって、前記データベース装置としては、前記アプリケーションサーバ装置によりバックグラウンド処理で実行される業務処理プログラムの各機能を機能ID及びこの機能IDに対応するボタンIDが互いに関連付けられて予め記憶されたバックグラウンド対象記憶手段と、実行データ、機能ID、ボタンID及びバックグラウンド処理指示情報を含む第1実行指示情報を少なくとも記憶する実行指示情報記憶手段とを備えており、前記アプリケーションサーバ装置としては、前記業務処理プログラムが記憶された業務処理プログラム記憶手段と、前記第1実行指示情報、又は実行データ、機能ID、ボタンID及びリアルタイム処理指示情報を含む第2実行指示情報のうちのいずれかの実行指示情報を受信すると、当該受信した実行指示情報がバックグラウンド処理指示情報を含むか否かを判定する第1判定手段と、前記受信した実行指示情報に含まれる機能ID及びボタンIDが、前記バックグラウンド対象記憶手段内の機能ID及びボタンIDに一致するか否かを判定する第2判定手段と、前記第1判定手段及び前記第2判定手段のうち、少なくとも一方の判定結果が否の場合には、前記受信した実行指示情報に基づいて、前記業務処理プログラムをリアルタイム処理により実行するリアルタイム実行手段と、前記第1判定手段及び前記第2判定手段による判定結果が両者とも否でない場合には、前記受信した実行指示情報である第1実行指示情報を前記実行指示情報記憶手段に保存する手段と、前記第1実行指示情報を保存した旨を当該第1実行指示情報の送信元に通知する手段と、前記通知の後、バックグラウンド処理により、前記実行指示情報記憶手段から前記第1実行指示情報に含まれる実行データを呼び出す実行データ呼出し手段と、前記呼び出した実行データに基づいて、前記業務処理プログラムをバックグラウンド処理により実行するバックグラウンド実行手段と、を備えたWebアプリケーションシステムである。 A first invention is a Web application system comprising a database device and an application server device capable of reading / writing the database device, and the database device is executed by the application server device in a background process Each of the functions of the business processing program to be executed, a background target storage means in which a function ID and a button ID corresponding to the function ID are associated with each other, and execution data, a function ID, a button ID, and background processing instruction information Execution instruction information storage means for storing at least first execution instruction information including: a business process program storage means for storing the business process program; and the first execution instruction information as the application server device. Or execution data When the execution instruction information of any one of the second execution instruction information including the function ID, the button ID, and the real-time processing instruction information is received, it is determined whether or not the received execution instruction information includes the background processing instruction information. A first determination unit that determines whether a function ID and a button ID included in the received execution instruction information match a function ID and a button ID in the background target storage unit; Real time execution means for executing the business process program by real time processing based on the received execution instruction information when at least one of the first determination means and the second determination means is negative And when the determination results by the first determination means and the second determination means are not negative, the received execution instruction Means for storing first execution instruction information as information in the execution instruction information storage means, means for notifying the transmission source of the first execution instruction information that the first execution instruction information has been saved, Thereafter, by background processing, execution data calling means for calling execution data included in the first execution instruction information from the execution instruction information storage means, and the business processing program is processed by background processing based on the called execution data. A web application system comprising:
なお、第1の発明は、各装置の集合体を「システム」として表現したが、これに限らず、各装置の集合体又は各装置を「装置」、「プログラム」、「プログラムを記憶したコンピュータ読み取り可能な記憶媒体」又は「方法」として表現してもよいことは言うまでもない。 In the first invention, the collection of devices is expressed as “system”, but not limited to this, the collection of devices or each device is represented as “device”, “program”, “computer storing program” Needless to say, it may be expressed as “readable storage medium” or “method”.
(作用)
第1の発明では、業務処理プログラムをリアルタイム処理により実行するリアルタイム実行手段と、業務処理プログラムをバックグラウンド処理により実行するバックグラウンド実行手段とを備えた構成により、1つの業務処理プログラムをバックグラウンド処理及びリアルタイム処理で実行でき、プログラムの保守性及び生産性の低下を阻止することができる。
(Function)
According to the first aspect of the present invention, a single business process program is processed in the background by a configuration including real-time execution means for executing the business process program by real-time processing and background execution means for executing the business process program by background processing. In addition, it can be executed by real-time processing, and deterioration of maintainability and productivity of the program can be prevented.
以上説明したように本発明によれば、1つの業務処理プログラムをバックグラウンド処理及びリアルタイム処理に実行でき、保守性及び生産性の低下を阻止できる。 As described above, according to the present invention, one business processing program can be executed for background processing and real-time processing, and deterioration of maintainability and productivity can be prevented.
以下、本発明の各実施形態について図面を用いて説明する。なお、以下の各装置は、装置毎に、ハードウェア構成、又はハードウェア資源とソフトウェアとの組合せ構成のいずれでも実施可能となっている。組合せ構成のソフトウェアとしては、予めネットワーク又は記憶媒体から対応する装置のコンピュータにインストールされ、対応する装置の機能を実現させるためのプログラムが用いられる。 Embodiments of the present invention will be described below with reference to the drawings. Note that each of the following devices can be implemented in either a hardware configuration or a combined configuration of hardware resources and software for each device. As the software of the combined configuration, a program that is installed in advance on a computer of a corresponding device from a network or a storage medium and that realizes the function of the corresponding device is used.
(第1の実施形態)
図1は本発明の第1の実施形態に係るWebアプリケーションシステムの構成を示す模式図であり、図2は同システムに用いられるデータベース装置の構成を示す模式図である。このWebアプリケーションシステムは、データベース装置100、アプリケーションサーバ装置200及びクライアント装置300が互いにネットワークを介して接続されている。
(First embodiment)
FIG. 1 is a schematic diagram showing a configuration of a Web application system according to the first embodiment of the present invention, and FIG. 2 is a schematic diagram showing a configuration of a database device used in the system. In this Web application system, a
ここで、データベース装置100は、アプリケーションサーバ装置200から読出/書込可能な記憶装置であり、実行指示データD1、バックグラウンド対象データD2及び業務処理関連情報D3が記憶される。
Here, the
実行指示データD1は、図2に示すように、指示ID、指示日付、ユーザID、機能ID、ボタンID及びタイミングフラグを含む実行機能指示情報D1−1と、この指示情報D1−1の指示IDと同一の指示ID及び実行データを含む実行条件指示情報D1−2とから構成される。なお、2つの指示情報D1−1,D1−2は、一つの指示情報にまとめてもよい。また、業務処理プログラムの内容によっては、指示日付及びユーザIDを省略してもよい。 As shown in FIG. 2, the execution instruction data D1 includes execution function instruction information D1-1 including an instruction ID, an instruction date, a user ID, a function ID, a button ID, and a timing flag, and an instruction ID of the instruction information D1-1. And execution condition instruction information D1-2 including the same instruction ID and execution data. Note that the two instruction information D1-1 and D1-2 may be combined into one instruction information. Further, depending on the contents of the business processing program, the instruction date and the user ID may be omitted.
指示IDは、例えば図3に一例を示すように、クライアント装置300に表示された入力画面G1において、チェックボックスg1の選択によりバックグラウンド処理を示すBGコードと、ラジオボタンg2の選択による実行指示の場合の連続番号0001とが連結されたものである。但し、BGコードは指示IDとは別の項目で設けてもよい。また、チェックボックスg1が選択されない場合、BGコードに代えて、リアルタイム処理を示すRTコードが連結されるが、RTコードを含む指示IDの実行指示データは、リアルタイム処理で実行されるため、データベース装置100に記憶されることはない。すなわち、データベース装置100には、少なくとも実行データ、機能ID、ボタンID及びRTコード(リアルタイム処理指示情報)を含む第2の実行指示データと、少なくとも実行データ、機能ID、ボタンID及びBGコード(バックグラウンド処理指示情報)を含む第1の実行指示データD1との2種類の実行指示データのうち、第1の実行指示データD1がアプリケーションサーバ装置200を介して記憶される。なお、ラジオボタンg2に代えて、ラジオボタンg3が選択された場合、実行指示データD1は、タイミングフラグに「バックグラウンド処理をバッチ処理で実行する」ための情報“0”が設定された状態でデータベース装置100に保存される。また、ラジオボタンg2が選択された場合、実行指示データD1は、タイミングフラグに「バックグラウンド処理を即時実行する」ための情報“1”が設定された状態でデータベース装置100に保存される。なお、ラジオボタンg3で選択したバッチ処理のための情報を“1”とし、ラジオボタンg2で選択した即時実行のための情報を“0”としてもよい。また、タイミングフラグは必ずしも必要ではなく、省略してもよい。例えば、バックグラウンド処理を実行するタイミングが予め即時実行又はバッチ処理のいずれかに決まっている場合、タイミングフラグを省略できる。また、ここでいうバッチ処理とはバックグラウンド処理で実行され、かつ、バックグラウンド処理の即時実行ではない処理として位置付けるものとする。例えば、バッチ処理は、実行指示データD1が作成されて数時間後にバックグラウンド処理で実行されるものとする。当該数時間という情報はD1−1に図示していない区分欄などに含まれている場合やCPU270によるバックグラウンド処理のプログラムにて予め示されている場合などが考えられる。
For example, as shown in FIG. 3, for example, the instruction ID includes an BG code indicating background processing by selecting the check box g1 on the input screen G1 displayed on the
指示日付は、実行指示データD1を作成した日付を示す情報であり、クライアント装置300により付加される。
The instruction date is information indicating a date when the execution instruction data D1 is created, and is added by the
ユーザIDは、入力画面G1を操作している利用者を示すIDであり、例えばログイン時に入力したユーザIDが用いられる。ここでいうユーザID(例、給与会計の担当者)は、後述する業務処理関連情報内のユーザID(例、給与が支給される社員)とは異なる値の場合が多いが、同一の値の場合もある。 The user ID is an ID indicating a user who is operating the input screen G1, and for example, a user ID input at the time of login is used. The user ID here (eg, the person in charge of payroll accounting) is often different from the user ID (eg, employee to whom salary is paid) in the business processing related information described later, but the same value. In some cases.
機能ID及びボタンIDは、各ボタンg4〜g6に予め割り付けられており、図3の例では印刷ボタンg4の選択に基づいて、帳票出力機能を示す“AAA”が機能IDに設定されると共に、印刷ボタンg4を示す“BUTTON01”がボタンIDに設定される。なお、取消しボタンg6を選択した場合、バックグラウンド処理のチェックボックスg1を選択していても、取消処理がリアルタイム処理で実行される。これは後述するバックグラウンド対象データD2の中に取消処理が含まれていないためである。 The function ID and button ID are assigned to the buttons g4 to g6 in advance. In the example of FIG. 3, “AAA” indicating the form output function is set as the function ID based on the selection of the print button g4. “BUTTON01” indicating the print button g4 is set as the button ID. When the cancel button g6 is selected, the cancel process is executed in real time even if the background process check box g1 is selected. This is because the cancellation processing is not included in the background target data D2 described later.
実行データは、実行指示の実行条件を示すものであり、図3の例では、支給年月の範囲g7〜g8と、付加するコメントg9とが用いられている。また、実行データの実例としては、Java(登録商標)のインスタンスのバイナリがあり、このバイナリをデータベースのBLOBというバイナリデータとして登録している。 The execution data indicates the execution condition of the execution instruction. In the example of FIG. 3, a supply date range g7 to g8 and a comment g9 to be added are used. As an example of execution data, there is a binary of a Java (registered trademark) instance, and this binary is registered as binary data called BLOB of a database.
バックグラウンド対象データD2は、バックグラウンド処理の対象処理を判断するためのメタデータであり、具体的には、アプリケーションサーバ装置200により実行される業務処理プログラム210の各機能を示す機能IDのうち、バックグラウンド処理の対象である機能を示す機能IDと、この機能IDに対応するボタンIDと、機能IDに対応する処理名称とが互いに関連付けられて予め記憶されている。なお、バックグラウンド対象データD2としては、実行指示データD1と比較される機能ID及びボタンIDがあればよいので、処理名称は省略してもよい。
The background target data D2 is metadata for determining the target process of the background process. Specifically, among the function IDs indicating the functions of the
業務処理関連情報D3は、業務処理プログラム210の実行に必要な各種のデータであり、業務処理プログラム210の処理内容に応じて任意の情報が使用可能となっている。
The business process related information D3 is various data necessary for the execution of the
業務処理関連情報D3は、図2の例では、アルバイト社員の給料の支給明細書を作成して帳票出力する業務処理の関連情報として、アルバイト社員の個人を識別するユーザID、ユーザ名、所属、連絡先及び時給金額を含むユーザ個人情報D3−1と、アルバイト社員の勤務記録に関する日付情報、出退勤時刻及び実働時間(=(退勤時刻−出勤時刻)−所定の休憩時間)を含む勤務記録情報D3−2と、アルバイト社員の給与の支給年月、累積実働時間及び月給金額(=時給金額×累積実働時間)を含む支給明細情報とから構成されている。なお、ユーザ個人情報D3−1、勤務記録情報D3−2及び支給明細情報D3−3は、互いに同一値のユーザIDにより関連付けられている。これらユーザ個人情報D3−1、勤務記録情報D3−2及び支給明細情報D3−3は、一つの業務処理関連情報D3にまとめてもよい。また、各情報D3−1,D3−2,D3−3は、それぞれテーブル情報であり、実際には複数のユーザに関する内容がユーザID毎に記録されている。 In the example of FIG. 2, the business process related information D3 is a user ID, a user name, an affiliation, User personal information D3-1 including contact information and hourly wage amount, work record information D3 including date information on work records of part-time employees, attendance / leaving time and actual working time (= (working time-working time) -predetermined break time) -2 and the payment details information including the salary of the part-time employee, the accumulated actual working time, and the monthly salary (= hourly wage x accumulated actual working time). Note that the user personal information D3-1, work record information D3-2, and supply details information D3-3 are associated with each other by the same user ID. The user personal information D3-1, work record information D3-2, and payment details information D3-3 may be combined into one business process related information D3. Further, each information D3-1, D3-2, and D3-3 is table information, and the contents regarding a plurality of users are actually recorded for each user ID.
アプリケーションサーバ装置200は、業務処理プログラム210、共通フレームワーク220、アプリケーションプログラム230及びバックグラウンド処理実行部240といった各プログラム210〜240や処理中のデータ等を記憶する主メモリとしての記憶部250と、前述した各プログラム210〜240を記憶する補助メモリとしてのHDD(hard disk drive)装置と、前述した各プログラム210〜240を実行するCPU270とを備えている。
The
ここで、業務処理プログラム210は、共通フレームワーク220上で動作するWebアプリケーションであり、チェック処理部211及び実行処理部212からなる処理部と、実行データ213を保持するデータ保持部とから構成される。なお、業務処理プログラム210が対象とする業務処理の内容は、実行指示データと、業務処理関連情報D3とに基づいてCPU270が実行可能な処理であれば、任意の処理が適用可能となっている。
Here, the
チェック処理部211は、共通フレームワーク220又はバックグラウンド処理実行部240の処理により受けた実行データの形式(例、支給年月の桁数や範囲など)をチェックするチェック処理手段、チェック後の実行データ213をデータ保持部に書き込む書込手段、としてサーバ装置200を機能させるためのプログラムである。
The
実行処理部212は、共通フレームワーク220又はバックグラウンド処理実行部240の処理により実行制御され、データ保持部内の実行データ213及びデータベース装置100内の業務処理関連情報D3に基づいて業務処理を実行処理する実行処理手段、実行結果をクライアント装置300に出力する出力手段、としてサーバ装置200を機能させるためのプログラムである。なお、実行処理としては、例えば、実行データ213内の支給年月に基づいて、業務処理関連情報D3におけるユーザ個人情報D3−1内のユーザID毎に、支給年月に該当する日付情報をもつ勤務記録情報D3−2の出退勤時刻及び所定の休憩時間に基づいて1日の実働時間を算出する処理と、この実働時間を支給年月内で累積して累積実働時間を算出する処理と、この累積実働時間にユーザ個人情報D3−1内の時給金額を掛け算して月給金額を算出する処理と、算出した実働時間、累積実働時間及び月給金額で業務処理関連情報D3を更新する処理と、更新後に、例えば図4に示すように、業務処理関連情報D3におけるユーザ個人情報D3−1内の所属、ユーザ名及び時給金額と、支給明細情報D3−3内の累積実働時間及び月給金額と、実行データ213内の支給年月及びコメントとを含む支給明細書データD4を作成する処理とを含んでいる。この場合、クライアント装置300に出力される実行結果は、支給明細書データD4である。
The
共通フレームワーク220は、アプリケーションコンテナ230上で動作するWebアプリケーションであり、業務処理プログラム210の実行を制御する実行制御部221及び、バックグラウンド処理の実行指示データD1を保存するためのデータ保存処理部222から構成される。
The
実行制御部221は、クライアント装置300から第1及び第2の実行指示データのうちのいずれかの実行指示データを受信すると、当該受信した実行指示データがBGコード(バックグラウンド処理指示情報)を含むか否かを判定する第1判定手段、受信した実行指示データに含まれる機能ID及びボタンIDが、データベース装置100に記憶されたバックグラウンド対象データD2内の機能ID及びボタンIDに一致するか否かを判定する第2判定手段、第1判定手段及び第2判定手段のうち、少なくとも一方の判定結果が否の場合には、受信した実行指示データに基づいて、業務処理プログラム210をリアルタイム処理により実行するリアルタイム実行手段、としてアプリケーションサーバ装置200を機能させるためのプログラムである。
When the
データ保存処理部222は、実行制御部221における第1判定手段及び第2判定手段による判定結果が両者とも否でない場合には、受信した実行指示データである第1の実行指示データD1をデータベース装置100に保存する手段、第2の実行指示データD1を保存した旨を当該第1の実行指示データD1の送信元であるクライアント装置300に通知する手段、としてアプリケーションサーバ装置200を機能させるためのプログラムである。
The data
アプリケーションコンテナ230は、Webアプリケーションを実行する際に必要なソフトウェアであり、一般的な構成要素である。アプリケーションコンテナとしては、例えば、サーブレットコンテナがある。サーブレットコンテナは、サーブレットを実行及び管理するソフトウェアであり、例えば、以下のURLに説明されている。
The
http://otndnld.oracle.co.jp/document/products/as10g/1012/doc_v1/web.1012/B15632-01/tecbkgnd.html
バックグラウンド処理実行部240は、データベース装置100に保存されたデータを呼び出すための保存データ呼出し部241、業務処理の実行を制御する実行制御部242、アプリケーションコンテナ230を仮想的に実現する仮想コンテナ243から構成される。
http://otndnld.oracle.co.jp/document/products/as10g/1012/doc_v1/web.1012/B15632-01/tecbkgnd.html
The background
保存データ呼出し部241は、共通フレームワーク220のデータ保存処理部222による通知の後、バックグラウンド処理により、データベース装置100から第1の実行指示データD1に含まれる実行データを呼び出す実行データ呼出し手段、としてアプリケーションサーバ装置200を機能させるためのプログラムである。
The saved
実行制御部242は、呼び出した実行データに基づいて、業務処理プログラム210をバックグラウンド処理により実行するバックグラウンド実行手段、としてアプリケーションサーバ装置200を機能させるためのプログラムである。
The
仮想コンテナ243は、バックグラウンド処理の実行時に仮想的なアプリケーションコンテナとして機能するものであり、具体的には、セッション(Session)と呼ばれるメモリ領域やそのメモリ領域に対する操作処理を実現する機能をもっている。なお、仮想コンテナ243が必要な理由は、通常、Webアプリケーションではセッションと呼ばれるメモリ領域にデータを保存するが、バックグラウンド実行時にはこのセッションが存在しないためである。
The
クライアント装置300は、通常のパーソナルコンピュータ装置であり、本実施形態に関係する機能としては例えば、利用者の操作により、アプリケーションサーバ装置200に接続し、各業務処理の実行指示データを送信する機能と、アプリケーションサーバ装置200から受信した実行結果を表示する機能と、図示しないプリンタにより、この実行結果を出力する機能とをもっている。
The
次に、以上のように構成されたWebアプリケーションシステムの動作を図5のフローチャート及び図6の模式図を参照しながら説明する。 Next, the operation of the Web application system configured as described above will be described with reference to the flowchart of FIG. 5 and the schematic diagram of FIG.
アプリケーションサーバ装置200においては、CPU270の実行により、アプリケーションコンテナ230及び共通フレームワーク220が動作中であるとする。
In the
このとき、クライアント装置300は、利用者の操作により、アプリケーションサーバ装置200に接続し、図3に示したように、入力画面G1から業務処理プログラム210に対する実行指示データを作成し、この実行指示データをアプリケーションサーバ装置200に送信する。
At this time, the
アプリケーションサーバ装置200においては、CPU270が共通フレームワーク220の実行制御部221の実行により、図5(a)に示すように、実行指示データを受信すると(ST1)、受信した実行指示データがBGコード(バックグラウンド処理指示情報)を含むか否か(バックグラウンド処理の指示か否か)を判定し(ST2)、否の場合にはチェック処理を実行し(ST3)、業務処理プログラム210をリアルタイム処理により実行する(ST4)。
In the
一方、ステップST2の判定の結果、BGコードを含む場合、CPU270は、受信した実行指示データに含まれる機能ID及びボタンIDが、データベース装置100に記憶されたバックグラウンド対象データD2内の機能ID及びボタンIDに一致するか否か(バックグラウンド処理の対象処理か否か)を判定し、否の場合には前述同様にリアルタイム処理のステップST3,ST4を実行する。なお、ステップST2とST5とは、実行する順序を互いに入れ替えてもよく、このことは以下の各実施形態でも同様である。
On the other hand, if the result of the determination in step ST2 includes a BG code, the
また、ステップST5の判定の結果、バックグラウンド対象データD2内の機能ID及びボタンIDに一致した場合、CPU270は、業務処理プログラム210のチェック処理部211の実行により、実行指示データ内の実行データについてのチェック処理を実行する(ST6)。
If the result of determination in step ST5 matches the function ID and button ID in the background target data D2, the
しかる後、CPU270は、共通フレームワーク220のデータ保存処理部222の実行により、受信した実行指示データD1をデータベース装置100に保存し(ST7)、実行指示データD1を保存した旨をクライアント装置300に通知する(ST8)。
Thereafter, the
この通知の後、CPU270は、実行指示データD1−1のタイミングフラグに基づいて、バックグラウンド処理を即時実行又はバッチ処理により実行する。ここで、CPU270は、図5(b)に示すように、バックグラウンド処理実行部240の保存データ呼出し部241の実行により、データベース装置100から実行指示データD1に含まれる実行データを呼び出し(ST9)、業務処理プログラム210のデータ保持部に実行データ213を書き込む。
After this notification, the
また、CPU270は、バックグラウンド処理実行部240の実行制御部242の実行により、この呼び出されて書き込まれた実行データに基づいて、業務処理プログラム210の実行処理部212をバックグラウンド処理により実行する(ST10)。
Further, the
このように、ステップST4のリアルタイム処理と、ステップST10のバックグラウンド処理とを一つの業務処理プログラム210で実現することができる。
As described above, the real-time processing in step ST4 and the background processing in step ST10 can be realized by one
また、ステップST10において、CPU270は、例えば図4に示す如き、支給明細書データD4を実行結果として作成し、支給明細書データD4をクライアント装置300に送信する。クライアント装置300は、この支給明細書データD4を図示しないプリンタ等により出力する。
In step ST10, the
バックグラウンド処理の完了後、CPU270は、業務処理プログラム210の実行を終了する。
After completing the background process, the
上述したように本実施形態によれば、業務処理プログラム210をリアルタイム処理により実行する共通フレームワーク220の実行制御部221と、業務処理プログラム210をバックグラウンド処理により実行するバックグラウンド処理実行部240の実行制御部242とを備えた構成により、1つの業務処理プログラムをバックグラウンド処理及びリアルタイム処理で実行でき、プログラムの保守性及び生産性の低下を阻止することができる。
As described above, according to the present embodiment, the
すなわち、クライアントからの実行指示にあわせて、共通フレームワーク220によりリアルタイム処理の途中で業務の実行処理を横取りし、後続の処理を別プロセスのバックグラウンドで仮想的な動作環境上で動作させることにより、一つの業務処理プログラムで、バックグラウンド処理とリアルタイム処理の両方を実現することができる。
That is, according to the execution instruction from the client, the
これにより、各業務処理でオンライン処理とバックグラウンド処理を別々に作成する必要が無く、一つの業務処理プログラム210でバックグラウンド処理とリアルタイム処理を実現することにより、プログラムの生産性及び保守性を大幅に向上できる。また、ユーザが処理の実行条件等にあわせてフレキシブルにオンライン処理とバッチ処理を選択して利用することができる。
This eliminates the need to create online processing and background processing separately for each business process, and realizes background processing and real-time processing with a single
(第2の実施形態)
図7は本発明の第2の実施形態に係るWebアプリケーションシステムの構成を示す模式図であり、図1と同一部分には同一符号を付してその詳しい説明を省略し、ここでは異なる部分について主に述べる。なお、以下の各実施形態も同様にして重複した説明を省略する。
(Second Embodiment)
FIG. 7 is a schematic diagram showing the configuration of the Web application system according to the second embodiment of the present invention. The same parts as those in FIG. Mainly stated. In the following embodiments, the same description is omitted.
すなわち、本実施形態は、アプリケーションサーバ装置200からバックグラウンド処理実行部240を分離して別の装置に設けた例であり、具体的には図7に示すように、アプリケーションサーバ装置200からバックグラウンド処理実行部240を省略する一方、省略したバックグラウンド処理実行部240と同等のバックグラウンド処理実行部440のプログラムを記憶した記憶部450、HDD装置460及びCPU470を備えたバックグラウンド処理管理サーバ装置400を付加した構成となっている。
That is, this embodiment is an example in which the background
次に、以上のように構成されたWebアプリケーションシステムの動作を図8のフローチャート及び図9の模式図を参照しながら説明する。 Next, the operation of the Web application system configured as described above will be described with reference to the flowchart of FIG. 8 and the schematic diagram of FIG.
Webアプリケーションシステムにおいては、アプリケーションサーバ装置200が、前述同様にステップST1〜ST8を実行する。
In the Web application system, the
ステップST8の後、バックグラウンド処理管理サーバ装置400においては、CPU470が、保存データ呼出し部441の実行により、データベース装置100に保存された実行データを呼び出し(ST9’)、実行制御部442の実行により、アプリケーションサーバ装置200内の業務プログラム210を実行するようにCPU270を制御する(ST10’−1)。
After the step ST8, in the background processing
これにより、CPU270は、バックグラウンド処理により、業務プログラム210を実行する(ST10’−2)。
Thereby, the
上述したように本実施形態によれば、リアルタイム処理を実行するための共通フレームワーク220と、バックグラウンド処理を実行するためのバックグラウンド処理実行部400とを別々のサーバ装置200,400に配置した構成に変形しても、第1の実施形態と同様の効果を得ることができる。
As described above, according to the present embodiment, the
(第3の実施形態)
図10は本発明の第3の実施形態に係るWebアプリケーションシステムの構成を示す模式図である。
(Third embodiment)
FIG. 10 is a schematic diagram showing a configuration of a Web application system according to the third embodiment of the present invention.
本実施形態は、第1の実施形態の変形例であり、具体的には図10に示すように、バックグラウンド処理部240にスケジューリング処理部244を追加し、実行データに含まれる“支給年月”等の日付データを更新することにより、バックグラウンド処理を組み合わせて定期的なバッチ処理を実現可能とするものである。
This embodiment is a modification of the first embodiment. Specifically, as shown in FIG. 10, a
これに伴い、実行指示データD1は、図11及び図12に示すように、指示ID、項目ID及び区分からなる更新指示情報D1−3を含むものとなっている。指示IDは、前述同様のものである。項目IDは、実行データに含まれる実行時間条件を示すIDであり、ここでは支給年月という実行時間条件を示す項目IDが用いられている。区分は、バックグラウンド処理を定期的に実行する場合の実行周期情報である。この更新指示情報D1−3は、ここでは入力画面G2のチェックボックスg10により設定されるが、これに限らず、入力画面G2からラジオボタン等で択一的に入力されてもよい。 Accordingly, as shown in FIGS. 11 and 12, the execution instruction data D1 includes update instruction information D1-3 including an instruction ID, an item ID, and a category. The instruction ID is the same as described above. The item ID is an ID indicating an execution time condition included in the execution data, and here, an item ID indicating an execution time condition of supply date is used. The classification is execution cycle information when the background process is periodically executed. The update instruction information D1-3 is set here by a check box g10 on the input screen G2, but is not limited thereto, and may be alternatively input from the input screen G2 by a radio button or the like.
また、バックグラウンド対象データD2は、図11に示すように、前述した機能ID、ボタンID及び処理名称に加え、項目IDが互いに関連付けられたものとなっている。 In addition, as shown in FIG. 11, the background target data D2 includes item IDs associated with each other in addition to the above-described function ID, button ID, and process name.
ここで、スケジューリング処理部244は、データベース装置100内の実行データに含まれる実行時間条件を実行周期情報に基づいて定期的に更新する手段、更新した実行時間条件に基づいて、業務処理プログラム210をバックグラウンド処理により実行する手段、としてサーバ装置200を機能させるためのプログラムである。これに伴い、実行結果としての支給明細書データD4は、例えば図13に示すように、1ヶ月経過毎に支給年月が自動更新されながら作成される。
Here, the
次に、以上のように構成されたWebアプリケーションシステムの動作を図14のフローチャート及び図15の模式図を参照しながら説明する。 Next, the operation of the Web application system configured as described above will be described with reference to the flowchart of FIG. 14 and the schematic diagram of FIG.
アプリケーションサーバ装置200においては、CPU270の実行により、アプリケーションコンテナ230及び共通フレームワーク220が動作中であるとする。
In the
このとき、クライアント装置300は、利用者の操作により、アプリケーションサーバ装置200に接続し、図12に示したように、入力画面G2から業務処理プログラム210に対する実行指示データを作成し、この実行指示データをアプリケーションサーバ装置200に送信する。
At this time, the
Webアプリケーションシステムにおいては、アプリケーションサーバ装置200が、前述同様にステップST1〜ST8を実行する。
In the Web application system, the
ステップST8の後、アプリケーションサーバ装置200においては、CPU270が、スケジューリング処理部244の実行により、データベース装置100内の実行データに含まれる実行時間条件を実行周期情報に基づいて定期的に更新する(ST9−1)。
After step ST8, in the
また、CPU270は、保存データ呼出し部241の実行により、データベース装置100から実行指示データD1に含まれる実行データを呼び出し(ST9−2)、業務処理プログラム210のデータ保持部に実行データ213を書き込む。
In addition, the
しかる後、CPU270は、バックグラウンド処理実行部240の実行制御部242の実行により、この呼び出されて書き込まれた実行データの更新した実行時間条件に基づいて、業務処理プログラム210の実行処理部212をバックグラウンド処理により実行する(ST10)。
Thereafter, the
このステップST10において、CPU270は、前述同様に、支給明細書データD4を実行結果として作成し、クライアント装置300に送信する。クライアント装置300は、前述同様に、支給明細書データD4を図示しないプリンタ等により出力する。
In step ST <b> 10, the
バックグラウンド処理の完了後、CPU270は、バックグラウンドでステップST9−1、ST9−2及びST10の処理を繰り返し実行する。これに伴い、実行結果としての支給明細書データD4は、例えば図13に示すように、1ヶ月経過毎に支給年月が自動更新されながら作成され、クライアント装置300に送信される。
After completion of the background process, the
上述したように本実施形態によれば、第1の実施形態の効果に加え、スケジュール処理部244により、バックグラウンド処理を定期的に実行することができる。
As described above, according to the present embodiment, in addition to the effects of the first embodiment, the
(第4の実施形態)
図16は本発明の第4の実施形態に係るWebアプリケーションシステムの構成を示す模式図である。
(Fourth embodiment)
FIG. 16 is a schematic diagram showing a configuration of a Web application system according to the fourth embodiment of the present invention.
すなわち、本実施形態は、第3の実施形態に第2の実施形態を適用した例であり、具体的には図16に示すように、アプリケーションサーバ装置200からバックグラウンド処理実行部240を省略する一方、省略したバックグラウンド処理実行部240と同等のバックグラウンド処理実行部440のプログラムを記憶した記憶部450、HDD装置460及びCPU470を備えたバックグラウンド処理管理サーバ装置400を付加した構成となっている。
That is, this embodiment is an example in which the second embodiment is applied to the third embodiment, and specifically, the background
また、このバックグラウンド処理管理サーバ400は、保存データ呼出し部441、実行制御部442及び仮想コンテナ443に加え、前述したスケジューリング処理部244と同等のスケジューリング処理部444を備えている。
The background
次に、以上のように構成されたWebアプリケーションシステムの動作を図17のフローチャート及び図18の模式図を参照しながら説明する。 Next, the operation of the Web application system configured as described above will be described with reference to the flowchart of FIG. 17 and the schematic diagram of FIG.
Webアプリケーションシステムにおいては、アプリケーションサーバ装置200が、第3の実施形態と同様にステップST1〜ST8を実行する。
In the Web application system, the
ステップST8の後、バックグラウンド処理管理サーバ装置400においては、CPU470が、スケジューリング処理部444の実行により、データベース装置100内の実行データに含まれる実行時間条件を実行周期情報に基づいて定期的に更新する(ST9’−1)。
After step ST8, in the background processing
また、CPU470は、保存データ呼出し部441の実行により、データベース装置100から実行指示データD1に含まれる実行データを呼び出し(ST9’−2)、業務処理プログラム210のデータ保持部に実行データ213を書き込む。
Further, the
しかる後、CPU470は、実行制御部442の実行により、アプリケーションサーバ装置200内の業務プログラム210を実行するようにCPU270を制御する(ST10’−1)。
Thereafter, the
これにより、CPU270は、バックグラウンド処理により、業務プログラム210を実行する(ST10’−2)。
Thereby, the
バックグラウンド処理の完了後、CPU470,270は、バックグラウンドでステップST9−1、ST9−2及びST10の処理を繰り返し実行する。
After completion of the background process,
上述したように本実施形態によれば、スケジューリング処理部244を備えた第3の実施形態を、リアルタイム処理を実行するための共通フレームワーク220と、バックグラウンド処理を実行するためのバックグラウンド処理実行部400とを別々のサーバ装置200,400に配置した構成に変形しても、第3の実施形態と同様の効果を得ることができる。
As described above, according to the present embodiment, the third embodiment including the
なお、上記実施形態に記載した手法は、コンピュータに実行させることのできるプログラムとして、磁気ディスク(フロッピー(登録商標)ディスク、ハードディスクなど)、光ディスク(CD−ROM、DVDなど)、光磁気ディスク(MO)、半導体メモリなどの記憶媒体に格納して頒布することもできる。 Note that the method described in the above embodiment is a program that can be executed by a computer, such as a magnetic disk (floppy (registered trademark) disk, hard disk, etc.), an optical disk (CD-ROM, DVD, etc.), a magneto-optical disk (MO). ), And can be distributed in a storage medium such as a semiconductor memory.
また、この記憶媒体としては、プログラムを記憶でき、かつコンピュータが読み取り可能な記憶媒体であれば、その記憶形式は何れの形態であっても良い。 In addition, as long as the storage medium can store a program and can be read by a computer, the storage format may be any form.
また、記憶媒体からコンピュータにインストールされたプログラムの指示に基づきコンピュータ上で稼働しているOS(オペレーティングシステム)や、データベース管理ソフト、ネットワークソフト等のMW(ミドルウェア)等が上記実施形態を実現するための各処理の一部を実行しても良い。 In addition, an OS (operating system) operating on the computer based on an instruction of a program installed in the computer from the storage medium, MW (middleware) such as database management software, network software, and the like implement the above-described embodiment. A part of each process may be executed.
さらに、本発明における記憶媒体は、コンピュータと独立した媒体に限らず、LANやインターネット等により伝送されたプログラムをダウンロードして記憶または一時記憶した記憶媒体も含まれる。 Furthermore, the storage medium in the present invention is not limited to a medium independent of a computer, but also includes a storage medium in which a program transmitted via a LAN, the Internet, or the like is downloaded and stored or temporarily stored.
また、記憶媒体は1つに限らず、複数の媒体から上記実施形態における処理が実行される場合も本発明における記憶媒体に含まれ、媒体構成は何れの構成であっても良い。 Further, the number of storage media is not limited to one, and the case where the processing in the above embodiment is executed from a plurality of media is also included in the storage media in the present invention, and the media configuration may be any configuration.
尚、本発明におけるコンピュータは、記憶媒体に記憶されたプログラムに基づき、上記実施形態における各処理を実行するものであって、パソコン等の1つからなる装置、複数の装置がネットワーク接続されたシステム等の何れの構成であっても良い。 The computer according to the present invention executes each process in the above-described embodiment based on a program stored in a storage medium, and is a single device such as a personal computer or a system in which a plurality of devices are connected to a network. Any configuration may be used.
また、本発明におけるコンピュータとは、パソコンに限らず、情報処理機器に含まれる演算処理装置、マイコン等も含み、プログラムによって本発明の機能を実現することが可能な機器、装置を総称している。 In addition, the computer in the present invention is not limited to a personal computer, but includes an arithmetic processing device, a microcomputer, and the like included in an information processing device, and is a generic term for devices and devices that can realize the functions of the present invention by a program. .
なお、本願発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。更に、異なる実施形態に亘る構成要素を適宜組合せてもよい。 Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. Moreover, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, you may combine the component covering different embodiment suitably.
100…データベース装置、200…アプリケーションサーバ装置、210…業務処理プログラム、211…チェック処理部、212…実行処理部、213…実行データ、220…共通フレームワーク、221,242,442…実行制御部、222…データ保存処理部、230…アプリケーションプログラム、240,440…バックグラウンド処理実行部、241,441…保存データ呼出し部、243,443…仮想コンテナ、244,444…スケジューリング処理部、250,450…記憶部、260,460…HDD装置、270,470…CPU、300…クライアント装置、400…バックグラウンド処理管理サーバ装置、D1…実行指示データ、D1−1…実行機能指示情報、D1−2…実行条件指示情報、D1−3…更新指示情報、D2…バックグラウンド対象データ、D3…業務処理関連情報、D3−1…ユーザ個人情報、D3−2…勤務記録情報、D3−3…支給明細情報、D4…支給明細書データ、G1,G2…入力画面、g1,g10…チェックボックス、g2,g3…ラジオボタン、g4〜g6…ボタン、g7,g8…支給年月、g9…コメント。
DESCRIPTION OF
Claims (6)
前記データベース装置は、
前記アプリケーションサーバ装置によりバックグラウンド処理で実行される業務処理プログラムの各機能を示す機能ID及びこの機能IDに対応するボタンIDが互いに関連付けられて予め記憶されたバックグラウンド対象記憶手段と、
実行データ、機能ID、ボタンID及びバックグラウンド処理指示情報を含む第1実行指示情報を少なくとも記憶する実行指示情報記憶手段とを備えており、
前記アプリケーションサーバ装置は、
前記第1実行指示情報、又は実行データ、機能ID、ボタンID及びリアルタイム処理指示情報を含む第2実行指示情報のうちのいずれかの実行指示情報を受信すると、当該受信した実行指示情報がバックグラウンド処理指示情報を含むか否かを判定する第1判定手段と、
前記受信した実行指示情報に含まれる機能ID及びボタンIDが、前記バックグラウンド対象記憶手段内の機能ID及びボタンIDに一致するか否かを判定する第2判定手段と、
前記第1判定手段及び前記第2判定手段のうち、少なくとも一方の判定結果が否の場合には、前記受信した実行指示情報に基づいて、前記業務処理プログラムをリアルタイム処理により実行するリアルタイム実行手段と、
前記第1判定手段及び前記第2判定手段による判定結果が両者とも否でない場合には、前記受信した実行指示情報である第1実行指示情報を前記実行指示情報記憶手段に保存する手段と、
前記第1実行指示情報を保存した旨を当該第1実行指示情報の送信元に通知する手段と、
前記通知の後、バックグラウンド処理により、前記実行指示情報記憶手段から前記第1実行指示情報に含まれる実行データを呼び出す実行データ呼出し手段と、
前記呼び出した実行データに基づいて、前記業務処理プログラムをバックグラウンド処理により実行するバックグラウンド実行手段と、
を備えたことを特徴とするWebアプリケーションシステム。 A web application system comprising a database device and an application server device capable of reading / writing the database device,
The database device includes:
A function ID indicating each function of the business processing program executed in the background processing by the application server device and a background target storage means in which a button ID corresponding to the function ID is associated with each other and stored in advance;
Execution instruction information storage means for storing at least first execution instruction information including execution data, function ID, button ID, and background processing instruction information;
The application server device
When the execution instruction information is received from the first execution instruction information or the second execution instruction information including execution data, function ID, button ID, and real-time processing instruction information, the received execution instruction information is First determination means for determining whether or not processing instruction information is included;
Second determination means for determining whether or not the function ID and button ID included in the received execution instruction information match the function ID and button ID in the background target storage means;
Real-time execution means for executing the business process program by real-time processing based on the received execution instruction information when at least one of the first determination means and the second determination means is negative; ,
Means for storing the first execution instruction information, which is the received execution instruction information, in the execution instruction information storage means when both the determination results by the first determination means and the second determination means are negative;
Means for notifying the transmission source of the first execution instruction information that the first execution instruction information has been stored;
Execution data calling means for calling execution data included in the first execution instruction information from the execution instruction information storage means by background processing after the notification;
Based on the called execution data, background execution means for executing the business processing program by background processing;
A web application system comprising:
前記第1実行指示情報は、バックグラウンド処理を定期的に実行する場合の実行周期情報を含んでおり、
前記実行データは、バックグラウンド処理の実行時間条件を含んでおり、
前記バックグラウンド実行手段は、
前記実行指示情報記憶手段内の実行データに含まれる実行時間条件を前記実行周期情報に基づいて定期的に更新する手段と、
前記更新した実行時間条件に基づいて、前記業務処理プログラムをバックグラウンド処理により実行する手段と、
を備えたことを特徴とするWebアプリケーションシステム。 The web application system according to claim 1,
The first execution instruction information includes execution cycle information when the background process is periodically executed,
The execution data includes an execution time condition for background processing,
The background execution means includes
Means for periodically updating an execution time condition included in execution data in the execution instruction information storage means based on the execution cycle information;
Means for executing the business processing program by background processing based on the updated execution time condition;
A web application system comprising:
前記データベース装置を読出/書込可能なアプリケーションサーバ装置であって、
前記業務処理プログラムが記憶された業務処理プログラム記憶手段と、
前記第1実行指示情報、又は実行データ、機能ID、ボタンID及びリアルタイム処理指示情報を含む第2実行指示情報のうちのいずれかの実行指示情報を受信すると、当該受信した実行指示情報がバックグラウンド処理指示情報を含むか否かを判定する第1判定手段と、
前記受信した実行指示情報に含まれる機能ID及びボタンIDが、前記データベース装置内の機能ID及びボタンIDに一致するか否かを判定する第2判定手段と、
前記第1判定手段及び前記第2判定手段のうち、少なくとも一方の判定結果が否の場合には、前記受信した実行指示情報に基づいて、前記業務処理プログラムをリアルタイム処理により実行するリアルタイム実行手段と、
前記第1判定手段及び前記第2判定手段による判定結果が両者とも否でない場合には、前記受信した実行指示情報である第1実行指示情報を前記データベース装置に保存する手段と、
前記第1実行指示情報を保存した旨を当該第1実行指示情報の送信元に通知する手段と、
前記通知の後、バックグラウンド処理により、前記データベース装置から前記第1実行指示情報に含まれる実行データを呼び出す実行データ呼出し手段と、
前記呼び出した実行データに基づいて、前記業務処理プログラムをバックグラウンド処理により実行するバックグラウンド実行手段と、
を備えたことを特徴とするアプリケーションサーバ装置。 A function ID indicating each function of the business processing program executed in the background processing and a button ID corresponding to the function ID are stored in advance in association with each other, and the execution data, the function ID, the button ID, and the background processing are stored. For a database device that stores at least first execution instruction information including instruction information,
An application server device capable of reading / writing the database device,
Business processing program storage means storing the business processing program;
When the execution instruction information is received from the first execution instruction information or the second execution instruction information including execution data, function ID, button ID, and real-time processing instruction information, the received execution instruction information is First determination means for determining whether or not processing instruction information is included;
Second determination means for determining whether or not a function ID and a button ID included in the received execution instruction information match a function ID and a button ID in the database device;
Real-time execution means for executing the business process program by real-time processing based on the received execution instruction information when at least one of the first determination means and the second determination means is negative; ,
Means for storing, in the database device, first execution instruction information, which is the received execution instruction information, when both of the determination results by the first determination means and the second determination means are negative;
Means for notifying the transmission source of the first execution instruction information that the first execution instruction information has been stored;
After the notification, execution data calling means for calling execution data included in the first execution instruction information from the database device by background processing;
Based on the called execution data, background execution means for executing the business processing program by background processing;
An application server device comprising:
前記第1実行指示情報は、バックグラウンド処理を定期的に実行する場合の実行周期情報を含んでおり、
前記実行データは、バックグラウンド処理の実行時間条件を含んでおり、
前記バックグラウンド実行手段は、
前記データベース装置内の実行データに含まれる実行時間条件を前記実行周期情報に基づいて定期的に更新する手段と、
前記更新した実行時間条件に基づいて、前記業務処理プログラムをバックグラウンド処理により実行する手段と、
を備えたことを特徴とするアプリケーションサーバ装置。 In the application server apparatus according to claim 3,
The first execution instruction information includes execution cycle information when the background process is periodically executed,
The execution data includes an execution time condition for background processing,
The background execution means includes
Means for periodically updating an execution time condition included in execution data in the database device based on the execution cycle information;
Means for executing the business processing program by background processing based on the updated execution time condition;
An application server device comprising:
前記業務処理プログラムが記憶されたメモリを有し、前記データベース装置を読出/書込可能なアプリケーションサーバ装置に用いられるプログラムであって、
前記アプリケーションサーバ装置のコンピュータを、
前記第1実行指示情報、又は実行データ、機能ID、ボタンID及びリアルタイム処理指示情報を含む第2実行指示情報のうちのいずれかの実行指示情報を受信すると、当該受信した実行指示情報がバックグラウンド処理指示情報を含むか否かを判定する第1判定手段、
前記受信した実行指示情報に含まれる機能ID及びボタンIDが、前記バックグラウンド対象記憶手段内の機能ID及びボタンIDに一致するか否かを判定する第2判定手段、
前記第1判定手段及び前記第2判定手段のうち、少なくとも一方の判定結果が否の場合には、前記受信した実行指示情報に基づいて、前記業務処理プログラムをリアルタイム処理により実行するリアルタイム実行手段、
前記第1判定手段及び前記第2判定手段による判定結果が両者とも否でない場合には、前記受信した実行指示情報である第1実行指示情報を前記データベース装置に保存する手段、
前記第1実行指示情報を保存した旨を当該第1実行指示情報の送信元に通知する手段、
前記通知の後、バックグラウンド処理により、前記データベース装置から前記第1実行指示情報に含まれる実行データを呼び出す実行データ呼出し手段、
前記呼び出した実行データに基づいて、前記業務処理プログラムをバックグラウンド処理により実行するバックグラウンド実行手段、
として機能させるためのプログラム。 A function ID indicating each function of the business processing program executed in the background processing and a button ID corresponding to the function ID are stored in advance in association with each other, and the execution data, the function ID, the button ID, and the background processing are stored. For a database device that stores at least first execution instruction information including instruction information,
A program used in an application server device having a memory in which the business processing program is stored and capable of reading / writing the database device,
A computer of the application server device;
When the execution instruction information is received from the first execution instruction information or the second execution instruction information including execution data, function ID, button ID, and real-time processing instruction information, the received execution instruction information is First determination means for determining whether or not processing instruction information is included;
Second determination means for determining whether a function ID and a button ID included in the received execution instruction information match a function ID and a button ID in the background target storage means;
Real time execution means for executing the business process program by real time processing based on the received execution instruction information when at least one of the first determination means and the second determination means is negative,
Means for storing, in the database device, first execution instruction information, which is the received execution instruction information, when both the determination results by the first determination means and the second determination means are not negative,
Means for notifying the transmission source of the first execution instruction information that the first execution instruction information has been saved;
Execution data calling means for calling execution data included in the first execution instruction information from the database device by background processing after the notification;
Background execution means for executing the business processing program by background processing based on the called execution data;
Program to function as.
前記第1実行指示情報は、バックグラウンド処理を定期的に実行する場合の実行周期情報を含んでおり、
前記実行データは、バックグラウンド処理の実行時間条件を含んでおり、
前記バックグラウンド実行手段は、
前記データベース装置内の実行データに含まれる実行時間条件を前記実行周期情報に基づいて定期的に更新する手段、
前記更新した実行時間条件に基づいて、前記業務処理プログラムをバックグラウンド処理により実行する手段、
を含んでいるプログラム。 The program according to claim 5,
The first execution instruction information includes execution cycle information when the background process is periodically executed,
The execution data includes an execution time condition for background processing,
The background execution means includes
Means for periodically updating an execution time condition included in execution data in the database device based on the execution cycle information;
Means for executing the business processing program by background processing based on the updated execution time condition;
A program containing
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007121051A JP4585540B2 (en) | 2007-05-01 | 2007-05-01 | Web application system, apparatus and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007121051A JP4585540B2 (en) | 2007-05-01 | 2007-05-01 | Web application system, apparatus and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2008276614A JP2008276614A (en) | 2008-11-13 |
| JP4585540B2 true JP4585540B2 (en) | 2010-11-24 |
Family
ID=40054473
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007121051A Active JP4585540B2 (en) | 2007-05-01 | 2007-05-01 | Web application system, apparatus and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4585540B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6921544B2 (en) * | 2017-02-10 | 2021-08-18 | キヤノン株式会社 | Applications and information processing equipment |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006259928A (en) * | 2005-03-15 | 2006-09-28 | Nippon Telegr & Teleph Corp <Ntt> | Data collection device |
| EP1938193A4 (en) * | 2005-07-28 | 2010-08-04 | Oracle Int Corp | Revenue management system and method |
-
2007
- 2007-05-01 JP JP2007121051A patent/JP4585540B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2008276614A (en) | 2008-11-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8788416B1 (en) | Advance payment notice to financial institutions | |
| US9552229B2 (en) | Systems and methods for task scheduling | |
| US20080091774A1 (en) | Customer relationship management system and method | |
| US20070067373A1 (en) | Methods and apparatuses to provide mobile applications | |
| US9058596B2 (en) | Determining availability based on percentage available | |
| US20100241530A1 (en) | Interactive job chart | |
| US20080313536A1 (en) | Situation Sharing and Viewing | |
| US20150347969A1 (en) | Systems and methods for providing an online publishing platform | |
| CN114240322A (en) | Service processing method, device, storage medium and electronic equipment | |
| JP4585540B2 (en) | Web application system, apparatus and program | |
| US11461313B2 (en) | Systems and methods for automatically creating and/or managing electronic data tables | |
| US20150348111A1 (en) | Systems and methods for providing an online publishing platform | |
| US8732055B1 (en) | Method and system for performing a financial rewind | |
| JP7577442B2 (en) | Information processing device, program, and information processing method | |
| JP2014106746A (en) | Transfer management system, information processor, and transfer management method | |
| US20240152868A1 (en) | Systems and Methods for Automating the Creation of Collaborative Boards Based on Different Triggering Events | |
| JP7587379B2 (en) | Business report system, business report method, and business report program | |
| JP7080282B2 (en) | Server device, server device control method, and server device control program | |
| JP2024125556A (en) | Workflow management device and method | |
| Edmondson | Learning Google Analytics: Creating Business Impact and Driving Insights | |
| JP6746147B1 (en) | Event execution system, event execution method, and program | |
| JP2020144402A (en) | Influence range identification apparatus and influence range identification method | |
| JP4486595B2 (en) | Program for generating user-adaptive business application data, recording medium recording the program, user-adaptive business application data generation system and method | |
| JP7637183B2 (en) | DISPLAY CONTROL SYSTEM, DISPLAY CONTROL METHOD, AND PROGRAM | |
| JP7592679B2 (en) | Information processing device, processing method for information processing device, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20100810 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100903 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4585540 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130910 Year of fee payment: 3 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |