JPH0264743A - Pseudo on-line simulation system - Google Patents

Pseudo on-line simulation system

Info

Publication number
JPH0264743A
JPH0264743A JP63215768A JP21576888A JPH0264743A JP H0264743 A JPH0264743 A JP H0264743A JP 63215768 A JP63215768 A JP 63215768A JP 21576888 A JP21576888 A JP 21576888A JP H0264743 A JPH0264743 A JP H0264743A
Authority
JP
Japan
Prior art keywords
application program
pseudo
communication
terminal equipment
host computer
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
JP63215768A
Other languages
Japanese (ja)
Inventor
Katsuaki Takahashi
克明 高橋
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 Engineering Ltd
Original Assignee
NEC Engineering 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 Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP63215768A priority Critical patent/JPH0264743A/en
Publication of JPH0264743A publication Critical patent/JPH0264743A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To execute pseudo on-line simulation only within a terminal equipment and to easily execute the debugging of an application program by providing a pseudo simulation means within the operation system of the terminal equipment. CONSTITUTION:In the case of rise of terminal equipment 1, a pseudo on-line simulation means 4 within an operation system OS 2 sets information to be transferred from a virtual main computer in the OS 2 within the equipment 1. After the starting of an application program 3, when an information transmission instruction is issued from the main computer the terminal equipment, the means 4 within the OS 2 makes the information set in advance look like the transmission information from the main computer and returns it to the program 3 as an answer to the transmission instruction. The information returned from the OS 2 is received and the program 3 finishes the processing of the transmission instruction. The processing of a requesting instruction on communication is processed in the same way. By such a constitution, the main computer, a circuit to connect the main computer and the terminal equipment, etc., are omitted, and the debugging of the application program can be easily executed.

Description

