JPS6172322A - Data communication control system - Google Patents

Data communication control system

Info

Publication number
JPS6172322A
JPS6172322A JP59194112A JP19411284A JPS6172322A JP S6172322 A JPS6172322 A JP S6172322A JP 59194112 A JP59194112 A JP 59194112A JP 19411284 A JP19411284 A JP 19411284A JP S6172322 A JPS6172322 A JP S6172322A
Authority
JP
Japan
Prior art keywords
computer
characters
character
communication
master
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
JP59194112A
Other languages
Japanese (ja)
Inventor
Shunichi Suzuki
俊一 鈴木
Masatoshi So
宗 雅俊
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 IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP59194112A priority Critical patent/JPS6172322A/en
Publication of JPS6172322A publication Critical patent/JPS6172322A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To attain automatic operations with plural master computers connected with each other by storing previously the input characters which prescribed the operation of the master computer to a memory of a secondary computer and interpreting those characters one by one for execution of communication via a data communication circuit and giving automatic operations to the master computers. CONSTITUTION:A master computer 1 is connected to a secondary computer 2 via a non-procedure type data communication circuit 3. In this case, plural units of computers 1 are available. The contents of communication are printed or displayed properly in the form of pictures on a console 23 of the computer 2 while the computer 2 has communication with the computer 1. A memory 22 stores continuously both transfer and control characters to the same memory area. The number of control characters is decreased compared with the transfer characters for prompt discrimination. Furthermore the confusion is avoided between the transfer and control characters. A series of said stored character strings are read our every character. Then the communication is carried out with master computers according to the control characters included in the character string. This attains an automatic operation with a small-scale secondary computer containing a simple program.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、計算機操作の自動化に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to automation of computer operations.

〔従来の技術〕[Conventional technology]

従来の計算機の利用方法は、計算機本体に接続された操
作卓から、各計算機によって理解可能な独自の形式によ
り操作者が一文字ずつ計算機本体に情報を送ることによ
ってなされていた。
In the past, computers were used by an operator sending information character by character to the computer from a console connected to the computer in a unique format that each computer could understand.

しかし計算機の操作性の向上、誤操作の減少のために、
計算機の操作を自動化する目的で、一部の計算機では一
連の処理手順を事前に計算機の記憶装置に登録しておく
ものがある。この場合は、操作の際に、例えば登録処理
コードを呼びだすだけで、一連の処理が自動的になされ
る。
However, in order to improve the operability of computers and reduce operational errors,
For the purpose of automating computer operations, some computers have a series of processing procedures registered in advance in the computer's storage device. In this case, when operating, for example, simply by calling the registration processing code, a series of processing is automatically performed.

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

しかし、上記の自動化方式は、一連の処理手順の形式が
各計算機ごとにそれぞれ異なっているので、同じ操作を
別の計算機で行なわせることは直ちには出来ない。また
処理手順をあらかじめ設けていない計算機に、前記機能
をもたせるために、機器の一部変更・ソフトウェアの修
正を行なうことも多くの時間と費用とが必要になる。
However, in the automation method described above, since the format of the series of processing procedures differs from computer to computer, it is not possible to immediately perform the same operation on another computer. Furthermore, in order to provide the above-mentioned functions to a computer that does not have a processing procedure set in advance, it requires a lot of time and money to partially change the equipment and modify the software.

本発明の目的は、上記の欠点を除去し、計算機本体には
手を加えず、その種類にかかわらず、計算機操作を自動
的に行なうことのできる汎用性のある自動化方式を提供
することにある。
The purpose of the present invention is to eliminate the above-mentioned drawbacks and provide a versatile automation method that can automatically perform computer operations regardless of the type of computer without modifying the computer itself. .

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

