JPH05346897A - Automatic demonstration device - Google Patents

Automatic demonstration device

Info

Publication number
JPH05346897A
JPH05346897A JP4155421A JP15542192A JPH05346897A JP H05346897 A JPH05346897 A JP H05346897A JP 4155421 A JP4155421 A JP 4155421A JP 15542192 A JP15542192 A JP 15542192A JP H05346897 A JPH05346897 A JP H05346897A
Authority
JP
Japan
Prior art keywords
information
client
server
event
request
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
JP4155421A
Other languages
Japanese (ja)
Inventor
Satoshi Tsujimura
敏 辻村
Shinji Inoue
信治 井上
Takashi Kakiuchi
隆志 垣内
Katsunori Kusumi
雄規 楠見
Takeshi Ide
剛氏 井出
Yoshiyuki Miyabe
義幸 宮部
Tatsuya Shimoji
達也 下地
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP4155421A priority Critical patent/JPH05346897A/en
Publication of JPH05346897A publication Critical patent/JPH05346897A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To constitute the device so that a server can return the same answer information as the time of recording of data to a client in response to a request from the client, at the time of reproducing event information by a server/client system. CONSTITUTION:The device is provided with an information branching means 11 for allowing each information of event information from a server to a client and request information from the client to the server, and also, answer information from the server to the client in response to the request information to branch, respectively, an information recording means 12 for recording each information allowed to branch in order of their generation time, an event reproducing means 13 for sending the event information recorded in the information recording means 12 to the client, and a request processing means 14 for receiving the request information from the client at the time of reproducing the event information, comparing it with the request information recorded in the information recording means 12, and returning the corresponding answer information to the client in accordance with necessity.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はサーバ/クライアント方
式のウィンドウシステムで動作するクライアントプログ
ラムの自動デモンストレーション装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a client program automatic demonstration apparatus which operates in a server / client type window system.

【0002】[0002]

【従来の技術】一般に、ウィンドウとは、画面上の独立
した表示領域のことを指す。即ち、ディスプレイ画面を
仮想的にいくつかの矩形領域に分割し、各領域を別の目
的に割り当てようとするものであり、あたかもディスプ
レイ画面上に空いた「窓」から覗いている感じを持たせ
ようとしている。そして、ウィンドウは、ドット単位で
移動・変形が可能となっている。
2. Description of the Related Art Generally, a window refers to an independent display area on the screen. In other words, the display screen is virtually divided into several rectangular areas, and each area is assigned to a different purpose, giving the appearance of looking through a "window" vacant on the display screen. I am trying to do. The window can be moved and deformed in dot units.

【0003】ウィンドウの使い方としては、各ウィンド
ウごとに仕事を割り当てるといった使い方、例えば、あ
るウィンドウでエディタによりプログラムを編集しなが
ら、他のウィンドウで電子メールを読み取るといった使
い方等がある。ウィンドウを実現するには、大規模なプ
ログラミングが必要であり、ウィンドウシステムにおい
ては、ウィンドウ利用で共通な機能を抽出して、必要な
プリミティブを一括して提供しようとしている。
As a method of using a window, there is a method of assigning a task to each window, for example, a method of editing a program by an editor in one window and reading an electronic mail in another window. A large-scale programming is required to realize a window, and in the window system, common functions are extracted by using the window and the necessary primitives are collectively provided.

【0004】ウィンドウシステムの代表的な実現方法と
して、サーバ/クライアント方式なるものがある。即
ち、ウィンドウを一括して管理するサーバプロセスと、
そのサービスを受けるクライアントプロセス(アプリケ
ーションのこと)に分離する方式である。この方式は、
コード量やプロセス数でのオーバヘッドを小さくできる
といった利点があり、更に、単なるアプリケーションの
一つとしてウィンドウシステムが実現されるので、デバ
ッキングが容易であるという利点もある。そして、この
ようなサーバ/クライアント方式のウィンドウシステム
において、クライアントプログラムを自動的に動作させ
ようとするものに自動デモンストレーション装置があ
る。
As a typical implementation method of the window system, there is a server / client method. That is, a server process that collectively manages windows,
It is a method of separating the service into a client process (application). This method
There is an advantage that the overhead in the code amount and the number of processes can be reduced, and further, there is also an advantage that the debugging is easy because the window system is realized as just one application. Then, in such a server / client type window system, there is an automatic demonstration device for automatically operating a client program.

【0005】図3はこの種の自動デモンストレーション
装置の基本的な構成及びデータの流れを示すブロック図
であり、31はサーバからのイベント情報を記録するた
めに分岐する情報分岐部、32は情報分岐部31により
分岐されたイベント情報を記録する情報記録部、33は
情報記録部32に記録されたイベント情報をクライアン
トに送るイベント再生部である。なお、代表的なイベン
ト情報としては、キーボード入力や、ポインティング入
力や、ウィンドウ操作のための入力や、ウィンドウ内容
の再描画指示等がある。
FIG. 3 is a block diagram showing the basic structure and data flow of an automatic demonstration device of this type. Reference numeral 31 is an information branching unit for recording event information from a server, and 32 is an information branching unit. An information recording unit that records the event information branched by the unit 31, and an event reproducing unit 33 that sends the event information recorded in the information recording unit 32 to the client. Note that typical event information includes keyboard input, pointing input, input for window operation, instruction to redraw window contents, and the like.