【発明の詳細な説明】 (産業上の利用分野〕 本発明は擬似オンラインシミュレーション方式に関し、
特に現金自動取引機等のオンラインで動作する端末装置
における擬似オンラインシミュレーション方式に関する
[Detailed Description of the Invention] (Industrial Application Field) The present invention relates to a pseudo online simulation method,
In particular, the present invention relates to a pseudo online simulation method for terminal devices that operate online, such as automatic teller machines.

〔従来の技術〕[Conventional technology]

従来、この種のオンラインシミュレーション方式では、
第2図に示すように、通信に関する命令を含むアプリケ
ーションプログラム13のデバッグを端末装置11で行
う場合に、端末装置11を四線14を介してホストコン
ピュータ(または擬似ホストと呼ばれる機器、以下、ホ
ストコンピュータと総称する)15と実際に接続してオ
ペレーティングシステム(O3)12を経由する通信系
統を確立した上で、アプリケーションプログラム13の
デバッグを実行する必要があった。
Traditionally, in this type of online simulation method,
As shown in FIG. 2, when debugging an application program 13 including instructions related to communication using a terminal device 11, the terminal device 11 is connected to a host computer (or a device called a pseudo host, hereinafter referred to as a It was necessary to actually connect to the computer (generally referred to as a computer) 15 and establish a communication system via the operating system (O3) 12 before debugging the application program 13.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のオンラインシミュレーション方式では、
アプリケーションプログラム13のデバッグを行う場合
にも、端末装211の他にホストコンピュータ15や端
末装置11とホストコンピュータ15とを回114で接
続するためのケーブル等が必要となっていたので、設備
を揃えてからでなければアプリケーションプログラム1
3のデバッグを実行することができず、アプリケーショ
ンプログラム13のデバッグを容易に実行することがで
きないという欠点がある。
In the conventional online simulation method mentioned above,
When debugging the application program 13, in addition to the terminal equipment 211, the host computer 15 and cables for connecting the terminal equipment 11 and the host computer 15 through the circuit 114 were required, so the equipment was prepared. Application program 1
3 cannot be executed, and the application program 13 cannot be easily debugged.

本発明の目的は、上述の点に鑑み、端末装置内だけでオ
ンラインの通信に関する処理を行うことができ、ホスト
コンピュータや端末装置とホストコンピュータとを接続
する回線等の設備がなくてもアプリケーションプログラ
ムのデバッグ等を実行することができる擬(以オンライ
ンシミュレーション方式を提供することにある。
In view of the above-mentioned points, it is an object of the present invention to be able to perform processing related to online communication only within a terminal device, and to provide an application program without the need for a host computer or equipment such as a line connecting the terminal device and the host computer. The objective is to provide a pseudo (hereinafter referred to as online simulation method) that can perform debugging, etc.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のIJJmオンラインシミュレーシロン方式は、
ホストコンピュータと回線を介して接続されてオンライ
ンで動作する端末装置において、ホストコンピュータと
の通信に関する命令を含むアプリケーションプログラム
と、ホストコンピュータとの通信によって得られるべき
データをあらかじめ設定して前記アプリケーションプロ
グラムから通信に関する命令が発行されたときに当該通
信に関する命令に対する回答として前記データを前記ア
プリケーションプログラムに返す擬似オンラインシミュ
レーション手段を含むオペレーティングシステムとを有
する。
The IJJm online simulation method of the present invention is
In a terminal device that is connected to a host computer via a line and operates online, an application program including instructions related to communication with the host computer and data to be obtained by communication with the host computer are set in advance, and the data to be obtained from the communication with the host computer is set in advance. and an operating system including pseudo online simulation means for returning the data to the application program as a response to the communication-related command when the communication-related command is issued.

〔作用〕[Effect]

本発明の擬似オンラインシミュレーション方式では、ア
プリケーションプログラムがホストコンピュータとの通
信に関する命令を含み、オペレーティングシステムの!
疑(以オンラインシミュレーソ日ン手段がホストコンピ
ュータとの通信によって得られるべきデータをあらかじ
め設定してアプリケーションプログラムから通信に関す
る命令が発行されたときに当該通信に関する命令に対す
る回答としてあらかじめ設定されているデータをアプリ
ケーションプログラムに返す。
In the pseudo online simulation method of the present invention, the application program includes instructions for communicating with the host computer, and the operating system!
(hereinafter referred to as "online simulation") means preset data to be obtained through communication with a host computer, and when a command regarding communication is issued from an application program, data that is preset as a response to the command regarding communication. is returned to the application program.

〔実施例〕〔Example〕

次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明の一実施例の擬似オンラインシミュレ
ーション方式が適用された端末装置1の構成を示すブロ
ック図である。この端末袋Wiは、1疑似オンラインシ
ミユレ一シヨン手段4を含むオペレーティングシステム
(O3)2と、Imに関する命令を含むアプリケーショ
ンプログラム3とを含んで構成されている。
FIG. 1 is a block diagram showing the configuration of a terminal device 1 to which a pseudo online simulation method according to an embodiment of the present invention is applied. This terminal bag Wi includes an operating system (O3) 2 including a pseudo online simulation means 4, and an application program 3 including instructions related to Im.

なお、通信に関する命令は、ホストコンピュータから端
末装置へのデータ転送命令と、それ以外の通信に関する
要求命令とに大別される。
Note that commands regarding communication are broadly classified into commands for data transfer from the host computer to the terminal device, and request commands regarding other communications.

第3図を参照すると、本実施例の擬似オンラインシミュ
レーション方式におけるデータ転送命令の処理は、デー
タセントステップ31と、データ転送命令発行ステップ
32と、データ回答ステップ33と、データ転送命令終
了ステップ34とからなる。
Referring to FIG. 3, the data transfer command processing in the pseudo online simulation method of this embodiment includes a data sending step 31, a data transfer command issuing step 32, a data reply step 33, and a data transfer command ending step 34. Consisting of

第4図を参照すると、本実施例の擬似オンラインシミニ
レ−ジョン方式における通信に関する要求命令の処理は
、終了情報セントステップ41と、通信に関する要求命
令発行ステップ42と、終了情報回答ステップ43と、
通信に関する要求命令終了ステップ44とからなる。
Referring to FIG. 4, processing of a communication request command in the pseudo online simulation system of this embodiment includes a termination information sending step 41, a communication request command issuing step 42, a termination information reply step 43,
and a communication-related request command termination step 44.

次に、このように構成された本実施例の擬似オンライン
シミュレーション方式の動作について説明する。
Next, the operation of the pseudo online simulation system of this embodiment configured as described above will be explained.

+11  データ転送命令の処理 端末装置1の立上げ時等に、オペレーティングシステム
2内の擬似オンラインシミュレーション手段4は、仮想
的なホストコンピュータから端末装置lに転送されるべ
きデータをあらかじめ端末袋Ml内のオペレーティング
システム2にセント(設定)する(ステップ31)。
+11 Processing of data transfer commands When starting up the terminal device 1, etc., the pseudo online simulation means 4 in the operating system 2 stores data to be transferred from the virtual host computer to the terminal device l in advance in the terminal bag Ml. Set (set) the operating system 2 (step 31).

アプリケーションプログラム3の起動後、アプリケ−シ
リンプログラム3によりホストコンピュータから端末装
置へのデータ転送命令が発行されると(ステップ32)
、オペレーティングシステム2内の擬似オンラインシミ
ュレーション手段4は、実際のデータ転送は行わずにあ
らかじめセントされているデータをあたかもホストコン
ピュータから転送されてきたデータのようにみせかけて
データ転送命令に対する回答としてアプリケーションプ
ログラム3に返す(ステップ33)、オペレーティング
システム2から返されてきたデータを受は取ると、アプ
リケーションプログラム3はホストコンピュータから端
末装置へのデータ転送命令を終了する(ステップ34)
After starting the application program 3, the application program 3 issues a data transfer command from the host computer to the terminal device (step 32).
, the pseudo online simulation means 4 in the operating system 2 uses the application program as a response to a data transfer command by pretending that pre-sent data is data transferred from the host computer without actually transferring the data. 3 (step 33), and upon receiving the data returned from the operating system 2, the application program 3 ends the data transfer command from the host computer to the terminal device (step 34).
.

(2)通信に関する要求命令の処理 端末装置1の立上げ時等に、オペレーティングシステム
2内の擬似オンラインシミュレーション手段4は、本来
ホストコンピュータとの通信によって14られるべき通
信に関する要求命令に対する終了情報(データ)をあら
かじめ端末装置1内のオペレーティングシステム2にセ
ット(設定)する(ステップ41)。
(2) Processing of communication-related request commands When the terminal device 1 is started up, the pseudo online simulation means 4 in the operating system 2 processes termination information (data ) is set in advance in the operating system 2 in the terminal device 1 (step 41).

アプリケーションプログラム3の起動後、アプリケーシ
ョンプログラム3により通信に関する要求命令が発行さ
れると(ステップ42)、オペレーティングシステム2
内の擬似オンラインシミュレーション手段4は、実際の
通信は行わずにあらかじめセットされている終了情報を
要求命令に対する回答としてアプリケーションプログラ
ム3に返してあたかも通信が行われたようにみせかける
(ステップ43)、オペレーティングシステム2がら返
されてきたデータを受は取ると、アプリケーションプロ
グラム3は通信に関する要求命令を終了する(ステップ
44)。
After the application program 3 is started, when the application program 3 issues a communication request command (step 42), the operating system 2
The pseudo online simulation means 4 within the application program returns preset termination information to the application program 3 as a response to the request command without performing actual communication to make it appear as if communication has occurred (step 43). After receiving the data returned from the operating system 2, the application program 3 ends the communication request command (step 44).

なお、オペレーティングシステム2をバンク単位で構成
しておき擬似オンラインシミュレーション手段4を含む
バンクと含まないバンクとを入れ替えること等により、
本実施例の擬似オンラインシミュレーション方式と従来
からのオンラインシミュレーション方式とを容易に切り
替えることができる。
Note that by configuring the operating system 2 in bank units and exchanging banks that include the pseudo online simulation means 4 and banks that do not, etc.
It is possible to easily switch between the pseudo online simulation method of this embodiment and the conventional online simulation method.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、端末装置のオペレーティ
ングシステム内に擬イ以シミュレーション手段を設けた
ことにより、端末装置内だけでオンラインシミュレーシ
ョンを擬似的に行うことができ、ホストコンピュータや
端末装置とホストコンピュータとを接続する回線等の設
備を省略してアプリケーションプログラムのデバッグ等
を容易に実行することができるという効果がある。
As explained above, the present invention provides a virtual simulation means in the operating system of the terminal device, so that online simulation can be performed in a pseudo manner only within the terminal device, and the host computer and the terminal device are connected to each other. This has the advantage that it is possible to easily debug an application program by omitting equipment such as a line for connecting it to a computer.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例のIJ24mオンラインシミ
ュレーション方式が適用された端末装置の構成を示すブ
ロック図、 第2図は従来のオンラインシミュレーション方式を行う
場合の設備構成を示すブロック図、第3図は本実施例の
擬似オンラインシミュレーション方式におけるデータ転
送命令の処理を示す流れ図、 第4図は本実施例の擬似オンラインシミニレ−シコン方
式における通信に関する要求命令の処理を示す流れ図で
ある。 図において、 1・・・端末装置、 2・・・オペレーティングシステム(O3)、3・・・
アプリケーションプログラム、4・・・擬似オンライン
シミュレーション手段である。
FIG. 1 is a block diagram showing the configuration of a terminal device to which the IJ24m online simulation method according to an embodiment of the present invention is applied. FIG. 2 is a block diagram showing the equipment configuration when performing the conventional online simulation method. FIG. 4 is a flowchart showing the processing of a data transfer command in the pseudo online simulation system of this embodiment, and FIG. 4 is a flowchart showing the processing of a communication request command in the pseudo online simulation system of this embodiment. In the figure, 1...terminal device, 2...operating system (O3), 3...
Application program 4: pseudo online simulation means.

Claims (1)

【特許請求の範囲】 ホストコンピュータと回線を介して接続されてオンライ
ンで動作する端末装置において、ホストコンピュータと
の通信に関する命令を含むアプリケーションプログラム
と、 ホストコンピュータとの通信によって得られるべきデー
タをあらかじめ設定して前記アプリケーションプログラ
ムから通信に関する命令が発行されたときに当該通信に
関する命令に対する回答として前記データを前記アプリ
ケーションプログラムに返す擬似オンラインシミュレー
ション手段を含むオペレーティングシステムと を有することを特徴とする擬似オンラインシミュレーシ
ョン方式。
[Claims] In a terminal device that is connected to a host computer via a line and operates online, an application program including instructions related to communication with the host computer and data to be obtained through communication with the host computer are set in advance. and an operating system including a pseudo online simulation means for returning the data to the application program as a response to the communication instruction when the application program issues the communication instruction. .
JP63215768A 1988-08-30 1988-08-30 Pseudo on-line simulation system Pending JPH0264743A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63215768A JPH0264743A (en) 1988-08-30 1988-08-30 Pseudo on-line simulation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63215768A JPH0264743A (en) 1988-08-30 1988-08-30 Pseudo on-line simulation system

Publications (1)

Publication Number Publication Date
JPH0264743A true JPH0264743A (en) 1990-03-05

Family

ID=16677905

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63215768A Pending JPH0264743A (en) 1988-08-30 1988-08-30 Pseudo on-line simulation system

Country Status (1)

Country Link
JP (1) JPH0264743A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011113542A (en) * 2009-11-30 2011-06-09 Fujitsu Frontech Ltd Program and method for generating simulation program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011113542A (en) * 2009-11-30 2011-06-09 Fujitsu Frontech Ltd Program and method for generating simulation program

Similar Documents

Publication Publication Date Title
US4684885A (en) Arrangement for on-line diagnostic testing of an off-line standby processor in a duplicated processor configuration
CN106878467A (en) The method and tele-control system of remote control equipment
JPH0264743A (en) Pseudo on-line simulation system
JPH05210603A (en) Device and method of improving data transfer between application program and communication program in communication system
JPS62100854A (en) Communication system between host and terminal
JPS5960655A (en) System for testing inter-computer communication processing program
JP2852664B2 (en) Peripheral device automatic recognition method
JPS6126706B2 (en)
JPH0319058A (en) Inter-program communication system
KR100344201B1 (en) Tcp/ip connection device of banking system
JPH05282225A (en) Intra-terminal data communication equipment
CN105259846A (en) Intelligent robot realizing seamless connection among systems
JP2681901B2 (en) Network system
JPH02222049A (en) Virtual terminal control system
CN116048899A (en) Method and device for realizing virtual 1553B bus simulation based on TCPIP
JPH03288255A (en) Network control system for multiprocessor
JPS6323492A (en) Test system for remote control process input/output device
JPS63187945A (en) On-line data communication system
JPH01162456A (en) Method for verifying protocol
JPH02311903A (en) Programmable controller
JPH0619730B2 (en) Terminal simulation device
JPH0226493A (en) Connection control system
JPH06243081A (en) Process data input/output system
JPS6316362A (en) Evaluation system for communication system
JPS6111874A (en) Data transfer system between computers