JPS6126140A - Data exchange system - Google Patents

Data exchange system

Info

Publication number
JPS6126140A
JPS6126140A JP14684784A JP14684784A JPS6126140A JP S6126140 A JPS6126140 A JP S6126140A JP 14684784 A JP14684784 A JP 14684784A JP 14684784 A JP14684784 A JP 14684784A JP S6126140 A JPS6126140 A JP S6126140A
Authority
JP
Japan
Prior art keywords
data
program
exchange
input
data exchange
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
JP14684784A
Other languages
Japanese (ja)
Inventor
Tetsuo Machida
哲夫 町田
Kojiro Miyashita
宮下 幸次郎
Takashi Nakamura
中村 昂
Kimio Tanaka
公男 田中
Kuniaki Tabata
邦晃 田畑
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.)
Hitachi Microcomputer System Ltd
Hitachi Ltd
Original Assignee
Hitachi Ltd
Hitachi Microcomputer Engineering Ltd
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 Hitachi Ltd, Hitachi Microcomputer Engineering Ltd filed Critical Hitachi Ltd
Priority to JP14684784A priority Critical patent/JPS6126140A/en
Publication of JPS6126140A publication Critical patent/JPS6126140A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To exchange data between a data sending side program and a data receiving side program by transferring data existing in an output buffer of the data transmitting program to an input buffer of the data receiving side program. CONSTITUTION:When a data exchange request is outputted, a data exchange program 20 reads out respective conditions of the data receiving and transmitting sides from an exchange control table 30. Then, data having length indicated by input data length are copied from an area specified by an address in the output buffer 13 to an area specified by an address in the input buffer 14. The updating of the exchange control table 30 is executed by deleting the conditions of the receiving and transmitting sides which are related to the data exchange executed at present from the exchange control table 30. Similarly to the input of an input completion signal from an input device 16 to the receiving side program, the receiving side program is started to end the processing of the data exchange program 20.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、マルチプログラムシステムにおいて、複数の
プログラム間でデータを相互に交換するための方式に係
り、特に本来他プログラムとのデータ交換を前提としな
いプログラムをも、データ交換可能とするに好適なデー
タ交換方式に関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a method for mutually exchanging data between a plurality of programs in a multi-program system, and in particular, relates to a method for mutually exchanging data between multiple programs in a multi-program system, and in particular, a system that is originally intended for exchanging data with other programs. The present invention relates to a data exchange method suitable for enabling data exchange even with programs that do not have the same program.

〔発明の背景〕[Background of the invention]

従来、各種の合理化・省力化装置の開発は、単能機から
多能機へと相移して来た。すなわち、第1期として、1
つの機能を1つの装置上で実現する単能機が開発される
。このような単能機が種々開発された後に、第2期とし
て、複数の機能を同一の装置上で実現する多能機が開発
される。
Conventionally, the development of various rationalization and labor-saving devices has shifted from single-function machines to multi-function machines. In other words, as the first period, 1
A single-function device is developed that realizes two functions on one device. After various such single-function devices have been developed, multi-function devices that realize multiple functions on the same device are developed in the second stage.

このような開発動向は、現在のオフィスオートメーショ
ン(OA)システムも例外ではなく、第1期として、デ
ータ処理用のオフィスコンピュータや、文書処理用のワ
ードプロセッサ等が開発された。引続き、現在は第2期
として、複数の機能が実現できるパーソナルコンピュー
タやワークステーションの開発が進められている。ただ
し、これらの多機能システムでは、複数の機能が各々独
立に動作するだけである。換言すれば、従来の単能機が
同一の装置を共有しているレベルに留まっており、複数
の機能が有機的に結合されている訳ではない。従って、
現段階では、例えば、データベースを検索し、その結果
に応じて、報告書の文章を変更したり、あるいは文章中
に検索結果を差込む、更に出来上った報告書を配布・伝
送する等等の複数機能にまたがる処理は実現できない。
Current office automation (OA) systems are no exception to this development trend; in the first period, office computers for data processing, word processors for document processing, and the like were developed. Currently in the second phase, development of personal computers and workstations that can implement multiple functions is underway. However, in these multifunctional systems, multiple functions operate independently. In other words, conventional single-function machines share the same device, and multiple functions are not organically combined. Therefore,
At this stage, for example, we can search a database, change the text of the report depending on the results, insert the search results into the text, and distribute and transmit the completed report. Processing that spans multiple functions cannot be realized.

