JP2006099621A - Network system, computer system, and computer program - Google Patents

Network system, computer system, and computer program Download PDF

Info

Publication number
JP2006099621A
JP2006099621A JP2004287275A JP2004287275A JP2006099621A JP 2006099621 A JP2006099621 A JP 2006099621A JP 2004287275 A JP2004287275 A JP 2004287275A JP 2004287275 A JP2004287275 A JP 2004287275A JP 2006099621 A JP2006099621 A JP 2006099621A
Authority
JP
Japan
Prior art keywords
timer
time
applet
operating system
agent
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.)
Granted
Application number
JP2004287275A
Other languages
Japanese (ja)
Other versions
JP4271639B2 (en
Inventor
Toshiharu Taguchi
田口  俊晴
Hiromi Suzuki
浩巳 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Precision Inc
Original Assignee
Seiko Precision Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Precision Inc filed Critical Seiko Precision Inc
Priority to JP2004287275A priority Critical patent/JP4271639B2/en
Publication of JP2006099621A publication Critical patent/JP2006099621A/en
Application granted granted Critical
Publication of JP4271639B2 publication Critical patent/JP4271639B2/en
Anticipated expiration legal-status Critical
Active legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Computer And Data Communications (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To synchronize a timer automatically between a client using a server device and a Java(R) applet. <P>SOLUTION: A client device 4 is provided with a timer 1002, an OS 15, a browser 11, and an agent program 13. The server device 2 is provided with a timer 1001. The agent program 13 activates the browser 11 in response to a request of application, while the browser 11 accesses the server device 2 to download the Java(R) applet 12. The Java(R) applet 12 receives time information on the server device 2 in exchange with a servlet 22 to provide it for the agent program 13. The agent program 13 requests time correction of an API of the OS 15 on the basis of the time information from the Java(R) applet. The OS 15 controls a time of the timer 1002. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

この発明はネットワークシステムにおいて、それぞれが保有する時刻を同期させることが可能なサーバシステムとクライアントシステム及びそれらを備えたネットワークシステムに関する。   The present invention relates to a server system and a client system that can synchronize their respective times in a network system, and a network system including them.

ネットワークシステムにおいては、クライアントとサーバ間で時刻を同期させる必要があることが多い。従来は、この種の処理は、ユーザがクライアントを操作して行っていたが、信頼性に欠け、また、利用者の負担が大きいことから、自動化の要望が強い。   In a network system, it is often necessary to synchronize time between a client and a server. Conventionally, this type of processing has been performed by a user operating a client, but there is a strong demand for automation due to lack of reliability and a heavy burden on the user.

このような要望を満たす技術として、特許文献1には、サーバからの指示で、クライアントにおいて、クロックサンプリングの周期を変更することにより、時刻の同調を実現する手法が開示されている。
特開平6−216889号公報
As a technique that satisfies such a demand, Patent Document 1 discloses a technique for realizing time synchronization by changing a clock sampling period at a client in accordance with an instruction from a server.
JP-A-6-216889

一方、クライアントを構成するアプリケーションがJava(登録商標)アプレット(以降、単にアプレットともいう。)で構成されることが多くなっている。Java(登録商標)アプレットとは、ネットワークを通じてWebブラウザにダウンロードされ、ブラウザに埋め込まれて実行されるJava(登録商標)プログラムのことである。アプレットを使うことにより、例えば、HTMLで記述された静的なWebページでは実現できない動的な表現が可能となる。また、Webブラウザのみで利用することができるネットワークゲームやチャットプログラムを開発することもできる。   On the other hand, an application that constitutes a client is often constituted by a Java (registered trademark) applet (hereinafter also simply referred to as an applet). A Java (registered trademark) applet is a Java (registered trademark) program that is downloaded to a Web browser through a network and embedded and executed in the browser. By using an applet, for example, a dynamic expression that cannot be realized by a static Web page described in HTML becomes possible. It is also possible to develop network games and chat programs that can be used only with a Web browser.

但し、Java(登録商標)アプレットはHTMLに組み込まれるため、Java(登録商標)アプレットを悪用してユーザのコンピュータに被害を与えることのないように、ユーザのハードディスクの内容を読み書きしたり、自分が呼び出されたWebサーバ以外のコンピュータに接続したり、他のアプリケーションソフトを起動したりすることはできないようにセキュリティ制約が付いている。なお、サインド(署名付き)アプレットでは、その正当性を示す電子署名が添えられ、ダウンロード時にされるユーザの確認操作の後にダウンロードされることでセキュリティが担保されている。このため、サインドアプレットでは、一時的にユーザーコンピュータ上のファイル操作が可能なまでにセキュリティポリシーを緩めることが可能となっている。しかしながら、このようなサインドアプレットであってもレジストリや環境変数と言ったシステムリソースを変更することは禁止されている。   However, since the Java (registered trademark) applet is incorporated into HTML, the contents of the user's hard disk can be read and written so that the user's computer is not damaged by exploiting the Java (registered trademark) applet. Security restrictions are attached so that it is not possible to connect to a computer other than the called Web server or to start other application software. Note that a signed (signed) applet is accompanied by an electronic signature indicating its correctness, and security is ensured by being downloaded after a user confirmation operation at the time of downloading. For this reason, in the signed applet, it is possible to relax the security policy before the file operation on the user computer can be temporarily performed. However, even such a signed applet is prohibited from changing system resources such as registries and environment variables.

このため、Java(登録商標)アプレットを使用するクライアントで、サーバと時刻を同期させる処理を自動化しようとしても、Java(登録商標)固有の問題で実現困難であった。   For this reason, even if a client using a Java (registered trademark) applet attempts to automate the process of synchronizing the time with the server, it is difficult to realize due to a problem inherent in Java (registered trademark).

また、サーバ装置とJava(登録商標)アプレットを使用するクライアント装置間で任意のタイミングを基準とする処理を実行しようとしても、時刻の同期が困難であるため、ログデータがちぐはぐになる等の問題があった。   In addition, even if an attempt is made to execute processing based on an arbitrary timing between a server device and a client device that uses a Java (registered trademark) applet, it is difficult to synchronize the time, and thus log data becomes confused. was there.

本発明は、サーバ装置とJava(登録商標)アプレットを使用するクライアント装置間で、自動的に時刻を同期させることを可能とすることを目的とする。
また、本発明は、サーバ装置とJava(登録商標)アプレットを使用するクライアント装置との間で、同期しているタイマを使用して、様々な処理を実行可能とすることを他の目的とする。
An object of the present invention is to automatically synchronize the time between a server apparatus and a client apparatus using a Java (registered trademark) applet.
Another object of the present invention is to enable various processes to be executed between a server apparatus and a client apparatus using a Java (registered trademark) applet by using a synchronized timer. .

上記目的を達成するため、本発明の第1の観点に係るネットワークシステムは、
第1のタイマと、前記第1のタイマを制御するオペレーティングシステムと、前記オペレーティングシステム上で動作するブラウザと、前記オペレーティングシステム上で動作するエージェントプログラムと、を備えるクライアント装置と、
第2のタイマを備え、前記クライアント装置からのアクセスに応答して、前記第2のタイマの計時時刻を示す時刻情報を前記クライアント装置に送信するサーブレットを備えるサーバ装置と、
から構成され、
前記エージェントプログラムは、所定条件の成立により、前記ブラウザを起動し、
該ブラウザは、前記サーバ装置にアクセスして該サーバ装置の前記サーブレットからタイマ修正用のJava(登録商標)アプレットをダウンロードし、
前記Java(登録商標)アプレットは、前記サーバ装置にアクセスして前記サーブレットより時刻情報を受信して前記エージェントプログラムに提供し、
前記エージェントプログラムは前記Java(登録商標)アプレットから提供された前記時刻情報に基づいて、前記オペレーティングシステムのアプリケーションインタフェースに時刻情報の修正を依頼し、
前記オペレーティングシステムは、前記エージェントプログラムからの依頼に基づいて、前記第1のタイマを修正する、
ことを特徴とする。
In order to achieve the above object, a network system according to the first aspect of the present invention provides:
A client device comprising: a first timer; an operating system that controls the first timer; a browser that operates on the operating system; and an agent program that operates on the operating system;
A server device comprising a servlet comprising a second timer, and in response to an access from the client device, transmitting time information indicating a time measured by the second timer to the client device;
Consisting of
The agent program starts the browser when a predetermined condition is satisfied,
The browser accesses the server device, downloads a Java (registered trademark) applet for timer correction from the servlet of the server device,
The Java (registered trademark) applet accesses the server device, receives time information from the servlet, and provides it to the agent program.
The agent program requests correction of time information to the application interface of the operating system based on the time information provided from the Java (registered trademark) applet,
The operating system modifies the first timer based on a request from the agent program;
It is characterized by that.

また、この発明の第2の観点に係るコンピュータシステムは、
タイマと
前記タイマを管理するオペレーティングシステムと、
前記オペレーティングシステム上で動作するブラウザと、
前記オペレーティングシステム上で動作するエージェントプログラムと、
を備え、
前記エージェントプログラムは、所定条件の成立により、前記ブラウザを起動し、
該ブラウザは、他の装置にアクセスして該他の装置からタイマ修正用のJava(登録商標)アプレットをダウンロードし、
前記Java(登録商標)アプレットは、前記他の装置にアクセスして時刻情報を受信して前記エージェントプログラムに提供し、
前記エージェントプログラムは前記Java(登録商標)アプレットから提供された時刻情報に基づいて、前記オペレーティングシステムのアプリケーションインタフェースに時刻情報の修正を依頼し、
前記オペレーティングシステムは、前記エージェントプログラムからの依頼に基づいて、前記タイマを修正する、
ことを特徴とする。
A computer system according to the second aspect of the present invention provides:
A timer and an operating system for managing the timer;
A browser running on the operating system;
An agent program operating on the operating system;
With
The agent program starts the browser when a predetermined condition is satisfied,
The browser accesses another device, downloads a Java (registered trademark) applet for timer correction from the other device,
The Java (registered trademark) applet accesses the other device, receives time information, and provides it to the agent program;
The agent program requests the operating system application interface to correct the time information based on the time information provided from the Java (registered trademark) applet,
The operating system modifies the timer based on a request from the agent program.
It is characterized by that.

前記クライアント装置又はコンピュータシステムは、例えば、タイマの計時時刻の制御・修正を行うか否かを指定する制御情報を記憶する手段を備える。この場合、前記Java(登録商標)アプレットは、前記制御情報がタイマの制御・修正を行うことを指定しているときに、前記エージェントプログラムに時刻の修正・調整を指示する。   For example, the client device or the computer system includes means for storing control information for designating whether or not to control and correct the timer timing. In this case, the Java (registered trademark) applet instructs the agent program to correct / adjust the time when the control information specifies that the timer be controlled / corrected.

前記エージェントプログラムは、例えば、前記Java(登録商標)アプレットから提供された前記時刻情報が示す時刻とタイマが計時している時刻との差(絶対値)が所定の閾値より大きいときに、前記オペレーティングシステムに時刻の修正を指示する。   For example, when the difference (absolute value) between the time indicated by the time information provided from the Java (registered trademark) applet and the time measured by the timer is larger than a predetermined threshold, the agent program operates as the operating program. Instructs the system to correct the time.

また、動作スケジュールを規定するスケジュールファイルと、前記スケジュールと前記タイマの計時時刻とに従って、前記エージェントプログラムに時刻修正動作の起動をかけるアプリケーションプログラムと、をさらに配置してもよい。   Further, a schedule file that defines an operation schedule, and an application program that activates a time correction operation to the agent program according to the schedule and the time measured by the timer may be further arranged.

また、コンピュータを上述のクライアント装置或いはコンピュータシステムとして動作させるアプリケーションプログラムやエージェントプログラムを記録媒体に格納して配布したり、搬送波に重畳してネットワークを介して送信したりしてもよい。   In addition, an application program or an agent program that causes a computer to operate as the above-described client device or computer system may be stored in a recording medium and distributed, or may be superimposed on a carrier wave and transmitted via a network.

本発明によれば、Java(登録商標)アプレットを用いたシステムにおいて、タイマの計時時刻を自動で適切に調整することが可能となる。   According to the present invention, in a system using a Java (registered trademark) applet, it is possible to automatically and appropriately adjust the time count of the timer.

以下、図面を参照して本発明の実施の形態について詳細に説明する。
本実施の形態のネットワークシステムは、Webサーバ端末と、Webクライアント端末とから構成され、Webクライアント端末が、Webサーバ端末から時刻情報を得て、オペレーティングシステム内のタイマの時刻を修正することにより、Webサーバ端末とWebクライアント端末との時刻を同期させるシステムである。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
The network system according to the present embodiment includes a Web server terminal and a Web client terminal. The Web client terminal obtains time information from the Web server terminal and corrects the time of a timer in the operating system. This is a system for synchronizing the time of a Web server terminal and a Web client terminal.

より、詳細に説明すると、本実施の形態のネットワークシステムは、図1に示すように、Webサーバ端末2と、該Webサーバ端末2にインターネット又はイントラネット(Web)を介して接続されたWebクライアント端末4とから構成される。なお、図1では、Webクライアント端末4を1台のみ記載しているが、同様の構成を有するWebクライアント端末4が複数台Webに接続されている。   More specifically, as shown in FIG. 1, the network system according to the present embodiment includes a Web server terminal 2 and a Web client terminal connected to the Web server terminal 2 via the Internet or an intranet (Web). 4. Although only one Web client terminal 4 is shown in FIG. 1, a plurality of Web client terminals 4 having the same configuration are connected to the Web.

Webクライアント端末4は、Webクライアント部1のWebブラウザ11(アプレット12を動作させる為にJava(登録商標)Plug−inが挿入されている)から、Webサーバ端末2にWebを介してアクセスして、Webサーバ端末2から、Webクライアント部1のWebブラウザ11にアプレット12をダウンロードする。続いて、このアプレット12がWebサーバ端末2のサーブレット22から時刻情報を得て、Webクライアント部1のエージェント(エージェントプログラム)13に時刻情報を渡し、エージェント13からWebクライアント端末4のオペレーティングシステム15内のタイマ1002の時刻を修正する。これにより、Webサーバ端末2とWebクライアント端末4との間の時刻が同期する。   The Web client terminal 4 accesses the Web server terminal 2 via the Web from the Web browser 11 of the Web client unit 1 (Java (registered trademark) Plug-in is inserted to operate the applet 12). The applet 12 is downloaded from the Web server terminal 2 to the Web browser 11 of the Web client unit 1. Subsequently, the applet 12 obtains time information from the servlet 22 of the Web server terminal 2, passes the time information to the agent (agent program) 13 of the Web client unit 1, and from the agent 13 in the operating system 15 of the Web client terminal 4. The time of the timer 1002 is corrected. Thereby, the time between the Web server terminal 2 and the Web client terminal 4 is synchronized.

なお、Java(登録商標)アプレットとは、サンマイクロシステムズ社のJava(登録商標)言語で記述され、WebサーバからWebブラウザにダウンロードされ、Webブラウザを仮想マシンとして実行されるプログラムの総称であり、HTMLだけではできないダイナミックな表現を可能とする。   The Java (registered trademark) applet is a general term for programs that are written in the Java (registered trademark) language of Sun Microsystems, Inc., downloaded from a Web server to a Web browser, and executed as a virtual machine. Enables dynamic expression that is not possible with HTML alone.

アプレットは、HTMLに組み込まれるため、アプレットを悪用してユーザのコンピュータに被害を与えることのないように、ユーザのハードディスクの内容を読み書きしたり、自分が呼び出されたWebサーバ端末以外のコンピュータに接続したり、他のアプリケーションソフトを起動したりすることはできないようにセキュリティ制約がついている。ここで、アプレット12はサインドアプレットとしてあり、セキュリティを担保しているが、サインドアプレットであってもオペレーティングシステム15のシステムリソースの変更は禁止されている。つまり、アプレット12がオペレーティングシステム15のシステムリソースとして制御されるタイマ1002を直接修正するようなこともできない構成になっている。   Since the applet is embedded in the HTML, the contents of the user's hard disk can be read and written, or connected to a computer other than the Web server terminal where the user is called so that the applet is not abused and the user's computer is not damaged. Security constraints are imposed so that other application software cannot be started. Here, the applet 12 is a signed applet and ensures security. However, even if it is a signed applet, the change of the system resources of the operating system 15 is prohibited. In other words, the applet 12 cannot directly modify the timer 1002 that is controlled as a system resource of the operating system 15.

なお、同期させたWebサーバ端末2のタイマ1001とWebクライアント端末4のタイマ1002とを用いてどのような処理を行うかは任意である。例えば、予め定めたスケジュールに従って、タイマ1002の計時時刻が所定時刻になると、Webサーバ端末2とWebクライアント端末4との間でファイルの交換を行う等の処理が可能である。   In addition, what kind of processing is performed using the timer 1001 of the synchronized Web server terminal 2 and the timer 1002 of the Web client terminal 4 is arbitrary. For example, according to a predetermined schedule, when the time measured by the timer 1002 reaches a predetermined time, processing such as file exchange between the Web server terminal 2 and the Web client terminal 4 can be performed.

図1に戻り、本実施の形態に係るネットワークシステムの構成の詳細について説明する。   Returning to FIG. 1, the details of the configuration of the network system according to the present embodiment will be described.

Webサーバ端末2は、時刻修正・伝送のためのサーブレット・アプレットをWebクライアント端末4に提供するWebサーバプログラム(以下、Webサーバと言う)21を備える。Webサーバ21は、サーブレット22を実行させるとともに、Webブラウザ11のアクセスを受け、アプレット12をWebクライアント端末4にダウンロードさせる。   The Web server terminal 2 includes a Web server program (hereinafter referred to as a Web server) 21 that provides a servlet / applet for time correction and transmission to the Web client terminal 4. The Web server 21 executes the servlet 22 and receives the access from the Web browser 11 to download the applet 12 to the Web client terminal 4.

また、Webサーバ端末2は、電波時計、テレホンJJYなどの信頼度の高い時刻源に基づいて自己の計時する時刻を修正され、信頼度の高い時刻を計時するタイマ(計時装置)1001と、タイマ1001が保有する時刻情報のアクセスを管理する情報(後述のユーザID、パスワード等)を格納するアクセス管理データベース(DB)23とを備える。   The Web server terminal 2 includes a timer (timer device) 1001 that corrects the time measured by itself based on a highly reliable time source such as a radio clock, telephone JJY, and clocks a highly reliable time, a timer And an access management database (DB) 23 for storing information (user ID, password, etc., which will be described later) for managing access of time information held by 1001.

Webサーバ端末2のオペレーティングシステムとしてはマイクロソフト社のWindows(登録商標)2000 Server SP4、IBM社のAIX 5L Version5.1、レッドハット社のRed Hat Enterprise Linux AS 2.1等を利用すれば良い。また、Webサーバ21を構築するWebサーバプログラム、言い換えれば、HTTP(Hyper Text Transfer Protocol)サーバプログラムとしては、アパッチソフトウェアファウンデーションのApache 2.0.48等が利用できる。また、サーブレット22を実行するJava(登録商標)サーブレットコンテナとしてはアパッチソフトウェアファウンデーションのTomcat 5.0.19等が利用できる。アクセス管理データベース23は、例えば、米国カリフォルニア大学本校及びPostgreSQL国際開発チームのPostgreSQL等を利用して構築できるし、その他のデータベースアプリケーションを利用しても良い。   As the operating system of the Web server terminal 2, Microsoft's Windows (registered trademark) 2000 Server SP4, IBM's AIX 5L Version 5.1, Red Hat's Red Hat Enterprise Linux AS 2.1, or the like may be used. As a Web server program for constructing the Web server 21, in other words, an HTTP (Hyper Text Transfer Protocol) server program, Apache 2.0. Further, as a Java (registered trademark) servlet container for executing the servlet 22, Tomcat 5.0.19 of Apache Software Foundation can be used. The access management database 23 can be constructed using, for example, PostgreSQL of the University of California, USA and PostgreSQL International Development Team, or other database applications.

Webクライアント端末4は、Webクライアント部1と、アプリケーション部3と、オペレーティングシステム(OS)15と、設定ファイル16と,タイマ1002とを備える。   The Web client terminal 4 includes a Web client unit 1, an application unit 3, an operating system (OS) 15, a setting file 16, and a timer 1002.

Webクライアント部1は、マイクロソフト社のInternet Explorer等のアプレットを実行する仮想マシン機能を備えたWebブラウザ11を備える。Webブラウザ11は、Webサーバ端末2からダウンロードされるアプレット12を実行し、Webサーバ端末2上のサーブレット22との間で時刻情報の取得、時刻修正の要求、及び伝送を行うものである。   The Web client unit 1 includes a Web browser 11 having a virtual machine function for executing an applet such as Microsoft Internet Explorer. The web browser 11 executes the applet 12 downloaded from the web server terminal 2, and acquires time information, requests for time correction, and transmission with the servlet 22 on the web server terminal 2.

Webクライアント部1は、Webブラウザ(ウエブブラウザプログラム)11及びアプレット12及びエージェント13を備える。エージェント13はアプレット12及びアプリケーション(アプリケーションプログラム)31から送られる後述する各種コマンドに応じて、通信のセッション毎にWebブラウザ11及びアプレット12を制御するためにセッション管理テーブル130を備える。なお、セッション管理テーブル130の詳細は後述する。   The web client unit 1 includes a web browser (web browser program) 11, an applet 12, and an agent 13. The agent 13 includes a session management table 130 for controlling the Web browser 11 and the applet 12 for each communication session according to various commands to be described later sent from the applet 12 and the application (application program) 31. Details of the session management table 130 will be described later.

アプリケーション部3は、アプリケーション31を備えている。アプリケーション31は、アプレット12、エージェント13に対して各種コマンドを送受信する機能を備えたAPI(Application Program Interface)32を備える。アプリケーション31は、例えば、オートパイロットプログラムであり、電源立ち上げ時と所定の日時に、API32を介してWebクライアント部1に伝送要求をかけるメインプログラム34を備える。   The application unit 3 includes an application 31. The application 31 includes an API (Application Program Interface) 32 having a function of transmitting and receiving various commands to and from the applet 12 and the agent 13. The application 31 is, for example, an autopilot program, and includes a main program 34 that makes a transmission request to the Web client unit 1 via the API 32 at the time of power-on and at a predetermined date and time.

これら、Webブラウザ11、エージェント13、アプリケーション31は、Webクライアント端末4のオペレーティングシステム15上で実行される。オペレーティングシステム15としては、例えば、マイクロソフト社のWindows(登録商標)98/NT/2000/XP等を利用すれば良い。   These web browser 11, agent 13, and application 31 are executed on the operating system 15 of the web client terminal 4. As the operating system 15, for example, Windows (registered trademark) 98 / NT / 2000 / XP of Microsoft Corporation may be used.

設定ファイル16は、Webクライアント端末4がタイマ1002の時刻調整を行う制御情報としての条件情報を格納する。この条件情報は、例えば、利用者の入力操作により設定される。この設定ファイル16には、例えば、図2に示すように、設定ファイル16内にセット・リセットされる時刻修正フラグがセット状態で(ステップS11;Yes)、Webサーバ端末2からダウンロードされた時刻情報が示す時刻(Webサーバ端末2のタイマ1001の計時時刻)とタイマ1002の計時時刻との差が所定の閾値以上の場合(ステップS12;Yes)にのみ、タイマ1002の時刻をダウンロードした時刻情報が示す時刻に修正する(ステップS13)、ことが設定されている。   The setting file 16 stores condition information as control information for the Web client terminal 4 to adjust the time of the timer 1002. This condition information is set, for example, by a user input operation. In this setting file 16, for example, as shown in FIG. 2, the time correction flag set / reset in the setting file 16 is set (step S <b> 11; Yes), and the time information downloaded from the Web server terminal 2. When the difference between the time indicated by (the time measured by the timer 1001 of the Web server terminal 2) and the time measured by the timer 1002 is equal to or larger than a predetermined threshold (step S12; Yes), the time information obtained by downloading the time of the timer 1002 is It is set to be corrected at the indicated time (step S13).

タイマ1002は、このWebクライアント端末4のローカル時刻を計時する。タイマ1002は、オペレーティングシステム15の管理下にあり、図2に示す条件が成立したときに、後述する手順により、タイマ1001の計時時刻に一致するように修正される。   The timer 1002 measures the local time of the Web client terminal 4. The timer 1002 is under the management of the operating system 15 and is corrected to coincide with the time measured by the timer 1001 according to the procedure described later when the condition shown in FIG.

次に、エージェント13が備えるセッション管理テーブル130の詳細を説明する。
セッション管理テーブル130は、図3に示すように、例えば、Session−No131、TCP(Transmission Control Protocol)−Port132、URL(Uniform Resource Locator)133、Lock−Flag134、Socket−Descripter135、IE−Start−Time(以下、単にStart−Timeという)136、IE−Process−ID(以下、単にProcess−IDという)137を管理するものであり、本実施の形態では、最大4組迄管理するものとする。
Next, details of the session management table 130 provided in the agent 13 will be described.
As shown in FIG. 3, the session management table 130 includes, for example, a Session-No 131, a TCP (Transmission Control Protocol) -Port 132, a URL (Uniform Resource Locator) 133, a Lock-Flag 134, a Socket-Descriptor 135, an I-ScriptTiter 135, an E-ScriptTiter 135, In the following description, it is assumed that only Start-Time (136) and IE-Process-ID (hereinafter simply referred to as Process-ID) 137 are managed. In the present embodiment, up to four sets are managed.

Session−No131の内容は、時刻情報送受信やファイル伝送等の任意のセッションを管理する管理番号を示し、予め1番から4番まで設けられている。これに限らず、適宜に必要なセッション数に応じて管理番号を増やしても良い。Session−No131の番号は、言い換えれば、セッション毎のWebブラウザ11の管理番号である。   The content of Session-No 131 indicates a management number for managing an arbitrary session such as time information transmission / reception or file transmission, and is provided in advance from No. 1 to No. 4. However, the management number may be increased according to the number of necessary sessions. In other words, the number of Session-No 131 is the management number of the Web browser 11 for each session.

TCP−Port132の内容は、アプレット12がダウンロードされた際にAPI32を介してアプリケーション31とTCP/IP通信する際のTCPポート番号を示す。   The contents of the TCP-Port 132 indicate a TCP port number for performing TCP / IP communication with the application 31 via the API 32 when the applet 12 is downloaded.

URL133の内容は、Webサーバ端末2のURLを示す。   The content of the URL 133 indicates the URL of the Web server terminal 2.

Lock−Flag134の内容は、対応するSession−No131の管理番号が既にWebブラウザ11で占有されていること、すなわち、既に他の処理のセッションに占有されていることを示すものであり、当該管理番号にてWebブラウザ11が起動される際に占有を示す“1”が格納され、Webブラウザ11が終了されて占有状態を開放する場合には非占有を示す“0”が格納される。   The content of the Lock-Flag 134 indicates that the management number of the corresponding Session-No 131 has already been occupied by the Web browser 11, that is, has already been occupied by another processing session. When the Web browser 11 is activated, “1” indicating the occupation is stored, and when the Web browser 11 is terminated and the occupation state is released, “0” indicating the non-occupancy is stored.

Socket−Descripter135の内容は、エージェント13とアプリケーション31との通信の際に使用されるソケットの認識番号を示す。   The content of the Socket-Descriptor 135 indicates a socket identification number used in communication between the agent 13 and the application 31.

Start−Time136の内容は、Webブラウザ11を起動した時刻を示す。エージェント13は、この時刻を起点に、例えば、実行中の処理が継続中であることを示すステータス情報を定期的にAPI32に送信する。アプリケーション31はこれにより処理の中断等の異常状態を監視できる。   The content of Start-Time 136 indicates the time when the Web browser 11 is activated. From this time, the agent 13 periodically transmits status information indicating that the process being executed is continued to the API 32, for example. Accordingly, the application 31 can monitor an abnormal state such as processing interruption.

Process−ID137の内容は、起動したWebブラウザ11毎にオペレーティングシステム15が生成し、当該システム内で使用するWebブラウザ11のプロセス番号を示す。これにより、エージェント13は、プロセス番号を指定してオペレーティングシステム15にWebブラウザ11の終了をさせることが可能となっている。   The contents of Process-ID 137 are generated by the operating system 15 for each activated web browser 11 and indicate the process number of the web browser 11 used in the system. Thereby, the agent 13 can designate the process number and cause the operating system 15 to terminate the Web browser 11.

次にエージェント13及びアプレット12とAPI32との間で使用されるコマンドの詳細について説明する。
コマンドの概要は図4に示す通りであり、コマンドCI(管理情報の取得)は、セッションの管理情報を取得するためのものであり、エージェント13よりセッション管理テーブル130を参照するコマンドである。
コマンドCL(セッションロック)は、指定したセッションの管理番号、すなわち、Session−No131を占有するコマンドである。
コマンドCO(ブラウザオープン)は、指定したSession−No131でWebブラウザ11を起動させるコマンドである。
Next, details of commands used between the agent 13 and the applet 12 and the API 32 will be described.
The outline of the command is as shown in FIG. 4, and the command CI (acquisition of management information) is for acquiring session management information, and is a command for referencing the session management table 130 from the agent 13.
The command CL (session lock) is a command that occupies the management number of the designated session, that is, Session-No 131.
The command CO (open browser) is a command for starting the Web browser 11 with the specified Session-No 131.

コマンドCC(ブラウザクローズ)は、Session−No131で指定したWebブラウザを終了させるコマンドである。
コマンドCU(セッションアンロック)は、指定したSession−No131の開放を指示するコマンドである。
コマンドCS(状態照会)は、アプレット12の動作状態を照会するコマンドである。
コマンドCTS(時刻修正)は、アプレット12がエージェント13に対して、Webクライアント端末4のタイマ1002の時刻修正を行うように指示をするものである。
The command CC (browser close) is a command for ending the Web browser specified by Session-No 131.
The command CU (session unlock) is a command for instructing release of the designated Session-No 131.
The command CS (inquiry about status) is a command for inquiring about the operating status of the applet 12.
The command CTS (time correction) instructs the applet 12 to correct the time of the timer 1002 of the Web client terminal 4 to the agent 13.

コマンドCP(ポート)は、コマンドCO後に実行されるもので、コマンドCPはアプレット12からエージェント13に対して実行され、セッション毎にアプレット12とエージェント13及びAPI32が通信を行うためのポート(以下、通信ポート)を指定するものである。アプレット12はコマンドCPによりポート番号を引数としてエージェント13に渡し、エージェント13はセッション管理テーブル130のTCP−Port132に格納する。エージェント13はアプレット12に応答を返し、アプレット12はコマンドCPが正常終了したと認識する。   The command CP (port) is executed after the command CO. The command CP is executed from the applet 12 to the agent 13, and the port (hereinafter referred to as the port for communication between the applet 12, the agent 13 and the API 32 for each session). Communication port). The applet 12 passes the port number as an argument to the agent 13 by the command CP, and the agent 13 stores it in the TCP-Port 132 of the session management table 130. The agent 13 returns a response to the applet 12, and the applet 12 recognizes that the command CP has ended normally.

コマンドCT(ファイル伝送指示)は、ファイル伝送を指示するコマンドであり、目的のファイルID、グループID、ユーザID及びパスワードを添えてファイルのダウンロード又はアップロードの指示をするものである。 The command CT (file transmission instruction) is a command for instructing file transmission, and instructs to download or upload a file with a target file ID, group ID, user ID, and password.

図5は、図1に示すWebクライアント端末4の基本構成を示す。
図示するように、Webクライアント端末4は、制御部411と、記憶部412と、補助記憶部413と、入力部414と、表示部415と、通信制御部416とを備える。
FIG. 5 shows a basic configuration of the Web client terminal 4 shown in FIG.
As illustrated, the Web client terminal 4 includes a control unit 411, a storage unit 412, an auxiliary storage unit 413, an input unit 414, a display unit 415, and a communication control unit 416.

制御部411は、CPU(Central Processing Unit)等から構成され、記憶部412に読み出したプログラムを実行し、後述する通信制御、タイマの制御、ファイル制御などを行う。また、制御部411は内部タイマを備え、オペレーティングシステムの制御下にこのタイマを制御する。このタイマがオペレーティングシステム15の管理下になるタイマ1002として機能する。   The control unit 411 includes a CPU (Central Processing Unit) and the like, executes a program read out to the storage unit 412, and performs communication control, timer control, file control, and the like, which will be described later. The control unit 411 includes an internal timer, and controls this timer under the control of the operating system. This timer functions as a timer 1002 under the control of the operating system 15.

記憶部412は、所謂メインメモリであり、RAMなどから構成され、制御部411の実行対象のプログラム(エージェント13等)やデータ(セッション管理テーブル130等)を記憶する。
補助記憶部413は、ハードディスク装置等から構成され、前述のオペレーティングシステム15と,Webブラウザ(ウエブブラウザ)プログラム11と,アプリケーションプログラム31と,設定ファイル16と,スケジュールテーブル33と,を格納している。
入力部414はキーボード、マウス等を備え、種々の指示や設定情報を入力する。
表示部415は様々な情報を表示する。
通信制御部416は、制御部411の制御下に、ネットワークを介して例えばWebサーバ端末2と通信を行う。
The storage unit 412 is a so-called main memory, and includes a RAM or the like, and stores programs (agents 13 and the like) to be executed by the control unit 411 and data (session management table 130 and the like).
The auxiliary storage unit 413 includes a hard disk device and the like, and stores the operating system 15, the web browser (web browser) program 11, the application program 31, the setting file 16, and the schedule table 33. .
The input unit 414 includes a keyboard, a mouse, and the like, and inputs various instructions and setting information.
The display unit 415 displays various information.
The communication control unit 416 communicates with, for example, the Web server terminal 2 via the network under the control of the control unit 411.

次に、Webクライアント端末4がWebサーバ端末2から時刻情報を取得して、自己のタイマ1002の計時時刻を修正して、Webサーバ端末2とWebクライアント端末4の時刻を同期させる動作について説明する。   Next, an operation in which the Web client terminal 4 acquires time information from the Web server terminal 2, corrects the time measured by its own timer 1002, and synchronizes the time of the Web server terminal 2 and the Web client terminal 4 will be described. .

まず、アプリケーション31の動作を説明する。
アプリケーション31は、起動されると、タイマ1002が計時している現在時刻を監視し、スケジュールテーブル33に設定されているタイミングに達すると、メインプログラム34からAPI32を介してエージェント13にコマンドCLを送ってセッションをロックし、さらに、エージェント13にコマンドCOを送って、Webブラウザ11を起動する。
起動されたWebブラウザ11にWebサーバ端末4のサーブレット22からアプレット12がロードされ、アプレット12は、サーブレット22から時刻情報を受信する。アプレット12は、受信した時刻情報をエージェント13にコマンドCTSを介して渡す。エージェント13は、渡された時刻情報を用いて、タイマ1002の時刻をオペレーティングシステム15を介して修正する。これにより、Webクライアント端末4の計時時刻とWebサーバ端末2の時計時刻とが同期する。
First, the operation of the application 31 will be described.
When the application 31 is activated, it monitors the current time measured by the timer 1002 and, when reaching the timing set in the schedule table 33, sends a command CL from the main program 34 to the agent 13 via the API 32. The session is locked, and the command CO is sent to the agent 13 to start the Web browser 11.
The applet 12 is loaded from the servlet 22 of the web server terminal 4 to the activated web browser 11, and the applet 12 receives time information from the servlet 22. The applet 12 passes the received time information to the agent 13 via the command CTS. The agent 13 corrects the time of the timer 1002 via the operating system 15 using the passed time information. Thereby, the time measured by the Web client terminal 4 and the clock time of the Web server terminal 2 are synchronized.

次にAPI32の動作について説明する。
アプリケーション31からの指示を受けたAPI32は、エージェント13にコマンドCIを送り、セッション管理テーブル130の全管理情報を要求する。エージェント13から全管理情報を受け取ると、Lock−Flag134に既に占有を示す“1”が立ってないSession−No131を特定して、これを占有するためコマンドCLをエージェント13に送る。このとき、Lock−Flag134に既に占有を示す“1”が立ってないSession−No131が複数あった場合には、若い番号から占有する。また、コマンドCLには、引数として、指定するSession−No131の番号を添える。ここで、API32は、管理情報を参照し、既に使用中のTCPポート番号と重複しないようにTCPポート番号を選択する。
Next, the operation of the API 32 will be described.
The API 32 that has received an instruction from the application 31 sends a command CI to the agent 13 and requests all management information in the session management table 130. When all management information is received from the agent 13, the Session-No 131 in which “1” indicating occupancy is not already set is specified in the Lock-Flag 134, and a command CL is sent to the agent 13 to occupy this. At this time, when there are a plurality of Session-Nos 131 for which “1” indicating occupancy is not already set in the Lock-Flag 134, the Lock-Flag 134 occupies from the youngest number. In addition, the number of Session-No 131 to be specified is attached to the command CL as an argument. Here, the API 32 refers to the management information and selects a TCP port number so that it does not overlap with a TCP port number that is already in use.

API32は、エージェント13からコマンドCLに対する応答を受け取ると、エージェント13にコマンドCOを送り、Webブラウザ11の起動を指示する。ここで、API32は、Webサーバ21のURLをコマンドCOの引数として添える。API32は、エージェント13からコマンドCOに対する応答を受け取ると、エージェント13にコマンドCIを送り、セッション管理テーブル130の全管理情報を要求し、エージェント13から全管理情報を受け取る。この時点では、Webブラウザ11が起動され、Webサーバ21からアプレット12がダウンロードされており、取得した全管理情報については、セッション管理テーブル130の先に占有したSession−No131の行において、URL133には、以降のアクセス先となるWebサーバ21のサーブレット22のURLが格納され、Lock−Flag134が格納され、Socket−Descripter135にはエージェント13との通信のソケットの認識番号が格納され、Start−Time136にはWebブラウザ11の起動された時刻が格納され、Process−ID137にはこのセッションにおいてオペレーティングシステム15により生成されたWebブラウザ11のプロセス番号が格納された状態となっている。   When the API 32 receives a response to the command CL from the agent 13, the API 32 sends a command CO to the agent 13 and instructs the Web browser 11 to start. Here, the API 32 attaches the URL of the Web server 21 as an argument of the command CO. When the API 32 receives a response to the command CO from the agent 13, the API 32 sends a command CI to the agent 13, requests all management information in the session management table 130, and receives all management information from the agent 13. At this point, the web browser 11 is activated and the applet 12 has been downloaded from the web server 21, and all the acquired management information is stored in the URL 133 in the Session-No 131 line occupied at the end of the session management table 130. The URL of the servlet 22 of the Web server 21 to be accessed thereafter is stored, the Lock-Flag 134 is stored, the Socket-Descriptor 135 is stored with the recognition number of the socket for communication with the agent 13, and the Start-Time 136 is stored with the Start-Time 136. The time when the Web browser 11 is started is stored, and the process-ID 137 stores the process number of the Web browser 11 generated by the operating system 15 in this session Going on.

API32は、エージェントに対してコマンドCIを送り、セッション管理テーブル130の全管理情報を取得し、TCP−Port132に格納されているTCPポート番号を用いて、アプレット12に対して伝送を指示するコマンドCTを送る。API32は、アプレット12からコマンドCTに対する応答を受け取ると(伝送が終了したことを認識すると)セッションの管理番号を引数としてコマンドCCをエージェント13に送り、Webブラウザ11の終了を指示する。API32は、エージェント13からコマンドCCに対する応答を受け取ると、エージェント13にコマンドCUを送り、指定したSession−No131の開放を指示する。API32は、エージェント13からコマンドCUに対する応答を受け取ると、コマンドCUが正常終了したことを認識する。   The API 32 sends a command CI to the agent, acquires all management information in the session management table 130, and uses the TCP port number stored in the TCP-Port 132 to instruct the applet 12 to transmit. Send. When the API 32 receives a response to the command CT from the applet 12 (when it recognizes that the transmission has ended), the API 32 sends a command CC to the agent 13 with the session management number as an argument, and instructs the Web browser 11 to end. When the API 32 receives a response to the command CC from the agent 13, the API 32 sends a command CU to the agent 13 and instructs the release of the designated Session-No 131. When the API 32 receives a response to the command CU from the agent 13, it recognizes that the command CU has ended normally.

次に、エージェント13の時刻情報受信動作について説明する。エージェント13は、API32からコマンドCIを受けると、セッション管理テーブル130の全管理情報を読み出してAPI32に送る。エージェント13は、API32からコマンドCLを受けると、API32により指定されるセッション管理テーブル130のSession−No131の行において、Lock−Flag134に占有を示す“1”を格納し、Socket−Descripter135にソケットの認識番号を格納してAPI32に応答する。エージェント13は、API32からコマンドCOを受けると、API32により指定されるURLに対応するWebサーバ21にアクセスすべく、Webブラウザ11を起動する。このとき、Webブラウザ11が開くURLに引数として、API32より指定されるSession−No131のセッション管理番号は、アプレット12がエージェント13に対してコマンドCPを送ったときにSession−No131のセッション管理番号ではTCP−Port132のTCPポート番号を使用するように応答し、セッション管理テーブル130のSession−No131の行にTCP−Port132のTCPポート番号を格納する。例えば、セッション管理番号が1番と指定するとすれば、「HTTP://URL ?pno=01」等と通常のURLの記述に続けて所定の書式でセッション管理番号を添える。これにより、セッションの異なるアプリケーション31間でTCPポート番号が重複してTCPポート番号の付け替え処理の必要が生じることがないので、複数のセッションを同時に処理する場合であっても、処理時間を抑えることが可能となっている。   Next, the time information reception operation of the agent 13 will be described. Upon receiving the command CI from the API 32, the agent 13 reads all management information in the session management table 130 and sends it to the API 32. Upon receiving the command CL from the API 32, the agent 13 stores “1” indicating the occupation in the Lock-Flag 134 in the Session-No 131 row of the session management table 130 specified by the API 32, and recognizes the socket in the Socket-Descriptor 135. Store the number and respond to API 32. Upon receiving the command CO from the API 32, the agent 13 activates the Web browser 11 to access the Web server 21 corresponding to the URL specified by the API 32. At this time, the session management number of Session-No 131 specified by API 32 as an argument to the URL opened by Web browser 11 is the session management number of Session-No 131 when applet 12 sends command CP to agent 13. In response to using the TCP port number of the TCP-Port 132, the TCP port number of the TCP-Port 132 is stored in the Session-No 131 row of the session management table 130. For example, if the session management number is designated as No. 1, the session management number is appended in a predetermined format following the normal URL description such as “HTTP: // URL? Pno = 01”. As a result, the TCP port number is not duplicated between the applications 31 with different sessions, and there is no need to change the TCP port number. Therefore, even when a plurality of sessions are processed simultaneously, the processing time can be reduced. Is possible.

また、Webブラウザ11の起動の際に、エージェント13は、API32により指定されるセッション管理テーブル130のSession−No131の行において、Webブラウザ11の起動の際にオペレーティングシステム15が生成したWebブラウザ11のプロセス番号をProcess−ID137に格納し、Start−Time136に起動時刻を格納する。   Further, when the web browser 11 is activated, the agent 13 uses the Web browser 11 generated by the operating system 15 when the web browser 11 is activated in the Session-No 131 row of the session management table 130 specified by the API 32. The process number is stored in Process-ID 137, and the start time is stored in Start-Time 136.

エージェント13は、Webサーバ21からWebブラウザ11にダウンロードされたアプレット12から、指定のTCPポート番号、Webサーバ21が実際に受付ポートとしたTCPポート番号及び以降にアクセスするサーブレット22のURLを示すコマンドCPを受けると、API32により指定されるセッション管理テーブル130のSession−No131の行において、TCP−Port132にWebサーバ21が実際に受付ポートとしたTCPポート番号を格納し、アプレット12に応答を行う。   The agent 13 commands the applet 12 downloaded from the web server 21 to the web browser 11 to indicate the designated TCP port number, the TCP port number actually used by the web server 21 and the URL of the servlet 22 to be accessed thereafter. When the CP is received, in the Session-No 131 row of the session management table 130 specified by the API 32, the TCP port number is stored in the TCP-Port 132, and the TCP port number actually used as the reception port is stored, and the applet 12 is responded.

エージェント13は、アプレット12からコマンドCTSを受けとると、受けとった時刻情報(アプレット−サーブレット間で計算された時刻情報)が閾値以上であるか否かを判断し、閾値以上であると判断した場合には、タイマ1002の時刻を修正する。エージェント13は、アプレット12にコマンドCTSに対する応答を送り、時刻修正が正常終了したことを通知する。エージェント13は、API32からコマンドCIを受けとると、コマンドCIの応答として、セッション管理テーブル130の全管理情報を引数として送る。API32は、受けとったセッション管理テーブル130の全管理情報のTCP−Port132に格納されているTCPポート番号を用いて、アプレット12に対して伝送を指示するコマンドCTを送り、伝送が正常終了するとアプレット12からコマンドCTに対する応答を受け、エージェント13は、API32からコマンドCCを受ける。エージェント13は、セッション管理テーブル130から、指定されたSession−No131のセッションの管理番号に対応するProcess−ID137のプロセス番号を読み取り、オペレーティングシステム15に当該プロセス番号に対応するWebブラウザ11の終了を指示し、API32にコマンドCCに対する応答を送る。   When the agent 13 receives the command CTS from the applet 12, the agent 13 determines whether the received time information (time information calculated between the applet and the servlet) is equal to or greater than a threshold value. Corrects the time of the timer 1002. The agent 13 sends a response to the command CTS to the applet 12 to notify that the time adjustment has been completed normally. Upon receiving the command CI from the API 32, the agent 13 sends all management information in the session management table 130 as an argument as a response to the command CI. The API 32 sends a command CT instructing transmission to the applet 12 using the TCP port number stored in the TCP-Port 132 of all the management information in the received session management table 130, and when the transmission ends normally, the applet 12 The agent 13 receives the command CC from the API 32 in response to the response to the command CT from the API 32. The agent 13 reads the process number of Process-ID 137 corresponding to the management number of the specified Session-No 131 session from the session management table 130 and instructs the operating system 15 to end the Web browser 11 corresponding to the process number. Then, a response to the command CC is sent to the API 32.

エージェント13は、API32からコマンドCUを受けると、セッション管理テーブル130の指定されたSession−No131のセッションの管理番号に対応するLock−Flag134に“0”を格納して、当該セッションの管理番号を開放し、API32にコマンドCUに対する応答を送る。   Upon receiving the command CU from the API 32, the agent 13 stores “0” in the Lock-Flag 134 corresponding to the session management number of the specified Session-No 131 in the session management table 130 and releases the management number of the session. Then, a response to the command CU is sent to the API 32.

次に、Webサーバ21の動作、特に、Webブラウザ11からのアクセスに対する応答動作について説明する。
Webサーバ21は、Webブラウザ11から自己のURLにセッション管理番号を付加したアクセス要求を受けると、以降のWebブラウザ11との間で行われる通信(時刻情報及びファイルの伝送)のセッションのための、サーブレット22を起動する。これとともに、Webブラウザ11に指定されたセッション管理番号及びサーブレット22のURLに関する情報を含んだアプレット12をWebブラウザ11にダウンロードする。これにより、以降の通信はアプレット12とサーブレット22との間で実行可能となる。
Next, the operation of the Web server 21, particularly the response operation to access from the Web browser 11 will be described.
When the Web server 21 receives an access request in which the session management number is added to its own URL from the Web browser 11, the Web server 21 performs a subsequent communication (time information and file transmission) session with the Web browser 11. Then, the servlet 22 is activated. At the same time, the applet 12 including information on the session management number specified in the Web browser 11 and the URL of the servlet 22 is downloaded to the Web browser 11. Thus, subsequent communication can be executed between the applet 12 and the servlet 22.

次にアプレット12の動作、特にエージェント13及びAPI32との通信動作について説明する。
アプレット12は、Webブラウザ11にダウンロードされると、コマンドCPをエージェント13に送り、Webブラウザ11に実際に待受けポートとしたTCPポート番号及びサーブレット22のURLに関する情報を通知する。アプレット12は、エージェント13からコマンドCPに対する応答を受けると、コマンドCPの正常終了を確認する。ここで確立された通信ポートを介して、アプレット12はコマンドCTSを時刻情報を引数としてエージェント13に送る。
Next, the operation of the applet 12, particularly the communication operation with the agent 13 and the API 32 will be described.
When downloaded to the Web browser 11, the applet 12 sends a command CP to the agent 13 to notify the Web browser 11 of information related to the TCP port number actually used as a standby port and the URL of the servlet 22. Upon receiving a response to the command CP from the agent 13, the applet 12 confirms the normal termination of the command CP. Through the communication port established here, the applet 12 sends a command CTS to the agent 13 with time information as an argument.

エージェント13は、引数として時刻情報、即ち、Webサーバ端末2のタイマ1001が計時している時刻を示す時刻情報を取得して、図2に示すステップS12の条件、即ち、この時刻情報が示す時刻とタイマ1002が計時している時刻との差が閾値以上であるか否かを判別し、閾値以上であると判別した場合には、オペレーティングシステム15の図示しないAPI(Application Program Interface)を使用してタイマ1002の時刻修正を実行する。換言すれば、オペレーティングシステム15にタイマ1002の修正を依頼すると共に修正すべき時刻を通知する。オペレーティングシステム15から時刻修正が終了の通知を受けると、エージェント13は、アプレット12に時刻修正が終了したことを示す応答を送る。   The agent 13 acquires time information as an argument, that is, time information indicating the time measured by the timer 1001 of the Web server terminal 2, and the condition of step S12 shown in FIG. 2, that is, the time indicated by this time information. And whether the difference between the time measured by the timer 1002 and the time measured by the timer 1002 is equal to or greater than the threshold, and if it is determined to be equal to or greater than the threshold, an API (Application Program Interface) (not shown) of the operating system 15 is used. The time of the timer 1002 is corrected. In other words, it requests the operating system 15 to correct the timer 1002 and notifies the time to be corrected. When the notification of completion of time adjustment is received from the operating system 15, the agent 13 sends a response indicating that the time adjustment has ended to the applet 12.

このように、修正すべき時刻情報は、セキュリティを担保されて確立されており、セキュリティの制約を受けることのない通信ポートを介してアプレット12に伝送され、さらに、アプレット12からエージェント13へと送られる。そして、Webクライアント端末4に常駐し、特にシステムリソースに制約なくアクセスできるエージェント13により、オペレーティングシステム15のシステムリソースであるタイマ1002の時刻情報が修正される。   As described above, the time information to be corrected is established with security ensured, and is transmitted to the applet 12 through a communication port that is not subject to security restrictions, and further sent from the applet 12 to the agent 13. It is done. The time information of the timer 1002, which is the system resource of the operating system 15, is corrected by the agent 13 that is resident in the Web client terminal 4 and can particularly access the system resources without restriction.

アプレット12は、エージェント13からコマンドCTSに対する応答を受けると、コマンドCTSの正常終了を確認する。   Upon receiving a response to the command CTS from the agent 13, the applet 12 confirms the normal termination of the command CTS.

以上の説明では、アプレット12、エージェント13、アプリケーション31、及びAPI32の動作を個々に述べたが、それぞれの動作連携を纏めると、図6に示すようになる。   In the above description, the operations of the applet 12, the agent 13, the application 31, and the API 32 have been individually described. The operation cooperation is summarized as shown in FIG.

まず、アプリケーション31の要求に応じて、API32からコマンドCIがエージェント13に送られる(ステップS21)。エージェント13はこれに応答してセッション管理テーブル130の全管理情報をAPI32に送信して応答する(ステップS22)。   First, in response to a request from the application 31, a command CI is sent from the API 32 to the agent 13 (step S21). In response to this, the agent 13 responds by transmitting all management information of the session management table 130 to the API 32 (step S22).

次に、API32は、受信した管理情報から、占有されていないセッションの管理番号を特定し、引数としてセッション管理番号の指定を添え、特定したセッション管理番号の行を占有するコマンドCLをエージェント13に送る(ステップS23)。エージェント13は、セッション管理テーブル130上で、対応するセッション管理番号の行を占有し、すなわち、ロックし、API32に応答する(ステップS24)。   Next, the API 32 specifies the management number of the unoccupied session from the received management information, adds the designation of the session management number as an argument, and sends a command CL that occupies the line of the specified session management number to the agent 13. Send (step S23). The agent 13 occupies the row of the corresponding session management number on the session management table 130, that is, locks it, and responds to the API 32 (step S24).

次に、API32から引数としてWebサーバ21のURLを添えてコマンドCOをエージェント13に送る(ステップS25)。エージェント13はコマンドCOに応答して、セッション管理番号の指定を添えてWebブラウザ11を起動し、Webサーバ21にアクセスし、API32に応答する(ステップS26)。これによりWebサーバ21のサーブレットとWebブラウザ11との間にセッションが確立し、Webブラウザ11にアプレット12がダウンロードされる(ステップS27)。Webブラウザ11はアプレット12がサインドアプレットであることから、ダウンロード時に確認画面を提供(例えば、表示部415に表示)し、これに対してユーザの入力部414からの確認操作がされると、アプレット12をダウンロードする。Webブラウザ11は、一度ダウンロードされたアプレット12については、以降のアプレット12のダウンロード時のユーザの確認操作を不要とするようにアプレット12の識別情報を図示しないJava(登録商標)Plug−inの設定ファイルに書き込む。これにより、アプレット12のダウンロードについてセキュリティが担保される。   Next, the command CO is sent from the API 32 to the agent 13 with the URL of the Web server 21 as an argument (step S25). In response to the command CO, the agent 13 starts the web browser 11 with the designation of the session management number, accesses the web server 21, and responds to the API 32 (step S26). Thereby, a session is established between the servlet of the Web server 21 and the Web browser 11, and the applet 12 is downloaded to the Web browser 11 (step S27). Since the applet 12 is a signed applet, the Web browser 11 provides a confirmation screen at the time of download (for example, displayed on the display unit 415), and when a confirmation operation is performed from the user input unit 414, Download applet 12. The Web browser 11 sets the Java (registered trademark) Plug-in (not shown) with the identification information of the applet 12 so that the user does not need to confirm the applet 12 after downloading the applet 12 once downloaded. Write to file. This ensures security for downloading the applet 12.

アプレット12はWebブラウザ11で実行され、コマンドCPをエージェント13に送る(ステップS28)。 エージェント13はセッション管理テーブル130の当該セッションの行の管理情報にTCPポート番号を追加、すなわち、TCP−Port132に格納し、アプレット12に応答する(ステップS29)。   The applet 12 is executed by the Web browser 11 and sends a command CP to the agent 13 (step S28). The agent 13 adds the TCP port number to the management information of the row of the session in the session management table 130, that is, stores it in the TCP-Port 132, and responds to the applet 12 (step S29).

続いて、アプレット12は、設定ファイル16を読み込み、時刻修正を行うか否かのフラグ(制御情報)をチェックし(図2,ステップS11)、時刻修正を行うフラグがセットされている場合(図2、ステップS11;Yes)には、サーブレット22から時刻情報を取得し、コマンドCTSに時刻情報を引数としてエージェント13に送る(ステップS30)。エージェント13は、時刻情報が示す時刻とタイマ1002が計時している時刻との差(例えば、絶対値)を求める(差を求めるところまでは、サーブレット22で行ってもよい)。また、設定ファイル16から時刻修正要否判別用の閾値を読み込み、時刻の差が閾値より大きい場合には、オペレーティングシステム15のAPIを介してオペレーティングシステム15に、時刻修正の依頼及び修正すべき時刻を通知する。オペレーティングシステム15は、通知に従って、タイマ1002の計時時刻を修正する。これにより、Webサーバ端末2とWebクライアント端末4の時刻が一致する。   Subsequently, the applet 12 reads the setting file 16 and checks a flag (control information) as to whether or not to correct the time (FIG. 2, step S11), and when the flag for adjusting the time is set (FIG. 2). 2, Step S11; Yes), the time information is acquired from the servlet 22, and the command CTS is sent with the time information as an argument to the agent 13 (Step S30). The agent 13 calculates a difference (for example, an absolute value) between the time indicated by the time information and the time measured by the timer 1002 (the difference may be determined by the servlet 22). Further, a threshold value for determining whether or not time correction is necessary is read from the setting file 16, and if the time difference is larger than the threshold value, a request for time correction and the time to be corrected are sent to the operating system 15 via the API of the operating system 15. To be notified. The operating system 15 corrects the time measured by the timer 1002 according to the notification. As a result, the times of the Web server terminal 2 and the Web client terminal 4 coincide.

