JPS63133232A - System for generating task discrimination name - Google Patents

System for generating task discrimination name

Info

Publication number
JPS63133232A
JPS63133232A JP28013786A JP28013786A JPS63133232A JP S63133232 A JPS63133232 A JP S63133232A JP 28013786 A JP28013786 A JP 28013786A JP 28013786 A JP28013786 A JP 28013786A JP S63133232 A JPS63133232 A JP S63133232A
Authority
JP
Japan
Prior art keywords
task
identification name
generation
discrimination
requested
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
JP28013786A
Other languages
Japanese (ja)
Inventor
Shuichi Ishikawa
秀一 石川
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 JP28013786A priority Critical patent/JPS63133232A/en
Publication of JPS63133232A publication Critical patent/JPS63133232A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the double allocation of task identification names which are produced when an electronic computer system is stopped and restored, by producing the task identification names based on the date and the time point set when a request is received for the production of the task identification names. CONSTITUTION:A task discrimination name production means 1 produces the task discrimination names based on the discrimination name of the task of a requester for the production of discrimination names acquired by an requester discrimination name acquiring means 2 as well as the date and the time point for the request of production of the task discrimination names which are acquired by a discrimination name production request acquiring means 3. Thus it is possible to avoid the double allocation of the task discrimination names even though a task and its discrimination name are newly produced by an electronic computer system when this system is stopped and restarted.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はタスク識別名の生成方式に関し、特に電子計算
機システムにおけるタスク識別名の生成方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for generating a task identifier, and particularly to a method for generating a task identifier in a computer system.

C従来の技術〕 従来、この種のタスク識別名の生成方式では、子タスク
(以下、タスクという)を生成して各タスクの識別名の
生成をタスク識別名生成手段に要求する親タスク(以下
、識別名生成要求元タスクという)がタスクを生成する
回数(この回数は識別名生成要求元タスクがタスク識別
名生成手段に要求するタスク識別名の生成要求回数に等
しい)に基づいてタスク識別名が生成されていた。
C. Prior Art Conventionally, in this type of task identification name generation method, a parent task (hereinafter referred to as task) generates child tasks (hereinafter referred to as tasks) and requests a task identification name generation means to generate an identification name for each task. The task identifier is generated based on the number of times the task (referred to as the identifier generation requesting task) generates a task (this number is equal to the number of times the task identifier generation requesting task requests the task identifier generation means to generate a task identifier). was being generated.

例えば、識別名生成要求元タスクの識別名がAであると
きに、識別名生成要求元タスクAにより最初に生成され
て最初にタスク識別名生成手段にタスク識別名の生成が
要求されたタスクのタスク識別名はA1.2番目にタス
ク識別名の生成が要求されたタスクのタスク識別名はA
2という形でタスク識別名の生成が行われていた。
For example, when the identification name of the task that made the identification name generation request is A, the task that was first generated by the task that made the identification name generation request, and for which the task identification name generation means was first requested to generate a task identification name. The task identification name is A1.The task identification name of the task for which task identification name generation was requested second is A.
The task identification name was generated in the form of 2.

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

上述した従来のタスク識別名の生成方式では、識別名生
成要求元タスクによるタスクの生成の過程で電子計算機
システムが停止するとタスク識別名の生成要求回数がリ
セットされてしまうので、電子計算機システムの停止前
に識別名生成要求元タスクにより生成されたタスクの保
留(外部記憶装置にセーブして再起動時にロードするこ
と等)を行い、再起動された電子計算機システムで同一
の識別名生成要求元タスクが新たなタスクを生成しタス
ク識別名生成手段にタスク識別名の生成を要求するとタ
スク識別名の2重割当てが発生するという欠点がある。
In the conventional task identification name generation method described above, if the computer system stops during the task generation process by the task that requested identification name generation, the number of task identification name generation requests is reset. The task that was previously generated by the task that requested identification name generation is suspended (by saving it to an external storage device and loading it when restarted, etc.), and then the same task that requested generation of identification name is restarted in the restarted computer system. When a new task is generated and a request is made to the task identification name generating means to generate a task identification name, there is a drawback that double assignment of the task identification name occurs.

上述の例で説明すると、識別名生成要求元タスクAによ
り3つのタスクAI、A2およびA3が生成され(At
、A2およびA3というタスク識別名はタスク識別名生
成手段により生成される)電子計算機システムが停止し
たときに、再起動後に識別名生成要求元タスクAが最初
に生成するタスクのタスク識別名はA1となり、停止前
に生成されたタスクA1が保留されているとすると内容
が異なる2つのタスクにA1というタスク識別名が2重
に割り当てられることになる。
To explain using the above example, three tasks AI, A2, and A3 are generated by task A that requested identification name generation (At
, A2, and A3 are generated by the task identifier generation means.) When the computer system stops, the task identifier of the first task generated by task A that requested the generation of an identifier after restarting is A1. Therefore, if the task A1 generated before the stop is suspended, the task identification name A1 will be assigned twice to two tasks with different contents.

本発明の目的は、上述の点に鑑み、電子計算機システム
の停止および再起動(電子計算機システムの停止前に生
成されたタスクは保留されているものとする)が行われ
るときに、電子計算機システムで新たなタスクおよびそ
のタスク識別名が生成されてもタスク識別名の2重割当
てが発生することのないタスク識別名の生成方式を提供
することにある。
In view of the above-mentioned points, an object of the present invention is to prevent a computer system from running when the computer system is stopped and restarted (assuming that tasks generated before the computer system is stopped are suspended). To provide a task identification name generation method that does not cause double assignment of a task identification name even when a new task and its task identification name are generated.

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

本発明のタスク識別名の生成方式は、識別名生成要求元
タスクの識別名を取得する要求元識別名・取得手段と、
タスク識別名の生成が要求された日付および時刻を取得
する識別名生成要求時取得手段と、前記要求元識別名取
得手段により取得された前記識別名生成要求元タスクの
識別名と前記識別名生成要求時取得手段により取得され
たタスク識別名の生成が要求された日付および時刻とに
基づきタスク識別名を生成するタスク識別名生成手段と
を有する。
The task identification name generation method of the present invention includes a requester identification name/obtaining unit that obtains the identification name of the task that has requested identification name generation;
an identification name generation request acquisition means for acquiring the date and time when generation of a task identification name was requested; and an identification name of the task that requested the identification name generation, which was obtained by the requesting identification name acquisition means, and the identification name generation. and task identification name generation means for generating a task identification name based on the date and time at which generation of the task identification name was requested, which was obtained by the request time acquisition means.

〔作用〕[Effect]

本発明のタスク識別名の生成方式では、要求元識別名取
得手段が識別名生成要求元タスクの識別名を取得し、識
別名生成要求時取得手段がタスク識別名の生成が要求さ
れた日付および時刻を取得し、タスク識別名生成手段が
要求元識別名取得手段により取得された識別名生成要求
元タスクの識別名と識別名生成要求時取得手段により取
得されたタスク識別名の生成が要求された日付および時
刻とに基づきタスク識別名を生成する。
In the task identification name generation method of the present invention, the request source identification name acquisition means acquires the identification name of the task that has requested identification name generation, and the identification name generation request time acquisition means includes the date and time when generation of the task identification name is requested. The task identification name generation means obtains the time, and the task identification name generation means generates the identification name obtained by the request source identification name acquisition means.The generation of the identification name of the requesting task and the task identification name obtained by the identification name generation request time acquisition means is requested. A task identifier is generated based on the date and time.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は、本発明のタスク識別名の生成方式の一実施例
の構成を示すブロック図である。本実施例のタスク識別
名の生成方式は、要求元識別名取得手段2により取得さ
れた識別名生成要求元タスク(図示せず)の識別名と識
別名生成要求時取得手段3により取得されたタスク識別
名の生成が要求された日付および時刻とに基づきタスク
識別名を生成するタスク識別名生成手段1と、識別名生
成要求元タスクの識別名を得る要求元識別名取得手段2
と、タスク識別名の生成が要求された日付および時刻を
得る識別名生成要求時取得手段3とから構成されている
FIG. 1 is a block diagram showing the configuration of an embodiment of the task identification name generation method of the present invention. The task identification name generation method of this embodiment is based on the identification name of the identification name generation request source task (not shown) obtained by the request source identification name acquisition means 2 and the identification name obtained by the identification name generation request time acquisition means 3. Task identification name generation means 1 that generates a task identification name based on the date and time when generation of a task identification name is requested; and requestor identification name acquisition means 2 that obtains the identification name of the task that has requested identification name generation.
and an identification name generation request time acquisition means 3 for obtaining the date and time when generation of a task identification name was requested.

第2図を参照すると、本実施例のタスク識別名の生成方
式の処理は、タスク識別名生成要求受取りステップ11
と、識別名生成要求元タスク識別名取得ステップ12と
、タスク識別名生成要求時取得ステップ13と、タスク
識別名生成ステップ14と、タスク識別名返還ステップ
15とからなる。
Referring to FIG. 2, the process of the task identification name generation method of this embodiment includes the task identification name generation request receiving step 11.
, an identification name generation request source task identification name acquisition step 12 , a task identification name generation request time acquisition step 13 , a task identification name generation step 14 , and a task identification name return step 15 .

次に、このように構成された本実施例のタスク識別名の
生成方式の動作について説明する。
Next, the operation of the task identification name generation method of this embodiment configured as described above will be explained.

識別名生成要求元タスクにより生成されたタスクのタス
ク識別名を生成する場合には、まず識別名生成要求元タ
スクからのタスク識別名の生成要求がタスク識別名生成
手段1により受は取られる(ステップ11)。
When generating a task identification name for a task generated by a task that has requested identification name generation, first, a task identification name generation request from the task that has requested identification generation is accepted by the task identification name generation means 1 ( Step 11).

ステップ11で受は取られた生成要求に基づくタスク識
別名生成手段1の指示により、要求元識別名取得手段2
において識別名生成要求元タスクの識別名が取得される
(ステップ12)。
Based on the generation request accepted in step 11, the requester identification name acquisition means 2 receives instructions from the task identification name generation means 1.
In step 12, the identification name of the task that made the identification name generation request is acquired (step 12).

さらに、ステップ11で受は取られた生成要求に基づく
タスク識別名生成手段1の指示により、識別名生成要求
時取得手段3においてタスク識別名の生成が要求された
日付および時刻がオペレーティングシステム(図示せず
)から取得される(ステップ13)。
Further, based on the instruction from the task identifier generation means 1 based on the generation request accepted in step 11, the date and time when the generation of the task identifier was requested is recorded in the identifier generation request time acquisition means 3 by the operating system (Fig. (not shown) (step 13).

ステップ12で取得された識別名生成要求元タスクの識
別名とステップ13で取得されたタスク識別名の生成が
要求された日付および時刻とはタスク識別名生成手段1
に送付され、これらに基づいて(例えば、これらが順に
並べられて)タスク識別名が生成される(ステップ14
)。
The identification name of the task that requested the generation of an identification name obtained in step 12 and the date and time at which generation of the task identification name was requested obtained in step 13 are the task identification name generation means 1
and a task identification name is generated based on these (for example, by arranging them in order) (step 14).
).

ステップ14で生成されたタスク識別名はタスク識別名
生成手段1により識別名生成要求元タスクに返還され(
ステップ15)、以後タスクを識別する必要があるとき
に利用される。
The task identification name generated in step 14 is returned to the task that requested identification name generation by the task identification name generation means 1 (
Step 15) is used later when a task needs to be identified.

上述のタスク識別名の生成の過程で電子計算機システム
の停止および再起動が行われても、識別名生成要求時取
得手段3により取得される日付および時刻に基づく要素
がタスク識別名の中にあるために、同一のタスク識別名
が異なるタスクに割り当てられることはない。
Even if the computer system is stopped and restarted during the task identification name generation process described above, the element based on the date and time obtained by the identification name generation request time acquisition means 3 remains in the task identification name. Therefore, the same task identifier is never assigned to different tasks.

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

以上説明したように本発明は、生成するタスク識別名の
中にタスク識別名の生成が要求された日付および時刻に
基づ(情報という電子計算機システムの動作とは無関係
な要素を組み込むことにより、電子計算機システムの停
止および再起動(電子計算機システムの停止前に生成さ
れたタスクは保留されているものとする)が行われると
きに電子計算機システムで新たなタスクおよびそのタス
、り識別名が生成されてもタスク識別名の2重割当てが
発生しないという効果がある。
As explained above, the present invention provides information based on the date and time when generation of the task identifier is requested (by incorporating elements unrelated to the operation of the computer system into the task identifier to be generated). A new task and its task identification name are generated in the computer system when the computer system is stopped and restarted (tasks generated before the computer system was stopped are put on hold). This has the effect that double assignment of task identification names does not occur even if the task identifier is assigned.

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

第1図は本発明の一実施例の構成を示すブロック図、 第2図は本実施例のタスク識別名の生成方式の処理を示
す流れ図である。 図において、 1・・・タスク識別名生成手段、 2・・・要求元識別名取得手段、 3・・・識別名生成要求時取得手段である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is a flowchart showing the processing of the task identification name generation method of this embodiment. In the figure, 1... task identification name generation means, 2... request source identification name acquisition means, 3... identification name generation request time acquisition means.

Claims (1)

【特許請求の範囲】 識別名生成要求元タスクの識別名を取得する要求元識別
名取得手段と、 タスク識別名の生成が要求された日付および時刻を取得
する識別名生成要求時取得手段と、前記要求元識別名取
得手段により取得された前記識別名生成要求元タスクの
識別名と前記識別名生成要求時取得手段により取得され
たタスク識別名の生成が要求された日付および時刻とに
基づきタスク識別名を生成するタスク識別名生成手段と
、を有することを特徴とするタスク識別名の生成方式。
[Scope of Claims] Requester identification name acquisition means for acquiring the identification name of the task that has requested identification name generation; and identification name generation request time acquisition means for acquiring the date and time when generation of the task identification name is requested; A task based on the identification name of the identification name generation requesting task obtained by the requesting identification name obtaining means and the date and time at which generation of a task identification name was requested obtained by the identification name generation request time obtaining means. 1. A task identification name generation method, comprising: task identification name generation means for generating an identification name.
JP28013786A 1986-11-25 1986-11-25 System for generating task discrimination name Pending JPS63133232A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28013786A JPS63133232A (en) 1986-11-25 1986-11-25 System for generating task discrimination name

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28013786A JPS63133232A (en) 1986-11-25 1986-11-25 System for generating task discrimination name

Publications (1)

Publication Number Publication Date
JPS63133232A true JPS63133232A (en) 1988-06-06

Family

ID=17620855

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28013786A Pending JPS63133232A (en) 1986-11-25 1986-11-25 System for generating task discrimination name

Country Status (1)

Country Link
JP (1) JPS63133232A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0296839A (en) * 1988-07-18 1990-04-09 Digital Equip Corp <Dec> Single key type index file for tp cue repository

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0296839A (en) * 1988-07-18 1990-04-09 Digital Equip Corp <Dec> Single key type index file for tp cue repository

Similar Documents

Publication Publication Date Title
WO2017193737A1 (en) Software testing method and system
JPH02201653A (en) Application program interface method
CN110377402A (en) Business data processing method, device, storage medium and computer equipment
US20130152103A1 (en) Preparing parallel tasks to use a synchronization register
GB2378546A (en) Automatic configuration of performance management software
JPS63133232A (en) System for generating task discrimination name
JPS60136855A (en) Data processing system
JP2641919B2 (en) Job schedule stop device
JPH0251740A (en) Control system for process allocation
JP2006268126A (en) Database access system and database object generation program
JPH0833856B2 (en) Serial number management method
JPS62192828A (en) File space allocation system
CN117453698A (en) Transaction processing method, device, computer equipment and storage medium
JPH0342765A (en) Decentralized processor
JPH052496A (en) Multi-task monitor
CN117472583A (en) Method for dynamically binding CPU cores by multiple processes in operating system
JPH0447343A (en) Withdrawal processing system for file open environment
JP2968756B2 (en) Internal resource matching method and apparatus in multiprocessor system
JPS63146130A (en) Knowledge unit management system
JPS63148338A (en) Program information tracing system
CN113742062A (en) Method and device for distributing machine serial number and computer readable storage medium
JPH0922363A (en) Task constituting system
JPH02213959A (en) Saving system for file capacity of data base system
JPH03144844A (en) Output device for message under session
JPH06348665A (en) Process control system among plural operating systems