JPH11110349A - Network system for computer - Google Patents

Network system for computer

Info

Publication number
JPH11110349A
JPH11110349A JP9265576A JP26557697A JPH11110349A JP H11110349 A JPH11110349 A JP H11110349A JP 9265576 A JP9265576 A JP 9265576A JP 26557697 A JP26557697 A JP 26557697A JP H11110349 A JPH11110349 A JP H11110349A
Authority
JP
Japan
Prior art keywords
code
communication
computer
file
command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP9265576A
Other languages
Japanese (ja)
Other versions
JP3507672B2 (en
Inventor
Hiroyuki Hoshi
博幸 星
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.)
NEC Communication Systems Ltd
Original Assignee
NEC Communication Systems 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 NEC Communication Systems Ltd filed Critical NEC Communication Systems Ltd
Priority to JP26557697A priority Critical patent/JP3507672B2/en
Publication of JPH11110349A publication Critical patent/JPH11110349A/en
Application granted granted Critical
Publication of JP3507672B2 publication Critical patent/JP3507672B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PROBLEM TO BE SOLVED: To eliminate the need for always manually inputting a command to an application by grasping the control and state of a software among the plural computers of different architecture made into network. SOLUTION: This system has a work station(WS) 1 as a computer to be operated by the other computer, personal computer(PC) 10 as a computer for operating the WS 1 and local area network (LAN) 100 for the network connection of the WS 1 and the PC 10 so as to enable communication. In such a system, a communication request is monitored at all the time. As the functional property of the WS 1, a function means is operated by the request of a monitoring means. A code file is reloaded into predetermined code corresponding to the states of the monitoring means and means for communication. A command file stores an inputted command. An output information storage file stores outputted information.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はネットワークで接続
されたアーキテクチャの異なるコンピュータ間の通信お
よび制御手段に関する。
The present invention relates to communication and control means between computers having different architectures connected by a network.

【0002】[0002]

【従来の技術】従来、ハードウエアの構成や基本ソフト
ウェアの組合せ等のアーキテクチャが異なるコンピュー
タをネットワークで接続し、他のコンピュータ上のソフ
トウェアを使用することは困難であった。例えばワーク
ステーション(以後、WSと記す)とパーソナルコンピ
ュータ(以後、PCと記す)とがLANでネットワーク
化される環境でWS上のアプリケーションソフトウエア
(以後、アプリケーションと記す)を使用する際には、
PCでWSの動きを疑似するソフトウェアである端末エ
ミュレータを使用してWSと通信し、WS上のアプリケ
ーションに直接コマンド入力を行っていた。また、WS
上のアプリケーションからの状態表示も端末エミュレー
タを通して、PCで確認していた。
2. Description of the Related Art Conventionally, it has been difficult to connect computers having different architectures such as a hardware configuration and a combination of basic software via a network and use software on another computer. For example, when using application software (hereinafter, referred to as an application) on a WS in an environment where a workstation (hereinafter, referred to as a WS) and a personal computer (hereinafter, referred to as a PC) are networked by a LAN,
The PC communicates with the WS using a terminal emulator, which is software for simulating the movement of the WS, and directly inputs a command to an application on the WS. Also, WS
The status display from the above application was also confirmed on the PC through the terminal emulator.

【0003】なお、ネットワークで接続された、複数の
資源の共有を図る例として、特開平2−257732公
報と特開平4−333944公報がある。
As examples of sharing a plurality of resources connected by a network, there are JP-A-2-257732 and JP-A-4-333944.

【0004】図12は、特開平2−257732公報の
構成を説明する構成図である。端末制御装置1202
は、パーソナルコンピュータ1203と通信を行うワー
クステーション管理部1205と、ホストコンピュータ
1201と通信を行う通信管理部1206と、送受信対
象のファイルを蓄積するファイル送受信管理部1207
とから構成される、「一時記憶バッファを用いたファイ
ル転送機能」であり、ホスト側のタスク毎の制御・状態
把握については記述されていない。
FIG. 12 is a configuration diagram for explaining the configuration of Japanese Patent Application Laid-Open No. 2-257732. Terminal control device 1202
Are a workstation management unit 1205 that communicates with the personal computer 1203, a communication management unit 1206 that communicates with the host computer 1201, and a file transmission and reception management unit 1207 that stores files to be transmitted and received.
This is a "file transfer function using a temporary storage buffer", and does not describe the control / status grasp for each task on the host side.

【0005】図13は、特開平4−333944公報の
構成を説明する構成図である。TC1301とWS13
51間の入出力制御において、TC1301とWS13
51にそれぞれ入出力バッファを持ち、ローカルネット
ワークを介して、相手からの状態通知をフレームとして
随時受信し、入出力バッファにフレームを蓄積し、FI
FO(ファーストイン・ファーストアウト)で、受信フ
レームの処理を行うことを特徴としている「共有資源活
用の手段としてキュー制御を用いた方式」であり、WS
側のアプリケーションの制御・動作中の状態把握の記載
はなく、更にフレームを使用して双方でキュー管理によ
るフレーム(ジョブ)制御方式であり、共有メモリを使
用した記載はない。
FIG. 13 is a configuration diagram for explaining the configuration of Japanese Patent Application Laid-Open No. 4-333944. TC1301 and WS13
51, the input / output control between the TC 1301 and the WS 13
51, each of which has an input / output buffer, receives a status notification from a partner as a frame as needed via a local network, accumulates the frame in the input / output buffer,
This is a "method using queue control as a means of utilizing shared resources", characterized in that received frames are processed in FO (first in first out).
There is no description of the control of the application on the side and the understanding of the state during operation. Further, the frame (job) control method is based on queue management using both frames, and there is no description using a shared memory.

【0006】[0006]

【発明が解決しようとする課題】従来技術において、ア
ーキテクチャの異なるWSとPCとがネットワーク化さ
れた環境でPCからWS上の資産であるアプリケーショ
ンを利用する際には、WSの動きを疑似化するソフトウ
ェアである端末エミュレータをPC上で使用してWSと
通信を行い、常時人手によりアプリケーションにコマン
ド入力を行わなければならなかった。また、アプリケー
ションからの情報は、PC上の端末エミュレータからリ
アルタイムで監視が必要であった。
In the prior art, when using an application which is an asset on a WS from a PC in an environment where a WS and a PC having different architectures are networked, the behavior of the WS is simulated. A terminal emulator, which is software, is used on a PC to communicate with the WS, and the user must always manually input commands to the application. Further, information from the application needs to be monitored in real time from a terminal emulator on a PC.

【0007】その理由は、アプリケーションが出力する
随時の動作状況は、ファイルとして残して後程確認しよ
うとすると解析は人手により必要情報の抽出を行うこと
となり大変手間がかかるからである。
The reason for this is that if the operation status output by the application is left as a file and is to be checked later, the analysis will need to be performed manually to extract necessary information, which is very troublesome.

【0008】本発明のは目的は、ネットワーク化された
アーキテクチャの異なる複数のコンピュータ間でのソフ
トウェアの制御および状態の把握を行うことの可能なコ
ンピュータの通信システムを提供することにある。
An object of the present invention is to provide a computer communication system capable of controlling software and grasping the state between a plurality of computers having different networked architectures.

【0009】[0009]

【課題を解決するための手段】本発明のコンピュータの
ネットワークシステムは、他のコンピュータに操作され
る第1のコンピュータと、第1のコンピュータを操作す
る第1のコンピュータとアーキテクチャが異なる第2の
コンピュータと、第1のコンピュータおよび第2のコン
ピュータを通信可能に接続するネットワーク手段とを備
えるコンピュータのネットワークシステムにおいて、常
に通信要求を監視する監視手段と、第1のコンピュータ
の機能資産である機能手段と、監視手段の要求により機
能手段を動作させる通信用手段と、監視手段および通信
用手段の状態により予め定められているコードに書き換
えられるコードファイルと、入力されたコマンドを格納
するコマンドファイルと、出力された情報を格納する出
力情報格納ファイルとを第1のコンピュータが有する。
A computer network system according to the present invention comprises a first computer operated by another computer and a second computer having a different architecture from the first computer operating the first computer. A monitoring means for constantly monitoring a communication request, a function means being a functional asset of the first computer, in a computer network system comprising: a network means for communicatively connecting the first computer and the second computer; A communication means for operating the function means in response to a request from the monitoring means, a code file rewritten to a predetermined code according to the state of the monitoring means and the communication means, a command file for storing the inputted command, and an output Output information storage file that stores the With the door the first computer.