その後、オペレーティングシステム15は、エージェント13に時刻修正が終了した旨応答する。エージェント13は、時刻修正が終了したことを示す応答をアプレット12に送る(ステップS31)。なお、時刻修正を行わなかった場合にも、終了応答をアプレット12に送る。   Thereafter, the operating system 15 responds to the agent 13 that the time adjustment has been completed. The agent 13 sends a response indicating that the time adjustment has been completed to the applet 12 (step S31). Even when the time is not corrected, an end response is sent to the applet 12.

アプリケーション31は、API32を介してエージェント13に対してコマンドCIを送り(ステップS32)、エージェント13からセッション管理テーブル130の全管理情報を引数として受けとり(ステップS33)、受けとったセッション管理テーブル130の全管理情報のTCP−Port132に格納されているTCPポート番号を用いて、アプレット12に対して伝送を指示するコマンドCTを送り(ステップS34)、伝送が正常終了するとアプレット12からコマンドCTに対する応答を受ける(ステップS35)。これを受けたAPI32は、Webブラウザ11の終了を指示するコマンドCCをエージェント13に送る(ステップS36)。これに従ってエージェント13はWebブラウザ11を終了し、API32に対して応答する(ステップS37)。これを受けたAPI32は当該セッションにおいて占用したセッション管理番号の行を開放するコマンドCUをエージェント13に送り(ステップS38)、エージェント13はこれに従って行をアンロック、すなわち、開放し、API32に対して応答する(ステップS39)。以上により、Webサーバ端末2のタイマ1001の計時時刻と、Webクライアント端末4のタイマ1002の計時時刻とが同期する。   The application 31 sends a command CI to the agent 13 via the API 32 (step S32), receives all management information of the session management table 130 from the agent 13 as an argument (step S33), and receives all of the received session management table 130. Using the TCP port number stored in the TCP-Port 132 of the management information, a command CT instructing transmission is sent to the applet 12 (step S34), and when the transmission ends normally, a response to the command CT is received from the applet 12. (Step S35). Receiving this, the API 32 sends a command CC instructing termination of the Web browser 11 to the agent 13 (step S36). Accordingly, the agent 13 terminates the web browser 11 and responds to the API 32 (step S37). In response to this, the API 32 sends a command CU for releasing the line of the session management number occupied in the session to the agent 13 (step S38), and the agent 13 unlocks, that is, releases the line according to this command. A response is made (step S39). As described above, the time measured by the timer 1001 of the Web server terminal 2 and the time measured by the timer 1002 of the Web client terminal 4 are synchronized.

