JPH04310042A - Communication processor pseudo device - Google Patents

Communication processor pseudo device

Info

Publication number
JPH04310042A
JPH04310042A JP3075481A JP7548191A JPH04310042A JP H04310042 A JPH04310042 A JP H04310042A JP 3075481 A JP3075481 A JP 3075481A JP 7548191 A JP7548191 A JP 7548191A JP H04310042 A JPH04310042 A JP H04310042A
Authority
JP
Japan
Prior art keywords
message
text
section
transmission
instruction data
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
JP3075481A
Other languages
Japanese (ja)
Inventor
Tsutomu Horiuchi
勉 堀内
Kazuhiro Sato
和浩 佐藤
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.)
TOHOKU NIPPON DENKI SOFTWARE KK
NEC Corp
NEC Solution Innovators Ltd
Original Assignee
TOHOKU NIPPON DENKI SOFTWARE KK
NEC Corp
NEC Software Tohoku 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 TOHOKU NIPPON DENKI SOFTWARE KK, NEC Corp, NEC Software Tohoku Ltd filed Critical TOHOKU NIPPON DENKI SOFTWARE KK
Priority to JP3075481A priority Critical patent/JPH04310042A/en
Publication of JPH04310042A publication Critical patent/JPH04310042A/en
Pending legal-status Critical Current

Links

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PURPOSE:To facilitate the evaluation by simulating a communication processing unit so as to evaluate quickly an on-line program thereby outputting the content of a text. CONSTITUTION:An instructure data section 1 implements the processing to read one record from an instruction data file and when a record to be read is in existence, an instruction data analysis section 2 takes over the control, and when no record to be read is in existence, a text image output section 7 takes over the cotrol. The analysis section 2 discriminates an identification code in the read record to control the movement of text transmission reception. When an identification code is S, a transmission text analysis section 3 for text transmission takes over the control and when the identification code is R, a text reception section 5 for text reception takes over the cotnrol. The analysis section 3 saves the content of a request text into a memory to take reference between the request and the reply in the case of request text transmission. When a request item is 0, that is, in the case of a request text, the content of the text is saved in a storage area defined in the simulation device and a text transmission section 4 takes over the cotnrol. When the request item is 1 (reply text) or 2 (notice text), no processing is implemented and the transmission section 4 takes over the control. The transmission section 4 sends a text to an on-line program 11.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は通信プロセッサを利用し
たネットワーク・システムにおいて、電文の送受信を伴
うオンライン・プログラムの開発を容易にするために、
プログラムで通信プロセッサの送受信機能を実現するこ
とを容易とした、通信プロセッサに関する。
[Industrial Application Field] The present invention provides a network system using a communication processor, in order to facilitate the development of an online program that involves sending and receiving messages.
The present invention relates to a communication processor that makes it easy to implement the transmitting and receiving functions of the communication processor using a program.

【0002】0002

【従来の技術】従来、オンライン・プログラムの開発を
行う場合、ネットワーク環境が生成されていること、つ
まりホストコンピュータと端末装置がオンラインでつな
がっていて、データ転送ができる状態であることが技術
的背景にありホストコンピュータとデータのやりとりを
行う通信プロセッサが物として完成していて、ネットワ
ークが構築されていれば、問題なく通信まわり評価を行
うことができた。
[Background Art] Traditionally, when developing online programs, the technical background is that a network environment has been created, that is, a host computer and a terminal device are connected online and data can be transferred. If the communication processor that exchanges data with the host computer had been completed and a network had been constructed, it would have been possible to evaluate the communication environment without any problems.

【0003】0003

【発明が解決しようとする課題】しかし近年、大規模な
ネットワーク・システムでは、そのシステム専用の通信
プロセッサを開発することや、既存の通信プロセッサ内
部のソフトウェアを新規に開発することが増えてきてい
る。その場合、ホストコンピュータ内のオンライン・プ
ログラムの開発と、通信プロセッサのソフトウェアの開
発とが同時期行われ、オンライン・プログラムのデータ
の送受信を伴う評価に、時間的な遅れが発生するという
問題点がある。
[Problem to be solved by the invention] However, in recent years, in large-scale network systems, it has become increasingly common to develop communication processors specifically for the system, and to develop new software for existing communication processors. . In that case, the development of the online program in the host computer and the software of the communication processor are done at the same time, resulting in a time delay in the evaluation of the online program that involves sending and receiving data. be.