これを実現するには、各単機能プログラム間で相互にデ
ータを交換できるように、各プログラムを改造せねばな
らない。この改造には、プログラム内容を熟知している
ことが要求されるが、一般に、市販の流通ソフトウェア
の場合は、その内容は公開されないことが多いので、こ
の改造は非常に困難である。このように、流通ソフトウ
ェアを含めた、データ交換による機能統合化は、実現不
可能であった。
To achieve this, each program must be modified so that data can be exchanged between each single-function program. This modification requires a thorough knowledge of the program contents, but in general, in the case of commercially available distributed software, the contents are often not made public, so this modification is extremely difficult. In this way, it has been impossible to integrate functions through data exchange, including distribution software.

〔発明の目的〕[Purpose of the invention]

本発明は、上記のようなデータ交換を、プログラム改造
を必要とせずに実現することを目的とする。すなわち、
既存の市販流通ソフトウェアをも含めて、プログラム間
でのデータ交換を可能とし、機能の有機的統合化を実現
する手段を提供せんとするものである。
An object of the present invention is to realize data exchange as described above without requiring modification of the program. That is,
The aim is to enable data exchange between programs, including existing commercial distribution software, and to provide a means to realize organic integration of functions.

〔発明の概要〕 内容が公開されない市販流通ソフトウェアであっても、
入出力装置とのインタフェースや人出力バツファについ
ては、その性質上公開されることが多い。本発明では、
この点に着目し、入出力バッファを介してデータ交換を
実現する。すなわち、データ送り側プログラムの出力バ
ッファ内に存在するデータを、データ受は側プログラム
の入力バッファ内に転記することによって、両プログラ
ム間のデータ交換を実現する方式を採る。
[Summary of the invention] Even if it is commercially distributed software whose contents are not made public,
Due to their nature, interfaces with input/output devices and human output buffers are often made public. In the present invention,
Focusing on this point, data exchange is realized through input/output buffers. That is, a method is adopted in which data existing in the output buffer of the data sending program is transferred to the input buffer of the data receiving program, thereby realizing data exchange between the two programs.

゛ 〔発明の実施例〕 以下、本発明を実施例により詳細に説明する。゛ [Embodiments of the invention] Hereinafter, the present invention will be explained in detail with reference to Examples.

本発明は、従来無関係に動作していた2つのプログラム
間に、第1図の太矢印に示す如く、データ授受の関係を
つけることである。送り側プログラム11.および受は
側プログラム12は共に、相互にデータを交換すること
を意識しない。換言すれば、送り側プログラム11は、
出力装置15にデータを出力するべく、出力バッファ1
3にデータを記入する。また、受は側プログラム12は
、入力装置16から入力されたデータとして、入力バッ
ファ14のデータを取込む。
The present invention is to create a data exchange relationship between two programs that conventionally operated unrelatedly, as shown by the thick arrows in FIG. Sending side program 11. Both the receiving program 12 and the receiving program 12 are unaware of mutually exchanging data. In other words, the sending program 11 is
In order to output data to the output device 15, the output buffer 1
Enter the data in 3. The receiving program 12 also takes in data from the input buffer 14 as data input from the input device 16.

太矢印のデータ移動は、ユーザからの指示により、デー
タ交換プログラムが実行する。すなわち、データ交換プ
ログラムは、送り側プログラム11の出力バッファ13
上の指定された領域のデータを、受は側プログラム12
の入力バッファ14上の指定領域にコピーする。この処
理の概要を第2図に示す。図に示す如く、データ交換処
理は、データ交換プログラム20.交換管理テーブル3
0゜および交換管理テーブル作成プログラム40によっ
て実行される。以下、各々について説明する。
The data movement indicated by the thick arrow is executed by the data exchange program based on instructions from the user. That is, the data exchange program uses the output buffer 13 of the sending program 11.
The data in the specified area above is sent to the receiving program 12.
Copy it to the specified area on the input buffer 14 of . An outline of this process is shown in FIG. As shown in the figure, the data exchange process is performed by the data exchange program 20. Exchange management table 3
0° and the exchange management table creation program 40. Each will be explained below.

第3図に、データ交換プログラム20の処理フローを示
す。
FIG. 3 shows the processing flow of the data exchange program 20.

