JPS60220446A - Program switching system - Google Patents

Program switching system

Info

Publication number
JPS60220446A
JPS60220446A JP59077185A JP7718584A JPS60220446A JP S60220446 A JPS60220446 A JP S60220446A JP 59077185 A JP59077185 A JP 59077185A JP 7718584 A JP7718584 A JP 7718584A JP S60220446 A JPS60220446 A JP S60220446A
Authority
JP
Japan
Prior art keywords
program
programs
terminal
switching
control device
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
JP59077185A
Other languages
Japanese (ja)
Other versions
JPH0827772B2 (en
Inventor
Takanao Hiraoka
平岡 敬尚
Hidehiko Yanagisawa
柳沢 英彦
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP59077185A priority Critical patent/JPH0827772B2/en
Publication of JPS60220446A publication Critical patent/JPS60220446A/en
Publication of JPH0827772B2 publication Critical patent/JPH0827772B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/177Initialisation or configuration control

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To package applied programs by separating a decision switching function to expose them outside, and making the applied programs independent of each other. CONSTITUTION:When work programs A and B of a terminal 11, a work program B of a terminal 12, etc. are informed to a terminal controller 2'; the processing name is set into a telegram which is outputted for the first time after the initial program loading (IPL) is executed with said programs, respectively. Then the telegram is sent to a program decision switching part 11 within an action control station (OS)3', and the processing name is decoded for switch to the corresponding application programs (process A) 121 and (process B) 122. The part 11 transmits the subsequent telegrams as they are as long as they belong to the same program to a program once selected. In this respect, different levels are set to programs A and B, for example, and an existing gate circuit is used to carry out a switching action.

Description

【発明の詳細な説明】 (1)発明の技術分野 本発明は複数の情報端末等を端末制御装置を介して主制
御装置に接続し一端末で処理するプログラムを入替える
ことに応じて、端末制御装置の応用プログラムを切換え
る方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (1) Technical field of the invention The present invention provides a method for connecting a plurality of information terminals, etc. to a main control device via a terminal control device and replacing programs processed by one terminal. The present invention relates to a method for switching application programs of a control device.

(2)従来技術と問題点 従来、複数の情報端末等が端末制御装置(以下ターミナ
ルコントI:I−9という)を介して主制御装置(ホス
ト)に接続されるシステムが多用され、ターミナルコン
トローラには端末からの電文を処理する応用プログラム
が設けられる。
(2) Prior art and problems Conventionally, systems in which multiple information terminals, etc. are connected to a main control device (host) via a terminal control device (hereinafter referred to as terminal control I: I-9) have been frequently used. is provided with an application program that processes messages from the terminal.

この応用プログラムは端末の複数種の業務を遂行できる
ようなプログラム構造であシ、端末の業務が異なるとタ
ーミナルコントローラの応用プログ2ムはそれに応じた
業務を遂行できるようなプログラム構造をとる必要があ
る。
This application program has a program structure that allows the terminal to perform multiple types of tasks.If the terminal tasks differ, the application program of the terminal controller needs to have a program structure that allows it to perform the corresponding tasks. be.

1つの業務を遂行できるプログラムをプロシジャと呼ぶ
ことにする。
A program that can perform one task is called a procedure.

いま、第1図につきプロシジャA、Bの制御子ノーを説
明する。
Now, referring to FIG. 1, the controllers No of procedures A and B will be explained.

同図において、端末1te1z+13がターミナルコン
トローラ2を介してホストに接続されるものとする。タ
ーミナルコントロー22はオペレーテイングシステム(
OS) Sと応用プログラム4よ構成シ、前者は端末を
含むデータ処理システムの動作制御を行ない、後者は端
末の業務がオンライン取引業務であるか、ワードプ四セ
ッサであるか等による異なる処理プログラムを判定し切
換える機能とそれぞれの処理プログラムよ構成る。
In the figure, it is assumed that the terminal 1te1z+13 is connected to the host via the terminal controller 2. The terminal controller 22 has an operating system (
It consists of OS) S and application program 4, the former controls the operation of the data processing system including the terminal, and the latter runs different processing programs depending on whether the terminal's business is online trading or word processing. It consists of functions for determining and switching and respective processing programs.

すなわち、端末11のたとえばフロッピィディスクに格
納された業務プログラムAとBの入替えによシ、同図の
応用プログラム4は判定機能5によシAの処理プログラ
ム61かBの処理プログラム62を判定する。たとえば
、端末11のプログラムAが走行時には、人の電文艇タ
ーミナルコントローラ2の応用プログ2ム4に通知され
る。
That is, when the business programs A and B stored in the terminal 11 are replaced, for example, on a floppy disk, the application program 4 in the figure uses the determination function 5 to determine whether the processing program 61 of program A or the processing program 62 of program B is replaced. . For example, when the program A of the terminal 11 is running, the application program 2m 4 of the human telegraph terminal controller 2 is notified.

応用プログラム4は1つの電文が到達する毎に人の電文
かBの電文かを判定し、人の処理プログラム61に切換
え処理を行なう。また、端末11のプログラムBが走行
時には、同様の処理によ#)Bの処理プログラム62に
切換え処理を行なう。
Each time a message arrives, the application program 4 determines whether it is a person's message or B's message, and performs switching processing to the person's processing program 61. Further, when the program B of the terminal 11 is running, a similar process is performed to switch to the processing program 62 of #)B.

このように応用プログラム4が判定切換機能と処理機能
を併有する構造を有することは、・プログラムA、Bが
端末内または端末間で固定されている場合はコンパクト
にまとまるが、プログラム数を変更したい場合には応用
プログラムを全面的に変更しなければならず、端末内ま
たは端末間のプログラムの入替えにおける融通性がなく
、またパッケージ化に不適当である。
The fact that the application program 4 has a structure in which it has both a judgment switching function and a processing function is that - If programs A and B are fixed within a terminal or between terminals, it can be organized compactly, but if you want to change the number of programs. In some cases, the application program must be completely changed, there is no flexibility in replacing programs within or between terminals, and it is not suitable for packaging.

(3)発明の目的 本発明の目的は端末で処理するプログラムを入替えるこ
とに応じて、ターミナルコント日−ラの応用プログラム
を切替える方式において、プログラム数を変更しても応
用プログ2ムの選択が容易に行なわれ、かつパッケージ
化にも適したプログラム切換方式を提供することである
(3) Purpose of the Invention The purpose of the present invention is to provide a method for switching application programs of a terminal controller in response to replacing programs processed by a terminal, in which application programs can be selected even if the number of programs is changed. It is an object of the present invention to provide a program switching method that allows easy switching and is suitable for packaging.

(4)発明の構成 前記目的を達成するため、本発明のプログラム切換方式
は複数の情報端末を端末制御装置を介して主制御装置に
接続し、端末で処理する業務対応のプログラムを入替え
ることに応じて該端末制御装置のプログラムを切換える
方式において、前記端末制御装置に設けられた異なるプ
ログラムをそれぞれ独立に設け、前記端末で入替えたプ
ログラムの最初の電文中°に処理名を設定し、前記端末
制御装置のインタフェースに該処理名を判定して対応す
るプログラムを選択する切換手段を設け、該最初の電文
に後続する電文が同じプログラムに属する間該切換手段
を非動作させるように制御することを特徴とするもので
ある。
(4) Structure of the Invention In order to achieve the above object, the program switching method of the present invention connects a plurality of information terminals to a main control device via a terminal control device, and switches business-compatible programs processed by the terminals. In the method of switching the program of the terminal control device in accordance with A switching means for determining the processing name and selecting a corresponding program is provided in the interface of the terminal control device, and the switching means is controlled to be inactive while messages subsequent to the first message belong to the same program. It is characterized by:

(5)発明の実施例 本発明の原理は、従来の応用プログラムが判定切換機能
と処理プログラム機能を併有しているのに対し、判定切
換機能を分離してOS中に移し、さらに処理プログラム
1能をプログラム数に独立させるようにしたものである
。これによシブ−グラム数の変更が自由に行なわれ、か
つパッケージ化も容易となシ、最近の傾向に適合させる
ことができる。
(5) Embodiments of the Invention The principle of the present invention is that while conventional application programs have both a judgment switching function and a processing program function, the judgment switching function is separated and moved into the OS, and the processing program 1 ability is made independent of the number of programs. This allows the number of sive grams to be changed freely, and packaging is also easy, making it possible to adapt to recent trends.

第2図は本発明の実施例の構成説明図である。FIG. 2 is an explanatory diagram of the configuration of an embodiment of the present invention.

同図において、第1図と異なる点はターミナルコン)o
−52’の動作制御局(08) 3’内にプログラムの
判定選択機能として応用プログラム選択切換部11を設
け、さらに応用プログラム(処理A)12゜と(処理B
 ) 122とが分割独立して設けられる。