【0006】以上のように構成された自動デモンストレ
ーション装置では、デモンストレーションを行うための
データの記録時には、操作者がデモンストレーションの
筋書きにしたがって、キー操作などを行うようになって
いる。そして、かかるキー操作などによって発生するサ
ーバからクライアントに送られるイベント情報を情報分
岐部31が受取り、この情報をクライアントに送ると共
に、情報記録部32に記録するようになっている。
[0006] In the automatic demonstration device configured as described above, when recording the data for the demonstration, the operator operates the key according to the scenario of the demonstration. Then, the information branching unit 31 receives the event information sent from the server to the client, which is generated by such key operation, and sends this information to the client and records it in the information recording unit 32.

【0007】また、イベント情報の再生時には、イベン
ト再生部33が情報記録部32に記録されたイベント情
報を読み出し、この情報を順次クライアントに送るよう
になっている。そこで、操作者が記録時に操作したと同
じ動作をクライアントにさせることにより、自動的にデ
モンストレーションが行われるようになっている。
Further, when reproducing the event information, the event reproducing section 33 reads the event information recorded in the information recording section 32 and sequentially sends this information to the client. Therefore, a demonstration is automatically performed by causing the client to perform the same operation as the operation performed by the operator during recording.

【0008】[0008]

【発明が解決しようとする課題】しかしながら上記の自
動デモンストレーション装置においては、イベント情報
の再生時に、クライアントからサーバの状態を尋ねるよ
うな要求が出た場合、実際には操作者が操作していない
ため、サーバの状態は全く変化していない。従って、サ
ーバはデータの記録時と同じ応答情報をクライアントに
返すわけではない。このため、サーバの状態を尋ね、そ
の応答情報によって動作するといった自動デモンストレ
ーションを行うことはできない。
However, in the above-mentioned automatic demonstration device, when the client issues a request for inquiring about the status of the server when the event information is reproduced, the operator is not actually operating. , The state of the server has not changed at all. Therefore, the server does not return the same response information to the client as when recording the data. Therefore, it is not possible to perform an automatic demonstration that asks the server status and operates according to the response information.

【0009】本発明はかかる現状に鑑み、サーバ/クラ
イアント方式のウィンドウシステムで、イベント情報の
再生時に、クライアントからサーバの状態を尋ねるよう
な要求が出た場合でも、サーバがイベント情報の記録時
と同じ応答情報をクライアントに返すことが可能である
自動デモンストレーション装置を提供することを目的と
する。
In view of the above situation, in the present invention, in the server / client type window system, even when the client issues a request for inquiring about the status of the server at the time of reproducing the event information, It is an object to provide an automatic demonstration device capable of returning the same response information to a client.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、サーバ/クライアント方式のウィンドウ
システムで動作するクライアントプログラムの自動デモ
ンストレーション装置において、サーバからクライアン
トへのイベント情報及びクライアントからサーバへの要
求情報、更に、要求情報に対するサーバからクライアン
トへの応答情報の各情報を夫々分岐する情報分岐手段
と、分岐された各情報をそれらの発生時間順に記録する
情報記録手段と、前記情報記録手段に記録されたイベン
ト情報をクライアントに送るイベント再生手段を備える
一方、イベント情報の再生時に、クライアントからの要
求情報を受取り、前記情報記録部に記録された要求情報
と比較して、必要に応じ、対応する応答情報をクライア
ントに返す要求処理手段を備えたことを特徴としてい
る。
In order to achieve the above object, the present invention is an automatic demonstration apparatus for a client program operating in a server / client type window system, wherein event information from the server to the client and the client to the server are used. Request information, and information branching means for branching each piece of information of response information from the server to the client in response to the request information, information recording means for recording the branched pieces of information in the order of their occurrence time, and the information recording. While the event reproduction means for sending the event information recorded in the means to the client is provided, when the event information is reproduced, the request information from the client is received and compared with the request information recorded in the information recording section, and if necessary, , Request processing that returns corresponding response information to the client It is characterized by comprising a stage.

【0011】また、本発明は、サーバからクライアント
へのイベント情報を分岐する情報分岐手段と分岐された
イベント情報を発生時間順に記録する情報記録手段と、
前記情報記録手段に記録されたイベント情報をクライア
ントに送るイベント再生手段を備える一方、イベント再
生時に前記イベント再生手段から送られたイベント情報
を基に、記録時に起こったサーバの状態変化を再現する
仮想サーバと、イベント情報の再生時に、クライアント
からの要求情報を受取り、必要に応じ、前記仮想サーバ
の状態に従って応答情報をクライアントに返す要求処理
手段とを備えたことを特徴としている。
The present invention further comprises an information branching unit for branching event information from the server to the client, and an information recording unit for recording the branched event information in order of occurrence time.
An event reproducing unit for transmitting the event information recorded in the information recording unit to the client is provided, and a virtual state reproducing the state change of the server occurred at the time of recording based on the event information transmitted from the event reproducing unit at the time of reproducing the event. It is characterized by comprising a server and a request processing means for receiving request information from the client when reproducing the event information and returning response information to the client according to the state of the virtual server if necessary.

【0012】[0012]

【作用】上記構成によれば、情報分岐手段により、サー
バからクライアントへ送られるイベント情報と、クライ
アントからサーバへの要求情報と、その要求に対するサ
ーバの応答情報の各情報が分岐される。そして、分岐さ
れた各情報は、情報記録手段によって記録される。
According to the above structure, the information branching unit branches the event information sent from the server to the client, the request information from the client to the server, and the response information of the server in response to the request. Then, each branched information is recorded by the information recording means.