データ交換プログラム20は、受は側プログラム12の
入力要求により起動される。その後、本プログラムは、
データ交換要求の有無をフラグによってチェックする(
図中21)。データ交換要求がある場合には、従来通り
、入力装置1t16からデータを入力する(図中27)
。一方、データ交換要求がある場合には、データ受は側
、およびデータ送り側の各条件を、交換管理テーブル3
oがら読出す(図中22.23)。データ受は側条性と
は、入力バッファ14の先頭アドレス、および入力デー
タ長である。送り側の条件とは、送り側プログラム11
のIDと出力バッファ13のアドレスである。第2図中
24のデータコピーとは、上記の出力バッファ13のア
ドレスで示される領域から、入力バッファ14のアドレ
スで示される領域に、入力データ長で示される長さのデ
ータをコピーすることである。交換管理テーブル3oの
更新とは、今実行したデータ交換に関する、受は側およ
び送り側の条件を、交換管理テーブルから削除する処理
である。最後に、受は側プログラム12に、入力装置1
6から入力完了の信号が入るのと同様の方式によって、
受は側プログラム12に起動をかけ、データ交換プログ
ラム20の処理を終了する。
The data exchange program 20 is activated by an input request from the receiving program 12. After that, the program will
Checks whether there is a data exchange request using a flag (
21) in the figure. If there is a data exchange request, input the data from the input device 1t16 as before (27 in the figure)
. On the other hand, when there is a data exchange request, the conditions on the data receiving side and the data sending side are stored in the exchange management table.
(22 and 23 in the figure). The lateral characteristics of the data receiver are the start address of the input buffer 14 and the input data length. The sender's conditions are the sender's program 11.
ID and the address of the output buffer 13. Data copy 24 in FIG. 2 means copying data of the length indicated by the input data length from the area indicated by the address of the output buffer 13 to the area indicated by the address of the input buffer 14. be. Updating the exchange management table 3o is a process of deleting the conditions on the receiving side and the sending side regarding the data exchange just executed from the exchange management table. Finally, the receiver sends the input device 1 to the side program 12.
By the same method as input completion signal from 6,
The receiver activates the side program 12 and ends the processing of the data exchange program 20.

次に、上記のデータ交換プログラム20が参照する交換
管理テーブル30について説明する。このテーブルの構
成を、第4図に示す。
Next, the exchange management table 30 referred to by the data exchange program 20 will be explained. The structure of this table is shown in FIG.

交換管理テーブル30は、受は側プログラム12ごとに
データを保持している。1つの受は側プログラム12に
対応するデータは、受は側条件として、入力バッファ先
頭アドレス31と、入力データ長32.送り側条件とし
て、送り側プログラムID33と、出力バッファアドレ
ス34から成る。これらの組を複数組持ち、受は側プロ
グラム12から、入力要求が来るたびに、このテーブル
の順序に従って、データ交換を実行する。所定のデータ
交換が終了すると、データ交換プログラム20が、今実
行したデータの組を削除し、交換管理テーブル30の順
序を更新する。このテーブル更新によって、ある受は側
プログラム12に関するデータ交換要求がなくなった場
合、データ交換要求の有無を示すフラグをリセッI〜す
る。一方、データ交換要求が発生した場合には、このフ
ラグをセットする。
The exchange management table 30 holds data for each receiving side program 12. The data corresponding to one receiving side program 12 has the input buffer start address 31, input data length 32 . The sending side condition consists of the sending side program ID 33 and the output buffer address 34. It has a plurality of these sets and executes data exchange according to the order of this table every time an input request comes from the receiving program 12. When a predetermined data exchange is completed, the data exchange program 20 deletes the currently executed data set and updates the order of the exchange management table 30. As a result of this table update, when a data exchange request regarding the side program 12 disappears, a certain receiver resets a flag indicating the presence or absence of a data exchange request. On the other hand, if a data exchange request occurs, this flag is set.

上記のデータ交換要求の発生は、ユーザからの指示によ
り、交換管理テーブル作成プログラム40が実行する。
The generation of the data exchange request described above is executed by the exchange management table creation program 40 based on instructions from the user.

すなわち、このプログラムは、ユーザから、i)受は側
プログラムより、ii)入力バッファ先頭アドレス、止
)入力データ長、iv)送り側ブロクラムID、v)出
力バッファアドレス、が入力されると、i)受は側プロ
グラムIDに対応するテーブルの最終欄に、対応するデ
ータを書込む。もし今記入したデータが、その受は側プ
ログラム12に対して唯一のデータ交換要求である場合
は、データ交換要求の有無を示すフラグをセットする。
In other words, when the user inputs i) the receiver's program, ii) the input buffer start address, input data length, iv) the sender's block ID, and v) the output buffer address, ) The receiver writes the corresponding data into the last column of the table corresponding to the side program ID. If the data just entered is the only data exchange request to the receiver side program 12, a flag indicating the presence or absence of a data exchange request is set.

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