【0010】また、コードファイルの監視周期を定める
タイミングを取得する第1のタイミング取得手段と、タ
イミング取得後にコードファイルを参照して通信要求を
断定する第1のコード判定手段と、第1のコード判定手
段で通信要求があると判定された場合は通信用手段を起
動する第1の通信用シェル起動手段と、第1の通信用シ
ェル起動手段が通信用シェルを起動後にコードファイル
に通信用手段の起動完了コードを書き込む第1のコード
書き込み手段を監視手段が有する。
[0010] Also, a first timing acquisition means for acquiring a timing for determining a monitoring cycle of a code file, a first code determination means for determining a communication request by referring to the code file after the timing acquisition, and a first code acquisition means. First communication shell activation means for activating the communication means when the determination means determines that there is a communication request; and communication means stored in the code file after the first communication shell activation means activates the communication shell. The monitoring means has a first code writing means for writing the activation completion code of the first.

【0011】また、通信用手段におけるコードファイル
の監視周期を定めるためのタイミングを取得する第2の
タイミング手段と、タイミング取得後にコードファイル
を参照してコードを読み取りコードの内容により分岐を
行う第2のコード判定手段と、第2のコード判定手段3
02の判定が子プロセスとして起動した第1の機能手段
にキャラクタであるコマンドを入力する場合は入力した
いキャラクタをコマンドファイルに出力するコマンド出
力手段と、コマンド出力後に終了を示すコードをコード
ファイルに書き込む終了コマンド書き込み手段と、第2
のコード判定手段の判定が異常状態終了だった場合はコ
ードファイルに空きを意味するコードを書き込む空きコ
ード書き込み手段と、コード書き込み後に通信用手段自
身を終了する終了手段と、第2のコード判定手段の判定
が機能手段実行中だった場合は機能手段の出力情報であ
る格納したファイルを参照して該当する機能手段の状態
コードをコードファイルに書き込むCDC変更手段とを
通信用手段が有する。
A second timing means for acquiring a timing for determining a code file monitoring period in the communication means, and a second means for reading a code by referring to the code file after the timing acquisition and branching according to the content of the code. Code determination means and second code determination means 3
When a command which is a character is input to the first function means activated as a child process in the determination of 02, a command output means for outputting a character to be input to a command file, and a code indicating the end after the command is output to a code file. End command writing means;
Empty code writing means for writing a code meaning empty in the code file if the determination by the code determination means is abnormal termination, termination means for terminating the communication means itself after writing the code, and second code determination means If the determination is that the functional unit is being executed, the communication unit has a CDC changing unit that refers to a file stored as output information of the functional unit and writes the status code of the corresponding functional unit into the code file.

【0012】また、第1のコード判定手段が起動要求の
ないものと判定した場合はコードファイルを更新変更す
るコード更新変更手段を有する。
In addition, the first code determining means includes code updating / changing means for updating / changing the code file when it is determined that there is no activation request.

【0013】また、CDC変更手段が動作後に第2のコ
ード判定手段の判定が機能手段の起動の場合は機能手段
の起動完了のコードをコードファイルに書き込む通信開
始手段を通信用手段が有する。
If the second code determination means determines that the functional means has been activated after the CDC changing means has operated, the communication means has communication start means for writing a code indicating that the activation of the functional means has been completed into a code file.

【0014】また、監視手段と機能手段と通信用手段と
コードファイルとコマンドファイルおよび格納ファイル
を記録した記録媒体を有する。
[0014] Further, it has a recording medium in which monitoring means, function means, communication means, code files, command files and storage files are recorded.

【0015】PC上でWSの資産であるアプリケーショ
ンソフトのコントロールおよび出力情報の収集が可能と
なる。
It becomes possible to control application software, which is a property of WS, and to collect output information on a PC.

【0016】[0016]

【発明の実施の形態】次に本発明の実施の形態について
図を参照し、詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, an embodiment of the present invention will be described in detail with reference to the drawings.

【0017】本発明の一実施例を示す図1を参照する
と、本発明のコンピュータのネットワークシステムは、
他のコンピュータに操作されるコンピュータとしてWS
1と、WS1を操作するコンピュータとしてPC10
と、WS1とPC10とを通信可能にネットワーク接続
するローカルエリアネットワーク(以降、LANと記
す)100とを有する。WS1はCPUやメインメモリ
3から成りデータ処理を行うデータ処理部1aと、デー
タ処理部1aで使用されるデータやプログラムが記憶さ
れる磁気記憶装置であるハードディスク装置(以降、H
Dと記す)2と、データ処理部1aに制御されLAN1
00による外部とのデータ入出力制御を行うインタフェ
ース1bとから成る。
Referring to FIG. 1 showing an embodiment of the present invention, a computer network system according to the present invention comprises:
WS as a computer operated by another computer
1 and a PC 10 as a computer for operating the WS 1
And a local area network (hereinafter, referred to as LAN) 100 that connects the WS 1 and the PC 10 so that they can communicate with each other. WS1 is composed of a CPU and a main memory 3 for performing data processing, and a hard disk device (hereinafter referred to as H) which is a magnetic storage device for storing data and programs used in the data processing unit 1a.
D) and the LAN 1 controlled by the data processing unit 1a.
And an interface 1b for controlling data input / output to / from the outside by means of an interface 1b.

【0018】HD2は、通信要求を常に監視するプログ
ラムである第1のバックグラウンドシェル4と、WS1
の機能資産である第1のアプリケーション6と、第1の
バックグラウンドシェル4の要求により第1のアプリケ
ーション6を動作させる第1の通信用シェル5と、第1
のバックグラウンドシェル4および第1の通信用シェル
5の状態により予め定められているコンディションコー
ドに書き換えられるコンディションコードファイル(以
後、CDCと記す)7と、入力されたコマンドを格納す
る入力コマンド格納ファイル(以後、CMDと記す)8
と、出力された情報を格納する出力情報格納ファイル
(以後、RESと記す)9とを有する。WS1は立ち上
げ時に第1のバックグラウンドシェル4をデータ処理部
1aがHD2から読み込み起動する。
The HD 2 includes a first background shell 4 which is a program for constantly monitoring a communication request, and a WS 1
A first application 6 which is a functional asset of the first, a first communication shell 5 for operating the first application 6 in response to a request from the first background shell 4, and a first
A condition code file (hereinafter, referred to as CDC) 7 that is rewritten to a condition code predetermined according to the state of the background shell 4 and the first communication shell 5, and an input command storage file for storing input commands (Hereinafter referred to as CMD) 8
And an output information storage file (hereinafter referred to as RES) 9 for storing the output information. When the WS 1 starts up, the data processing unit 1a reads the first background shell 4 from the HD 2 and starts up.

【0019】PC10はCPUやメインメモリから成り
データ処理を行うデータ処理部1aと、データ処理部1
0aに制御されLAN100により外部とのデータ入出
力制御を行うインタフェース10bとから成る。データ
処理部10aは通信を行う第2のアプリケーションを有
する。第2のアプリケーション12はCDC7を介して
通信を行う通信ドライバー13を有する。
The PC 10 comprises a CPU and a main memory, and includes a data processing section 1a for performing data processing, and a data processing section 1a.
The interface 10b is controlled by the LAN 100a and controls data input / output with the outside through the LAN 100. The data processing unit 10a has a second application for performing communication. The second application 12 has a communication driver 13 for performing communication via the CDC 7.

