JPH04182739A - Message communication system between objects - Google Patents

Message communication system between objects

Info

Publication number
JPH04182739A
JPH04182739A JP31120090A JP31120090A JPH04182739A JP H04182739 A JPH04182739 A JP H04182739A JP 31120090 A JP31120090 A JP 31120090A JP 31120090 A JP31120090 A JP 31120090A JP H04182739 A JPH04182739 A JP H04182739A
Authority
JP
Japan
Prior art keywords
objects
message
control
existence
information
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
JP31120090A
Other languages
Japanese (ja)
Inventor
Hideji Sakuraba
櫻庭 秀次
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP31120090A priority Critical patent/JPH04182739A/en
Publication of JPH04182739A publication Critical patent/JPH04182739A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To communicate a message to an object that is dynamically generated and its existence can not be confirmed by confirming the presence or absence of the object on the other side to the control object controlling the existence of all the objects including newly generated objects. CONSTITUTION:When an object is dynamically generated, the information of the novel object is stored in an object information control part 5 as a control object part 2 by up dating the information in an object information storage part 1 and giving an instruction to an object control part 4. A message transmission is transmitted to the control object part 2 with an index indicating the object of a transmission destination. The control object part 2 confirms whether the object of the transmission destination exists in the object control information storage part 1 or not. In the case of its presence, the control object part 2 transmits the message to the object of the transmission destination. In the case of its absence, the control object part 2 transmits a transmission rejection message to the the object of the originating transmitter. Thus, the transmitting the message to the object that is dynamically generated by other object and its existence can not be confirmed can be made.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、メツセージを受け取ることにより独立して処
理を進めるオブジェクト群によって処理か行われるオブ
ジェクト指向計算モデルにおけるオブジェクト間のメツ
セージ通信方式に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention relates to a method for communicating messages between objects in an object-oriented computational model in which processing is performed by a group of objects that independently proceed with processing by receiving messages. Regarding communication methods.

(従来の技術) 情報処理形態の一つに、゛オブジェクト指向計算モデル
がある。これは、オブジェクトを独立した計算主体であ
ると考え、オブジェクト間の情報交換をメツセージによ
って行うことにより、処理を進める計算モデルである。
(Prior Art) One of the forms of information processing is an object-oriented calculation model. This is a computational model that considers objects as independent computational entities and advances processing by exchanging information between objects through messages.

ところで、このような計算モデルでは、オブジェクトが
動的に生成されることが理想的であり、動的に生成され
たオブジェクトに対応する資源なども動的に結合され利
用されるのが理想的である。
By the way, in such a computational model, it would be ideal for objects to be generated dynamically, and the resources corresponding to the dynamically generated objects would also be dynamically combined and used. be.

しかしながら、従来の実行形態では、動的に生成された
オブジェクトの存在を確認することができないため、メ
ツセージの送り手が送信先として使用できるオブジェク
トが、実行前に既に存在が定義されているオブジェクト
か、送り手が自分自身で動的に生成したオブジェクトの
いずれかに限られてしまうという問題かあった。
However, in conventional execution formats, it is not possible to check the existence of dynamically generated objects, so the objects that the sender of a message can use as destinations are objects whose existence has already been defined before execution. However, there was a problem in that the sender was limited to objects that he or she had dynamically created themselves.

(発明が解決しようとする課題) こ−のようにオブジェクト指向計算モデルにおいては、
動的に生成されたオブジェクトに対応する資源なども動
的に結合され利用されるのが理想的であるか、従来の実
行形態では、そのようなオブジェクトの存在を確認する
ことができないため、メツセージの送り手が送信先とし
て使用できるオブジェクトが、実行前に既に存在が定義
されているオブジェクトか、送り手か自分自身で動的に
生成したオブジェクトのいずれかに限られてしまうとい
う問題があった。
(Problem to be solved by the invention) In this way, in the object-oriented computational model,
Ideally, resources corresponding to dynamically generated objects should be dynamically combined and used, or in conventional execution forms, it is not possible to confirm the existence of such objects. There was a problem in which the objects that a sender could use as a destination were either objects whose existence was already defined before execution, or objects that were dynamically created by the sender or itself. .