以上説明したように、本実施の形態のネットワークシステムでは、アプリケーションプログラム31が、任意のタイミング、例えば、Webクライアント端末4の起動時や、所定の時刻、或いは、アプリケーションの空きタイミングに、自動的に、タイマ1002の計時時刻を修正する処理を開始する。このため、Webサーバ端末2とWebクライアント端末4の間での時計合わせに関わる負担は軽減される。また、Java(登録商標)アプレット12は、本来、オペレーティングシステム15上のタイマ1002の時刻修正の処理を直接担当することはできないが、エージェント13をWebクライアント部1に配置することにより、上記の動作を実現でき、Java(登録商標)で構成されたシステム固有の問題を解決することができる。   As described above, in the network system according to the present embodiment, the application program 31 is automatically set at an arbitrary timing, for example, when the Web client terminal 4 is started, at a predetermined time, or when the application is idle. Then, the process of correcting the time measured by the timer 1002 is started. For this reason, the burden related to the clock adjustment between the Web server terminal 2 and the Web client terminal 4 is reduced. In addition, the Java (registered trademark) applet 12 cannot be directly in charge of the time correction processing of the timer 1002 on the operating system 15 by itself, but the above-described operation can be realized by arranging the agent 13 in the Web client unit 1. Can be realized, and a problem peculiar to a system configured with Java (registered trademark) can be solved.

