Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH036540B2 - - Google Patents
[go: Go Back, main page]

JPH036540B2 - - Google Patents

Info

Publication number
JPH036540B2
JPH036540B2 JP18994784A JP18994784A JPH036540B2 JP H036540 B2 JPH036540 B2 JP H036540B2 JP 18994784 A JP18994784 A JP 18994784A JP 18994784 A JP18994784 A JP 18994784A JP H036540 B2 JPH036540 B2 JP H036540B2
Authority
JP
Japan
Prior art keywords
tss
space
user
spaces
session
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.)
Expired
Application number
JP18994784A
Other languages
Japanese (ja)
Other versions
JPS6167167A (en
Inventor
Hideyuki Takeda
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 JP18994784A priority Critical patent/JPS6167167A/en
Publication of JPS6167167A publication Critical patent/JPS6167167A/en
Publication of JPH036540B2 publication Critical patent/JPH036540B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、TSS(Time Sharing System)方
式のデータ処理システムにおけるユーザ空間の創
成および消去を効率的に行うための管理方式に関
する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a management method for efficiently creating and erasing a user space in a TSS (Time Sharing System) data processing system.

〔従来の技術〕[Conventional technology]

TSSでは、ユーザからのセシヨン開設要求お
よびセシヨン終了要求があるたびに、それぞれユ
ーザ空間の創成処理および消去処理が行われる。
In the TSS, each time there is a session opening request and session termination request from a user, user space creation processing and deletion processing are performed, respectively.

一般に、システム内に存在しているユーザ空間
数は、第2図に1日の経過が例示的に示されてい
るように、朝のTSS起動時より急増し、日中の
定常状態ではほぼ一定数(user max値)に近づ
くのが普通である。しかし、実際にはその間もユ
ーザの入れ替わりは頻繁に生じており、たとえば
ユーザあたりのセシヨン時間が30分位でユーザ空
間の創成、消去が繰り返されているのが実状であ
る。
In general, the number of user spaces existing in a system increases rapidly from the time TSS starts in the morning, and remains almost constant during the day in a steady state, as shown in Figure 2, which shows an example of the passage of a day. It is normal for the value to be close to the number (user max value). However, in reality, users change frequently during that time, and the reality is that user spaces are repeatedly created and deleted within a session time of about 30 minutes per user, for example.

次に、従来のTSSにおけるセシヨン開設処理
方式について説明する。第3図はその概要図であ
り、1はホスト、2はCCP(通信制御処理装置)、
3,4はTSS端末、5はVTAM(通信アクセス
法)、6はTSSマネージヤ、7はTSSユーザ空間
を表す。動作は以下の乃至の手順で行われ
る。
Next, a session establishment processing method in the conventional TSS will be explained. Figure 3 is a schematic diagram of the system, where 1 is the host, 2 is the CCP (communication control processing unit),
3 and 4 represent TSS terminals, 5 represents VTAM (communication access method), 6 represents TSS manager, and 7 represents TSS user space. The operation is performed in the following steps.

ユーザから応用プログラムとの結合を要求す
LOGONコマンドが投入されると、VTAM5
経由でTSSマネージヤ6に渡される。
When a user requests connection with an application program.
When the LOGON command is submitted, VTAM5
It is passed to the TSS manager 6 via the TSS manager 6.

TSSマネージヤ6は、TSS管理プログラム
であり、LOGON要求の受け付けが可能である
とTSSユーザ空間7を創成する。
The TSS manager 6 is a TSS management program, and creates a TSS user space 7 when it can accept a LOGON request.

創成したTSSユーザ空間を初期化する。 Initialize the created TSS user space.

TSSユーザの動作環境を初期化する。 Initialize the operating environment for TSS users.

TSSマネージヤは、端末名とログオン情報
をTSSユーザ空間に渡す。
The TSS manager passes the terminal name and logon information to the TSS user space.

TSSユーザ空間は端末を獲得する。すなわ
ち端末名を指定して結合要求を行い、獲得す
る。
TSS user space acquires a terminal. That is, specifying the terminal name and making a connection request to acquire it.

さらにログオン情報に指定されている条件を
チエツクし、セシヨン開設環境に反映させる。
Furthermore, the conditions specified in the logon information are checked and reflected in the session opening environment.

セシヨン起動処理を行い、ユーザからのコマ
ンド指示に従い応用プログラムの処理が実行さ
れる。
Session startup processing is performed, and application program processing is executed according to command instructions from the user.

ユーザの業務が終了し、LOGOFFコマンド
が投入される。
The user's work is completed and the LOGOFF command is issued.

LOGOFFコマンドに基づきセシヨンを終了
させる。
Terminates the session based on the LOGOFF command.

TSSユーザ空間から端末を切離す。 Disconnect the terminal from the TSS user space.

空間終了処理を行い、使用していた資源を解
放して、TSSマネージヤに通知する。
Perform space termination processing, release the resources used, and notify the TSS manager.

TSSマネージヤは終了したTSSユーザ空間
を消去、すなわち管理下から削除する後処理を
行う。
The TSS manager performs post-processing to delete the terminated TSS user space, that is, delete it from management.

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

従来のTSSは、ユーザ空間の創成および消去
処理が頻繁に行われ、そのたびに無視できない程
度のCPU時間が占有されて、各ユーザに対する
システムオーバヘツドとなつて現れるという問題
があつた。
Conventional TSS has a problem in that user space creation and deletion processes are frequently performed, each time occupying a non-negligible amount of CPU time, resulting in system overhead for each user.

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

本発明は、ソースプログラム空間の創成および
消去処理に基づくオーバーヘツドを削減するた
め、予め一定数の空間を創成してプールしてお
き、ユーザからの要求に対しては空間創成を行わ
ず、用意されている空間プール中より割当て、ま
た返却時にも消去することなく空間プールに戻し
て他の要求に再割当て可能にするものである。
In order to reduce the overhead caused by creating and erasing source program spaces, the present invention creates and pools a certain number of spaces in advance, and does not create spaces in response to requests from users. It is possible to allocate space from a space pool currently being used, and upon return, return it to the space pool without erasing it and make it possible to reallocate it to other requests.

そして本発明の構成は、それにより、TSS方
式のデータ処理システムにおいて、TSS起動時
に、予め定められた定常状態におけるTSSユー
ザ空間数だけの空間を創成する手段と、創成され
た空間を管理する手段とを設け、TSSユーザよ
り結合要求があつたとき上記創成されている空間
の中から空き空間を割当てて以後当該空間を使用
中として管理し、使用中の空間から終了通知があ
つたとき当該空間を以後空き空間として管理し、
TSS停止時にのみ創成されている空間を消去す
ることを特徴とするものである。
The configuration of the present invention is such that, in a TSS type data processing system, at the time of TSS activation, a means for creating spaces equal to the number of TSS user spaces in a predetermined steady state, and a means for managing the created spaces. When a connection request is received from a TSS user, an empty space will be allocated from among the spaces created above, and the space will be managed as being in use, and when a termination notice is received from the space in use, the space will be allocated. will be managed as empty space from now on,
It is characterized by erasing the space created only when the TSS is stopped.

〔発明の作用〕[Action of the invention]

第1図は、本発明方式によるセシヨン開設処理
を第3図の従来方式と対比できるように示したも
のであり、第1図中に参照番号1乃至7で示され
ている要素は、第3図の同一番号要素にそのまま
対応するものである。
FIG. 1 shows the session establishment process according to the method of the present invention for comparison with the conventional method shown in FIG. They correspond directly to the same numbered elements in the figure.

本発明では、TSS起動時に一定数のユーザ空
間を創成しておき、TSSマネージヤにより空間
プールとして管理しておく。このときのTSSユ
ーザ空間の状態は、端末が未決定でセシヨン開設
のためのログオン情報が反映される前の状態と考
えることができる。
In the present invention, a certain number of user spaces are created when the TSS is activated, and managed as a space pool by the TSS manager. The state of the TSS user space at this time can be considered to be a state in which the terminal has not yet been determined and the logon information for establishing a session has not yet been reflected.

以下、′乃至′の手順により示すように、本
発明方式では、 ′LOGONコマンド投入により、TSSマネー
ジヤ6は、直ちに空間プール中より空き空間を割
当て、′その空き空間に対して、端末名および
ログオン情報を渡す。割当て済みの空間は使用中
として管理する。
As shown in the steps ``to'' below, in the method of the present invention, ``When the LOGON command is input, the TSS manager 6 immediately allocates an empty space from the space pool, ``The terminal name and logon information are assigned to that empty space.'' Pass information. Allocated space is managed as being in use.

割当てられた空間、すなわちTSSユーザ空間
は、′その端末を獲得し、′ログオン情報のチ
エツクとセシヨンへの反映を行い、′セシヨン
を起動する。
The allocated space, that is, the TSS user space, ``acquires the terminal,'' ``checks the logon information and reflects it in the session, and ``starts the session.

′ユーザの業務終了によりLOGOFFコマンド
が投入されると、′セシヨンを終了させ、さら
に′端末を切離し、′でTSSマネージヤに空
間が空きとなつたことを通知する。′TSSマネ
ージヤは空き空間として管理する。
``When the LOGOFF command is input due to the end of the user's work, ``the session is terminated, the terminal is disconnected, and the TSS manager is notified with '' that the space is free. 'The TSS manager manages it as free space.

以上のように、本発明方式では、第3図の従来
方式におけるのTSSユーザ空間創成、の空
間初期化、のTSSユーザ環境初期化の各処理
が、TSS起動時に一括して行われている初期化
の各処理が、TSS起動時に一括して行われてい
るため、第1図′の個々のセシヨン開設要求時
に行われる空き空間割当ての際には不要となり、
またの空間終了処理も′の空き通知だけに簡
単化されるため、オーバーヘードが大幅に削減さ
れる。
As described above, in the method of the present invention, the processes of TSS user space creation, space initialization, and TSS user environment initialization in the conventional method shown in FIG. Since each process of configuring is performed all at once when starting the TSS, it is not necessary when allocating free space when requesting to open an individual session as shown in Figure 1'.
Also, the space termination process is simplified to just the notification of vacancy for ′, so the overhead is significantly reduced.

〔実施例〕〔Example〕

以下に、本発明の詳細を実施例にしたがつて説
明する。
The details of the present invention will be explained below with reference to Examples.

第4図は、本発明方式の1実施例のTSSユー
ザ空間管理機構の説明図である。図において、8
はTSSマネージヤ、9は空間創成部、10は空
間管理部、11は空間管理テーブル、12は端末
パス処理部、13はTSSユーザ空間、14は端
末制御タスク、15はセシヨン制御タスク、16
はコマンド受付け処理タスク、17はTSS起動
コマンド、18はLOGONコマンド、19は
LOGOFFコマンドである。
FIG. 4 is an explanatory diagram of a TSS user space management mechanism according to one embodiment of the system of the present invention. In the figure, 8
is a TSS manager, 9 is a space creation unit, 10 is a space management unit, 11 is a space management table, 12 is a terminal path processing unit, 13 is a TSS user space, 14 is a terminal control task, 15 is a session control task, 16
is the command reception processing task, 17 is the TSS startup command, 18 is the LOGON command, 19 is the
This is the LOGOFF command.

はじめに、オペレータがTSS起動コマンド1
7をもちいてシステムのTSS起動を行うとき、
同時にパラメータにより定常状態におけるTSS
ユーザ空間数を与えておく。TSSマネージヤ8
のユーザ空間創成部9は、このTSSユーザ空間
数だけのTSSユーザ空間を創成し、空間管理テ
ーブル11に登録する。
First, the operator issues TSS startup command 1.
When performing a TSS boot of the system using 7.
At the same time, TSS in steady state by parameters
Give the number of user spaces. TSS manager 8
The user space creation unit 9 creates as many TSS user spaces as this number of TSS user spaces, and registers them in the space management table 11.

空間管理テーブル11は、アプリケーシヨン
ID、使用中/空き表示、割当て先端末情報など
で構成され、空間管理部10によつて管理され
る。
The space management table 11 is an application
It consists of an ID, in-use/vacant display, assignment destination terminal information, etc., and is managed by the space management unit 10.

次にユーザによりLOGONコマンド18が投入
されると、空間管理部10は空間管理テーブル1
1を参照して空きの空間を1つ要求元に割当て、
その使用中/空き表示を“使用中”に設定する。
さらに端末パス処理部12は、割当てたTSSユ
ーザ空間13に端末名およびログオン情報を通知
し、端末制御タスク14に処理を依頼する。
Next, when the user inputs the LOGON command 18, the space management unit 10 displays the space management table 1.
1 and allocates one free space to the requester,
Set its busy/vacant display to "in use".
Further, the terminal path processing unit 12 notifies the assigned TSS user space 13 of the terminal name and logon information, and requests the terminal control task 14 to perform processing.

端末制御タスク14は、通知された端末名に基
づいてその端末を獲得し、セシヨン制御タスク1
5に処理を依頼する。
The terminal control task 14 acquires the terminal based on the notified terminal name, and executes the session control task 1.
Request processing to 5.

セシヨン制御タスク15は、セシヨン開設処理
を行い、ATTACHマクロを用いてコマンド受付
け処理タスク16を生成する。
The session control task 15 performs session establishment processing and generates a command reception processing task 16 using the ATTACH macro.

コマンド受付け処理タスク16は、ユーザの
TSS端末から入力されるコマンドを解釈し、制
御を行う。そしてLOGOFFコマンド19が投入
されたとき、端末制御タスク14に通知し、セシ
ヨン終了処理を行わせる。
The command reception processing task 16 is the user's
Interprets commands input from the TSS terminal and performs control. When the LOGOFF command 19 is input, the terminal control task 14 is notified and causes the session termination process to be performed.

このセシヨン終了処理後、端末制御タスク14
が起動され、端末解放処理が行われる。この後、
TSSマネージヤ8にTSSユーザ空間が空きとな
つたことが通知される。TSSマネージヤ8の空
間管理部10は、これに応じて空間管理テーブル
11中の該当する空間の使用中/空き表示を“空
き”に変更する。TSSマネージヤ8が創成した
空間は、TSS停止時に全て終了される。
After this session end processing, the terminal control task 14
is started and the terminal release process is performed. After this,
The TSS manager 8 is notified that the TSS user space has become vacant. In response to this, the space management unit 10 of the TSS manager 8 changes the in-use/vacant display of the corresponding space in the space management table 11 to "vacant". All spaces created by the TSS manager 8 are terminated when the TSS is stopped.

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

本発明によれば、TSSユーザ空間の創成/消
去処理がTSS起動/停止時のみとなり、TSS運
用中におけるTSSユーザ空間の創成/消去、処
理に基づくオーバーヘツドをなくすことができ
る。
According to the present invention, the creation/deletion processing of the TSS user space is performed only when the TSS is started/stopped, and the overhead based on the creation/deletion and processing of the TSS user space during TSS operation can be eliminated.

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

第1図は本発明方式によるセシヨン開設処理の
説明図、第2図はTSS運用時の1日におけるユ
ーザ空間数推移を示す説明図、第3図は従来方式
によるセシヨン開設処理の説明図、第4図は本発
明の1実施例のTSSユーザ空間機構の説明図で
ある。 図中、1はホスト、2はCCP、3および4は
TSS端末、5はVTAM、6はTSSマネージヤ、
7はTSSユーザ空間を示す。
FIG. 1 is an explanatory diagram of the session opening process according to the method of the present invention, FIG. 2 is an explanatory diagram showing the change in the number of user spaces in one day during TSS operation, FIG. 3 is an explanatory diagram of the session opening process according to the conventional method, and FIG. FIG. 4 is an explanatory diagram of a TSS user space mechanism according to one embodiment of the present invention. In the figure, 1 is the host, 2 is the CCP, 3 and 4 are
TSS terminal, 5 is VTAM, 6 is TSS manager,
7 indicates the TSS user space.

Claims (1)

【特許請求の範囲】[Claims] 1 TSS方式のデータ処理システムにおいて、
TSS起動時に、予め定められた定常状態におけ
るTSSユーザ空間数だけの空間を創成する手段
と、創成された空間を管理する手段とを設け、
TSSユーザより結合要求があつたとき上記創成
されている空間の中から空き空間を割当てて以後
当該空間を使用中として管理し、使用中の空間か
ら終了通知があつたとき当該空間を以後空き空間
として管理し、TSS停止時にのみ創成されてい
る空間を消去することを特徴とするTSSユーザ
空間管理方式。
1 In a TSS-based data processing system,
At the time of starting the TSS, a means for creating spaces equal to the number of TSS user spaces in a predetermined steady state, and a means for managing the created spaces are provided,
When a join request is received from a TSS user, an empty space is allocated from among the spaces created above, and thereafter the space is managed as being in use, and when a termination notice is received from the space in use, the space is subsequently changed to an empty space. A TSS user space management method characterized by managing the space as a TSS user space and erasing the created space only when the TSS is stopped.
JP18994784A 1984-09-11 1984-09-11 System for controlling tss user space Granted JPS6167167A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18994784A JPS6167167A (en) 1984-09-11 1984-09-11 System for controlling tss user space

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18994784A JPS6167167A (en) 1984-09-11 1984-09-11 System for controlling tss user space

Publications (2)

Publication Number Publication Date
JPS6167167A JPS6167167A (en) 1986-04-07
JPH036540B2 true JPH036540B2 (en) 1991-01-30

Family

ID=16249859

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18994784A Granted JPS6167167A (en) 1984-09-11 1984-09-11 System for controlling tss user space

Country Status (1)

Country Link
JP (1) JPS6167167A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2659726B2 (en) * 1987-11-26 1997-09-30 株式会社日立製作所 Online system
US5129087A (en) * 1988-02-03 1992-07-07 International Business Machines, Corp. Computer system and a method of monitoring transient data structures in a computer system

Also Published As

Publication number Publication date
JPS6167167A (en) 1986-04-07

Similar Documents

Publication Publication Date Title
EP0362105B1 (en) Method for processing program threads of a distributed application program by a host computer and an intelligent work station in an SNA LU 6.2 network environment
US5291597A (en) Method to provide concurrent execution of distributed application programs by a host computer and an intelligent work station on an SNA network
US4969092A (en) Method for scheduling execution of distributed application programs at preset times in an SNA LU 6.2 network environment
EP0362107B1 (en) Method to manage concurrent execution of a distributed application program by a host computer and a large plurality of intelligent work stations on an SNA network
JPH02116955A (en) Terminal address reporting in network
JPH0736174B2 (en) Application program access method and communication system
JPH08185298A (en) Shared window operation right management system
JPH05233331A (en) Task state constructing method
JPH036540B2 (en)
JP3560762B2 (en) Computer display occupancy user switching device
JP3423477B2 (en) Printing method and system
JP2659726B2 (en) Online system
JP3220238B2 (en) Remote procedure simple execution method
JPH06110717A (en) Complex computer system
JPH04346136A (en) Virtual instruction processor configuration control method
JPH03171249A (en) Processor number limiting system
JP2642082B2 (en) Starting the communication program
JPH0561802A (en) Data processing system
JPH0679301B2 (en) Job end notification method
KR0146433B1 (en) Message distributing method among multiprocess
JP2806141B2 (en) Hot standby system
JPH05265957A (en) Screen control process management method
EP0598673A1 (en) Method of and apparatus for providing a client/server architecture
JPS6278631A (en) Input/output control method for multiple operating systems
JPH0142018B2 (en)