JPH11353261A - Web application execution method - Google Patents
Web application execution methodInfo
- Publication number
- JPH11353261A JPH11353261A JP10160209A JP16020998A JPH11353261A JP H11353261 A JPH11353261 A JP H11353261A JP 10160209 A JP10160209 A JP 10160209A JP 16020998 A JP16020998 A JP 16020998A JP H11353261 A JPH11353261 A JP H11353261A
- Authority
- JP
- Japan
- Prior art keywords
- page
- client computer
- computer
- output function
- file
- 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
Links
Landscapes
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
(57)【要約】
【課題】本発明の課題は、クライアント計算機が実際に
出力可能なデータのみを含むページをクライアント計算
機に返信することを可能とするWebアプリケーション
実行方法である。
【解決手段】Webアプリケーション実行時において、
サーバ計算機上で、クライアント計算機の型式ごとにデ
ータ出力機能を管理し、クライアント計算機の型式に応
じて、要求されたページをクライアント計算機が実際に
出力可能なデータのみを含む内容に変換してからクライ
アント計算機に返信することで、クライアント計算機が
ページを要求してからページの受信を完了するまでの消
費時間を短縮することが可能になる。
(57) [Summary] An object of the present invention is a Web application execution method that enables a client computer to return a page including only data that can be actually output to the client computer. When a Web application is executed,
On the server computer, manage the data output function for each model of the client computer, convert the requested page according to the model of the client computer into content that contains only data that can be actually output by the client computer, By sending a reply to the computer, it is possible to reduce the time consumed from when the client computer requests the page to when the page is completely received.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、コンピュータおよ
びコンピュータシステムに関するものである。詳細に
は、ネットワークおよびインターネットを介したWor
ld Wide Web(以下、WWWと略す)の資源
(文書、画像、音声などのメディア情報)を利用する方
法において、特に資源の検索方法に関する。[0001] 1. Field of the Invention [0002] The present invention relates to a computer and a computer system. For details, refer to Wor through a network and the Internet.
The present invention relates to a method of using resources of ld Wide Web (hereinafter abbreviated as WWW) (media information such as a document, an image, and a sound), and particularly to a method of searching for resources.
【0002】[0002]
【従来の技術】まず、WWWに関する一般的な技術につ
いて説明する。WWWはネットワーク上に存在する資源
(文書、画像、音声等のメディア情報)を提供するWe
bサーバと、資源を引き出すWebブラウザから構成さ
れる。Webサーバは、サーバ計算機上で実行されるプ
ログラムであり、Webブラウザからの要求を受け付
け、要求された資源を検索しWebブラウザに返信す
る。Webブラウザはクライアント計算機で実行される
プログラムである。Webブラウザは、Webサーバに
リモート接続し、特定の資源を指定して要求し、Web
サーバから受信した資源を表示する。Webブラウザに
表示される資源はHTML(Hyper Text MarkupLanguag
e)言語で記述されたページとして表現される。2. Description of the Related Art First, a general technique relating to the WWW will be described. WWW is a Web service that provides resources (media information such as documents, images, sounds, etc.) existing on the network.
b server and a Web browser for extracting resources. The Web server is a program executed on the server computer, receives a request from the Web browser, searches for the requested resource, and returns it to the Web browser. The Web browser is a program executed on the client computer. The Web browser remotely connects to the Web server, specifies and requests a specific resource, and
Displays resources received from the server. Resources displayed on the Web browser are HTML (Hyper Text Markup Language)
e) Expressed as a page written in a language.
【0003】HTML言語は、ページのレイアウトとハ
イパーリンクを指定する言語であり、専用の組み込み命
令のシンタックスや資源の所在を定義するものである。
HTMLの詳細については、ISBN 4-900900-332-X、発
行日1997年4月30日、発売元(株)オーム社、著者Stephen
Spainhour、Valerie Quercia、監訳者 田辺茂也、書籍
名「WEBMASTERクイックリファレンス」を参
照。[0003] The HTML language is a language for designating page layouts and hyperlinks, and defines the syntax of dedicated embedded instructions and the location of resources.
For more information on HTML, see ISBN 4-900900-332-X, published on April 30, 1997, released by Ohm Co., Ltd., author Stephen
See Spainhour, Valerie Quercia, translator Shigeya Tanabe, book name "WEBMASTER Quick Reference".
【0004】次に、Webアプリケーション実行方法の
従来技術について説明する。Webアプリケーション
は、一連のリンクされたページの集合で実現されてい
る。Webブラウザは、Webサーバに対して要求した
ページを受信すると、受信したページに記述されたハイ
パーリンクの指定に従い、順次他のページを要求するこ
とでWebアプリケーションの処理を進めていく。とこ
ろで、WebブラウザがWebサーバに要求するページ
に含まれる画像データあるいは音声データは、一般に長
大データであることが多い。したがって、Webブラウ
ザからWebサーバへの通信路の帯域幅が小さい場合に
は、WebブラウザがWebサーバにページを要求して
から、要求したページのデータ全体をWebサーバから
受信し終えるまでに長い時間を要する。本問題を解決す
る従来技術として、特開平9-34772号公報情報処理シス
テムが提案されている。これを公知例1とよぶ。公知例
1は、サーバ計算機からクライアント計算機をむすぶネ
ットワーク上に中継装置を置き、本中継装置において画
像データのデータ量を縮小する技術を特許化したもので
ある。Next, a conventional technique of a Web application execution method will be described. A Web application is implemented as a set of linked pages. Upon receiving the page requested by the Web server, the Web browser proceeds with the processing of the Web application by sequentially requesting another page in accordance with the designation of the hyperlink described in the received page. By the way, image data or audio data included in a page requested by a Web browser to a Web server is generally large data in many cases. Therefore, when the bandwidth of the communication path from the Web browser to the Web server is small, it takes a long time from when the Web browser requests a page to the Web server to when the entire data of the requested page is completely received from the Web server. Cost. As a conventional technique for solving this problem, an information processing system disclosed in Japanese Patent Application Laid-Open No. 9-34772 has been proposed. This is called Known Example 1. In the first known example, a relay device is placed on a network connecting a server computer to a client computer, and a technology for reducing the data amount of image data in the present relay device is patented.
【0005】[0005]
【発明が解決しようとする課題】本発明が解決しようと
する課題は、Webアプリケーション実行時において、
クライアント計算機上で実行されるWebブラウザがサ
ーバ計算機上で実行されるWebサーバに対してページ
を要求した場合に、WebサーバがWebブラウザに返
信するデータの内容が、クライアント計算機が実際に出
力可能なデータの形式に関わらず一律である点である。
このため、Webサーバは、クライアント計算機が実際
には出力できない冗長なデータをWebブラウザに対し
て返信する場合がある。A problem to be solved by the present invention is that when a Web application is executed,
When a Web browser executed on a client computer requests a page from a Web server executed on a server computer, the contents of data returned by the Web server to the Web browser can be actually output by the client computer. This is the same regardless of the data format.
For this reason, the Web server may return to the Web browser redundant data that cannot be actually output by the client computer.
【0006】具体的には、モノクロのディスプレイ出力
装置しかもたないクライアント計算機に対して色情報を
含む画像データを返信したり、音声出力装置をもたない
クライアント計算機に対して音声データを返信する場合
が挙げられる。このような場合、WebブラウザからW
ebサーバへの通信路の帯域幅が狭いと、Webブラウ
ザがWebサーバに対してページを要求してからページ
の受信を完了するまでの消費時間が、実際に出力される
データ量と比較して長くなってしまう。こうした問題に
対して、本発明では以下の課題を解決することを目的と
する。More specifically, a case where image data including color information is returned to a client computer having only a monochrome display output device, or audio data is returned to a client computer having no audio output device. Is mentioned. In such a case, W
When the bandwidth of the communication path to the web server is narrow, the time consumed from when the web browser requests a page to the web server until the page is completely received is compared with the amount of data actually output. It will be long. The present invention aims to solve the following problems with respect to such a problem.
【0007】(1)サーバ計算機上で、クライアント計
算機の型式ごとにデータ出力機能を管理し、クライアン
ト計算機の型式に応じて、要求されたページをクライア
ント計算機が実際に出力可能なデータのみを含む内容に
変換して、クライアント計算機に返信する機構を実現す
る。(1) A server computer manages a data output function for each model of a client computer, and, according to the model of the client computer, a content including only data that can be actually output by a client computer to a requested page. And implements a mechanism for sending back to the client computer.
【0008】[0008]
【課題を解決するための手段】上記課題を解決するため
に、本発明は、計算機型式をクライアント計算機上のフ
ァイルから取得するステップと、前記計算機型式をサー
バ計算機に送信するステップとを有するようにしてい
る。また、前記クライアント計算機から前記計算機型式
を受信するステップと、前記計算機型式をキーとして、
計算機型式情報管理テーブルから前記クライアント計算
機のディスプレイ出力機能と音声出力機能を取得するス
テップと、前記クライアント計算機のWebブラウザと
の接続を維持するキーと、取得した前記ディスプレイ出
力機能と前記音声出力機能をページ変換ルール管理テー
ブルに設定するステップとを有するようにしている。ま
た、前記Webブラウザからの要求を受けつけるステッ
プと、前記Webブラウザとの接続を維持するキーにも
とづき、前記ページ変換ルール管理テーブルから前記デ
ィスプレイ出力機能と前記音声出力機能を取得するステ
ップと、前記Webブラウザから要求されたページを読
み込み、画像ファイル又は音声ファイルを読み込むステ
ートメントに関して記述内容の変換を行うステップと、
変換後のページを前記Webブラウザに返信するステッ
プとを有するようにしている。In order to solve the above problems, the present invention comprises a step of obtaining a computer model from a file on a client computer and a step of transmitting the computer model to a server computer. ing. Further, receiving the computer model from the client computer, and using the computer model as a key,
Acquiring a display output function and an audio output function of the client computer from the computer model information management table; a key for maintaining a connection with a Web browser of the client computer; and acquiring the display output function and the audio output function. Setting in the page conversion rule management table. Receiving a request from the web browser; acquiring the display output function and the audio output function from the page conversion rule management table based on a key for maintaining a connection with the web browser; Reading the page requested by the browser and converting the description with respect to the statement for reading the image file or the audio file;
Returning the converted page to the Web browser.
【0009】上記手段により本発明では、Webアプリ
ケーション実行時に、前記サーバ計算機において、要求
されたページを前記クライアント計算機の型式に応じ
て、前記クライアント計算機が実際に出力可能なデータ
のみを含む内容に変換してから前記クライアント計算機
に返信することで、前記クライアント計算機がページを
要求してからページの受信を完了するまでの消費時間を
短縮することが可能になる。According to the present invention, when executing a Web application, the server computer converts a requested page into a content including only data that can be actually output by the client computer according to the model of the client computer. By returning the request to the client computer after that, it is possible to reduce the time consumed from the request of the page by the client computer to the completion of the reception of the page.
【0010】[0010]
【発明の実施の形態】以下、本発明の一実施例を図面を
用いて詳細に説明する。An embodiment of the present invention will be described below in detail with reference to the drawings.
【0011】図1に本発明を実現するWebアプリケー
ション実行システムの機能構成の一例を示した。実線で
囲んだ枠101はWebアプリケーション実行システム
を実行するサーバ計算機を示す。サーバ計算機101、
はプログラムを実行、解釈する中央処理装置102、プ
ログラムをロードする主記憶装置103、プログラムや
データを格納する外部記憶装置104、ネットワーク接
続するためのLANアダプタ105で構成され、さら
に、中央処理装置102、主記憶装置103、外部記憶
装置104、LANアダプタ105は相互にデータを送
受信するためのバス106で結合される。主記憶装置1
03には、本発明を実現したWebアプリケーション実
行システムがロードされている。FIG. 1 shows an example of a functional configuration of a Web application execution system for realizing the present invention. A frame 101 surrounded by a solid line indicates a server computer that executes the Web application execution system. Server computer 101,
Is composed of a central processing unit 102 for executing and interpreting programs, a main storage device 103 for loading programs, an external storage device 104 for storing programs and data, and a LAN adapter 105 for network connection. The main storage device 103, the external storage device 104, and the LAN adapter 105 are connected by a bus 106 for transmitting and receiving data to and from each other. Main storage device 1
03 is loaded with a Web application execution system implementing the present invention.
【0012】Webアプリケーション実行システムは、
Webサーバプログラム107、クライアント計算機検
査プログラム131から送信された要求を受信してクラ
イアント計算機の型式情報を登録するクライアント計算
機情報登録プログラム108、クライアント計算機の型
式毎に、クライアント計算機のディスプレイ出力機能及
び音声出力機能に関する情報を管理する計算機型式情報
管理テーブル109、Webブラウザプログラム130
との間に確立されたセッション毎に、クライアント計算
機のディスプレイ出力機能及び音声出力機能に関する情
報を管理するページ変換ルール管理テーブル111、ペ
ージ変換ルール管理テーブル111が保持する情報に基
づき、ページの記述内容の変換を行ってWebブラウザ
プログラム130に返信するWebアプリケーション実
行プログラム110から構成される。The Web application execution system includes:
Web server program 107, client computer information registration program 108 that receives a request transmitted from client computer inspection program 131 and registers model information of the client computer, display output function and audio output of client computer for each model of client computer Computer model information management table 109 for managing information on functions, Web browser program 130
The page conversion rule management table 111 that manages information related to the display output function and the audio output function of the client computer for each session established between the client computer and the page description content based on the information held by the page conversion rule management table 111 And a Web application execution program 110 that returns the converted Web application program 130 to the Web browser program 130.
【0013】外部記憶装置104にはページ112を格
納する。さらに、音声データを格納した音声ファイル1
13を格納する。さらに、画像データを格納した画像フ
ァイル115,117,119を各々ディレクトリ11
4,116,118に格納する。ディレクトリ114に
格納された画像ファイル115は、フルカラーの色情報
をもつ画像ファイルである。ディレクトリ116に格納
された画像ファイル117は、画像ファイル115の内
容を元に、6万4千色以内の色情報をもつようにデータ
圧縮を行った画像ファイルである。ディレクトリ118
に格納された画像ファイル119は、画像ファイル11
5の内容を元に、色情報を除去して画像ファイル117
よりさらに強度のデータ圧縮を行ったモノクロの画像フ
ァイルである。なお本発明では、画像ファイルのデータ
圧縮の方法を上記3段階に限定しない。実線で囲んだ枠
121はクライアント計算機を示す。A page 112 is stored in the external storage device 104. Furthermore, an audio file 1 storing audio data
13 is stored. Further, the image files 115, 117, and 119 storing the image data are stored in the directories 11 respectively.
4, 116, 118. The image file 115 stored in the directory 114 is an image file having full-color color information. The image file 117 stored in the directory 116 is an image file that has been subjected to data compression based on the contents of the image file 115 so as to have color information of up to 64,000 colors. Directory 118
Is stored in the image file 11
5, the color information is removed, and the image file 117 is removed.
This is a monochrome image file that has been subjected to even stronger data compression. In the present invention, the method of compressing data of an image file is not limited to the above three steps. A frame 121 surrounded by a solid line indicates a client computer.
【0014】クライアント計算機121は、プログラム
を実行、解釈する中央処理装置123、プログラムをロ
ードする主記憶装置124、プログラムやデータを格納
する外部記憶装置125、ネットワーク接続するための
LANアダプタ126、データの入力を行う入力装置1
27、画面へのデータ出力を行うディスプレイ出力装置
128、音声出力を行う音声出力装置129で構成さ
れ、さらに、中央処理装置123、主記憶装置124、
外部記憶装置125、LANアダプタ126、入力装置
127、ディスプレイ出力装置128、音声出力装置1
29は相互にデータを送受信するためのバス122で結
合される。外部記憶装置125には、クライアント計算
機の型式情報を登録した計算機型式情報登録ファイル1
32が格納されている。主記憶装置124には、本発明
を実現したWebアプリケーション実行システムをドラ
イブするWebブラウザプログラム130と、クライア
ント計算機121の型式情報を計算機型式情報登録ファ
イル132から取得してサーバ計算機101のクライア
ント計算機情報登録プログラム108に送信するクライ
アント計算機検査プログラム131がロードされてい
る。The client computer 121 includes a central processing unit 123 for executing and interpreting programs, a main storage device 124 for loading programs, an external storage device 125 for storing programs and data, a LAN adapter 126 for connecting to a network, Input device 1 for input
27, a display output device 128 for outputting data to the screen, and an audio output device 129 for outputting audio, and further, a central processing unit 123, a main storage device 124,
External storage device 125, LAN adapter 126, input device 127, display output device 128, audio output device 1
Reference numeral 29 denotes a bus 122 for mutually transmitting and receiving data. In the external storage device 125, a computer model information registration file 1 in which the model information of the client computer is registered
32 are stored. The main storage device 124 acquires a web browser program 130 for driving a web application execution system implementing the present invention, and model information of the client computer 121 from a computer model information registration file 132, and registers client computer information of the server computer 101. A client computer inspection program 131 to be transmitted to the program 108 is loaded.
【0015】サーバ計算機101とクライアント計算機
121はネットワーク網120を介して通信を行う。The server computer 101 and the client computer 121 communicate with each other via a network 120.
【0016】図2に、クライアント計算機121のWe
bブラウザプログラム130のフローを示した。処理2
01は、一時変数ClientSessionIDにNULLを設定す
る。処理202は、Webブラウザに対する操作の内容
を判定する。Webアプリケーション実行システムへの
要求操作の場合は処理203へ進み、終了処理の場合は
本フローを終了しWebブラウザプログラム130を終
了する。処理203は、Webアプリケーション実行シ
ステムに、Webアプリケーション実行システムとのセ
ッションを確立するセッションIDとして一時変数Clie
ntSessionIDの値を付加して要求を送信する。処理20
4は、Webアプリケーション実行システムからの結果
の受信待ちをする。要求結果を受信したら処理205
へ、受信待ち状態のままなら、要求結果を待ち続ける。FIG. 2 shows the Wen of the client computer 121.
The flow of the b browser program 130 was shown. Processing 2
01 sets NULL to the temporary variable ClientSessionID. The process 202 determines the content of the operation on the Web browser. In the case of a request operation to the Web application execution system, the process proceeds to step 203, and in the case of an end process, the present flow ends and the Web browser program 130 ends. The process 203 is a process in which the Web application execution system sets a temporary variable Clie as a session ID for establishing a session with the Web application execution system.
Send the request with the value of ntSessionID added. Processing 20
4 waits for reception of the result from the Web application execution system. Processing 205 upon receiving the request result
If it remains in the reception waiting state, it keeps waiting for the request result.
【0017】処理205では、Webアプリケーション
実行システムの結果であるページとセッションIDを受
信する。処理206では、一時変数ClientSessionIDの
値がNULLであるかを判定する。判定結果が真である
場合は処理207へ進み、偽である場合は処理208へ
進む。処理207では、クライアント計算機検査プログ
ラム131を実行する。クライアント計算機検査プログ
ラム131の詳細なフローは図4に示している。処理2
08は、処理205で受信したセッションIDを一時変
数ClientSessionIDに設定する。処理209は、Web
アプリケーション実行システムの結果であるページをデ
ィスプレイ出力装置128に表示し、処理202に戻
る。In step 205, a page and a session ID as a result of the Web application execution system are received. In step 206, it is determined whether the value of the temporary variable ClientSessionID is NULL. If the result of the determination is true, the process proceeds to step 207; otherwise, the process proceeds to step 208. In the process 207, the client computer inspection program 131 is executed. The detailed flow of the client computer inspection program 131 is shown in FIG. Processing 2
In step 08, the session ID received in step 205 is set in the temporary variable ClientSessionID. The process 209 is performed on the Web
The page that is the result of the application execution system is displayed on the display output device 128, and the process returns to step 202.
【0018】図3に、ページの一例を示した。ページ3
01は、HTML(Hyper Text Markup Language)で記述
されている。行302は、HTMLファイルであること
を示すタグである。前記タグとは文字‘<’と‘>’で
囲まれた文字列を指す。行303は、HTMLのヘッダ
の内容の記述開始を示すタグである。行304は、ヘッ
ダの内容の1つであるページタイトルの記述開始を示す
タグである。行305は、ページタイトルを記述した文
字列である。行306は、ヘッダの内容の1つであるペ
ージタイトルの記述終了を示すタグである。行307
は、HTMLファイルのヘッダの内容の記述終了を示す
タグである。行308は、HTMLファイルの主内容の
記述開始を示すタグである。行309は、他のHTML
ファイルとリンク関係を結ぶタグである。行310は、
HTMLファイルの主内容の記述終了を示すタグであ
る。行311は、HTMLファイルの終了を示すタグで
ある。FIG. 3 shows an example of a page. Page 3
01 is described in HTML (Hyper Text Markup Language). Line 302 is a tag indicating that the file is an HTML file. The tag indicates a character string surrounded by characters “<” and “>”. A line 303 is a tag indicating the start of the description of the contents of the HTML header. A line 304 is a tag indicating the start of description of a page title, which is one of the contents of the header. Line 305 is a character string describing the page title. A line 306 is a tag indicating the end of the description of the page title, which is one of the contents of the header. Row 307
Is a tag indicating the end of the description of the contents of the header of the HTML file. Line 308 is a tag indicating the start of the description of the main contents of the HTML file. Line 309 is another HTML
A tag that links a file with a link. Line 310 is
This tag indicates the end of the description of the main contents of the HTML file. Line 311 is a tag indicating the end of the HTML file.
【0019】図4に、クライアント計算機検査プログラ
ム131のフローを示した。本フローで用いる計算機型
式情報登録ファイル132の記述内容の一例を、図5に
示した。図4における処理401は、外部記憶装置12
5に格納された計算機型式情報登録ファイル132か
ら、計算機の型式情報を読み込み一時変数machineType
に設定する。具体的には、計算機型式情報登録ファイル
132の内容から“MACHINE_TYPE=”で始まる行502
を検索し、行502の“MACHINE_TYPE=”の右辺に記述
された文字列を計算機の型式情報として一時変数machin
eTypeに設定する。行502の例では、一時変数machine
Typeに設定した計算機の型式情報は“XYZ社PC-9012”で
ある。処理402は、Webアプリケーション実行シス
テムのクライアント計算機情報登録プログラム108
に、一時変数ClientSessionIDと一時変数machineTypeの
値を送信する。なお本発明では、計算機型式情報登録フ
ァイル132の記述形式は、図5に示した形式に限定し
ない。FIG. 4 shows the flow of the client computer inspection program 131. FIG. 5 shows an example of the description contents of the computer model information registration file 132 used in this flow. The processing 401 in FIG.
5, the computer type information is read from the computer type information registration file 132, and the temporary variable machineType is read.
Set to. Specifically, a line 502 starting with “MACHINE_TYPE =” from the contents of the computer model information registration file 132
Is searched, and the character string described on the right side of “MACHINE_TYPE =” in the line 502 is used as a temporary variable machin as the model type information of the computer.
Set to eType. In the example of line 502, the temporary variable machine
The type information of the computer set in Type is "XYZ PC-9012". The process 402 is performed by the client computer information registration program 108 of the Web application execution system.
To send the values of the temporary variable ClientSessionID and the temporary variable machineType. In the present invention, the description format of the computer model information registration file 132 is not limited to the format shown in FIG.
【0020】図6に、Webアプリケーション実行プロ
グラム110のフローを示した。処理601は、Web
ブラウザプログラム130からの要求を待つ。Webブ
ラウザプログラム130からの要求を受信した場合は処
理602へ進み、未受信の場合はWebブラウザプログ
ラム130からの要求を待ち続ける。処理602は、W
ebブラウザからの要求にセッションIDが付加されて
いるか否かを判定する。前記セッションIDとは、We
bブラウザプログラム130と本Webアプリケーショ
ン実行システムを一意に関係付けるキーである。要求に
セッションIDが付加されていない場合は処理603
へ、付加されている場合は処理606へ処理を遷移させ
る。処理603は、セッションIDを生成する。生成す
るセッションIDは、本Webアプリケーション実行シ
ステムとWebブラウザプログラム130とを対応づけ
る一意な数値あるいは文字列である。FIG. 6 shows the flow of the Web application execution program 110. The process 601 is executed by the Web
Wait for a request from the browser program 130. If a request from the web browser program 130 has been received, the process proceeds to step 602; otherwise, the process waits for a request from the web browser program 130. The process 602 is performed in W
It is determined whether a session ID is added to the request from the web browser. The session ID is We
The key is a key that uniquely associates the b browser program 130 with the Web application execution system. Processing 603 when the session ID is not added to the request
If it is added, the process proceeds to step 606. The process 603 generates a session ID. The generated session ID is a unique numerical value or character string that associates the present Web application execution system with the Web browser program 130.
【0021】本発明では、セッションIDの形式は特に
限定しない。処理604は、処理603で生成したセッ
ションIDを一時変数sessionIDに設定する。処理60
5は、一時変数sessionIDの値とWebブラウザプログ
ラム130から要求されたページを、Webブラウザプ
ログラム130に返信し、処理601に戻る。処理60
6は、Webブラウザプログラム130からの要求に付
加されたセッションIDを一時変数sessionIDに設定す
る。処理607では、Webブラウザプログラム130
から要求されたページの読込みとページの内容の変換を
行うとともに、一時変数sessionIDの値と変換後のペー
ジをWebブラウザプログラム130に返信し、処理6
01に戻る。処理607の詳細なフローは、図10に示
している。In the present invention, the format of the session ID is not particularly limited. A process 604 sets the session ID generated in the process 603 to a temporary variable sessionID. Process 60
5 returns the value of the temporary variable sessionID and the page requested from the Web browser program 130 to the Web browser program 130, and returns to the processing 601. Process 60
6 sets the session ID added to the request from the Web browser program 130 in the temporary variable sessionID. In the process 607, the Web browser program 130
Read the page and convert the contents of the page, and return the value of the temporary variable sessionID and the converted page to the Web browser program 130, and perform processing 6
Return to 01. The detailed flow of the process 607 is shown in FIG.
【0022】図7に、クライアント計算機情報登録プロ
グラム108のフローを示した。なお、本フローで使用
する計算機型式情報管理テーブル109とページ変換ル
ール管理テーブル111のレコードフォーマットは、各
々図8と図9に示している。図7の処理701は、クラ
イアント計算機検査プログラム131からの要求を待
つ。クライアント計算機検査プログラム131からの要
求を受信した場合は処理702へ進み、未受信の場合は
クライアント計算機検査プログラム131からの要求を
待ち続ける。処理702は、ステップ701で受信した
要求に含まれるセッションIDと計算機型式を、一時変
数sessionIDと一時変数machineTypeに設定する。処理7
03では、制御変数iを0で初期化する。制御変数iの
値は、計算機型式情報管理テーブル109のレコード番
号を示している。ステップ704では、制御変数iに1
を加算する。FIG. 7 shows the flow of the client computer information registration program 108. The record formats of the computer model information management table 109 and the page conversion rule management table 111 used in this flow are shown in FIGS. 8 and 9, respectively. The process 701 in FIG. 7 waits for a request from the client computer inspection program 131. If a request from the client computer inspection program 131 has been received, the process proceeds to step 702; otherwise, the process waits for a request from the client computer inspection program 131. The process 702 sets the session ID and the computer model included in the request received in step 701 to the temporary variables sessionID and machineType. Processing 7
In 03, the control variable i is initialized to 0. The value of the control variable i indicates the record number of the computer model information management table 109. In step 704, the control variable i is set to 1
Is added.
【0023】処理705は、計算機型式情報管理テーブ
ル109の第iレコードの計算機型式802の値と一時
変数machineTypeの値を比較する。値が一致するなら処
理706へ、一致しないなら処理709へ処理を遷移さ
せる。処理706では、計算機型式情報管理テーブル1
09の第iレコードのディスプレイ出力機能803と音
声出力機能804の値を、各々一時変数displayと一時
変数soundに設定する。処理707では、ページ変換ル
ール管理テーブル111に新規レコードを追加し、新規
レコードのすべてのセルの値をNULLで初期化する。
処理708は、ページ変換ルール管理テーブル111に
追加した新規レコードのセッションID902、ディス
プレイ出力機能903及び音声出力機能904に、各々
一時変数sessionID、display及びsoundの値を設定し、
処理を終了する。処理709は、制御変数iの値が計算
機型式情報管理テーブル109の最終レコードのレコー
ド番号に一致するか否かを判定する。一致すれば処理を
終了し、一致しなければ処理704に戻る。A process 705 compares the value of the computer type 802 of the i-th record of the computer type information management table 109 with the value of the temporary variable machineType. If the values match, the process proceeds to step 706; otherwise, the process proceeds to step 709. In process 706, the computer model information management table 1
The values of the display output function 803 and the sound output function 804 of the i-th record 09 are set to the temporary variable display and the temporary variable sound, respectively. In step 707, a new record is added to the page conversion rule management table 111, and the values of all cells of the new record are initialized to NULL.
A process 708 sets the values of the temporary variables sessionID, display, and sound in the session ID 902, display output function 903, and sound output function 904 of the new record added to the page conversion rule management table 111, respectively.
The process ends. The process 709 determines whether or not the value of the control variable i matches the record number of the last record in the computer model information management table 109. If they match, the process ends. If they do not match, the process returns to step 704.
【0024】図8に、計算機型式情報管理テーブル10
9のレコードフォーマットを示した。計算機型式情報管
理テーブル109は、クライアント計算機の型式毎に、
クライアント計算機のディスプレイ出力機能及び音声出
力機能に関する情報を管理するテーブルである。計算機
型式情報管理テーブル109のレコード801は、計算
機型式802、ディスプレイ出力機能803、音声出力
機能804から構成される。計算機型式802には、ク
ライアント計算機の型式情報を示す文字列を設定する。
ディスプレイ出力機能803には、クライアント計算機
のディスプレイ出力機能を示す文字列を設定する。FIG. 8 shows a computer model information management table 10.
9 shows the record format. The computer model information management table 109 includes, for each model of the client computer,
6 is a table for managing information relating to a display output function and an audio output function of a client computer. The record 801 of the computer model information management table 109 includes a computer model 802, a display output function 803, and a sound output function 804. In the computer model 802, a character string indicating model information of the client computer is set.
In the display output function 803, a character string indicating the display output function of the client computer is set.
【0025】ディスプレイ出力機能803に設定しうる
値は、“フルカラー”、“64K色”、“モノクロ”の3
種類である。“フルカラー”は、色情報の圧縮を行わな
いフルカラーの画像を表示可能なディスプレイ出力機能
をもっていることを示す。“64K色”は、6万4千色以
内の色情報をもつ画像を表示可能なディスプレイ出力機
能をもっていることを示す。“モノクロ”は、色情報を
除去したモノクロの画像のみ表示可能なディスプレイ出
力機能をもっていることを示す。The values that can be set in the display output function 803 are three of “full color”, “64K color”, and “monochrome”.
Kind. “Full color” indicates that it has a display output function capable of displaying a full-color image without compressing color information. “64K colors” indicates that the device has a display output function capable of displaying an image having color information of 64,000 or less colors. “Monochrome” indicates that it has a display output function capable of displaying only a monochrome image from which color information has been removed.
【0026】音声出力機能804には、クライアント計
算機の音声出力機能を示す文字列を設定する。音声出力
機能804に設定しうる値は、“OK”、“NG”の2
種類である。“OK”は、音声出力機能をもっているこ
とを示す。“NG”は、音声出力機能をもっていないこ
とを示す。次に、計算機型式情報管理テーブル109に
具体的なデータが設定されている例について説明する。
計算機型式情報管理テーブル109には、現在3つのレ
コードにデータが設定されている。第1レコード805
の計算機型式808には“ABC社PC-1234”、ディスプレ
イ出力機能809には“フルカラー”、音声出力機能8
10には“OK”が設定されている。第2レコード80
6の計算機型式811には“PQR社PC-5678”、ディスプ
レイ出力機能812には“64K色”、音声出力機能81
3には、“NG”が設定されている。第3レコード80
7の計算機型式814には“XYZ社PC-9012”、ディスプ
レイ出力機能815には“モノクロ”、音声出力機能8
16には“NG”が設定されている。In the voice output function 804, a character string indicating the voice output function of the client computer is set. The values that can be set in the audio output function 804 are “OK” and “NG”.
Kind. “OK” indicates that it has a sound output function. “NG” indicates that it has no audio output function. Next, an example in which specific data is set in the computer model information management table 109 will be described.
In the computer model information management table 109, data is currently set in three records. First record 805
The computer model 808 is "ABC PC-1234", the display output function 809 is "full color", the audio output function 8
“OK” is set in 10. 2nd record 80
In the computer model 811 of “6, PC-5678” by PQR, in the display output function 812, “64K colors”, and in the audio output function 81
3 is set to “NG”. Third record 80
7, the computer model 814 is “XYZ PC-9012”, the display output function 815 is “monochrome”, and the audio output function 8
16 is set to “NG”.
【0027】図9に、ページ変換ルール管理テーブル1
11のレコードフォーマットを示した。ページ変換ルー
ル管理テーブル111は、Webブラウザプログラム1
30との間に確立されたセッション毎に、クライアント
計算機のディスプレイ出力機能及び音声出力機能に関す
る情報を管理するテーブルである。ページ変換ルール管
理テーブル111のレコード901は、セッションID
902、ディスプレイ出力機能903、音声出力機能9
04から構成される。セッションID902には、We
bブラウザプログラム130とのセッションを確立する
セッションIDを設定する。ディスプレイ出力機能90
3には、クライアント計算機のディスプレイ出力機能を
示す文字列を設定する。FIG. 9 shows a page conversion rule management table 1
11 shows the record format. The page conversion rule management table 111 stores the Web browser program 1
30 is a table for managing information relating to a display output function and an audio output function of the client computer for each session established with the client computer 30. The record 901 of the page conversion rule management table 111 has a session ID
902, display output function 903, audio output function 9
04. The session ID 902 includes We
b Set a session ID for establishing a session with the browser program 130. Display output function 90
In 3, a character string indicating the display output function of the client computer is set.
【0028】ディスプレイ出力機能903に設定しうる
値及び設定しうる値の意味は、図8に示した計算機型式
情報管理テーブル109のレコード801を構成するデ
ィスプレイ出力機能803に設定しうる値及び設定しう
る値の意味と同一である。音声出力機能904には、ク
ライアント計算機の音声出力機能を示す文字列を設定す
る。音声出力機能904に設定しうる値及び設定しうる
値の意味は、図8に示した計算機型式情報管理テーブル
109のレコード801を構成する音声出力機能804
に設定しうる値及び設定しうる値の意味と同一である。The values that can be set in the display output function 903 and the meanings of the values that can be set are the values that can be set and the settings that can be set in the display output function 803 constituting the record 801 of the computer model information management table 109 shown in FIG. It has the same meaning as the possible values. In the voice output function 904, a character string indicating the voice output function of the client computer is set. The values that can be set in the audio output function 904 and the meanings of the values that can be set are defined in the audio output function 804 that constitutes the record 801 of the computer model information management table 109 shown in FIG.
And the meaning of the values that can be set.
【0029】次に、ページ変換ルール管理テーブル11
1に具体的なデータが設定されている例について説明す
る。ページ変換ルール管理テーブル111には、現在2
つのレコードにデータが設定されている。第1レコード
905のセッションID907には“session001”、デ
ィスプレイ出力機能908には“フルカラー”、音声出
力機能909には“OK”が設定されている。第2レコ
ード906のセッションID910には“session00
2”、ディスプレイ出力機能911には“モノクロ”、
音声出力機能912には、“NG”が設定されている。Next, the page conversion rule management table 11
An example in which specific data is set in No. 1 will be described. The page conversion rule management table 111 has
Data is set in one record. In the first record 905, the session ID 907 is set to “session001”, the display output function 908 is set to “full color”, and the audio output function 909 is set to “OK”. The session ID 910 of the second record 906 includes “session00
2 ”, the display output function 911 has“ monochrome ”,
“NG” is set in the audio output function 912.
【0030】図10に、ページを読み込み、前記読み込
んだページの記述内容のうち、画像ファイル又は音声フ
ァイルを読み込む記述内容に関して変換を行い、変換後
のページをWebブラウザプログラム130に返信す
る、図6の処理607の詳細なフローを示した。なお、
本フローで使用するページ変換ルール管理テーブル11
1のレコードフォーマットは図9に示している。本フロ
ーに先立ち、図6に示した処理606において、一時変
数sessionIDにセッションIDが設定されている。FIG. 10 shows a process of reading a page, converting a description of an image file or an audio file among the descriptions of the read page, and returning the converted page to the Web browser program 130. The detailed flow of the process 607 of FIG. In addition,
Page conversion rule management table 11 used in this flow
1 is shown in FIG. Prior to this flow, the session ID is set in the temporary variable sessionID in the process 606 shown in FIG.
【0031】処理1001では、制御変数iを0で初期
化する。制御変数iの値は、ページ変換ルール管理テー
ブル111のレコード番号を示している。処理1002
では、制御変数iに1を加算する。処理1003は、ペ
ージ変換ルール管理テーブル111の第iレコードのセ
ッションID902の値と一時変数sessionIDの値を比
較する。値が一致するなら処理1004へ、一致しない
なら処理1007へ処理を遷移させる。処理1004で
は、ページ変換ルール管理テーブル111の第iレコー
ドのディスプレイ出力機能903と音声出力機能904
の値を、各々一時変数displayと一時変数soundに設定す
る。処理1005では、Webブラウザプログラム13
0から要求されたページを読み込み、前記読み込んだペ
ージの記述内容のうち、画像ファイル又は音声ファイル
を読み込む記述内容に関して変換処理を行った結果を作
業ファイルに書き込む。In process 1001, a control variable i is initialized to 0. The value of the control variable i indicates the record number of the page conversion rule management table 111. Processing 1002
Then, 1 is added to the control variable i. The process 1003 compares the value of the session ID 902 of the i-th record of the page conversion rule management table 111 with the value of the temporary variable sessionID. If the values match, the process proceeds to step 1004; otherwise, the process proceeds to step 1007. In processing 1004, the display output function 903 and the sound output function 904 of the i-th record of the page conversion rule management table 111
Is set to the temporary variables display and sound, respectively. In processing 1005, the Web browser program 13
From 0, the requested page is read, and among the description contents of the read page, the result of performing a conversion process on the description content for reading the image file or the audio file is written to the work file.
【0032】処理1005の詳細なフローは、図12に
示している。続いて処理1006では、一時変数sessio
nIDの値と処理1005で生成した前記作業ファイルの
内容を、Webブラウザプログラム130に返信し、処
理を終了する。処理1007は、制御変数iの値がペー
ジ変換ルール管理テーブル111の最終レコードのレコ
ード番号に一致するか否かを判定する。一致すれば処理
1008に処理を遷移させ、一致しなければ処理100
2へ戻る。処理1008では、一時変数sessionIDの値
とWebブラウザプログラム130から要求されたペー
ジをWebブラウザプログラム130に返信し、処理を
終了する。処理1006と処理1008とを比較する
と、処理1006では、処理1005で変換処理を行っ
た後のページをWebブラウザプログラム130に返信
するのに対し、処理1008では、Webブラウザプロ
グラム130から要求されたページを、そのまま変換せ
ずにWebブラウザプログラム130に返信する点が異
なる。The detailed flow of the process 1005 is shown in FIG. Subsequently, in processing 1006, the temporary variable sessio
The value of the nID and the contents of the work file generated in the process 1005 are returned to the Web browser program 130, and the process is terminated. The process 1007 determines whether or not the value of the control variable i matches the record number of the last record of the page conversion rule management table 111. If they match, the process proceeds to step 1008;
Return to 2. In processing 1008, the value of the temporary variable sessionID and the page requested by the Web browser program 130 are returned to the Web browser program 130, and the processing ends. Comparing the processing 1006 and the processing 1008, in the processing 1006, the page after the conversion processing in the processing 1005 is returned to the Web browser program 130, whereas in the processing 1008, the page requested by the Web browser program 130 is returned. Is returned to the Web browser program 130 without conversion.
【0033】図11に、図12のフローで読み込む画像
データと音声データを含むページの一例を示した。前記
ページは、外部記憶装置104に、ページファイル11
2として格納されている。ページ1101は、図3に示
されるページ301と同様に、HTMLで記述されてい
る。行1102から行1108までの記述内容は、図3
の行302から行308までの記述内容と同一の意味を
示している。行1109は、‘src=’の右辺におい
て名称‘Sound01’で示される音声ファイルを読
み込み、音声を再生するタグである。行1110は、
‘src=’の右辺において名称‘Image01’で
示される画像ファイルを読み込み、ページ1101内の
行1110が記述されている位置に画像を挿入して表示
するタグである。行1111から行1112までの記述
内容は、図3の行310から行311までの記述内容と
同一の意味を示している。FIG. 11 shows an example of a page containing image data and audio data read in the flow of FIG. The page is stored in the external storage device 104 in the page file 11.
2 is stored. The page 1101 is described in HTML similarly to the page 301 shown in FIG. The description contents from line 1102 to line 1108 are shown in FIG.
Has the same meaning as the description contents from line 302 to line 308 in FIG. A line 1109 is a tag for reading an audio file indicated by the name 'Sound01' on the right side of 'src =' and reproducing the audio. Row 1110 is
A tag that reads an image file indicated by the name “Image01” on the right side of “src =” and inserts and displays an image at the position where the row 1110 is described in the page 1101. The description contents from line 1111 to line 1112 have the same meaning as the description contents from line 310 to line 311 in FIG.
【0034】図12に、Webブラウザプログラム13
0から要求されたページを読み込み、前記読み込んだペ
ージの記述内容のうち、画像ファイル又は音声ファイル
を読み込む記述内容に関して変換処理を行った結果を作
業ファイルに書き込む、図10の処理1005の詳細な
フローを示した。処理1201では、Webブラウザか
ら要求されたページの内容を、外部記憶装置104に格
納されたページファイル112から主記憶装置103に
読み込む。処理1202は、空の作業ファイルを外部記
憶装置104中に生成する。処理1203は、制御変数
iを0で初期化する。制御変数iの値は、前記読み込ん
だページの行番号を示している。処理1204は、制御
変数iに1を加算する。処理1205は、前記読み込ん
だページのi行目のステートメントを取り出し一時変数
LINEに設定する。FIG. 12 shows a Web browser program 13.
0, the requested page is read, and among the description contents of the read page, a result obtained by performing a conversion process on the description content of reading an image file or an audio file is written in a work file. showed that. In step 1201, the contents of the page requested by the Web browser are read from the page file 112 stored in the external storage device 104 to the main storage device 103. A process 1202 generates an empty work file in the external storage device 104. A process 1203 initializes the control variable i with 0. The value of the control variable i indicates the line number of the read page. The process 1204 adds 1 to the control variable i. A process 1205 fetches the statement on the i-th line of the read page and stores the temporary variable
Set to LINE.
【0035】以下、処理1206及び処理1207は、
一時変数LINEに設定した、前記i行目のステートメント
の記述内容の判定を行う処理ステップである。処理12
06は、一時変数LINEの内容がHTMLの画像ファイル
を読み込むタグであるか否かの判定を行う。真である場
合は処理1210へ、偽である場合は処理1207へ処
理を遷移させる。処理1210では、一時変数LINEの内
容について、ディスプレイ出力機能に関する変換処理を
行い処理1208へ進む。処理1210の詳細なフロー
は、図13に示している。処理1207は、一時変数LI
NEの内容がHTMLの音声ファイルを読み込むタグであ
るか否かの判定を行う。真である場合は処理1211
へ、偽である場合は処理1208へ処理を遷移させる。Hereinafter, the processing 1206 and the processing 1207 are as follows.
This is a processing step of determining the description content of the statement on the i-th line set in the temporary variable LINE. Processing 12
In step 06, it is determined whether or not the content of the temporary variable LINE is a tag for reading an HTML image file. If true, the process proceeds to step 1210; if false, the process proceeds to step 1207. In the process 1210, a conversion process related to the display output function is performed on the contents of the temporary variable LINE, and the process proceeds to the process 1208. The detailed flow of the processing 1210 is shown in FIG. The processing 1207 is performed by using the temporary variable LI
It is determined whether or not the content of the NE is a tag for reading an HTML audio file. If true, process 1211
If it is false, the process proceeds to the process 1208.
【0036】処理1211では、一時変数LINEの内容に
ついて、音声出力機能に関する変換処理を行い処理12
08へ進む。処理1211の詳細なフローは、図14に
示している。処理1208は、一時変数LINEの内容を前
記作業ファイルの最終行の次に書き込む。処理1209
は、制御変数iの値が、前記読み込んだページの最終ス
テートメントの行番号に一致するか否かを判定する。一
致すれば処理を終了し、一致しなければ処理1204へ
戻る。In the processing 1211, the contents of the temporary variable LINE are converted with respect to the sound output function,
Proceed to 08. The detailed flow of the processing 1211 is shown in FIG. A step 1208 writes the contents of the temporary variable LINE next to the last line of the work file. Process 1209
Determines whether the value of the control variable i matches the line number of the last statement of the read page. If they match, the process ends. If they do not match, the process returns to step 1204.
【0037】図13に、ディスプレイ出力機能に関する
ステートメントの変換処理を行う図12の処理1210
の詳細なフローを示した。本フローに先立ち、図10に
示した処理1004において、クライアント計算機のデ
ィスプレイ出力機能を示す文字列が一時変数displayに
設定されている。また、図12に示した処理1205に
おいて、Webブラウザプログラム130から要求され
たページのi行目のステートメントが一時変数LINEに設
定されている。図11に示したページ1101の例にで
は、本フローの処理対象となるステートメントは行11
10である。よって一時変数LINEには“<IMG src="htt
p://www.sample.co.jp/Image01">”が設定される。FIG. 13 shows a process 1210 shown in FIG. 12 for converting a statement relating to the display output function.
The detailed flow of was shown. Prior to this flow, in the process 1004 shown in FIG. 10, a character string indicating the display output function of the client computer is set in the temporary variable display. In the processing 1205 shown in FIG. 12, the statement on the i-th line of the page requested by the Web browser program 130 is set in the temporary variable LINE. In the example of page 1101 shown in FIG. 11, the statement to be processed in this flow is line 11
It is 10. Therefore, "<IMG src =" htt
p: //www.sample.co.jp/Image01 ">” is set.
【0038】処理1301は、一時変数displayの値が
“フルカラー”であるか否かの判定を行う。判定結果が
真である場合は処理1304へ、偽である場合は処理1
302へ処理を遷移させる。処理1304では、一時変
数LINEの内容を、ディレクトリ114に格納されたフル
カラーの色情報をもつ画像ファイル115を読み込むス
テートメント、即ち“<IMG src="http://www.sample.c
o.jp/FullColor/Image01">”に変換し、処理を終了す
る。A process 1301 determines whether or not the value of the temporary variable display is "full color". If the determination result is true, the process proceeds to step 1304;
The process transitions to 302. In processing 1304, the contents of the temporary variable LINE are read as a statement for reading the image file 115 having full-color color information stored in the directory 114, that is, “<IMG src =" http: //www.sample.c
o.jp/FullColor/Image01 ">” and finish the process.
【0039】処理1302は、一時変数displayの値が
“64K色”であるか否かの判定を行う。判定結果が真で
ある場合は処理1305へ、偽である場合は処理130
3へ処理を遷移させる。処理1305では、一時変数LI
NEの内容を、ディレクトリ116に格納された、6万4
千色以内の色情報をもつようにデータ圧縮を行った画像
ファイル117を読み込むステートメント、即ち“<IMG
src="http://www.sample.co.jp/64K/Image01">”に変
換し、処理を終了する。処理1303は、一時変数disp
layの値が“モノクロ”であるか否かの判定を行う。判
定結果が真である場合は処理1306へ処理を遷移さ
せ、偽である場合は処理を終了する。A process 1302 determines whether or not the value of the temporary variable display is “64K color”. If the determination result is true, the process proceeds to step 1305;
The process is shifted to 3. In processing 1305, the temporary variable LI
64, stored in the directory 116,
A statement for reading an image file 117 that has been subjected to data compression so as to have color information of up to a thousand colors, ie, “<IMG
src = "http://www.sample.co.jp/64K/Image01">", and the processing ends.
It is determined whether or not the value of lay is “monochrome”. If the result of the determination is true, the process proceeds to step 1306; otherwise, the process ends.
【0040】処理1306は、一時変数LINEの内容を、
ディレクトリ118に格納された、色情報を除去して画
像ファイル117よりさらに強度のデータ圧縮を行った
モノクロの画像ファイル119を読み込むステートメン
ト、即ち“<IMG src="http://www.sample.co.jp/Mono/I
mage01">”に変換し、処理を終了する。以上の処理によ
り、Webブラウザプログラム130が、本Webアプ
リケーション実行システムに対して、クライアント計算
機121では表示できない色情報を含む画像ファイルを
読み込むページを要求した場合は、色情報を削減してデ
ータ量を削減した画像ファイルを読み込むように変更を
加えたページをWebブラウザプログラム130へ返信
することが可能となる。これにより、Webブラウザプ
ログラム130が本Webアプリケーション実行システ
ムに対してページを要求してから、ページの受信を完了
しディスプレイ出力装置128上に表示するまでの消費
時間を短縮することができる。Step 1306 is a process for changing the contents of the temporary variable LINE to
A statement for reading the monochrome image file 119 stored in the directory 118 and subjected to data compression with a higher intensity than the image file 117 by removing the color information, ie, “<IMG src =" http://www.sample.co. .jp / Mono / I
mage01 ">" and the process ends. According to the above processing, when the Web browser program 130 requests the Web application execution system for a page for reading an image file including color information that cannot be displayed on the client computer 121, the color information is reduced to reduce the data amount. It is possible to return a page modified to read the reduced image file to the Web browser program 130. As a result, it is possible to reduce the consumption time from when the Web browser program 130 requests a page to the Web application execution system to when the page is completely received and displayed on the display output device 128.
【0041】図14に、音声出力機能に関するステート
メントの変換処理を行う図12の処理1211の詳細な
フローを示した。本フローに先立ち、図10に示した処
理1004において、クライアント計算機の音声出力機
能を示す文字列が一時変数soundに設定されている。ま
た、図12に示した処理1205において、Webブラ
ウザプログラム130から要求されたページのi行目の
ステートメントが一時変数LINEに設定されている。図1
1に示したページ1101の例では、本フローの処理対
象となるステートメントは行1109である。よって一
時変数LINEには“<BGSOUND src="http://www.sample.c
o.jp/Sound01">”が設定される。FIG. 14 shows a detailed flow of the processing 1211 in FIG. 12 for converting a statement relating to the voice output function. Prior to this flow, in a process 1004 shown in FIG. 10, a character string indicating the audio output function of the client computer is set in the temporary variable sound. In the processing 1205 shown in FIG. 12, the statement on the i-th line of the page requested by the Web browser program 130 is set in the temporary variable LINE. FIG.
In the example of page 1101 shown in FIG. 1, the statement to be processed in this flow is line 1109. Therefore, "<BGSOUND src =" http: //www.sample.c
o.jp/Sound01 ">” is set.
【0042】処理1401は、一時変数soundの値が
“OK”であるか否かの判定を行う。判定結果が真であ
る場合は、記述内容の変換処理を行わずに処理を終了
し、判定結果が偽である場合は、処理1402へ処理を
遷移させる。処理1402は、一時変数soundの値が
“NG”であるか否かの判定を行う。判定結果が真であ
る場合は処理1403へ処理を遷移させ、偽である場合
は処理を終了する。The process 1401 determines whether or not the value of the temporary variable sound is "OK". If the determination result is true, the process ends without performing the description content conversion process, and if the determination result is false, the process is shifted to process 1402. The process 1402 determines whether or not the value of the temporary variable sound is “NG”. If the result of the determination is true, the process proceeds to step 1403; otherwise, the process ends.
【0043】処理1403は、一時変数LINEに空の文字
列“”を設定し、処理を終了する。以上の処理により、
本Webアプリケーション実行システムが、音声出力機
能をもたないクライアント計算機121上のWebブラ
ウザプログラム130からページの要求を受けた場合
は、音声ファイルを読み込まないように変更を加えたペ
ージをWebブラウザプログラム130へ返信すること
が可能となる。これにより、Webブラウザプログラム
130が本Webアプリケーション実行システムに対し
てページを要求してから、ページの受信を完了するまで
の消費時間を短縮することができる。In step 1403, an empty character string "" is set in the temporary variable LINE, and the process ends. By the above processing,
When the web application execution system receives a page request from the web browser program 130 on the client computer 121 having no voice output function, the web browser program 130 changes the page modified so that the voice file is not read. It is possible to reply to As a result, it is possible to reduce the time consumed from when the Web browser program 130 requests a page to the Web application execution system to when the reception of the page is completed.
【0044】以上の説明により、Webアプリケーショ
ン実行時において、ディスプレイ出力機能あるいは音声
出力機能が乏しいクライアント計算機を使用する場合
に、ページを要求してからページの受信を完了するまで
の消費時間を短縮することができる。As described above, when a client computer having a poor display output function or sound output function is used during execution of a Web application, the time consumed from requesting a page to completing reception of the page is reduced. be able to.
【0045】[0045]
【発明の効果】Webアプリケーション実行時におい
て、サーバ計算機上で、クライアント計算機の型式ごと
にデータ出力機能を管理し、クライアント計算機の型式
に応じて、要求されたページをクライアント計算機が実
際に出力可能なデータのみを含む内容に変換してからク
ライアント計算機に返信することで、クライアント計算
機がページを要求してからページの受信を完了するまで
の消費時間を短縮することが可能になる。According to the present invention, when a Web application is executed, a data output function is managed for each model of a client computer on a server computer, and the client computer can actually output a requested page according to the model of the client computer. By converting the content into a content containing only data and returning the content to the client computer, it is possible to reduce the time consumed from when the client computer requests a page to when the page is completely received.
【図1】本発明のWebアプリケーション実行システム
の構成を示す図である。FIG. 1 is a diagram showing a configuration of a Web application execution system of the present invention.
【図2】本発明のWebブラウザプログラムのフローを
示す図である。FIG. 2 is a diagram showing a flow of a Web browser program of the present invention.
【図3】本発明のHTMLで記述したページの内容を示
す図である。FIG. 3 is a diagram showing contents of a page described in HTML according to the present invention.
【図4】クライアント計算機の型式情報を検査するプロ
グラムのフローを示す図である。FIG. 4 is a diagram showing a flow of a program for checking type information of a client computer.
【図5】計算機型式情報登録ファイルの記述形式を示す
図である。FIG. 5 is a diagram showing a description format of a computer model information registration file.
【図6】Webアプリケーション実行プログラムのフロ
ーを示す図である。FIG. 6 is a diagram showing a flow of a Web application execution program.
【図7】クライアント計算機情報登録プログラムのフロ
ーを示す図である。FIG. 7 is a diagram showing a flow of a client computer information registration program.
【図8】計算機情報管理テーブルを示す図である。FIG. 8 is a diagram showing a computer information management table.
【図9】ページ変換ルール管理テーブルを示す図であ
る。FIG. 9 is a diagram showing a page conversion rule management table.
【図10】ページの読み込みと変換を行い変換後のペー
ジを返信する処理のフローを示す図である。FIG. 10 is a diagram showing a flow of processing for reading and converting a page and returning a converted page.
【図11】HTMLで記述した画像データと音声データ
を含むページの内容を示す図である。FIG. 11 is a diagram showing contents of a page including image data and audio data described in HTML.
【図12】ページの読み込みと変換を行い変換結果を作
業ファイルに書き込む処理のフローを示す図である。FIG. 12 is a diagram showing a flow of processing for reading and converting a page and writing a conversion result in a work file.
【図13】ディスプレイ出力機能に関する変換処理のフ
ローを示す図である。FIG. 13 is a diagram showing a flow of a conversion process regarding a display output function.
【図14】音声出力機能に関する変換処理のフローを示
す図である。FIG. 14 is a diagram showing a flow of a conversion process regarding an audio output function.
101…サーバ計算機、 102…中央処理装置、
103…主記憶装置、104…外部記憶装置、 10
5…LANアダプタ、106…バス、107…Webサ
ーバプログラム、108…クライアント計算機情報登録
プログラム、109…計算機型式情報管理テーブル、1
10…Webアプリケーション実行プログラム、111
…ページ変換ルール管理テーブル、112…Webアプ
リケーションを構成するページ、113…音声ファイ
ル、 114…ディレクトリ、 115…画像ファイ
ル、116…ディレクトリ、 117…画像ファイ
ル、 118…ディレクトリ、119…モノクロの画像
ファイル、 120…ネットワーク網、121…クラ
イアント計算機、 122…バス、123…中央
処理装置、 124…主記憶装置、 125…外部
記憶装置、126…LANアダプタ、 127…入力装
置、128…ディスプレイ出力装置、
129…音声出力装置、130…Webブラウザプ
ログラム、131…クライアント計算機検査プログラ
ム、132…計算機型式情報登録ファイル。101: server computer, 102: central processing unit,
103: main storage device, 104: external storage device, 10
5 LAN adapter, 106 bus, 107 Web server program, 108 client computer information registration program, 109 computer type information management table, 1
10: Web application execution program, 111
... Page conversion rule management table, 112 ... Pages constituting a Web application, 113 ... Audio file, 114 ... Directory, 115 ... Image file, 116 ... Directory, 117 ... Image file, 118 ... Directory, 119 ... Monochrome image file, Reference numeral 120: network network, 121: client computer, 122: bus, 123: central processing unit, 124: main storage device, 125: external storage device, 126: LAN adapter, 127: input device, 128: display output device,
129: Voice output device, 130: Web browser program, 131: Client computer inspection program, 132: Computer model information registration file
Claims (2)
置を接続したネットワーク環境上で複数のHTMLファ
イルから構成されるWebアプリケーションを実行する
サーバ計算機において、クライアント計算機から計算機
型式を受信するステップと、前記計算機型式に対応づけ
て前記クライアント計算機の画像および音声の出力機能
の情報を予め管理しておき、前記受信した計算機型式を
キーに前記画像および音声の出力機能の情報を取得する
ステップと、前記取得した画像および音声の出力機能の
情報を前記クライアント計算機のWebブラウザとの接
続を維持するキーに対応づけてテーブルに設定するステ
ップと、前記接続を維持するキーにもとづき前記テーブ
ルから前記画像および音声の出力機能の情報を取得する
ステップと、前記Webブラウザから要求された前記H
TMLファイルを読み込むステップと、前記HTMLフ
ァイルに含まれる画像または音声ファイルを読み込む記
述に関して記述内容の変更を行うステップと、変更後の
前記HTMLファイルを前記Webブラウザに送信する
ステップとを有することを特徴とするWebアプリケー
ション実行方法。A server for executing a Web application composed of a plurality of HTML files on a network environment in which an information processing apparatus having a computer and an interactive terminal is connected; receiving a computer model from a client computer; Managing the image and sound output function information of the client computer in advance in association with the computer model, and acquiring the image and sound output function information using the received computer model as a key; and Setting the information of the output function of the image and the sound in the table in association with the key for maintaining the connection with the Web browser of the client computer; and, based on the key for maintaining the connection, the information of the image and the sound from the table. Obtaining information of an output function; The H that has been requested from the eb browser
A step of reading a TML file, a step of changing the description of a description of reading an image or a sound file included in the HTML file, and a step of transmitting the changed HTML file to the Web browser. Web application execution method.
アント計算機上のファイルに登録しておき、前記ファイ
ルから前記計算機型式を取得して、前記クライアント計
算機のWebブラウザとサーバ計算機との接続を維持す
るキーと対応づけてサーバ計算機に送信することを特徴
とするWebアプリケーション実行方法。2. The computer model according to claim 1, which is registered in a file on a client computer in advance, obtains said computer model from said file, and establishes a connection between a Web browser of said client computer and a server computer. A Web application execution method, wherein the Web application execution method is transmitted to a server computer in association with a key to be maintained.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10160209A JPH11353261A (en) | 1998-06-09 | 1998-06-09 | Web application execution method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10160209A JPH11353261A (en) | 1998-06-09 | 1998-06-09 | Web application execution method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH11353261A true JPH11353261A (en) | 1999-12-24 |
Family
ID=15710122
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10160209A Pending JPH11353261A (en) | 1998-06-09 | 1998-06-09 | Web application execution method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH11353261A (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2001048616A1 (en) * | 1999-12-27 | 2001-07-05 | Keisuke Yamamoto | Information transmission system, information transmission method, computer program storage medium where information transmission program is stored |
| WO2001065377A1 (en) * | 2000-03-01 | 2001-09-07 | Flex-Firm Inc. | Contents providing service |
| JP2001256142A (en) * | 2000-03-09 | 2001-09-21 | Toshiba Corp | Voice information providing method and voice information providing apparatus |
| JP2002123415A (en) * | 2000-10-16 | 2002-04-26 | Ricoh Co Ltd | Content management methods |
| WO2002044906A1 (en) * | 2000-11-29 | 2002-06-06 | Flex-Firm Inc. | Contents providing method |
| WO2002044907A1 (en) * | 2000-11-29 | 2002-06-06 | Flex-Firm Inc. | Contents providing method |
| JP2002304564A (en) * | 2001-04-06 | 2002-10-18 | Atmark Venture Kk | Coupon treating method and coupon issuing system to be used for the same method and coupon transaction terminal and coupon use managing system and coupon registering system and coupon selecting system and coupon preview program |
| JP2002342206A (en) * | 2001-05-18 | 2002-11-29 | Fujitsu Ltd | Information providing program, information providing method, and recording medium |
-
1998
- 1998-06-09 JP JP10160209A patent/JPH11353261A/en active Pending
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2001048616A1 (en) * | 1999-12-27 | 2001-07-05 | Keisuke Yamamoto | Information transmission system, information transmission method, computer program storage medium where information transmission program is stored |
| WO2001065377A1 (en) * | 2000-03-01 | 2001-09-07 | Flex-Firm Inc. | Contents providing service |
| WO2001065376A1 (en) * | 2000-03-01 | 2001-09-07 | Flex-Firm Inc. | Contents providing method |
| JP2001256142A (en) * | 2000-03-09 | 2001-09-21 | Toshiba Corp | Voice information providing method and voice information providing apparatus |
| JP2002123415A (en) * | 2000-10-16 | 2002-04-26 | Ricoh Co Ltd | Content management methods |
| WO2002044906A1 (en) * | 2000-11-29 | 2002-06-06 | Flex-Firm Inc. | Contents providing method |
| WO2002044907A1 (en) * | 2000-11-29 | 2002-06-06 | Flex-Firm Inc. | Contents providing method |
| JP2002304564A (en) * | 2001-04-06 | 2002-10-18 | Atmark Venture Kk | Coupon treating method and coupon issuing system to be used for the same method and coupon transaction terminal and coupon use managing system and coupon registering system and coupon selecting system and coupon preview program |
| JP2002342206A (en) * | 2001-05-18 | 2002-11-29 | Fujitsu Ltd | Information providing program, information providing method, and recording medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7194678B1 (en) | Dynamic web page generation method and system | |
| US8589388B2 (en) | Method, system, and software for transmission of information | |
| JPH0981445A (en) | Information management device | |
| US6370536B1 (en) | Information management apparatus and information management program recording medium for compressing paragraph information | |
| KR100317401B1 (en) | Apparatus and method for printing related web pages | |
| US7970944B2 (en) | System and method for platform and language-independent development and delivery of page-based content | |
| US20110066704A1 (en) | Method and System of Recording and Reproducing Web Application Operation | |
| JP3862470B2 (en) | Data processing apparatus and method, browser system, browser apparatus, and recording medium | |
| JPH11353261A (en) | Web application execution method | |
| US8230002B2 (en) | Method and system for automatic setup in web-based applications | |
| US20040201591A1 (en) | Data transfer method, data transfer program, storage medium and information terminal | |
| JP4405695B2 (en) | Update information automatic display method, apparatus, medium, and program | |
| US20010049733A1 (en) | Content distribution system | |
| JP4328447B2 (en) | Web page format standardization server that functions as a relay server | |
| JP3990671B2 (en) | Information management apparatus and information management method | |
| JP2000242540A (en) | Content management system, method thereof, and computer-readable recording medium recording content management program | |
| EP0907132A1 (en) | Page transition system, device to implement the same, and medium having a program and data recorded thereon | |
| US20100121982A1 (en) | Moving-picture processing device and moving-picture processing method | |
| JP4013354B2 (en) | Data fixing system, data fixing device, data relay device, information terminal device, computer-readable recording medium recording data fixing program, computer-readable recording medium recording data relay program, and information terminal program Computer-readable recording medium on which is recorded | |
| US20050010669A1 (en) | Method and system for managing programs for web service system | |
| US20080256252A1 (en) | Server apparatus, content processing method therefor, content processing program therefor, server system and recording medium | |
| JP2000285060A (en) | Data transfer method, computer-readable recording medium, and data transfer device | |
| JPH113266A (en) | Data transfer system and data transfer method | |
| Wong et al. | A multimedia presentation toolkit for the World Wide Web | |
| CN116662685A (en) | Information processing method, device, storage medium and electronic equipment |