In this figure, the difference from Figure 1 is that the terminal
-52' operation control station (08) 3' is provided with an application program selection switching section 11 as a program determination and selection function, and further has application program (processing A) 12° and (processing B).
) 122 are provided separately and independently.

端末11の業務プログラムA、B 、端末1□の業務プ
ログラム数等をターミナルコント四−22′に通知する
には、これらのプログラムのイニシャルプログラムロー
ディング(IPL)を行なった後に発する最初の電文中
に処理名、たとえば”APROO″、”BPROC″を
設定する。この電文を動作制御局(O8) 3’内のプ
ログラム判定切換部11に送シ、処理名を解読判定して
対応する応用プログラム(処理A )121゜(処理B
)122に切換える。とのプログラム判定切換部11は
一旦選択されたプログラムに対して後続する電文が同じ
プログラムに属するものであると該切換部11をそのま
ま通過させるようにする。
In order to notify the terminal controller 4-22' of the business programs A and B on terminal 11, the number of business programs on terminal 1□, etc., in the first message issued after initial program loading (IPL) of these programs, Set the process name, for example "APROO" or "BPROC". This message is sent to the program judgment switching unit 11 in the operation control station (O8) 3', the processing name is decoded and judged, and the corresponding application program (processing A) 121° (processing B
)122. Once a program is selected, the program determination switching unit 11 allows the subsequent message to pass through the switching unit 11 if it belongs to the same program.

