JP2004192226A - Data processing system - Google Patents

Data processing system Download PDF

Info

Publication number
JP2004192226A
JP2004192226A JP2002358120A JP2002358120A JP2004192226A JP 2004192226 A JP2004192226 A JP 2004192226A JP 2002358120 A JP2002358120 A JP 2002358120A JP 2002358120 A JP2002358120 A JP 2002358120A JP 2004192226 A JP2004192226 A JP 2004192226A
Authority
JP
Japan
Prior art keywords
data
terminal device
module
server device
change
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002358120A
Other languages
Japanese (ja)
Inventor
Hiroaki Mitsumizu
宏章 三水
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.)
Shinko Electric Industries Co Ltd
Original Assignee
Shinko Electric Industries Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shinko Electric Industries Co Ltd filed Critical Shinko Electric Industries Co Ltd
Priority to JP2002358120A priority Critical patent/JP2004192226A/en
Publication of JP2004192226A publication Critical patent/JP2004192226A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data processing system capable of facilitating data change notification from a server device, efficiently acquiring changed data, and processing the changed data in real time on a terminal side, when data processed on the server side are changed. <P>SOLUTION: The data processed by a plurality of modules inside the server device are displayed on each terminal device. The terminal device has a terminal-side registration table allowing independent registration of an identification number into a module related to the data used for the display on the terminal device itself, and also registers the identification number into a server-side registration table of each the module. When the data inside the server device are changed, the data change notifications A1, A2 including the identification number taken out of the server-side registration table are transmitted to the terminal device, and the terminal device acquires the changed data D1, D2 related to the module capable of recognizing the data change by the change notification and updates the display of each the terminal device. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、サーバ上のデータをリアルタイムに処理して出力することができるデータ処理システムに関し、特に、サーバのレスポンスがデータ処理に影響を受けないリアルタイム出力ができるデータ処理システムに関する。
【0002】
【従来の技術】
従来から、例えば、半導体製品の製造ラインなどでは、半導体ウエハへの一連の加工処理毎における加工仕様の設定や、加工実績データの収集について、コンピュータシステムが導入され、各加工工程における処理に係る情報が一元的に管理されている。
【0003】
この様に、素材が導入され、複数の加工工程を経て製品として完成されるまでを管理するコンピュータシステムを利用したデータ処理システム例の概要が、図8に示されている。複数の加工工程の加工装置に、夫々端末装置Tが配置され、端末装置Tが、当該加工装置を制御し、当該加工工程処理を実行させるとともに、当該加工工程において加工処理された実績データを収集するようにしている。図8では、代表的に、3工程における端末装置T1乃至T3が配置されており、端末装置T1乃至T3は、LANなどのネットワークを介して、サーバ装置Sに接続され、端末装置T1乃至T3とサーバ装置とは双方向通信が行われ、必要な情報が送受信される。
【0004】
サーバ装置Sは、各端末装置を制御する上で必要な複数のアプリケーションを有している。そして、さらに、格納手段が備えられており、この格納手段には、各加工装置の加工制御に必要な加工仕様情報が格納され、各加工装置の加工処理に応じた加工仕様情報が各加工装置に送信されるようになっている。また、各加工工程において得られた実績情報は、各端末装置がデータ収集し、サーバ装置Sに送信され、サーバ装置Sの格納手段にデータベースとして格納される。
【0005】
一方、端末装置T1乃至T3の夫々には、表示装置が備えられており、例えば、自端末装置が制御している加工装置に係る加工条件や加工状態、或いは、他の加工工程の加工実績をモニタできるようになっている。この様なモニタを表示装置で行う場合には、サーバ装置Sの格納手段にあるデータベースから送付されたデータを取得し、端末装置T1乃至T3内において、表示装置の画面に表示できる表示画像データに加工処理している。
【0006】
図8に示したデータ処理システムでは、サーバ装置Sが管理できる端末装置T1乃至T3の数を、例として、3としたが、端末装置が多数となり、1台のサーバ装置では、管理負荷が大きくなる場合には、図9に示されるように、複数の端末装置をグループに分け、中継サーバ装置IS1、IS2を適当数配置し、負荷分散させてもよい。
【0007】
ところで、各端末装置Tの表示装置において種々の情報について表示を行う場合には、サーバ装置Sが保有するデータベースから必要情報に係るデータを取得し、自端末装置内で当該データを画像表示データに処理した後に、表示装置で情報の表示を行っている。そのため、サーバ装置Sのデータベースに保有されている現在表示中の情報について、データが変更されたとき、この変更に応じて表示画面においても表示画像を変更するには、この変更データをサーバ装置Sから取得しなければならない。
【0008】
ここで、サーバ装置Sのデータベースに保有された情報のデータが変更されたとき、端末装置が当該変更データを取得する種々の方法について、以下に説明する。
【0009】
(1)図10に、端末装置の夫々に対し、サーバ装置Sによってデータに変更があったことが通知されるデータ処理システムの従来例1の場合を示した。図10では、サーバ装置Sが、2台の端末装置T1及びT2を管理している場合を例示している。
【0010】
先ず、サーバ装置Sのデータベース内の情報に関してデータ変更があったとき、サーバ装置Sは、端末装置T1に対して、表示しているデータの変更を通知し、取得しているデータの変更要求を行う。そして、端末装置T1は、この変更要求を受けて、サーバ装置Sにデータの要求を行う。次いで、サーバ装置Sは、当該変更データをデータベースから読み出し、端末装置T1に、読み出した変更データを送信する。端末装置T1は、受信した変更データに基づいて表示画像に処理して表示を行い、表示が終了した時点で、サーバ装置Sに表示終了の通知を送信する。
【0011】
端末装置T1に対する変更データに係る表示が完了すると、サーバ装置Sは、端末装置T2に対する変更データの送信作業に入る。端末装置T2に対する変更データの送信作業は、端末装置T1に対して実行される手順と同様であり、変更要求、変更データ要求、変更データの送信、変更データの表示処理、そして、変更データの表示終了の通知が行われる。サーバ装置Sの管理する端末装置Tがさらにある場合には、上述の手順が、端末装置毎に繰り返し実行される。
【0012】
(2)図11に、端末装置がサーバ装置に対して定期的にポーリングを行って変更データを取得するデータ処理システムの従来例2の場合を示した。端末装置T1は、サーバ装置Sに対して、一定間隔でポーリングを行う。サーバ装置Sは、端末装置T1からポーリングがあったとき、データベースから当該データを読み出し、ポーリングに対する応答として、このデータを端末装置T1に送信する。そこで、端末装置T1は、送信されたデータに基づいて表示画像に処理して表示を行う。なお、端末装置T1からポーリングが行われたとき、当該データに関して変更があるときのみ、その変更データを送信するようにしてもよい。
【0013】
図11では、サーバ装置Sに対して1台の端末装置T1が接続された場合を代表的に示しており、複数台の端末装置が接続されている場合には、端末装置からのポーリングは、そのタイミングが互いに重ならないように、所定の時間を置いてずらして端末装置毎に行われる。
【0014】
(3)図12に、サーバ装置から変更データが複数の端末装置に同報送信されるデータ処理システムの従来例3の場合を示した。図12では、2台の端末装置を代表的に示しており、さらに、多くの端末装置が接続されていてもよい。データベースに格納されている情報に変更があったとき、サーバ装置Sは、端末装置T1及びT2に対して、データベースから読み出した全データを一方的に同報送信する。ここで、同報送信されるデータは、図12に示すように、全データであるデータD1、D2、D3、…と共通データとから構成されている。この全データは、変更データのみであってもよい。
【0015】
端末装置T1又はT2においては、同報送信されたデータに含まれる共通データから、自端末装置に係る表示中のデータに変更があるかどうかを判断し、変更がある場合には、当該データを選択して抽出する。そして、当該データに基づいて表示画像に処理して表示を行う。
【0016】
このように、従来例1乃至3のデータ処理システムによれば、サーバ装置が一括管理している情報に変更があったとき、各端末装置の夫々においてその情報に基づいて画面表示していても、その変更に応じて表示されている画像をリアルタイムに変更することができる。
【0017】
【発明が解決しようとする課題】
以上に述べた従来のデータ処理システムを利用することによって、サーバ装置に格納されたデータを表示することができる。
【0018】
しかし、従来例1のデータ処理システムにおいては、サーバ装置のデータに変更があったとき、データ変更要求、データ要求、データ送信、変更データ表示処理、そして、表示終了の通知という一連の手順が、一つの端末装置について実行されるので、この一連の手順が実行されている間は、サーバ装置は拘束されている。そして、次の端末装置について実行されることになる。端末装置が複数ある場合には、前の端末装置の処理が終わらないと、次の端末装置に移らないため、全端末装置の表示処理が終わるまで、サーバ装置は長時間拘束されることになり、端末装置数が増えると、レスポンスが悪くなるという問題がある。
【0019】
また、従来例2のデータ処理システムにおいては、サーバ装置が管理する端末装置が増加した場合、端末装置が発するポーリングの間隔を狭くする必要性が生じるが、システム制御を複雑にするだけでなく、サーバ装置と端末装置を接続するネットワークの負荷が増大するという問題がある。
【0020】
一方、従来例3のデータ処理システムにおいては、サーバ装置に接続される端末装置が増加しても、サーバ装置から全端末装置に変更データの全てを一方的に同報送信してしまうので、サーバ装置の拘束時間は、短くなり、しかも、サーバ装置の処理負担は軽減されるが、端末装置側では、変更データの全てが送信されるので、各端末装置において、自端末装置に係る変更データを抽出する機能を備える必要があり、端末装置内の制御を複雑化させるという問題がある。
【0021】
そこで、本発明は、サーバ装置に接続されるデータ処理端末数が増大しても、各端末で処理しているデータに係るモジュールを登録する機能を設けることにより、データベースに格納されたデータが変更されたとき、変更データをサーバ装置から端末側に効率的に送信できるようにして、サーバ装置の変更データ送信に関わる拘束時間を短縮でき、変更データを端末装置でリアルタイム処理できるデータ処理システムを提供することを目的とする。
【0022】
【課題を解決するための手段】
以上の課題を解決するため、本発明では、複数の第1モジュールにおいて夫々処理されたデータが第2モジュールにおいて処理され出力されるデータ処理システムにおいて、前記第1モジュールから伝送された前記データを前記第2モジュールの動作で処理する処理手段と、前記第2モジュールの処理における前記第1モジュールとの関連状態を示すモジュール識別情報を登録する登録手段とを備え、前記処理手段は、前記第1モジュールにおいて前記データが変更された場合、前記モジュール識別情報を含む変更情報が通知された後、該モジュール識別情報によって特定される当該第1モジュールから変更データを取得することとした。
【0023】
そして、前記モジュール識別情報は、前記処理手段において処理されている前記データが前記第1モジュールのどれに関連するものかを識別できるものであり、前記第1モジュールの夫々に対応した前記第2モジュール側で独自に付与できる識別番号とした。
【0024】
さらに、前記第2モジュールは、取得した前記データをリアルタイム表示する処理を実行することとした。
【0025】
また、前記処理手段を夫々に含み、前記第1モジュールを含むサーバ手段に接続されている複数の端末手段を有し、前記登録手段が、前記各端末手段に備えられるようにし、該登録手段は、自端末手段に含まれる前記第2モジュールの処理に係る前記モジュール識別情報を前記端末手段内に登録することでき、自端末手段に登録した前記モジュール識別情報を前記サーバ手段に前記第1モジュール毎に登録することとした。
【0026】
前記端末手段は、前記処理手段で処理された前記データを画像表示する表示手段を有し、該表示手段は、前記変更情報に基づいて取得した前記変更データについて画像表示することとした。
【0027】
また、前記サーバ手段は、前記複数の第1モジュールを有しており、該第1モジュールの夫々で処理された前記データを前記端末手段に伝送し、前記複数の端末手段の夫々において処理される前記データに対応した前記モジュール識別情報が、前記登録手段によって、前記第1モジュール毎に、前記端末手段毎に登録されることとした。
【0028】
さらに、前記サーバ手段は、前記データが前記第1モジュールにおいて変更処理された場合、登録された前記モジュール識別情報に従って、当該データを処理している当該端末手段に対して前記変更情報を通知するようにした。
【0029】
【発明の実施の形態】
次に、本発明のデータ処理システムに係る実施形態について、以下に、図1乃至7を参照しながら説明する。
【0030】
本実施形態によるデータ処理システムは、従来例1のデータ処理システムと同様に、図8又は図9に示されるように、サーバ装置S、或いは、中継サーバ装置IS1又はIS2を介して、複数の端末装置T1乃至T4を一括して管理するものであり、各端末装置に備えられた表示装置において、サーバ装置S又は中継サーバ装置のデータベース内のデータに基づいて送信されたデータが端末装置内で画像処理され、表示されている。
【0031】
ところが、従来例1のデータ処理システムでは、サーバ装置Sの保有するデータに変更があったとき、データ変更要求、データ要求、データ送信、変更データ表示処理、そして、表示終了の通知という一連の手順が、一つの端末装置について実行されるが、この一連の手順が前の端末装置に対して終わらないと、次の端末装置に移れないものであった。これは、変更要求を送信してから、端末装置の夫々において変更データに係る表示処理が終了したことを示す表示終了通知を受けるまでの間、特に、端末装置が表示処理を実行している間は、サーバ装置のコンピュータが動作していないにも拘らず、コンピュータを拘束していることになる。
【0032】
そこで、本実施形態のデータ処理システムでは、サーバ装置Sの保有するデータに変更があった時点では、サーバ装置Sからは、各端末装置に対して、データ変更通知を送信し、サーバ装置Sは、端末装置が当該データに変更があったことを認識したことを表すデータ変更受信通知を受けるだけにした。そして、端末装置は、自端末で表示しているデータに変更があったことを認識できたときには、サーバ装置Sにデータ変更受信通知を送信した後に、サーバ装置Sに対して、当該変更データの送信を要求し、当該変更データを取得して画像表示を行う。この様な手順とすることにより、サーバ装置Sのコンピュータは、端末装置における変更データの画像処理の時間に影響されなくなるので、サーバ装置Sの拘束時間が短縮されるものとなる。
【0033】
図1に、本実施形態のデータ処理システムにおけるサーバ装置と各端末装置との情報の送受信に関する概略を説明するためのタイムチャートを示した。図1の見方は、図10に示した従来例1のデータ処理システムにおけるタイムチャートと同様の表現形式であり、サーバ装置Sが複数の端末装置、代表的に端末装置T1及びT2を一括管理しており、サーバ装置Sのデータベースに格納されているデータが端末装置T1及びT2に送信され、当該データは、各端末装置内で画像処理され、表示装置の画面に表示されるようになっている。
【0034】
先ず、サーバ装置Sのデータベース内の情報に関してデータ変更があったとき、サーバ装置Sは、端末装置T1に対して、端末装置T1で表示しているデータの変更を通知(A1)する。そこで、端末装置T1は、この通知A1によって自端末装置の表示に関わるデータの変更を認識し、表示処理モジュールを起動する。そして、サーバ装置Sに対して、データ変更受信通知B1を送信する。
【0035】
次いで、サーバ装置Sは、この端末装置T1からデータ変更受信通知B1を受信してから、端末装置T2に対して、端末装置T2で表示しているデータの変更を通知(A2)する。そして、端末装置T2は、この通知によって自端末装置の表示に関わるデータの変更を認識し、表示処理モジュールを起動する。そして、サーバ装置Sに対して、データ変更受信通知B2を送信する。
【0036】
このようにして、データ変更があった時点では、管理している複数の端末装置の全てに対して、データ変更があったことだけを通知し、各端末装置に、自端末装置の表示に係るデータに変更があったことを認識させる。
【0037】
次いで、サーバ装置Sから各端末装置へのデータ変更があったことを示す通知の送信が完了した後においては、サーバ装置Sは、各端末装置からの変更データ要求に対応すればよいことになる。端末装置T1は、データ変更受信通知B1を送信後、所定時間を経てから、サーバ装置Sに対して、自端末装置の表示に関わるデータに対応する変更データを要求(C1)する。サーバ装置Sは、この要求に応じて、端末装置T2の表示に係る当該変更データを送信(D1)する。そして、端末装置T1は、取得した当該変更データを画像処理し、自表示装置の画面に更新した画像を表示する。
【0038】
また、端末装置T2は、データ変更受信通知B2を送信後、所定時間を経てから、サーバ装置Sに対して、自端末装置の表示に関わるデータに対応する変更データを要求(C2)する。サーバ装置Sは、この要求に応じて、端末装置T2の表示に係る当該変更データを送信(D2)する。そして、端末装置T2は、取得した当該変更データを画像処理し、自表示装置の画面に表示する。さらに、他の端末装置にデータ変更通知が送信されている場合には、各端末装置は、同様の手順に従って、変更データを取得し、表示を更新する。
【0039】
以上のように、サーバ装置Sの動作は、各端末装置における表示のための画像処理時間に影響しなくなる。つまり、サーバ装置Sは、端末装置の変更データに係る画像処理中において、他の端末装置に係る変更データの要求に応じることができる。なお、各端末装置からのサーバ装置Sへの変更データ要求C1、C2、…は、その要求タイミングが競合しないように、予め調整しておく必要がある。
【0040】
ところで、本実施形態のデータ処理システムでは、サーバ装置Sには、一括管理されている複数の端末装置における表示に対応する複数のモジュールが用意されており、この複数のモジュールによるタスクで処理されたデータが各端末装置に送信され、夫々の表示装置の画面に表示されている。図1に示したタイムチャートに従った手順で必要な情報の送受信を行うためには、端末装置の夫々において、サーバ装置Sに備えられたどのモジュールのタスクによるデータを表示しているかの表示処理状態を示すモジュール識別情報が必要となる。
【0041】
このモジュール識別情報の具体例について、図2に示した。図2(a)は、サーバ装置Sの内部に格納されるモジュール識別情報の登録テーブルの例を示し、サーバ装置S内に分割された3つのモジュールがあり、それらのモジュールに対応したタスクM1乃至M3についての登録テーブルが用意されている。各登録テーブルは、夫々端末装置毎にモジュール識別情報が記録される。
【0042】
図2(b)は、端末装置内に用意されたモジュール識別情報の登録テーブルの例を示しており、この登録テーブルは、端末装置毎にあり、自端末装置で取り扱っているデータがサーバ装置内のどのモジュールによるものかの関連状態を識別するためのモジュール識別情報が、使用しているデータに係るタスクに対応して登録されている。
【0043】
図2の例では、このモジュール識別情報には、識別番号が用いられているが、この識別情報は、自端末装置で扱っているデータがタスク毎に区別できる数字又は記号による情報であれば十分であり、自端末装置において独自に付与される。したがって、付与された識別情報自体が、他の端末装置における識別情報と同じ記号などになっても問題とならない。
【0044】
モジュール識別情報は、扱っているデータのタスク毎に端末装置側で夫々独自に付与されるので、サーバ装置内の登録テーブルには、端末装置内の登録手段で作成された後に、自端末装置のコードと共に当該識別情報を送信して登録しておく必要がある。
【0045】
図2では、モジュール識別情報として識別番号を用いており、その記号として、テーブル上にN11乃至N32と表記しているが、単に、N11が1、N12が2であってもよい。端末装置T1においては、サーバ装置S内のタスクM1とタスクM2によるデータが取り扱われ、そのデータを表示していることが表され、これらのタスクM1又はM2のどちらのデータが表示されているか識別できるように登録されている。同様にして、端末装置T2では、タスクM1のデータ表示がされ、識別番号は一つ登録されており、そして、端末装置T3では、タスクM2とタスクM3のデータ表示がされ、これに対して、識別番号が夫々にN31とN32が登録されている。
【0046】
一方、図2(a)に示されるサーバ装置内の登録テーブルには、図2(b)に示される端末装置毎のタスクM1乃至M3に係るデータの表示処理状態が記録されており、例えば、タスクM1に関しては、端末装置T1と端末装置T2において表示処理にタスクM1によるデータが使われていることが示され、端末装置T1におけるタスクM1の識別番号N11と、端末装置T2におけるタスクM1の識別番号N21とが記録されている。同様にして、タスクM2においては、端末装置T1の識別番号N12と、端末装置T3の識別番号N31とが記録され、タスクM3においては、端末装置T3の識別番号N32が記録されている。
【0047】
以上のように登録されたモジュール識別情報に基づいて、サーバ装置S内のモジュールに係るデータ変更があったとき、サーバ装置Sは、当該登録テーブルから、識別番号を読み出し、読み出した識別番号と変更フラグを含めてデータ変更通知を作成し、該通知を端末装置に送信する。端末装置では、受信したデータ変更通知の識別番号と変更フラグに従って、表示しているデータの変更に該当するときには、自端末装置のモジュールが起動される。
【0048】
例えば、サーバ装置S内のタスクM1に係るデータにおいて、変更が発生したときには、サーバ装置Sでは、端末装置T1にデータ変更通知A1を送信するため、サーバ装置内登録テーブルから端末装置T1に係る識別番号N11が読み出される。そこで、読み出された識別番号N11に、タスクM1に関してデータ変更がされたことを表す変更フラグを付して、データ変更通知A1が作成される。
【0049】
データ変更通知A1を受信した端末装置T1では、端末装置T1内の登録テーブルに使用しているタスク毎に識別番号N11とN12が登録されているので、データ変更通知A1に含まれる識別番号だけで、使用しているどのタスクに係るデータが変更されたかが即座に識別することができる。この識別結果に従って、サーバ装置Sに対して当該変更データを要求すればよい。
【0050】
この様に、モジュール識別情報については、自端末装置内で使用しているタスクを識別するだけで済むため、端末装置側で独自に登録でき、しかも、互いに異なる数字又は記号を識別情報とすることができる。さらに、この簡単な識別情報としたことにより、各タスクに特別なコードなどを定義しておく必要が無く、識別するための解析システムを備える必要が無いので、システム構成を簡単化することができる。
【0051】
次に、図8に示されるデータ処理システムに、本実施形態のデータ処理を適用した場合における端末装置の情報受信処理のフローチャートを、図3に示した。
【0052】
先ず、端末装置の表示手段において表示するために必要なデータを、サーバ装置Sから取得する。そして、端末装置内の表示処理モジュールで表示手段の画面に表示する画像を生成する。このとき、この画像に係るデータがサーバ装置内のどのタスクによるものか識別できる識別情報、例えば、独自に付与した識別番号を、図2(b)に示されるように、自端末装置内の登録テーブルに登録する。さらに、登録した識別番号を、サーバ装置Sに送信し、図2(a)に示されるように、サーバ装置内の登録テーブルに当該識別番号を該当するタスク欄に登録する(ステップS1)。
【0053】
サーバ装置Sからデータ変更通知が送信されるまで、取得したデータによる画像を表示し続ける(ステップS2)。データ変更通知が送信されないということは、サーバ装置ないにおいて、使用しているデータに変化が無いことを示している。
【0054】
そこで、データ変更通知が、サーバ装置Sから端末装置に送信されたとき、端末装置は、どのタスクに係るデータが変更されたかを認識し、表示処理モジュールの動作を起動させる(ステップS3)。そして、データ変更受信の通知をサーバ装置Sに送信し(ステップS4)、ステップS2に戻って、次のデータ変更通知が送信されるのを待つ。
【0055】
一方、端末装置内の表示処理モジュールの動作は、取得したデータにより画像を表示した後においては、表示に係るデータに変更があるまで、待機している(ステップS5)。
【0056】
ステップS3において、データ変更通知が送信され、自端末装置で使用しているデータに変更があったことを認識したとき、起動待ち状態であった表示処理モジュールが起動される。そして、当該変更データを画面に表示するため、サーバ装置Sから変更された表示データを取得する(ステップS6)。
【0057】
次いで、取得した変更データを表示処理モジュールで表示画像に処理し、表示手段の画面の表示を更新する(ステップS7)。そして、画面の表示を更新し終わると、表示処理モジュールは、データ変更通知が送信されるまで、起動待ち状態になる。
【0058】
以上のようにして、サーバ装置Sから取得したデータに基づいて端末装置の表示画面に表示していた場合に、サーバ装置S内で当該データに変更が発生する度に通知されるデータ変更通知に従い、この通知に含まれる識別情報によって、使用していたデータが変更されたことを簡単に知ることができ、変更があったデータによって、リアルタイムに表示を更新することができる。サーバ装置Sにとっては、複数の端末装置に対して、データ変更通知のみを短時間で送信することができ、拘束時間が大幅に減少される。
【0059】
次に、図3のステップS1におけるモジュール識別情報の登録について、図4及び図5のフローチャートを参照して説明する。図4は、主に、端末装置内における登録テーブルに登録された識別情報をサーバ装置へ登録処理する場合を示し、図5は、主に、サーバ装置内の登録テーブルへの識別情報の登録処理を示している。
【0060】
図4において、先ず、サーバ装置Sから取得したデータに基づいて表示をしているとき、端末装置内に備えられた登録テーブルに、使用しているデータに係るタスク毎に自端末装置独自による識別番号が登録される。なお、その後、表示対象が変わり、使用するデータが変更、削除又は追加された場合には、その都度、当該データに係るタスク毎に、登録テーブル内の識別番号が、書き換えられる。
【0061】
ここで、端末装置内に備えられた登録テーブルの先頭欄を取り出し、識別番号を読み出す(ステップS11)。このとき、この読出しが最後であるかが判断されるが(ステップS12)、この時点では、まだ、先頭であるので(N)、読み出された識別番号を該当するサーバ装置に送信する(ステップS13)。この識別番号のサーバ装置Sの登録テーブルへの登録するタイミングは、端末装置から単独に実行されるようにしてもよいが、表示に必要なデータをサーバ装置に要求するときに行われてもよい。
【0062】
先頭欄に登録された識別番号を送信した後、該登録テーブルの次の欄から別のタスクに対して登録した識別番号を取り出し(ステップS14)、該当するサーバ装置に送信する。この様にして、端末装置内の登録テーブルに登録されている識別番号の全てについて、該当するサーバ装置に送信を繰り返して、識別番号の送信処理を終了する。
【0063】
次いで、サーバ装置内の登録テーブルに端末装置から送信された識別番号を登録する処理について、図5を参照して説明する。サーバ装置内には、識別番号の登録処理モジュールが備えられており、端末装置からの識別番号の登録要求があったとき、そのモジュールが起動される。該登録要求が無いときには、登録の要求待ち状態になっている(ステップS21)。
【0064】
端末装置からサーバ装置に登録処理の要求があったとき、その要求が、識別番号の「登録」か、又は、「削除」かの要求種別の判断がされる(ステップS22)。その要求種別が、「登録」である場合には(Y)、当該識別番号が当該登録テーブルに登録済みであるかどうかが判断される(ステップS23)。ここで、当該識別番号が登録済みである場合には(Y)、ステップS21に戻って要求待ち状態となる。当該識別番号がまだ登録されていない場合には(N)、該識別番号を当該登録テーブルに登録し(ステップS24)、ステップS21に戻って要求待ち状態となる。
【0065】
一方、ステップS22において、要求種別が「削除」である場合には、該識別番号が登録済みであるかどうかが判断され(ステップS25)、登録されていなければ(N)、この削除要求を無視して、ステップS21にもどって要求待ち状態とし、登録されている場合には(Y)、当該識別番号を該当登録テーブル欄から削除し(ステップS26)、そして、ステップS21に戻って、要求待ち状態となる。
【0066】
以上の手順により、端末装置で使用されているデータに応じて、端末装置独自で登録したモジュール識別情報が、サーバ装置内のモジュール識別情報の登録テーブルに登録された。そこで、サーバ装置内でデータ変更が行われた場合、図1に示される端末装置へのデータ変更通知の送信に際し、サーバ装置内の登録テーブルから端末装置の識別番号を取り出すサーバ装置側割り込み処理について、図6のフローチャートを参照して説明する。
【0067】
サーバ装置内でデータ変更が行われたとき、データ変更に係るタスクの登録テーブルを参照し、先ず、該登録テーブルの先頭欄から、識別番号を取り出す(ステップS31)。例えば、図2(a)の登録テーブルのようであれば、タスクM1に係るデータが変更された場合には、端末装置T1について登録された識別番号N11が取り出される。
【0068】
このとき、この取り出しが最後であるかが判断されるが(ステップS32)、この時点では、まだ、当該登録テーブルの先頭であるので(N)、取り出された識別番号を該当する端末装置に送信する(ステップS33)。例えば、取り出された識別番号N11と変更フラグとからデータ変更通知A1が生成され、該データ変更通知を、端末装置T1に送信する。
【0069】
続いて、先頭欄に登録された識別番号を送信した後、該登録テーブルの次の欄から登録された識別番号を取り出し(ステップS34)、該当する端末装置に送信する。例えば、取り出された識別番号N21と変更フラグとからデータ変更通知A2が生成され、該データ変更通知を、端末装置T2に送信する。この様にして、端末装置内の登録テーブルに登録されている識別番号の全てについて、該当する端末装置に送信を繰り返して、識別番号の送信処理を終了する。
【0070】
次に、サーバ装置にデータ変更があったときの端末装置側の割り込み処理について、図7のフローチャートを参照して説明する。サーバ装置から取得したデータを表示した後では、端末装置は、図3のステップS2に示されるように、サーバ装置の変化待ち状態にある。この状態にある場合、端末装置で表示中のデータがサーバ装置内で変更されたときには、データ変更通知がサーバ装置から端末装置へ送信される。そこで、データ変更通知が送信された端末装置において、図3のステップS5、S6に示されるように、表示処理モジュールに対して割り込み処理が行われる。
【0071】
先ず、サーバ装置から端末装置にデータ変更通知が送信されると、該データ変更通知に含まれる識別番号が判断される(ステップS41)。このとき、該識別番号が自端末装置の登録テーブルに登録された識別信号でなければ(N)、割り込み処理は、終了となる。
【0072】
該識別番号が自端末装置の登録テーブルに登録された識別信号である場合には(Y)、例えば、図2(b)における端末装置T1の登録テーブルに示されるように、データ変更通知A1に識別番号N11が含まれ、変更フラグが付与されていると、端末装置T1は、識別番号N11に基づいてタスクM1でデータ変更があったことを認識でき、これにより、タスクM1の処理について表示処理モジュールを起動させる(ステップS42)。
【0073】
また、データ変更通知A1に識別番号N12が含まれ、変更フラグが付与されている場合には、端末装置T1は、識別番号N12に基づいてタスクM2でデータ変更があったことを認識し、タスクM2の処理について表示処理モジュールを起動させる(ステップS43)。
【0074】
さらに、端末装置T1の表示中のデータがサーバ装置SのタスクM3に関わるものであれば、端末装置T1の登録テーブルに、識別番号N13が登録されている。この場合に、端末装置T1に送信されたデータ変更通知A1が識別番号N13を含んでいれば、タスクM3の処理について表示処理モジュールを起動させる(ステップS44)。
【0075】
以上のようにして、サーバ装置から端末装置に送信されたデータ変更通知に含まれる自端末装置の識別番号に従って、端末装置の表示処理モジュールを起動でき、当該識別番号に基づいてサーバ装置内のタスクを特定し、データ変更が行われる度に、サーバ装置から当該変更データを取得することができる。そのため、端末装置では、サーバ装置から取得したデータに変更があった場合、リアルタイムに表示することができる。
【0076】
なお、これまで説明してきた本実施形態のデータ処理システムでは、サーバ装置で管理されているデータを端末装置の表示装置の画面に表示する場合を例にしたが、端末装置における表示処理以外でも、サーバ装置が管理するデータを端末装置でリアルタイム処理する場合にも、本実施形態によるデータ処理システムを適用することができる。
【0077】
また、本実施形態のデータ処理システムでは、サーバ装置内においてデータ変更が発生しないときには、端末装置には、データ変更通知が送信されないため、該データ変更通知が送信されない限り、端末装置側ではサーバ装置側の動作状態を把握することができない。
【0078】
そのため、本実施形態のデータ処理システムにポーリングシステムを併用することにより、サーバ装置側の動作状態、例えば、動作異常などを把握することができる。端末装置からサーバ装置へのポーリングに応じて、サーバ装置から端末装置へデータ変更通知が返信されれば、サーバ装置は、正常に動作していると把握できる。このときに、サーバ装置内にデータ変更が無ければ、データ変更通知が生成されても、変更フラグは含まれない。
【0079】
【発明の効果】
以上のように、本発明では、サーバ装置に備えられた複数の第1モジュールにおいて夫々処理されたデータが端末装置の第2モジュールにおいて処理され出力されるデータ処理システムにおいて、第2モジュールの処理に関連する第1モジュールの使用状態を示すモジュール識別情報を登録し、第1モジュールにおいてデータが変更された場合、当該モジュール識別情報を含む変更情報が通知され、その後に、該モジュール識別情報によって特定される第1モジュールから変更データを取得するようにした。
【0080】
この様にしたことにより、サーバ装置内にあるデータを端末装置で表示している場合などにおいて、データが変更されたとき、サーバ装置内で処理されるデータを端末装置に送信するときのレスポンスが、端末装置におけるデータ処理の影響を受けることが無くなり、端末装置においてリアルタイム処理を行うことができる。そして、サーバ装置は、端末装置へのデータ変更の通知を短時間で行うことができる。
【0081】
また、サーバ装置内において、データ変更が無い場合には、端末装置にはデータ変更通知がなされないので、サーバ装置の負荷を軽減することができる。
【0082】
さらに、モジュール識別情報について、自端末装置内で使用しているデータに係る第1モジュールを識別するだけで済むため、端末装置側で独自に登録でき、しかも、互いに異なる数字又は記号を識別情報とすることができるので、簡単な識別情報を用意するだけであり、各モジュールに対して特別なコードなどを定義し、識別するための解析システムを備える必要も無く、システム構成を簡単化することができる。
【図面の簡単な説明】
【図1】本発明のデータ処理システムにおけるサーバ装置と各端末装置との情報の送受信を説明するタイムチャート図である。
【図2】サーバ装置及び端末装置に備えられたモジュール識別情報の登録テーブルを説明する図である。
【図3】端末装置における情報の受信処理を説明するフローチャートである。
【図4】端末装置からモジュール識別情報をサーバ装置の登録テーブルに登録する登録処理を説明する図である。
【図5】サーバ装置内の登録テーブルへのモジュール識別情報の登録処理を説明するフローチャートである。
【図6】サーバ装置にデータ変更があったときのサーバ側の割り込み処理を説明するフローチャートである。
【図7】サーバ装置にデータ変更があったときの端末装置側の割り込み処理を説明するフローチャートである。
【図8】サーバ装置と端末装置とが接続されたデータ処理システムの構成概要を説明する図である。
【図9】中継サーバ装置が介在して情報を送受信するデータ処理システムを説明する図である。
【図10】従来例1のデータ処理システムにおけるサーバ装置と各端末装置との情報の送受信を説明するタイムチャート図である。
【図11】端末装置からポーリングを行う従来例2のデータ処理システムにおけるサーバ装置と各端末装置との情報の送受信を説明するタイムチャート図である。
【図12】変更データを同報送信する従来例3のデータ処理システムを説明するタイムチャート図である。
【符号の説明】
IS1、IS2…中継サーバ装置
S…サーバ装置
T1〜T3…端末装置
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a data processing system capable of processing and outputting data on a server in real time, and more particularly to a data processing system capable of real-time output in which the response of a server is not affected by data processing.
[0002]
[Prior art]
Conventionally, for example, in a semiconductor product manufacturing line, a computer system has been introduced for setting processing specifications for each series of processing processing on a semiconductor wafer and collecting processing result data, and information relating to processing in each processing step. Is managed centrally.
[0003]
FIG. 8 shows an outline of an example of a data processing system using a computer system that manages a process from introduction of a material to completion of a product through a plurality of processing steps. A terminal device T is arranged in each of the processing devices of the plurality of processing steps, and the terminal device T controls the processing device to execute the processing process and collects actual data processed in the processing process. I am trying to do it. In FIG. 8, the terminal devices T1 to T3 in three steps are typically arranged. The terminal devices T1 to T3 are connected to the server device S via a network such as a LAN, and are connected to the terminal devices T1 to T3. Two-way communication is performed with the server device, and necessary information is transmitted and received.
[0004]
The server device S has a plurality of applications necessary for controlling each terminal device. Further, storage means is provided, and the storage means stores processing specification information required for processing control of each processing apparatus, and processing specification information corresponding to processing processing of each processing apparatus is stored in each processing apparatus. Is sent to Further, the result information obtained in each processing step is collected by each terminal device, transmitted to the server device S, and stored as a database in the storage means of the server device S.
[0005]
On the other hand, each of the terminal devices T1 to T3 is provided with a display device. For example, a processing condition or a processing state of a processing device controlled by the terminal device itself, or a processing result of another processing step is displayed. It can be monitored. When such a monitor is to be performed on a display device, data sent from a database in storage means of the server device S is obtained, and displayed in the terminal devices T1 to T3 as display image data that can be displayed on the screen of the display device. Processing.
[0006]
In the data processing system illustrated in FIG. 8, the number of terminal devices T1 to T3 that can be managed by the server device S is set to 3, for example, but the number of terminal devices is large, and a single server device has a large management load. In such a case, as shown in FIG. 9, a plurality of terminal devices may be divided into groups, an appropriate number of relay server devices IS1 and IS2 may be arranged, and the load may be distributed.
[0007]
By the way, when various information is displayed on the display device of each terminal device T, data relating to necessary information is acquired from a database held by the server device S, and the data is converted into image display data in the own terminal device. After the processing, information is displayed on the display device. Therefore, when the data of the currently displayed information held in the database of the server device S is changed and the display image is changed on the display screen in accordance with the change, the changed data is transmitted to the server device S. Have to get from.
[0008]
Here, various methods by which the terminal device acquires the changed data when the data of the information held in the database of the server device S is changed will be described below.
[0009]
(1) FIG. 10 shows the first conventional example of the data processing system in which each of the terminal devices is notified that the data has been changed by the server device S. FIG. 10 illustrates a case where the server device S manages two terminal devices T1 and T2.
[0010]
First, when there is a data change with respect to the information in the database of the server device S, the server device S notifies the terminal device T1 of the change of the displayed data, and issues a request for changing the acquired data. Do. Then, in response to the change request, the terminal device T1 requests the server device S for data. Next, the server device S reads the change data from the database, and transmits the read change data to the terminal device T1. The terminal device T1 processes and displays the display image based on the received change data, and transmits a display end notification to the server device S when the display ends.
[0011]
When the display related to the change data for the terminal device T1 is completed, the server device S starts to transmit the change data to the terminal device T2. The operation of transmitting the change data to the terminal device T2 is the same as the procedure executed for the terminal device T1, and includes a change request, a change data request, transmission of the change data, display processing of the change data, and display of the change data. An end notification is provided. If there is another terminal device T managed by the server device S, the above procedure is repeatedly executed for each terminal device.
[0012]
(2) FIG. 11 shows a second conventional data processing system in which a terminal device periodically polls a server device to acquire changed data. The terminal device T1 polls the server device S at regular intervals. When polling is received from the terminal device T1, the server device S reads the data from the database and transmits the data to the terminal device T1 as a response to the polling. Therefore, the terminal device T1 processes and displays the display image based on the transmitted data. When polling is performed from the terminal device T1, the changed data may be transmitted only when there is a change in the data.
[0013]
FIG. 11 representatively shows a case where one terminal device T1 is connected to the server device S. When a plurality of terminal devices are connected, polling from the terminal device The processing is performed for each terminal device at a predetermined time interval so that the timings do not overlap with each other.
[0014]
(3) FIG. 12 shows a third conventional data processing system in which change data is broadcast from a server device to a plurality of terminal devices. In FIG. 12, two terminal devices are representatively shown, and more terminal devices may be connected. When there is a change in the information stored in the database, the server device S unilaterally broadcasts all data read from the database to the terminal devices T1 and T2. Here, as shown in FIG. 12, the data to be transmitted by broadcasting includes all data D1, D2, D3,... And common data. This entire data may be only the change data.
[0015]
In the terminal device T1 or T2, it is determined from the common data included in the broadcasted data whether or not the data being displayed related to the own terminal device has changed. Select and extract. Then, a display image is processed and displayed based on the data.
[0016]
As described above, according to the data processing systems of the first to third conventional examples, when there is a change in the information managed collectively by the server device, even if each of the terminal devices displays the screen based on the information, The displayed image can be changed in real time according to the change.
[0017]
[Problems to be solved by the invention]
By using the conventional data processing system described above, data stored in the server device can be displayed.
[0018]
However, in the data processing system of the conventional example 1, when there is a change in the data of the server device, a series of procedures of a data change request, a data request, data transmission, a change data display process, and a display end notification are performed. Since the process is executed for one terminal device, the server device is restrained while this series of procedures is being executed. Then, the process is executed for the next terminal device. If there is more than one terminal device, the server device will be held for a long time until the display processing of all terminal devices is completed because the processing of the next terminal device will not be completed until the processing of the previous terminal device is completed. However, when the number of terminal devices increases, the response becomes poor.
[0019]
Further, in the data processing system of the second conventional example, when the number of terminal devices managed by the server device increases, it becomes necessary to narrow the interval of polling generated by the terminal device. There is a problem that the load on the network connecting the server device and the terminal device increases.
[0020]
On the other hand, in the data processing system of the conventional example 3, even if the number of terminal devices connected to the server device increases, the server device unilaterally broadcasts all of the change data to all the terminal devices. The restriction time of the device is reduced, and the processing load on the server device is reduced. However, since all the change data is transmitted on the terminal device side, each terminal device transmits the change data related to its own terminal device. It is necessary to have a function of extracting the information, and there is a problem that control in the terminal device is complicated.
[0021]
Therefore, the present invention provides a function for registering a module relating to data being processed in each terminal even when the number of data processing terminals connected to the server device increases, thereby changing data stored in the database. A data processing system capable of efficiently transmitting change data from the server device to the terminal when the change is made, shortening the binding time associated with the transmission of the change data by the server device, and enabling the terminal device to process the change data in real time. The purpose is to do.
[0022]
[Means for Solving the Problems]
In order to solve the above problem, according to the present invention, in a data processing system in which data processed in a plurality of first modules is processed and output in a second module, the data transmitted from the first module is Processing means for processing by the operation of the second module; and registering means for registering module identification information indicating a state of association with the first module in the processing of the second module, wherein the processing means comprises: In the case where the data is changed, after the change information including the module identification information is notified, the change data is obtained from the first module specified by the module identification information.
[0023]
The module identification information is for identifying which of the first modules the data being processed by the processing means is related to, and the second module corresponding to each of the first modules. It is an identification number that can be uniquely assigned on the side.
[0024]
Further, the second module executes a process of displaying the acquired data in real time.
[0025]
A plurality of terminal units each including the processing unit and connected to a server unit including the first module, wherein the registration unit is provided in each of the terminal units; The module identification information relating to the processing of the second module included in the own terminal means can be registered in the terminal means, and the module identification information registered in the own terminal means is stored in the server means for each of the first modules. I decided to register.
[0026]
The terminal means has a display means for displaying an image of the data processed by the processing means, and the display means displays an image of the change data obtained based on the change information.
[0027]
Further, the server unit has the plurality of first modules, transmits the data processed by each of the first modules to the terminal unit, and is processed by each of the plurality of terminal units. The module identification information corresponding to the data is registered by the registration unit for each of the first modules and for each of the terminal units.
[0028]
Further, when the data is changed in the first module, the server unit notifies the terminal unit processing the data of the change information according to the registered module identification information. I made it.
[0029]
BEST MODE FOR CARRYING OUT THE INVENTION
Next, an embodiment of a data processing system according to the present invention will be described below with reference to FIGS.
[0030]
As shown in FIG. 8 or FIG. 9, the data processing system according to the present embodiment includes a plurality of terminals via the server device S or the relay server device IS1 or IS2 as shown in FIG. The devices T1 to T4 are collectively managed, and data transmitted based on data in the database of the server device S or the relay server device is displayed on a display device provided in each terminal device in the terminal device. Processed and displayed.
[0031]
However, in the data processing system of the conventional example 1, when data held in the server device S is changed, a series of procedures of a data change request, a data request, data transmission, a changed data display process, and a notification of display end are performed. Is executed for one terminal device, but if this series of procedures is not completed for the previous terminal device, it cannot be transferred to the next terminal device. This is from sending the change request to receiving a display end notification indicating that the display process related to the change data has ended in each of the terminal devices, particularly while the terminal device is performing the display process. Means that the computer of the server device is restrained even though the computer is not operating.
[0032]
Therefore, in the data processing system of the present embodiment, when the data held in the server device S is changed, the server device S transmits a data change notification to each terminal device, and the server device S The terminal device receives only a data change reception notification indicating that the terminal device has recognized that the data has been changed. Then, when the terminal device can recognize that the data displayed on the terminal itself has been changed, after transmitting a data change reception notification to the server device S, the terminal device transmits the data change notification to the server device S. Request transmission, obtain the change data, and display an image. By adopting such a procedure, the computer of the server device S is not affected by the time of the image processing of the changed data in the terminal device, so that the constraint time of the server device S is reduced.
[0033]
FIG. 1 shows a time chart for explaining an outline of transmission and reception of information between the server device and each terminal device in the data processing system of the present embodiment. 1 is expressed in a format similar to that of the time chart in the data processing system of the conventional example 1 shown in FIG. 10, in which the server device S collectively manages a plurality of terminal devices, typically the terminal devices T1 and T2. The data stored in the database of the server device S is transmitted to the terminal devices T1 and T2, and the data is subjected to image processing in each terminal device and displayed on the screen of the display device. .
[0034]
First, when there is a data change with respect to the information in the database of the server device S, the server device S notifies the terminal device T1 of the change of the data displayed on the terminal device T1 (A1). Therefore, the terminal device T1 recognizes the change of the data related to the display of the terminal device based on the notification A1, and activates the display processing module. Then, a data change reception notification B1 is transmitted to the server S.
[0035]
Next, after receiving the data change reception notification B1 from the terminal device T1, the server device S notifies the terminal device T2 of the change of the data displayed on the terminal device T2 (A2). Then, the terminal device T2 recognizes the change of the data related to the display of the terminal device by this notification, and starts the display processing module. Then, a data change reception notification B2 is transmitted to the server device S.
[0036]
In this way, at the time of data change, all of the managed terminal devices are notified only of the data change, and each terminal device is notified of the display of its own terminal device. Recognize that data has changed.
[0037]
Next, after the transmission of the notification indicating that the data has been changed from the server device S to each terminal device has been completed, the server device S only has to respond to the change data request from each terminal device. . The terminal device T1 requests the server device S for change data corresponding to the data related to the display of the terminal device S after a predetermined time has elapsed after transmitting the data change reception notification B1 (C1). In response to the request, the server device S transmits (D1) the change data related to the display of the terminal device T2. Then, the terminal device T1 performs image processing on the acquired change data and displays the updated image on the screen of its own display device.
[0038]
The terminal device T2 requests the server device S for change data corresponding to the data related to the display of the terminal device after a predetermined time has elapsed after transmitting the data change reception notification B2 (C2). In response to this request, the server device S transmits (D2) the change data related to the display of the terminal device T2. Then, the terminal device T2 performs image processing on the acquired change data and displays the processed change data on the screen of its own display device. Further, when the data change notification is transmitted to another terminal device, each terminal device acquires the change data and updates the display according to the same procedure.
[0039]
As described above, the operation of the server device S does not affect the image processing time for display on each terminal device. That is, the server device S can respond to a request for change data related to another terminal device during image processing related to change data of the terminal device. The change data requests C1, C2,... From each terminal device to the server device S need to be adjusted in advance so that the request timings do not conflict.
[0040]
By the way, in the data processing system of the present embodiment, the server device S is provided with a plurality of modules corresponding to the display on a plurality of terminal devices that are collectively managed, and is processed by the tasks by the plurality of modules. The data is transmitted to each terminal device and displayed on the screen of each display device. In order to transmit and receive necessary information in accordance with the procedure according to the time chart shown in FIG. 1, in each of the terminal devices, a display process of which module task provided in the server device S is displaying data by a task. Module identification information indicating the state is required.
[0041]
FIG. 2 shows a specific example of the module identification information. FIG. 2A shows an example of a registration table of module identification information stored inside the server device S. There are three divided modules in the server device S, and tasks M1 to M1 corresponding to those modules are provided. A registration table for M3 is prepared. In each registration table, module identification information is recorded for each terminal device.
[0042]
FIG. 2B shows an example of a registration table of module identification information prepared in the terminal device. The registration table is provided for each terminal device, and data handled by the terminal device itself is stored in the server device. The module identification information for identifying the related state of which module is registered corresponding to the task relating to the data being used.
[0043]
In the example of FIG. 2, an identification number is used as the module identification information. However, the identification information is sufficient if the data handled by the own terminal device is numerical information or symbol information that can be distinguished for each task. And is uniquely given in the own terminal device. Therefore, there is no problem even if the assigned identification information itself becomes the same symbol as the identification information of another terminal device.
[0044]
The module identification information is uniquely assigned on the terminal device side for each task of the data being handled. Therefore, the registration table in the server device is created in the registration unit in the terminal device, and then stored in the registration table in the terminal device. It is necessary to transmit and register the identification information together with the code.
[0045]
In FIG. 2, the identification numbers are used as the module identification information, and the symbols thereof are indicated as N11 to N32 on the table. However, N11 may be simply 1 and N12 may be simply 2. In the terminal device T1, data by the tasks M1 and M2 in the server device S is handled, indicating that the data is being displayed, and identifying which data of the task M1 or M2 is being displayed. It is registered to be able to. Similarly, in the terminal device T2, the data of the task M1 is displayed and one identification number is registered, and in the terminal device T3, the data of the tasks M2 and M3 are displayed. The identification numbers N31 and N32 are registered respectively.
[0046]
On the other hand, in the registration table in the server device shown in FIG. 2A, the display processing state of data related to the tasks M1 to M3 for each terminal device shown in FIG. 2B is recorded. Regarding the task M1, it is indicated that the data by the task M1 is used for the display processing in the terminal devices T1 and T2, and the identification number N11 of the task M1 in the terminal device T1 and the identification of the task M1 in the terminal device T2. The number N21 is recorded. Similarly, in the task M2, the identification number N12 of the terminal device T1 and the identification number N31 of the terminal device T3 are recorded, and in the task M3, the identification number N32 of the terminal device T3 is recorded.
[0047]
When data related to a module in the server device S is changed based on the module identification information registered as described above, the server device S reads the identification number from the registration table, and reads the identification number and the change. A data change notification including the flag is created, and the notification is transmitted to the terminal device. In the terminal device, according to the identification number and the change flag of the received data change notification, when the displayed data corresponds to the change, the module of the terminal device is started.
[0048]
For example, when a change occurs in the data related to the task M1 in the server device S, the server device S transmits a data change notification A1 to the terminal device T1. The number N11 is read. Therefore, a change flag indicating that data has been changed for the task M1 is added to the read identification number N11, and a data change notification A1 is created.
[0049]
In the terminal device T1 that has received the data change notification A1, since the identification numbers N11 and N12 are registered for each task used in the registration table in the terminal device T1, only the identification number included in the data change notification A1 is used. , It is possible to immediately identify which task the data related to has been changed. The change data may be requested to the server device S according to the identification result.
[0050]
In this way, for the module identification information, it is only necessary to identify the task used in the terminal device itself, so that the terminal device side can register it independently, and different numbers or symbols are used as identification information. Can be. Furthermore, by using this simple identification information, there is no need to define a special code or the like for each task, and there is no need to provide an analysis system for identification, so that the system configuration can be simplified. .
[0051]
Next, FIG. 3 shows a flowchart of the information receiving process of the terminal device when the data processing of the present embodiment is applied to the data processing system shown in FIG.
[0052]
First, data necessary for display on the display unit of the terminal device is obtained from the server device S. Then, an image to be displayed on the screen of the display means is generated by the display processing module in the terminal device. At this time, as shown in FIG. 2 (b), identification information for identifying which task in the server device the data relating to this image belongs to, for example, an identification number uniquely assigned, is registered in the own terminal device. Register in the table. Further, the registered identification number is transmitted to the server device S, and as shown in FIG. 2A, the identification number is registered in a corresponding task column in a registration table in the server device (step S1).
[0053]
Until the data change notification is transmitted from the server device S, the image based on the acquired data is continuously displayed (step S2). The fact that the data change notification is not transmitted indicates that there is no change in the data being used without the server device.
[0054]
Therefore, when the data change notification is transmitted from the server device S to the terminal device, the terminal device recognizes which task related data has been changed, and activates the operation of the display processing module (step S3). Then, a notification of the data change reception is transmitted to the server device S (step S4), and the process returns to step S2 to wait for the next data change notification to be transmitted.
[0055]
On the other hand, the operation of the display processing module in the terminal device waits until the data related to the display is changed after displaying the image based on the acquired data (step S5).
[0056]
In step S3, a data change notification is transmitted, and when it is recognized that the data used in the own terminal device has been changed, the display processing module that has been in the start waiting state is started. Then, in order to display the changed data on the screen, the changed display data is obtained from the server device S (step S6).
[0057]
Next, the acquired change data is processed into a display image by the display processing module, and the display on the screen of the display means is updated (step S7). Then, when the display of the screen is updated, the display processing module is in a startup waiting state until a data change notification is transmitted.
[0058]
As described above, when data is displayed on the display screen of the terminal device based on the data obtained from the server device S, the data change notification is notified each time the data is changed in the server device S. According to the identification information included in the notification, it is possible to easily know that the used data has been changed, and the display can be updated in real time with the changed data. For the server device S, only the data change notification can be transmitted to a plurality of terminal devices in a short time, and the constraint time is greatly reduced.
[0059]
Next, registration of the module identification information in step S1 of FIG. 3 will be described with reference to the flowcharts of FIGS. FIG. 4 mainly shows a case where the identification information registered in the registration table in the terminal device is registered in the server device, and FIG. 5 mainly shows a process in which the identification information is registered in the registration table in the server device. Is shown.
[0060]
In FIG. 4, first, when the display is performed based on the data obtained from the server device S, the identification table unique to the own terminal device is stored in a registration table provided in the terminal device for each task related to the data being used. The number is registered. After that, when the display target changes and the data to be used is changed, deleted or added, the identification number in the registration table is rewritten for each task related to the data.
[0061]
Here, the first column of the registration table provided in the terminal device is taken out, and the identification number is read out (step S11). At this time, it is determined whether or not the reading is the last (step S12). At this point, since the reading is still the head (N), the read identification number is transmitted to the corresponding server device (step S12). S13). The timing of registering the identification number in the registration table of the server device S may be independently executed from the terminal device, or may be performed when requesting data necessary for display from the server device. .
[0062]
After transmitting the identification number registered in the first column, the identification number registered for another task is extracted from the next column of the registration table (step S14) and transmitted to the corresponding server device. In this way, transmission of all the identification numbers registered in the registration table in the terminal device to the corresponding server device is repeated, and the transmission process of the identification number ends.
[0063]
Next, a process of registering the identification number transmitted from the terminal device in the registration table in the server device will be described with reference to FIG. An identification number registration processing module is provided in the server device, and when there is a request for registration of an identification number from a terminal device, the module is activated. When there is no registration request, it is in a registration request waiting state (step S21).
[0064]
When a request for registration processing is made from the terminal device to the server device, the request type is determined as to whether the request is “registration” or “deletion” of the identification number (step S22). If the request type is “registration” (Y), it is determined whether or not the identification number has been registered in the registration table (step S23). Here, if the identification number has been registered (Y), the process returns to step S21 to wait for a request. If the identification number has not been registered (N), the identification number is registered in the registration table (step S24), and the process returns to step S21 to wait for a request.
[0065]
On the other hand, if the request type is "delete" in step S22, it is determined whether or not the identification number has been registered (step S25). If the identification number has not been registered (N), this delete request is ignored. Then, the process returns to step S21 to wait for a request. If the ID has been registered (Y), the identification number is deleted from the corresponding registration table column (step S26), and the process returns to step S21 to wait for the request. State.
[0066]
According to the above procedure, the module identification information uniquely registered in the terminal device is registered in the module identification information registration table in the server device according to the data used in the terminal device. Therefore, when data change is performed in the server device, the server device side interrupt processing for extracting the terminal device identification number from the registration table in the server device when transmitting the data change notification to the terminal device shown in FIG. This will be described with reference to the flowchart of FIG.
[0067]
When the data is changed in the server device, the identification number is extracted from the head column of the registration table by referring to the registration table of the task related to the data change (step S31). For example, in the case of the registration table in FIG. 2A, when the data related to the task M1 is changed, the identification number N11 registered for the terminal device T1 is extracted.
[0068]
At this time, it is determined whether or not the extraction is the last (step S32). At this point, since the registration table is still at the head (N), the extracted identification number is transmitted to the corresponding terminal device. (Step S33). For example, a data change notification A1 is generated from the extracted identification number N11 and the change flag, and the data change notification is transmitted to the terminal device T1.
[0069]
Subsequently, after transmitting the identification number registered in the first column, the registered identification number is extracted from the next column of the registration table (step S34) and transmitted to the corresponding terminal device. For example, a data change notification A2 is generated from the extracted identification number N21 and the change flag, and the data change notification is transmitted to the terminal device T2. In this way, the transmission of all the identification numbers registered in the registration table in the terminal device to the corresponding terminal device is repeated, and the transmission process of the identification number ends.
[0070]
Next, an interruption process on the terminal device side when data is changed in the server device will be described with reference to a flowchart of FIG. After displaying the data acquired from the server device, the terminal device is in a state of waiting for change of the server device as shown in step S2 of FIG. In this state, when data displayed on the terminal device is changed in the server device, a data change notification is transmitted from the server device to the terminal device. Therefore, in the terminal device to which the data change notification has been transmitted, an interrupt process is performed on the display processing module as shown in steps S5 and S6 in FIG.
[0071]
First, when the data change notification is transmitted from the server device to the terminal device, the identification number included in the data change notification is determined (step S41). At this time, if the identification number is not an identification signal registered in the registration table of the own terminal device (N), the interrupt processing ends.
[0072]
If the identification number is an identification signal registered in the registration table of the terminal device itself (Y), for example, as shown in the registration table of the terminal device T1 in FIG. When the identification number N11 is included and the change flag is given, the terminal device T1 can recognize that the data has been changed in the task M1 based on the identification number N11, thereby displaying the processing of the task M1. The module is activated (Step S42).
[0073]
If the data change notification A1 includes the identification number N12 and a change flag is given, the terminal device T1 recognizes that the data has been changed in the task M2 based on the identification number N12, and The display processing module is activated for the process of M2 (step S43).
[0074]
Further, if the data being displayed on the terminal device T1 relates to the task M3 of the server device S, the identification number N13 is registered in the registration table of the terminal device T1. In this case, if the data change notification A1 transmitted to the terminal device T1 includes the identification number N13, the display processing module for the process of the task M3 is activated (step S44).
[0075]
As described above, the display processing module of the terminal device can be started according to the identification number of the terminal device included in the data change notification transmitted from the server device to the terminal device, and the task in the server device can be started based on the identification number. Is specified, and every time data is changed, the changed data can be acquired from the server device. Therefore, when there is a change in the data acquired from the server device, the terminal device can display the data in real time.
[0076]
In the data processing system according to the present embodiment described above, the case where data managed by the server device is displayed on the screen of the display device of the terminal device is described as an example. The data processing system according to the present embodiment can also be applied to a case where data managed by the server device is processed in real time by the terminal device.
[0077]
Further, in the data processing system according to the present embodiment, when no data change occurs in the server device, the data change notification is not transmitted to the terminal device. Side can not grasp the operation state.
[0078]
Therefore, by using the polling system together with the data processing system of the present embodiment, it is possible to grasp the operation state of the server device side, for example, the operation abnormality. If the data change notification is returned from the server device to the terminal device in response to the polling from the terminal device to the server device, the server device can be grasped as operating normally. At this time, if there is no data change in the server device, even if the data change notification is generated, the change flag is not included.
[0079]
【The invention's effect】
As described above, according to the present invention, in the data processing system in which the data processed in each of the plurality of first modules provided in the server device is processed and output in the second module of the terminal device, the processing of the second module is performed. Module identification information indicating the use state of the associated first module is registered, and when data is changed in the first module, change information including the module identification information is notified, and thereafter, the identification information is specified by the module identification information. Change data is obtained from the first module.
[0080]
By doing so, when data in the server device is displayed on the terminal device, for example, when the data is changed, a response when transmitting data processed in the server device to the terminal device is received. Therefore, the terminal device is not affected by data processing, and real-time processing can be performed in the terminal device. Then, the server device can notify the terminal device of the data change in a short time.
[0081]
In addition, if there is no data change in the server device, the data change notification is not sent to the terminal device, so that the load on the server device can be reduced.
[0082]
Furthermore, as for the module identification information, it is only necessary to identify the first module relating to the data used in the own terminal device, so that the terminal device can independently register and further, different numbers or symbols are used as identification information. Since it is possible to simply prepare simple identification information, it is not necessary to define a special code etc. for each module, and it is not necessary to provide an analysis system for identification, and it is possible to simplify the system configuration it can.
[Brief description of the drawings]
FIG. 1 is a time chart illustrating transmission and reception of information between a server device and each terminal device in the data processing system of the present invention.
FIG. 2 is a diagram illustrating a module identification information registration table provided in a server device and a terminal device.
FIG. 3 is a flowchart illustrating a process of receiving information in a terminal device.
FIG. 4 is a diagram illustrating a registration process for registering module identification information from a terminal device in a registration table of a server device.
FIG. 5 is a flowchart illustrating a process of registering module identification information in a registration table in a server device.
FIG. 6 is a flowchart illustrating an interrupt process on the server side when data is changed in the server device.
FIG. 7 is a flowchart illustrating an interrupt process on the terminal device side when data is changed in the server device.
FIG. 8 is a diagram illustrating an outline of a configuration of a data processing system in which a server device and a terminal device are connected.
FIG. 9 is a diagram illustrating a data processing system that transmits and receives information via a relay server device.
FIG. 10 is a time chart illustrating transmission and reception of information between a server device and each terminal device in the data processing system of the first conventional example.
FIG. 11 is a time chart illustrating transmission / reception of information between a server device and each terminal device in the data processing system of the second related art in which polling is performed from the terminal device.
FIG. 12 is a time chart illustrating a data processing system of a third conventional example which broadcasts change data.
[Explanation of symbols]
IS1, IS2 ... Relay server device
S: Server device
T1 to T3 ... terminal devices