【0013】また、イベント情報の再生時には、イベン
ト再生手段が、前記情報記録手段に記録されているイベ
ント情報を取り出してクライアントに送ることによっ
て、各情報の記録時と同じ動作をクライアントにさせ
る。この時、クライアントからサーバの状態を尋ねるよ
うな要求が出た場合には、要求処理手段が、その要求に
対応する応答情報を情報記録手段から取り出し、取り出
した応答情報を実際のサーバからの応答情報の代わりに
クライアントに返す。このようにすることにより、記録
時にサーバから返されたのと同じ応答情報をクライアン
トに返すことが可能となる。
Further, at the time of reproducing the event information, the event reproducing means takes out the event information recorded in the information recording means and sends it to the client, thereby causing the client to perform the same operation as at the time of recording each information. At this time, when the client makes a request to inquire about the status of the server, the request processing means extracts the response information corresponding to the request from the information recording means, and the extracted response information is the response from the actual server. Return to the client instead of the information. By doing so, it is possible to return to the client the same response information that was returned from the server during recording.

【0014】また、同じくイベント情報の再生時に、イ
ベント再生手段が情報記録手段に記録されたイベント情
報をクライアントに送ると共に、本来そのイベント情報
の発生によって起こるサーバの状態変化を仮想サーバに
再現させることもできる。この場合、クライアントから
サーバの状態を尋ねるような要求が出た場合において
は、要求処理手段が、仮想サーバの状態に従って要求に
対応する応答情報を、実際のサーバからの応答情報の代
わりにクライアントに返す。このようにすることによ
り、記録時にサーバから返されたのと同じ応答情報を返
すことが可能となる。この場合にはクライアントからサ
ーバへ送られる要求情報と、その要求に対するサーバの
応答情報は記録する必要はない。
Similarly, at the time of reproducing the event information, the event reproducing means sends the event information recorded in the information recording means to the client and causes the virtual server to reproduce the state change of the server originally caused by the occurrence of the event information. You can also In this case, when the client makes a request for inquiring about the state of the server, the request processing means sends the response information corresponding to the request according to the state of the virtual server to the client instead of the response information from the actual server. return. By doing so, it becomes possible to return the same response information as returned from the server at the time of recording. In this case, it is not necessary to record the request information sent from the client to the server and the response information of the server to the request.

【0015】[0015]

【実施例】以下、本発明の一実施例を図面に従って具体
的に説明する。図1は本発明にかかる自動デモンストレ
ーション装置の第1の実施例の構成を示すブロック図で
ある。図1において、11はサーバ、クライアント間に
流れる情報を記録するために各情報を分岐する情報分岐
部、12は情報分岐部11によって分岐された情報を記
録する情報記録部、13は自動デモンストレーション時
(即ち、イベント情報の再生時)に、情報記録部12か
らイベント情報を取り出してクライアントに送るイベン
ト再生部、14は同じく自動デモンストレーション時
に、クライアントからサーバへの要求情報を受取り、応
答が必要な要求であるか否かを判断し、情報記録部12
から前記要求情報に対応する応答情報を取り出してクラ
イアントに送る要求処理部である。なお、要求情報とこ
れに対応する応答情報の内容については、デモンストレ
ーションに必要となる情報が予め順番に設定される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be specifically described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a first embodiment of an automatic demonstration device according to the present invention. In FIG. 1, 11 is an information branching unit for branching each information in order to record the information flowing between the server and the client, 12 is an information recording unit for recording the information branched by the information branching unit 11, and 13 is an automatic demonstration. At the time of reproducing the event information (that is, at the time of reproducing the event information), the event reproducing unit 14 which extracts the event information from the information recording unit 12 and sends it to the client, also receives the request information from the client to the server at the time of the automatic demonstration. Information recording unit 12
Is a request processing unit that extracts response information corresponding to the request information and sends it to the client. As for the contents of the request information and the response information corresponding thereto, the information necessary for the demonstration is set in advance in order.

【0016】以上のように構成された自動デモンストレ
ーション装置について、以下その動作を図4に従って説
明する。図4は、第1の実施例におけるデータの流れを
示すブロック図であり、(A)は記録時の、そして
(B)は再生時におけるデータの流れを夫々示してい
る。自動デモンストレーションを行う場合、まずクライ
アントプログラムの動作を再現するためのデータを記録
するために、操作者がデモンストレーションの筋書きに
従ってキー操作などを行う。そして、このキー操作など
により発生するサーバからクライアントへ送られるイベ
ント情報を、(A)で示すように情報分岐部41がクラ
イアントへ送ると共に、これを記録しておくために、情
報記録部42にも送る。また、クライアントプログラム
の動作の過程において、クライアントからサーバへ出さ
れる要求情報と、その要求に対するサーバからの応答情
報についても情報分岐部41を介して情報記録部42に
記録される。この場合、イベント情報、要求情報、応答
情報の各情報は、それらの発生順に記録される。
The operation of the automatic demonstration device configured as described above will be described below with reference to FIG. FIG. 4 is a block diagram showing a data flow in the first embodiment, (A) shows a data flow at the time of recording, and (B) shows a data flow at the time of reproduction. When performing an automatic demonstration, first, an operator performs a key operation or the like according to the scenario of the demonstration in order to record data for reproducing the operation of the client program. Then, as shown in (A), the information branching unit 41 sends the client the event information generated by the key operation or the like and sent to the client, and the information recording unit 42 records the event information. Also send. Further, in the course of the operation of the client program, request information issued from the client to the server and response information from the server to the request are also recorded in the information recording unit 42 via the information branching unit 41. In this case, the event information, the request information, and the response information are recorded in the order of occurrence thereof.