【0020】WS1の第1のバックグラウンドシェル4
は、CDC7の監視周期を定めるタイミングを取得する
第1のタイミング取得手段201と、タイミング取得後
にCDC7を参照して通信要求を判定する第1のコード
判定手段202と、第1のコード判定手段202で通信
要求があると判定された場合は第1の通信用シェル5を
起動する第1の通信用シェル起動手段203と、通信用
シェル起動手段203が第1の通信用シェル5を起動後
にCDC7に通信用シェル起動完了コード「02」40
2を書き込む第1のコード書き込み手段204とから成
る。WS1の第1の通信用シェル5は、第1の通信用シ
ェル5におけるCDC7の監視周期を定めるためのタイ
ミングを取得する第2のタイミング取得手段301と、
タイミング取得後にCDC7を参照してコードを読み取
りコードの内容により分岐を行う第2のコード判定手段
302と、第2のコード判定手段302の判定が子プロ
セスとして起動したWS1上の第1のアプリケーション
6にキャラクタであるコマンドを入力する場合はPC1
0側で入力したいキャラクタをCMD8に出力するコマ
ンド出力手段303と、コマンド出力後にPC10側で
コードをCDC7に書き込む終了コマンド書き込み手段
304と、第2のコード判定手段302の判定が異常状
態強制終了だった場合はCDC7に空きを意味するコー
ドを書き込む空きコード書き込み手段390と、コード
書き込みの後に通信用シェル5自身を終了するシェル終
了手段400と、第2のコード判定手段30の判定がア
プリケーションソフトウェア実行中だった場合は子プロ
セスであるアプリケーションの出力情報であるキャラク
タを格納したログファイルを参照して該当するWSアプ
リケーション状態のコードをCDC7に書き込むCDC
変更手段320を有する。
First background shell 4 of WS1
Is a first timing acquisition unit 201 that acquires a timing that determines a monitoring cycle of the CDC 7, a first code determination unit 202 that determines a communication request by referring to the CDC 7 after the timing acquisition, and a first code determination unit 202. If it is determined that there is a communication request, the first communication shell activation means 203 that activates the first communication shell 5 and the CDC 7 after the communication shell activation means 203 activates the first communication shell 5. Communication shell start completion code "02" 40
2 for writing the second code. The first communication shell 5 of the WS 1 includes: a second timing acquisition unit 301 that acquires a timing for determining a monitoring cycle of the CDC 7 in the first communication shell 5;
A second code determination unit 302 that reads a code with reference to the CDC 7 after the timing is acquired and branches based on the content of the code, and a first application 6 on the WS 1 that is determined as a child process by the second code determination unit 302 PC1 to input a character command to
The command output means 303 for outputting the character to be input to the CMD 8 on the 0 side, the end command writing means 304 for writing the code to the CDC 7 on the PC 10 side after the command is output, and the second code determination means 302 determining that the abnormal state is forcibly terminated. In this case, the free code writing means 390 for writing a code indicating free space in the CDC 7, the shell ending means 400 for ending the communication shell 5 itself after writing the code, and the second code determining means 30 executing application software If it is medium, the corresponding DC code of the WS application state is written to the CDC 7 by referring to the log file storing the character which is the output information of the application which is the child process.
It has a changing means 320.

【0021】次に、本発明の実施の形態について、図
1,2,3,14および15を参照し説明する。第1の
バックグラウンドシェルに4において、ステップS20
1では、第1のタイミング取得手段201はシェルにお
けるCDC7の監視周期を高めるためのタイミングを取
得する。監視周期タイミングを取得後、ステップS20
2では、第1のコード判定手段202が共有メモリ上の
CDC7を参照し、コードが「00」400時は、通信
要求のないものと判断し、未成立に分岐し、再びステッ
プS201の監視周期である第1のタイミング取得手段
201を実行する。ステップS202の第1のコード判
定手段においてコードが「01」401の際は、通信要
求があったものと判断し、ステップS203の通信用シ
ェル起動手段203で、子プロセスである第1の通信用
シェル5を起動し、ステップS204でシェル起動完了
コード書き込み手段204がCDC7に通信用シェル起
動完了コード「02」402を書き込む。第1の通信用
シェル5において、ステップS301は第2のタイミン
グ取得手段301で第1の通信用シェル5におけるCD
C7の監視周期を定めるためのタイミングを取得する。
監視周期タイミング取得後、ステップ302で第2のコ
ード判定手段302が共有メモリ上のCDC7を参照
し、コードを読み取り、コードの内容により、分岐を行
う。
Next, an embodiment of the present invention will be described with reference to FIGS. In the first background shell 4, at step S20
In 1, the first timing acquisition unit 201 acquires a timing for increasing the monitoring cycle of the CDC 7 in the shell. After acquiring the monitoring cycle timing, step S20
In step 2, the first code determination unit 202 refers to the CDC 7 on the shared memory, and when the code is "00" 400, determines that there is no communication request, branches to not satisfied, and again returns to the monitoring cycle of step S201. The first timing acquisition unit 201 is executed. If the code is "01" 401 in the first code determination means in step S202, it is determined that a communication request has been made, and the communication shell activation means 203 in step S203 causes the first communication The shell 5 is activated, and the shell activation completion code writing means 204 writes the communication shell activation completion code “02” 402 to the CDC 7 in step S204. In the first communication shell 5, step S 301 is a step in which the second timing acquisition means 301 uses the CD in the first communication shell 5.
The timing for determining the monitoring cycle of C7 is acquired.
After obtaining the monitoring cycle timing, in step 302, the second code determination unit 302 refers to the CDC 7 on the shared memory, reads the code, and branches based on the content of the code.

【0022】第2のコード判定手段302が子プロセス
として起動したWS上のアプリケーションにキャラクタ
であるコマンドを入力するコードと判定した場合の説明
をする。PC10側で入力したいキャラクタを用意し、
共有メモリ上のファイルCMD8に書き込みを行う。そ
の後PC10側でコード「10」410をCDC7に書
き込み、通信用シェル5では、ステップS302の分岐
において、CDC7が「10」410のであることを認
識し、ステップS310に分岐し、コマンド出力手段3
10が子プロセスであるアプリケーションにCMD8の
内容を出力する。その後、ステップS311において終
了コマンド書き込み手段311がCDC7にコマンド入
力終了であるコード「11」411を書き込む。この動
作で、子プロセスであるアプリケーションにキャラクタ
入力を行うことになる。
A description will be given of a case where the second code determination means 302 determines that the input code is a code for inputting a character command to an application on the WS started as a child process. Prepare the character you want to input on the PC 10 side,
Write to the file CMD8 on the shared memory. Thereafter, the PC 10 writes the code “10” 410 into the CDC 7, and the communication shell 5 recognizes that the CDC 7 is “10” 410 in the branch of step S 302, branches to step S 310, and executes the command output unit 3.
Reference numeral 10 outputs the contents of CMD8 to the application which is a child process. Then, in step S311, the end command writing unit 311 writes the code "11" 411 indicating the end of the command input to the CDC 7. With this operation, character input is performed to the application that is a child process.

【0023】第2のコード判定手段302が子プロセス
であるWS1上の第1のアプリケーション6からのキャ
ラクタ情報をPC10側に送るコードと判定した場合を
説明する。
A case where the second code determining means 302 determines that the character information from the first application 6 on the WS 1 as a child process is a code to be sent to the PC 10 will be described.

【0024】子プロセスである第1のアプリケーション
6の出力情報であるキャラクタを格納するログファイル
を共有メモリ上に定義し、第1の通信用シェル5におい
て、ステップS320のCDC変更手段320がログフ
ァイルを参照し、第1のアプリケーション6からのキャ
ラクタ群出力を認識し、PC10側へ通知するキャラク
タ群をファイルRES9に設定し、CDC7にWS1ア
プリケーション・キャラクタ出力のコードである「2
0」420を書き込み、PC10側でCDC7をスキャ
ンし、「20」420であることを認識し、RES9の
内容を取り込む。
A log file for storing a character, which is output information of the first application 6 as a child process, is defined on the shared memory. In the first communication shell 5, the CDC changing means 320 of step S320 , The character group output from the first application 6 is recognized, the character group to be notified to the PC 10 is set in the file RES9, and the code “2” of the WS1 application character output is set in the CDC 7.
“0” 420 is written, the PC 10 scans the CDC 7, recognizes that it is “20” 420, and captures the contents of RES 9.

【0025】第2のコード判定手段302が子プロセス
である第1のアプリケーション6の強制終了コードと判
定した場合を説明をする。PC10側からCDC7に強
制終了コード「99」499を書き込み、第1の通信用
シェル5でステップS302で第2のコード判定手段3
02かCDC7を認識し、ステップ390に分岐し、ス
テップS390で空きコード書き込み手段390がCD
C7に空きを意味するコード「00」400を書き込み
ステップS391でシェル終了手段391が第1の通信
用シェル5自身を終了することで、子プロセスである第
1のアプリケーション6を終了する。
The case where the second code determination means 302 determines that the code is the forced termination code of the first application 6 which is a child process will be described. The PC 10 writes the forced termination code “99” 499 to the CDC 7, and in the first communication shell 5, in step S 302, writes the second code determination unit 3
02 or CDC7, the process branches to step 390, and in step S390, the empty code
The code "00" 400 meaning empty is written in C7, and the shell termination means 391 terminates the first communication shell 5 itself in step S391, thereby terminating the first application 6, which is a child process.

