JPH03191429A - Object control system - Google Patents

Object control system

Info

Publication number
JPH03191429A
JPH03191429A JP33209089A JP33209089A JPH03191429A JP H03191429 A JPH03191429 A JP H03191429A JP 33209089 A JP33209089 A JP 33209089A JP 33209089 A JP33209089 A JP 33209089A JP H03191429 A JPH03191429 A JP H03191429A
Authority
JP
Japan
Prior art keywords
message
virtual
objects
real
control part
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
JP33209089A
Other languages
Japanese (ja)
Inventor
Hiroshi Kato
浩 加藤
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 JP33209089A priority Critical patent/JPH03191429A/en
Publication of JPH03191429A publication Critical patent/JPH03191429A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To improve the productivity of a software by allowing a message control part to transfer a message to a real object corresponding a virtual object by using a correspondence table between the virtual object and the real object. CONSTITUTION:An object A receives a message from a message control part 5, interpretes the message, and when the message is executable, returns a mes sage receiving signal, and starts a corresponding method. If the message can not be executed, the object A returns a message unreceiving signal and turned to a message reception waiting state. The method includes various instructions, and when an instruction for transmitting a message Y to an object X is includ ed, the object A requests a message control process so as to send the message Y to the object X, and after waiting the requesting result, turned to a message reception waiting state. The control part 5 requested from the object A to transmit the message Y to the object X retrieves a virtual object X in the corresponding table between the virtual objects and real objects after receiving the request.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はオブジェクト管理方式に関し、特にオブジェク
ト指向応用システムのオブジェクト管理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an object management method, and particularly to an object management method for an object-oriented application system.

〔従来の技術〕[Conventional technology]

従来のオブジェクト指向応用システム(例えば、日経バ
イト1989年6月号pp、135−146)では、オ
ブジェクトAがオブジェクトBにメツセージを送る場合
、第4図に示すように、オブジェクトAのメソッドでは
インスタンス変数Cに対してメツセージrQQQ」を送
るように記述しておき、さらに、インスタンス変数Cに
オブジェクトBの名前を記述しておくことによって、オ
ブジェクトBに対してメツセージを送っていた。
In conventional object-oriented application systems (for example, Nikkei Byte, June 1989 issue, pp. 135-146), when object A sends a message to object B, as shown in Figure 4, in the method of object A, instance variables are By writing the message rQQQ to be sent to C, and writing the name of object B in the instance variable C, the message was sent to object B.

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

しかし、この方法ではオブジェクト間の関係が各オブジ
ェクトに分散して管理されているため、あるオブジェク
トDを別のオブジェクトEに交換する際には、オブジェ
クトDにメツセージを送っているオブジェクトを全て探
し出して、そのインスタンス変数を修正しなければなら
ず、非常に1手間がかかっていた。
However, in this method, the relationships between objects are managed separately for each object, so when exchanging one object D with another object E, all objects sending messages to object D must be found. , the instance variables had to be modified, which took a lot of effort.

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

本発明のオブジェクト管理方式は、あらかじめ各オブジ
ェクトのメソッドを仮想オブジェクトに対してメツセー
ジを送るように記述しておき、各オブジェクトから発せ
られた全てのメツセージをメツセージ管理部に集め、メ
ツセージ管理部は仮想オブジェクトと実オブジェクトの
対照表を用いて仮想オブジェクトに対応する実オブジェ
クトに対してメツセージを転送することにある。
In the object management method of the present invention, the method of each object is written in advance so as to send a message to a virtual object, all messages sent from each object are collected in a message management section, and the message management section is configured to send a message to a virtual object. The object is to transfer a message to a real object corresponding to a virtual object using a comparison table of objects and real objects.

〔実施例〕〔Example〕

次に本発明の一実施例について図面を参照して説明する
Next, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示す、第1図において、各
オブジェクトとメツセージ管理部5は別のグロセスで、
プロセス間通信を行なっている。
FIG. 1 shows an embodiment of the present invention. In FIG. 1, each object and message management section 5 are in separate grosses,
Performing inter-process communication.

第2図は本実施例のフローを示す、まず、オブジェクト
Aはメツセージ管理部5からメツセージを受信し、上記
メツセージを解釈し、それが実行可能ならメツセージ受
理信号を返してそれに対応するメソッドを起動し、実行
不可能ならメツセージ不受理信号を返してメツセージ受
信待ちの状態に戻る。このメソッドは様々な命令を含ん
でいるが、その中にオブジェクトXにメツセージYを送
信するという命令を含んでいた場合には、メツセージ管
理部プロセスにオブジェクトXにメツセージYを送るよ
うに依頼し、その結果を待ってメツセージ受信待ちの状
態に戻る。オブジェクトAからオブジェクトXにメツセ
ージYを送信するように依頼されたメツセージ管理部は
、受信後仮想オブジェクトと実オブジェクトの対照表中
で、仮想オブジェクトがXであるものを検索する。もし
、Xが検索されたら、前記対照表でXと対応するオブジ
ェクトZを、改めてXとする。一方、Xが検索されなか
ったときには、Xはそのままとする。
FIG. 2 shows the flow of this embodiment. First, object A receives a message from the message management unit 5, interprets the message, and if it is executable, returns a message acceptance signal and starts the corresponding method. However, if this is not possible, it returns a message non-acceptance signal and returns to the state of waiting for message reception. This method includes various instructions, but if it includes an instruction to send message Y to object X, it will ask the message management section process to send message Y to object X, Waiting for the result and returning to the message reception waiting state. The message management section, which is requested to send message Y from object A to object X, searches for virtual object X in the comparison table of virtual objects and real objects after receiving the message. If X is retrieved, the object Z corresponding to X in the comparison table is set to X again. On the other hand, when X is not retrieved, X is left as is.