【0004】0004

【課題を解決するための手段】本発明の通信プロセッサ
疑似装置は、ホストコンピュータ内で端末と送受信を行
うオンライン・プログラムを含む通信プロセッサ疑似装
置において、指示データファイルから指示データの読み
込みを行う指示データ読み込み部と、前記指示データの
内容を解析して電文を送信するか受信するかの判別を行
う指示データ解析部と、送信電文の内容を解析して前記
送信電文がオンライン・プログラムからの応答を必要と
する電文であれば前記送信電文を保存する送信電文解析
部と、オンライン・プログラムへ電文を送信する電文送
信部と、オンライン・プログラムからの電文を受信する
電文受信部と、受信した前記電文を解析してオンライン
・プログラムからの要求電文か、応答電文か、通知電文
かの判別を行いオンライン・プログラムへの応答電文の
作成を行い保存電文との比較を行う受信電文解析部と、
受信・送信電文を編集してリストを出力する電文出力部
とを備えて構成される。
[Means for Solving the Problems] A communication processor pseudo device of the present invention is a communication processor pseudo device that includes an online program for transmitting and receiving data to and from a terminal in a host computer. a reading section, an instruction data analysis section that analyzes the contents of the instruction data to determine whether to send or receive a message, and an instruction data analysis section that analyzes the contents of the transmission message to determine whether the transmission message is a response from the online program. If it is a required message, a transmitted message analysis unit that stores the transmitted message, a message transmitting unit that sends the message to the online program, a message receiving unit that receives the message from the online program, and the received message a received message analysis unit that analyzes the received message to determine whether it is a request message from the online program, a response message, or a notification message, creates a response message to the online program, and compares it with the stored message;
It is configured with a message output section that edits received and transmitted messages and outputs a list.

【0005】[0005]

【実施例】次に、本発明について図面を参照しつつ実施
例に従って説明する。
EXAMPLES Next, the present invention will be explained according to examples with reference to the drawings.

【0006】図1は本発明の一実施例を構成を示すブロ
ック図、図2は本装置とオンライン・プログラムとの、
電文の流れを示す説明図、図3は指示データファイルの
レコードレイアウトを示す説明図、図4は電文を示す説
明図、図5は電文リストを示す説明図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is a diagram showing the configuration of this device and an online program.
FIG. 3 is an explanatory diagram showing the flow of messages, FIG. 3 is an explanatory diagram showing the record layout of the instruction data file, FIG. 4 is an explanatory diagram showing the messages, and FIG. 5 is an explanatory diagram showing the message list.

【0007】本実施例は、指示データ読み込み部1と、
指示データ解析部2と、送信電文解析部3と、電文送信
部4と、電文受信部5と、受信電文解析部6と、電文出
力部7とから構成される。
In this embodiment, an instruction data reading section 1,
It is composed of an instruction data analysis section 2, a transmitted message analysis section 3, a message transmission section 4, a message reception section 5, a received message analysis section 6, and a message output section 7.

【0008】次に、本実施例の動作について説明する。Next, the operation of this embodiment will be explained.

【0009】指示データ部1は、指示データファイルか
ら1レコードを読み込む処理を行い、読み込むレコード
が存在する時は、指示データ解析部2に制御を移し、読
み込むレコードが存在しない場合は、電文イメージ出力
部7に制御を移す。
The instruction data section 1 performs the process of reading one record from the instruction data file, and when there is a record to be read, transfers control to the instruction data analysis section 2, and when there is no record to be read, it outputs a message image. Control is transferred to section 7.

【0010】指示データ解析部2は、読み込んだレコー
ド中の識別コードを判別して、本装置の電文送受信の動
きを制御する。図3をもとに説明すると、識別コードが
Sの時は、電文送信のための送信電文解析部3に制御を
移し、識別コードがRの時は電文受信のため電文受信部
5に制御を移す。
[0010] The instruction data analysis unit 2 determines the identification code in the read record and controls the transmission and reception of messages by this device. Explaining based on FIG. 3, when the identification code is S, control is transferred to the transmitted message analysis unit 3 for sending the message, and when the identification code is R, control is transferred to the message receiving unit 5 for receiving the message. Move.