【0026】第2のコード判定手段302が子プロセス
である第1のアプリケーション6の動作中の状態の通知
コードと判定した場合の説明をする。第1の通信用シェ
ル5において、ステップS302の第2のコード判定手
段302がCDC7の内容が、前記「10」410,
「20」420,「99」499以外と判定した場合
に、ステップS320のCDC変更手段320に分岐す
る。CDC変更手段320は子プロセスである第1のア
プリケーション6の出力情報であるキャラクタを格納し
たログファイルを参照し、PC10側に状態通知すべ
き、キャラクタコードを認識した際、当該するWS1の
第1のアプリケーション6の状態「12」〜「19」4
12をCDC7に書き込み、PC側でCDC7を参照す
ることで認識する。
A description will be given of a case where the second code determination means 302 determines that the notification code is a notification code of the operating state of the first application 6 which is a child process. In the first communication shell 5, the second code determination means 302 in step S302 determines that the content of the CDC 7 is "10" 410,
If it is determined that the value is other than “20” 420 and “99” 499, the process branches to the CDC changing unit 320 in step S320. The CDC changing unit 320 refers to the log file storing the character which is the output information of the first application 6 which is the child process, and recognizes the character code to be notified to the PC 10 side. Of application 6 of "12" to "19" 4
12 is written into the CDC 7, and the PC recognizes the CD 12 by referring to the CDC 7.

【0027】本発明の第二の実施例を示す図5を参照す
ると、本発明の通信システムは試験プログラム522お
よびモニタ521を有する交換機520と、交換機52
0と通信可能なWS510と、WS510およびWS5
10を介して交換機520と通信可能なPC500を備
える。PC500は、記憶媒体503を備え、記憶媒体
503には、WS510と通信するためのWS通信用ド
ライバー501を備える。
Referring to FIG. 5 showing a second embodiment of the present invention, the communication system of the present invention includes an exchange 520 having a test program 522 and a monitor 521, and an exchange 520.
510, WS510 and WS5 that can communicate with
And a PC 500 capable of communicating with the exchange 520 via the PC 10. The PC 500 includes a storage medium 503, and the storage medium 503 includes a WS communication driver 501 for communicating with the WS 510.

【0028】WS510には、PC500と通信するた
めの対PC通信ドライバー511と、アプリケーション
であり交換機520と通信するための交換機用のコンソ
ールプロセス512と、メモリ空間であるHD630と
を備える。WS510のHD360上には、CDC61
1と、CMD612と、RES613を備える。対PC
通信ドライバー511は図6に示すように、通信要求を
常に監視するプログラムである第2のバックグラウンド
シェル601と、第2のバックグラウンドシェル601
の要求によりコンソールプロセス512を動作させる第
2の通信用シェル602と、データの入力およびバック
アップ用の記憶媒体513とを備える。
The WS 510 includes a PC communication driver 511 for communicating with the PC 500, a console process 512 for an exchange which is an application and communicates with the exchange 520, and an HD 630 which is a memory space. On the HD 360 of the WS 510, the CDC 61
1, CMD 612, and RES 613. Vs PC
As shown in FIG. 6, the communication driver 511 includes a second background shell 601 which is a program for constantly monitoring a communication request, and a second background shell 601.
And a storage medium 513 for data input and backup for operating the console process 512 in response to the request.

【0029】第2のバックグラウンドシェル601およ
び第2の通信シェル602と対WS通信ドライバー50
1は、ネットワーク化により、共有メモリとなったWS
のHD630上のCDC611・CMD612・RES
613を介して通信を行う。
The second background shell 601 and the second communication shell 602 and the WS communication driver 50
1 is a WS that has become a shared memory due to networking
611, CMD612, RES on HD630
Communication is performed via 613.

【0030】第2の通信用シェル602の子プロセスと
して、コンソールプロセス512を立ち上げることによ
り、交換機520側へコマンド入力が行へ、交換機52
0からの出力はHD630上のログファイル614に出
力され、本ログファイル614を通信用シェル602が
解析し、その状態をCDC611を介して、通知する。
By starting a console process 512 as a child process of the second communication shell 602, a command is input to the exchange 520 side and the exchange 52
The output from 0 is output to a log file 614 on the HD 630, the log file 614 is analyzed by the communication shell 602, and the state is notified via the CDC 611.

【0031】次に、本発明の第2の実施例の動作につい
て図7、8、9、10、16、17および18を参照し
て詳細に説明する。
Next, the operation of the second embodiment of the present invention will be described in detail with reference to FIGS. 7, 8, 9, 10, 16, 17 and 18.

【0032】WS510の第2のバックグラウンドシェ
ル601は、CDC611の監視周期を定めるタイミン
グを取得する第3のタイミング取得手段701と、タイ
ミング取得後にCDC611を参照して通信要求を断定
する第3のコード判定手段702と、第3のコード判定
手段702で通信要求が有ると判定された場合は第2の
通信用シェル602を起動する第2の通信用シェル起動
手段703と、第2の通信用シェル起動手段703が第
2の通信用シェル602を起動後にCDC611に通信
用シェル完了コードを書き込む第2のコード書き込み手
段702と第3のコード判定手段702が起動要求のな
いものと断定した場合はCDC611を更新変更するコ
ード更新変更手段705とから成る。第2の通信用シェ
ル602は、第2の通信用シェル602におけるCDC
611の監視周期を定めるためのタイミングを取得する
第4のタイミングが取得手段801と、監視周期タイミ
ング取得後に共有メモリ上のCDC611を参照してコ
ードを読み取りコードの内容により分岐を行う第4のコ
ード判定手段802と、第4のコード判定手段802の
判定が交換機モニタ起動の場合は、子プロセスであるコ
ンソールプロセスにバッチコマンドを出力して交換機モ
ニタ起動完了コードをCD611に書き込む通信開始手
段810と、第4のコード判定手段802の判定が一般
コマンド入力の場合はCMD612の内容を出力する一
般コマンド入力手段820と、一般コマンド入力手段8
20終了後にコマンド入力終了であるコードを書き込む
コマンド入力手段821と、第4のコード判定手段80
2の判定が強制終了の場合はCDC611に空きを意味
するコードを書き込む空きコード書き込み手段830
と、第2の通信用シェル602自身を終了する通信用シ
ェル終了手段831と、第4のコード判定手段802の
判定が特殊コマンドの実行の場合は、子プロセスである
コンソールプロセスにCMD612の内容を出力する特
殊コマンド出力手段840と、特殊コマンド出力手段8
40終了後に特殊コマンド実行中であるコードを書き込
む特殊コマンド実行中コード書き込み手段841と、第
4のコード判定手段802の判定が特殊コマンド実行中
の場合は特殊を実行する特殊コマンド実行中手段850
と、第4のコード判定手段802で会議応答入力と判定
された場合は会話応答入力処理を行う会話応答入力手段
860と、会話応答入力手段860終了後に会話応答入
力コードを書き込む会話応答入力コード書き込み手段8
61から成る。
The second background shell 601 of the WS 510 includes a third timing acquisition unit 701 for acquiring a timing for determining a monitoring cycle of the CDC 611, and a third code for determining a communication request by referring to the CDC 611 after acquiring the timing. Determining means 702, second communication shell starting means 703 for starting the second communication shell 602 when the third code determining means 702 determines that there is a communication request, and second communication shell When the activation means 703 activates the second communication shell 602 and writes the communication shell completion code to the CDC 611, the second code writing means 702 and the third code determination means 702 determine that there is no activation request. And a code updating / changing means 705 for updating / changing. The second communication shell 602 is a CDC in the second communication shell 602.
The fourth timing for obtaining the timing for determining the monitoring cycle of 611 is obtained by the obtaining means 801 and the fourth code for reading the code by referring to the CDC 611 on the shared memory after obtaining the monitoring cycle timing and branching according to the content of the code. A communication start unit 810 that outputs a batch command to a console process, which is a child process, and writes an exchange monitor activation completion code to the CD 611, when the determination unit 802 determines that the exchange code monitor is activated, If the fourth code determination unit 802 determines that a general command has been input, a general command input unit 820 that outputs the contents of the CMD 612 and a general command input unit 8
A command input unit 821 for writing a code indicating that the command input has been completed after the end of the process 20;
If the determination in step 2 is forcible termination, a free code writing unit 830 that writes a code indicating free in the CDC 611
If the determination by the communication shell ending means 831 that terminates the second communication shell 602 itself and the determination by the fourth code determination means 802 are execution of a special command, the contents of the CMD 612 are transmitted to the console process as a child process. Special command output means 840 for outputting, and special command output means 8
A special command executing code writing unit 841 for writing a code that is executing a special command after the completion of 40, and a special command executing unit 850 for executing a special when the fourth code determining unit 802 determines that the special command is being executed.
A conversation response input unit 860 for performing a conversation response input process when the fourth code determination unit 802 determines that the input is a conference response input; and a conversation response input code writing a conversation response input code after the conversation response input unit 860 ends. Means 8
61.