【0017】次に、先に記録したクライアントプログラ
ムの動作を再現する時は、(B)に示すように、まずイ
ベント再生部43が情報記録部42からイベント情報を
取り出し、これをクライアントに送る。こうすることに
より、クライアントプログラムは記録した時と同じ動作
を行う。この時、クライアントからサーバに対して要求
情報が出されると、この要求情報は、一旦要求処理部4
4に送られる。そして、サーバの応答を必要としない要
求情報についてはそのままサーバに送られ、サーバの応
答を必要とする要求情報についてはその要求情報の記録
時における発生順位の情報とその内容とから、要求処理
部44が、対応する要求情報と、これに対応する応答情
報を情報記録部42より取り出し、取り出した要求情報
をサーバに送ると共に、その送った要求情報に対するサ
ーバからの応答情報の代わりに情報記録部42より取り
出した応答情報をクライアントに返す。
Next, when reproducing the operation of the previously recorded client program, the event reproducing section 43 first extracts the event information from the information recording section 42 and sends it to the client, as shown in (B). By doing so, the client program performs the same operation as when it was recorded. At this time, when request information is issued from the client to the server, this request information is once sent to the request processing unit 4.
Sent to 4. Then, the request information that does not require a server response is sent to the server as it is, and the request information that requires a server response is generated from the request order information and the content of the order of occurrence at the time of recording the request information. 44 retrieves the corresponding request information and the corresponding response information from the information recording unit 42, sends the retrieved request information to the server, and replaces the response information from the server for the sent request information with the information recording unit. The response information extracted from 42 is returned to the client.

【0018】以上の動作を具体例を用いて更に詳しく説
明する。例えば、シフトキーを押してから、Aのキーを
押すという動作を再現することを考える。即ち、動作の
記録時には、操作者がキーボードでシフトキーを押し、
その状態のままシフトキーを離さずにAのキーを押すも
のとすれば、Aのキーが押されたときに、クライアント
がサーバにシフトキーも一緒に押されているかどうかを
問い合わせ、その結果によって動作を変えるものとす
る。このような場合、次のような順序((1)→(4))で情
報が発生し、発生した情報が情報記録部42に記録され
る。
The above operation will be described in more detail using a specific example. For example, consider reproducing the operation of pressing the shift key and then the A key. That is, when recording the motion, the operator presses the shift key on the keyboard,
If the A key is pressed without releasing the shift key in that state, when the A key is pressed, the client inquires of the server whether the shift key is also pressed, and the operation is performed depending on the result. Shall be changed. In such a case, information is generated in the following order ((1) → (4)), and the generated information is recorded in the information recording unit 42.

【0019】(1)サーバからクライアントへ、シフトキ
ーが押されたというイベント情報が送られる (2)サーバからクライアントへ、Aのキーが押されたと
いうイベント情報が送られる (3)クライアントからサーバへ、シフトキーが押されて
いるかどうかを尋ねる要求情報が送られる (4)サーバからクライアントへ、(3)の要求情報の応答と
してシフトキーが押されているという応答情報が送られ
る 次に上記動作の再生時には、イベント再生部43が情報
記録部42に記録されている2つのイベント情報を順に
読みだし、クライアントへ送る。この時、記録時の場合
と同じように、クライアントからシフトキーが押されて
いるかどうかを尋ねる要求情報が出されるが、この要求
情報は要求処理部44が受け取る。そして、要求処理部
44では、応答することが必要な要求であると判断した
場合には、その要求情報をサーバに送ると共に、その要
求に対応する応答情報を情報記録部42から取り出し、
その要求に対するサーバからの応答を待つ。その後、サ
ーバからの応答情報を受け取った要求処理部44は、こ
の応答情報の代わりに情報記録部42から読み出した応
答情報をクライアントに返す。この場合の情報の流れは
次の順序((5)→(11))で行われる。
(1) The server sends the client the event information that the shift key has been pressed (2) The server sends the client the event information that the key A has been pressed (3) The client sends the server , The request information asking whether the shift key is pressed is sent. (4) The server sends the client the response information that the shift key is pressed as a response to the request information in (3). At times, the event reproducing unit 43 sequentially reads out the two pieces of event information recorded in the information recording unit 42 and sends them to the client. At this time, as in the case of recording, request information asking whether the shift key is pressed is issued from the client, and the request processing unit 44 receives this request information. When the request processing unit 44 determines that the request needs to be responded, the request information is sent to the server, and the response information corresponding to the request is taken out from the information recording unit 42.
Wait for the server's response to the request. After that, the request processing unit 44 receiving the response information from the server returns the response information read from the information recording unit 42 to the client instead of the response information. The information flow in this case is performed in the following order ((5) → (11)).