本発明は、このような問題を解決するためになされたも
ので、他のオブジェクトによって動的に生成され存在が
確認できないようなオブジェクトに対してもメツセージ
を送信できるオブジェクト間のメツセージ通信方式を提
供することを目的としている。
The present invention was made to solve such problems, and provides a message communication method between objects that can send messages even to objects whose existence cannot be confirmed because they are dynamically created by other objects. It is intended to.

[発明の構成コ (課題を解決するための手段) 本発明は、上記目的を達成するために、メツセージを受
け取ることにより独立して処理を進めかつ新たなオブジ
ェクトを動的に生成するオブジェクトを複数持ち、これ
らオブジェクト間でメツセージ通信を行うことで処理を
進めるオブジェクト指向計算モデルにおいて、前記新た
に生成されたオブジェクトを含めた全てのオブジェクト
の存在を管理する管理オブジェクトを有し、前記オブジ
ェクト間でのメツセージ通信を、前記管理オブジェクト
によって相手側オブジェクトの存否を確認した後、行な
うようにしたものである。
[Configuration of the Invention (Means for Solving the Problems) In order to achieve the above object, the present invention provides a plurality of objects that proceed with processing independently and dynamically generate new objects by receiving messages. In an object-oriented computational model that advances processing by communicating messages between these objects, there is a management object that manages the existence of all objects, including the newly created object, and Message communication is performed after confirming the presence or absence of the other party's object using the managed object.

(作 用) 本発明では、オブジェクト間でメツセージ通信を行う場
合、新たに生成されたオブジェクトを含めた全てのオブ
ジェクトの存在を管理する管理オブジェクトに対し相手
側オブジェクトの存否を確認しているので、他のオブジ
ェクトによって動的に生成され存在が確認できないよう
なオブジェクトに対してもメツセージを送信できる。
(Function) In the present invention, when message communication is performed between objects, the presence or absence of the other object is checked against the management object that manages the existence of all objects including newly created objects. Messages can be sent even to objects whose existence cannot be confirmed because they are dynamically created by other objects.

(実施例) 以下、図面を参照して本発明の一実施例を説明する。(Example) Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例に係るオブジェクト指向計算
モデルの構成を示す図である。
FIG. 1 is a diagram showing the configuration of an object-oriented calculation model according to an embodiment of the present invention.

同図に示すようにこのモデルは、オブジェクト管理情報
格納部1、管理オブジェクト部2、処理実行部3、オブ
ジェクト制御部4、オブジェクト情報格納部5から構成
されている。
As shown in the figure, this model includes an object management information storage section 1, a managed object section 2, a processing execution section 3, an object control section 4, and an object information storage section 5.

オブジェクト管理情報格納部1には、実行過程における
システム上の全てのオブジェクトの存在に関する情報が
格納されている。
The object management information storage unit 1 stores information regarding the existence of all objects on the system during the execution process.

通常のオブジェクトに関する情報は、オブジェクト情報
格納部5に格納されており、オブジェクト内部の処理は
、オブジェクト制御部4の制御の下で処理実行部3にお
いて実行される。
Information regarding normal objects is stored in the object information storage section 5, and processing inside the object is executed in the processing execution section 3 under the control of the object control section 4.

処理実行過程においてオブジェクトが動的に生成される
場合は、管理オブジェクト部2が、オブジェクト情報格
納部1の情報を更新し、オブジェクト制御部4へ指示を
出すことにより、新規オブジェクトの情報のオブジェク
ト情報前納部5への格納が行われる。
When an object is dynamically generated in the processing execution process, the managed object unit 2 updates the information in the object information storage unit 1 and issues an instruction to the object control unit 4 to update the object information of the new object. Storage in the pre-loading section 5 is performed.

メツセージ送信は、管理オブジェクト2へ送信先のオブ
ジェクトを示す指標と共に送られる。管理オブジェクト
2は、送信先のオブジェクトがオブジェクト管理情報格
納部1に存在するがを確認し、存在する場合は、送信先
オブジェクトへメツセージを送り、存在しない場合は、
送信元のオブジェクトへ送信拒否メツセージを送る。
The message transmission is sent to the managed object 2 along with an indicator indicating the destination object. The managed object 2 checks whether the destination object exists in the object management information storage section 1, and if it exists, sends a message to the destination object; if it does not exist,
Sends a rejection message to the sending object.

次に、本実施例によるオブジェクトの生成時の実行モデ
ルを第2図を用いて説明する。
Next, an execution model when generating an object according to this embodiment will be explained using FIG. 2.

同図において、円(及び楕円)は、オブジェクトを示し
、矢印は、メツセージの方向を示している。
In the figure, circles (and ellipses) indicate objects, and arrows indicate the direction of messages.

この例では、太線で示すようにオブジェクトA10がオ
ブジェクトBllを生成する。しがし、実際のメツセー
ジの流れは、細線で示すようにオブジェクトAIOから
、管理オブジェクト12ヘオブジエクトBllの生成依
頼をメツセージとして送り、管理オブジェクト12がオ
ブジェクトB11を生成する。
In this example, object A10 generates object Bll as shown by the thick line. However, in the actual message flow, as shown by the thin line, the object AIO sends a message to the managed object 12 requesting the generation of the object B11, and the managed object 12 generates the object B11.

次に、本実施例によるオブジェクト間のメツセージ送信
の実行モデルを第3図を用いて説明する。
Next, an execution model for message transmission between objects according to this embodiment will be explained with reference to FIG.

この例では、太線で示すようにオブジェクトA20から
オブジェクトB21へメツセージを送信している。しか
し、実際のメツセージの流れは、細線で示すようにオブ
ジェクトA20から送信先のオブジェクト名と共に管理
オブジェクト22へ送られ、管理オブジェクト22は送
信先のオブジェクトの存在を確認し、送信先であるオブ
ジェクトB21ヘメツセージを送信する。
In this example, a message is transmitted from object A20 to object B21, as shown by the thick line. However, as shown by the thin line, the actual flow of the message is that the message is sent from the object A20 to the managed object 22 along with the destination object name, and the managed object 22 confirms the existence of the destination object, and then sends the message to the destination object B20. Send a message.

次に、オブジェクトが存在しない場合のメツセージ送信
の実行モデルを第4図を用いて説明する。
Next, an execution model for message transmission when no object exists will be explained using FIG. 4.

オブジェクトA30は、オブジェクトXヘメッセージを
送るために、内部的に管理オブジェクト31へ送信先の
オブジェクト名と共にメツセージを送る。管理オブジェ
クト31は、送信先であるオブジェクトXの存在を確認
するが、オブジェクトXが存在しないため、送信元であ
るオブジェクトA30ヘメツセージ送信拒否のメツセー
ジを送り返す。
In order to send a message to object X, object A 30 internally sends a message to managed object 31 along with the destination object name. The managed object 31 confirms the existence of object X, which is the destination, but since object X does not exist, it sends back a message to object A 30, which is the source, refusing to send the message.

このように本実施例においては、メツセージの送信を行
う際、送信先のオブジェクトがオブジェクト管理情報格
納部lに存在するかを確認し、存在する場合は、送信先
オブジェクトへメツセージを送り、存在しない場合は、
送信元のオブジェクトへ送信拒否メツセージを送るよう
にしているので、他のオブジェクトによって動的に生成
され存在が確認できないようなオブジェクトに対しても
メツセージを送信できる。
In this way, in this embodiment, when transmitting a message, it is checked whether the destination object exists in the object management information storage section l, and if it exists, the message is sent to the destination object, and if the destination object does not exist, it is checked. In case,
Since a transmission refusal message is sent to the sender object, it is possible to send a message even to an object that is dynamically created by another object and whose existence cannot be confirmed.

[発明の効果] 以上詳述したように、本発明のオブジェクト間のメツセ
ージ通信方式によれば、オブジェクト間でメツセージ通
信を行う場合、新たに生成されたオブジェクトを含めた
全てのオブジェクトの存在を管理する管理オブジェクト
に対し相手側オブジェクトの存否を確認しているので、
他のオブジェクトによって動的に生成され存在が確認で
きないようなオブジェクトに対してもメツセージを送信
できる。
[Effects of the Invention] As detailed above, according to the message communication method between objects of the present invention, when message communication is performed between objects, the existence of all objects including newly created objects can be managed. Since we are checking the existence or nonexistence of the other side object for the managed object to be used,
Messages can be sent even to objects whose existence cannot be confirmed because they are dynamically created by other objects.

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

第1図は本発明の一実施例に係るオブジェクト指向計算
モデルの構成を示す図、第2図はオブジェクトの動的生
成を行う場合の実行モデル図、第3図は送信先オブジェ
クトが存在する場合のメ・ンセージ送信の実行モデル図
、第4図は送信先オブジェクトが存在しない場合のメツ
セージ送信の実行モデル図である。 1・・・オブジェクト管理情報格納部、2・・・管理オ
ブジェクト部、3・・・処理実行部、4・・・オブジェ
クト制御部、5・・・オブジェクト情報格納部。 出願人       株式会社 東芝 代理人   弁理士 須 山 佐 − 第1図 第2図
Fig. 1 is a diagram showing the configuration of an object-oriented calculation model according to an embodiment of the present invention, Fig. 2 is an execution model diagram when dynamically generating objects, and Fig. 3 is a diagram when a destination object exists. FIG. 4 is an execution model diagram of message transmission when the destination object does not exist. 1... Object management information storage unit, 2... Management object unit, 3... Process execution unit, 4... Object control unit, 5... Object information storage unit. Applicant Toshiba Corporation Patent Attorney Sasa Suyama - Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] (1)メッセージを受け取ることにより独立して処理を
進めかつ新たなオブジェクトを動的に生成するオブジェ
クトを複数持ち、これらオブジェクト間でメッセージ通
信を行うことで処理を進めるオブジェクト指向計算モデ
ルにおいて、 前記新たに生成されたオブジェクトを含めた全てのオブ
ジェクトの存在を管理する管理オブジェクトを有し、 前記オブジェクト間でのメッセージ通信を、前記管理オ
ブジェクトによって相手側オブジェクトの存否を確認し
た後、行なうようにした ことを特徴とするオブジェクト間のメッセージ通信方式
(1) In an object-oriented computing model that has multiple objects that proceed with processing independently by receiving messages and dynamically generate new objects, and in which processing proceeds by communicating messages between these objects, has a managed object that manages the existence of all objects including objects generated in A message communication method between objects characterized by:
JP31120090A 1990-11-16 1990-11-16 Message communication system between objects Pending JPH04182739A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31120090A JPH04182739A (en) 1990-11-16 1990-11-16 Message communication system between objects

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31120090A JPH04182739A (en) 1990-11-16 1990-11-16 Message communication system between objects

Publications (1)

Publication Number Publication Date
JPH04182739A true JPH04182739A (en) 1992-06-30

Family

ID=18014310

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31120090A Pending JPH04182739A (en) 1990-11-16 1990-11-16 Message communication system between objects

Country Status (1)

Country Link
JP (1) JPH04182739A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07141206A (en) * 1992-10-06 1995-06-02 Internatl Business Mach Corp <Ibm> Method and system for performing communication between objects over process boundary

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07141206A (en) * 1992-10-06 1995-06-02 Internatl Business Mach Corp <Ibm> Method and system for performing communication between objects over process boundary

Similar Documents

Publication Publication Date Title
US5826269A (en) Electronic mail interface for a network server
CN108390950A (en) A kind of information push method, device and equipment
CN112134915B (en) Application layer protocol decoupling universal network processing system
CN108833578A (en) The method and relevant device of duplex communication are carried out based on FIFO name pipeline
CN112181681B (en) Remote calling method, device, computer equipment and storage medium
CA1196424A (en) Electronic document distribution network with dynamic document interchange protocol generation
JPH04182739A (en) Message communication system between objects
JP5610773B2 (en) Message processing apparatus and message processing method
CN114968617B (en) API conversion system, access request processing method thereof, electronic equipment and medium
CN110011850A (en) The management method and device serviced in cloud computing system
JPS58223939A (en) Electronic mail system
CN108667790B (en) Communication protocol method for block chain common node consensus authentication
MX2021008189A (en) Multi-layered distributed gtp-c processing.
Meyer ARPA network protocol notes
CN114697010B (en) Quantum communication network metropolitan area network and hierarchical networking method thereof
CN106385439A (en) Method and device for connecting information system to enterprise service bus (ESB)
JPS6315546A (en) Reply confirming system
JPS625499B2 (en)
Meyer RFC0046: ARPA Network protocol notes
KR970002778B1 (en) Message tx/rx method btween processors in the intelligent service control/management system
KR100269103B1 (en) Dynamic control method
KR100338624B1 (en) Apparatus and method for managing alarm in telecommunication management system
JPS6361813B2 (en)
KR950013842B1 (en) Application service element signal traffic decreasing method of ssp/scp interface
WO2020126331A1 (en) Publish/subscribe system and process for a publish/subscribe system