【0033】特殊コマンド実行中手段850は、会話応
答要求の有無を判定する会話応答要求有無判定手段90
2と、会話応答要求判定手段902で会話応答ではない
と判定した場合に試験終了を表すキャラクタの有無の判
定を行うキャラクタ有無判定手段920と、試験終了で
結果GOODの場合は結果GOODであるコードを書き
込むGOODコード書き込み手段921と、試験終了で
結果NGの場合は結果NGであるコードを書き込むNG
コード書き込み手段922と、試験終了で異常終了の場
合は結果異常発生であるコードを書き込む異常発生コー
ド書き込む手段923と、書き込み終了後に第4のタイ
ミング取得後手段801に移行するタイミング取得手段
移行手段990と、会話応答要求判定手段902の判定
で会話応答状態である場合は試験プログラムからの出力
情報をログファイルから抽出して更にユーザーへのメッ
セージキャラクタ群の収集を行うメッセージキャラクタ
収集手段910と、メッセージキャラクタ収集手段91
0終了後に会話応答要求であるコードを書き込むメッセ
ージキャラクタ出力手段911とから成る。第2のバッ
クグラウンドシェル601の処理は、WS510立ち上
げ時から、常時行われる。ステップS701は、第3の
タイミング取得後701によりCDC611の監視周期
を定めるためのタイミングを取得する。監視周期タイミ
ングを取得後、ステップS702で第3のコード判定手
段702は、共有メモリ上のCDC611を参照し、コ
ードが「02」1002以外時は、起動要求のないもの
と判断し、未成立に分岐し、ステップS705でコード
更新・変更手段705が確認するCDC611を更新・
変更し、再びステップS701の第3のタイミング取得
手段で監視周期であるタイミングを取得する。ステップ
S702において、「02」1002の際は、起動要求
があったものと判断し、ステップS703の第2の通信
用シェル起動手段703が子プロセスである第2の通信
用シェル602を起動し、起動後、ステップS704で
起動完了コード書き込み手段704がCD611に通信
シェル起動完了コード「03」1003を書き込む。こ
れで、第2の通信用シェル602が起動され、通信が可
能となる。
The special command executing means 850 determines whether there is a conversation response request or not.
2, character presence / absence determining means 920 for determining the presence / absence of a character indicating the end of the test when the conversation response request determination means 902 determines that the response is not a conversation response, and a code indicating the result GOOD if the result is GOOD upon completion of the test And a NG code for writing a code that is a result NG when the test is completed and the result is NG.
Code writing means 922, error occurrence code writing means 923 for writing a code indicating an abnormal occurrence when the test ends abnormally, and timing acquisition means transition means 990 for shifting to the fourth timing acquisition means 801 after the end of the writing. A message character collection unit 910 for extracting output information from the test program from the log file when the conversation response request determination unit 902 determines that it is in a conversation response state, and further collecting a message character group to the user; Character collection means 91
Message character output means 911 for writing a code which is a conversation response request after completion of 0. The processing of the second background shell 601 is always performed from the start of the WS 510. In step S701, a timing for determining the monitoring cycle of the CDC 611 is acquired by the third timing acquisition 701. After acquiring the monitoring cycle timing, in step S702, the third code determination unit 702 refers to the CDC 611 on the shared memory, and when the code is other than “02” 1002, determines that there is no activation request, and determines that the code has not been established. The process branches to update and update the CDC 611 confirmed by the code update / change unit 705 in step S705.
Then, the third timing acquisition unit of step S701 acquires the timing that is the monitoring cycle again. In step S702, in the case of “02” 1002, it is determined that an activation request has been made, and the second communication shell activation means 703 in step S703 activates the second communication shell 602 which is a child process. After startup, the startup completion code writing unit 704 writes the communication shell startup completion code “03” 1003 to the CD 611 in step S704. Thus, the second communication shell 602 is activated, and communication is enabled.

【0034】次に第2の通信用シェル602の動作を説
明する。第2の通信用シェル602は、ステップS80
1で第4のタイミング取得手段801が通信用シェル6
02におけるCDC611の監視周期を定めるためのタ
イミングを取得し、監視周期タイミング取得後、ステッ
プS802で第4のコード判定手段802が、共有メモ
リ上のCDC611を参照し、コードを読み取り、コー
ドの内容により分岐を行う。
Next, the operation of the second communication shell 602 will be described. The second communication shell 602 performs step S80.
1 and the fourth timing acquisition means 801 is the communication shell 6
02, a timing for determining the monitoring cycle of the CDC 611 is obtained, and after obtaining the monitoring cycle timing, the fourth code determination unit 802 reads the code by referring to the CDC 611 on the shared memory in step S802, and reads the code based on the content of the code. Perform a branch.

【0035】第2の通信用シェル602が起動された後
には、交換機520上のモニタ521を立ち上げるた
め、PC500から交換機モニタ起動コード「04」1
004をCMD612に書き込む。第2の通信用シェル
602では、ステップS802で第4のコード判定手段
802の分岐において、CDC611が「04」100
4であることを認識し、ステップS810の通信開始手
段810に分岐し、子プロセスであるコンソールプロセ
ス512に交換機立ち上げ用のバッチコマンドの出力
し、交換機モニタ起動完了コード「05」1005をD
CD611に書き込む。この動作で、交換機520上の
モニタ521の起動を行い、以降、交換機520に対し
て、コマンド入力が出来る。
After the second communication shell 602 has been activated, the PC 500 activates the monitor 521 on the exchange 520 so that the PC 500 activates the exchange monitor activation code "04" 1.
004 is written to CMD612. In the second communication shell 602, in step S 802, in the branch of the fourth code determination unit 802, the CDC 611 sets “04” 100
In step S810, the process branches to the communication start means 810, outputs a batch command for starting the exchange to the console process 512, which is a child process, and outputs the exchange monitor start completion code "05" 1005 to D.
Write to CD611. With this operation, the monitor 521 on the exchange 520 is activated, and thereafter, a command can be input to the exchange 520.

【0036】子プロセスとして起動したWS510上の
アプリケーションにキャラクタであるコマンドを入力す
る場合の説明をする。PC500側で入力したいキャラ
クタを用意し、共有メモリ上のファイルCMD612に
書き込みを行う、その後PC500側でコード「10」
1010をCDC611に書き込み、通信用シェル60
2では、ステップS802の第4のコード判定手段80
2でCDC611が「10」1010であることを認識
し、ステップS820の一般コマンド入力手段820に
分岐し、子プロセスであるアプリケーションにCMD6
12の内容を出力する。その後、ステップS821のコ
マンド入力終了手段811において、コマンド入力終了
であるコード「50」を書き込む。この動作で、子プロ
セスであるコンソールプロセス512にキャラクタ入力
を行い、交換機520上のモニタ521に対して、コマ
ンド入力を行う事になる。
A description will be given of a case where a character command is input to an application on the WS 510 started as a child process. A character to be input is prepared on the PC 500 side, and is written to the file CMD 612 on the shared memory.
1010 is written to the CDC 611, and the communication shell 60 is written.
In step S802, the fourth code determination means 80 in step S802
2 recognizes that the CDC 611 is "10" 1010, branches to the general command input means 820 in step S820, and sends the CMD6 to the child process application.
12 is output. After that, the command input ending means 811 in step S821 writes the code "50" indicating the end of the command input. With this operation, a character is input to the console process 512, which is a child process, and a command is input to the monitor 521 on the exchange 520.

【0037】次にPC500側から、子プロセスである
コンソールプロセス512の強制終了について、説明す
る。PC500側からCD611に強制終了コード「0
98」1098を書き込み、第2の通信用シェル602
の第4のコード判定手段802でCDC611を認識
し、ステップS830の空きコード書き込み手段830
に分岐し、CDC611に空き意味するコード「01」
1001を書き込み、ステップS831で通信用シェル
終了手段831が通信用シェル602自身を終了するこ
とで、子プロセスであるコンソールプロセス512を終
了する。
Next, forced termination of the console process 512, which is a child process, from the PC 500 will be described. The forced termination code "0" is sent from the PC 500 to the CD 611.
98 "1098 and the second communication shell 602
The fourth code determination means 802 recognizes the CDC 611, and the empty code writing means 830 in step S830
And the code “01” meaning empty in the CDC 611
1001 is written, and the communication shell termination unit 831 terminates the communication shell 602 itself in step S831, thereby terminating the console process 512 as a child process.