Claims (10)

複数の第1モジュールにおいて夫々処理されたデータが第2モジュールにおいて処理され出力されるデータ処理システムにおいて、
前記第1モジュールから伝送された前記データを前記第2モジュールの動作で処理する処理手段と、
前記第2モジュールの処理における前記第1モジュールとの関連状態を示すモジュール識別情報を登録する登録手段とを有し、
前記処理手段は、前記第1モジュールにおいて前記データが変更された場合、前記モジュール識別情報を含む変更情報が通知された後に、該モジュール識別情報によって特定される当該第1モジュールから変更データを取得することを特徴とするデータ処理システム。
In a data processing system in which data processed in a plurality of first modules is processed and output in a second module,
Processing means for processing the data transmitted from the first module by the operation of the second module;
Registering means for registering module identification information indicating an associated state with the first module in the processing of the second module;
When the data is changed in the first module, the processing unit acquires change data from the first module specified by the module identification information after notification of change information including the module identification information A data processing system, characterized in that:
前記モジュール識別情報は、前記処理手段において処理されている前記データが前記第1モジュールのどれに関連するものかを識別できることを特徴とする請求項1に記載のデータ処理システム。2. The data processing system according to claim 1, wherein the module identification information can identify which of the first modules the data processed by the processing unit is related to. 3. 前記モジュール識別情報は、前記第1モジュールの夫々に対応した前記第2モジュール側独自による識別番号であることを特徴とする請求項2に記載のデータ処理システム。3. The data processing system according to claim 2, wherein the module identification information is an identification number unique to the second module corresponding to each of the first modules. 前記第2モジュールは、取得した前記データをリアルタイム表示する処理を実行すること含むことを特徴とする請求項1乃至3のいずれか一項に記載のデータ処理システム。4. The data processing system according to claim 1, wherein the second module includes executing a process of displaying the acquired data in real time. 5. 前記処理手段が夫々に含まれ、前記第1モジュールを含むサーバ手段に接続された複数の端末手段を有し、
前記登録手段が、前記各端末手段に備えられていることを特徴とする請求項1乃至4のいずれか一項に記載のデータ処理システム。
A plurality of terminal units each including the processing unit and connected to a server unit including the first module;
The data processing system according to claim 1, wherein the registration unit is provided in each of the terminal units.
前記登録手段は、自端末手段に含まれる前記第2モジュールの処理に係る前記モジュール識別情報を前記端末手段内に登録することを特徴とする請求項5に記載のデータ処理システム。The data processing system according to claim 5, wherein the registration unit registers the module identification information relating to the processing of the second module included in the terminal unit in the terminal unit. 前記登録手段は、自端末手段に登録した前記モジュール識別情報を前記サーバ手段に前記第1モジュール毎に登録することを特徴とする請求項6に記載のデータ処理システム。7. The data processing system according to claim 6, wherein the registration unit registers the module identification information registered in the own terminal unit in the server unit for each of the first modules. 前記端末手段は、前記処理手段で処理された前記データを画像表示する表示手段を有し、
前記表示手段は、前記変更情報に基づいて取得した前記変更データについて画像表示することを特徴とする請求項5乃至7のいずれか一項に記載のデータ処理システム。
The terminal unit has a display unit for displaying an image of the data processed by the processing unit,
The data processing system according to any one of claims 5 to 7, wherein the display unit displays an image of the change data acquired based on the change information.
前記サーバ手段は、前記複数の第1モジュールを有しており、該第1モジュールの夫々で処理された前記データを前記端末手段に伝送し、
前記複数の端末手段の夫々において処理される前記データに対応した前記モジュール識別情報が、前記登録手段によって、前記第1モジュール毎に、前記端末手段毎に登録されていることを特徴とする請求項5乃至8のいずれか一項に記載のデータ処理システム。
The server unit has the plurality of first modules, and transmits the data processed by each of the first modules to the terminal unit;
The module identification information corresponding to the data processed in each of the plurality of terminal units is registered by the registration unit for each of the first modules and for each of the terminal units. The data processing system according to any one of claims 5 to 8.
前記サーバ手段は、前記データが前記第1モジュールにおいて変更処理された場合、登録された前記モジュール識別情報に従って、当該データを処理している当該端末手段に対して前記変更情報を通知することを特徴とする請求項5乃至8のいずれか一項に記載のデータ処理システム。The server means, when the data is changed in the first module, notifies the terminal means processing the data of the change information according to the registered module identification information. The data processing system according to any one of claims 5 to 8, wherein
JP2002358120A 2002-12-10 2002-12-10 Data processing system Pending JP2004192226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002358120A JP2004192226A (en) 2002-12-10 2002-12-10 Data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002358120A JP2004192226A (en) 2002-12-10 2002-12-10 Data processing system