このために、たとえばプログラムAとBに異なるレベル
を設定し、引続き同レベルならばそのまま通過させ、異
なるレベルならば反転するような周知のゲート回路を用
いて切換えが行なわれる。
For this purpose, for example, different levels are set for programs A and B, and switching is carried out using a well-known gate circuit which allows the programs to pass through if they are still at the same level, and inverts if they are at different levels.

(6)発明の詳細 な説明したように、本発明によれば、従来の応用プログ
ラムが判定切換機能と処理プログラム機能を併有する構
成を備えているのに対し、判定切換機能を切離して外部
に出し応用プログラムをプログラム別に独立させたも、
のである。これによシ応用プログ2ムのパッケージ化が
可能となるとともに、プログラムの追加変更等が極めて
容易となシ、組合せを自由に設定することができ、融通
性の高いプログラム切換方式が実現される。
(6) As described in detail of the invention, according to the present invention, whereas conventional application programs have a configuration that has both a judgment switching function and a processing program function, the judgment switching function is separated and external processing is performed. Even if the application programs are made independent for each program,
It is. This makes it possible to package two application programs, and it is extremely easy to add and change programs, and combinations can be set freely, realizing a highly flexible program switching method. .

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

第1図は従来例の説明図、第2図は本発明の実施例の構
成説明図であシ、図中11〜13は端末、2′はターミ
ナルコントローラ、6′は動作制御局、11はプログラ
ム判定切換部、121+122は応用プログ2ムを示す
。 特許出願人富士通株式会社 復代理人 弁理士 1)坂 善 重 第1図 第2図
FIG. 1 is an explanatory diagram of a conventional example, and FIG. 2 is an explanatory diagram of a configuration of an embodiment of the present invention. In the figure, 11 to 13 are terminals, 2' is a terminal controller, 6' is an operation control station, and 11 is Program determination switching section 121+122 indicates the application program 2. Patent applicant Fujitsu Ltd. sub-agent Patent attorney 1) Yoshishige Saka Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] 複数の情報端末を端末制御装置を介して主制御装置に接
続し、端末で処理する業務対応のプログラムを入替える
ことに応じて該端末制御装置のプログ2ムを切換える方
式において、前記端末制御装置に設けられた異なるプロ
グラムをそれぞれ独立に設け、前記端末で入替えたプロ
グラムの最初の電文中に処理名を設定し、前記端末制御
装置のインタフェースに該−処理名を判定して対応する
プログラムを選択する切換手段を設け、該最初の電文に
後続する電文が同じプログラムに属する間該切換手段を
非動作させるように制御するととを特徴とするプログ2
ム切換方式。
In a method in which a plurality of information terminals are connected to a main control device via a terminal control device, and a program of the terminal control device is switched in response to replacing a business-compatible program processed by the terminal, the terminal control device provide different programs independently, set a process name in the first message of the replaced program on the terminal, determine the process name in the interface of the terminal control device, and select the corresponding program. A program 2 characterized in that the switching means is provided with a switching means for switching, and the switching means is controlled to be inactive while a message subsequent to the first message belongs to the same program.
mode switching method.
JP59077185A 1984-04-17 1984-04-17 Program switching device Expired - Fee Related JPH0827772B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59077185A JPH0827772B2 (en) 1984-04-17 1984-04-17 Program switching device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59077185A JPH0827772B2 (en) 1984-04-17 1984-04-17 Program switching device