【0011】送信電文解析部3は、要求電文送信の場合
に要求と応答の対応とをとるために、要求電文の内容を
メモリ中に保存する。図4をもとに説明すると、要求区
分が0すなわち要求電文の時に、本装置内で定義した保
存領域に電文内容を保存して、電文送信部4に制御を移
す。要求区分が1(応答電文)、2(通知電文)の時は
、処理を行わず、電文送信部4に制御を移す。
[0011] The transmission message analysis section 3 stores the contents of the request message in a memory in order to establish a correspondence between the request and the response when transmitting the request message. Explaining based on FIG. 4, when the request classification is 0, that is, a request message, the message contents are saved in a storage area defined within the device, and control is transferred to the message transmitter 4. When the request classification is 1 (response message) or 2 (notification message), no processing is performed and control is transferred to the message transmitter 4.

【0012】電文送信部4は、オンライン・プログラム
に向けて電文を送信する。その後、指示データ読み込み
部1に制御を移し、次のデータを読み込みに行く。
[0012] The message sending unit 4 sends a message to the online program. Thereafter, control is transferred to the instruction data reading section 1 to read the next data.

【0013】電文受信部5は、オンライン・プログラム
からの電文を受信し、受信電文解析部6に制御を移す。
The message receiving section 5 receives the message from the online program and transfers control to the received message analyzing section 6.

【0014】受信電文解析部6は、受信した電文中の要
求区分を判別することによって本装置の動作を制御する
。図4をもとに説明する。要求区分が0(要求電文)の
時には、受信電文のコマンド名とコマンド通番を、送信
する応答電文にセットして、電文送信部4に制御を移す
。要求区分が1(応答電文)の時には、受信電文のコマ
ンド名とコマンド通番とを、送信電文解析部3で保存し
た送信要求電文のコマンド名がコマンド通番と一致して
いるかどうかチェックする。対応要求電文があれば、保
存領域からその保存電文を消し込む。対応要求電文がな
い場合、エラー電文受信として、コンソール・ディスプ
レイにメッセージ出力する。どちらの場合も指示データ
読み込み部1に制御を移し、次のデータを読み込みに行
く。要求区分1に制御を移し、次にデータを読みに行く
。要求区分が2(通知電分)の時は処理を行わずに、指
示データ読み込み分1に制御を移し、次のデータを読み
に行く。
The received message analysis section 6 controls the operation of the apparatus by determining the request category in the received message. This will be explained based on FIG. 4. When the request classification is 0 (request message), the command name and command serial number of the received message are set in the response message to be sent, and control is transferred to the message transmitter 4. When the request classification is 1 (response message), the command name and command serial number of the received message are checked to see if the command name and command sequence number of the transmission request message stored in the transmission message analysis section 3 match. If there is a response request message, the saved message is erased from the save area. If there is no response request message, a message is output to the console display as an error message received. In either case, control is transferred to the instruction data reading section 1 and the next data is read. Control is transferred to request category 1, and data is read next. When the request classification is 2 (notification electric charge), no processing is performed, control is transferred to instruction data reading 1, and the next data is read.

【0015】電文イメージ出力部は、処理がすべて終了
して読み込むデータがなくなった後、受信・送信した電
文のイメージをリスト出力する。図6をもとに説明する
と、受信・送信毎に通番をつけて、処理の順番がわかる
ように編集して出力する。
The message image output unit outputs a list of images of received and transmitted messages after all processing is completed and there is no more data to read. Explaining based on FIG. 6, a serial number is assigned to each reception and transmission, and the processing is edited and outputted so that the order of processing can be understood.

【0016】[0016]

【発明の効果】以上説明したように本発明によれば、通
信処理装置をシミュレーション化することにより、オン
ライン・プログラムの評価の時間的遅れを解消する効果
がある。また、電文内容をリスト出力することにより、
評価作業をより容易に行うことができるという効果があ
る。
As described above, according to the present invention, by simulating the communication processing device, it is possible to eliminate the time delay in evaluating online programs. In addition, by outputting the message contents as a list,
This has the effect of making evaluation work easier.

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

【図1】本発明は一実施例の構成を示すブロック図FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention.

【図
2】電文の流れを示す説明図
[Figure 2] Explanatory diagram showing the flow of messages

【図3】指示データファイルのレコードレイアウトを示
す説明図
[Figure 3] Explanatory diagram showing the record layout of the instruction data file

【図4】電文を示す説明図[Figure 4] Explanatory diagram showing a message

【図5】電文リストを示す説明図[Figure 5] Explanatory diagram showing a message list

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

