JPH01281557A - Load distributing system for computer processing - Google Patents

Load distributing system for computer processing

Info

Publication number
JPH01281557A
JPH01281557A JP11320788A JP11320788A JPH01281557A JP H01281557 A JPH01281557 A JP H01281557A JP 11320788 A JP11320788 A JP 11320788A JP 11320788 A JP11320788 A JP 11320788A JP H01281557 A JPH01281557 A JP H01281557A
Authority
JP
Japan
Prior art keywords
program
processing
data
parallel
executed
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
JP11320788A
Other languages
Japanese (ja)
Inventor
Yutaka Takao
高尾 裕
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 JP11320788A priority Critical patent/JPH01281557A/en
Publication of JPH01281557A publication Critical patent/JPH01281557A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To distribute a load and to highly efficiently execute computer processing by providing the title system with a program group for mutually transmitting/receiving data and a processor for executing a program in parallel. CONSTITUTION:At the time of being started, an input processing program 5 in the processor 2 executes a program start instruction 7 for starting a slip printing processing program 6 to be immediately executed in parallel. After executing the input processing of items corresponding to a slip, the program 5 immediately writes data to be sent to an executing program 6 in a common memory area 8 by using a data transfer instruction 9 and continuously transfers its operation to the input processing of the succeeding slip. On the other hand, the program 6 always monitors whether data are inputted to the area 8 or not,and at the time of its input, receives the data by using the instruction 9 and starts the slip printing processing operation of the data. Consequently, the input processing of the program 5 and the slip printing processing of the program 6 can be executed in parallel.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はコンピュータ処理の負荷分散方式に関し、特に
コンピュータ処理の負荷を複数の処理に分散させるコン
ピュータ処理の負荷分散方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a computer processing load distribution method, and particularly to a computer processing load distribution method for distributing the computer processing load among a plurality of processes.

〔従来の技術〕[Conventional technology]