アプリケーション31は、上述のようにしてエージェント13が修正したタイマ1002を用いて任意の処理を実行可能である。   The application 31 can execute an arbitrary process using the timer 1002 modified by the agent 13 as described above.

以下、タイマ1002が計時する時刻に基づいて、Webサーバ端末2とWebクライアント端末4との間でファイルを伝送する例を説明する。   Hereinafter, an example in which a file is transmitted between the Web server terminal 2 and the Web client terminal 4 based on the time measured by the timer 1002 will be described.

図7に示すように、この例においても、アプリケーション31は、API32と、スケジュールテーブル33と、メインプログラム34とを備える。
メインプログラム34は、スケジュールテーブル33を参照して所定日時(タイミング)に所定のファイルに伝送を指示するものである。
スケジュールテーブル33は、ファイルID、ユーザID、パスワード等を実行する日時と対応付けて格納している。
API32は上述の実施の形態で示したコマンドに対応する。アクセス管理テーブル35は、Webサーバ21のアクセス先、すなわち、アプレットをダウンロードするためのURLを格納する。
As shown in FIG. 7, also in this example, the application 31 includes an API 32, a schedule table 33, and a main program 34.
The main program 34 refers to the schedule table 33 and instructs transmission of a predetermined file at a predetermined date and time (timing).
The schedule table 33 stores a file ID, a user ID, a password, and the like in association with the date and time of execution.
The API 32 corresponds to the command shown in the above embodiment. The access management table 35 stores an access destination of the Web server 21, that is, a URL for downloading an applet.