以上、実施例を用いて説明した如く、本発明によれば、
i)データ交換プログラム20、ii)交換管理テーブ
ル30、およびji)交換管理テーブル作成プログラム
40とによって、プログラム間のデータ交換を実行する
。このデータ交換に際しては、出力バツファ13.およ
び入力バッファ14に関する情報のみを用いるので、既
存のプログラムを一切変更する必要がなく、かつ、内容
が明示されない市販の流通ソフトウェアをも、データ交
換の対象とすることができる。。
As described above using the embodiments, according to the present invention,
Data exchange between programs is executed by i) data exchange program 20, ii) exchange management table 30, and ji) exchange management table creation program 40. During this data exchange, the output buffer 13. Since only the information regarding the input buffer 14 is used, there is no need to change existing programs at all, and even commercially available distributed software whose contents are not specified can be used as a target for data exchange. .

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

第1図は、プログラム間データ交換の説明図、第2図は
、本発明の構成図、第3図は、データ交換プログラムの
処理フロー、第4図は、交換管理テーブルの構成図であ
る。 11・・送り側プログラム、12・・・受は側プログラ
ム、13・・・出力バッファ、14・・・入力バッファ
、15・・出力装置、16・・・入力装置、2o・・・
データ交換プログラム、30・・・交換管理テーブル、
4゜χ 1 図 第2 ロ 第3 図 第40
FIG. 1 is an explanatory diagram of data exchange between programs, FIG. 2 is a configuration diagram of the present invention, FIG. 3 is a processing flow of a data exchange program, and FIG. 4 is a configuration diagram of an exchange management table. 11... Sending side program, 12... Receiving side program, 13... Output buffer, 14... Input buffer, 15... Output device, 16... Input device, 2o...
Data exchange program, 30...exchange management table,
4゜χ 1 Figure 2 B Figure 3 Figure 40

Claims (1)

【特許請求の範囲】[Claims] あるプログラムの出力バッファを読出す機能と、読出し
たデータを別のプログラムの入力バッファに書込む機能
と、出力バッファの読出しアドレス、読出しデータ長、
入力バッファの書込みアドレスとを管理するテーブルと
、このテーブルを作成・更新する機能とを設けたことを
特徴とするデータ交換方式。
The function to read the output buffer of one program, the function to write the read data to the input buffer of another program, the read address of the output buffer, the read data length,
A data exchange method characterized by providing a table for managing write addresses of input buffers and a function for creating and updating this table.
JP14684784A 1984-07-17 1984-07-17 Data exchange system Pending JPS6126140A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14684784A JPS6126140A (en) 1984-07-17 1984-07-17 Data exchange system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14684784A JPS6126140A (en) 1984-07-17 1984-07-17 Data exchange system

Publications (1)

Publication Number Publication Date
JPS6126140A true JPS6126140A (en) 1986-02-05

Family

ID=15416879

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14684784A Pending JPS6126140A (en) 1984-07-17 1984-07-17 Data exchange system

Country Status (1)

Country Link
JP (1) JPS6126140A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06119189A (en) * 1992-05-21 1994-04-28 Nec Corp Inter-process interface system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06119189A (en) * 1992-05-21 1994-04-28 Nec Corp Inter-process interface system

Similar Documents

Publication Publication Date Title
US4649473A (en) Flexible data transmission for message based protocols
EP0205945B1 (en) Process transparent multi storage mode data transfer and buffer control
US5909553A (en) Systems and methods for controlling the transmission of relatively large data objects in a communications system
US5056003A (en) Distributed data management mechanism
US5218713A (en) Distributed data management mechanism for handling a data stream
JP2004302556A (en) Data sharing method between a plurality of computer systems, and disk controller
CA1244142A (en) Distributed data management mechanism
JPS6126140A (en) Data exchange system
JPS59220866A (en) Distributed processing system
JP2005032171A (en) Communication control system between functional modules for data sharing, communication control method between functional modules, communication control program between functional modules, and its recording medium
JPH04107741A (en) Draw-out system for service procedure in rpc
JP2812274B2 (en) Transaction load balancing system for loosely coupled multi-computer systems
JPH04360248A (en) Remote file updating system
JP2734022B2 (en) Shared file exclusive control method
JPS6327936A (en) File management method
JPS60157642A (en) Automatic file staging system
JP2746952B2 (en) Image processing method
JP2569026B2 (en) Program execution method for multi-computer system
JPH02118841A (en) Input queue control system
JPH05158846A (en) Data transmitting system for computer network
JPH0612388A (en) Access system for decentralized file
JPH02213959A (en) Saving system for file capacity of data base system
JPS6314260A (en) System for generating communication control program
JPS6380345A (en) Common share controlling system for decentralized type data base management system
King The HELIOS Distributed Operating System