従来のコンピュータ処理の負荷分散方式では、一つのプ
ログラムの中で並行実行可能な命令を使用して、複数の
命令の処理を並行して実行させる方式と、人手を止して
、複数のプログラムを並行して実行させ、それぞれで処
理したデータを人手を介して受渡す方式とがある。
Conventional computer processing load balancing methods use instructions that can be executed in parallel within a single program to execute the processing of multiple instructions in parallel; There is a method in which the processes are executed in parallel and the data processed by each process is transferred manually.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかし、上述した従来のコンピュータ処理の負荷分散方
式の前者は、並行して実行可能な命令が一部の命令(例
えば、コボル言語では、WRITE命令や5END命令
など〉だけに限られてしまい、大多数の命令が並行して
処理することができないこととなる。
However, in the former of the conventional computer processing load distribution methods described above, the instructions that can be executed in parallel are limited to only some instructions (for example, in the Kobol language, the WRITE instruction and 5END instruction), and the number of instructions that can be executed in parallel is limited. This means that a large number of instructions cannot be processed in parallel.

このため、前者は、コンピュータ処理の負荷分散の効果
が並行して実行可能な一部の命令の処理だけに限られて
しまうという欠点がある。
Therefore, the former method has the disadvantage that the effect of distributing the computer processing load is limited to the processing of some instructions that can be executed in parallel.

また、上述した従来のコンピュータ処理の負荷分散方式
の後者は、並行処理させる複数のプログラムをそれぞれ
人手で投入し、各プログラムで処理したデータを再び人
手で受渡すので、操作に手間がかかり、場合によっては
、かえって処理能力本発明の目的は、並行して実行する
複数のプログラムの処理に負荷を分散して、目的とする
コンピュータ処理を能率よく実行することができるコン
ピュータ処理の負荷分散方式を提供することにある。
In addition, in the latter of the conventional computer processing load balancing methods mentioned above, multiple programs to be processed in parallel are manually input, and the data processed by each program is handed over again manually, which is time-consuming and may cause problems. An object of the present invention is to provide a computer processing load distribution method that can efficiently execute target computer processing by distributing the load to the processing of multiple programs that are executed in parallel. It's about doing.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のコンピュータ処理の負荷分散方式は、(A)複
数のプログラムを並行して実行させることができる処理
装置、 (B)前記処理装置上で実行中のプログラムから、前記
処理装置上で並行して実行する他のプログラムを起動さ
せることができるプログラム起動命令、 (C)前記処理装置上で実行中の複数のプログラムとの
間で、それぞれデータを受渡すことができる共通メモリ
領域、 (D>前記処理装置上で実行中の複数のプログラムのそ
れぞれで実行することにより、実行したプログラムと前
記共通メモリ領域との間でデータを受渡すことができる
データ受渡し命令、 (E)前記プログラム起動命令な必要に応じて実行する
ことにより、幾つかのプログラムを起動させ、それらの
プログラムの相互間で前記共通メモリ領域と前記データ
受渡し命令とを使用して、互いに必要なデータを受渡し
ながら、それらのプログラムを並行して実行することに
より、それぞれのプログラムの処理で負荷を分担して目
的とするコンピュータ処理を行うことができるプログラ
ム群、 をD’ifrえて構成されている。
The computer processing load distribution method of the present invention includes (A) a processing device that can execute a plurality of programs in parallel; (C) a common memory area that can transfer data to and from a plurality of programs running on the processing device; (D> (E) a data transfer instruction capable of transferring data between the executed program and the common memory area by executing each of the plurality of programs being executed on the processing device; (E) the program startup instruction; By executing as necessary, several programs are activated, and the programs are transferred to each other while passing necessary data between them using the common memory area and the data transfer instruction. D'ifre is a group of programs that can perform the target computer processing by sharing the load with the processing of each program by executing them in parallel.

[実施例]) 次に本発明の実施例について図面を参照して説明する。[Example]) Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明のコンピュータ処理の負荷分散方式の一
実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a computer processing load distribution method according to the present invention.

第1図に示すシステムは、(X W発行のコンピュータ
処理を行うシステムであり、キーボード1を入力装置と
して、処理装置2の動作により、商品コードやその商品
の数量などを入力し、磁気ディスク装置3に記憶してい
るファイルから、商品コードをキーとして、商品名や単
価などを続出し、商品コード、商品名、単価、数量1合
計金額など伝票に必要な項目を処理装置2で!!集する
ことにより、伝票印字出力装置4で伝票上に印字出力す
ることができる。
The system shown in FIG. 1 is a system that performs computer processing published by From the file stored in 3, using the product code as a key, the product name, unit price, etc. are successively retrieved, and the processing device 2 collects the items necessary for the slip, such as the product code, product name, unit price, and total amount per quantity!! By doing so, it is possible to print out the information on the slip using the slip printing/output device 4.

上記の動作において、処理装置2は、複数のプログラム
を並行して実行することができる機能を有しているので
、キーボード1からの入力と磁気ディスク装置3の読出
しとを一制御する入力処理を行うプログラムである入力
処理プログラム5、および伝票の編集と伝票印字出力装
置4の印字出力とを制御する伝票印字処理を行うプログ
ラムである伝票印字処理プログラム6を、並行して実行
することができる。
In the above operation, the processing device 2 has a function that can execute multiple programs in parallel, so it performs input processing that controls input from the keyboard 1 and reading from the magnetic disk device 3. The input processing program 5, which is a program that performs the processing, and the slip printing processing program 6, which is a program that performs slip printing processing that controls slip editing and printing output by the slip printing output device 4, can be executed in parallel.

この場きに、入力処理プログラム5および(云票印字処
理プログラム6の動作は、次のように行われる。
At this time, the operations of the input processing program 5 and the (invoice printing processing program 6) are performed as follows.

まず、入力処理プログラム5は、処理装置2上で起動さ
れると、直ぐに処理装置2上で並行して実行する他のプ
ログラムである伝票印字処理プログラム6を起動させる
プログラム起動命令7を実行する。
First, when the input processing program 5 is started on the processing device 2, it immediately executes a program starting instruction 7 that starts a slip printing processing program 6, which is another program that is executed in parallel on the processing device 2.

そして、入力処理プログラム5は、伝票−枚分の項目の
入力処理を行った後に、直ちに処理装置2で実行中の伝
票印字処理プログラム6へ送る伝、 票−枚分のデータ
を共通メモリ領域8にデータ受渡し命令9を使用して書
込み、継続して次の伝票の入力処理に移行する。
After the input processing program 5 performs the input processing of the items for each slip, the input processing program 5 immediately sends the data for each slip to the common memory area 8 to the slip printing processing program 6 running in the processing device 2. The data transfer command 9 is used to write data to the data transfer command 9, and the process continues to input the next slip.

一方、伝票印字処理プログラム6は、共通メモリ領域8
に、データが入ったかどうかを常に監視し、伝票印字処
理プログラム6へのデータが入ったときに、データ受渡
し命令9を使用して受取り、受取ったデータの伝票印字
処理の動作を開始する。
On the other hand, the slip printing processing program 6 is stored in the common memory area 8.
It always monitors whether or not data has been input, and when the data is input to the slip printing processing program 6, it receives it using a data transfer command 9 and starts the operation of slip printing processing of the received data.

この結果、入力処理プログラム5の入力処理と伝票印字
処理プログラム6の伝票印字処理とが並行して実行され
ることとなる7 なお、伝票印字処理プログラム6の終了は、入力処理プ
ログラム5からの処理する伝票が終了したことを示す終
了データを受けることにより行われる。
As a result, the input processing of the input processing program 5 and the slip printing processing of the slip printing processing program 6 are executed in parallel. This is done by receiving completion data indicating that the slip has been completed.

このようにして、プログラム群を構成する入力処理プロ
グラム5と伝票印字処理プログラム6とが起動し、これ
らのプログラムの相互間で互いに必要なデータを受渡し
ながら、これらのプログラムを並行して実行することに
より、それぞれのプログラムの処理で負荷を分担して、
目的とする伝票発行のコンピュータ処理を行うことがで
きる8以上述べたように、本実施例のコンピュータ処理
の負荷分散方式は、並行して実行する複数のプログラム
の処理に負荷を分散して、目的とするコンピュータ処理
を能率よく実行することができる。
In this way, the input processing program 5 and the slip printing processing program 6 that constitute the program group are activated, and these programs are executed in parallel while passing necessary data between them. By sharing the load of processing each program,
8. As described above, the computer processing load distribution method of this embodiment distributes the load to the processing of multiple programs that are executed in parallel. This allows computer processing to be carried out efficiently.

〔発明の効果] 以上説明したように、本発明のコンピュータ処理の負荷
分散方式は、並行して実行する複数のプログラムの処理
に負荷を分散して、目的とするコンピュータ処理を能率
よく実行することができるという効果を有している。
[Effects of the Invention] As explained above, the computer processing load distribution method of the present invention is capable of efficiently executing target computer processing by distributing the load among the processing of multiple programs executed in parallel. It has the effect of being able to.

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

第1図は本発明のコンピュータ処理の負荷分散方式の一
実施例を示すブロック図である。 ■・・・・・・キーボード、2・・・・・・処理装置、
3・・・・・・磁気ディスク装置、4・・・・・・伝票
印字出力装置、5・・・・・・人力処理プログラム、6
・・・・・・伝票印字処理プログラム、7・・・・・・
プログラム起動命令、8・・・・・・共通メモリ領域、
9・・・・・・データ受渡し命令。 代理入 弁理士  内厚 昔
FIG. 1 is a block diagram showing an embodiment of a computer processing load distribution method according to the present invention. ■...Keyboard, 2...Processing device,
3...Magnetic disk device, 4...Voucher printing output device, 5...Manual processing program, 6
・・・・・・Voucher printing processing program, 7・・・・・・
Program startup instruction, 8... common memory area,
9...Data transfer command. Represented Patent Attorney Atsushi Uchi

Claims (1)

【特許請求の範囲】 (A)複数のプログラムを並行して実行させることがで
きる処理装置、 (B)前記処理装置上で実行中のプログラムから、前記
処理装置上で並行して実行する他のプログラムを起動さ
せることができるプログラム起動命令、 (C)前記処理装置上で実行中の複数のプログラムとの
間で、それぞれデータを受渡すことができる共通メモリ
領域、 (D)前記処理装置上で実行中の複数のプログラムのそ
れぞれで実行することにより、実行したプログラムと前
記共通メモリ領域との間でデータを受渡すことができる
データ受渡し命令、 (E)前記プログラム起動命令を必要に応じて実行する
ことにより、幾つかのプログラムを起動させ、それらの
プログラムの相互間で前記共通メモリ領域と前記データ
受渡し命令とを使用して、互いに必要なデータを受渡し
ながら、それらのプログラムを並行して実行することに
より、それぞれのプログラムの処理で負荷を分担して目
的とするコンピュータ処理を行うことができるプログラ
ム群、 を備えることを特徴とするコンピュータ処理の負荷分散
方式。
[Scope of Claims] (A) A processing device that can execute multiple programs in parallel; (B) A program that is executed on the processing device to another program that is executed in parallel on the processing device. a program startup instruction that can start a program; (C) a common memory area that can transfer data between multiple programs running on the processing device; (D) a program startup instruction that can start a program; a data transfer instruction capable of transferring data between the executed program and the common memory area by executing it in each of the plurality of programs being executed; (E) executing the program startup instruction as necessary; By starting several programs, the programs are executed in parallel while passing necessary data between them using the common memory area and the data transfer instruction. A computer processing load distribution method comprising: a group of programs capable of performing targeted computer processing by sharing the load among the processing of each program.
JP11320788A 1988-05-09 1988-05-09 Load distributing system for computer processing Pending JPH01281557A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11320788A JPH01281557A (en) 1988-05-09 1988-05-09 Load distributing system for computer processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11320788A JPH01281557A (en) 1988-05-09 1988-05-09 Load distributing system for computer processing

Publications (1)

Publication Number Publication Date
JPH01281557A true JPH01281557A (en) 1989-11-13

Family

ID=14606270

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11320788A Pending JPH01281557A (en) 1988-05-09 1988-05-09 Load distributing system for computer processing

Country Status (1)

Country Link
JP (1) JPH01281557A (en)

Similar Documents

Publication Publication Date Title
GB2326494A (en) A method of performing different data type operations that is invisible to various operating system techniques
JP3090641B2 (en) Parallel data processing system and control method thereof
JPH01281557A (en) Load distributing system for computer processing
JPH08241214A (en) Data processing system
JPH0619775A (en) File tranfer method
JPH1027149A (en) Information processor and its device driver control method
JP2553526B2 (en) Multitasking processor
JP2927049B2 (en) Image processing device
JPS60118966A (en) Job decentralizing processing system
JPH07105150A (en) Job executing device
JPH05101110A (en) Data base arithmetic processing unit
JPS6265164A (en) Maintenance system for commodity information
JPH02201528A (en) Parallel input/output management system for file
JPH0581339A (en) Data processor
JPH0581336A (en) Data base arithmetic processor
JPS584477A (en) Control system for using pointer of plural operation devices
JPH05158852A (en) Computer system device
JPH0392915A (en) Initialization processing method for ram
JPH04220734A (en) Software group transfer mechanism
JPH05224982A (en) Control system for output of debug information
JPS63141128A (en) Continuous job execution system in multi-station system
JPH0690671B2 (en) I / O device access method
JPS62264346A (en) Data processor
JPH0816414A (en) Job quantity control system
JPH04273511A (en) Information processor