また、設定ファイル16には、例えば、図8に示すように、1) 時刻修正フラグがセットされていない場合には(ステップS11;No)、タイマ1002の時刻修正を行わずに、ファイルの処理を行うこと(ステップS14)、 2) 時刻修正フラグがセットされているが(ステップS11;Yes)、タイマ1001の計時時刻とタイマ1002の計時時刻との差が閾値未満である場合には(ステップS12;No)、タイマ1002の時刻修正を行わずに、ファイルの処理を行うこと(ステップS14)、3) 時刻修正フラグがセットされており(ステップS11;Yes)、かつ、タイマ1001の計時時刻とタイマ1002の計時時刻との差が閾値以上である場合には(ステップS12;Yes)、タイマ1002の時刻修正を行って(ステップS13)、ファイルの処理を行うこと(ステップS14)、が設定されている。   Further, for example, as shown in FIG. 8, in the setting file 16, 1) When the time correction flag is not set (step S11; No), the processing of the file is performed without correcting the time of the timer 1002. 2) When the time correction flag is set (step S11; Yes), but the difference between the time measured by the timer 1001 and the time measured by the timer 1002 is less than the threshold (step S12; No), processing the file without correcting the time of the timer 1002 (step S14), 3) The time correction flag is set (step S11; Yes), and the time measured by the timer 1001 If the difference between the timer 1002 and the time measured by the timer 1002 is greater than or equal to the threshold (step S12; Yes), the time of the timer 1002 is corrected. Step S13), and performing the processing of the file (step S14), and is set.