【0038】子プロセスであるWS510上のコンソー
ルプロセス512対する特殊コマンドを実行する場合を
説明する。交換機520上に試験プログラム522の起
動を特殊コマンドと位置づけ、試験中、および各試験結
果の収集を行えるようにした。交換機520上で試験プ
ログラム522を起動を行う際には、PC500側で起
動コマンドのキャラクタを用意し、共有メモリ上のファ
イルCMD612に書き込みを行い、その後PC500
側でコード「30」1030をCDC611に書き込
み、第2の通信用シェル602では、ステップS802
で第4のコード判定手段802の分岐において、CDC
611が「30」1030であることを認識し、ステッ
プS840の特殊コマンド出力手段840に分岐し、子
プロセスであるコンソールプロセス512にCMD61
2の内容を出力する。その後、ステップS841の特殊
コマンド実行中コード書き込み手段841において、特
殊コマンド実行中であるコード「60」1060を書き
込む。この動作で、子プロセスであるコンソールプロセ
ス512にキャラクタ入力を行い、交換機520上のモ
ニタ521に対して、試験プログラム522の起動を行
う。その後、ステップS802で第4のコード判定手段
802の分岐において、CDC611が「60」106
0であることを認識し、ステップS850の特殊コマン
ド実行手段850に分岐する。
A case where a special command for the console process 512 on the child process WS 510 is executed will be described. The activation of the test program 522 on the exchange 520 is positioned as a special command, so that the test can be performed and the test results can be collected. When the test program 522 is started on the exchange 520, a character of a start command is prepared on the PC 500 side, and written in the file CMD612 on the shared memory.
Side writes the code “30” 1030 in the CDC 611, and the second communication shell 602 executes step S 802.
In the branch of the fourth code determination means 802, the CDC
Recognizing that “611” is “30” 1030, the process branches to the special command output unit 840 in step S840, and the CMD61 is sent to the console process 512 as a child process.
2 is output. Thereafter, the special command executing code writing means 841 of step S841 writes the code “60” 1060 that is executing the special command. With this operation, a character is input to the console process 512, which is a child process, and the test program 522 is started on the monitor 521 on the exchange 520. Thereafter, in step S802, in the branch of the fourth code determination unit 802, the CDC 611 sets “60” 106
Recognizing that it is 0, the process branches to the special command executing means 850 in step S850.

【0039】子プロセスであるWS510上のコンソー
ルプロセス512に対する特殊コマンドを実行する場合
を説明する。PC500側に送る場合を説明する。ステ
ップS902で会話応答要求有無判定手段902の分岐
において、ログファイルを参照し、会話応答要求の有無
を判定し、会話応答ではない場合、ステップS920で
キャラクタ有無判定手段920が試験終了を表すキャラ
クタの有無の判定を行い、試験終了で結果GOODの場
合はステップS921のGOODコード書き込み手段9
21に分岐し、結果GOODであるコード「61」10
61を書き込みステップS990のタイミング取得手段
移行手段990に移行する。試験終了で結果NGの場合
は、ステップS922のNGコード書き込み手段922
に分岐し、結果NGであるコード「62」1062を書
き込みステップS990のタイミング取得手段移行手段
990に移行する。試験終了で異常終了場合はステップ
S623の異常発生コード書き込み手段923に分岐
し、結果異常発生であるコード「64」1064を書き
込み、ステップS990のタイミング取得手段移行手段
990に移行する。試験終了ではない場合は、ステップ
S920のキャラクタ有無判定手段920からステップ
S990のタイミング取得手段移行手段990に移行す
る。
A case where a special command for the console process 512 on the WS 510 as a child process is executed will be described. The case of sending to the PC 500 will be described. In step S902, in the branch of the conversation response request presence / absence determining unit 902, the log file is referred to to determine whether there is a conversation response request. The presence / absence determination is made, and if the result is GOOD at the end of the test, the GOOD code writing means 9 in step S921
Branches to 21 and results in GOOD code "61" 10
61 is transferred to the timing acquisition means transition means 990 of the writing step S990. If the result is NG at the end of the test, the NG code writing means 922 in step S922
Then, the code “62” 1062, which is the result NG, is written, and the processing moves to the timing acquisition means transition means 990 in step S990. If the test ends abnormally, the process branches to the error occurrence code writing means 923 in step S623, writes the code "64" 1064 indicating the occurrence of an error, and shifts to the timing acquisition means shifting means 990 in step S990. If the test has not been completed, the process proceeds from the character presence / absence determination unit 920 in step S920 to the timing acquisition unit transition unit 990 in step S990.

【0040】つぎに、交換機520上の試験プログラム
522との会話応答処理について説明する。ステップS
902のキャラクタ有無判定手段920の分岐におい
て、ログファイルを参照し、会話応答要求の有無を判定
し、会話応答状態である場合、ステップS910でメッ
セージキャラクタ収集手段910が試験プログラムから
の出力情報をログファイルから抽出し、さらにユーザー
へのメッセージキャラクタ群の収集を行い、その情報を
RES613に出力する。その後、ステップS911に
おいて、会話応答要求であるコード「65」1065を
書き込む。PC500側でCDC611をスキャンし、
「65」1065であることを認識し、RES613の
内容を取り込み、GUI上に表示を行う。
Next, a description will be given of a conversation response process with the test program 522 on the exchange 520. Step S
In the branch of the character presence / absence determination unit 902, the log file is referenced to determine the presence / absence of a conversation response request. If the conversation response state is established, the message character collection unit 910 logs output information from the test program in step S910. It extracts from the file, collects message character groups for the user, and outputs the information to the RES 613. Thereafter, in step S911, a code “65” 1065, which is a conversation response request, is written. Scan the CDC 611 on the PC 500 side,
Recognizing that it is "65" 1065, the content of RES 613 is taken in and displayed on the GUI.

【0041】ユーザーからの返答は、PC500から、
CMD612へキャラクタとして書き込み、その後PC
500からCDC611に会話応答入力「30」103
0を書き込み、ステップS802の第4のコード判定手
段の分岐において、CDC611を参照し、ステップS
860の会話応答入力手段860に分岐し、子プロセス
であるコンソールプロセス512に内容を出力する。そ
の後、ステップS861の会話応答入力コード書き込み
手段861において、特殊コマンド実行中であるコード
「60」1060を書き込む。
The response from the user is sent from the PC 500,
Write as a character to CMD612, then PC
Conversation response input “30” 103 from 500 to CDC 611
0 is written, and in the branch of the fourth code determination means in step S802, the CDC 611 is referred to, and step S802 is executed.
The process branches to a conversation response input unit 860 and outputs the contents to the console process 512 which is a child process. Thereafter, the code “60” 1060 under execution of the special command is written in the conversation response input code writing means 861 in step S861.

【0042】さらに本発明の第3の実施例の変形例とし
て、図11に示すような構成について説明する。同図に
おいて、共有メモリとなった、WSのHD上のCDC・
CMD・RESを対象となる交換機の数だけ配置し、さ
らに、各ファイル名に番号を付与するのではなく、ディ
レクトリ分けを行い、複数の交換機を通信できるよう構
成される。
Further, as a modification of the third embodiment of the present invention, a configuration as shown in FIG. 11 will be described. In the figure, the CDC on the WS HD
The CMD / RES is arranged by the number of target exchanges, and a directory is divided instead of assigning a number to each file name, so that a plurality of exchanges can be communicated.

【0043】次に、本発明の実施例の動作について、図
7・10および16を参照して詳細に説明する。
Next, the operation of the embodiment of the present invention will be described in detail with reference to FIGS.