次にオブジェクトXにメツセージYを送り、オブジェク
トXからの受理信号を待って、オブジェクトAに受理信
号を返す。その後、再び受信待ち状態に戻る。
Next, it sends message Y to object X, waits for an acceptance signal from object X, and returns an acceptance signal to object A. After that, it returns to the reception waiting state again.

第3図はアニメーションシステムに本発明を実施した例
である。最初に、オブジェクト「シナリオ」のメソッド
が実行され、仮想オブジェクト[起JにrrunJとい
うメツセージを送る。オブジェクト管理部5は仮想オブ
ジェクト/実オブジェクト対照表を参照して、「起」は
オブジェクト「シーン1」を示していると解釈し、[シ
ーンIJにrrIJnJというメツセージを送る。前記
メツセージを受けたオブジェクト「シーン1」は自己の
rrtlnJという名前のメソッドを実行するが、前記
メソッド内に「人Jという仮想オブジェクトに「笑うj
というメツセージを送るというステートメントがあり、
それが実行される。するとオブジェクト管理部5は、前
と同様に「人」という仮想オブジェクトがオブジェクト
「太部」を示していると解釈し、オブジェクト「太部J
に「笑うJというメツセージを送る。オブジェクト「太
部」は「笑う」という名前のメソッドを起動し、デイス
プレィ画面上に太部が笑うアニメーションを表示する。
FIG. 3 is an example in which the present invention is implemented in an animation system. First, the method of the object ``scenario'' is executed and sends a message rrunJ to the virtual object ``scenario''. The object management unit 5 refers to the virtual object/real object comparison table, interprets that "start" indicates the object "scene 1", and sends the message rrIJnJ to scene IJ. The object "Scene 1" that received the message executes its own method named rrtlnJ, but in the method there is a message "Laughing j" for the virtual object "Person J".
There is a statement that sends a message that
It is executed. Then, the object management unit 5 interprets that the virtual object "person" indicates the object "thick part" as before, and displays the object "thick part J".
Sends the message ``Laughing J.'' The object ``Fatabe'' starts a method named ``Laughing'' and displays an animation of Fatty laughing on the display screen.

以下同様にして、オブジェクト「シナリオ」に書かれて
いるストーリーに従ったアニメーションが展開する。
In the same way, animations develop according to the story written in the object "scenario".

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

以上説明したように本発明は仮想オブジェクトと実オブ
ジェクトの対照表においてオブジェクトAと書かれてい
るところを全てオブジェクトBと書き直すだけで、オブ
ジェクトAとオブジェクトBを交換することができる。
As explained above, in the present invention, objects A and B can be exchanged by simply rewriting all the places where object A is written as object B in the comparison table of virtual objects and real objects.

オブジェクトAにメツセージを送っている他のオブジェ
クトには変更の必要がない。第3図の実施例に即して言
えば、アニメーションの登場人物である「太部」という
オブジェクトを「花子]という別のオブジェクトに代え
たいときには、対照表における「人:太部Jの項を「人
:花子」に書き換えるだけでよく、シナリオやシーンに
は変更の必要がない、このように、容易にオブジェクト
が交換できることによって、ソフトウェアの部品性が高
まり、ソフトウェアの生産性が上がる。
Other objects sending messages to object A do not need to be changed. In accordance with the example of FIG. 3, if you want to replace the object ``Aobe'', which is a character in the animation, with another object ``Hanako'', change the item ``Person: Aobe J'' in the comparison table. All you have to do is rewrite it to ``Person: Hanako'' and there is no need to change the scenario or scene. By being able to easily exchange objects in this way, the component nature of the software increases and the productivity of the software increases.

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

第1図は本発明の一実施例における構成と情報の流れを
示す図、第2図は本発明の一実施例の処理手順を示すフ
ローチャートを示す図、第3図は本発明の一応用例を示
す図、第4図は従来のオブジェクト指向応用システムで
の方式を示す模式図である。 1・・・オブジェクト名、2・・・メソッド、3・・・
仮想オブジェクト/実オブジェクト対照表、4・・・イ
ンスタンス変数、5・・・メツセージ管理部。
Fig. 1 is a diagram showing the configuration and information flow in an embodiment of the present invention, Fig. 2 is a flowchart showing the processing procedure of an embodiment of the invention, and Fig. 3 is a diagram showing an example of the application of the present invention. FIG. 4 is a schematic diagram showing a method in a conventional object-oriented application system. 1...Object name, 2...Method, 3...
Virtual object/real object comparison table, 4. Instance variables, 5. Message management section.

Claims (1)

【特許請求の範囲】[Claims] オブジェクト指向応用システムにおいて、オブジェクト
から発せられた全てのメッセージをメッセージ管理部に
集め、メッセージ管理部は仮想オブジェクトと実オブジ
ェクトの対照表を用いて上記メッセージの転送先として
指定された仮想オブジェクトに対応する実オブジェクト
に対してメッセージを転送することを特徴とするオブジ
ェクト管理方式。
In an object-oriented application system, all messages sent from objects are collected in a message management section, and the message management section uses a comparison table of virtual objects and real objects to correspond to the virtual object specified as the transfer destination of the above message. An object management method characterized by transferring messages to real objects.
JP33209089A 1989-12-20 1989-12-20 Object control system Pending JPH03191429A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33209089A JPH03191429A (en) 1989-12-20 1989-12-20 Object control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33209089A JPH03191429A (en) 1989-12-20 1989-12-20 Object control system

Publications (1)

Publication Number Publication Date
JPH03191429A true JPH03191429A (en) 1991-08-21

Family

ID=18251034

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33209089A Pending JPH03191429A (en) 1989-12-20 1989-12-20 Object control system

Country Status (1)

Country Link
JP (1) JPH03191429A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0578207A2 (en) * 1992-07-06 1994-01-12 Microsoft Corporation Method and system for naming and binding objects
US5608894A (en) * 1994-03-18 1997-03-04 Fujitsu Limited Execution control system
US6401099B1 (en) 1996-12-06 2002-06-04 Microsoft Corporation Asynchronous binding of named objects
US6460058B2 (en) 1996-12-06 2002-10-01 Microsoft Corporation Object-oriented framework for hyperlink navigation

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5689703A (en) * 1992-07-06 1997-11-18 Microsoft Corporation Method and system for referring to and binding to objects using identifier objects
US6519764B1 (en) 1992-07-06 2003-02-11 Microsoft Corporation Method and system for naming and binding objects
EP0578207A3 (en) * 1992-07-06 1995-03-15 Microsoft Corp Method and system for naming and binding objects.
US5581760A (en) * 1992-07-06 1996-12-03 Microsoft Corporation Method and system for referring to and binding to objects using identifier objects
US5842018A (en) * 1992-07-06 1998-11-24 Microsoft Corporation Method and system for referring to and binding to objects using identifier objects
US5682536A (en) * 1992-07-06 1997-10-28 Microsoft Corporation Method and system for referring to and binding to objects using identifier objects
JPH06195339A (en) * 1992-07-06 1994-07-15 Microsoft Corp Method and dystem for naming and coupling of name
US6263379B1 (en) 1992-07-06 2001-07-17 Microsoft Corporation Method and system for referring to and binding to objects using identifier objects
EP0578207A2 (en) * 1992-07-06 1994-01-12 Microsoft Corporation Method and system for naming and binding objects
US7441253B2 (en) 1992-07-06 2008-10-21 Microsoft Corporation Method and system for naming and binding objects
US7150024B2 (en) 1992-07-06 2006-12-12 Microsoft Corporation Method and system for naming and binding objects
US5608894A (en) * 1994-03-18 1997-03-04 Fujitsu Limited Execution control system
US7114128B2 (en) 1996-12-06 2006-09-26 Microsoft Corporation Object-oriented framework for hyperlink navigation
US6460058B2 (en) 1996-12-06 2002-10-01 Microsoft Corporation Object-oriented framework for hyperlink navigation
US6401099B1 (en) 1996-12-06 2002-06-04 Microsoft Corporation Asynchronous binding of named objects

Similar Documents

Publication Publication Date Title
JP3866768B2 (en) Method and apparatus for forming hypermedia interactive
JPH06214806A (en) Data processing system
JPH03191429A (en) Object control system
JPH08241276A (en) Application sharing system
JP3052790B2 (en) Collaborative work system
JPH0660025A (en) Electronic interaction system
JP3082887B2 (en) Communication method between objects in multi-user virtual space system
JPH05324574A (en) Inter-processor communication system
JPH02231668A (en) Job generating system for distributed system
JP2001125960A (en) Workflow system
JPH01286011A (en) Display echo-back system
JPH04150121A (en) Electronic mail system
JPH05120189A (en) Computer system
JPH05314070A (en) Message queue managing system
JPH05143540A (en) Terminal control device
JPH0754490B2 (en) Attribute data acquisition processing method
JPH02214957A (en) Data processing system
JPH08185302A (en) Window sharing system
JPH05101154A (en) System for sharine logical screen of decentralized processing system
JPH03134758A (en) Decentralized processing system
JPH0831871B2 (en) Network processing system
JPH06175803A (en) Method and device for display control
JPH0126098B2 (en)
JPH04295952A (en) Message communication equipment for multi-processor system
JPH0553950A (en) User interface