【0020】(5)イベント再生部43からクライアント
へ、シフトキーが押されたというイベント情報が送られ
る (6)イベント再生部43からクライアントへ、Aのキー
が押されたというイベント情報が送られる (7)シフトキーが押されているかどうかを尋ねるクライ
アントからの要求情報を要求処理部44が受取る。
(5) The event information indicating that the shift key is pressed is sent from the event reproducing unit 43 to the client. (6) The event information indicating that the A key is pressed is sent from the event reproducing unit 43 to the client ( 7) Request processor 44 receives request information from the client asking if the shift key is pressed.

【0021】(8)要求処理部44は、情報記録部42を
検索し、(7)で受け取った要求情報に対応する応答情報
を取り出す。なお、この応答情報は、(4)で記録された
応答情報のことである。 (9)要求処理部44は、(7)で受け取った要求情報をサー
バに送る。 (10)サーバから(9)の要求情報の応答として、シフトキ
ーは押されていないという応答情報が送られるが、これ
を要求処理部44が受け取る。
(8) The request processing unit 44 searches the information recording unit 42 and extracts the response information corresponding to the request information received in (7). The response information is the response information recorded in (4). (9) The request processing unit 44 sends the request information received in (7) to the server. (10) As a response to the request information of (9), response information that the shift key is not pressed is sent from the server, and the request processing unit 44 receives this response information.

【0022】(11)要求処理部44は、(10)の応答情報の
代わりに、(8)で取り出した応答情報をクライアントに
送る。 以上のように上記第1の実施例によれば、クライアント
からの要求情報に対する応答を、あらかじめ情報記録部
42に記録しておいた応答情報によって行う。従って、
クライアントはその動作を記録したときと同じ動作とし
て再現することができる。
(11) The request processing section 44 sends the response information extracted in (8) instead of the response information in (10) to the client. As described above, according to the first embodiment, the response to the request information from the client is made by the response information previously recorded in the information recording unit 42. Therefore,
The client can reproduce the same behavior as when recording it.

【0023】図2は本発明にかかる自動デモンストレー
ション装置の第2の実施例の構成を示すブロック図であ
る。図2において、21はサーバ、クライアント間に流
れる情報を記録するために各情報を分岐する情報分岐
部、22は情報分岐部21によって分岐された情報を記
録する情報記録部、23は自動デモンストレーション時
に情報記録部22からイベント情報を取り出してクライ
アントに送るイベント再生部、24は同じく自動デモン
ストレーション時に、イベント再生部22からクライア
ントに送られるイベント情報を基に、記録時に起こった
サーバの状態変化を再現する仮想サーバ、25は同じく
自動デモンストレーション時に、クライアントからサー
バへの要求情報を受取り、応答が必要な要求であった場
合には、仮想サーバ24の状態から前記要求情報に対応
する応答情報を作り、これをクライアントに送る要求処
理部である。
FIG. 2 is a block diagram showing the configuration of the second embodiment of the automatic demonstration device according to the present invention. In FIG. 2, 21 is an information branching unit for branching each information to record information flowing between the server and the client, 22 is an information recording unit for recording the information branched by the information branching unit 21, and 23 is an automatic demonstration. An event reproducing unit that extracts event information from the information recording unit 22 and sends it to the client, 24 also reproduces a change in the state of the server that occurred at the time of recording, based on the event information sent from the event reproducing unit 22 to the client during the automatic demonstration. Similarly, during the automatic demonstration, the virtual server 25 receives request information from the client to the server, and if a request requires a response, creates response information corresponding to the request information from the state of the virtual server 24. Is a request processing unit that sends the

【0024】以上のように構成された自動デモンストレ
ーション装置について、以下その動作を図5に従って説
明する。図5は、第2の実施例におけるデータの流れを
示すブロック図であり、(A)は記録時の、そして
(B)は再生時におけるデータの流れを夫々示してい
る。自動デモンストレーションを行う場合、まずクライ
アントプログラムの動作を再現するためのデータを記録
するために、操作者がデモンストレーションの筋書きに
従ってキー操作などを行う。そして、このキー操作など
により発生するサーバからクライアントへ送られるイベ
ント情報を、(A)で示すように情報分岐部51がクラ
イアントへ送ると共に、これを記録しておくために情報
記録部52にも送る。そして、このイベント情報は情報
記録部52に記録される。
The operation of the automatic demonstration device configured as described above will be described below with reference to FIG. FIG. 5 is a block diagram showing the flow of data in the second embodiment. FIG. 5A shows the flow of data during recording and FIG. 5B shows the flow of data during reproduction. When performing an automatic demonstration, first, an operator performs a key operation or the like according to the scenario of the demonstration in order to record data for reproducing the operation of the client program. Then, as shown in (A), the information branching unit 51 sends the client the event information generated by the key operation or the like and sent to the client, and the information recording unit 52 also records the event information. send. Then, this event information is recorded in the information recording unit 52.

【0025】次に、先に記録したクライアントプログラ
ムの動作を再現する時は、(B)に示すように、まずイ
ベント再生部53が情報記録部52からイベント情報を
取り出し、これをクライアントと仮想サーバ52に送
る。こうすることにより、クライアントプログラムは記
録した時と同じ動作を行う。また、仮想サーバ54は、
送られてきたイベント情報に従って、仮想サーバ52の
状態を変化させる。この再生動作の途中において、クラ
イアントからサーバに対して出された要求情報について
は、一旦要求処理部55に送られる。そして、サーバの
応答を必要としない要求情報についてはそのままサーバ
に送られ、サーバの応答を必要とする要求情報について
は、要求処理部55が仮想サーバ54にその状態を問い
合わせて、要求情報に対する応答情報を作る。このよう
に、仮想サーバ54では、先の要求情報をサーバに送る
と共に、その送った要求情報に対するサーバからの応答
情報の代わりに、仮想サーバ54の状態から作り出した
要求情報をクライアントに返す。
Next, when reproducing the operation of the previously recorded client program, as shown in (B), the event reproducing section 53 first extracts the event information from the information recording section 52, and this is taken out by the client and the virtual server. Send to 52. By doing so, the client program performs the same operation as when it was recorded. In addition, the virtual server 54
The state of the virtual server 52 is changed according to the sent event information. Request information issued from the client to the server during the reproducing operation is once sent to the request processing unit 55. Then, request information that does not require a server response is sent to the server as it is, and request information that requires a server response is queried by the request processing unit 55 to the virtual server 54 for a response to the request information. Make information. As described above, the virtual server 54 sends the previous request information to the server, and returns the request information created from the state of the virtual server 54 to the client instead of the response information from the server to the sent request information.

【0026】以上の動作を具体例を用いて更に詳しく説
明する。例えば、シフトキーを押してから、Aのキーを
押し、その後でシフトキーを離すという動作を再現する
ことを考える。即ち、動作の記録時には、操作者がキー
ボードでシフトキーを押し、その状態のままシフトキー
を離さずにAのキーを押すものとすれば、Aのキーが押
されたときに、クライアントがシフトキーも一緒に押さ
れているかどうかをサーバに問い合わせ、その結果によ
って動作を変えるものとする。このような場合、次のよ
うな順序((1)→(5))で情報が発生し、発生した情報は
情報記録部52に記録される。
The above operation will be described in more detail using a specific example. For example, let us consider reproducing the operation of pressing the shift key, then the A key, and then releasing the shift key. That is, if the operator presses the shift key on the keyboard at the time of recording the action and then presses the A key without releasing the shift key in that state, when the A key is pressed, the client also presses the shift key. It asks the server if it is pressed, and changes the operation depending on the result. In such a case, information is generated in the following order ((1) → (5)), and the generated information is recorded in the information recording unit 52.

【0027】(1)サーバからクライアントへ、シフトキ
ーが押されたというイベント情報が送られる (2)サーバからクライアントへ、Aのキーが押されたと
いうイベント情報が送られる (3)クライアントからサーバへ、シフトキーが押されて
いるかどうかを尋ねる要求情報が送られる (4)サーバからクライアントへ、(3)の要求情報の応答と
してシフトキーが押されているという応答情報が送られ
る (5)サーバからクライアントへ、シフトキーを離したと
いうイベント情報が送られる 次に上記動作の再生時には、イベント再生部53が情報
記録部52に記録されているイベント情報を順に読みだ
し、クライアントと仮想サーバ54へ送る。仮想サーバ
54では、送られてきたイベント情報に応じて仮想サー
バ54の状態を変更する。この時、記録時と同じように
クライアントからシフトキーが押されているかどうかを
尋ねる要求情報が出されるが、この要求情報については
要求処理部55が受け取る。そして、要求処理部55で
は、応答することが必要な要求であると判断した場合に
は、その要求情報をサーバに送ると共に仮想サーバ54
の状態を調べて応答情報を作り、その要求に対するサー
バからの応答を待つ。その後、サーバからの応答情報を
受け取った要求処理部55は、この応答情報の代わりに
仮想サーバ54の状態から作った応答情報をクライアン
トに返す。この場合の情報の流れは次の順序((6)→(1
6))で行われる。
(1) The server sends the client the event information that the shift key has been pressed (2) The server sends the client the event information that the key A has been pressed (3) The client sends the server , Request information is sent asking if the shift key is pressed (4) The server sends the client a response information that the shift key is pressed in response to the request information in (3) (5) The server sends the client The event information indicating that the shift key is released is sent to the event reproducing unit 53. Next, when reproducing the above operation, the event reproducing unit 53 sequentially reads the event information recorded in the information recording unit 52 and sends it to the client and the virtual server 54. The virtual server 54 changes the state of the virtual server 54 according to the sent event information. At this time, as in the case of recording, the client issues request information asking whether or not the shift key is pressed. The request processing unit 55 receives this request information. When the request processing unit 55 determines that the request requires a response, the request processing unit 55 sends the request information to the server and the virtual server 54.
, It creates response information and waits for a response from the server to the request. After that, the request processing unit 55 that receives the response information from the server returns the response information created from the state of the virtual server 54 to the client instead of this response information. The flow of information in this case is as follows ((6) → (1
6)).

【0028】(6)イベント再生部53からクライアント
と仮想サーバ54へ、シフトキーが押されたというイベ
ント情報が送られる (7)仮想サーバ54の状態を、シフトキーが押されてい
るという状態に変更する (8)イベント再生部53からクライアントと仮想サーバ
54へ、Aのキーが押されたというイベント情報が送ら
れる (9)仮想サーバ54の状態を、シフトキーとAキーが押
されているという状態に変更する (10)シフトキーが押されているかどうかを尋ねるクライ
アントからの要求情報を要求処理部55が受取る。
(6) Event information indicating that the shift key is pressed is sent from the event reproducing unit 53 to the client and the virtual server 54. (7) The state of the virtual server 54 is changed to the state where the shift key is pressed. (8) The event information indicating that the A key is pressed is sent from the event reproducing unit 53 to the client and the virtual server 54. (9) The state of the virtual server 54 is changed to the state where the shift key and the A key are pressed. Change (10) The request processing unit 55 receives request information from the client asking whether the shift key is pressed.