Publications (2)

Publication Number Publication Date
JPS60220446A true JPS60220446A (en) 1985-11-05
JPH0827772B2 JPH0827772B2 (en) 1996-03-21

Family

ID=13626753

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59077185A Expired - Fee Related JPH0827772B2 (en) 1984-04-17 1984-04-17 Program switching device

Country Status (1)

Country Link
JP (1) JPH0827772B2 (en)

Also Published As

Publication number Publication date
JPH0827772B2 (en) 1996-03-21

Similar Documents

Publication Publication Date Title
JPH0616276B2 (en) Communication session recovery method
JPH06202978A (en) Logical route schedule device and method of execution
CN107918567A (en) Method and system for restoring factory settings, readable storage medium and electronic device
CN108954702A (en) A kind of control method of air-conditioning, device, air-conditioning and storage medium
CN105009513A (en) Method for updating node device in distributed system, node device and distributed system
JPS60220446A (en) Program switching system
CN116204448A (en) Multi-port solid state disk, control method and device thereof, medium and server
CN110119111B (en) Communication method and device, storage medium, and electronic device
JP2010244470A (en) Distributed processing system and distributed processing method
JPS627245A (en) Terminal communication system for local area network
JPS622346B2 (en)
JPS61102846A (en) Communication representation system for failured terminal unit
JP3893787B2 (en) Communication method
JPH056816B2 (en)
JPS615361A (en) Communication interface circuit
JP2557538B2 (en) Duplex system
JPH06311199A (en) Uninterrupted communication control software changing method
JPH01177658A (en) Session control system for on-line subsystem
JPH09289518A (en) Loop type network controller
JPH01208927A (en) System selection system
JP2002171273A (en) Lan control system
JPS6043951A (en) Informing method of changeover to spare set
JPS62219050A (en) Configuration modifying system for duplicated terminal controller
JPH0235555A (en) Automatic execution device for computer operation
JPH0433442A (en) Packet switching system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees