JPS62262168A - Program - Google Patents

Program

Info

Publication number
JPS62262168A
JPS62262168A JP10594686A JP10594686A JPS62262168A JP S62262168 A JPS62262168 A JP S62262168A JP 10594686 A JP10594686 A JP 10594686A JP 10594686 A JP10594686 A JP 10594686A JP S62262168 A JPS62262168 A JP S62262168A
Authority
JP
Japan
Prior art keywords
output
line
task
program
processing unit
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
JP10594686A
Other languages
Japanese (ja)
Inventor
Hirotaka Kuroiwa
黒岩 博孝
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 Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP10594686A priority Critical patent/JPS62262168A/en
Publication of JPS62262168A publication Critical patent/JPS62262168A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To constitute a program which can be shared by an on-line and an off-line, by supplying a part which mutually supplements the respective lacking parts, to the common part of an on-line program and an off-line program, and also, imposing a certain limit on its use. CONSTITUTION:A shared program is constituted of a primary task 110 for executing a processing to an input and a secondary task 120 for sending and receiving a telegraphic message. The task 110 is provided with a KB/CRT processing part 10, an input data processing part 11, an output data editing part 12, and an inter-task communicating part 13, and at the time of an on-line operation, the parts 11, 12 are not used. The program is constituted so that at the time of an off-line operation, by the parts 11, 12, a data inputted from a terminal is edited to a received telegraphic message format at the time of the on-line operation and sent to the secondary task, and processed in the same way as the time of the on-line operation in a reception processing part 16, an analysis processing part 17, and an output processing part 18.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプログラム、特にバンキング向けのオンライン
システムにおける同報電文や為替電文のように、回線を
介しての電文の受信/出力機能を必要とするオフライン
プログラムとオン2インプログラムのプログラム構造に
関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention is applicable to programs, especially those that require the function of receiving and outputting messages via a line, such as broadcast messages and money order messages in online systems for banking. Regarding the program structure of offline programs and on-2-in programs.

〔従来の技術〕[Conventional technology]

パンキーイブシステム等のオンラインシステムでは、周
知のように、最低1つのオフラインプログラムと複数本
のオフラインプログラムを開発する必要があ゛るが、従
来のこの種のオンラインプログラムとオフラインプログ
ラムの一例をそれぞれ第2図と第3図に示す。
As is well known, in online systems such as the Punky Eve system, it is necessary to develop at least one offline program and multiple offline programs. This is shown in Figures 2 and 3.

第2図に示すオンラインプログラムは、KB/CRT処
理部20およびタスク間通信部23から成りキーボード
・ディスプレイ端末200からの入力に対するオンライ
ン用の処理を行う1次タスり210と、タスク間通信部
24、送信処理部25、受信処理部26、解析処理部2
7および出力処理部28から成り回線29を介して電文
を送受信し、また出力装置250に出方する2次タスク
220とで構成さnている。
The online program shown in FIG. 2 consists of a KB/CRT processing unit 20 and an inter-task communication unit 23, a primary task 210 that performs online processing for input from a keyboard/display terminal 200, and an inter-task communication unit 24. , transmission processing section 25, reception processing section 26, analysis processing section 2
7 and an output processing unit 28, which transmits and receives messages via a line 29, and a secondary task 220 which outputs to an output device 250.

また、第3図に示すオフラインプログラムは、KB/C
RT処理部30、入力データ処理部31、出力データ編
集部32、受信処理部36、解析処理部37および出力
処理部38から成り、キーボード・ディスプレイ端末3
00または回線39から入力したデータを処理して出力
装置350に出力する。回線39から入力するデータは
、同報電文や為替電文等である。
In addition, the offline program shown in Figure 3 is
It consists of an RT processing section 30, an input data processing section 31, an output data editing section 32, a reception processing section 36, an analysis processing section 37, and an output processing section 38.
00 or the data input from the line 39 and outputs the processed data to the output device 350. The data input through the line 39 are broadcast telegrams, money order telegrams, and the like.