1    指示データ読み込み部 2    指示データ解析部 3    送信電文解析部 4    電文送信部 5    電文受信部 6    受信電文解析部 7    電文出力部 8    指示データファイル 9    電文リスト 1 Instruction data reading section 2 Instruction data analysis section 3 Transmitted message analysis section 4 Telegram transmission section 5 Telegram receiving section 6 Received message analysis section 7 Message output section 8 Instruction data file 9 Telegram list

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  ホストコンピュータ内で端末と送受信
を行うオンライン・プログラムを含む通信プロセッサ疑
似装置において、指示データファイルから指示データの
読み込みを行う指示データ読み込み部と、前記指示デー
タの内容を解析して電文を送信するか受信するかの判別
を行う指示データ解析部と、送信電文の内容を解析して
前記送信電文がオンライン・プログラムからの応答を必
要とする電文であれば前記送信電文を保存する送信電文
解析部と、オンライン・プログラムへ電文を送信する電
文送信部と、オンライン・プログラムからの電文を受信
する電文受信部と、受信した前記電文を解析してオンラ
イン・プログラムからの要求電文か、応答電文か、通知
電文かの判別を行いオンライン・プログラムへの応答電
文の作成を行い保存電文との比較を行う受信電文解析部
と、受信・送信電文を編集してリストを出力する電文出
力部とを備えて成ることを特徴とする通信プロセッサ疑
似装置。
Claim 1: A communication processor pseudo device that includes an online program that performs transmission and reception with a terminal within a host computer, comprising an instruction data reading section that reads instruction data from an instruction data file, and an instruction data reading section that analyzes the contents of the instruction data. an instruction data analysis unit that determines whether to send or receive a message; and an instruction data analysis unit that analyzes the contents of a transmitted message and stores the transmitted message if the message requires a response from an online program. A transmission message analysis section, a message transmission section that sends a message to the online program, a message reception section that receives the message from the online program, and a message reception section that analyzes the received message to determine whether it is a request message from the online program, A received message analysis section that determines whether it is a response message or a notification message, creates a response message to the online program, and compares it with the stored message; and a message output section that edits the received and sent messages and outputs a list. A communication processor pseudo device comprising:
JP3075481A 1991-04-09 1991-04-09 Communication processor pseudo device Pending JPH04310042A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3075481A JPH04310042A (en) 1991-04-09 1991-04-09 Communication processor pseudo device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3075481A JPH04310042A (en) 1991-04-09 1991-04-09 Communication processor pseudo device

Publications (1)

Publication Number Publication Date
JPH04310042A true JPH04310042A (en) 1992-11-02

Family

ID=13577529

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3075481A Pending JPH04310042A (en) 1991-04-09 1991-04-09 Communication processor pseudo device

Country Status (1)

Country Link
JP (1) JPH04310042A (en)

Similar Documents

Publication Publication Date Title
JP3566975B2 (en) Automatic operation device of computer operation terminal device
JPH07113906B2 (en) Telecommunication interface device and method
CN115933615A (en) Vehicle controller testing method, device, electronic equipment and storage medium
JP2915640B2 (en) Interface test system between tasks
US6279104B1 (en) Debugging system for parallel processed program and debugging method thereof
JPH03224037A (en) Architecture for server expansion
JPH04310042A (en) Communication processor pseudo device
WO2006011308A1 (en) Sequencer simulation device, and sequencer simulation program
CN108932171A (en) Embedded software exchange method
CN115079885A (en) System control method and device for double-window display, electronic equipment and storage medium
JP3672758B2 (en) Debugging support device
US4806927A (en) Communication control method
JP2563082Y2 (en) Pseudo communication control device
JP2625571B2 (en) Online system test method
JP2001312416A (en) Usb data simulation device and storage medium
JPH1023107A (en) Communication simulator and communication simulating method
JPH01319836A (en) On-line system performance evaluating control system by terminal simulation
JPH05304547A (en) Simulated terminal equipment
KR0138595B1 (en) Apparatus and method for personal mobile application protocol simulation
JPH02141835A (en) Test processing system for online system
KR920004770B1 (en) Protocol converting system for computer
JPH07129433A (en) Comprehensive test equipment for computer system for process control
CN119441048A (en) Vehicle test method, device, electronic equipment and storage medium
JPH047655A (en) Program evaluation method and communication system evaluation device
JP2002232516A (en) Emulator, emulation method, emulation program and recording medium, and communication device evaluation method