本発明の通信制御方式は、主計算機と交信用端末たる副
計算機とを無手順式データ通信回線によって接続し、前
記副計算機は、前記主計算機において処理されるデータ
をなす転送文字および文字転送を制御する制御文字を一
連の文字列として、あらかじめ記憶装置に格納しておき
、交信時にあたり、前記一連の格納された文字列を1文
字ずつよみだし、文字列に含まれる制御文字に従って、
前記主計算機との交信を行なう方式である。
The communication control method of the present invention connects a main computer and a sub-computer serving as a communication terminal via a non-procedural data communication line, and the sub-computer transfers characters and characters constituting data processed in the main computer. Control characters to be controlled are stored in a storage device in advance as a series of character strings, and at the time of communication, the series of stored character strings is read out character by character, and according to the control characters included in the character string,
This is a method for communicating with the main computer.

〔作用〕[Effect]

副計算機は、あらかじめ主計算機で処理する命令あるい
はデータと制御手順とを一連の文字列として記憶してい
る。副計算機はこの文字列を主計算機に転送するプログ
ラムをもつが、こと・1 のプログラムは一字ずつ文字列を確認し、その中に含ま
れる制御文字によシ主計算機とのデータ授受を手順に従
いなさしめる0 これによ!7簡単なプログラムを用意した小規模な副計
算機によって、主計算機の自動操作を行なうことができ
る。
The sub-computer stores in advance instructions or data and control procedures to be processed by the main computer as a series of character strings. The sub-computer has a program that transfers this character string to the main computer, but the program in item 1 checks the character string one by one and uses the control characters contained in it to send and receive data to and from the main computer. I will make you obey 0 This is it! 7. A small-scale sub-computer with a simple program can automatically operate the main computer.

〔実施例〕〔Example〕

第1A図は、本発明の一実施例のブロック図を示す。主
計算機1と副計算機2とは無手順式データ通信回線3で
接続されている。主計算機1は複数個接続可能であり、
図では主計算機4を別に接続している。副計算機2は計
算機本体21、記憶装置な、操作単3を有するものとす
る。
FIG. 1A shows a block diagram of one embodiment of the invention. The main computer 1 and the sub-computer 2 are connected by a non-procedural data communication line 3. Multiple main computers 1 can be connected,
In the figure, the main computer 4 is connected separately. The sub-computer 2 is assumed to have a computer main body 21, a storage device, and an AA controller.

操作卓あには主計算機1と交信中、交信内容が適宜回生
あるいは画像として表示される。
While communicating with the main computer 1 on the operation console, the contents of the communication are displayed as appropriate in the form of regeneration or images.