また、Webサーバ端末2とWebクライアント端末4とには、処理対象のファイルを格納するためのファイル格納部230と14とがそれぞれ配置されている。   Further, the web server terminal 2 and the web client terminal 4 are respectively provided with file storage units 230 and 14 for storing files to be processed.

本例のシステムの動作の概要を述べると以下のようになる。
スケジュールテーブル33には、予め、ファイルIDとアップロード、アップロード・ダウンロード、ダウンロードの別、伝送実行時刻等の情報が格納されている。
アプリケーション31のメインプログラム34は、スケジュールテーブル33に基づいて、各ファイルの伝送実行時刻を監視しており、例えば、タイマ1002の計時時刻がファイル伝送時刻に、ファイル伝送処理を開始する。
An outline of the operation of the system of this example is as follows.
In the schedule table 33, information such as file ID and upload, upload / download, download type, and transmission execution time are stored in advance.
The main program 34 of the application 31 monitors the transmission execution time of each file based on the schedule table 33. For example, the file transmission process is started when the time measured by the timer 1002 is the file transmission time.

このファイル伝送処理においては、実際にファイルの伝送処理を行う前に、前述のタイマ1002の計時時刻を正確な時刻(タイマ1001の計時時刻)に一致させる処理を行う。即ち、図6を参照して説明したステップS21〜S31の処理を行って、タイマ1002の時刻合わせを行う。ただし、設定ファイル16の内容に従って、1) 時刻修正フラグがセットされていない場合(ステップS11;No)や、2) タイマ1001の計時時刻とタイマ1002の計時時刻との差が閾値未満である場合(ステップS12;No)には、タイマ1002の時刻修正を行わずに、ファイルの伝送処理に移る(ステップS14)。   In this file transmission process, before the actual file transmission process is performed, a process of matching the time measured by the timer 1002 with the exact time (timed time of the timer 1001) is performed. That is, the processing of steps S21 to S31 described with reference to FIG. However, according to the contents of the setting file 16, 1) the time correction flag is not set (step S11; No), or 2) the difference between the time measured by the timer 1001 and the time measured by the timer 1002 is less than the threshold value. In (Step S12; No), the time of the timer 1002 is not corrected, and the process proceeds to a file transmission process (Step S14).