Publications (1)

Publication Number Publication Date
JP2004192226A true JP2004192226A (en) 2004-07-08

Family

ID=32757933

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002358120A Pending JP2004192226A (en) 2002-12-10 2002-12-10 Data processing system

Country Status (1)

Country Link
JP (1) JP2004192226A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009512947A (en) * 2005-10-18 2009-03-26 ザ・マクレガー・グループ・インコーポレーテッド System and method for displaying data on a thin client

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009512947A (en) * 2005-10-18 2009-03-26 ザ・マクレガー・グループ・インコーポレーテッド System and method for displaying data on a thin client

Similar Documents

Publication Publication Date Title
US8358626B2 (en) Mobile device, content distribution system, and content distribution method
US7176808B1 (en) System and method for updating a network of remote sensors
US20140250148A1 (en) System and method for managing images over a network
CN108063879B (en) Remote support system, control method thereof, support device, information processing device, and medium
US11256559B2 (en) Error display system, error display method, and information processing apparatus
CN103597846A (en) Reception apparatus, method, computer program, and information providing apparatus for providing an alert service
CN103748895A (en) Reception apparatus, reception method, program, and information processing system
US20160080200A1 (en) System, apparatus, and method of registering apparatus, and recording medium
JP2007312028A (en) Monitor image sending-out device and program
JP2008278266A (en) Information display system
JP2002091862A (en) Device and method for distributing data
CN110955396A (en) Information processing system, information processing apparatus, information processing method, storage medium, and computer apparatus
CN107798078B (en) Billboard data display method and device, computer equipment and storage medium
JPH0981473A (en) Spontaneous service providing method and system
CN105049886B (en) A kind of method and system reporting IR remote controller event
KR100678940B1 (en) Method for remote controlling and monitoring display device and system for the same
JP2004192226A (en) Data processing system
JP2015115703A (en) Method, electronic apparatus and program
US11782661B2 (en) Monitoring control apparatus, monitoring control method, monitoring system, and medium
JP2004318421A (en) Ip-integrated reception telemeter system and its data collecting method
JP7120657B2 (en) SERVER, SERVER SYSTEM, TIME SYNCHRONIZATION METHOD AND PROGRAM
WO2018110047A1 (en) Relay apparatus
JP6376159B2 (en) Data flow control device and data flow control method
JP2010176521A (en) Method and system for linking application, linking server, linking origin service server and linking destination service server
WO2021124882A1 (en) File management system, information processing device, imaging device, and file management method