次に記憶装[22に格納される文字列の格納形式につい
て説明する。転送文字と制御文字とを同一の記憶領域に
連続的に格納するが、制御文字は文字列を一見して制御
文字と推察可能であるようにその数を少なくし、かつ転
送文字と混合しないものを選んでおく。
Next, the storage format of character strings stored in the memory device [22] will be explained. Transfer characters and control characters are stored consecutively in the same storage area, but the number of control characters is small so that it can be inferred to be control characters at a glance, and the number of control characters is not mixed with transfer characters. Select.

本実施例では、文字の種類を機能別に4つに区別する。In this embodiment, character types are classified into four types according to function.

各機能を副計算@2が判別し、各機能に応じた処理を行
なうフローチャートを第1B図に示す。これにつき以下
説明を行なう。
FIG. 1B shows a flowchart in which the subcalculation@2 identifies each function and performs processing according to each function. This will be explained below.

(1)「・」:この文字の次の格納文字が主計算機1よ
り送られるまで副計算機2よシ新たな文字を転送しない
(1) "・": No new character is transferred to the sub computer 2 until the next stored character after this character is sent from the main computer 1.

(2)「す」:この文字の次の格納文字を主計算機1に
転送し、主計算機1よりの応答を考慮せず次の転送行為
に移る。
(2) "su": Transfers the stored character next to this character to the main computer 1, and moves on to the next transfer action without considering the response from the main computer 1.

(31r%j:・1手の制御文字および自分自身の文字
チを主計算機1に転送できるように、この文字と次の一
文字とを指定する。また、実施例に示すような各種の拡
張機能をこの文字と次の一文字により実現する。
(31r%j: - Specify this character and the next character so that the control character of the first move and your own character ji can be transferred to the main computer 1. Also, various extended functions as shown in the examples are available. is realized by this character and the next character.

+4)  (11〜(3)以外の文字。この文字を主計
算機へ転送した後、同じ文字が主計算機より再転送され
るまでまつ。いままでの区分でいえば、(11〜(3)
までが制御文字で、(4)が転送文字にあたる。なお(
2)〜(3)の場合は制御文字の次の文字は(4)には
該当しない。
+4) (Characters other than 11 to (3). After this character is transferred to the main computer, it waits until the same character is transferred again from the main computer. In terms of the previous classification, (11 to (3)
The characters up to (4) are control characters, and (4) is a transfer character. In addition(
In the cases of 2) to (3), the character following the control character does not correspond to (4).

以下の例では、〔%チ〕、〔チ・〕、〔%≠〕、〔%N
〕を使用するが、それぞれチを送る。・を送る。
In the following examples, [%chi], [chi・], [%≠], [%N
], but send a chi each.・Send.

φを送る。Nを送るということである。最後のSNはN
が改行文字であり、上述した拡張機能にあたるものであ
る。
Send φ. This means sending N. The last SN is N
is a line feed character and corresponds to the extended function mentioned above.

いま、主計算機1にABCというプログラムを実行させ
るためには、副計算機2の記憶装置22に第2図(al
に示すように文字列を格納しておく。こ−で−は空白文
字、4)は改行文字である。
Now, in order to have the main computer 1 execute the program ABC, the storage device 22 of the sub computer 2 must be
Store the string as shown below. Here, - is a blank character, and 4) is a line feed character.

RUN工ABCは一文字ずつ主計算機1に転送され、ま
た確認のため再転送され、操作卓Z3に第2図(b)の
第1行として印字出力される。そして改行され、主計算
機1が処理を行ない?を送ってくるまで待っている。主
計算機1はその間プログラムABCを実行し、5TAR
T、=ABCフEND、=ABC、)と第2図(bl 
Ic示すように返信を行ない最後に?と転送する。次は
すがつづくから、376の数値を副計算機2は転送し、
改行して主計算機1が計算を行ない結果である3倍の数
値(RUN ABCは数値を3倍するプログラムとする
)と$とを転送するまでまっている。
The RUN code ABC is transferred character by character to the main computer 1, transferred again for confirmation, and printed out on the console Z3 as the first line in FIG. 2(b). Then, a new line is inserted, and main computer 1 performs the processing. I'm waiting until you send it. During that time, main computer 1 executes program ABC and generates 5TAR.
T, =ABCFEND, =ABC,) and Figure 2 (bl
Reply as shown in Ic and finally? and forward it. The next step is to continue, so the sub-computer 2 transfers the number 376.
The main computer 1 performs calculations after a new line and waits until it transfers the resulting triple value (RUN ABC is a program that triples the value) and $.

最後の$は次の命令受付は用に出力させたものである。The last $ is what is output when the next command is received.

以上のように第2図(blの形式で、主計算機1のデー
タ処理が印字されてくる。
As described above, the data processing of the main computer 1 is printed out in the format shown in Figure 2 (bl).

このように、主計算機を、直接に操作者が手作業で操作
すると同一の結果をうろことができる。
In this way, if the operator directly operates the main computer manually, the same result can be obtained.

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

以上、詳しく説明したように、副計算機の記憶装置にあ
らかじめ主計算機の動作を規定する人力文字を記憶して
おいて、副計算機は一文字ずつ解釈して主計算機とデー
タ通信回線を介して交信し、主計算機を自動操作させ、
所定のデータ処理を行なわせることができる。入力文字
の解釈は副計算機のプログラムによるもので、主計算機
の種類に関係しないので、主計算機を自動操作のため変
更することは必要としない。
As explained above in detail, human characters that specify the operation of the main computer are stored in advance in the storage device of the sub-computer, and the sub-computer interprets each character one by one and communicates with the main computer via the data communication line. , let the main computer operate automatically,
Predetermined data processing can be performed. The interpretation of input characters is based on the program of the sub-computer and is not related to the type of main computer, so it is not necessary to change the main computer for automatic operation.

ノ  従って複数個の主計算機を接続し自動操作を行な
うことも可能である。
Therefore, it is also possible to connect multiple main computers and perform automatic operations.

本発明は、特に定形的かつ繰返しの多いデータ処理の場
合に適用すれば、人間の操作ミスが全くないので有利で
ある。また、データ通信回線を介して、遠方より操作可
能であることも実務上有益である。
The present invention is particularly advantageous when applied to routine and repetitive data processing because it eliminates any human operational errors. It is also useful in practice to be able to operate from a distance via a data communication line.

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

第1A図は、本発明の実施例のブロック図、第1B図は
副計算機の格納されている文字列の判断・処理を示すフ
ローチャート、第2図は1つのプログラム実施例を示す
図である。 1.4・・・主計算機、  2・・・副計算機、3・・
・無手順式データ通信回線。
FIG. 1A is a block diagram of an embodiment of the present invention, FIG. 1B is a flowchart showing determination and processing of character strings stored in a subcomputer, and FIG. 2 is a diagram showing one program embodiment. 1.4...Main computer, 2...Sub-computer, 3...
- Non-procedural data communication line.

Claims (1)

【特許請求の範囲】 主計算機と交信用端末たる副計算機とを無手順式データ
通信回線によつて接続し、 前記副計算機は、前記主計算機において処理されるデー
タをなす転送文字および文字転送を制御する制御文字を
一連の文字列として、あらかじめ記憶装置に格納してお
き、交信時にあたり、前記一連の格納された文字列を1
文字ずつよみだし、文字列に含まれる制御文字に従つて
、前記主計算機との交信を行なうことを特徴とするデー
タ通信制御方式。
[Claims] A main computer and a sub-computer serving as a communication terminal are connected via a non-procedural data communication line, and the sub-computer transfers characters and characters constituting data processed in the main computer. Control characters to be controlled are stored in a storage device in advance as a series of character strings, and at the time of communication, the series of stored character strings is
A data communication control method characterized by reading out characters one by one and communicating with the main computer according to control characters included in the character string.
JP59194112A 1984-09-17 1984-09-17 Data communication control system Pending JPS6172322A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59194112A JPS6172322A (en) 1984-09-17 1984-09-17 Data communication control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59194112A JPS6172322A (en) 1984-09-17 1984-09-17 Data communication control system

Publications (1)

Publication Number Publication Date
JPS6172322A true JPS6172322A (en) 1986-04-14

Family

ID=16319117

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59194112A Pending JPS6172322A (en) 1984-09-17 1984-09-17 Data communication control system

Country Status (1)

Country Link
JP (1) JPS6172322A (en)

Similar Documents

Publication Publication Date Title
US5446841A (en) Multi-processor system having shared memory for storing the communication information used in communicating between processors
JPS6172322A (en) Data communication control system
JP2529978B2 (en) Interface control system between main unit and communication control adapter
JP2695930B2 (en) Intelligent I / O module
JPH0518138B2 (en)
JPH036535B2 (en)
JPS626358A (en) Common graphic library system
JPS6398704A (en) Programmable controller
JP3399709B2 (en) Data extraction method in programmable controller and programmable controller
JPS6180446A (en) Recognition system for constitution of device
JPS62226309A (en) Write system for rom cassette in programmable machine controller
JPH02232727A (en) Information processor
JPH0795296B2 (en) Information sharing processing method in data processing system
JPS6037937B2 (en) Initial program loading method
JPS63311403A (en) Processing system for input/output signal of pc
JPS5870361A (en) Input controlling system
JPH03242704A (en) Nc data generating method
JPS62243048A (en) Work station system
JPS63141180A (en) Preparing device for circuit diagram with inter-page collating information
JPS61251926A (en) External memory device switching method
JPS58109932A (en) Comparison and arithmetic device for electronic computer
JPH04246774A (en) Cad system
JPH01269189A (en) Optical reader
JPH01128120A (en) Character data input system
JPS62102353A (en) Down line loading system for program