即ち、図6に示すように、アプリケーション31は、API32からコマンドCIをエージェント13に送って、セッション管理テーブル130の管理情報を取得し(ステップS21,S22)、続いて、セッションを占有する(ステップS23、S24)。   That is, as shown in FIG. 6, the application 31 sends a command CI from the API 32 to the agent 13 to acquire management information in the session management table 130 (Steps S21 and S22), and then occupies the session (Step S21). S23, S24).

アプリケーション31は、スケジュールテーブル33から、アクセスするURLを読み出し、スケジュールテーブル33から目的のファイルのファイルID、ユーザID、パスワードを読み出し、さらに、アップロードとアップロード・ダウンロードとダウンロードの別を指定して、ファイルの伝送処理実行をAPI32に指示する。   The application 31 reads the URL to be accessed from the schedule table 33, reads the file ID, user ID, and password of the target file from the schedule table 33, and further designates upload, upload / download, and download to specify the file The API 32 is instructed to execute the transmission process.

次に、API32から、スケジュールテーブル33から読み出した情報を引数として添えてコマンドCOをエージェント13に送る(ステップS25)。エージェント13はコマンドCOに従ってセッション管理番号の指定を添えてWebブラウザ11を起動し、Webサーバ21にアクセスし、API32に応答する(ステップS26)。これによりWebサーバ21からWebブラウザ11にアプレット12がダウンロードされる(ステップS27)。   Next, the command 32 is sent from the API 32 to the agent 13 with the information read from the schedule table 33 as an argument (step S25). The agent 13 starts the Web browser 11 with the designation of the session management number according to the command CO, accesses the Web server 21, and responds to the API 32 (step S26). Thereby, the applet 12 is downloaded from the web server 21 to the web browser 11 (step S27).

アプレット12はWebブラウザ11で実行され、コマンドCPをエージェント13に送る(ステップS28)。 エージェント13はセッション管理テーブル130の当該セッションの行の管理情報にTCPポート番号を追加、すなわち、TCP−Port132に格納し、アプレット12に応答する(ステップS29)。   The applet 12 is executed by the Web browser 11 and sends a command CP to the agent 13 (step S28). The agent 13 adds the TCP port number to the management information of the row of the session in the session management table 130, that is, stores it in the TCP-Port 132, and responds to the applet 12 (step S29).

続いて、アプレット12はコマンドCTSを、時刻情報を引数としてエージェント13に送る(ステップS30)。エージェント13は、受けとった時刻情報が閾値以上であるか否かを判断し、閾値以上であると判断した場合には、タイマ1002の時刻を修正する。エージェント13は、アプレット12にコマンドCTSに対する応答を送り、時刻修正が正常終了したことを通知する(ステップS31)。API32はエージェント13に対してコマンドCIを送る(ステップS32)と、コマンドCIの応答として、セッション管理テーブル130の全管理情報を引数として送る(ステップS33)。API32は、受けとったセッション管理テーブル130の全管理情報のTCP−Port132に格納されているTCPポート番号を用いて、アプレット12に対して伝送を指示するコマンドCTを、ファイルのID情報、ユーザIDなどを引数として送る(ステップS34)。
アプレット12は、以後、指定されたファイルの伝送処理をサーブレット22との間で実行する。アプレット12は、ファイルの伝送を完了すると、コマンドCTに対する応答をAPI32に返す(ステップS35)。
Subsequently, the applet 12 sends a command CTS to the agent 13 using time information as an argument (step S30). The agent 13 determines whether or not the received time information is equal to or greater than the threshold, and if it is determined to be equal to or greater than the threshold, the time of the timer 1002 is corrected. The agent 13 sends a response to the command CTS to the applet 12 to notify that the time adjustment has been completed normally (step S31). When the API 32 sends a command CI to the agent 13 (step S32), it sends all management information in the session management table 130 as an argument as a response to the command CI (step S33). The API 32 uses the TCP port number stored in the TCP-Port 132 of all the management information in the received session management table 130 to send a command CT for instructing the applet 12 to transmit, file ID information, user ID, etc. Is sent as an argument (step S34).
Thereafter, the applet 12 executes a specified file transmission process with the servlet 22. When completing the file transmission, the applet 12 returns a response to the command CT to the API 32 (step S35).

なお、アプレット12は、ファイル伝送処理中に、API32から問い合わせコマンドCSを受けると、初期状態、伝送中、伝送完了等の稼動状況を示す情報を添えて応答する。   When the applet 12 receives the inquiry command CS from the API 32 during the file transmission process, the applet 12 responds with information indicating the operation status such as the initial state, transmission, and transmission completion.

ファイルの伝送完了に応答して、アプリケーション31は、API32を介してWebブラウザ11の終了を指示するコマンドCCをエージェント13に送って、Webブラウザ11を終了し(ステップS36,S37)、さらに、コマンドCUをエージェント13に送って当該セッションにおいて占用したセッションを解放する(ステップS38、S39)。このようにして、この例では、アプレット12が直接処理することができない時刻修正処理をエージェント13を用いて実行することができる。   In response to the completion of the file transmission, the application 31 sends a command CC for instructing the end of the Web browser 11 to the agent 13 via the API 32 to end the Web browser 11 (steps S36 and S37). The CU is sent to the agent 13 to release the session occupied in the session (steps S38 and S39). In this way, in this example, the time adjustment process that cannot be directly processed by the applet 12 can be executed using the agent 13.

このファイル伝送処理の間、通信及び伝送の記録(ログ)が、Webサーバ端末2とWebクライアント端末4とでそれぞれOSにより生成される。ただし、ログは、先に同期させたタイマ1001と1002とに基づいて実行されるので、対応する内容となる。   During this file transmission process, communication and transmission records (logs) are generated by the OS in the Web server terminal 2 and the Web client terminal 4 respectively. However, since the log is executed based on the timers 1001 and 1002 that have been synchronized in advance, the log has corresponding contents.

なお、一例として、ファイルを伝送する例を示したが、修正されたタイマ1002を用いてどのような動作を行うかは任意である。   Note that, as an example, an example of transmitting a file has been shown, but what kind of operation is performed using the modified timer 1002 is arbitrary.

また、時刻修正を行うか否かを決定する条件や、時刻合わせを実行するタイミングなどは任意である。   In addition, the conditions for determining whether or not to correct the time, the timing for executing the time adjustment, and the like are arbitrary.

また、コンピュータを上述のWebクライアント装置4或いはWebサーバ端末2として動作させるアプリケーションプログラムやエージェントプログラムを記録媒体に格納して配布したり、搬送波に重畳してネットワークを介して送信したりしてもよい。   Further, an application program or an agent program that causes a computer to operate as the above-described Web client device 4 or Web server terminal 2 may be stored and distributed in a recording medium, or transmitted over a network while being superimposed on a carrier wave. .

本発明の実施の形態に係るネットワークシステムの構成例を示す図である。It is a figure which shows the structural example of the network system which concerns on embodiment of this invention. 図1に示す設定ファイルに格納される時刻修正条件を説明する為の図である。It is a figure for demonstrating the time correction conditions stored in the setting file shown in FIG. セッション管理テーブルの一例を示す図である。It is a figure which shows an example of a session management table. コマンドの例を示す図である。It is a figure which shows the example of a command. Webクライアント端末の構成例を示す図である。It is a figure which shows the structural example of a Web client terminal. タイマ修正処理の手順を説明するための通信手順図である。It is a communication procedure figure for demonstrating the procedure of a timer correction process. 図1に示すシステムの応用例に係るファイル伝送システムの構成例を示す図である。It is a figure which shows the structural example of the file transmission system which concerns on the application example of the system shown in FIG. 時刻修正処理及びファイル伝送処理の関係を説明する図である。It is a figure explaining the relationship between a time correction process and a file transmission process.

符号の説明Explanation of symbols

1 Webクライアント部
2 Webサーバ端末
3 アプリケーション部
4 Webクライアント端末
DESCRIPTION OF SYMBOLS 1 Web client part 2 Web server terminal 3 Application part 4 Web client terminal

