JPS6150356B2 - - Google Patents
Info
- Publication number
- JPS6150356B2 JPS6150356B2 JP56213484A JP21348481A JPS6150356B2 JP S6150356 B2 JPS6150356 B2 JP S6150356B2 JP 56213484 A JP56213484 A JP 56213484A JP 21348481 A JP21348481 A JP 21348481A JP S6150356 B2 JPS6150356 B2 JP S6150356B2
- Authority
- JP
- Japan
- Prior art keywords
- file
- job
- same
- program
- terminal devices
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0489—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using dedicated keyboard keys or combinations thereof
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
【発明の詳細な説明】
(1) 発明の技術分野
本発明は、TSS(タイム・シエアリング・シス
テム)会話形式のデータ処理システムにおける、
共通データ・フアイルの同時利用のためのフアイ
ル処理方式に関し、特に、同一ユーザ識別コード
IDを用いて、複数の会話端末装置から同一ジヨ
ブの処理を同時に行なう場合の、共通データ・フ
アイルのアクセス処理方式に関する。[Detailed Description of the Invention] (1) Technical Field of the Invention The present invention relates to a TSS (Time Sharing System) conversational data processing system.
Regarding the file processing method for simultaneous use of common data files, in particular,
This paper relates to a common data file access processing method when the same job is processed simultaneously from multiple conversation terminals using IDs.
(2) 技術の背景
TSS会話形式のデータ処理システムにおいて
は、同一部所に、同一ユーザID(識別コード)
をもつ複数のTSS会話端末が配置されているもの
がある。(2) Technical background In a TSS conversational data processing system, the same user ID (identification code) is stored in the same place.
In some cases, multiple TSS conversation terminals with .
このような場合、コンパイラ、デバツグ・ルー
チン、テーブル、各種記録フアイルなどのシステ
ム内に管理されている共用のプログラムやデータ
を使用する処理を、複数の会話端末から、同時並
行的に行ないたいことがしばしば生じる。 In such cases, you may want to simultaneously perform processing using shared programs and data managed within the system, such as compilers, debugging routines, tables, and various recording files, from multiple conversation terminals. Occurs often.
このように、同一ユーザIDによる同一ジヨブ
の同時並行処理が要求される場合、各端末毎にシ
ステム内に設定されるプログラムの作業領域で
は、フアイル変数をそれぞれ独立して使用するこ
とが可能になつている。 In this way, when simultaneous parallel processing of the same job by the same user ID is required, file variables can be used independently in the program work area set in the system for each terminal. ing.
しかし、フアイル・データについては、その更
新による同期管理あるいはフアイル保護の問題か
ら、一時に1ユーザ端末の使用しか、許可されな
いようになつていた。 However, with regard to file data, only one user terminal at a time is allowed to use it due to problems with synchronization management and file protection caused by updates.
そのため、異なる複数の端末から、同一ユーザ
IDにより、同一ジヨブを同時に起動し、フアイ
ルをアクセスした場合には、最も早くジヨブを起
動した端末がフアイルを占有している間、他の2
番目以後に起動をかけた端末は、待ち状態に入る
か、もしくは強制終了されるかのいずれかであ
り、計算機との円滑な会話が出来ない欠点があつ
た。 Therefore, the same user can
If the same job is started at the same time and the file is accessed by ID, while the terminal that started the job earliest occupies the file, the other two
Terminals that were activated after the th time either went into a waiting state or were forcibly terminated, which had the disadvantage that smooth conversation with the computer was not possible.
(3) 発明の目的
本発明の目的は、TSS会話処理システムにおい
て、異なる複数の端末から、同一ユーザIDによ
り、同一ジヨブを同時に処理する場合に、各端末
が殆んど待ち時間なしに会話を進行して行くこと
ができるような、効率的なフアイル処理方式を提
供することにある。(3) Purpose of the Invention The purpose of the present invention is to enable a TSS conversation processing system to allow each terminal to converse with almost no waiting time when the same job is processed simultaneously from multiple different terminals using the same user ID. The objective is to provide an efficient file processing method that allows progress.
(4) 発明の構成
本発明は、TSS会話処理システムにおいて、異
なる複数の端末から、同一ユーザIDにより、同
一ジヨブを同時に進行できるように、それぞれの
端末毎に、データ・フアイルのコピーを一時的に
構築するものである。(4) Structure of the Invention The present invention provides a method for temporarily copying data files for each terminal in a TSS conversation processing system so that the same job can be executed simultaneously from multiple different terminals using the same user ID. It is intended to be constructed in the following manner.
本発明は、その構成として、中央処理装置,主
メモリ,補助記憶装置および複数の会話端末装置
を有するTSS会話形式データ処理システムにおい
て、異なる複数の端末装置から同一のユーザ識別
コードにより、共通データ・フアイルを使用する
同一ジヨブを同時に処理するため、上記複数の端
末装置のそれぞれの論理番号と上記ジヨブのプロ
グラムに定義されているフアイル変数名とを連結
したフアイル名を創成する手段と、該創成された
フアイル名に対応して、上記共通データ・フアイ
ルを複写した複数の一時フアイルを作成する手段
とを用い、上記各端末装置毎のジヨブがそれぞれ
の対応する一時フアイルを使用して実行されるよ
うにすることを特徴とするものである。 The present invention has a configuration in which, in a TSS conversational data processing system having a central processing unit, a main memory, an auxiliary storage device, and a plurality of conversational terminal devices, common data can be retrieved from different terminal devices using the same user identification code. means for creating a file name by concatenating the logical number of each of the plurality of terminal devices and a file variable name defined in the program of the job, in order to simultaneously process the same job using the file; and means for creating a plurality of temporary files that are copies of the common data file in accordance with the file name assigned to the terminal device, so that jobs for each of the terminal devices are executed using the corresponding temporary files. It is characterized by:
(5) 発明の実施例
以下に、本発明を実施例にしたがつて説明す
る。(5) Examples of the invention The present invention will be described below using examples.
第1図は、本発明実施例のTSS会話処理システ
ムの概要構成図である。 FIG. 1 is a schematic diagram of a TSS conversation processing system according to an embodiment of the present invention.
同図において、1,1′,1″は、同一ユーザ
IDをもつn台のTSS会話端末装置を示し、それ
ぞれに機番(機器論理番号)#1,#2,#nが
与えられている。2は中央処理装置であり、通信
制御部3と、ジヨブ制御部4と、フアイル処理部
5とを有している。通信制御部3は、LOGONか
らLOGOFFまでのセシヨン管理を行い、バツフ
ア領域の設定、各種資源の編成、ジヨブ・プログ
ラムの呼び出し、ジヨブと端末等の機器との通信
管理などを実行する。ジヨブ制御部4は、入力コ
マンドを解析し、モニタ(OS)配下において、
ジヨブ処理を実行する。 In the same figure, 1, 1', 1'' are the same user
It shows n TSS conversation terminal devices with IDs, and machine numbers (equipment logical numbers) #1, #2, #n are given to each device. A central processing unit 2 includes a communication control section 3, a job control section 4, and a file processing section 5. The communication control unit 3 manages sessions from LOGON to LOGOFF, sets buffer areas, organizes various resources, calls job programs, and manages communication between jobs and devices such as terminals. The job control unit 4 analyzes the input command, and under the monitor (OS),
Execute job processing.
フアイル処理部5は、本発明が特に関連する構
成要素であり、ジヨブの実行に必要なフアイルを
オープンするとき、共通データ・フアイルのコピ
ーを、そのプログラムで定義された変数名と、そ
のジヨブを依頼した会話端末装置の機番とを連結
した名前の一時フアイルとして、補助記憶領域上
に設定し、そして処理終了後にフアイルをクロー
ズするとき、その一時フアイルにデータの更新
(追加.削除)があれば、共通データ・フアイル
に返却して共通データ・フアイルを更新し、更新
がなければその一時フアイルを廃棄する処理を行
なう。 The file processing unit 5 is a component with which the present invention is particularly relevant; when opening a file necessary for executing a job, it copies a common data file and uses the variable name defined in the program and the job name. It is set in the auxiliary storage area as a temporary file with a name concatenated with the machine number of the requested conversation terminal, and when the file is closed after the processing is completed, if any data is updated (added or deleted) to the temporary file. For example, the temporary file is returned to the common data file, the common data file is updated, and if there is no update, the temporary file is discarded.
次に、6は主メモリであり、各端末毎のジヨブ
処理のために、固有のプログラム領域6a,6
b,…6nが設けられている。これらのプログラ
ム領域は、作業領域およびバツフア領域を含み、
実際の主メモリ上では、TSSのタイムスライス処
理のため次々にスワツピングされている。また、
7は補助記憶フアイルで、ユーザ・プログラム格
納フアイルおよび一時フアイルを含むもの、8は
共通データ・フアイルである。 Next, 6 is a main memory, which has its own program areas 6a and 6 for job processing for each terminal.
b,...6n are provided. These program areas include a work area and a buffer area,
In actual main memory, data is swapped one after another for TSS time slicing processing. Also,
7 is an auxiliary storage file that includes a user program storage file and a temporary file, and 8 is a common data file.
第2図は、第1図の実施例システムにおける共
通データ・フアイルの処理方式の説明図である。 FIG. 2 is an explanatory diagram of a common data file processing method in the embodiment system of FIG. 1.
同図において、1,1′,1″,6,6a乃至6
n,8は、第1図中の同一符号のものに対応して
いる。 In the same figure, 1, 1', 1'', 6, 6a to 6
n and 8 correspond to the same reference numerals in FIG.
9は補助記憶領域を示し、共通データ・フアイ
ル8と、プログラム格納フアイル10と、本発明
により構築された一時フアイル11乃至13とを
含んでいる。 Reference numeral 9 indicates an auxiliary storage area, which includes a common data file 8, a program storage file 10, and temporary files 11 to 13 constructed according to the present invention.
プログラム格納フアイル10には、ユーザ私有
のユーザIDにより呼び出されるプログラム
JOB1,JOB2,JOB3,…と、共通のモニタ・プ
ログラムとが格納されている。 The program storage file 10 contains a program called by the user's private user ID.
JOB1, JOB2, JOB3,... and a common monitor program are stored.
同一ユーザIDをもつ機番#1,#2,#nの
会話端末1,1′,1″が、同時にLOGONし、同
じJOB1プログラムを使用する処理を依頼したと
き、それぞれの端末のためにプログラム領域6
a,6b,6nが設定され、プログラム格納フア
イル10から、JOB1プログラムとモニタ・プロ
グラムとがロードされる。JOB1プログラムは、
各端末の会話処理において、フアイル変数名
MECのフアイルへのアクセスを必要とするた
め、それぞれにおいて、このフアイルのオープン
を要求する。 When conversation terminals 1, 1', and 1'' with machine numbers #1, #2, and #n with the same user ID log on at the same time and request processing using the same JOB1 program, the program for each terminal is Area 6
a, 6b, and 6n are set, and the JOB1 program and monitor program are loaded from the program storage file 10. JOB1 program is
In the conversation processing of each terminal, the file variable name
Since access to the MEC file is required, each requests the file to be opened.
前述したフアイル処理部5は、各プログラム領
域について、フアイル変数名と端末機番とを結合
した名前MEC#1、MEC#2、MEC#nによ
り、共通データ・フアイルを複写した一時フアイ
ル11,12,13を、補助記憶領域中に設定す
るとともに、各一時フアイルとそれに対応するプ
ログラム領域との間で行なう入出力処理に必要な
情数を、各プログラム領域のフアイル制御ブロツ
ク(FCB)に設定する。このようにして、共通
データ・フアイルのデータ(レコード)は各一時
フアイルに複写され、同じフアイル変数名から、
各プログラム領域毎に固有の一時フアイルにアク
セスすることが可能にされる。 The above-mentioned file processing unit 5 creates temporary files 11 and 12 which are copies of common data files, using names MEC#1, MEC#2, and MEC#n, which are combinations of file variable names and terminal numbers, for each program area. , 13 in the auxiliary storage area, and the information required for input/output processing between each temporary file and its corresponding program area is set in the file control block (FCB) of each program area. . In this way, data (records) from the common data file are copied to each temporary file, and from the same file variable name,
Access to unique temporary files is allowed for each program area.
このようにして、各会話端末ユーザは、それぞ
れの一時フアイルを使用して処理を進め、データ
の参照、追加、削除などを行なう。データの追加
または削除を行なつた場合には、共通データ・フ
アイルの更新処理が必要となる。そのため、一時
フアイル中に、データ追加・削除の有無を表示す
るフラグを設けておき、フアイルのクローズ後
に、フアイル処理部5により、フラグの内容にし
たがつて、一時フアイルの返却または廃棄のいず
れかの処理を実行する。 In this way, each conversation terminal user uses his or her own temporary file to proceed with the process and perform data references, additions, deletions, etc. When data is added or deleted, it is necessary to update the common data file. Therefore, a flag is provided in the temporary file to indicate whether data has been added or deleted, and after the file is closed, the file processing unit 5 returns or discards the temporary file according to the contents of the flag. Execute the process.
以上のようにして、同一ユーザIDの複数の会
話端末から、共通データ・フアイルを利用するジ
ヨブを、同時的にかつ独立して実行することがで
きる。 As described above, jobs using a common data file can be executed simultaneously and independently from multiple conversation terminals with the same user ID.
なお、共通データ・フアイルの更新性に対する
要求が厳しい処理の場合には、各一時フアイル間
での内容の同期状態を管理する手段が、フアイル
処理部に設けられなければならない。 In addition, in the case of processing that has strict requirements for updateability of the common data file, the file processing section must be provided with means for managing the synchronization state of the contents between the temporary files.
(6) 発明の効果
本発明によれば、同一ユーザIDをもつている
複数の会話端末から、待ち時間なしに同一ジヨブ
を実行できるようになるため、特に利用度の高い
共通データ・フアイルに関するジヨブを、多数並
行して処理することが可能となり、作業の迅速
化、効率化を図ることができる。(6) Effects of the Invention According to the present invention, since the same job can be executed from multiple conversation terminals having the same user ID without waiting time, jobs related to frequently used common data files can be executed easily. It is now possible to process many items in parallel, making work faster and more efficient.
第1図は本発明実施例システムの構成図、第2
図はそのフアイル処理部の機能説明図である。
図において、1,1′,1″は機番#1,#2,
#nをもつTSS会話端末装置、2は中央処理装
置、3は通信制御部、4はジヨブ制御部、5はフ
アイル処理部、6は主メモリ、6a乃至6nは各
端末装置のジヨブ処理に対応して設けられている
プログラム領域、7はプログラム格納フアイルと
一時フアイルを含む補助記憶フアイル、8は共通
データ・フアイル、をそれぞれ示す。
Figure 1 is a configuration diagram of a system according to an embodiment of the present invention;
The figure is a functional explanatory diagram of the file processing section. In the figure, 1, 1', 1'' are machine numbers #1, #2,
TSS conversation terminal device with #n, 2 is the central processing unit, 3 is the communication control unit, 4 is the job control unit, 5 is the file processing unit, 6 is the main memory, 6a to 6n correspond to job processing of each terminal device 7 is an auxiliary storage file including a program storage file and a temporary file, and 8 is a common data file.
Claims (1)
び複数の会話端末装置を有し、該複数の会話端末
装置によつて共通フアイルをアクセスする形式の
データ処理システムにおいて、異なる複数の端末
装置から同一のユーザ識別コードにより、共通デ
ータ・フアイルを使用する同一ジヨブを同時に処
理するため、上記複数の端末装置のそれぞれの論
理番号と上記ジヨブのプログラムに定義されてい
るフアイル変数名とを連結したフアイル名を創成
する手段と、該創成されたフアイル名に対応し
て、上記共通データ・フアイルを複写した複数の
一時フアイルを作成する手段とを用い、上記各端
末装置毎のジヨブがそれぞれの対応する一時フア
イルを使用して実行されるようにすることを特徴
とするフアイル処理方式。1. In a data processing system that has a central processing unit, main memory, auxiliary storage device, and a plurality of conversation terminal devices, and in which a common file is accessed by the plurality of conversation terminal devices, the same file can be accessed from different terminal devices. In order to simultaneously process the same job that uses a common data file using a user identification code, a file name is created by concatenating the logical numbers of the multiple terminal devices and the file variable name defined in the program of the job. and a means for creating a plurality of temporary files that are copies of the common data file, corresponding to the created file name, so that the job for each terminal device can be created in its corresponding temporary file. A file processing method characterized in that it is executed using.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56213484A JPS58132845A (en) | 1981-12-29 | 1981-12-29 | File processing system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56213484A JPS58132845A (en) | 1981-12-29 | 1981-12-29 | File processing system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58132845A JPS58132845A (en) | 1983-08-08 |
| JPS6150356B2 true JPS6150356B2 (en) | 1986-11-04 |
Family
ID=16639957
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56213484A Granted JPS58132845A (en) | 1981-12-29 | 1981-12-29 | File processing system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58132845A (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0679283B2 (en) * | 1985-07-09 | 1994-10-05 | 富士通株式会社 | Interruption processing control method |
| AU638646B2 (en) * | 1992-09-28 | 1993-07-01 | R.B. Warden | Abacus |
| JP2001356922A (en) * | 2000-06-13 | 2001-12-26 | Nec Corp | Executing method for business program and recording medium |
-
1981
- 1981-12-29 JP JP56213484A patent/JPS58132845A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58132845A (en) | 1983-08-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5717950A (en) | Input/output device information management system for multi-computer system | |
| JPS61228533A (en) | Method for controlling session of electronic computer | |
| JP2741994B2 (en) | Processing apparatus having job environment dynamic change function and processing method | |
| US5873067A (en) | Work flow system | |
| US6009414A (en) | Computer system with checkpoint facility and accounting facility indicating charges payable for processes | |
| JPS6150356B2 (en) | ||
| JPH06222916A (en) | On-line real-time processor | |
| JPS61134844A (en) | Share space control system for storage device | |
| JP2990609B2 (en) | Computer system | |
| JPH0322152A (en) | File restoring system | |
| JPS59180744A (en) | System for managing working area of reentrant program | |
| JP2522161B2 (en) | Volume resource management method in virtual computer system | |
| JPH064477A (en) | Subload-module replacing system | |
| JP2926873B2 (en) | Computer system | |
| JPH11120056A (en) | Saving and restoring project data | |
| GB2362246A (en) | Computer system with checkpoint facility. | |
| JPH0337748A (en) | External storage accessing system utilizing main storage | |
| JPH07146809A (en) | Information processing equipment | |
| JPS6327936A (en) | File management method | |
| JPH05165702A (en) | File management method | |
| JP2806141B2 (en) | Hot standby system | |
| JPH02133845A (en) | Duplex auxiliary storage device | |
| JPH0414161A (en) | Transaction processing system | |
| JPH04205039A (en) | Exclusive control on shared files in a plurality of operating systems | |
| JPH0652028A (en) | File management device |