【0029】(11)要求処理部55は仮想サーバの状態を
調べ、(7)で受け取った要求情報に対応する応答情報を
作る。 (12)要求処理部55は(10)で受け取った要求情報をサー
バに送る。 (13)サーバから(12)の要求情報の応答として、シフトキ
ーは押されていないという応答情報が送られるが、これ
を要求処理部55が受け取る。
(11) The request processing section 55 checks the state of the virtual server and creates response information corresponding to the request information received in (7). (12) The request processing unit 55 sends the request information received in (10) to the server. (13) As a response to the request information of (12), the server sends response information that the shift key is not pressed, and the request processing unit 55 receives this response information.

【0030】(14)要求処理部55は(13)の応答情報のか
わりに(11)で作成した応答情報をクライアントに送る。 (15)イベント再生部53からクライアントと仮想サーバ
54へ、シフトキーが離されたというイベント情報が送
られる (16)仮想サーバ54の状態をシフトキーが押されていな
いという状態に変更する。
(14) The request processing section 55 sends the response information created in (11) instead of the response information in (13) to the client. (15) The event information indicating that the shift key has been released is sent from the event reproducing unit 53 to the client and the virtual server 54. (16) The state of the virtual server 54 is changed to the state where the shift key is not pressed.

【0031】以上のように上記第2の実施例によれば、
クライアントからの要求情報に対する応答を仮想サーバ
54の状態から作った応答情報によって行う。従って、
クライアントはその動作を記録したときと同じ動作とし
て再現することができる。なお、上記した第1、第2の
実施例において、イベント情報をその記録時の時間と共
に記録し、再生時にはこの時間情報を使って、記録時と
同じ時間間隔でもってイベント情報を発行するようにし
てもよい。また、再生時の要求情報の内容によっては、
要求処理部14、25で用意した応答情報ではなく、再
生時にサーバから送られた要求情報をクライアントに返
すようにしても良い。
As described above, according to the second embodiment,
The response to the request information from the client is made by the response information created from the state of the virtual server 54. Therefore,
The client can reproduce the same behavior as when recording it. In the first and second embodiments described above, the event information is recorded together with the recording time, and this time information is used during reproduction so that the event information is issued at the same time intervals as during recording. May be. Also, depending on the content of the request information during playback,
Instead of the response information prepared by the request processing units 14 and 25, the request information sent from the server at the time of reproduction may be returned to the client.

【0032】[0032]

【発明の効果】以上の本発明によれば、サーバ/クライ
アント方式のウィンドウシステムで動作するクライアン
トプログラムの自動デモンストレーション装置におい
て、イベント情報の再生時に、クライアントからサーバ
に対してサーバの状態を尋ねるなどの応答を求める要求
が出された場合にも、実際のサーバの状態にかかわるこ
となく、イベント情報を記録したときと同じサーバの応
答をクライアントに返すことができる。また、仮想的な
サーバを設けて、その状態によって、クライアントから
の要求に対する応答を行うこともできる。従って、クラ
イアントは、その動作を記録時と同じ動作として正確に
再現することができ、そのデモンストレーション効果は
極めて大きい。
As described above, according to the present invention, in the automatic demonstration apparatus for the client program which operates in the server / client type window system, when the event information is reproduced, the client asks the server about the state of the server. Even when a request for a response is issued, the same server response as when the event information was recorded can be returned to the client regardless of the actual server state. It is also possible to provide a virtual server and make a response to a request from a client depending on its state. Therefore, the client can accurately reproduce the operation as the same operation as at the time of recording, and the demonstration effect is extremely large.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明にかかる自動デモンストレーション装置
の第1の実施例の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a first embodiment of an automatic demonstration device according to the present invention.

【図2】同じく本発明にかかる自動デモンストレーショ
ン装置の第2の実施例の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of a second embodiment of the automatic demonstration device according to the present invention.

【図3】自動デモンストレーション装置の基本的な構成
及びデータの流れを示すブロック図である。
FIG. 3 is a block diagram showing a basic configuration of an automatic demonstration device and a data flow.

【図4】(A)は第1の実施例における記録時のデータ
の流れを示すブロック図である。(B)は同じく第1の
実施例における再生時のデータの流れを示すブロック図
である。
FIG. 4A is a block diagram showing a data flow during recording in the first embodiment. FIG. 6B is a block diagram showing the flow of data during reproduction in the same manner as in the first embodiment.

【図5】(A)は第2の実施例における記録時のデータ
の流れを示すブロック図である。(B)は同じく第2の
実施例における再生時のデータの流れを示すブロック図
である。
FIG. 5A is a block diagram showing a data flow during recording in the second embodiment. (B) is a block diagram showing a data flow at the time of reproduction in the second embodiment.

【符号の説明】[Explanation of symbols]

11、21 情報分岐部 12、22 情報記録部 13、23 イベント再生部 14、25 要求処理部 24 仮想サーバ 11, 21 Information branching unit 12, 22 Information recording unit 13, 23 Event reproducing unit 14, 25 Request processing unit 24 Virtual server

───────────────────────────────────────────────────── フロントページの続き (72)発明者 楠見 雄規 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 (72)発明者 井出 剛氏 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 (72)発明者 宮部 義幸 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 (72)発明者 下地 達也 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Yuuki Kusumi 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. (72) Takeshi Ide, 1006 Kadoma, Kadoma City, Osaka Matsushita Electric Industrial Co. (72) Inventor Yoshiyuki Miyabe 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 サーバ/クライアント方式のウィンドウ
システムで動作するクライアントプログラムの自動デモ
ンストレーション装置において、 サーバからクライアントへのイベント情報及びクライア
ントからサーバへの要求情報、更に、要求情報に対する
サーバからクライアントへの応答情報の各情報を夫々分
岐する情報分岐手段と、分岐された各情報をそれらの発
生時間順に記録する情報記録手段と、前記情報記録手段
に記録されたイベント情報をクライアントに送るイベン
ト再生手段を備える一方、 イベント情報の再生時に、クライアントからの要求情報
を受取り、前記情報記録手段に記録された要求情報と比
較して、必要に応じ、対応する応答情報をクライアント
に返す要求処理手段を備えたことを特徴とする自動デモ
ンストレーション装置。
1. An automatic demonstration device for a client program operating in a server / client window system, wherein event information from the server to the client, request information from the client to the server, and a response from the server to the client to the request information. An information branching unit that branches each piece of information, an information recording unit that records each piece of branched information in the order of their occurrence time, and an event reproducing unit that sends the event information recorded in the information recording unit to the client On the other hand, when reproducing the event information, a request processing unit is provided which receives the request information from the client, compares the request information with the request information recorded in the information recording unit, and returns corresponding response information to the client when necessary. Automatic demonstration strain characterized by Down apparatus.
【請求項2】 サーバ/クライアント方式のウィンドウ
システムで動作するクライアントプログラムの自動デモ
ンストレーション装置において、 サーバからクライアントへのイベント情報を分岐する情
報分岐手段と、分岐された情報をそれらの発生時間順に
記録する情報記録手段と、前記情報記録手段に記録され
たイベント情報をクライアントに送るイベント再生手段
を備える一方、 前記イベント再生手段から送られたイベント情報を基
に、記録時に起こったサーバの状態変化を再現する仮想
サーバと、イベント情報の再生時に、クライアントから
の要求情報を受取り、必要に応じ、前記仮想サーバの状
態に従って応答情報をクライアントに返す要求処理手段
とを備えたことを特徴とする自動デモンストレーション
装置。
2. An automatic demonstration apparatus for a client program operating in a server / client type window system, wherein information branching means for branching event information from a server to a client and the branched information are recorded in the order of their occurrence time. An information recording unit and an event reproducing unit for transmitting the event information recorded in the information recording unit to the client are provided, and a state change of the server that occurred at the time of recording is reproduced based on the event information transmitted from the event reproducing unit. An automatic demonstration device, comprising: a virtual server for executing the event information; and a request processing unit that receives request information from the client at the time of reproducing the event information and returns response information to the client according to the state of the virtual server if necessary. ..
JP4155421A 1992-06-15 1992-06-15 Automatic demonstration device Pending JPH05346897A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4155421A JPH05346897A (en) 1992-06-15 1992-06-15 Automatic demonstration device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4155421A JPH05346897A (en) 1992-06-15 1992-06-15 Automatic demonstration device

Publications (1)

Publication Number Publication Date
JPH05346897A true JPH05346897A (en) 1993-12-27

Family

ID=15605638

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4155421A Pending JPH05346897A (en) 1992-06-15 1992-06-15 Automatic demonstration device

Country Status (1)

Country Link
JP (1) JPH05346897A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07219741A (en) * 1994-02-03 1995-08-18 Nec Corp Metaphor interface device
JPH0869385A (en) * 1994-08-29 1996-03-12 Nec Corp Event generation/distribution system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07219741A (en) * 1994-02-03 1995-08-18 Nec Corp Metaphor interface device
JPH0869385A (en) * 1994-08-29 1996-03-12 Nec Corp Event generation/distribution system

Similar Documents

Publication Publication Date Title
KR100502023B1 (en) Terminal for computer network and recording method of control history
JPH05346897A (en) Automatic demonstration device
JP3999375B2 (en) Track control method and control apparatus
Reisman Multimedia computing: preparing for the 21st century
JP3190668B2 (en) Network type education system
JPH08202681A (en) Hypermedia system and hypermedia document preparing and editing method
JPH08335181A (en) File accessing device
JPH028920A (en) Event recorder and event reproducing device
JPH01258159A (en) Text processing system
JP2501878B2 (en) Simultaneous display of multiple files
US5748253A (en) Direct keyboard access to video editing source material
JPS63118920A (en) Control system for message help in screen type terminal
JP3619005B2 (en) Image processing system control method and apparatus, and program recording medium thereof
JPH0348359A (en) Display system for plural languages on computer systems terminal
JPH03127140A (en) Program dynamic generation system
JPH03130839A (en) On-line simulation system
JPH02220123A (en) Information processor
JPH06118914A (en) Automatic demonstration device
JPH0784911A (en) Evaluation system for performance of on-line system
JPH09152981A (en) Tracing device and method
Mori et al. System Design of Professional Digital Mastering System
JPS6224763A (en) Schedule display system for recording screen
KR930015541A (en) Interactive Data Processing Method of Electronic Switching System
JPH11345272A (en) Answer terminal communication system, answer terminal communication method and recording medium stored with program for answer terminal communication
JPH0540559A (en) Online manual display system