KB/CRT処理部20と30.受信処理部26と36
、解析処理部27と37および出力処理部28と38は
、それぞれ同構成である。
KB/CRT processing units 20 and 30. Reception processing units 26 and 36
, the analysis processing units 27 and 37 and the output processing units 28 and 38 have the same configuration.

第5図は出力データ編集部32の処理内容を示すフロー
チャートである。
FIG. 5 is a flowchart showing the processing contents of the output data editing section 32.

KB/CRT処理部30の制御のもとに、キーボード・
ディスプレイ端末300から入力データ処理部31を経
て入力したデータを、出力種別ととに編集する(ステッ
プ@)。この結果、たとえばファイル、伝票およびジャ
ーナルの3種類の出力形態が指定されているオフライン
プログラムの場合には、第7図で示すように、3つのレ
コードが個別に生成されるととKなる。
Under the control of the KB/CRT processing unit 30, the keyboard
The data input from the display terminal 300 via the input data processing unit 31 is edited into output types (step @). As a result, for example, in the case of an offline program in which three types of output formats, file, slip, and journal, are specified, three records are individually generated as shown in FIG.

ステップ[相]ではI10命令発行手順に従って次処理
指示を行い、処理終了でない限り(ステップ[株])I
/O命令発行指示を行なって(ステップ[相])、出力
処理部38に制御権を移し、出力処理部38におけるI
10命令の終了を監視する(ステップ[相])。そして
I10命令が終了すればステップ[相]へ戻りステップ
[相]〜ステップ[相]を、ステップ[株]でスヘて(
7)L/コード、前例では3つのレコートニ対する出力
処理の終了が検出されるまで繰り返し行う。
In step [phase], the next processing instruction is given according to the I10 instruction issuing procedure, and unless the processing is completed (step [stock])
/O command issuance instruction (step [phase]), control right is transferred to the output processing section 38, and the I/O command in the output processing section 38 is
10. Monitor the completion of the instruction (step [phase]). Then, when the I10 command is completed, return to step [phase] and repeat steps [phase] to step [phase] at step [stock] (
7) L/Code: In the example, this is repeated until the end of output processing for three records is detected.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このような従来のオン2イ/プログラムとオフラインプ
ログラムとでは重複する部分が少なくないKも拘わらず
、別個に開発しているため無駄が多く、さらにオンライ
ンプログラムにおいては出力データは予め編集さnた形
式で受信されるのでそのま\解析処理部へ出力するだけ
でよいが、複数本の開発を必要とするオフラインプログ
ラムは、上述のように、出力データを出力形態ととに自
ら編集しかつI10命令の発行指示までを組み込む必要
があるため構造が複雑化しその開発が大変になるという
問題点がある。
Although there is considerable overlap between conventional on-2-board programs and offline programs, there is a lot of waste because they are developed separately, and in online programs, the output data is not edited in advance. Since the data is received in the format, it is sufficient to just output it to the analysis processing unit as is, but for offline programs that require the development of multiple files, as mentioned above, you can edit the output data yourself in the output format and use I10. There is a problem in that the structure becomes complicated and development becomes difficult because it is necessary to incorporate instructions for issuing commands.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のプログラムは、キーボード・ディスプレイ端末
からの入力に対する処理を行う1次タスクと、回線を介
して電文を送受信する2次タスクから成り、 2次タスクは回線を介してまたは1次タスクから電文を
受信するための制御を行う受信処理部と、受信した電文
の出力先コードを解析して出力先を判定する解析処理部
と、判定された出力先ととに受信電文の出力制御を行う
出力処理部とを有し、まだ、1次タスクはオフライン動
作時における入力に対し出力先ととにデータおよびI1
0発行命令手続きを回線を介しての受信電文形式で編集
する出力データ処理部を有し、 オンライン動作とオフライン動作とに共用可能化したこ
とを特徴とする。
The program of the present invention consists of a primary task that processes input from a keyboard/display terminal, and a secondary task that sends and receives messages via a line.The secondary task sends and receives messages via the line or from the primary task. a reception processing unit that performs control to receive the received message; an analysis processing unit that analyzes the output destination code of the received message to determine the output destination; and an output that controls the output of the received message to the determined output destination. It has a processing unit, and the primary task still has data and I1 as an output destination for input during offline operation.
It is characterized by having an output data processing unit that edits the 0 issuing command procedure in the form of received messages via a line, and can be used in both online and offline operations.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