【0044】第2のバックグラウンドシェル601は、
CDC611の監視周期を定めるためのタイミングを取
得する第3のタイミング取得手段701と、第3のタイ
ミング取得手段701が監視周期タイミングを取得後に
共有メモリ上のCDC611を参照してコードを判定す
る第3のコード判定手段702と、第3のコード判定手
段702が起動要求がないものと判定した場合に確認す
るCDCを更新・変更するため参照するディレクトリを
変更するコード更新・変更手段705と、第3のコード
判定手段702で起動要求があったと判定した場合は子
プロセスである第2の通信用シェル602を起動して子
プロセス起動する第2の通信用シェル起動手段703
と、CDC611に通信用シェル起動完了コードを書き
込む第2のコード書き込み手段704とから成る。
The second background shell 601 includes:
A third timing acquisition unit 701 that acquires timing for determining a monitoring cycle of the CDC 611, and a third timing determination unit 701 that determines a code by referring to the CDC 611 on the shared memory after acquiring the monitoring cycle timing. Code updating / changing means 705 for changing the directory referred to for updating / changing the CDC to be confirmed when the third code determining means 702 determines that there is no activation request; When it is determined by the code determination unit 702 that there is an activation request, the second communication shell activation unit 703 that activates the second communication shell 602 as a child process and activates the child process.
And a second code writing unit 704 for writing a communication shell start completion code in the CDC 611.

【0045】次に、本発明の実施例の動作について、図
7・10および16を参照して詳細に説明する。第2の
バックグラウンドシェル601の処理は、WS510立
ち上げ時から、常時行われる。ステップS701で第3
のタイミング取得手段701がCDC611の監視周期
を定めるためのタイミングである監視周期タイミング取
得後、ステップS702で第3のコード判定手段702
が共有メモリ上のCDC611を参照し、コードが「0
2」1002以外時は、起動要求のないものと判断し、
未成立に分岐し、確認するCDCを更新・変更するた
め、ステップS705のコード更新・変更手段705が
参照するディレクトリを変更し、再びステップS701
の監視周期である第3のタイミング取得手段701を実
行する。ステップS702の第3のコード判定手段70
2において、「02」1002の際は、起動要求があっ
たものと判断し、子プロセスである第2の通信用シェル
602を起動し、ステップS703において第2の通信
用シェル起動手段S703が子プロセス起動後、ステッ
プS704で第2のコード書き込み手段704がCDC
611に通信用シェル起動完了コード「03」1003
を書き込む。これで、第2の通信用シェル602が起動
され、通信が可能となる。以上の動作で、HD上の各フ
ァイルは、同一ファイル名で、複数の交換機との切り分
けはディレクトリで行われる。
Next, the operation of the embodiment of the present invention will be described in detail with reference to FIGS. The processing of the second background shell 601 is always performed from the start of the WS 510. Third in step S701
After the timing acquisition unit 701 acquires the monitoring cycle timing, which is the timing for determining the monitoring cycle of the CDC 611, the third code determination unit 702 is performed in step S702.
Refers to the CDC 611 on the shared memory, and the code is “0”.
2 ”When other than 1002, it is determined that there is no activation request,
In order to update / change the CDC to be confirmed and to confirm, the directory referred to by the code updating / changing unit 705 in step S705 is changed, and step S701 is performed again.
The third timing acquisition means 701, which is the monitoring cycle of the above, is executed. Third code determination means 70 in step S702
In the case of “02” 1002 in 2, it is determined that an activation request has been made, and the second communication shell 602, which is a child process, is activated. In step S 703, the second communication shell activation unit S 703 activates the child After the process starts, in step S704, the second code writing unit 704
611 is a communication shell start completion code “03” 1003
Write. Thus, the second communication shell 602 is activated, and communication is enabled. In the above operation, each file on the HD has the same file name, and is separated from a plurality of exchanges by a directory.

【0046】[0046]

【発明の効果】以上の説明したように本発明は、他のコ
ンピュータに操作される第1のコンピュータと、第1の
コンピュータを操作する前記第1のコンピュータとアー
キテクチャが異なる第2のコンピュータと、第1のコン
ピュータおよび前記第2のコンピュータを通信可能に接
続するネットワーク手段とを有するコンピュータのネッ
トワークシステムにおいて、常に通信要求を監視する監
視手段と、第1のコンピュータの機能資産である機能手
段と、前記監視手段の要求により機能手段を動作させる
通信手段と、監視手段および前記通信用手段の状態によ
り予め定められているコードに書き換えられるコードフ
ァイルと、入力されたコマンドを格納するコマンドファ
イルと、出力された情報を格納する出力情報格納ファイ
ルとを前記第1のコンピュータが有することにより、常
時人手によりアプリケーションにコマンド入力を行う必
要が無くなる効果がある。
As described above, the present invention provides a first computer operated by another computer, a second computer having a different architecture from the first computer operating the first computer, In a computer network system having a network means for communicably connecting the first computer and the second computer, a monitoring means for constantly monitoring a communication request; a function means being a functional asset of the first computer; Communication means for operating the function means in response to the request of the monitoring means, a code file rewritten to a code predetermined by the state of the monitoring means and the communication means, a command file for storing the inputted command, and an output And an output information storage file for storing the obtained information. By having the computer, there is a need not effect to perform always command input to the application manually.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】図1に示す第1のバックグラウンドシェルの流
れ図である。
FIG. 2 is a flowchart of a first background shell shown in FIG. 1;

【図3】図1に示す第1の通信用シェルの流れ図であ
る。
FIG. 3 is a flowchart of a first communication shell shown in FIG. 1;

【図4】図1に示すCDCに格納されるCDCコードの
定義の説明図である。
FIG. 4 is an explanatory diagram of a definition of a CDC code stored in the CDC shown in FIG.

【図5】本発明の第2の実施例のブロック図である。FIG. 5 is a block diagram of a second embodiment of the present invention.

【図6】図5に示す対PC通信用ドライバーの構成図で
ある。
FIG. 6 is a configuration diagram of a driver for PC communication shown in FIG. 5;

【図7】図6に示すバックグラウンドシェルの流れ図で
ある。
FIG. 7 is a flowchart of the background shell shown in FIG. 6;

【図8】図6に示す第2の通信用シェルの流れ図であ
る。
FIG. 8 is a flowchart of a second communication shell shown in FIG. 6;

【図9】図8に示す特殊コマンド実行中手段の流れ図。FIG. 9 is a flowchart of a special command executing means shown in FIG. 8;

【図10】図6に示すCDCに格納されるCDCコード
の定義の説明図である。
FIG. 10 is an explanatory diagram of a definition of a CDC code stored in the CDC shown in FIG.

【図11】本発明の第3の実施例での共有メモリ上の構
成図である。
FIG. 11 is a configuration diagram on a shared memory according to a third embodiment of the present invention.

【図12】従来のファイル送受信遠隔制御装置のブロッ
ク図である。
FIG. 12 is a block diagram of a conventional file transmission / reception remote control device.

【図13】従来のクラスタシステムの入出力制御方式の
ブロック図である。
FIG. 13 is a block diagram of an input / output control method of a conventional cluster system.

【図14】図1に示す第1のバックグラウンドシェルの
機能ブロック図である。
FIG. 14 is a functional block diagram of a first background shell shown in FIG. 1;

【図15】図1に示す第1の通信用シェルの機能ブロッ
ク図である。
FIG. 15 is a functional block diagram of a first communication shell shown in FIG. 1;

【図16】図6に示す第2のバックグラウンドシェルの
機能ブロック図である。
FIG. 16 is a functional block diagram of a second background shell shown in FIG. 6;

【図17】図6に示す第2の通信用シェルの機能ブロッ
ク図である。
FIG. 17 is a functional block diagram of a second communication shell shown in FIG. 6;

【図18】図17に示す特殊コマンド実行中手段の機能
ブロック図である。
FIG. 18 is a functional block diagram of a special command executing means shown in FIG. 17;

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