Claims (9)

第1のタイマと、前記第1のタイマを制御するオペレーティングシステムと、前記オペレーティングシステム上で動作するブラウザと、前記オペレーティングシステム上で動作するエージェントプログラムと、を備えるクライアント装置と、
第2のタイマを備え、前記クライアント装置からのアクセスに応答して、前記第2のタイマの計時時刻を示す時刻情報を前記クライアント装置に送信するサーブレットを備えるサーバ装置と、
から構成され、
前記エージェントプログラムは、所定条件の成立により、前記ブラウザを起動し、
該ブラウザは、前記サーバ装置にアクセスして該サーバ装置の前記サーブレットからタイマ修正用のJava(登録商標)アプレットをダウンロードし、
前記Java(登録商標)アプレットは、前記サーバ装置にアクセスして前記サーブレットより時刻情報を受信して前記エージェントプログラムに提供し、
前記エージェントプログラムは前記Java(登録商標)アプレットから提供された前記時刻情報に基づいて、前記オペレーティングシステムのアプリケーションインタフェースに時刻情報の修正を依頼し、
前記オペレーティングシステムは、前記エージェントプログラムからの依頼に基づいて、前記第1のタイマを修正する、
ことを特徴とするネットワークシステム。
A client device comprising: a first timer; an operating system that controls the first timer; a browser that operates on the operating system; and an agent program that operates on the operating system;
A server device comprising a servlet comprising a second timer, and in response to an access from the client device, transmitting time information indicating a time measured by the second timer to the client device;
Consisting of
The agent program starts the browser when a predetermined condition is satisfied,
The browser accesses the server device, downloads a Java (registered trademark) applet for timer correction from the servlet of the server device,
The Java (registered trademark) applet accesses the server device, receives time information from the servlet, and provides it to the agent program.
The agent program requests correction of time information to the application interface of the operating system based on the time information provided from the Java (registered trademark) applet,
The operating system modifies the first timer based on a request from the agent program;
A network system characterized by this.
前記クライアント装置は、前記第1のタイマを修正するか否かを指定する制御情報を記憶する手段を備え、
前記Java(登録商標)アプレットは、前記制御情報が前記第1のタイマの修正を行うことを指定しているときに、前記エージェントプログラムに前記第1のタイマの計時時刻の修正を指示する、
ことを特徴とする請求項1に記載のネットワークシステム。
The client device comprises means for storing control information for designating whether to modify the first timer,
The Java (registered trademark) applet instructs the agent program to correct the time measured by the first timer when the control information specifies that the first timer is to be corrected.
The network system according to claim 1.
前記エージェントプログラムは、前記Java(登録商標)アプレットから提供された前記時刻情報が示す時刻と前記第1のタイマの計時時刻との差が所定の閾値より大きいときに、前記オペレーティングシステムに前記第1のタイマの修正を指示する、
ことを特徴とする請求項1又は2に記載のネットワークシステム。
When the difference between the time indicated by the time information provided from the Java (registered trademark) applet and the time measured by the first timer is greater than a predetermined threshold, the agent program sends the first to the operating system. Instructing the timer to be modified,
The network system according to claim 1 or 2, characterized in that
動作スケジュールを規定するスケジュールファイルと、
前記スケジュールファイルと前記第1のタイマの計時時刻とに従って、前記エージェントプログラムに時刻修正動作の起動をかけるアプリケーションプログラムと、
をさらに備えることを特徴とする請求項1乃至3の何れか1項に記載のネットワークシステム。
A schedule file that defines the operation schedule;
An application program that activates a time correction operation to the agent program according to the schedule file and the time measured by the first timer;
The network system according to any one of claims 1 to 3, further comprising:
タイマと
前記タイマを管理するオペレーティングシステムと、
前記オペレーティングシステム上で動作するブラウザと、
前記オペレーティングシステム上で動作するエージェントプログラムと、
を備え、
前記エージェントプログラムは、所定条件の成立により、前記ブラウザを起動し、
該ブラウザは、他の装置にアクセスして該他の装置からタイマ修正用のJava(登録商標)アプレットをダウンロードし、
前記Java(登録商標)アプレットは、前記他の装置にアクセスして時刻情報を受信して前記エージェントプログラムに提供し、
前記エージェントプログラムは前記Java(登録商標)アプレットから提供された時刻情報に基づいて、前記オペレーティングシステムのアプリケーションインタフェースに時刻情報の修正を依頼し、
前記オペレーティングシステムは、前記エージェントプログラムからの依頼に基づいて、前記タイマを修正する、
ことを特徴とするコンピュータシステム。
A timer and an operating system for managing the timer;
A browser running on the operating system;
An agent program operating on the operating system;
With
The agent program starts the browser when a predetermined condition is satisfied,
The browser accesses another device, downloads a Java (registered trademark) applet for timer correction from the other device,
The Java (registered trademark) applet accesses the other device, receives time information, and provides it to the agent program;
The agent program requests the operating system application interface to correct the time information based on the time information provided from the Java (registered trademark) applet,
The operating system modifies the timer based on a request from the agent program.
A computer system characterized by that.
前記コンピュータシステムは、前記タイマの計時時刻を修正するか否かを指定する制御情報を記憶する手段を備え、
前記Java(登録商標)アプレットは、前記制御情報が前記タイマの計時時刻を修正することを指定しているときに、前記エージェントプログラムに前記タイマの計時時刻の修正を指示する、
ことを特徴とする請求項5に記載のコンピュータシステム。
The computer system comprises means for storing control information for specifying whether or not to correct the time measured by the timer,
The Java (registered trademark) applet instructs the agent program to correct the time count of the timer when the control information specifies to correct the time count of the timer.
The computer system according to claim 5.
前記エージェントプログラムは、前記Java(登録商標)アプレットから提供された前記時刻情報が示す時刻と前記タイマが計時している時刻との差が所定の閾値より大きいときに、前記オペレーティングシステムに前記タイマの計時時刻の修正を指示する、ことを特徴とする請求項5又は6に記載のコンピュータシステム。   When the difference between the time indicated by the time information provided from the Java (registered trademark) applet and the time measured by the timer is greater than a predetermined threshold, the agent program sends the timer program to the operating system. The computer system according to claim 5, wherein the computer system instructs correction of a time measurement time. 動作スケジュールを規定するスケジュールファイルと、
前記スケジュールファイルと前記タイマの計時時刻とに従って、前記エージェントプログラムに前記タイマの計時時刻を修正する動作の起動をかけるアプリケーションプログラムと、
をさらに備えることを特徴とする請求項5乃至7の何れか1項に記載のコンピュータシステム。
A schedule file that defines the operation schedule;
An application program that activates the agent program to start the operation of correcting the timer time according to the schedule file and the timer time;
The computer system according to claim 5, further comprising:
タイマ修正機能を備えるオペレーティングシステムと、ダウンロードされたプログラムを実行する仮想マシン機能を備えたブラウザとがインストールされたコンピュータにおいて、
前記ブラウザを起動して他装置にアクセスさせて、該他装置からタイマ修正用のプログラムをダウンロードさせ、
前記タイマ修正用のプログラムが前記仮想マシン機能によって実行されて他装置にアクセスして取得した時刻情報の提供を受けて、
前記オペレーティングシステムに、該オペレーティングシステムが管理するタイマの計時時刻が、提供された前記時刻情報が示す時刻に一致するように、修正させる、
ことを特徴とするコンピュータプログラム。
In a computer in which an operating system having a timer correction function and a browser having a virtual machine function for executing a downloaded program are installed,
Launch the browser to access another device, download the timer correction program from the other device,
The timer correction program is executed by the virtual machine function to receive time information obtained by accessing another device,
Causing the operating system to correct the time measured by a timer managed by the operating system so as to match the time indicated by the provided time information;
A computer program characterized by the above.
JP2004287275A 2004-09-30 2004-09-30 Network system, computer system and computer program Active JP4271639B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004287275A JP4271639B2 (en) 2004-09-30 2004-09-30 Network system, computer system and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004287275A JP4271639B2 (en) 2004-09-30 2004-09-30 Network system, computer system and computer program

Publications (2)

Publication Number Publication Date
JP2006099621A true JP2006099621A (en) 2006-04-13
JP4271639B2 JP4271639B2 (en) 2009-06-03

Family

ID=36239336

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004287275A Active JP4271639B2 (en) 2004-09-30 2004-09-30 Network system, computer system and computer program

Country Status (1)

Country Link
JP (1) JP4271639B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2343666A1 (en) * 2009-12-27 2011-07-13 Polska Wytwornia Papierow Wartosciowych S.A. Method and system for time-synchronizing of a user terminal with a server

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2343666A1 (en) * 2009-12-27 2011-07-13 Polska Wytwornia Papierow Wartosciowych S.A. Method and system for time-synchronizing of a user terminal with a server

Also Published As

Publication number Publication date
JP4271639B2 (en) 2009-06-03

Similar Documents

Publication Publication Date Title
JP4698756B2 (en) Offline execution of web-based applications
US6986133B2 (en) System and method for securely upgrading networked devices
US20030121032A1 (en) Method and system for remotely updating function of household device
JP2004021325A (en) Communication controller and communication control method
CN103019757A (en) Method, device and system for synchronizing software among multiple clients
US20080163227A1 (en) Server and client, and update supporting and performing methods thereof
US20230123054A1 (en) Browser-driven capture of application installations for application virtualization
CN111131146A (en) Multi-supercomputing center software system deployment and incremental updating method in wide area environment
KR101704319B1 (en) Parameter configuration system, program management device, and information process device
AU2005222507A1 (en) Portable computing environment
JP2005228009A (en) Version update method for communication oriented application program and its program
CN105988752A (en) Information processing device and information processing method
JP4271639B2 (en) Network system, computer system and computer program
JP2003228486A (en) Method and system for managing software, and program
JP2007323653A (en) Data delivery system, data delivery method and data delivery program
KR100524588B1 (en) succeeding method of data in mobile
JP2005352778A (en) Server, client, and control method thereof
JP2004178353A (en) Information terminal, and program for acquiring content
JP2017182639A (en) Job reservation system and job reservation method
JP2005149336A (en) Storage management method and device therefor
JP4890486B2 (en) Monitoring control system and monitoring control method
JP2006059267A (en) Application execution system and application execution method
JP2004005124A (en) Software distribution system
JP4163940B2 (en) File processing system and control program
US11556086B2 (en) Image forming apparatus and setting file management system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060704

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080623

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080701

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080825

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081104

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090105

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20090113

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090225

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120306

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4271639

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130306

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130306

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140306

Year of fee payment: 5

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250