JPH02197927A - Data processing system - Google Patents
Data processing systemInfo
- Publication number
- JPH02197927A JPH02197927A JP1843889A JP1843889A JPH02197927A JP H02197927 A JPH02197927 A JP H02197927A JP 1843889 A JP1843889 A JP 1843889A JP 1843889 A JP1843889 A JP 1843889A JP H02197927 A JPH02197927 A JP H02197927A
- Authority
- JP
- Japan
- Prior art keywords
- data
- program
- processed
- input
- data processing
- 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
【発明の詳細な説明】
[産業上の利用分野]
本発明はデータ処理方式に関し、特に複数プログラムが
同時に動作可能な環境を有するデータ処理システムにお
けるデータ処理方式ルこ関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data processing method, and particularly to a data processing method in a data processing system having an environment in which a plurality of programs can operate simultaneously.
従来のこの種のデータ処理方式においては、同時並行動
作中のプログラムの、ある一つのデータ処理プログラム
に対して、他の複数のデータ出力先プログラムから各々
被処理データが入力された場合には、最初に、当該デー
タ処理プログラムに入力された被処理データの演算処理
が終了するまで、他の被処理データは、データ待ちキュ
ーやバッファ等の一時保管バッファに蓄積される。In this type of conventional data processing method, when data to be processed is input to one data processing program from multiple other data output destination programs among programs running simultaneously in parallel, First, other data to be processed is accumulated in a temporary storage buffer such as a data waiting queue or a buffer until the arithmetic processing of the data to be processed inputted to the data processing program is completed.
また、入力された各被処理データ毎にテーブルを生成し
、そのテーブルを用いて各被処理データを演算処理する
ために必要な情報を一時保存あるいは呼出して、時分割
的に複数のデータを処理するようにした方式も知られて
いる。In addition, a table is generated for each input data to be processed, and the table is used to temporarily store or recall the information necessary to perform calculations on each data to be processed, thereby processing multiple data in a time-sharing manner. A method for doing so is also known.
上記従来技術のうち、前者においては、−度に一つの被
処理データしか当該データ処理プログラムによって演算
処理されないため、当該処理プログラムから出力される
処理済みデータを必要とする他のプログラムは、自分が
必要とする処理済みデータが当該処理プログラムによっ
て演算処理されて出力されるまで待たなければならず、
冗長時間を必要とするという問題があった。このため、
通信プログラム等のデータの受渡しを頻繁に行うシステ
ムにおいては、処理速度の大幅な低下を招くことになっ
ていた。Among the above conventional techniques, in the former, only one data to be processed is processed by the data processing program at a time, so other programs that require the processed data output from the processing program are You have to wait until the required processed data is processed and output by the processing program,
There was a problem that redundant time was required. For this reason,
In systems where data such as communication programs are exchanged frequently, this results in a significant reduction in processing speed.
また、上記従来技術の後者においては、複数データを時
分割的にではあるが、同時に演算処理することができ、
処理済みデータを必要とするプログラムのデータ待ち時
間を減少させることが可能であるが、その反面、当該デ
ータ処理プロゲラ内の機構が複雑になり、プログラム開
発者の負担が増加することになるという問題があった。In addition, in the latter of the above-mentioned conventional techniques, multiple data can be processed simultaneously, albeit in a time-division manner,
Although it is possible to reduce the data waiting time of a program that requires processed data, on the other hand, the mechanism within the data processing program becomes complex, which increases the burden on the program developer. was there.
本発明は上記事情に鑑みてなされたもので、その目的と
するところは、従来の技術における上述の如き問題を解
消し、プログラム開発者の開発負荷を増すことなく、前
述の冗長時間を短縮してシステム全体の処理速度を向上
させ得るデータ処理方式を提供することにある。The present invention has been made in view of the above circumstances, and its purpose is to solve the above-mentioned problems in the conventional technology and shorten the redundant time mentioned above without increasing the development load on program developers. The object of the present invention is to provide a data processing method that can improve the processing speed of the entire system.
本発明の目的は、複数のプログラムが同時に動作可能な
環境を有する中央処理装置と、多量のプログラムを記憶
可能な外部記憶装置および入出力手段を有するシステム
における同時並行動作中の複数のプログラム相互間での
データの受渡しに際して、前記同時並行動作中の複数の
プログラム中のある一つのプログラム(データ処理プロ
グラム)に対し、他の複数のプログラムからの被処理デ
ータの入力が略同時に発生した場合、前記データ処理プ
ログラムと同一のプログラムを入力された被処理データ
の数分だけ生成し、該生成したデータ処理プログラムに
より前記入力された被処理データを演算処理させ、その
結果である処理済みデータを出力した後には、前記生成
されたデータ処理プログラムを消去することを特徴とす
るデータ処理方式によって達成される。An object of the present invention is to interoperate between a plurality of programs running simultaneously in a system having a central processing unit having an environment in which a plurality of programs can operate simultaneously, an external storage device capable of storing a large amount of programs, and an input/output means. When transferring data, if input of data to be processed from a plurality of other programs to one program (data processing program) among the plurality of programs running simultaneously in parallel occurs almost simultaneously, The same program as the data processing program is generated for the number of input data to be processed, the generated data processing program performs arithmetic processing on the input data to be processed, and the processed data that is the result is output. This is later achieved by a data processing method characterized by erasing the generated data processing program.
本発明に係るデータ処理方式においては、あるレイヤに
複数のレイヤから略同時に被処理データの入力が発生し
た場合にも、直ちに、制御プログラムにより、そのデー
タ入力のあった個数分だけ当該プログラムが生成され、
入力された被処理データの演算処理を行うため、入力さ
れた被処理データの演算処理終了までの時間が、大幅に
短縮されるという効果がある。In the data processing method according to the present invention, even when data to be processed is input to a certain layer from multiple layers at the same time, the control program immediately generates as many data as the number of data inputs. is,
Since arithmetic processing is performed on the input data to be processed, the time required to complete the arithmetic processing on the input data to be processed is significantly reduced.
また、上述の入力された被処理データの個数分だけデー
タ処理プログラムを生成する段階と、入力された被処理
データを実際に演算処理し、その結果を出力後、当該プ
ログラムを消去する段階とを別のプログラムとすること
により、プログラム発開者の負荷を軽減させることがで
きるという効果もある。Furthermore, the above-mentioned step of generating data processing programs for the number of input data to be processed, and the step of actually performing arithmetic processing on the input data to be processed, outputting the results, and then erasing the program. Using a separate program also has the effect of reducing the load on the program developer.
以下、本発明の実施例を図面に基づいて詳細に説明する
。以下に説明する実施例においては、本発明をOS I
(Open System I nterconne
ction)に準拠した通信システムに適用した場合を
示す。Embodiments of the present invention will be described in detail below with reference to the drawings. In the embodiments described below, the present invention will be described using OS I
(Open System Interconne
This example shows a case in which the system is applied to a communication system compliant with ction).
但し、本発明はこれに限定されるべきものではないこと
は、言うまでもないことである。However, it goes without saying that the present invention is not limited to this.
第2図は単位システムの構成を示す図であり、2−2は
複数のプログラムが同時に動作可能な環境を有する中央
処理装置(CPU)、2−3はキーボード入力装置、2
−4は各種の文字およびイメージ情報を表示するための
表示装置(CRT)、2−5は多量のプログラムやデー
タを記憶可能な外部記憶装置、また、2−7〜2−9は
プリンタ、スキャナ、マウス等の入出力手段を示してい
る。FIG. 2 is a diagram showing the configuration of a unit system, in which 2-2 is a central processing unit (CPU) that has an environment in which multiple programs can run simultaneously, 2-3 is a keyboard input device,
-4 is a display device (CRT) for displaying various text and image information, 2-5 is an external storage device that can store a large amount of programs and data, and 2-7 to 2-9 are printers and scanners. , shows input/output means such as a mouse.
第3図は、本実施例のシステム全体構成を示す図であり
、各システムは、前記CPU2−2.キーボード入力装
置2−31表示装置2−4.外部記憶装置2−5から構
成されるシステムを、通信制御装置(CCU)2−1を
介して通信網2−6に接続したものである。各単位シス
テムは、通信網2−6を介して他のシステムとの通信が
可能である。FIG. 3 is a diagram showing the overall system configuration of this embodiment, and each system includes the CPU 2-2. Keyboard input device 2-31 Display device 2-4. A system comprising an external storage device 2-5 is connected to a communication network 2-6 via a communication control unit (CCU) 2-1. Each unit system is capable of communicating with other systems via the communication network 2-6.
第4図は、システム立上げ時における、中央処理装置(
CPU)2−2内の主メモリ上に存在する前記O3Iの
7レイヤの論理構造の各レイヤ機能を果たすプログラム
を、主メモリ上に生成するための制御用プログラム(以
下、これを「制御プログラム」という)の状況を示す図
である。図中、4−1はアプリケーションプログラムを
生成するためのアプリケーションプログラム用制御プロ
グラム、4−2はプレゼンテーションプログラムを生成
するためのプレゼンテーションプログラム用制御プログ
ラム、以下、同様に、4−3〜4−7は、それぞれ、セ
ツションレイヤ用制御プログラム、hランスポートレイ
ヤ用制御プログラム、ネットワークレイヤ用制御プログ
ラム、データリンクレイヤ用制御プログラム、物理レイ
ヤ用制御プログラムを示している。Figure 4 shows the central processing unit (
A control program (hereinafter referred to as "control program") for generating a program on the main memory that performs each layer function of the 7-layer logical structure of the O3I that exists on the main memory in the CPU) 2-2. FIG. In the figure, 4-1 is an application program control program for generating an application program, 4-2 is a presentation program control program for generating a presentation program, and similarly, 4-3 to 4-7 are , respectively, show a session layer control program, an h-transport layer control program, a network layer control program, a data link layer control program, and a physical layer control program.
第5図は1本実施例のシステムにおける動作の概要を示
すものであり、その意味するところは、入力待ち中のア
プリケーション用制御プログラム4−1は、データが入
力されると、直ちにこれに対してアプリケーションプロ
グラムを生成し、上記入力データの処理を行わせる。生
成されたアプリケーションプログラムは、データ処理を
実行し、処理が終了すると処理結果を次レイヤであるプ
レゼンテーションレイヤに出力すると同時に、自身は消
去する。入力待ち中のプレゼンテーション用制御プログ
ラム4−2は、データが入力されると、直ちにこれに対
してプレゼンテーションプログラムを生成し、上記入力
データの処理を行わせる。FIG. 5 shows an overview of the operation in the system of this embodiment, and what it means is that the application control program 4-1, which is waiting for input, immediately responds to the data when it is input. An application program is generated to process the input data. The generated application program executes data processing, and when the processing is completed, outputs the processing result to the next layer, the presentation layer, and at the same time erases itself. When data is input, the presentation control program 4-2, which is waiting for input, immediately generates a presentation program for the data and processes the input data.
生成されたプレゼンテーションプログラムは、データ処
理を実行し、処理が終了すると処理結果を次レイヤであ
るセツションレイヤに出力すると同時に、自身は消去す
る。以下も同様である。ここで、各レイヤの制御プログ
ラムは、他の複数のプログラムからの被処理データの入
力が略同時に発生した場合、上記各データ処理プログラ
ムと同一のプログラムを入力された被処理データの数分
だけ生成し、該生成したデータ処理プログラムにより前
記入力された被処理データを並行演算処理させ、その結
果である処理済みデータを出力させ、出力と同時に、自
身は消去させる。The generated presentation program executes data processing, and when the processing is completed, outputs the processing result to the session layer, which is the next layer, and at the same time erases itself. The same applies below. Here, when the input of processed data from multiple other programs occurs almost simultaneously, the control program of each layer is generated by the same program as the above-mentioned each data processing program for the number of input processed data. Then, the input data to be processed is processed in parallel by the generated data processing program, the processed data that is the result is output, and simultaneously with the output, it is erased.
以下、上記制御プログラムの動作の詳細を説明する。な
お、上記7レイヤの各レイヤとも、制御プログラムの動
作は同じため、以下の説明では。The details of the operation of the control program will be explained below. Note that the control program operates the same in each of the seven layers, so the following explanation will be given.
第5レイヤのセツションレイヤを例にとって説明する。The explanation will be given by taking the fifth layer, the session layer, as an example.
第1図は、前述のセツションレイヤ用制御プログラム、
すなわち、セツションレイヤ機能を実現するためのセツ
ションレイヤプログラムの制御プログラムの概略動作フ
ローである。図において、セツションレイヤより上位の
レイヤ、または、下位のレイヤから被処理データがセツ
ションレイヤ用制御プログラムに入力される(ステップ
11)と、制御プログラムは、その中央処理装置(cp
u)により実現されている環境(O8)に依存したセツ
ションレイヤプログラムを生成する命令を実行すること
により、主メモリ上にセツションレイヤプログラムを生
成する(ステップ12)。なお、この生成は、実際には
、前述の外部記憶装置等から用込むことで良い。次に、
制御プログラムは、生成されたセツションレイヤプログ
ラムに対して、被処理データを出力しくステップ13)
、再び、データ入力待ちとなる。FIG. 1 shows the above-mentioned session layer control program,
That is, this is a schematic operational flow of a control program of a session layer program for realizing a session layer function. In the figure, when data to be processed is input to the session layer control program from a layer higher than the session layer or a layer lower than the session layer (step 11), the control program controls the central processing unit (cp
A session layer program is generated on the main memory by executing an instruction for generating a session layer program depending on the environment (O8) implemented by u) (step 12). Note that this generation may actually be obtained from the aforementioned external storage device or the like. next,
The control program outputs the processed data to the generated session layer program (step 13).
, the system waits for data input again.
第6図は、セツションプログラムの概略フローである。FIG. 6 is a schematic flowchart of the session program.
セツションプログラムは、上記ステップ13でセツショ
ンレイヤ用制御プログラムから出力された被処理データ
を入力しくステップ51)、そのデータが上位レイヤか
ら出力されたものか、あるいは、下位レイヤから出力さ
れたものかを判定する(ステップ52)。上位レイヤか
ら出力された被処理データである場合には、その被処理
データに各種演算処理を行った後、該データにセツショ
ンレイヤ独自の情報データ(以下、「セツション情報デ
ータ」という)を付加しくステップ53)、下位レイヤ
へ処理済みデータとして出力する(ステップ54)。The session program inputs the processed data output from the session layer control program in step 13 (step 51), and determines whether the data is output from an upper layer or a lower layer. (step 52). In the case of processed data output from an upper layer, after performing various arithmetic processing on the processed data, information data unique to the session layer (hereinafter referred to as "session information data") is added to the data. (step 53), and outputs it as processed data to the lower layer (step 54).
また、下位レイヤから出力された被処理データである場
合には、その被処理データからセツションレイヤで必要
なセツション情報データを取出しくステップ55)、そ
の情報を基に演算処理を行い、結果を、上位レイヤへ処
理済みデータとして出力する(ステップ56)。上位レ
イヤままたは下位レイヤへ処理済みデータを出力した後
に、セッションプログラムは、そのO8に依存したプロ
セス終了命令を実行する(ステップ57)ことにより、
主メモリ上から自分自身を消去する。If the processed data is output from a lower layer, step 55) extracts the session information data necessary for the session layer from the processed data, performs arithmetic processing based on that information, and outputs the result. , and output as processed data to the upper layer (step 56). After outputting the processed data to the upper layer or lower layer, the session program executes a process termination instruction depending on the O8 (step 57), thereby
Erases itself from main memory.
上記フローチャートの右側には、下位レイヤから出力さ
れた被処理データに対するセツション情報データの付加
動作を、また、左側には、上位レイヤから出力された被
処理データからのセツション情報データの取出し動作を
示した。The right side of the above flowchart shows the operation of adding session information data to the processed data output from the lower layer, and the left side shows the operation of extracting session information data from the processed data output from the upper layer. Ta.
本実施例においては、上述の如き動作により、あるレイ
ヤに複数のレイヤから略同時に被処理データの入力が発
生した場合にも、直ちに、制御プログラムにより、その
データ入力のあった個数だけ当該プログラムが生成され
、入力された被処理データの演算処理を行うため、入力
された被処理データの演算処理終了までの時間が、大幅
に短縮されるという効果がある。In this embodiment, due to the above-described operation, even when data to be processed is input to a certain layer from multiple layers at the same time, the control program immediately executes the program by the number of data inputs. Since arithmetic processing is performed on the generated and input data to be processed, there is an effect that the time required to complete the arithmetic processing on the input data to be processed is significantly shortened.
なお、上記実施例の説明においては、第5レイヤのセツ
ションレイヤを例にとったが、他のレイヤにおける動作
も同様である。In the description of the above embodiment, the session layer of the fifth layer was taken as an example, but the operations in other layers are similar.
以上述べた如く、本発明によれば、複数のプログラムが
同時に動作可能な環境を有する中央処理装置と、多量の
プログラムを記憶可能な外部記憶装置および入出力手段
を有するシステムにおける同時並行動作中の複数のプロ
グラム相互間でのデータの受渡しに際して、前記同時並
行動作中の複数のプログラム中のある一つのデータ処理
プログラムに対し、他の複数のプログラムからの被処理
データの入力が略同時に発生した場合、前記データ処理
プログラムと同一のプログラムを入力された被処理デー
タの数分だけ生成し、該生成したデータ処理プログラム
により前記入力された被処理データを演算処理させ、そ
の結果である処理済みデータを出力した後には、前記生
成されたデータ処理プログラムを消去するようにしたの
で、プログラム開発者の開発負荷を増すことなく、冗長
時間を短縮してシステム全体の処理速度を向上させ得る
データ処理方式を実現できるという顕著な効果を奏する
ものである。As described above, according to the present invention, a central processing unit having an environment in which a plurality of programs can operate simultaneously, an external storage device capable of storing a large amount of programs, and an input/output means can perform simultaneous parallel operations. When transferring data between multiple programs, input of data to be processed from multiple other programs occurs almost simultaneously to one data processing program among the multiple programs running simultaneously in parallel. , generate the same program as the data processing program for the number of input data to be processed, cause the generated data processing program to perform arithmetic processing on the input data to be processed, and generate the processed data as a result. After outputting, the generated data processing program is deleted, so a data processing method that can shorten redundant time and improve the processing speed of the entire system without increasing the development load on program developers has been developed. This has the remarkable effect of being achievable.
第1図は本発明の一実施例であるシステムにおけるセツ
ションレイヤプログラム制御プログラムの概略動作フロ
ー図、第2図は単位システムの構成を示す図、第3図は
実施例のシステム全体構成を示す図、第4図はシステム
立上げ時における主メモリ上に存在する制御用プログラ
ムの状況を示す図、第5図は実施例のシステムにおける
動作の概要を示す図、第6図はセツションプログラムの
概略フロー図である。
2−1=通信制御装置(CCU)、2−2=中央処理装
置(CPU)、2−3:キーボード入力装置、2−4=
表示装置(CRT)、2−5:外部記憶装置、2−6=
通信網、4−1=アプリケーシヨンプログラム用制御プ
ログラム、4−2:プレゼンテーションプログラム用制
御プログラム、4−3=セツシヨンレイヤ用制御プログ
ラム、4−4ニドランスポートレイヤ用制御プログラム
、4−5:ネットワークレイヤ用制御プログラム、4−
6:データリンクレイヤ用制御プログラム、4−7:物
理レイヤ用制御プログラム、11〜13.51〜57:
処理ステップ。
才
匡Fig. 1 is a schematic operational flow diagram of a session layer program control program in a system that is an embodiment of the present invention, Fig. 2 is a diagram showing the configuration of a unit system, and Fig. 3 is a diagram showing the overall system configuration of the embodiment. 4 shows the status of the control program existing in the main memory at the time of system startup, FIG. 5 shows an overview of the operation of the system of the embodiment, and FIG. 6 shows the session program. It is a schematic flow diagram. 2-1=Communication control unit (CCU), 2-2=Central processing unit (CPU), 2-3: Keyboard input device, 2-4=
Display device (CRT), 2-5: External storage device, 2-6=
Communication network, 4-1 = application program control program, 4-2: presentation program control program, 4-3 = session layer control program, 4-4 transport layer control program, 4-5: network Layer control program, 4-
6: Data link layer control program, 4-7: Physical layer control program, 11-13.51-57:
processing step. talent
Claims (1)
る中央処理装置と、多量のプログラムを記憶可能な外部
記憶装置および入出力手段を有するシステムにおける同
時並行動作中の複数のプログラム相互間でのデータの受
渡しに際して、前記同時並行動作中の複数のプログラム
中のある一つのプログラム(データ処理プログラム)に
対し、他の複数のプログラムからの被処理データの入力
が略同時に発生した場合、前記データ処理プログラムと
同一のプログラムを入力された被処理データの数分だけ
生成し、該生成したデータ処理プログラムにより前記入
力された被処理データを演算処理させ、その結果である
処理済みデータを出力した後には、前記生成されたデー
タ処理プログラムを消去することを特徴とするデータ処
理方式。(1) Data between multiple programs running concurrently in a system that has a central processing unit that has an environment where multiple programs can run simultaneously, an external storage device that can store a large amount of programs, and input/output means When inputting data to be processed from a plurality of other programs to one program (data processing program) among the plurality of programs running simultaneously in parallel occurs almost simultaneously, the data processing program After generating the same program as many times as the input data to be processed, causing the generated data processing program to perform arithmetic processing on the input data to be processed, and outputting the processed data as the result, A data processing method characterized by erasing the generated data processing program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1843889A JPH02197927A (en) | 1989-01-27 | 1989-01-27 | Data processing system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1843889A JPH02197927A (en) | 1989-01-27 | 1989-01-27 | Data processing system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02197927A true JPH02197927A (en) | 1990-08-06 |
Family
ID=11971648
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1843889A Pending JPH02197927A (en) | 1989-01-27 | 1989-01-27 | Data processing system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02197927A (en) |
-
1989
- 1989-01-27 JP JP1843889A patent/JPH02197927A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4922413A (en) | Method for concurrent execution of primitive operations by dynamically assigning operations based upon computational marked graph and availability of data | |
| JPS58151655A (en) | Information processing device | |
| JPS58195966A (en) | Resource switching by user's control for multi-task processing word processor | |
| JPS60176143A (en) | program calling device | |
| JPS62192867A (en) | Work station handling image data | |
| JP2004054916A (en) | Method of executing hardware support communication between processors | |
| EP1770516A1 (en) | A "l" driving method for driving program/instruction and architecture and processor thereof | |
| JPH02197927A (en) | Data processing system | |
| JPH0754467B2 (en) | Data processing device | |
| JP3564327B2 (en) | Graphic processing unit | |
| US5812846A (en) | Method and apparatus for passing control from a first process to a second process | |
| CN121212368B (en) | Inference model processing method and device, electronic equipment and storage medium | |
| JPH01144154A (en) | Distributed processing device using hierarchical structure | |
| JP2657947B2 (en) | Data processing device | |
| JPS61208142A (en) | Communication system between processes | |
| JPH11161506A (en) | Dispatch method for information processor, information processor and storage medium thereof | |
| JPS59218567A (en) | Address overlap checking system | |
| JPH0581336A (en) | Database processing unit | |
| JPH06259393A (en) | Boot control method for parallel computers | |
| JPS60105052A (en) | Virtual computer system | |
| JPH0652052A (en) | Virtual shared memory system | |
| JPH05151137A (en) | Electronic computer device | |
| JPH027157A (en) | High-speed document editing device | |
| JPH04281583A (en) | Data driven type processor | |
| JPS60254228A (en) | Screen display control system in multi-job environment |