1,510 WS 2,630 HD 4,601 バックグラウンドシェル 5,602 通信用シェル 6,12 アプリケーション 7,611 CDC 8,612 CMD 9,613 RES 10,500 PC 13 通信ドライバー 501 対WS通信ドライバー 503,513 記録媒体 511 対PC通信ドライバー 512 コンソールプロセス 520 交換機 521 モニタ 522 試験プログラム 614 ログファイル 1,510 WS 2,630 HD 4,601 Background shell 5,602 Communication shell 6,12 Application 7,611 CDC 8,612 CMD 9,613 RES 10,500 PC 13 Communication driver 501 vs. WS communication driver 503 513 Recording medium 511 Communication driver for PC 512 Console process 520 Exchanger 521 Monitor 522 Test program 614 Log file

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 他のコンピュータに操作される第1のコ
ンピュータと、前記第1のコンピュータを操作する前記
第1のコンピュータとアーキテクチャが異なる第2のコ
ンピュータと、前記第1のコンピュータおよび前記第2
のコンピュータを通信可能に接続するネットワーク手段
とを備えるコンピュータのネットワークシステムにおい
て、 常に通信要求を監視する監視手段と、前記第1のコンピ
ュータの機能資産である機能手段と、前記監視手段の要
求により前記機能手段を動作させる通信用手段と、前記
監視手段および前記通信用手段の状態により予め定めら
れているコードに書き換えられるコードファイルと、入
力されたコマンドを格納するコマンドファイルと、出力
された情報を格納する出力情報格納ファイルとを前記第
1のコンピュータが有することを特徴とするコンピュー
タのネットワークシステム。
1. A first computer operated by another computer; a second computer having an architecture different from that of the first computer operating the first computer; the first computer and the second computer
A network means for communicatively connecting said computers, a monitoring means for constantly monitoring a communication request, a function means being a functional asset of said first computer, and a request from said monitoring means. Communication means for operating the function means, a code file rewritten to a code predetermined by the state of the monitoring means and the communication means, a command file for storing input commands, and output information. A network system for a computer, wherein the first computer has an output information storage file to be stored.
【請求項2】 前記コードファイルの監視周期を定める
タイミングを取得する第1のタイミング取得手段と、前
記タイミング取得後に前記コードファイルを参照して通
信要求を断定する第1のコード判定手段と、前記第1の
コード判定手段で通信要求があると判定された場合は前
記通信用手段を起動する第1の通信用シェル起動手段
と、前記第1の通信用シェル起動手段が前記通信用シェ
ルを起動後に前記コードファイルに前記通信用手段の起
動完了コードを書き込む第1のコード書き込み手段を前
記監視手段が有することを特徴とする請求項1記載のコ
ンピュータのネットワークシステム。
2. A first timing obtaining means for obtaining a timing for determining a monitoring cycle of the code file; a first code determining means for determining a communication request by referring to the code file after obtaining the timing; When the first code determination unit determines that there is a communication request, the first communication shell activation unit that activates the communication unit, and the first communication shell activation unit activates the communication shell. 2. The computer network system according to claim 1, wherein said monitoring means has first code writing means for writing a start completion code of said communication means in said code file later.
【請求項3】 前記通信用手段における前記コードファ
イルの監視周期を定めるためのタイミングを取得する第
2のタイミング手段と、前記タイミング取得後に前記コ
ードファイルを参照してコードを読み取りコードの内容
により分岐を行う第2のコード判定手段と、前記第2の
コード判定手段302の判定が子プロセスとして起動し
た前記第1の機能手段にキャラクタであるコマンドを入
力する場合は入力したいキャラクタを前記コマンドファ
イルに出力するコマンド出力手段と、前記コマンド出力
後に終了を示すコードを前記コードファイルに書き込む
終了コマンド書き込み手段と、前記第2のコード判定手
段の判定が異常状態終了だった場合は前記コードファイ
ルに空きを意味するコードを書き込む空きコード書き込
み手段と、前記コード書き込み後に前記通信用手段自身
を終了する終了手段と、前記第2のコード判定手段の判
定が前記機能手段実行中だった場合は前記機能手段の出
力情報である格納したファイルを参照して該当する前記
機能手段の状態コードを前記コードファイルに書き込む
CDC変更手段とを前記通信用手段が有することを特徴
とする請求項1または2記載のコンピュータのネットワ
ークシステム。
3. A second timing means for acquiring a timing for determining a monitoring cycle of the code file in the communication means, and a code is read with reference to the code file after the timing acquisition to branch according to the content of the code. When a command which is a character is input to the first function means activated as a child process, the character to be input is stored in the command file. A command output unit for outputting, an end command writing unit for writing a code indicating the end after the command is output to the code file, and an empty space in the code file when the determination by the second code determination unit is abnormal end. Empty code writing means for writing a meaning code; The termination means for terminating the communication means itself after writing the code, and referring to the stored file which is the output information of the function means when the judgment by the second code judgment means is that the function means is being executed. 3. The computer network system according to claim 1, wherein said communication means has a CDC changing means for writing a status code of said function means into said code file.
【請求項4】 前記第1のコード判定手段が起動要求の
ないものと判定した場合は前記コードファイルを更新変
更するコード更新変更手段を有することを特徴とする請
求項2記載のコンピュータネットワークシステム。
4. The computer network system according to claim 2, further comprising a code update changing unit that updates and changes said code file when said first code determining unit determines that there is no activation request.
【請求項5】 前記CDC変更手段が動作後に前記第2
のコード判定手段の判定が前記機能手段の起動の場合は
前記機能手段の起動完了のコードをコードファイルに書
き込む通信開始手段を前記通信用手段が有することを特
徴とする請求項3記載のコンピュータのネットワークシ
ステム。
5. The method according to claim 1, wherein the second step is performed after the CDC changing means operates.
4. The computer according to claim 3, wherein said communication means has a communication start means for writing a code of completion of activation of said function means into a code file when the judgment of said code judgment means is activation of said function means. Network system.
【請求項6】 前記監視手段と前記機能手段と前記通信
用手段と前記コードファイルと前記コマンドファイルお
よび格納ファイルを記録した記録媒体を有することを特
徴とする請求項1記載のコンピュータのネットワークシ
ステム。
6. The computer network system according to claim 1, further comprising a recording medium that records said monitoring means, said function means, said communication means, said code file, said command file and a storage file.
JP26557697A 1997-09-30 1997-09-30 Computer network system Expired - Fee Related JP3507672B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26557697A JP3507672B2 (en) 1997-09-30 1997-09-30 Computer network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26557697A JP3507672B2 (en) 1997-09-30 1997-09-30 Computer network system

Publications (2)

Publication Number Publication Date
JPH11110349A true JPH11110349A (en) 1999-04-23
JP3507672B2 JP3507672B2 (en) 2004-03-15

Family

ID=17419047

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26557697A Expired - Fee Related JP3507672B2 (en) 1997-09-30 1997-09-30 Computer network system

Country Status (1)

Country Link
JP (1) JP3507672B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100626681B1 (en) * 2001-10-30 2006-09-22 후지쓰 텐 가부시키가이샤 Support system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100626681B1 (en) * 2001-10-30 2006-09-22 후지쓰 텐 가부시키가이샤 Support system

Also Published As

Publication number Publication date
JP3507672B2 (en) 2004-03-15

Similar Documents

Publication Publication Date Title
US5761486A (en) Method and apparatus for simulating a computer network system through collected data from the network
US6769077B2 (en) System and method for remotely creating a physical memory snapshot over a serial bus
US7567989B2 (en) Method and system for data processing with data replication for the same
JP2003058395A (en) Log collecting/analyzing system, log collecting method, log collecting program for making computer perform, log analyzing method, log analyzing program for making computer perform, log collecting device, log analyzing device, log collecting terminal and log server
CN113791605B (en) Test method, device, equipment and storage medium
CN111104336A (en) Online service interface testing method and device based on container and VNC
CN116302743A (en) USB interface testing method, system, computer equipment and storage medium
CN111651232A (en) One-machine multi-control method, device and system and electronic equipment
JP2002259065A (en) Storage system provided with trace information collecting mechanism
CN113870912A (en) Recording method, device, equipment and storage medium
CN102413247A (en) Method and device for recovering crash site of terminal
JPH11110349A (en) Network system for computer
JPH11177655A (en) Device and method for automatically verifying communication software
US20050210232A1 (en) System and method for monitoring BIOS messages of remote computers by a local server
CN108932171B (en) Embedded software interaction method
CN112083914A (en) Method and system for realizing soft bus of object model embedded operating system
CN112328498A (en) Service testing method and device, storage medium and electronic device
KR100992622B1 (en) Method and system for performing automatic test in embedded platform
CN112596752B (en) Internet of things method and system for electronic evidence obtaining equipment
CN109684158A (en) Method for monitoring state, device, equipment and the storage medium of distributed coordination system
US20070130379A1 (en) Method for data processing based on an operation route in peripheral equipment
JPH11288380A (en) Evaluation device for interface between software development tools, and storage medium recorded with program for evaluation
KR100622621B1 (en) Method and system for synchronizing configuration data between active system and standby system in internet protocol communication system replicated in active-standby mode
JP3324492B2 (en) Command execution method and execution method in loosely coupled system and recording medium recording command execution program
JP2912046B2 (en) File server control method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20031209

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20031219

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

Free format text: PAYMENT UNTIL: 20071226

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20081226

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091226

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091226

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101226

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101226

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111226

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111226

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121226

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20121226

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20131226

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees