JP3671715B2 - Database session management method in WWW server client system and server client system using the same - Google Patents
Database session management method in WWW server client system and server client system using the same Download PDFInfo
- Publication number
- JP3671715B2 JP3671715B2 JP01993699A JP1993699A JP3671715B2 JP 3671715 B2 JP3671715 B2 JP 3671715B2 JP 01993699 A JP01993699 A JP 01993699A JP 1993699 A JP1993699 A JP 1993699A JP 3671715 B2 JP3671715 B2 JP 3671715B2
- Authority
- JP
- Japan
- Prior art keywords
- server
- client
- web browser
- frame
- session management
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000007726 management method Methods 0.000 title claims description 31
- 238000012545 processing Methods 0.000 claims description 35
- 230000003213 activating effect Effects 0.000 claims 1
- 238000000034 method Methods 0.000 description 28
- 230000008569 process Effects 0.000 description 19
- 230000007704 transition Effects 0.000 description 19
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 238000012423 maintenance Methods 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 4
- 238000010276 construction Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 2
- 235000014510 cooky Nutrition 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000001771 impaired effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、WWW(World Wide Web)を使用した業務システムに関し、特にWWWサーバ・クライアント・システムにおけるデータベース・セッション管理方法およびこれを用いるサーバ・クライアント・システムに関する。
【0002】
【従来の技術】
インターネット関連技術の普及に伴い、インターネット関連技術の1つであるWWWとデータベースとを連携して、クライアント端末のWebブラウザで業務処理を行うサーバ・クライアント・システム(WWWアプリケーションとも呼ばれる)の構築が盛んに行われている。
このWWWアプリケーションの仕組みは、ユーザがWebブラウザでWebページにアクセスすると、モジュール化,部品化されたコンポーネント・ソフトと呼ばれる様々なプログラムがダウンロードされ、Webブラウザの上で動作することにより、業務処理を実現する。また、Webサーバの上でコンポーネント・ソフトを動作させて、その処理結果をWebブラウザへ返すこともできる。このようにモジュール化,部品化されたコンポーネント・ソフトを使うことにより、Webページが1つのアプリケーション・システムとなる。
【0003】
また、WebサーバとWebブラウザがファイルなどの情報を送受するのに使用されるプロトコルHTTP(Hyper Text Transfer Protocol)では、1ページを読み出す毎に接続が切れるため、アプリケーションが複数ページで構成される場合には、一連のHTTPアクセスを連続したものと把握するための仕掛けが必要になる。これをセッション管理という。
このセッション管理の方法については、日経BP社発行の「日経オープンシステム」1998年6月号の特集記事(P.185〜187)に、以下の説明がある。
セッションを管理するためには、ユーザの状態遷移を把握する仕組みが不可欠である。その状態遷移を把握する仕組みは主に2つに区別できる。クライアント側に状態遷移を持たせる方法と、サーバ側で状態遷移を管理する方法である。実際には単独で利用することは少なく、組合わせて利用することが多い。
【0004】
クライアント側に状態遷移を持たせる方法は3つある。
(1).URL(Uniform Resource Locator)に埋め込む。
(2).フォーム中のHiddenフィールドに埋め込む。
(3).Cookieを利用する。
いずれの方法でもクライアントが持てる情報量に限度があることを考慮しなければならない。
(1)の場合には、URL長に制限があり、255文字までとなる。
(2)の場合は、Hiddenフィールドが増えた場合に、ブラウザ側のメモリが足りなくなる恐れがある。
(3)の場合は、Cookie自体に保存できる情報に制限がある。
これらクライアント側の仕組みだけを利用しても絞り込み検索のようなアプリケーションを作成できるが、タイムアウトの処理が必要なアプリケーションは作成できない。そのため、クライアント側にはユーザを識別するIDだけを持たせて、サーバ側で状態遷移を管理するロジックを作ることが多い。
【0005】
サーバ側で状態遷移を管理する方法も3つある。
(1).状態遷移を管理するプロセスを常駐させる。
(2).状態遷移をデータベースに保存する。
(3).状態遷移をファイルに保存する。
それぞれの違いは、処理速度と管理方法にある。
(1)は、状態遷移を管理するプロセスがメモリに常駐しているので処理速度は速いが、大量のアクセスが見込まれるサイトには向かない。ユーザが最後の処理まですることを前提にメモリを確保しておく必要が有り、ユーザが処理を実行するしないに係わらず、メモリを消費することになる。同時に、ユーザ用に確保した確保したメモリはタイムアウトの処理をするまで無駄になってしまう。数多くの画面をまたがるアプリケーションや、1日に何万件もアクセスがあるようなサイトには向かない。
【0006】
(2)は、アクセスのたびにCGIプログラムを起動する、データベース接続の処理があるという点で▲1▼に比べて処理速度は遅くなる。ただし、状態遷移をデータベースで管理できるので、多数の画面にまたがる画面をまたがるアプリケーションや、大量のアクセスがあるサイトに向く。
(3)は、(2)と同様、アクセスのたびにCGIプログラムを起動する。ファイル・アクセスのオーバヘッドがあるという点で、(1)より処理速度は遅くなる。多くの画面をまたがるようなアプリケーションの場合は、ファイルの管理も煩雑になる。ただし、データベースを使わなくて済む、アプリケーションの作成が簡単という点で小規模利用に向く。
また、データベースへのアクセス処理が必要なWWWアプリケーションを構築するとき、上記記事のWebサーバとのセッション管理とは別に、データベース・サーバとのセッション管理も必要となる。
【0007】
一般的に、データベース・サーバとの接続機能を有するコンポーネント・ソフトを作成する場合は、その中にデータベース接続用のコンポーネント化された機能モジュールを含む形で作成する。この方法では、各業務コンポーネント・ソフトは、それぞれ独自にデータベースとのセッションを構築するため、Webブラウザ上にコンポーネント・ソフトがダウンロードされたときに、データベースに対する接続を行い、データベースに対する問い合わせ,更新等のアクセス処理を行う。そして、処理が終了し、別画面に遷移するとき(Webブラウザからのアンロードを契機)に、データベースからの切断処理を行う。
【0008】
【発明が解決しようとする課題】
前述のような、WebサーバからWebブラウザにダウンロードされ、データベース・サーバへのアクセス処理を行うWWWアプリケーションにおいて、各業務処理毎にモジュール分割してコンポーネント・ソフトを構築する方法では、モジュール分割されたことによりコンポーネント・ソフトのダウンロード時間は短縮されるものの、各コンポーネント・ソフトそれぞれがデータベースとのセッション接続、維持、切断の各処理を行うため、データベースとのセッション接続,切断のための時間が増加し、結果として、画面表示までの時間がかかり、ユーザとの操作性を損なってしまう。
以下、具体例により、この問題を詳細に説明する。
【0009】
図7〜図8に、WWWアプリケーションにおいて、受注入力プログラムで受注データを登録した後、受注問合せプログラムで先に登録したデータを参照し、発注データを登録する業務を行う場合を示している。なお、図中、1はWWWサーバ、2はクライアント・パソコン、3はデータベース・サーバ(DBサーバ)を示している。
まず、図6に示すように、WWWサーバから受注入力のプログラム(PG)をダウンロードする(▲1▼’)。ダウンロードされたプログラム(受注入力PG)が、DBサーバへ回線接続する(▲2▼’)。この接続回線を、仮に、“セッション1”と名付ける。ダウンロードされた受注入力PGが、DBサーバの受注データに対して更新等の処理を行う(▲3▼’)。この場合、PG中では、“セッション1”の接続回線を使用してDBサーバへアクセスするようにしておくことが必要である。
【0010】
次に、図7に示すように、WWWサーバから受注問合せのPGをダウンロードする(▲4▼’)。この時点で、受注入力PGは破棄される。ダウンロードされたプログラム(受注問合せPG)が、DBサーバへ回線接続する(▲5▼’)。この接続回線を、仮に、“セッション2”と名付ける。ダウンロードされた受注問合せPGが、DBサーバの受注データに対して問合せを行う(▲6▼’)。この場合は、PG中では、“セッション2”の接続回線を使用してDBサーバへアクセスするようにしておくことが必要である。何故ならば、セッション1の名前でDBサーバへアクセスしようとしても、セッション1を管理している受注入力PGが破棄されているため、利用することができないからである。
【0011】
次に、図8に示すように、WWWサーバから発注入力のPGをダウンロードする(▲7▼’)。この時点で、受注問合せPGは破棄される。ダウンロードされたプログラム(発注入力PG)が、DBサーバへ回線接続する(▲8▼’)。この接続回線を、仮に、“セッション3”と名付ける。ダウンロードされた発注入力PGが、DBサーバの発注データに対して更新等の処理を行う(▲9▼’)。この場合も、PG中では、“セッション3”の接続回線を使用してDBサーバへアクセスするようにしておくことが必要である。何故ならば、セッション1の名前でDBサーバへアクセスしようとしても、セッション1を管理している受注入力PGが破棄されているため利用することはできず、受注問合せPGも破棄されているため、セッション2の名前も利用できないからである。
【0012】
上述のように、モジュール分割することによりコンポーネント・ソフトのダウンロード時間は短縮されるものの、各コンポーネント・ソフトそれぞれがデータベースとのセッション接続、維持、切断の各処理を行うため、データベースとのセッション接続,切断のための時間が増加し、結果として、画面表示までの時間がかかり、ユーザとの操作性を損なってしまう。
本発明の目的は、従来の技術における上述のような問題を解消し、WWWアプリケーションにおいてWebブラウザでの業務処理画面の切換表示をスピーディに行うことが可能な、WWWサーバ・クライアント・システムにおけるデータベース・セッション管理方法およびこれを用いるサーバ・クライアント・システムを提供することにある。
【0013】
【課題を解決するための手段】
上記目的を達成するため、本発明に係るセッション管理方法においては、WWWサーバからクライアントに、データベース・サーバとの間のセッション管理を行うセッション管理プログラムをダウンロードし、該クライアントから前記データベース・サーバに、前記セッション管理プログラムにより回線接続を行った後、前記WWWサーバから前記クライアントに各種機能プログラムをダウンロードし、該各種機能プログラムが前記クライアントから前記接続回線を継続的に用いて、前記データベース・サーバ中の前記各種機能プログラムに対応するデータにアクセスすることを特徴とする。
【0014】
また、本発明に係るセッション管理方法を用いるサーバ・クライアント・システムにおいては、Webサーバとデータベース・サーバ,クライアントから構成されるサーバ・クライアント・システムにおいて、前記Webサーバから前記クライアントにセッション管理を行うコンポーネント・ソフトAをダウンロードする手段と、前記クライアントから前記データベース・サーバに前記コンポーネント・ソフトAにより回線接続を行う手段と、前記Webサーバから前記クライアントに各種業務機能毎にモジュール化された業務処理コンポーネント・ソフト群Bをダウンロードする手段と、該業務処理コンポーネント・ソフト群Bが前記クライアントから前記データベース・サーバ中の前記業務処理コンポーネント・ソフト群Bに対応するデータにアクセスする際に、前記クライアントからの接続回線を継続的に用いてアクセスさせる手段を有することを特徴とする。
【0015】
さらに、本発明に係るサーバ・クライアント・システムにおいては、前記クライアント上のWebブラウザの表示画面を2つのフレームに分割し、一方のフレームは非表示としてデータベース・サーバとのセッション管理を行うコンポーネント・ソフトAが使用し、他方のフレームは複数の業務処理コンポーネント・ソフト群Bの業務処理画面を表示するようにしたことを特徴とする。
すなわち、本発明に係るセッション管理方法においては、データベース・サーバとのセッションを常に維持し、問い合わせ,更新等のサービスのみを行うコンポーネント・ソフトを作成し、そのハンドルを複数の業務処理コンポーネント・ソフトから共用するようにしたものである。
【0016】
すなわち、従来の方法を用いる場合には、各プログラムがダウンロードされるときに、個別にDBサーバへの接続を確立しなければならない。ここで、図6中の▲4▼’で受注問合せPGがダウンロードされるときに前の画面(受注入力PG)が破棄されないようにすると、同▲6▼’の処理で“セッション1”の名前(ハンドル)を指定することで正しい接続を認識し、DBのデータにアクセス可能になる。ただし、前の画面が破棄されないということは、画面の表示が変わらないということであり、行う業務により画面を切り換えていく上で不都合となる。そこで、本発明では、予め画面の表示を2分割し、業務画面はその内の半分の画面を使用するようにし、残りの半分にDBサーバとのセッション管理用PGを配置したものである。
【0017】
OS(Windowsなど)では全てのアプリケーション、サービス等が起動されると、それらを識別するため常にユニークになるような番号が自動で割り当てられる。この番号を用いる(共有する)ことで、他のアプリケーション間での通信を行い、機能の利用,値の参照等のサービスを受けることができる。この番号は、ハンドルとも呼ばれ、本説明中のハンドル及びその共有も同義を意図する。
本発明においては、データベース・サーバとのセッションを維持するコンポーネント・ソフトを作成し、Webブラウザで動作する販売管理システムの起動から終了までそのハンドルを使用しつづけることができるように、Webブラウザで表示される画面を、例えばHTMLのFRAMESETタグを用いて上下2つのフレームに分割し、一方のフレームにデータベース・サーバとのセッションを有するコンポーネント・ソフトを、もう一方のフレームには販売管理システムの業務処理を行う各コンポーネント・ソフトを配置した。
【0018】
この場合、上記販売管理システム中で画面の切替(Webブラウザ上でのURL遷移)が発生するのは、業務処理用コンポーネント・ソフトを配置したフレーム側だけである。従って、もう一方のフレーム中に配置したコンポーネント・ソフト(データベース・サーバとのセッション維持用)は、Webブラウザが終了されるまでセッションを維持し続けるため、業務処理用コンポーネント・ソフトからは、そのハンドルを共用することでデータベース・サーバとのセッション管理ステップを削減し、画面遷移時の時間短縮を実現することが可能になる。
【0019】
【発明の実施の形態】
以下、本発明の実施の形態を、図面に示す好適実施例に基づいて、詳細に説明する。
図1〜図4は、本発明の一実施例に係るもので、先に従来技術の問題点を説明する際にも用いた、WWWアプリケーションにおいて、受注入力プログラムで受注データを登録した後、受注問合せプログラムで先に登録したデータを参照し、発注データを登録する業務を行う例を示している。なお、図中、1はWWWサーバ、2はクライアント・パソコン、3はDBサーバを示している。
図6〜図8に示した従来技術と異なる点は、従来技術では、DBサーバへの接続を共用していないのに対し、本実施例に係る技術では、DBサーバへの接続を共用している点にある。
【0020】
以下、実施例の動作を説明する。
まず、図1に示すように、WWWサーバから画面の半分(例えば、上半分)に、DBサーバとのセッション管理PGをダウンロードし(▲1▼)、ダウンロードされたプログラム(セッション管理PG)が、DBサーバへ回線接続する(▲2▼)。この接続回線を、仮に、“セッション0”と名付ける。
次に、図2に示すように、WWWサーバから画面の半分(例えば、下半分)に、受注入力のPGをダウンロードする(▲3▼)。ダウンロードされたプログラム(受注入力PG)が、DBサーバの受注データに対して更新等の処理を行う(▲4▼)。この場合、PG中では、“セッション0”の接続回線を使用してDBサーバへアクセスするようにしておく。
【0021】
同様に、図3に示すように、WWWサーバから画面の半分(例えば、下半分)に、受注問合せのPGをダウンロードする(▲5▼)。この時点で、受注入力PGは破棄される。ダウンロードされたプログラム(受注問合せPG)が、DBサーバの受注データに対して問合せを行う(▲6▼)。この場合、PG中では、“セッション0”の接続回線を使用してDBサーバへアクセスするようにしておく。
さらに、図4に示すように、WWWサーバから画面の半分(例えば、下半分)に、発注入力のPGをダウンロードする(▲7▼)。この時点で、受注問合せPGは破棄される。ダウンロードされたプログラム(発注入力PG)が、DBサーバの発注データに対して更新等の処理を行う(▲8▼)。この場合、PG中では、“セッション0”の接続回線を使用してDBサーバへアクセスするようにしておく。
【0022】
図5は、上記実施例に係るWebブラウザの表示画面のより具体的な例を示すものであり、図5におけるWebブラウザの表示画面は、販売管理業務システムの表示画面を示している。
Webブラウザに表示される画面をHTMLのFRAMESETタグを用いて上下2つのフレーム(FRAME1とFRAME2)に分割し、FRAME1にはDBサーバとのセッション管理を行うコンポーネント・ソフトを、他方のFRAME2には販売管理システムの各業務処理(メインメニュー画面処理とそのメインメニュー画面から選択・起動する、例えば、「受注」,「発注」,「仕入」などの各業務処理)に対応したコンポーネント・ソフトを配置する。ただし、DBサーバとのセッション管理を行うコンポーネント・ソフト自体には、画面表示は不要なので、フレーム定義においてフレームサイズ(高さ)を0にして非表示と設定し、Webブラウザで表示される画面領域全体を販売管理業務システムの各業務コンポーネント・ソフトの表示に使用するようにしている。
【0023】
Webブラウザから販売管理業務システムを起動すると、まず、DBサーバとのセッション維持対応のコンポーネント・ソフト(オブジェクト1)とメインメニュー画面対応のコンポーネント・ソフト(オブジェクト2)とがWebサーバからダウンロードされ、それぞれ起動される。このとき、オブジェクト1によりDBサーバとのセッション接続処理が行われ、画面にはメインメニュー画面が表示される。DBサーバとのセッション維持対応のコンポーネント・ソフト用のフレームは非表示と定義されているため、ユーザに表示される画面はメインメニュー画面のみとなる。
【0024】
このメインメニュー画面からユーザの処理選択指示があると、メインメニュー画面対応のコンポーネント・ソフトがアンロードされ、選択された処理、例えば「受注入力」処理のコンポーネント・ソフトがダウンロードされて、画面切替(Webブラウザ上でのURL遷移)が発生し、「受注入力」処理の業務処理画面が表示される。このとき、もう一方のフレーム中に配置したコンポーネント・ソフト(DBサーバとのセッション維持用)はWebブラウザが終了されるまでセッションを維持し続けるため、各業務処理用コンポーネント・ソフトからは、そのハンドルを共用することでDBサーバとのアクセス処理が可能となり、「受注入力」処理のコンポーネント・ソフトがダウンロードされ、画面切替(Webブラウザ上でのURL遷移)が発生しても、DBサーバとのセッション切断,再接続の処理は実行されないため、画面遷移時の時間短縮が実現できる。
【0025】
以上、具体例を含めて詳細に説明したとおり、上記実施例によれば、Webブラウザ上でDB接続を維持しているコンポーネント・ソフトの利用により画面遷移時の待ち時間短縮を実現し、ユーザの操作性の向上とセッション構築に係るサーバの負荷の削減が図れ、WWWアプリケーションにおいてWebブラウザでの業務処理画面の切換表示をスピーディに行うことが可能な、WWWサーバ・クライアント・システムにおけるデータベース・セッション管理方法およびこれを用いるサーバ・クライアント・システムを実現することができる。
【0026】
なお、上述のモジュール化,部品化されたコンポーネント・ソフト技術の代表的なものとしては、例えば、米マイクロソフト社が開発したActive Xコントロールを挙げることができる。
また、上記実施例は本発明の一例を示したものであり、本発明はこれに限定されるべきものではないことは言うまでもないことである。
【0027】
【発明の効果】
以上、詳細に説明したように、本発明によれば、WWWアプリケーションにおいてWebブラウザでの業務処理画面の切換表示をスピーディに行うことが可能な、WWWサーバ・クライアント・システムにおけるデータベース・セッション管理方法およびこれを用いるサーバ・クライアント・システムを実現できるという顕著な効果を奏する。
【図面の簡単な説明】
【図1】本発明の一実施例に係る、WWWアプリケーションにおける動作説明図(その1)である。
【図2】本発明の一実施例に係る、WWWアプリケーションにおける動作説明図(その2)である。
【図3】本発明の一実施例に係る、WWWアプリケーションにおける動作説明図(その3)である。
【図4】本発明の一実施例に係る、WWWアプリケーションにおける動作説明図(その4)である。
【図5】本実施例に係る販売管理業務システムのフレーム構成例を示す図である。
【図6】従来のWWWアプリケーションにおける動作説明図(その1)である。
【図7】従来のWWWアプリケーションにおける動作説明図(その2)である。
【図8】従来のWWWアプリケーションにおける動作説明図(その3)である。
【符号の説明】
1 WWWサーバ
2 クライアント・パソコン
3 DBサーバ
▲1▼,▲3▼,▲5▼,▲7▼ WWWサーバからのPGダウンロード
▲2▼ DBサーバへの回線接続
▲4▼,▲6▼,▲8▼ DBへのアクセス[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a business system using WWW (World Wide Web), and more particularly to a database session management method in a WWW server / client system and a server / client system using the same.
[0002]
[Prior art]
With the spread of Internet-related technologies, the construction of a server-client system (also called a WWW application) that performs business processing with a Web browser on a client terminal by linking WWW, which is one of Internet-related technologies, and a database is popular. Has been done.
The mechanism of this WWW application is that when a user accesses a Web page with a Web browser, various programs called modularized component software are downloaded and run on the Web browser to perform business processing. Realize. It is also possible to operate the component software on the web server and return the processing result to the web browser. By using modularized and componentized component software in this way, the Web page becomes one application system.
[0003]
In addition, in the protocol HTTP (Hyper Text Transfer Protocol) used for sending and receiving information such as files between the web server and web browser, the connection is lost each time one page is read, so the application consists of multiple pages. Requires a device for grasping a series of HTTP accesses as being continuous. This is called session management.
This session management method is described in the special article (P.185-187) of the June 1998 issue of “Nikkei Open System” published by Nikkei BP.
In order to manage the session, a mechanism for grasping the state transition of the user is indispensable. There are two main mechanisms for grasping the state transition. There are a method for providing state transition on the client side and a method for managing state transition on the server side. Actually, it is rarely used alone and often used in combination.
[0004]
There are three methods for providing state transition on the client side.
(1). Embed in URL (Uniform Resource Locator).
(2). Embed in the Hidden field in the form.
(3). Use Cookie.
Either way, you must consider that there is a limit to the amount of information a client can have.
In the case of (1), the URL length is limited and is limited to 255 characters.
In the case of (2), when the Hidden field increases, there is a possibility that the memory on the browser side becomes insufficient.
In the case of (3), there is a limit to the information that can be stored in Cookie itself.
Even using only these client-side mechanisms, an application such as a refined search can be created, but an application that requires timeout processing cannot be created. For this reason, in many cases, the client side has only an ID for identifying the user, and the server side creates logic for managing the state transition.
[0005]
There are also three methods for managing state transitions on the server side.
(1). Make the process that manages the state transition resident.
(2). Save state transitions to the database.
(3). Save state transitions to a file.
Each difference is in processing speed and management method.
The process (1) has a high processing speed because the process for managing the state transition is resident in the memory, but is not suitable for a site where a large amount of access is expected. It is necessary to secure a memory on the assumption that the user performs the last process, and the memory is consumed regardless of whether the user executes the process. At the same time, the reserved memory reserved for the user is wasted until timeout processing is performed. Not suitable for applications that span many screens or sites that have tens of thousands of accesses per day.
[0006]
The processing speed of (2) is slower than (1) in that there is a database connection process that starts the CGI program each time it is accessed. However, since state transitions can be managed in a database, it is suitable for applications that span multiple screens and for sites that have a large amount of access.
(3) activates the CGI program each time it is accessed, as in (2). The processing speed is slower than (1) in that there is a file access overhead. For applications that span many screens, file management becomes complicated. However, it is suitable for small-scale use because it does not require a database and it is easy to create an application.
In addition, when building a WWW application that requires database access processing, session management with the database server is required in addition to session management with the Web server of the article.
[0007]
In general, when creating component software having a connection function with a database server, the component software is created in a form including a componentized function module for database connection. In this method, each business component software builds its own session with the database, so when the component software is downloaded on the web browser, it connects to the database, and queries, updates, etc. to the database Perform access processing. Then, when the process ends and transitions to another screen (when unloading from the web browser is triggered), disconnection processing from the database is performed.
[0008]
[Problems to be solved by the invention]
In the WWW application that is downloaded from the web server to the web browser and performs the access processing to the database server as described above, the method of building the component software by dividing the module for each business process is divided into modules. Although the download time of the component software is shortened by this, each component software performs the session connection, maintenance, and disconnection processing with the database, so the time for session connection and disconnection with the database increases. As a result, it takes time to display the screen, and the operability with the user is impaired.
Hereinafter, this problem will be described in detail with reference to specific examples.
[0009]
FIGS. 7 to 8 show a case in which, in the WWW application, the order data is registered by the order entry program, and then the order registration data is registered by referring to the data previously registered by the order inquiry program. In the figure, 1 is a WWW server, 2 is a client personal computer, and 3 is a database server (DB server).
First, as shown in FIG. 6, an order entry program (PG) is downloaded from the WWW server ((1) '). The downloaded program (order input PG) connects to the DB server via a line ((2) '). This connection line is temporarily named “
[0010]
Next, as shown in FIG. 7, the PG of the order inquiry is downloaded from the WWW server (4). At this point, the order entry PG is discarded. The downloaded program (order inquiry PG) is connected to the DB server via a line ((5) '). This connection line is temporarily named “
[0011]
Next, as shown in FIG. 8, the order input PG is downloaded from the WWW server ((7) '). At this point, the order inquiry PG is discarded. The downloaded program (order input PG) is connected to the DB server via a line ((8) '). This connection line is temporarily named “
[0012]
As mentioned above, although the module software download time is shortened by dividing the module, each component software performs session connection, maintenance, and disconnection processing with the database. The time for cutting increases, and as a result, it takes time to display the screen and the operability with the user is impaired.
An object of the present invention is to solve the above-mentioned problems in the prior art, and to quickly display a business processing screen on a Web browser in a WWW application, in a WWW server / client system. To provide a session management method and a server / client system using the same.
[0013]
[Means for Solving the Problems]
In order to achieve the above object, in the session management method according to the present invention, a session management program for managing a session with a database server is downloaded from a WWW server to a client, and the database server receives the session management program from the client. After the line connection is made by the session management program, various function programs are downloaded from the WWW server to the client, and the various function programs continuously use the connection line from the client, in the database server. Access to data corresponding to the various function programs is provided.
[0014]
Further, in the server / client system using the session management method according to the present invention, in the server / client system including the web server, the database server, and the client, the component that performs session management from the web server to the client. Means for downloading software A; means for connecting a line from the client to the database server by the component software A; and business processing components modularized for each business function from the web server to the client; Means for downloading the software group B and the business processing component / software group B from the client to the data corresponding to the business processing component / software group B in the database server; When Seth, characterized by having a means for access by using continuously the connection line from the client.
[0015]
Furthermore, in the server / client system according to the present invention, the component software that divides the display screen of the web browser on the client into two frames, and manages the session with the database server without displaying one frame. A is used, and the other frame displays a business processing screen of a plurality of business processing components / software group B.
That is, in the session management method according to the present invention, component software that always maintains a session with the database server and performs only services such as inquiry and update is created, and the handle is obtained from a plurality of business processing component software. It is designed to be shared.
[0016]
That is, when using the conventional method, when each program is downloaded, a connection to the DB server must be individually established. Here, if the previous screen (order input PG) is not discarded when the order inquiry PG is downloaded in (4) 'in FIG. 6, the name of "
[0017]
In an OS (Windows or the like), when all applications, services, and the like are activated, numbers that are always unique are automatically assigned to identify them. By using (sharing) this number, communication between other applications can be performed, and services such as use of functions and reference of values can be received. This number is also referred to as a handle, and the handles and their sharing in this description are intended to be synonymous.
In the present invention, component software that maintains a session with the database server is created and displayed on the Web browser so that the handle can be used from the start to the end of the sales management system that operates on the Web browser. For example, using an HTML FRAMESET tag to divide the screen into two upper and lower frames, component software having a session with the database server in one frame, and business processing of the sales management system in the other frame Each component software to perform is arranged.
[0018]
In this case, screen switching (URL transition on the web browser) occurs in the sales management system only on the frame side where the business processing component software is arranged. Therefore, the component software (for maintaining the session with the database server) placed in the other frame maintains the session until the Web browser is terminated. By sharing, session management steps with the database server can be reduced, and the time required for screen transition can be reduced.
[0019]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail based on preferred examples shown in the drawings.
FIGS. 1 to 4 relate to an embodiment of the present invention. In the WWW application, which was also used for explaining the problems of the prior art, after the order data is registered by the order input program, the order is received. An example is shown in which a task for registering ordering data is performed by referring to data registered in advance by an inquiry program. In the figure, 1 indicates a WWW server, 2 indicates a client personal computer, and 3 indicates a DB server.
6 to 8 is different from the prior art shown in FIGS. 6 to 8, the conventional technique does not share the connection to the DB server, whereas the technique according to the present embodiment shares the connection to the DB server. There is in point.
[0020]
The operation of the embodiment will be described below.
First, as shown in FIG. 1, the session management PG with the DB server is downloaded to the half of the screen (for example, the upper half) from the WWW server ((1)), and the downloaded program (session management PG) is Connect the line to the DB server ((2)). This connection line is temporarily named “Session 0”.
Next, as shown in FIG. 2, the order entry PG is downloaded from the WWW server to half of the screen (for example, the lower half) ((3)). The downloaded program (order input PG) performs processing such as updating the order data of the DB server ((4)). In this case, in the PG, the DB server is accessed using the connection line of “Session 0”.
[0021]
Similarly, as shown in FIG. 3, the order inquiry PG is downloaded to the half of the screen (for example, the lower half) from the WWW server ((5)). At this point, the order entry PG is discarded. The downloaded program (order inquiry PG) inquires about the order data of the DB server ((6)). In this case, in the PG, the DB server is accessed using the connection line of “Session 0”.
Furthermore, as shown in FIG. 4, the order entry PG is downloaded from the WWW server to half of the screen (for example, the lower half) (7). At this point, the order inquiry PG is discarded. The downloaded program (order input PG) performs processing such as updating the order data of the DB server ((8)). In this case, in the PG, the DB server is accessed using the connection line of “Session 0”.
[0022]
FIG. 5 shows a more specific example of the display screen of the web browser according to the embodiment, and the display screen of the web browser in FIG. 5 shows the display screen of the sales management business system.
The screen displayed on the Web browser is divided into two upper and lower frames (FRAME1 and FRAME2) using the HTML FRAMESET tag, and the component software that manages the session with the DB server is sold to FRAME1, and the other FRAME2 is sold. Component software corresponding to each business process of the management system (main menu screen process and each business process selected from the main menu screen, such as "order", "order", "purchase") is placed To do. However, since the component software itself that manages the session with the DB server does not require screen display, the frame size (height) is set to 0 in the frame definition, and the screen is displayed in the web browser. The entire system is used for displaying each business component software of the sales management business system.
[0023]
When the sales management business system is started from the web browser, first, the component software (object 1) corresponding to the session maintenance with the DB server and the component software (object 2) corresponding to the main menu screen are downloaded from the web server. It is activated. At this time, session connection processing with the DB server is performed by the
[0024]
When there is a user process selection instruction from the main menu screen, the component software corresponding to the main menu screen is unloaded, the selected process, for example, the component software for the “order input” process is downloaded, and the screen switching ( URL transition on the web browser) occurs, and the business process screen of the “order input” process is displayed. At this time, the component software (for maintaining the session with the DB server) placed in the other frame keeps the session until the Web browser is terminated. Can be accessed with the DB server, and even if the component software for the "order entry" process is downloaded and a screen switch (URL transition on the Web browser) occurs, the session with the DB server Since the disconnection and reconnection processes are not executed, the time required for screen transition can be reduced.
[0025]
As described above in detail including specific examples, according to the above-described embodiment, the use of component software that maintains a DB connection on a Web browser can reduce waiting time at the time of screen transition, Database session management in a WWW server client system that can improve the operability and reduce the load on the server related to session construction, and can quickly switch the display of business processing screens in a Web browser in a WWW application A method and a server client system using the method can be realized.
[0026]
A typical example of the modularized and componentized component software technology is Active X control developed by Microsoft Corporation.
Moreover, the said Example shows an example of this invention, and it cannot be overemphasized that this invention should not be limited to this.
[0027]
【The invention's effect】
As described above in detail, according to the present invention, in the WWW application, the database session management method in the WWW server / client system capable of speedily performing the switching display of the business processing screen in the Web browser, and There is a remarkable effect that a server-client system using this can be realized.
[Brief description of the drawings]
FIG. 1 is an operation explanatory diagram (part 1) in a WWW application according to an embodiment of the present invention;
FIG. 2 is an operation explanatory diagram (part 2) in a WWW application according to an embodiment of the present invention;
FIG. 3 is an operation explanatory diagram (part 3) in the WWW application according to an embodiment of the present invention;
FIG. 4 is an operation explanatory diagram (4) in the WWW application according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a frame configuration example of a sales management business system according to the present embodiment.
FIG. 6 is an operation explanatory diagram (part 1) in a conventional WWW application.
FIG. 7 is an operation explanatory diagram (part 2) in a conventional WWW application.
FIG. 8 is an operation explanatory diagram (part 3) in a conventional WWW application.
[Explanation of symbols]
1
Claims (3)
WWWサーバから前記クライアントに前記Webブラウザにより、該Webブラウザの第1のフレームで動作して前記データベース・サーバとの間のセッション管理を行うセッション管理プログラムをダウンロードし、
前記Webブラウザの第1のフレームで前記セッション管理プログラムを起動し、該クライアントから前記データベース・サーバに、前記セッション管理プログラムにより回線接続を行った後、
前記WWWサーバから前記クライアントに前記Webブラウザにより、該Webブラウザの第2のフレームで動作して該データベース・サーバ中のデータにアクセスする各種機能プログラムをダウンロードし、
前記Webブラウザの第2のフレームで前記各種機能プログラムを順次に起動し、該各種機能プログラムが前記クライアントから前記第1のフレームで起動している前記セッション管理プログラムで接続されている回線を継続的に用いて、前記データベース・サーバ中の前記各種機能プログラムに対応するデータにアクセスする
ことを特徴とするWWWサーバ・クライアント・システムにおけるセッション管理方法。 A session management method in a WWW server client system that performs access processing from a client to a database server using a Web browser,
By the Web browser in the client from the WWW server, operating in the first frame of the Web browser to download the session management program for session management between the database server,
After starting the session management program in the first frame of the Web browser and connecting the line from the client to the database server by the session management program,
Various function programs that operate in the second frame of the Web browser and access data in the database server are downloaded from the WWW server to the client by the Web browser ;
The various function programs are sequentially activated in the second frame of the Web browser, and the various function programs are continuously connected to the line connected by the session management program activated from the client in the first frame. And a session management method in a WWW server client system, wherein the data corresponding to the various function programs in the database server is accessed.
前記Webサーバから前記クライアントにWebブラウザにより、該Webブラウザの第1のフレームで動作して前記データベース・サーバとの間のセッション管理を行うコンポーネント・ソフトAをダウンロードする手段と、
前記Webブラウザの第1のフレームで前記コンポーネント・ソフトAを起動し、該クライアントから前記データベース・サーバに前記コンポーネント・ソフトAにより回線接続を行う手段と、
前記Webサーバから前記クライアントに前記Webブラウザにより、該Webブラウザの第2のフレームで動作して該データベース・サーバ中のデータにアクセスする各種業務機能毎にモジュール化された業務処理コンポーネント・ソフト群Bをダウンロードする手段と、
前記Webブラウザの第2のフレームで順次に起動する前記業務処理コンポーネント・ソフト群Bが前記データベース・サーバ中の前記業務処理コンポーネント・ソフト群Bに対応するデータにアクセスする際に、前記Webブラウザの第1のフレームで起動している前記コンポーネント・ソフトAで接続されている回線を継続的に用いてアクセスさせる手段
とを有することを特徴とするサーバ・クライアント・システム。In a server / client system consisting of a Web server, database server, and client,
Means for downloading component software A that operates in the first frame of the Web browser from the Web server to the client and performs session management with the database server ;
Means for activating the component software A in the first frame of the Web browser and connecting the line from the client to the database server by the component software A;
Business processing component software group B that is modularized for each business function that operates in the second frame of the Web browser from the Web server to the client and accesses data in the database server A means of downloading
When accessing data in which the business processing component software group B sequentially activated in the second frame of the Web browser corresponding to the business processing component software group B in the pre Kide database server, the Web And a means for continuously accessing the line connected by the component software A activated in the first frame of the browser .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP01993699A JP3671715B2 (en) | 1999-01-28 | 1999-01-28 | Database session management method in WWW server client system and server client system using the same |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP01993699A JP3671715B2 (en) | 1999-01-28 | 1999-01-28 | Database session management method in WWW server client system and server client system using the same |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2000222320A JP2000222320A (en) | 2000-08-11 |
| JP3671715B2 true JP3671715B2 (en) | 2005-07-13 |
Family
ID=12013106
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP01993699A Expired - Fee Related JP3671715B2 (en) | 1999-01-28 | 1999-01-28 | Database session management method in WWW server client system and server client system using the same |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3671715B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW535081B (en) | 2000-12-20 | 2003-06-01 | Ibm | Method and system of fulfilling requests for information from a network client |
| JP2002189646A (en) * | 2000-12-22 | 2002-07-05 | Matsushita Electric Ind Co Ltd | Relay device |
| JP4997070B2 (en) | 2007-10-31 | 2012-08-08 | 京セラドキュメントソリューションズ株式会社 | Electrical device, image display control method, and image display control program |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3526688B2 (en) * | 1996-03-29 | 2004-05-17 | 富士通株式会社 | Metered system and method for connectionless communication |
| JPH10177548A (en) * | 1996-12-18 | 1998-06-30 | Casio Comput Co Ltd | Session management system |
| JPH10289171A (en) * | 1997-02-14 | 1998-10-27 | Fujitsu Ltd | Cooperation system between programs |
| JPH10326207A (en) * | 1997-05-26 | 1998-12-08 | Hitachi Ltd | WWW server session maintenance management system |
-
1999
- 1999-01-28 JP JP01993699A patent/JP3671715B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2000222320A (en) | 2000-08-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5918239A (en) | Deferred display of web pages corresponding to links selected by user | |
| CA2326875C (en) | Apparatus and method for dynamically limiting information sent to a viewing device | |
| US5978848A (en) | Web browser method and system for backgrounding a link access during slow link access time periods | |
| US5787254A (en) | Web browser method and system for display and management of server latency | |
| US8090793B2 (en) | Methods and apparatus for making a hypermedium interactive | |
| US6421694B1 (en) | System and method for displaying data items in a ticker display pane on a client computer | |
| US5978841A (en) | Look ahead caching process for improved information retrieval response time by caching bodies of information before they are requested by the user | |
| JP4594586B2 (en) | Method and system for processing information in a network client | |
| US7167142B2 (en) | Multi-user display system | |
| US20050091336A1 (en) | Method and apparatus for supporting cookie management in a web presentation architecture | |
| JPH10162030A (en) | Method and device for rendering hyperlink information | |
| US20030119386A1 (en) | Method and system for installing server-specific plug-ins | |
| US20050273718A1 (en) | System and method of routine navigation | |
| JPH10187639A (en) | Highly available computer server system | |
| IL148635A (en) | System and method for delivering remotely stored applications and information | |
| JPH11134277A (en) | Client-side asynchronous form management method and apparatus | |
| US7165220B1 (en) | Apparatus and method for processing bookmark events for a web page | |
| JP2007133871A (en) | Method for exchanging portlet configuration data, portal, and computer program | |
| US20030163516A1 (en) | Session coordination | |
| US7447738B1 (en) | Component download selection mechanism for web browsers | |
| JP3671715B2 (en) | Database session management method in WWW server client system and server client system using the same | |
| US20030014504A1 (en) | Method and apparatus for dynamic common gateway interface Web site management | |
| US20040158603A1 (en) | Personal banner creating program | |
| JPH11110100A (en) | Data processing system and its operating method | |
| US20010018707A1 (en) | Web server system and method for controlling a web server system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040302 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040506 |
|
| 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: 20050329 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050411 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R360 | Written notification for declining of transfer of rights |
Free format text: JAPANESE INTERMEDIATE CODE: R360 |
|
| R370 | Written measure of declining of transfer procedure |
Free format text: JAPANESE INTERMEDIATE CODE: R370 |
|
| 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 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090428 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100428 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100428 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110428 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110428 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120428 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130428 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130428 Year of fee payment: 8 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130428 Year of fee payment: 8 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140428 Year of fee payment: 9 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |