JPH0399355A - time sharing system - Google Patents
time sharing systemInfo
- Publication number
- JPH0399355A JPH0399355A JP23757289A JP23757289A JPH0399355A JP H0399355 A JPH0399355 A JP H0399355A JP 23757289 A JP23757289 A JP 23757289A JP 23757289 A JP23757289 A JP 23757289A JP H0399355 A JPH0399355 A JP H0399355A
- Authority
- JP
- Japan
- Prior art keywords
- terminal device
- time
- sharing system
- central processing
- input
- 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
Links
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
A、産業上の利用分野
この発明は、複数の端末機器にコンピュータ資源を割り
当てて、各端末機器からの入力情報を時分割で処理する
タイム・シエアリング・システムに関する。DETAILED DESCRIPTION OF THE INVENTION A. Field of Industrial Application This invention relates to a time sharing system that allocates computer resources to a plurality of terminal devices and processes input information from each terminal device in a time-sharing manner.
B、従来技術
従来のタイム・シエアリング・システムの概略構成を第
4図のブロック図に示す。B. Prior Art The schematic configuration of a conventional time sharing system is shown in the block diagram of FIG.
同図では、コンピュータ資源の一つである中央処理装置
1を3つの端末機器A、 B、 Cで利用する例を示し
ている。なお、符号2は、各端末機器からの入力情報を
まとめて中央処理装置1に送り、中央処理装置1からの
解答あるいは返答を各端末機器に送り出すフロント・エ
ンド・コンピュータである。このような、構成によるタ
イムシェアリングシステムの動作について、第5図のタ
イムチャートを基に説明する。The figure shows an example in which the central processing unit 1, which is one of the computer resources, is used by three terminal devices A, B, and C. Note that reference numeral 2 is a front end computer that collectively sends input information from each terminal device to the central processing unit 1, and sends an answer or reply from the central processing unit 1 to each terminal device. The operation of the time sharing system with such a configuration will be explained based on the time chart of FIG. 5.
端末機器Aから、中央処理装置1に処理要求が出される
と、中央処理装置1はこれに応じた指示や情報を端末機
器Aに送り返し、端末機器Aは入力データをフロント・
エンド・コンピュータ2を介して、中央処理装置1に送
る。そして、端末機器Aに割り当てられた時間Tが過ぎ
ると、中央処理袋!lは端末機器Aに対する処理を強制
的に中断して、端末機器Bの処理要求に応じる。同様に
割り当て時間Tが過ぎると、今度は端末機器Cの処理要
求に応じ、割り当て時間T経過後、再び端未機器Aの処
理を続行する。When a processing request is issued from the terminal device A to the central processing unit 1, the central processing unit 1 sends the corresponding instructions and information back to the terminal device A, and the terminal device A sends the input data to the front desk.
It is sent to the central processing unit 1 via the end computer 2. Then, when the time T allotted to terminal device A has passed, the central processing bag! 1 forcibly interrupts the processing for terminal device A and responds to the processing request from terminal device B. Similarly, when the allocated time T has passed, this time in response to the processing request from the terminal device C, the processing for the unterminated device A is continued again after the allocated time T has elapsed.
このように、中央処理装置1を各端末機器に均一な時間
Tだけ順番に割り当てることにより、一つの端末機器だ
けに中央処理装置1を専有させないようにして、各端末
機器からの入力データを短時間で処理している。In this way, by sequentially allocating the central processing unit 1 to each terminal device for a uniform time T, the central processing unit 1 is not monopolized by one terminal device, and the input data from each terminal device is shortened. Processing time.
C1発明が解決しようとする課題
しかしながら、上述した従来のタイム・シエアリング・
システムには次のような問題点がある。Problems to be solved by the C1 invention However, the above-mentioned conventional time sharing
The system has the following problems.
各端末mRHの使用状況にかかわらず、中央処理装置1
を均一な時間、順番に割り当てているため、頻繁に中央
処理袋M1に処理要求を出す端末機器の利用者や、比較
的処理要求が少ない端末機器の利用者も同し待ち時間を
要する。このため、中央処理装面1が各端末機器に適切
に割り当てられているとは言えず、コンピュータ資源の
有効利用が図られていないという問題点がある。Regardless of the usage status of each terminal mRH, the central processing unit 1
are allocated in a uniform order for a uniform time, so that users of terminal devices who frequently make processing requests to the central processing bag M1 and users of terminal devices that make relatively few processing requests also require waiting time. For this reason, it cannot be said that the central processing unit 1 is appropriately allocated to each terminal device, and there is a problem that effective use of computer resources is not achieved.
この発明は、このような事情に鑑みてなされたものであ
って、各端末機器の利用状況に応じて、コンピュータ資
源の割り当てを制御することかできるタイム・シエアリ
ング・システムを提供することを目的としている。This invention was made in view of the above circumstances, and aims to provide a time sharing system that can control the allocation of computer resources according to the usage status of each terminal device. There is.
00課題を解決するための手段
この発明は、上記目的を達成するために次のような構成
を備えている。Means for Solving the Problems The present invention has the following configuration to achieve the above object.
即ち、この発明に係るタイム・シエアリング・システム
は、複数の端末機器にコンピュータ資源を割り当て、各
端末機器からの入力情報を時分割で処理するタイム・シ
エアリング・システムにおいて、前記各端末機器のコン
ピュータ資源利用状況を計測する計測手段と、計測手段
からの計測データに基づいて、各端末機器へのコンピュ
ータ資源の割り当てを制御する制御手段とを備えたこと
を特徴としている。That is, the time sharing system according to the present invention allocates computer resources to a plurality of terminal devices and processes input information from each terminal device in a time-sharing manner. It is characterized by comprising a measuring means for measuring the usage status, and a controlling means for controlling the allocation of computer resources to each terminal device based on the measurement data from the measuring means.
81作用
この発明によれば、複数の端末機器からコンピュータ資
源を利用するための入力が行われると、計測手段は、各
端末機器の入力状況を設定期間計測し、そのデータを制
御手段に送出する。制御手段は、与えられた計測データ
に基づき、利用状況の高い端末機器に対してコンピュー
タ資源の割り当てが多くなるように、コンピュータ資源
の割り当てを!II 1卸する。81 Effect According to this invention, when input for using computer resources is made from a plurality of terminal devices, the measuring means measures the input status of each terminal device for a set period and sends the data to the control means. . The control means allocates computer resources based on the given measurement data so that more computer resources are allocated to terminal devices with high usage status! II 1 wholesale.
F、実施例 以下、この発明の実施例を図面に基づいて説明する。F. Example Embodiments of the present invention will be described below based on the drawings.
第1図は、この発明の一実施例の構成の概略を示したブ
ロック図である。FIG. 1 is a block diagram schematically showing the configuration of an embodiment of the present invention.
図中、符号1は、複数の端末機器A、B、C(総称する
場合は単に端末機器と記す)からの入力データを処理す
るコンピュータ資源としての中央処理装置、符号2は各
端末機器の入力回数および、中央処理装置1の入力指示
が与えられてからデータを入力するまでの時間(以下、
単に入力時間と称する)を抽出して、これらのデータを
逐次、状況記憶部3に記憶するとともに、各端末機器と
中央処理装置1とのインターフェイスの役目をするフロ
ント・エンド・コンピュータ、符号4は状況記憶部3内
のデータを基に、設定期間内における各端末機器の入力
回数および入力時間を計測する利用状況計測部、符号5
は利用状況計測部の計測結果から、中央処理装置1の割
り当て回数および時間を変更・設定する制御手段として
のタイムスケジューラ、符号6は時間情報を前記フロン
ト・エンド・コンぐユータ2に供給するタイマである。In the figure, reference numeral 1 denotes a central processing unit as a computer resource that processes input data from a plurality of terminal devices A, B, and C (when collectively referred to as terminal devices), and reference numeral 2 denotes an input of each terminal device. The number of times and the time from when an input instruction is given to the central processing unit 1 to when data is input (hereinafter referred to as
A front end computer 4 serves as an interface between each terminal device and the central processing unit 1, and sequentially stores these data in the status storage unit 3. A usage status measurement unit, reference numeral 5, measures the number of inputs and input time of each terminal device within a set period based on the data in the status storage unit 3.
Reference numeral 6 indicates a time scheduler as a control means for changing and setting the number of allocations and time for the central processing unit 1 based on the measurement results of the usage status measurement unit, and reference numeral 6 indicates a timer that supplies time information to the front end controller 2. It is.
上記、フロント・エンド・コンピュータ2と利用状況計
測部4がこの発明の計測手段に相当する。The above-mentioned front end computer 2 and usage status measuring section 4 correspond to the measuring means of the present invention.
次に、上述したタイム・シエアリング・システムにおけ
る中央処理袋W1の割り当て制御について、説明する。Next, the allocation control of the central processing bag W1 in the above-described time sharing system will be explained.
端末機器から中央処理装置1へ処理要求が出されると、
フロント・エンド・コンピュータ2はまず、どの端末機
器からの処理要求かを判定する。When a processing request is issued from a terminal device to the central processing unit 1,
The front end computer 2 first determines which terminal device the processing request is from.
例えば、端末機器Aであると判定した場合は、内部メモ
リ上に端末11HAを示す識別コードを一旦、記憶させ
るとともに、端末機器への処理要求を中央処理装置1に
送る。次に、中央処理装置1から端末機器Aに入力指示
が与えられると、タイマ6から供給されるクロック信号
のカウントを開始し、端末機器Aが人力指示に応答して
デー、夕を入力するとカウントを終了する。そのカウン
ト数を端末機器Aの入力時間データとして、先の端末機
器Aの識別コードとともに状況記憶部3に書き込む。For example, if it is determined that it is the terminal device A, an identification code indicating the terminal 11HA is temporarily stored in the internal memory, and a processing request for the terminal device is sent to the central processing unit 1. Next, when an input instruction is given to the terminal device A from the central processing unit 1, it starts counting the clock signal supplied from the timer 6, and when the terminal device A inputs day and evening in response to the manual instruction, it starts counting. end. The counted number is written as input time data of the terminal device A into the status storage unit 3 together with the identification code of the previous terminal device A.
このようにして、処理要求を出した各端末機器の識別コ
ードと人力時間データとを状況記憶部3に書き込んでい
く。In this way, the identification code and human labor time data of each terminal device that issued a processing request are written into the situation storage section 3.
利用状況計測部4は、予め設定された期間中に状況記憶
部3に書き込まれた情報のアドレス領域を指定して、領
域内の情報を読み出す。読み出した情報のうち識別コー
ドに基づき、各端末機器の入力回数を計測するとともに
、各端末機器の入力時間データの平均値を算出し、これ
らの情報をタイム・スケジューラ5に送出する。情報の
一例をグラフ形式にして、第2図に示す。同図(a)は
各端末機器の入力回数データを示したもので、符号n1
は端末機器Aの入力回数、符号n2は端末機器Bの入力
回数、符号n、は端末機器Cの入力回数を示している。The usage status measurement unit 4 specifies the address area of information written to the status storage unit 3 during a preset period, and reads out information within the area. Based on the identification code of the read information, the number of inputs for each terminal device is counted, the average value of the input time data for each terminal device is calculated, and this information is sent to the time scheduler 5. An example of the information is shown in a graph format in FIG. Figure (a) shows the input frequency data of each terminal device, and the symbol n1
indicates the number of inputs for terminal device A, symbol n2 indicates the number of inputs for terminal device B, and symbol n indicates the number of inputs for terminal device C.
同図(b)は各端末機器の入力時間の平均データを示し
たもので、符号1.は端末機器Aの入力時間、符号t2
は端末機器Bの人力時間、符号t、は端末機器Cの入力
時間の平均をそれぞれ示している。The figure (b) shows the average data of the input time of each terminal device, and the number 1. is the input time of terminal device A, code t2
indicates the human input time of terminal device B, and symbol t indicates the average input time of terminal device C, respectively.
このような情報が与えられると、タイム・スケジューラ
5は、各端末機器における入力回数および入力時間の比
率を算出し、算出結果に応じて、各端末機器の割り当て
回数および割り当て時間を設定する。例えば、第4図に
示した情報の算出結果が以下のようになった場合、
nl :nz :n3=1:2:Lむ+ : t
z : ti =1 :2:2人力回数ntが他
の端末機器の2倍になっている端末機器Bは、コンピュ
ータ資源の利用頻度が高いから他の端末機器の割り当て
回数の2倍を設定し、人力時間t、が他の端末機器の1
/2である端末機器Aは、入力待ちのデータが多くある
と考えられるので2倍の割り当て時間を設定する。When such information is given, the time scheduler 5 calculates the ratio of the number of inputs and the input time for each terminal device, and sets the number of times of allocation and the allocated time for each terminal device according to the calculation result. For example, if the calculation result of the information shown in FIG. 4 is as follows, nl :nz :n3=1:2:Lm+ :t
z : ti = 1 : 2 : 2 Terminal device B, whose manual effort count nt is twice that of other terminal devices, uses computer resources more frequently, so it is set to twice the number of allocations of other terminal devices. , the human labor time t, is 1 of the other terminal equipment.
Terminal device A, which has a value of /2, is considered to have a lot of data waiting for input, so it sets twice the allocated time.
このとき、割り当て回数および割り当て時間は、コンピ
ュータ資源の極端な専有を避けるために、予め上限を設
定しておき、この上限の枠内で設定を行う。例えば、端
末機器が3つの場合は、一つの端末機器に割り当てる回
数および時間を全体の50%以下に抑えるようにする。At this time, an upper limit is set in advance for the number of allocations and the allocation time in order to avoid extreme monopolization of computer resources, and the settings are made within the framework of this upper limit. For example, if there are three terminal devices, the number of times and time allocated to one terminal device should be kept to 50% or less of the total.
このような場合、端末機器Aに割り当てられる回数は全
体の25%、端末機器Bには50%、端末機器Cには2
5%となる。In such a case, the number of times allocated to terminal device A is 25% of the total, 50% to terminal device B, and 2 to terminal device C.
It will be 5%.
また、割り当て時間は、端末機器Aが全体の50%、端
末機器Bには25%、端末機器Cには25%が割り当て
られる。第3図はこのときの割り当て回数および割り当
て時間を示したタイム・チャートである。Furthermore, terminal device A is allocated 50% of the total time, terminal device B is allocated 25%, and terminal device C is allocated 25% of the total time. FIG. 3 is a time chart showing the number of allocations and the allocation time at this time.
このように、1つの端末機器に中央処理装置1が専有さ
れることなく、各端末機器の利用状況に応じて中央処理
装置1の割り当て回数および割り当て時間を制御するこ
とによって、入力頻度が高い端末機器の利用者にはより
多くの回数が割り当てられ、入力時間が短い端末機器の
利用者(短時間での処理を望む利用者)にはより多くの
時間が割り当てられる。In this way, the central processing unit 1 is not monopolized by one terminal device, and by controlling the number of allocations and the allocation time of the central processing unit 1 according to the usage status of each terminal device, it is possible to More times are allocated to device users, and more time is allocated to terminal device users who require shorter input times (users who desire processing in a shorter time).
上記の実施例では、コンピュータ資源として中央処理装
置1を例示したが、これは、磁気ディスク装置などのよ
うな入出力装置をコンピュータ資源して利用するタイム
・シエアリング・システムにも同様に適用することがで
きる。In the above embodiment, the central processing unit 1 was illustrated as a computer resource, but this can be similarly applied to a time sharing system that uses input/output devices such as magnetic disk drives as computer resources. I can do it.
また、上記の実施例では、割り当て回数および割り当て
時間を計測することで利用状況を:巴握するようにした
が、これは、割り当て回数あるいは割り当て時間だけで
利用状況を把握して、同様に各端末機器への割り当てを
制御するよう・;こしてもよい。In addition, in the above embodiment, the usage status was grasped by measuring the number of allocations and the allocation time, but it is also possible to grasp the usage status only by the number of allocations or the allocation time, and similarly It may also be possible to control the assignment to terminal devices.
また、コンビエータ資源の割り当て制御は、割り当て回
数または割り当て時間のいずれか一方のみによって行っ
てもよい。Moreover, the allocation control of combinator resources may be performed only by either the number of allocations or the allocation time.
G8発明の効果
以上の説明から明らかなように、この発明に係るタイム
・シエアリング・システムは、各端末機器のコンピュー
タ資源利用状況に応じて、資源の割り当てを制御するよ
うにしたので、頻繁に利用する端末機器には、より多く
の資源が割り当てられ、比較的利用が少ない端末機器に
は、資源の割り当てを少なくすることで、資源を適切に
分散することができ、資源の有効利用が図られる。Effects of the G8 Invention As is clear from the above explanation, the time sharing system according to the present invention controls resource allocation according to the usage status of computer resources of each terminal device, so that the time sharing system according to the invention can be used frequently. By allocating more resources to terminal devices that are used relatively little, and by allocating fewer resources to terminal devices that are relatively infrequently used, resources can be distributed appropriately and resources can be used effectively. .
第1図ないし第3図は、この発明の一実施例に係り、第
1図はタイム・シエアリング・システムの概略構成を示
したブロック図、第2図(a)は入力回数データの一例
を示すグラフ、同図[有])は入力時間データの一例を
示すグラフ、第3図は各端末機器への割り当て時間を示
したタイム・チャートである。
また、第4図ないし第5図は従来技術に係り、第4図は
タイム・シエアリング・システムの概略構成を示したブ
ロック図、第5図は各端末機器への割り当て時間を示し
たタイム・チャートである。
1・・・中央処理装置
2・・・フロント・エンド・コンピュータ3・・・状況
記憶部 4・・・利用状況計測部5・・・タイム・
スケジューラ1 to 3 relate to an embodiment of the present invention, in which FIG. 1 is a block diagram showing a schematic configuration of a time sharing system, and FIG. 2(a) shows an example of input frequency data. The graph shown in FIG. 3 is a graph showing an example of input time data, and FIG. 3 is a time chart showing time allocated to each terminal device. Furthermore, FIGS. 4 and 5 relate to the prior art, where FIG. 4 is a block diagram showing a schematic configuration of a time sharing system, and FIG. 5 is a time chart showing time allocated to each terminal device. It is. 1...Central processing unit 2...Front end computer 3...Situation storage section 4...Usage situation measurement section 5...Time...
scheduler
Claims (1)
各端末機器からの入力情報を時分割で処理するタイム・
シエアリング・システムにおいて、前記各端末機器のコ
ンピュータ資源利用状況を計測する計測手段と、計測手
段からの計測データに基づいて、各端末機器へのコンピ
ュータ資源の割り当てを制御する制御手段とを備えたこ
とを特徴とするタイム・シエアリング・システム。(1) Allocate computer resources to multiple terminal devices,
Time-sharing system that processes input information from each terminal device in a time-sharing manner.
The sharing system includes a measuring means for measuring the computer resource utilization status of each terminal device, and a control means for controlling the allocation of computer resources to each terminal device based on the measurement data from the measuring means. A time sharing system featuring
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP23757289A JPH0399355A (en) | 1989-09-13 | 1989-09-13 | time sharing system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP23757289A JPH0399355A (en) | 1989-09-13 | 1989-09-13 | time sharing system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0399355A true JPH0399355A (en) | 1991-04-24 |
Family
ID=17017305
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP23757289A Pending JPH0399355A (en) | 1989-09-13 | 1989-09-13 | time sharing system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0399355A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7386465B1 (en) | 1999-05-07 | 2008-06-10 | Medco Health Solutions, Inc. | Computer implemented resource allocation model and process to dynamically and optimally schedule an arbitrary number of resources subject to an arbitrary number of constraints in the managed care, health care and/or pharmacy industry |
-
1989
- 1989-09-13 JP JP23757289A patent/JPH0399355A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7386465B1 (en) | 1999-05-07 | 2008-06-10 | Medco Health Solutions, Inc. | Computer implemented resource allocation model and process to dynamically and optimally schedule an arbitrary number of resources subject to an arbitrary number of constraints in the managed care, health care and/or pharmacy industry |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109784930B (en) | A method, device, electronic device and medium for processing blockchain transaction data | |
| JPH02249055A (en) | Multiprocessor system, multiprocessing method and work allocation method | |
| US6473780B1 (en) | Scheduling of direct memory access | |
| JPS5812611B2 (en) | Data Tensou Seigiyohoushiki | |
| JPS5942338B2 (en) | microprogram computer | |
| JP2003131819A5 (en) | ||
| JPH0399355A (en) | time sharing system | |
| KR930005725B1 (en) | Interruption control for central processor | |
| EP0425194A2 (en) | Computer system | |
| JPS62210546A (en) | Job schedule processing system | |
| JP2021092904A (en) | CPU resource management device | |
| CN112748883A (en) | IO request pipeline processing device, method, system and storage medium | |
| JPH0612395A (en) | Task allocation method in multiprocessor system | |
| CN120448074B (en) | Data processing methods, devices, storage media, and products based on execution engines | |
| JPS6152761A (en) | Arithmetic unit | |
| JPS6089258A (en) | Space assignment controlling system of direct access volume | |
| JP2000132411A (en) | Dispatch device, assigning method for cpu, and storage medium stored with dispatch program | |
| CN120029949A (en) | Direct memory access controller task management method, device, equipment and medium | |
| JPH05128077A (en) | Method for distributed processing plural computer system | |
| JPS6143369A (en) | Multi-processor system | |
| JPS59135557A (en) | Information processor | |
| JPS63300350A (en) | Task schedule system for multiprocessor system | |
| CN118656313A (en) | A multi-channel dynamic cache management method, system, device and medium thereof | |
| JPS63244161A (en) | Dma accessible computer system | |
| CN111858011A (en) | A multi-data stream task processing method, device, device and storage medium |