第1図を参照すると本実施例は、KB/CRT処理部1
0、入力データ処理部11、出力データ編集部12およ
びタスク間通信部13から成る1次タスク110と、タ
スク間通信部14、送信処理部15、受信処理部16、
解析処理部17および出力処理部18から成る2次タス
ク120とで構成されている。
Referring to FIG. 1, in this embodiment, the KB/CRT processing section 1
0, a primary task 110 consisting of an input data processing section 11, an output data editing section 12, and an inter-task communication section 13, an inter-task communication section 14, a transmission processing section 15, a reception processing section 16,
The secondary task 120 includes an analysis processing section 17 and an output processing section 18.

KB/CRT処理部1oは、ガーイダンス画面の表示、
各種キーの制御、入力データの訂正制御、CRT上の編
集等、キーボード・ディスプレイ端末100による入力
の制御を行い、入力データ処理部11は1画面に対する
データ入力後に送信キーが押下されると機能し、複数デ
ータ間の関連性チェックやオペレータの識別チェック等
を行う。
The KB/CRT processing unit 1o displays a guidance screen,
The input data processing unit 11 controls input by the keyboard/display terminal 100, such as controlling various keys, correcting input data, editing on a CRT, etc., and functions when the send key is pressed after data input for one screen. , checks the relevance between multiple pieces of data, checks operator identification, etc.

出力データ編集部12は、その処理フローを第4に示す
ように、入力データ処理部11からの入力データについ
て、出力形体ごとにデータ編集(ステップ[株])とI
10発行命令手続編集(ステップ◎)とを行い、受信電
文形式に編集する(ステップ[相])。
As shown in the fourth process flow, the output data editing unit 12 performs data editing (step [shares]) and I
10 Edit the issuing instruction procedure (step ◎) and edit it into the received message format (step [phase]).

第6図は、出力データ編集部12がこのようにして編集
した電文の一例を示し、ファイル、伝購およびジャーナ
ルの3種類の出力形体ごとのテキストから成る。この電
文形式は、受信処理部16が回線を介して受信する電文
の形式と同一である。
FIG. 6 shows an example of a message edited in this manner by the output data editing section 12, and is composed of texts for three types of output formats: file, mail order, and journal. This message format is the same as the format of the message that the reception processing unit 16 receives via the line.

タスク間通信部13と14Vi、メツセージボックス(
メモリの一領域である)13(1,140を介して1次
タスク110と2次タスク120との間でメツセージの
送受信を行い、送信処理部15、受信処理部16は回線
19を介して、それぞれ電文を送信し、受信するための
制御を行う。
Inter-task communication units 13 and 14Vi, message box (
Messages are sent and received between the primary task 110 and the secondary task 120 via the memory area) 13 (1, 140), and the transmission processing unit 15 and reception processing unit 16 communicate via the line 19. Controls for sending and receiving messages respectively.

解析処理部17は受信した電文の出力先コードを切り出
し宛先を判定して、出力形態対応のテキストを出力処理
部18の対応するサブルーチンに引き渡す。出力処理部
18は、出力形態対応のサブルーチンから成り、解析処
理部17から入力したテキストに対して出力処理を施し
て出力装置150に出力する。
The analysis processing unit 17 extracts the output destination code of the received message, determines the destination, and passes the text corresponding to the output format to the corresponding subroutine of the output processing unit 18. The output processing unit 18 is composed of subroutines corresponding to output formats, performs output processing on the text input from the analysis processing unit 17, and outputs the text to the output device 150.

さて、本プログラムをオンライン業務に使用するときに
は、入力データ処理部11と出力データ編集部12とは
機能しない。キーボード・ディスプレイ端末100から
入力されたデータは、KB/CRT処理部101タスク
間通信部13.14および送信処理部15を経て回@1
9上に出力され、また、回線19から受信した電文は、
受信処理部16および解析処理部17を経て出力処理部
18で処理され出力装置150に出力される。
Now, when this program is used for online business, the input data processing section 11 and the output data editing section 12 do not function. Data input from the keyboard/display terminal 100 is sent via the KB/CRT processing section 101, intertask communication section 13.14, and transmission processing section 15.
The message output on line 9 and received from line 19 is
The signal passes through the reception processing section 16 and the analysis processing section 17, is processed by the output processing section 18, and is output to the output device 150.

本プログラムをオフライン業務に使用するときには、キ
ーボード・ディスプレイ端末100から入力されたデー
タは、KB/CRT処理部10と入力データ処理部11
を経て出力データ編集部12に入力し、前述のように1
受信型文形式に編集された上でタスク間通信部13.1
4 、受信処理部16および解析処理部17を経て出力
処理部18で処 。
When using this program for offline work, data input from the keyboard/display terminal 100 is transferred to the KB/CRT processing section 10 and the input data processing section 11.
is input to the output data editing section 12 through 1, as described above.
Inter-task communication section 13.1 after being edited into a reception type sentence format.
4, processed by the output processing section 18 via the reception processing section 16 and the analysis processing section 17.

理され出力装&150&C出力される。The output device &150&C is output.

オフライン業務においても、前述のように1回線19か
ら同報電文や為替電文が受信されるが、これらの電文も
受信処理部16、解析処理部17および出力処理部18
で処理される。
Even in offline operations, broadcast telegrams and money order telegrams are received from the single line 19 as described above, and these telegrams are also processed by the reception processing section 16, analysis processing section 17, and output processing section 18.
will be processed.

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

本発明は、以上に説明したように、従来のオンラインプ
ログラムの1次タスクに入力データ処理部と出力データ
編集部とを追加して、オフライン業務時に端末から入力
してくるデータをオンライン業務時の受信電文形式Km
集して2次タスクに送信するような構成にしたことくよ
り、従来はオンライン業務に専用されていた受信処理部
、解析処理部および出力処理部をオフライン業務にも使
用できるようになるため、オンライン業務とオフライン
業務とに共用できるプログラムを提供でき、従ってこの
種のプログラム開発の負担を大幅に軽減化できるようK
なる。
As explained above, the present invention adds an input data processing unit and an output data editing unit to the primary task of a conventional online program, and converts data input from a terminal during offline work to Received message format Km
By configuring the system to collect data and send it to a secondary task, the reception processing section, analysis processing section, and output processing section, which were previously dedicated to online operations, can now be used for offline operations as well. It is possible to provide a program that can be shared between online and offline operations, thereby greatly reducing the burden of developing this type of program.
Become.

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

第1図は本発明の一実施例、第2図と第3図は従来例、
第4図は第1図に示した出方データ編集部の処理フロー
、第5図は第3図に示した出力データ編集部の処理フロ
ー、第6図は第1図に示した実施例における電文形式お
よび第7図は第2図と第3図に示した従来例において出
力データ編集部が出力するレコード形式をそれぞれ示す
。 10.20,30・・・・・・KB/CRT 、11.
31・旧・・入力データ処理部、12.32・・・・・
・出力データ編集部、13.14,23.24・・・・
・・タスク間通信部、15.25・・・・・・送信処理
部、16,26.36・・・・・・受信処理部、17.
27,37・・・・・・解析処理部、18,28.38
・・・・・・出力処理部、19,29.39・・・・・
・回線、100,200゜300・・・・−・キーボー
ド・ディスプレ・イ端末、110゜210・・・・・・
1次タスク、120,220・・・・・・2次タスク、
130,140,230.240・・・・・・メソセー
ジポ。 m”−−−−−−−−=−=m
Fig. 1 shows an embodiment of the present invention, Figs. 2 and 3 show conventional examples,
FIG. 4 shows the processing flow of the output data editing section shown in FIG. 1, FIG. 5 shows the processing flow of the output data editing section shown in FIG. 3, and FIG. 6 shows the processing flow of the output data editing section shown in FIG. 1. The message format and FIG. 7 show the record format output by the output data editing section in the conventional examples shown in FIGS. 2 and 3, respectively. 10.20,30...KB/CRT, 11.
31. Old... Input data processing section, 12.32...
・Output data editing department, 13.14, 23.24...
... Inter-task communication unit, 15.25... Transmission processing unit, 16, 26.36... Reception processing unit, 17.
27, 37... Analysis processing section, 18, 28.38
...Output processing section, 19, 29.39...
・Line, 100, 200゜300...-Keyboard/Display/Terminal, 110゜210...
Primary task, 120, 220... Secondary task,
130,140,230.240... Message Po. m”−−−−−−−−=−=m

Claims (1)

【特許請求の範囲】 キーボード・ディスプレイ端末からの入力に対する処理
を行う1次タスクと、回線を介して電文を送受信する2
次タスクから成り、 該2次タスクは前記回線を介してまたは前記1次タスク
から電文を受信するための制御を行う受信処理部と、該
受信した電文の出力先コードを解析して出力先を判定す
る解析処理部と、該判定された出力先ごとに前記受信電
文の出力制御を行う出力処理部とを有し、 また、前記1次タスクはオフライン動作時における前記
入力に対し出力先ごとにデータおよびI/O発行命令手
続きを前記回線を介して受信電文形式で編集する出力デ
ータ処理部を有し、 オンライン動作と前記オフライン動作とに共同可能化し
たことを特徴とするプログラム。
[Claims] A primary task for processing input from a keyboard/display terminal, and a second task for transmitting and receiving messages via a line.
The secondary task consists of a reception processing unit that performs control to receive the message via the line or from the primary task, and a reception processing unit that analyzes the output destination code of the received message and determines the output destination. The primary task includes an analysis processing unit that makes a determination, and an output processing unit that controls the output of the received message for each determined output destination, and the primary task is configured to perform an analysis process for each output destination with respect to the input during offline operation. A program comprising an output data processing unit for editing data and I/O issue command procedures in the form of received messages via the line, and enabling joint online operation and offline operation.
JP10594686A 1986-05-08 1986-05-08 Program Pending JPS62262168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10594686A JPS62262168A (en) 1986-05-08 1986-05-08 Program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10594686A JPS62262168A (en) 1986-05-08 1986-05-08 Program

Publications (1)

Publication Number Publication Date
JPS62262168A true JPS62262168A (en) 1987-11-14

Family

ID=14421008

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10594686A Pending JPS62262168A (en) 1986-05-08 1986-05-08 Program

Country Status (1)

Country Link
JP (1) JPS62262168A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5724589A (en) * 1980-07-21 1982-02-09 Sharp Corp Manufacture of semiconductor laser device
JPS5746555A (en) * 1980-09-03 1982-03-17 Nec Corp Communication controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5724589A (en) * 1980-07-21 1982-02-09 Sharp Corp Manufacture of semiconductor laser device
JPS5746555A (en) * 1980-09-03 1982-03-17 Nec Corp Communication controller

Similar Documents

Publication Publication Date Title
JP3364207B2 (en) Control system, display device, data transmission method, and recording medium on which the program is recorded
JPS62262168A (en) Program
EP0784836B1 (en) Data communication system
JPH02206817A (en) Terminal emulator
JP2766210B2 (en) File list extraction method and device
US6385640B1 (en) Switching apparatus applied to a plurality of information processing systems which are closed systems
JP2004334442A (en) Programmable indicator
JP2881007B2 (en) Online report creation system
JPH01301457A (en) Train diagram forming method
JPH0619847A (en) Path recognition system
JPH0315962A (en) Communication terminal equipment
JPH05225134A (en) Interactive processing system
JPH0512320A (en) Transaction control method for terminal
JPH02196346A (en) On-line evaluation device
JPS6232557A (en) Communication protocol converter
JPS58184633A (en) Man-machine interface adding equipment
JPS6326055A (en) Communication equipment
JPH04205541A (en) Terminal message generating device
JPH0486936A (en) Communication control information collecting device
JPH01169503A (en) Program generation system for programmable controller
JPH04213760A (en) On-line business form issuing system
JPH0675881A (en) Different machine kind terminal control and transmission control system
JPH01216478A (en) Output telegram editing system
JPS6243771A (en) Pos terminal
JPH03163633A (en) Remote on-line terminal maintenance control system