JP4541727B2 - Software function update device - Google Patents
Software function update device Download PDFInfo
- Publication number
- JP4541727B2 JP4541727B2 JP2004061000A JP2004061000A JP4541727B2 JP 4541727 B2 JP4541727 B2 JP 4541727B2 JP 2004061000 A JP2004061000 A JP 2004061000A JP 2004061000 A JP2004061000 A JP 2004061000A JP 4541727 B2 JP4541727 B2 JP 4541727B2
- Authority
- JP
- Japan
- Prior art keywords
- connection
- management unit
- objects
- configuration
- data
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Stored Programmes (AREA)
Description
本発明は、ソフトウェアの入れ替えによってソフトウェア機能を変更し、単一の機器を様々なシステムに適用可能とするソフトウェア機能更新装置に関し、特に分散オブジェクト技術における国際標準であるCORBAをベースとした機能更新方式によるソフトウェア機能更新装置に関連する。 The present invention relates to a software function updating apparatus that changes a software function by replacing software and enables a single device to be applied to various systems, and in particular, a function updating method based on CORBA, which is an international standard in distributed object technology. Related to the software function update device by
無線機におけるソフトウェア入れ替え(機能更新)の方法としては、これまでに様々な取り組みがなされている。一般的に、ダウンロードされたソフトウェアは、端末上のワークメモリあるいはフラッシュROM(Read Only Memory)上のソフトウェア領域へダウンロードされる。そしてダウンロード後に、その領域のソフトウェアの動作検証などを実施して動作に問題がない場合に、現在運用中のソフトウェア領域と新規のソフトウェア領域とを切り替え、ソフトウェア全体を入れ替える方式が多く用いられている(例えば、特許文献1参照)。 Various approaches have been made so far for software replacement (function update) in wireless devices. Generally, the downloaded software is downloaded to a work memory on a terminal or a software area on a flash ROM (Read Only Memory). And, after downloading, if there is no problem in the operation of the software in that area, switching between the current software area and the new software area and replacing the entire software is often used. (For example, refer to Patent Document 1).
また、分散オブジェクト技術における国際標準であるCORBAをベースとした方式では、オブジェクト単位の入れ替えを行っている。更新対象のオブジェクトがダウンロードされた場合は、運用中のオブジェクトは、システムが保有しているバージョン情報を管理するテーブルを参照することにより、自オブジェクトよりも新しいオブジェクト情報が格納されているか否かを判断できる。そして、新しいオブジェクト情報が格納されている場合には、運用中のオブジェクトは、自オブジェクトが更新される対象のオブジェクトであることを把握できる。 In the method based on CORBA, which is an international standard in the distributed object technology, object units are replaced. When the object to be updated is downloaded, the object under operation refers to a table that manages version information held by the system to determine whether or not new object information is stored. I can judge. When new object information is stored, it can be understood that the object in operation is an object to be updated.
そこで、その運用中のオブジェクトは隣接しているオブジェクトからのリクエストをすべて拒否し、処理を停止する。その後の隣接オブジェクトからのリクエストは、新規オブジェクトが受け持つことにより、隣接オブジェクトは相手先の更新を意識せずに、オブジェクトを運用中に入れ替えるという方式が提案されている(例えば、特許文献2)。 Therefore, the object in operation rejects all requests from adjacent objects and stops processing. A method has been proposed in which a subsequent request from an adjacent object is handled by a new object, so that the adjacent object replaces the object during operation without being aware of the update of the other party (for example, Patent Document 2).
しかしながら、従来技術には以下の問題があった。特許文献1によるソフトウェア全体を入れ替える方式は、端末上のワークメモリあるいはフラッシュROMのようなソフトウェア領域毎にソフトウェアを入れ替えるため、オブジェクトの接続等に関連する処理が不要である。しかし、その反面、パッケージ中のオブジェクトを一括して入れ替えるため、ダウンロードのオーバヘッドが発生する。
However, the prior art has the following problems. In the method of replacing the entire software according to
また、ワークメモリあるいはフラッシュROMの領域をまたぐような構成を構築することができないため、固定構成として機能更新することしかできないという問題点があった。さらに、ワークメモリあるいはフラッシュROMの領域に関してはソフトウェアで管理しているため、ワークメモリあるいはフラッシュROMのアドレス及びサイズなどの領域管理が必要となり、管理が複雑になるという問題点があった。 In addition, since it is not possible to construct a configuration that crosses the work memory or flash ROM area, there is a problem in that only the function can be updated as a fixed configuration. Further, since the work memory or flash ROM area is managed by software, it is necessary to manage the area such as the address and size of the work memory or flash ROM, resulting in complicated management.
また、特許文献2によるオブジェクト自身が更新対象のオブジェクトであることを把握することにより機能更新する方式では、ソフトウェア全体を一括して入れ替えるときの問題は解消される。しかしながら、オブジェクトがそれぞれ更新対象のとき処理を停止し、新規オブジェクトへ処理を引き継ぐこととなるため、オブジェクトを一元的に管理することができず、接続に順序関係がある場合には対応できないという問題があった。
Further, in the method of updating the function by grasping that the object itself according to
本発明はこのような問題点を解決するためになされたもので、オブジェクト単位での更新を行うとともに、更新対象のオブジェクトを一元的に管理できる機能更新方式を実現するソフトウェア機能更新装置を得ることを目的とする。 The present invention has been made to solve such a problem, and obtains a software function update apparatus that performs a function update method that can perform an object-by-object update and can centrally manage objects to be updated. With the goal.
本発明に係るソフトウェア機能更新装置は、ソフトウェア機能をオブジェクトの集合として管理し、オブジェクトの集合に含まれる更新対象となるオブジェクトを旧オブジェクトから新規オブジェクトに入れ替えるとともに、更新対象となるオブジェクトに関連するオブジェクト間の相互接続の切り替えを行うことによって種々のソフトウェア機能を実現するソフトウェア機能更新装置であって、オブジェクト間の相互接続関係のデータを有する構成情報を記憶するデータベースと、管理対象となるソフトウェア機能のオブジェクト間の相互接続関係のデータを有する構成管理プロファイルと、管理対象オブジェクトの集合であるオブジェクト群とを含むパッケージデータを記憶する記憶部と、オブジェクトの入れ替え及びオブジェクト間の相互接続の切り替えを必要とする新たなソフトウェア機能について、オブジェクト間の相互接続関係のデータを有する構成管理プロファイルと、新たなソフトウェア機能に必要な新たなオブジェクト群とを含む新たなパッケージデータを設定し、記憶部にダウンロードして記憶させる入力部と、ダウンロードされたタイミングで記憶部から新たなパッケージデータに含まれている構成管理プロファイルを読み取り、データベースに構成情報として登録し、新たなパッケージデータ内のオブジェクト群に含まれている新規オブジェクトがダウンロードされたタイミングで起動した後の初期化完了に伴って、新規オブジェクトから自オブジェクトの参照先情報であるIORの通知を受信し、データベースにすでに登録された構成情報の一部としてIORの情報を新規オブジェクトと関連づけて新たに追加登録した後、オブジェクト間の接続を確立するためのリクエストとして第1接続要求を通知する構成管理部と、第1接続要求に応じて、新規オブジェクトと入れ替えられる旧オブジェクトに関連するオブジェクト間の相互接続を切断した後、データベースに登録されたIORの情報を含む構成情報に基づいて接続関係にある接続元オブジェクトを検出し、管理対象のそれぞれの接続元オブジェクトに対して接続先オブジェクトとの接続を確立するための第2接続要求を出力するコネクション管理部と、第2接続要求に応答した接続元オブジェクトから接続先オブジェクトに対する接続指示を受け取ると、IORの情報を含む構成情報に基づいて接続関係にある接続先オブジェクトを検出し、新たなパッケージデータで規定されたオブジェクト間の相互接続を確立し、新たなパッケージデータに応じたオブジェクトの入れ替え及びオブジェクト間の相互接続の切り替えを完了させるように、接続元オブジェクトと接続先オブジェクトとの間の接続制御を行うオブジェクト構成データ管理部とを備えたものである。
Software functions updating apparatus according to the present invention manages the software functions as a collection of objects, Rutotomoni interchanged object to be updated included in the set of objects from the old object to the new object, associated with the update target object a software function updating device thus realizing the various software functions that switches the interconnection between objects, a database for storing configuration information having a data interconnection between objects, the software to be managed A storage unit for storing package data including a configuration management profile having data on interconnection relationships between functional objects, and an object group which is a set of managed objects, and replacement of objects and between objects For new software functions that require switching of interconnections, set new package data that includes a configuration management profile that contains data on the interconnection relationship between objects and a new group of objects that are required for the new software functions. An input unit to be downloaded and stored in the storage unit, and a configuration management profile included in the new package data is read from the storage unit at the download timing, registered as configuration information in the database, and stored in the new package data Upon completion of initialization after starting a new object included in the object group, a notification of IOR, which is the reference destination information of the own object, was received from the new object and already registered in the database As part of configuration information After renewed additionally registered OR of information in association with new objects, and configuration management unit for notifying the first connection request as a request to establish a connection between objects in response to a first connection request, and the new object After disconnecting the interconnection between the objects related to the old object to be replaced , the connection source object in the connection relation is detected based on the configuration information including the IOR information registered in the database, and each connection source to be managed When a connection management unit that outputs a second connection request for establishing a connection with the connection destination object for the object and a connection instruction for the connection destination object from the connection source object in response to the second connection request are received, Detect connection destination objects in connection relation based on configuration information including information The connection source object and the connection destination object so that the interconnection between the objects specified by the new package data is established, and the replacement of the objects according to the new package data and the switching of the interconnections between the objects are completed. And an object configuration data management unit that performs connection control between them.
本発明によれば、構成管理プロファイルによってオブジェクト間の接続関係を規定することにより、オブジェクト間のコネクションを確立でき、オブジェクト単位での更新を行うとともに、更新対象のオブジェクトを一元的に管理できる機能更新方式を実現するソフトウェア機能更新装置を得ることができる。 According to the present invention, by defining the connection relationship between objects by the configuration management profile, it is possible to establish a connection between objects, perform update in units of objects, and manage functions to be updated centrally It is possible to obtain a software function updating apparatus that realizes the method.
以下、本発明の実施の形態を図面に基づいて説明する。以下の実施の形態において、ソフトウェア機能更新装置は、無線機器として説明するものとする。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following embodiments, the software function update device is described as a wireless device.
実施の形態1.
図1は、本発明の実施の形態1における無線機器の機能更新を実現するための機能構成図である。無線機器100は、ソフトウェアの入れ替えによって機能を変更するものであり、端末局、移動局あるいは基地局がこれに相当する。
FIG. 1 is a functional configuration diagram for realizing functional update of a wireless device according to
無線機器100は、オブジェクト管理部110、ミドルウェア120、パッケージ部130及びOS140を備えている。また、無線機器100は、入力部150と接続することにより、新規に作成したソフトウェアを入力部150からダウンロードすることができる。
The
ここで、オブジェクト管理部110は、運用するソフトウェア機能に対応してオブジェクト群を管理するものであり、構成管理部111、コネクション管理部112、スケジュール管理部113及び差分解析部114を備えている。
Here, the
また、ミドルウェア120は、パッケージ内のオブジェクト間の通信をサポートするものであり、データベースに相当するリポジトリ122を有するオブジェクト構成データ管理部121を備えている。
The
また、パッケージ部130は、入力部150からダウンロードされるソフトウェアパッケージであり、構成管理プロファイル131、管理対象オブジェクト群132及びインタフェース定義情報133を備えている。このようなパッケージは、入力部からダウンロードされることにより、記憶部に記憶される。
The
さらに、OS140は、無線機器100内のソフトウェアの基盤となるOS(Operating System)である。
Furthermore, the OS 140 is an OS (Operating System) serving as a software base in the
次に、オブジェクト管理部110内の個々の機能について説明する。
構成管理部111は、パッケージ130内の構成管理プロファイル131を読み取り、ミドルウェア120内のリポジトリ122へ構成情報として登録する。コネクション管理部112は、リポジトリ122に登録された構成情報に基づいてオブジェクト間の接続を確立するために、接続元オブジェクトに対して接続要求を行い、オブジェクト間の接続を管理する。
Next, individual functions in the
The
スケジュール管理部113は、入力部150からの指示によってオブジェクトの接続に順序関係が指示された場合に、指示された接続順序に基づいたオブジェクトの接続を確立するために、構成管理部111に対して接続順序を通知する管理部である。
When an order relationship is instructed for connection of objects in response to an instruction from the
さらに、差分解析部114は、オブジェクト更新時に、運用中のソフトウェア機能に対応する構成情報と新規のソフトウェア機能に対応する構成情報とを比較してその差分を解析する解析部である。この差分解析部114を用いた実施の形態については、実施の形態2で詳細に説明する。
Further, the
次に、ミドルウェア120内の個々の機能について説明する。リポジトリ122は、分散して存在する具体的な構成情報の格納庫であり、構成管理プロファイル131内の構成情報が、構成管理部111によってリポジトリ122内に格納される。オブジェクト構成データ管理部121は、リポジトリ122内に格納された構成情報に基づいてオブジェクト間の接続確立を制御する。
Next, each function in the
次に、パッケージ130内の個々の機能について説明する。ここで、パッケージとは、アプリケーションのような機能を実現するために必要となるファイルなど関連する機能一式のことである。パッケージは、入力部150からダウンロードされ、無線機器100の記憶部に記憶される。
Next, individual functions in the
構成管理プロファイル131は、ソフトウェア機能のオブジェクト間の接続関係がデータ化されている構成管理プロファイルデータである。管理対象オブジェクト群132は、パッケージ130内に含まれているオブジェクトの集合である。
The
インタフェース定義情報133は、各オブジェクトが提供するインタフェースの情報が記述されたIDL(Interface Definition Language)ファイルとしてのデータであり、IDLファイルは、CORBA標準の記述様式で記載されている。このIDLファイルは、インタフェースの名前やインタフェースによる各オブジェクト間で授受されるデータ等のことであり、具体的には関数やその引数等がこれに相当する。このインタフェース定義情報133を用いた実施の形態については、実施の形態3で詳細に説明する。
The
上述の機能を備えた無線機器100において、ソフトウェアの入れ替えによる機能更新を行うための具体的な動作について以下に説明する。複数のオブジェクトから構成されている新たなパッケージ130が入力部150からダウンロードされた場合の初期起動時の動作について、図1〜図5に基づいて説明する。
A specific operation for performing function update by software replacement in the
図2は、本発明の実施の形態1におけるオブジェクト構成を示した図である。図2のパッケージ130は、オブジェクトa及びオブジェクトbの2つで構成されている。ここでは、オブジェクトa及びオブジェクトbが互いに関連している場合を示している。また、図2において、(1)、(2)と記載されているものは、接続順序を示しており、詳細は後述する。
FIG. 2 is a diagram showing an object configuration in the first embodiment of the present invention. The
また、図3は、本発明の実施の形態1における新規にダウンロードされた構成管理プロファイルのデータテーブル構造を示す図である。構成管理プロファイル131は、Side、オブジェクト名、接続先オブジェクト名、コネクション種別及び接続順序の5つのデータから構成されている。
FIG. 3 is a diagram showing a data table structure of a newly downloaded configuration management profile according to the first embodiment of the present invention. The
Sideは、管理対象であるパッケージの番号であり、ここでは「1」が設定されている。オブジェクト名は、図2に対応して、オブジェクトa及びオブジェクトbの2つのデータが設定されている。接続先オブジェクト名は、図2に対応して、それぞれ同じパッケージ内の相手のオブジェクト名が設定されている。コネクション種別は、接続先のオブジェクトが同じパッケージ内にあるため「internal」のデータが設定されている。さらに、接続順序は、接続元オブジェクトaから接続先オブジェクトbへの接続をした後に、接続元オブジェクトbから接続先オブジェクトaへの接続を行うこととして、その順番がそれぞれ「1」、「2」として設定されている。 Side is the number of the package to be managed, and “1” is set here. As the object name, two data of object a and object b are set corresponding to FIG. Corresponding object names in the same package are set as connection destination object names corresponding to FIG. As the connection type, “internal” data is set because the connection destination object is in the same package. Further, the connection order is that the connection source object a is connected to the connection destination object b and then the connection source object b is connected to the connection destination object a, and the order is “1” and “2”, respectively. Is set as
また、図4は、本発明の実施の形態1におけるリポジトリ122内のデータテーブル構造を示す図である。図3で示した5つのデータに加えて、IOR及びコネクションIDに関する2つのデータが追加されている。IOR(Interoperable Object Referenceの略)は、自オブジェクトの参照先情報を示すデータであり、そのオブジェクト自身の接続先アドレスに相当する。コネクションIDは、オブジェクト間の接続が確立したことにより書き込まれるデータである。
FIG. 4 is a diagram showing a data table structure in the
さらに、図5は、本発明の実施の形態1における初期起動時の動作シーケンス図である。図5に示したステップにしたがって動作を説明する。ここでは、新たなパッケージ130がダウンロードされるとともに、そのソフトウェア機能を起動する場合を示しているが、ソフトウェアの起動タイミングは、ダウンロードのタイミングに依存せずに行うことも可能である。
Furthermore, FIG. 5 is an operation sequence diagram at the time of initial startup according to
新たなパッケージ130が入力部150からダウンロードされると、オブジェクト管理部110内の構成管理部111は、パッケージ130内の構成管理プロファイル131のデータを読み込む(S100)。次に、構成管理部111は、読み込んだデータをミドルウェア120にあるオブジェクト構成データ管理部121のリポジトリ122に構成情報として登録する(S101)。これにより、図4のIORとコネクションIDを除き、図3の構成管理プロファイル131にて定義された情報がリポジトリ122に反映されたこととなる。
When a
次に、起動を開始し、初期化完了した新規オブジェクトは、自オブジェクトの参照先情報であるIORを構成管理部111に通知する(S102)。具体的には、オブジェクトaとオブジェクトbのそれぞれからIOR通知がなされる。
Next, the new object that has started activation and has been initialized notifies the
通知を受けた構成管理部111は、リポジトリ122に対して、通知されたIORを登録する(S103)。図4のIORが、このデータに相当する。IORが登録されたことにより、各オブジェクトの接続先のアドレスがこのデータにより特定できることとなる。
Upon receiving the notification, the
次に、構成管理部111はパッケージ130のすべてのオブジェクトからIOR通知を受け取ったことにより、オブジェクト間のコネクション確立のための準備が完了したと判断し、コネクション管理部112に対してコネクション確立のリクエストとして接続要求を通知する(S104)。
Next, the
通知を受けたコネクション管理部112は、構成情報をリポジトリ122から読み取り、対象となるオブジェクトのIORを検索する(S105)。コネクション管理部112は、構成情報とIORを利用してオブジェクトを制御することとなる。そして、コネクション管理部112は、オブジェクト間のコネクションを確立するため、管理対象のそれぞれの接続元オブジェクトに対してコネクション確立のための接続要求を行う(S106)。
Upon receiving the notification, the
次に、接続要求を受けたそれぞれの接続元オブジェクトは、接続先オブジェクトに対して接続指示を行う。図5の例では、bindインタフェースにより、相手先のオブジェクト名を指定することで行っている(S107)が、インタフェースは例であり、必ずしもこの名前でなくてもよい。 Next, each connection source object that receives the connection request issues a connection instruction to the connection destination object. In the example of FIG. 5, the object name of the other party is specified by the bind interface (S107), but the interface is an example, and this name is not necessarily required.
オブジェクト間の通信を司るミドルウェア120内のオブジェクト構成データ管理部は、bindインタフェース中のオブジェクト名を基に、リポジトリ122から対応するオブジェクトのIORを検索し(S108)、オブジェクト名からIORへあて先情報を付け替えて、接続先オブジェクトに対してリクエストを送信する(S109)。
The object configuration data management unit in the
次に、接続指示のリクエストを受けた各接続先オブジェクトは、おのおの接続処理を実施し(S110)、処理完了後に接続元オブジェクトに対して応答を返す(S111)。この応答は、先に説明したコネクション確立のための接続要求と同様にオブジェクト構成データ管理部121を介して行われる。
Next, each connection destination object that has received the request for the connection instruction performs a connection process (S110), and returns a response to the connection source object after the process is completed (S111). This response is made via the object configuration
次に、ミドルウェア120内のオブジェクト構成データ管理部121は、コネクション管理部112に対して、各オブジェクト間のコネクションが確立したことを通知する(S112)。このコネクション確立の通知により、コネクション管理部112は、コネクションにIDをつけてリポジトリ122に登録し(S113)、その後の管理を行う。このIDは、図4のコネクションIDに相当し、オブジェクト間の接続が確立したことにより書き込まれることとなる。
Next, the object configuration
ステップS103のIOR登録、及びステップS113のコネクションID登録により、図4で示したリポジトリ122におけるすべてのテーブル情報が格納されることとなる。コネクションID登録後、オブジェクト間のコネクションが確立され、通信可能な状態となる(S114)。
With the IOR registration in step S103 and the connection ID registration in step S113, all table information in the
実施の形態1によれば、構成管理プロファイルに基づく構成情報を活用することにより、ユーザの指示なしに自動的にオブジェクト間のコネクションを確立して、新たなパッケージに含まれているオブジェクト群を実行するソフトウェア機能更新装置が実現できる。 According to the first embodiment, by utilizing configuration information based on the configuration management profile, a connection between objects is automatically established without a user instruction, and an object group included in a new package is executed. A software function update device can be realized.
さらに、構成管理プロファイルにて構成を自由に定義できるため、固定構成だけでなく任意構成によるオブジェクトの接続関係の構築が容易に行える。さらに、ワークメモリあるいはフラッシュROMなどの領域であるアドレス情報を管理する必要がないため、管理を容易にすることができる。 Furthermore, since the configuration can be freely defined by the configuration management profile, it is possible to easily construct an object connection relationship based on an arbitrary configuration as well as a fixed configuration. Furthermore, since it is not necessary to manage address information that is an area such as a work memory or a flash ROM, management can be facilitated.
実施の形態2.
実施の形態1では、新たなパッケージ130を入力部150からダウンロードした際における初期起動時の動作について説明した。実施の形態2では、オブジェクトの更新(入れ替え)時における部分更新の動作について説明する。実施の形態2の構成は、実施の形態1における図1の構成と同一である。実施の形態1では具体的な説明をしなかった差分解析部114を中心に、以下詳細に説明する。
In the first embodiment, the operation at the initial activation when the
オブジェクトa、b、cの3つのオブジェクトで運用されているソフトウェア機能に対して、オブジェクトbをオブジェクトb’に更新する場合について、図6〜図10に基づいて説明する。 The case where the object b is updated to the object b ′ with respect to the software function operated by the three objects a, b, and c will be described with reference to FIGS.
図6は、本発明の実施の形態2におけるオブジェクト構成を示した図である。現在運用中のオブジェクトは、a、b、cの3つである。新たにダウンロードされたオブジェクトはb’であり、オブジェクトb’によってオブジェクトbを更新する場合を示している。 FIG. 6 is a diagram showing an object configuration in the second embodiment of the present invention. There are three objects currently in operation: a, b, and c. The newly downloaded object is b ', and the case where the object b is updated by the object b' is shown.
図7は、本発明の実施の形態2における新規にダウンロードされた構成管理プロファイルのデータテーブル構造を示す図である。5種類のデータからなるデータ構成は、実施の形態1における図3と同一である。接続先オブジェクト名において「null」と設定されているものは、接続先となるコネクションが存在しないことを意味する。 FIG. 7 is a diagram showing a data table structure of a newly downloaded configuration management profile according to the second embodiment of the present invention. The data structure composed of five types of data is the same as that in FIG. 3 in the first embodiment. A connection destination object name set to “null” means that there is no connection to be a connection destination.
例えば、オブジェクトaは、図6に示すようにオブジェクトaから他のオブジェクトに向かう矢印が存在せず、接続先となるコネクションが存在しないことを意味しており、接続先オブジェクト名には「null」が設定されている。 For example, the object a means that there is no arrow from the object a to another object as shown in FIG. 6 and there is no connection as a connection destination, and the connection destination object name is “null”. Is set.
また、コネクション種別において「External」と設定されているものは、同一の管理対象ではあるが、ハードウェアのドライバのような外部的な位置付けのオブジェクトとの接続関係を意味している。オブジェクトaがこの外部オブジェクトに相当する。 Also, what is set to “External” in the connection type means a connection relationship with an externally positioned object such as a hardware driver, although it is the same management target. Object a corresponds to this external object.
図8は、本発明の実施の形態2におけるリポジトリ122内の運用中のオブジェクト構成のデータテーブル構造を示す図である。また、図9は、本発明の実施の形態2におけるリポジトリ122内の新規オブジェクト構成のデータテーブル構造を示す図である。図8及び図9における7種類のデータからなるデータ構成は、実施の形態1における図4と同一である。
FIG. 8 is a diagram showing a data table structure of an object configuration in operation in the
さらに、図10は、本発明の実施の形態2における部分更新時の動作シーケンス図である。図10に示したステップにしたがって動作を説明する。 Furthermore, FIG. 10 is an operation sequence diagram at the time of partial update in the second embodiment of the present invention. The operation will be described according to the steps shown in FIG.
新たなオブジェクトや構成管理プロファイル131が入力部150からダウンロードされると、オブジェクト管理部110内の構成管理部111は、パッケージ130内の構成管理プロファイル131のデータを読み込む(S200)。次に、構成管理部111は、読み込んだデータをミドルウェア120にあるオブジェクト構成データ管理部121のリポジトリ122に登録する(S201)。これにより、図9のIORとコネクションIDを除き、図7の構成管理プロファイル131にて定義された情報がリポジトリ122に反映されたこととなる。
When a new object or
次に、起動を開始し、初期化完了した新規オブジェクトは、自オブジェクトの参照先情報であるオブジェクト・リファレンス(IOR)を構成管理部111に通知する(S202)。このとき新規以外のオブジェクトはすでに通知済みのため再度の通知は行わない。具体的には、更新するための新規オブジェクトに相当するオブジェクトb’のIOR通知のみがなされる。
Next, activation is started and the new object that has been initialized notifies the
通知を受けた構成管理部111は、リポジトリ122に対して、通知されたIORを登録する(S203)。図9のIORが、このデータに相当する。
Upon receiving the notification, the
次に、構成管理部111は、差分解析部114に対して、運用中のソフトウェア機能に対応する構成情報と新規のソフトウェア機能に対応する構成情報との差分を解析するための解析要求を通知する(S204)。差分解析部114は、リポジトリ122内にある新規に登録した構成情報(図9に相当)と運用中の構成情報(図8に相当)とを比較し、変更箇所の解析を行う(S205)。
Next, the
ここで、構成情報におけるオブジェクト名の欄には、オブジェクトのバージョンが更新されたことがわかるように、あらかじめ決められた識別名が付されているものとする。これにより、差分解析部114は、図8と図9の構成情報を比較することにより、オブジェクトbがオブジェクトb’に変更されたことがわかる。
Here, it is assumed that a predetermined identification name is assigned to the object name column in the configuration information so that it can be seen that the version of the object has been updated. As a result, the
さらに、差分解析部114は、方向属性を解析することにより、接続先オブジェクト名にオブジェクトb’がないことから、オブジェクトb’への接続関係のあるオブジェクトは存在していないことがわかる。したがって、差分解析部114は、更新するオブジェクトの影響範囲としてはオブジェクトbだけ変更しオブジェクトb’からのコネクションを確立すればよいことがわかる。
Further, by analyzing the direction attribute, the
差分解析部114は、上述のような差分解析が完了すると、更新するオブジェクトの影響範囲を知らせるためのオブジェクト更新要求をコネクション管理部112に対して通知する(S206)。コネクション管理部112は、新規の構成情報に基づいたコネクション確立処理を開始する。コネクション管理部112は、更新するオブジェクトの影響範囲にあるオブジェクトのIORを検索し(S207)、現在運用中のオブジェクトに対して一旦コネクションの切断をするための切断要求を通知する(S208)。
When the difference analysis as described above is completed, the
コネクション管理部112は、切断要求に対応するコネクションIDを削除し(S209)、新たにコネクションの接続要求を行う(S211)。ここでの接続要求に対して、コネクション管理部112は、図9の接続先オブジェクト名を参照することにより、オブジェクトb’の接続先としてオブジェクトa、cの2つが存在していることを判断できる。この場合に、コネクション管理部112は、パッケージ内部のオブジェクト間の接続を優先し、まずは接続元オブジェクトb’に対して接続先オブジェクトcへの接続要求を行う。
The
一方、ステップS208で切断要求を受けたオブジェクトbは、コネクションを切断し、通信処理を停止する(S210)。 On the other hand, the object b that received the disconnection request in step S208 disconnects the connection and stops the communication process (S210).
また、ステップS211で接続要求を受けた接続元オブジェクトb’は、接続先オブジェクトcに対して接続指示を行う。図10の例では、bindインタフェースにより、相手先のオブジェクト名を指定することで行っている(S212)が、インタフェースは例であり、必ずしもこの名前でなくてもよい。 Further, the connection source object b 'that received the connection request in step S211 issues a connection instruction to the connection destination object c. In the example of FIG. 10, the object name of the other party is specified by the bind interface (S212), but the interface is an example, and this name is not necessarily required.
オブジェクト間の通信を司るミドルウェア120内のオブジェクト構成データ管理部121は、bindインタフェース中のオブジェクト名を基に、リポジトリ122から対応するオブジェクトのIORを検索し(S213)、オブジェクト名からIORへあて先情報を付け替えて接続先オブジェクトcに対してリクエストを送信する(S214)。
The object configuration
次に、接続指示のリクエストを受けた接続先オブジェクトcは、接続処理を実施し(S215)、処理完了後に接続元オブジェクトb’に対して応答を返す(S216)。この応答は、先に説明したコネクション確立のための接続要求と同様にオブジェクト構成データ管理部121を介して行われる。
Next, the connection destination object c that has received the request for the connection instruction performs a connection process (S215), and returns a response to the connection source object b 'after the process is completed (S216). This response is made via the object configuration
次に、ミドルウェア120内のオブジェクト構成データ管理部121は、コネクション管理部112に対して、オブジェクト間のコネクションが確立したことを通知する(S217)。このコネクション確立の通知により、コネクション管理部112は、コネクションにIDをつけてリポジトリ122に登録し(S218)、その後の管理を行う。このIDは、図9のコネクションIDに相当する。
Next, the object configuration
ステップS203のIOR登録、及びステップS218のコネクションID登録により、図9で示したリポジトリ122におけるオブジェクトb’とオブジェクトcとの関係に相当するテーブル情報が格納されることとなる。コネクションID登録後、オブジェクトb’−c間の内部コネクションが確立され、通信可能な状態となる(S219)。
With the IOR registration in step S203 and the connection ID registration in step S218, table information corresponding to the relationship between the object b 'and the object c in the
コネクション管理部112は、パッケージ内部のオブジェクト間の接続が完了したのに引き続き、外部オブジェクトとの接続関係がある場合には、外部コネクションの確立を行う。通常、外部コネクションは、内部コネクションの後に確立する。しかし、リポジトリ122の接続順序において、外部が優先して指定されている場合にはリポジトリ122の接続順序に従う。
The
構成管理部111は、外部コネクションの構築が必要な場合には、コネクション管理部112に対してコネクション確立のリクエストとして接続要求を通知する(S220)。通知を受けたコネクション管理部112は、構成情報をリポジトリ122から読み取り、対象となるオブジェクトのIORを検索する(S221)。コネクション管理部112は、構成情報とIORを利用してオブジェクトを制御することとなる。
When it is necessary to construct an external connection, the
次に、コネクション管理部112は、外部オブジェクトaとのコネクションを確立するため、接続元オブジェクトb’に対して接続先オブジェクトaへの接続要求を行う(S222)。
Next, the
次に、接続要求を受けた接続元オブジェクトb’は、接続先の外部オブジェクトaに対して接続指示を行う。図10の例では、bindインタフェースにより、相手先のオブジェクト名を指定することで行っている(S223)が、インタフェースは例であり、必ずしもこの名前でなくてもよい。 Next, the connection source object b 'that receives the connection request issues a connection instruction to the connection destination external object a. In the example of FIG. 10, the object name of the other party is specified by the bind interface (S223), but the interface is an example, and this name is not necessarily required.
オブジェクト間の通信を司るミドルウェア120内のオブジェクト構成データ管理部121は、bindインタフェース中のオブジェクト名を基に、リポジトリ122から対応するオブジェクトのIORを検索し(S224)、オブジェクト名からIORへあて先情報を付け替えてリクエストを送信する(S225)。
The object configuration
次に、接続指示のリクエストを受けた接続先の外部オブジェクトaは、接続処理を実施し(S226)、処理完了後に接続元オブジェクトb’に対して応答を返す(S227)。この応答は、先に説明したコネクション確立のための接続要求と同様にオブジェクト構成データ管理部121を介して行われる。
Next, the external object a that is the connection destination that has received the request for the connection instruction performs the connection process (S226), and returns a response to the connection source object b 'after the process is completed (S227). This response is made via the object configuration
次に、ミドルウェア120内のオブジェクト構成データ管理部121は、コネクション管理部112に対して、各オブジェクト間のコネクションが確立したことを通知する(S228)。このコネクション確立の通知により、コネクション管理部112は、コネクションにIDをつけてリポジトリ122に登録し(S229)、その後の管理を行う。このIDは、図9のコネクションIDに相当する。
Next, the object configuration
ステップS203のIOR登録、及びステップS229のコネクションID登録により、図9で示したリポジトリ122におけるオブジェクトb’と外部オブジェクトaとの関係に相当するテーブル情報が格納されることとなる。コネクションID登録後、オブジェクト間の外部および内部のすべてのコネクションが確立され、通信可能な状態となる(S230)。
With the IOR registration in step S203 and the connection ID registration in step S229, table information corresponding to the relationship between the object b 'and the external object a in the
実施の形態2によれば、差分解析部の働きにより、運用中の構成情報と新規の構成情報とを比較し、その差分を解析することで更新対象のオブジェクトとそのオブジェクトに関連するオブジェクトを特定し、影響範囲内のオブジェクトのみを部分入れ替えすることができる。これにより、入力部から全てのオブジェクトをダウンロードする必要がなく、更新に必要なオブジェクト及び新たなソフトウェア機能に対応する構成管理プロファイルのみをダウンロードすればよく、ダウンロード時間あるいはオブジェクトの再構築時間などにかかるオーバヘッドを短縮することができる。 According to the second embodiment, the operation of the difference analysis unit compares the configuration information in operation with the new configuration information, and analyzes the difference to identify the object to be updated and the object related to the object. Thus, only the objects within the influence range can be partially replaced. As a result, it is not necessary to download all objects from the input unit, and only the configuration management profile corresponding to the object necessary for the update and the new software function needs to be downloaded. Overhead can be shortened.
さらに、構成管理プロファイルにて構成を自由に定義できるため、固定構成だけでなく任意構成によるオブジェクトの入れ替えが可能となる。 Furthermore, since the configuration can be freely defined in the configuration management profile, it is possible to replace objects not only with a fixed configuration but also with an arbitrary configuration.
実施の形態3.
実施の形態2では、差分解析部114において、運用中の構成情報と新規の構成情報との比較に基づいて差分を解析することで、更新対象のオブジェクトとそのオブジェクトに関連するオブジェクトを特定し、影響範囲内のオブジェクトのみを部分更新する場合について説明した。これに対して、実施の形態3は、インタフェース定義情報133も活用して部分更新を行うものである。実施の形態3の構成は、実施の形態1における図1の構成と同一である。実施の形態1では具体的な説明をしなかったインタフェース定義情報133を中心に、以下詳細に説明する。
In the second embodiment, the
実施の形態3においては、オブジェクトが提供しているインタフェース定義情報133がパッケージ130にてIDLファイルとして提供されていることを前提としている。IDLファイルは、構成管理プロファイルと同様にして、記憶部に記憶されるとともにリポジトリ122に構成情報の一部として書き込まれ、構成情報として管理できる。
In the third embodiment, it is assumed that the
この場合に、差分解析部114は、リポジトリ122に登録されたオブジェクトの接続関係だけではなく、IDLファイルに基づいて、運用中の構成情報と新規の構成情報との差分を解析することができる。この解析により、オブジェクト名あるいは接続関係の情報からは同一と判断されるオブジェクトであっても、IDLが異なる場合には更新対象のオブジェクト及びそのオブジェクトに関連するオブジェクトを特定し、影響範囲内のオブジェクトのみを部分更新することができる。
In this case, the
このようなインタフェース定義情報133を活用した部分更新の動作について、図11〜図15に基づいて説明する。図11は、本発明の実施の形態3におけるオブジェクト構成を示した図である。現在運用中のオブジェクトは、a、b、cの3つである。新たにダウンロードされたオブジェクトはb’、c’の2つである。
The partial update operation using such
ここで、オブジェクトc’は、オブジェクト名からオブジェクトcを更新するものであることが識別できるものと仮定する。また、オブジェクトb’は、オブジェクトc’の提供するインタフェースがオブジェクトcの提供するインタフェースから変更されたことに伴って更新されるオブジェクトであり、オブジェクト名の比較からだけでは識別できないものと仮定する。このような場合には、さらにIDLファイルの比較を行うことにより、オブジェクトbをオブジェクトb’に更新すべきことを判断することとなる。 Here, it is assumed that the object c ′ can be identified from the object name as updating the object c. Further, it is assumed that the object b ′ is an object that is updated when the interface provided by the object c ′ is changed from the interface provided by the object c, and cannot be identified only by comparing the object names. In such a case, it is determined that the object b should be updated to the object b ′ by further comparing the IDL files.
図12は、本発明の実施の形態3における新規にダウンロードされた構成管理プロファイルのデータテーブル構造を示す図である。5種類のデータからなるデータ構成及びその内容は、実施の形態1における図3及び実施の形態2における図7と同一である。 FIG. 12 is a diagram showing a data table structure of a newly downloaded configuration management profile according to the third embodiment of the present invention. The data structure composed of five types of data and the contents thereof are the same as those in FIG. 3 in the first embodiment and FIG. 7 in the second embodiment.
図13は、本発明の実施の形態3におけるリポジトリ122内の運用中のオブジェクトのデータテーブル構造を示す図である。また、図14は、本発明の実施の形態3におけるリポジトリ122内の新規オブジェクトのデータテーブル構造を示す図である。図13及び図14における7種類のデータからなるデータ構成は、実施の形態1における図4及び実施の形態2における図8、図9と同一である。
FIG. 13 is a diagram showing a data table structure of objects in operation in the
さらに、図15は、本発明の実施の形態3における部分更新時の動作シーケンス図である。図15に示したステップにしたがって動作を説明する。 Further, FIG. 15 is an operation sequence diagram at the time of partial update in the third embodiment of the present invention. The operation will be described according to the steps shown in FIG.
実施の形態1、2と同様に、新たなオブジェクトや構成管理ファイル131、インタフェース定義情報133が入力部150からダウンロードされると、オブジェクト管理部110内の構成管理部111は、パッケージ130内の構成管理プロファイル131のデータを読み込む(S300)。次に、構成管理部111は、読み込んだデータをミドルウェア120にあるオブジェクト構成データ管理部121のリポジトリ122に登録する(S301)。これにより、図14のIORとコネクションIDを除き、図12の構成管理プロファイル131にて定義された情報がリポジトリ122に反映されたこととなる。
As in the first and second embodiments, when a new object,
次に、起動を開始し、初期化完了した新規オブジェクトは、自オブジェクトの参照先情報であるオブジェクト・リファレンス(IOR)を構成管理部111に通知する(S302)。このとき新規以外のオブジェクトはすでに通知済みのため再度の通知は行わない。具体的には、オブジェクトb’とオブジェクトc’のIOR通知がなされる。
Next, activation is started, and the new object that has been initialized notifies the
通知を受けた構成管理部111は、リポジトリ122に対して、通知されたIORを登録する(S303)。図14のIORが、このデータに相当する。
Upon receiving the notification, the
次に、構成管理部111は、差分解析部114に対して、運用中のソフトウェア機能に対応する構成情報と新規のソフトウェア機能に対応する構成情報との差分を解析するための解析要求を通知する(S304)。そして、差分解析部114は、新規に登録したリポジトリ122の構成情報(図14に相当)と運用中の構成情報(図13に相当)とを比較し、変更箇所の解析を行う(S305)。この解析により、差分解析部114は、オブジェクトc’がオブジェクトcを更新したものであることを判断できる。
Next, the
さらに、差分解析部114は、インタフェース定義情報(IDL)133についても調査し、各オブジェクトが提供しているインタフェース情報について変更箇所を解析する。IDLに変更箇所が見つからなければ、差分解析部114は、IDLを除いたデータから差分解析を行い、更新するオブジェクトの影響範囲を特定する。このIDLを除いたデータからの差分解析は、実施の形態2と同様の処理である。
Further, the
一方、IDLに変更箇所が見つかった場合、すなわちインタフェースとして関数の数や引数などに変更がある場合には、差分解析部114は、そのインタフェースを利用するオブジェクトを、インタフェース定義情報133および構成管理プロファイル131またはリポジトリ122より解析する。
On the other hand, when a change location is found in the IDL, that is, when the number of functions, arguments, etc. are changed as an interface, the
差分解析部114は、IDL解析の結果、オブジェクトc’の提供するインタフェースがオブジェクトcの提供するインタフェースから変更されていることを判断できる。さらに、差分解析部114は、オブジェクト構成データ管理部121の運用中のリポジトリ122(図13)及びIDLから、更新前のオブジェクトcと接続関係があるオブジェクトとしてオブジェクトbがあることがわかる(S306)。
As a result of the IDL analysis, the
したがって、差分解析部114は、このような構成情報の解析及びIDL解析(S305及びS306に相当)により、オブジェクトcからオブジェクトc’への更新に伴うインタフェース変更により、オブジェクトbもオブジェクトb’に更新する必要があることがわかる。さらに、オブジェクトaはオブジェクトcとの接続関係がないことから更新の必要がないこともわかる。そこで、以降のステップにおいては、オブジェクトb、cをオブジェクトb’、c’に更新する動作を行うこととなる。
Therefore, the
差分解析部114は、差分解析が完了すると、更新するオブジェクトの影響範囲を知らせるためのオブジェクト更新要求をコネクション管理部112に対して通知する(S307)。コネクション管理部112は、新規の構成情報に基づいたコネクション確立処理を開始する。コネクション管理部112は、更新するオブジェクトの影響範囲にあるオブジェクトのIORを検索し(S308)、現在運用中のオブジェクトに対して一旦コネクションの切断をするための切断要求を通知する(S309)。
When the difference analysis is completed, the
コネクション管理部112は、切断要求に対応するコネクションIDを削除し(S310)、新たにコネクションの接続要求を行う(S312)。ここでの接続要求として、コネクション管理部112は、変更対象となるオブジェクトb’とオブジェクトc’に対して互いのオブジェクト間の接続要求を行う。
The
一方、ステップS309で切断要求を受けたオブジェクトbは、コネクションを切断し、通信処理を停止する(S311)。 On the other hand, the object b that has received the disconnection request in step S309 disconnects the connection and stops the communication process (S311).
また、ステップS312で接続要求を受けた接続元のオブジェクトb’とオブジェクトc’は、接続先のオブジェクトに対して接続指示を行う。図15の例では、bindインタフェースにより、相手先のオブジェクト名を指定することで行っている(S313)が、インタフェースは例であり、必ずしもこの名前でなくてもよい。 In addition, the connection source object b 'and the object c' that received the connection request in step S312 give a connection instruction to the connection destination object. In the example of FIG. 15, the object name of the other party is specified by the bind interface (S 313), but the interface is an example, and this name is not necessarily required.
オブジェクト間の通信を司るミドルウェア120内のオブジェクト構成データ管理部121は、bindインタフェース中のオブジェクト名を基に、リポジトリ122から対応するオブジェクトのIORを検索し(S314)、オブジェクト名からIORへあて先情報を付け替えて接続先のオブジェクトc’とオブジェクトb’に対してリクエストを送信する(S315)。
The object configuration
次に、接続指示のリクエストを受けた接続先であるオブジェクトc’とオブジェクトb’は、おのおの接続処理を実施し(S316)、処理完了後に接続元のオブジェクトb’とオブジェクトc’に対して応答を返す(S317)。この応答は、先に説明したコネクション確立のための接続要求と同様にオブジェクト構成データ管理部121を介して行われる。
Next, the connection destination objects c ′ and b ′ that have received the connection instruction request execute the connection processing (S316), and respond to the connection source objects b ′ and c ′ after the processing is completed. Is returned (S317). This response is made via the object configuration
次に、ミドルウェア120内のオブジェクト構成データ管理部121は、コネクション管理部112に対して、オブジェクト間のコネクションが確立したことを通知する(S318)。このコネクション確立の通知により、コネクション管理部112は、コネクションにIDをつけてリポジトリ122に登録し(S319)、その後の管理を行う。このIDは、図14のコネクションIDに相当する。
Next, the object configuration
ステップS303のIOR登録、及びステップS319のコネクションID登録により、図14で示したリポジトリ122におけるオブジェクトb’とオブジェクトc’との関係に相当するテーブル情報が格納されることとなる。コネクションID登録後、オブジェクトb’−c’間の内部コネクションが確立され、通信可能な状態となる(S320)。
By the IOR registration in step S303 and the connection ID registration in step S319, table information corresponding to the relationship between the object b 'and the object c' in the
コネクション管理部112は、パッケージ内部のオブジェクト間の接続が完了したのに引き続き、外部オブジェクトとの接続関係がある場合には、外部コネクションの確立を行う。通常、外部コネクションは、内部コネクションの後に確立する。しかし、リポジトリ122の接続順序において、外部が優先して指定されている場合にはリポジトリ122の接続順序に従う。
The
構成管理部111は、外部コネクションの構築が必要な場合には、コネクション管理部112に対してコネクション確立のリクエストとして接続要求を通知する(S321)。通知を受けたコネクション管理部112は、構成情報をリポジトリ122から読み取り、対象となるオブジェクトのIORを検索する(S322)。コネクション管理部112は、構成情報とIORを利用してオブジェクトを制御することとなる。
When it is necessary to construct an external connection, the
次に、コネクション管理部112は、オブジェクト間のコネクションを確立するため、管理対象のオブジェクトに対してコネクション確立のための接続要求を行う(S323)。この場合は、外部オブジェクトaが既存のオブジェクトのため、コネクション管理部112は、外部オブジェクトaに対して再接続要求を行うこととなる。これにより、再接続要求を受けた外部オブジェクトaは、以前切断したオブジェクトbに対してのみの接続処理を行えばよい。
Next, in order to establish a connection between objects, the
次に、接続要求を受けた外部オブジェクトaは、接続先のオブジェクトbに対して接続指示を行う。図15の例では、bindインタフェースにより、相手先のオブジェクト名を指定することで行っている(S324)が、インタフェースは例であり、必ずしもこの名前でなくてもよい。 Next, the external object a that receives the connection request issues a connection instruction to the connection destination object b. In the example of FIG. 15, the object name of the other party is specified by the bind interface (S 324), but the interface is an example, and this name is not necessarily required.
オブジェクト間の通信を司るミドルウェア120内のオブジェクト構成データ管理部121は、bindインタフェース中のオブジェクト名を基に、リポジトリ122から対応するオブジェクトのIORを検索し(S325)、オブジェクト名からIORへあて先情報を付け替えてリクエストを送信する(S326)。
The object configuration
ここで外部オブジェクトaは、以前のコネクションと同じもの(オブジェクトb)を引数として用いている。ミドルウェア120内のオブジェクト構成データ管理部121は、オブジェクト名がオブジェクトbからオブジェクトb’に変更されていることを識別できるため、オブジェクトb’に対応するIORを検索することでオブジェクトb’のIORに付け替えを行っている。
Here, the external object a uses the same object (object b) as the previous connection as an argument. Since the object configuration
すなわち、本処理では、ミドルウェア120内のオブジェクト構成データ管理部121の働きにより、既存オブジェクト(この場合は外部オブジェクトa)は、新オブジェクト(この場合はオブジェクトb’)の名前を知らなくてもよく、以前にコネクション構築したときと同様の手段で新オブジェクトを意識せずに、自動的に新規オブジェクトへの切り替えができるようになる。
That is, in this process, the existing object (in this case, the external object a) does not need to know the name of the new object (in this case, the object b ′) by the function of the object configuration
次に、接続指示のリクエストを受けた接続先オブジェクトb’は、接続処理を実施し(S327)、処理完了後に接続元の外部オブジェクトaに対して応答を返す(S328)。この応答は、先に説明したコネクション確立のための接続要求と同様にオブジェクト構成データ管理部121を介して行われる。
Next, the connection destination object b 'that has received the request for the connection instruction performs a connection process (S327), and returns a response to the connection source external object a after the process is completed (S328). This response is made via the object configuration
次に、ミドルウェア120内のオブジェクト構成データ管理部121は、コネクション管理部112に対して、オブジェクトa−b’間のコネクションが確立したことを通知する(S329)。このコネクション確立の通知により、コネクション管理部112は、コネクションにIDをつけてリポジトリ122に登録し(S330)、その後の管理を行う。このIDは、図14のコネクションIDに相当する。
Next, the object configuration
ステップS303のIOR登録、及びステップS330のコネクションID登録により、図14で示したリポジトリ122におけるオブジェクトb’と外部オブジェクトaとの関係に相当するテーブル情報が格納されることとなる。コネクションID登録後、オブジェクト間の外部および内部のすべてのコネクションが確立され、通信可能な状態となる(S331)。
By the IOR registration in step S303 and the connection ID registration in step S330, table information corresponding to the relationship between the object b 'and the external object a in the
実施の形態3によれば、実施の形態2で行ったオブジェクト構成の比較に加えて、さらにIDLファイルの比較に基づいて差分を解析することができる。これにより、IDLの更新によっても、更新対象のオブジェクトとそのオブジェクトに関連するオブジェクトを特定し、影響範囲内のオブジェクトのみを部分入れ替えすることができる。したがって、入力部から全てのオブジェクトをダウンロードする必要がなく、更新に必要なオブジェクト、新たなソフトウェア機能に対応する構成管理プロファイル、及びIDLファイルをダウンロードすればよく、ダウンロード時間あるいはオブジェクトの再構築時間などにかかるオーバヘッドを短縮することができる。 According to the third embodiment, in addition to the comparison of object configurations performed in the second embodiment, the difference can be further analyzed based on the comparison of IDL files. Thereby, even by updating the IDL, it is possible to specify the object to be updated and the object related to the object, and to partially replace only the object within the influence range. Therefore, it is not necessary to download all objects from the input unit, it is only necessary to download an object necessary for updating, a configuration management profile corresponding to a new software function, and an IDL file. Download time or object reconstruction time, etc. It is possible to reduce overhead.
さらに、IORを管理するミドルウェア内のオブジェクト構成データ管理部の働きにより、オブジェクト構成データ管理部にてオブジェクト名から対応するIORへの付け替え処理を行うことができ、オブジェクトは接続先オブジェクトのIORを知ることなく、接続先オブジェクト名のみによってコネクションを確立することができる。さらに、既存オブジェクトは、新オブジェクトの名前を知らなくてもよく、以前のコネクションを構築するのと同様の手段、すなわち以前の接続先オブジェクト名を指定することによって、新オブジェクト名を意識せずに、自動的に新規オブジェクトへの切り替えを行うことが可能となる。 Further, the object configuration data management unit in the middleware that manages the IOR allows the object configuration data management unit to perform a replacement process from the object name to the corresponding IOR, and the object knows the IOR of the connection destination object. The connection can be established only with the connection destination object name. Furthermore, the existing object does not need to know the name of the new object, and without specifying the name of the new object by specifying the previous connection destination object name in the same way as the previous connection is established. It becomes possible to automatically switch to a new object.
この結果、CORBA標準のシステムにおいて一般的に利用されているネーミング・サービスによるIORの取得処理を省くことができ、複雑な検索処理を利用する必要が無いため、オブジェクトの処理負荷を下げることが可能となる。また、オブジェクトは相手先の名前さえ認識していれば、相手先の場所はどこにあっても意識せずにコネクションの確立が行える。 As a result, it is possible to omit the IOR acquisition process by the naming service generally used in the CORBA standard system, and it is not necessary to use a complicated search process, so the processing load of the object can be reduced. It becomes. Also, as long as the object recognizes the name of the other party, the connection can be established without being aware of the location of the other party.
さらに、オブジェクト自身によるIOR取得処理などが削減できるため、インタフェース削減の結果、開発の独立性が高められ、オブジェクト毎に別々の開発者、あるいは異なる会社間どの開発なども可能となり、開発効率を向上することができる。 In addition, since IOR acquisition processing by the object itself can be reduced, the independence of development is improved as a result of interface reduction, and it becomes possible to develop each developer separately for each object or between different companies, improving development efficiency can do.
実施の形態4.
実施の形態4は、構成管理プロファイル131に接続順序があらかじめ設定されている場合において、ダウンロードされたオブジェクトの接続順序関係を考慮してオブジェクトのコネクション確立を行うものである。実施の形態4の構成は、実施の形態1における図1の構成と同一である。図16〜19に基づいて以下に説明する。
Embodiment 4 FIG.
In the fourth embodiment, when the connection order is preset in the
図16は、本発明の実施の形態4におけるオブジェクト構成を示した図である。図16のパッケージ130は、実施の形態1における図2と同じように、オブジェクトa及びオブジェクトbの2つで構成されている。図2と図16との異なる点は、接続順序が逆になっていることである。
FIG. 16 is a diagram showing an object configuration in the fourth embodiment of the present invention. The
図17は、本発明の実施の形態4における新規にダウンロードされた構成管理プロファイルのデータテーブル構造を示す図である。5種類のデータからなるデータ構成及びその内容は、実施の形態1における図3と同一である。しかしながら、図17の接続順序は、図3の接続順序と逆になって定義されている。 FIG. 17 is a diagram showing a data table structure of a newly downloaded configuration management profile according to the fourth embodiment of the present invention. The data structure composed of five types of data and the contents thereof are the same as those in FIG. 3 in the first embodiment. However, the connection order in FIG. 17 is defined in reverse to the connection order in FIG.
図18は、本発明の実施の形態4におけるリポジトリ122内のデータテーブル構造を示す図である。図18における7種類のデータからなるデータ構成は、実施の形態1における図4と同一である。しかしながら、図18の接続順序及びコネクションIDは、図3の接続順序及びコネクションIDと逆になっている。
FIG. 18 is a diagram showing a data table structure in the
さらに、図19は、本発明の実施の形態4における初期起動時の動作シーケンス図である。図19に示したステップにしたがって動作を説明する。 Furthermore, FIG. 19 is an operation sequence diagram at the time of initial startup in the fourth embodiment of the present invention. The operation will be described according to the steps shown in FIG.
図19におけるステップS400からS404までの処理は、実施の形態1の図5におけるステップS100からS104までの処理と同様であるため説明を省略し、ステップS405以降を詳細に説明する。 The processing from step S400 to step S404 in FIG. 19 is the same as the processing from step S100 to step S104 in FIG. 5 of the first embodiment, so that the description thereof will be omitted, and step S405 and subsequent steps will be described in detail.
通知を受けたコネクション管理部112は、構成情報をリポジトリ122から読み取り、対象となるオブジェクトのIORを検索する(S405)。コネクション管理部112は、構成情報とIORを利用してオブジェクトを制御することとなる。
Upon receiving the notification, the
このとき、図18に示すような接続順序がリポジトリ122内のデータテーブル構造として定義されているため、コネクション管理部112は、この順序に従った接続の制御を行うこととなる。すなわち、コネクション管理部112は、オブジェクト間のコネクションを確立するため、管理対象のそれぞれの接続元オブジェクトに対して、オブジェクトb、オブジェクトaの順にコネクション確立のための接続要求を行う(S406)。
At this time, since the connection order as shown in FIG. 18 is defined as the data table structure in the
次に、接続要求を受けたパッケージ130内のそれぞれの接続元オブジェクトは、接続先のオブジェクトに対して接続指示を行う。図19の例では、bindインタフェースにより、相手先のオブジェクト名を指定することで行っている(S407)が、インタフェースは例であり、必ずしもこの名前でなくてもよい。
Next, each connection source object in the
オブジェクト間の通信を司るミドルウェア120内のオブジェクト構成データ管理部121は、bindインタフェース中のオブジェクト名を基に、リポジトリ122から対応するオブジェクトのIORを検索し(S408)、オブジェクト名からIORへあて先情報を付け替えてリクエストを送信する(S409)。
The object configuration
ここで、仮に接続元オブジェクトaからの接続指示が先にミドルウェア120に届いたとしても、ミドルウェア120内のオブジェクト構成データ管理部121は、リポジトリ122に定義されている順序にしたがって、接続先オブジェクトに対するリクエストを処理する。したがって、ミドルウェア120内のオブジェクト構成データ管理部121は、各オブジェクトからの接続指示の順番に依存せずに、接続順序に従った接続処理を実行することができる。
Here, even if the connection instruction from the connection source object “a” arrives at the
次に、接続指示のリクエストを受けた各接続先オブジェクトは、おのおの接続処理を実施し(S410)、処理完了後に接続元オブジェクトに対して応答を返す(S411)。この応答は、先に説明したコネクション確立のための接続要求と同様にオブジェクト構成データ管理部121を介して行われる。また、応答の際にも、ミドルウェア120内のオブジェクト構成データ管理部121は、ステップS408と同様にリポジトリ122に定義されている接続順序にしたがってリクエストを処理するため、順序が逆転することはない。
Next, each connection destination object that has received the request for the connection instruction performs a connection process (S410), and returns a response to the connection source object after the process is completed (S411). This response is made via the object configuration
次に、ミドルウェア120内のオブジェクト構成データ管理部121は、コネクション管理部112に対して、各オブジェクト間のコネクションが確立したことを通知する(S412)。このコネクション確立の通知により、コネクション管理部112は、コネクションにIDをつけてリポジトリ122に登録し(S413)、その後の管理を行う。このIDは、図18のコネクションIDに相当する。
Next, the object configuration
ステップS403のIOR登録、及びステップS413のコネクションID登録により、図18で示したリポジトリ122におけるすべてのテーブル情報が格納されることとなる。コネクションID登録後、オブジェクト間のコネクションが確立され、通信可能な状態となる(S414)。
With the IOR registration in step S403 and the connection ID registration in step S413, all table information in the
実施の形態4によれば、構成管理部及びコネクション管理部が、更新対象のオブジェクトを一元的に管理しているため、オブジェクトの接続に順序関係があるようなコネクションの場合においても対応でき、オブジェクトがどのような順序でダウンロードされてもコネクションを確立することができる。 According to the fourth embodiment, since the configuration management unit and the connection management unit manage the objects to be updated in an integrated manner, it is possible to cope with the case where the connection of the objects has an order relationship. A connection can be established no matter what order is downloaded.
さらに、この接続順序は、コネクションの種別毎に定義できる。例えば、外部オブジェクト、パッケージ内部のオブジェクト、共有のオブジェクトなど様々な種別のコネクション毎に接続順序を設定できる。これにより、オブジェクトの多様な構成に適応でき、適用範囲の広い機能更新方式によるソフトウェア機能更新装置が実現できる。 Furthermore, this connection order can be defined for each type of connection. For example, the connection order can be set for each type of connection such as an external object, an object inside a package, or a shared object. As a result, it is possible to realize a software function updating apparatus that can be applied to various configurations of objects and that uses a function updating method with a wide application range.
実施の形態5.
実施の形態4では、構成管理プロファイル131に接続順序が記述されている場合において、その接続順序に従ってコネクション確立を行う場合について説明した。これに対して、実施の形態5は、構成管理プロファイル131の情報すべてに従うのではなく、接続順序などの一部の情報をスケジュール管理部113からのスケジュールに基づいてオブジェクトのコネクションを確立するものである。実施の形態5の構成は、実施の形態1における図1の構成と同一である。
Embodiment 5 FIG.
In the fourth embodiment, when the connection order is described in the
図20は、本発明の実施の形態5における初期起動時の動作シーケンス図である。図20に示したステップにしたがって動作を説明する。 FIG. 20 is an operation sequence diagram at the time of initial startup according to the fifth embodiment of the present invention. The operation will be described according to the steps shown in FIG.
図20におけるステップS500からS503までの処理は、実施の形態4の図19におけるステップS400からS403までの処理と同様であるため説明を省略し、ステップS504以降を詳細に説明する。 The processing from step S500 to step S503 in FIG. 20 is the same as the processing from step S400 to step S403 in FIG. 19 of the fourth embodiment, and thus description thereof will be omitted, and step S504 and subsequent steps will be described in detail.
スケジュール管理部113は、入力部150から接続のためのタイミング等の接続指示があるか否かを確認する(S504)。接続指示があった場合には、スケジュール管理部113は、指示に基づいた接続順序をリポジトリ122に登録し、構成管理部111に接続開始を指示する(S505)。ただし、コネクション確立の開始ポイント(時間)の指定が必要な場合は、入力部150からの指示があるまで構成管理部111への指示は行わない。
The
図20におけるステップS506からS516までの処理は、実施の形態4の図19におけるステップS404からS414までの処理と同様であるため説明を省略する。このようにして、スケジュール管理部113の指示に基づいたコネクションが確立できる。
The processing from step S506 to S516 in FIG. 20 is the same as the processing from step S404 to S414 in FIG. In this way, a connection based on an instruction from the
実施の形態5によれば、スケジュール管理部は、入力部からの指示に基づいてオブジェクトの確立のタイミングあるいは接続順序などの指示を管理し、構成管理部に指示することが可能となる。これにより、構成管理プロファイルによらずに、任意のタイミングあるいは任意の接続順序でコネクションを確立し、オブジェクトの構築を自由に行える機能更新方式によるソフトウェア機能更新装置が実現できる。 According to the fifth embodiment, the schedule management unit can manage instructions such as the object establishment timing or connection order based on an instruction from the input unit, and can instruct the configuration management unit. As a result, a software function updating apparatus based on a function updating method that can establish a connection at any timing or in any connection order and freely construct an object can be realized regardless of the configuration management profile.
実施の形態6.
実施の形態6では、オブジェクト更新後の運用中に、コネクションの障害が発生した際の復旧機能を備えたソフトウェア機能更新装置について説明する。実施の形態6の構成は、実施の形態1における図1の構成と同一である。
Embodiment 6 FIG.
In the sixth embodiment, a software function updating apparatus having a recovery function when a connection failure occurs during operation after updating an object will be described. The configuration of the sixth embodiment is the same as the configuration of FIG. 1 in the first embodiment.
実施の形態6では、新規にダウンロードした新パッケージ130に更新し、オブジェクトの接続関係を変更して運用した後に、新パッケージ内のオブジェクトまたはオブジェクト間のコネクションに障害が発生した場合を想定している。この場合には、運用実績のある過去の構成に基づいて、復旧可能なオブジェクトのコネクション確立を行うことができ、その動作について図21〜図23に基づいて説明する。
In the sixth embodiment, it is assumed that a failure occurs in an object in a new package or a connection between objects after updating to a newly downloaded
図21は、本発明の実施の形態6におけるパッケージ130内のオブジェクト構成を示した図である。図21は、運用するオブジェクトをa、b、cからa、b’、c’に更新した後に、オブジェクトb’−c’間で障害が発生したことにより、正常な運用を行うためにオブジェクトをa、b、cに復旧する場合を示している。なお、以下の説明においては、オブジェクトb、cを含むパッケージをパッケージ1、オブジェクトb’、c’を含むパッケージをパッケージ2、そしてオブジェクトaを含むパッケージをパッケージ3と呼ぶこととする。
FIG. 21 is a diagram showing an object configuration in the
図22は、本発明の実施の形態6におけるリポジトリ122内の運用中のオブジェクトのデータテーブル構造を示す図である。図22における7種類のデータからなるデータ構成は、実施の形態1における図4と同一である。図22には、パッケージ1からパッケージ3までの情報が設定されている。
FIG. 22 is a diagram showing a data table structure of objects in operation in the
さらに、図23は、本発明の実施の形態6における部分更新時の動作シーケンス図である。図23に示したステップにしたがって動作を説明する。 Further, FIG. 23 is an operation sequence diagram at the time of partial update in the sixth embodiment of the present invention. The operation will be described according to the steps shown in FIG.
パッケージ2とパッケージ3のコネクション確立後に、パッケージ2を構成するオブジェクトまたはコネクションに障害が発生した場合に、構成管理部111は、リポジトリ122を検索することにより、運用実績のある過去のパッケージにおけるオブジェクトの構成情報が登録されていることを確認する(S600)。なお、構成管理部111は、差分解析部114の解析結果に基づいて更新処理を行った際の更新履歴を管理することによっても、運用実績のある過去の構成情報を割り出すことができる。
After a connection between the
リポジトリ122には、図22で示したように、更新後のパッケージ2、3の情報とともに、更新前のパッケージ1の情報も登録されていると仮定する。この場合には、運用中にパッケージ2で障害が発生した際に、パッケージ2を元のパッケージ1に復旧することが考えられる。
As shown in FIG. 22, it is assumed that the information of the
構成管理部111は、パッケージ1の切り替えをコネクション管理部112にリクエストする(S601)。コネクション管理部112は、更新するオブジェクトの影響範囲にあるオブジェクトのIORを検索し(S602)、現在運用中のオブジェクトに対して一旦コネクションの切断をするための切断要求を通知する(S603)。
The
コネクション管理部112は、切断要求に対応するコネクションIDを削除し(S604)、オブジェクト間のコネクションを確立するため、管理対象のオブジェクトに対してコネクション確立のための再接続要求を行う(S606)。この場合は、オブジェクトaが既存のオブジェクトのため、コネクション管理部112は、接続元の外部オブジェクトaに対して再接続要求を行うこととなる。
The
一方、コネクション切断要求を受けたオブジェクトはコネクションを切断し、通信処理を停止する(S605)。 On the other hand, the object that has received the connection disconnection request disconnects the connection and stops the communication process (S605).
次に、接続要求を受けた接続元の外部オブジェクトaは、接続先オブジェクトbに対して接続指示を行う。図23の例では、bindインタフェースにより、相手先のオブジェクト名を指定することで行っている(S607)が、インタフェースは例であり、必ずしもこの名前でなくてもよい。 Next, the external object a that has received the connection request issues a connection instruction to the connection destination object b. In the example of FIG. 23, the object name of the other party is specified by the bind interface (S607), but the interface is an example, and this name is not necessarily required.
オブジェクト間の通信を司るミドルウェア120内のオブジェクト構成データ管理部121は、bindインタフェース中のオブジェクト名を基に、リポジトリ122から対応するオブジェクトのIORを検索し(S608)、オブジェクト名からIORへあて先情報を付け替えてリクエストを送信する(S609)。
The object configuration
ここでオブジェクトaは、以前のコネクションと同じもの(オブジェクト名b)を引数として用いている。ミドルウェア120内のオブジェクト構成データ管理部121は、オブジェクト名がオブジェクトb’からオブジェクトbに変更されていることを識別できるため、オブジェクトbに対応するIORを検索することでオブジェクトbのIORに付け替えを行っている。
Here, the object a uses the same object (object name b) as the previous connection as an argument. Since the object configuration
すなわち、本処理では、ミドルウェア120内のオブジェクト構成データ管理部121の働きにより、既存オブジェクト(この場合は外部オブジェクトa)は、新オブジェクト(この場合はオブジェクトb)の名前を知らなくてもよく、以前にコネクション構築したときと同様の手段で新オブジェクトを意識せずに、自動的に新規オブジェクトへの切り替えができるようになる。
That is, in this process, the function of the object configuration
次に、接続指示のリクエストを受けた接続先オブジェクトbは、接続処理を実施し(S610)、処理完了後に接続元の外部オブジェクトaに対して応答を返す(S611)。この応答は、先に説明したコネクション確立のための接続要求と同様にオブジェクト構成データ管理部121を介して行われる。
Next, the connection destination object b that has received the connection instruction request performs connection processing (S610), and returns a response to the connection source external object a after completion of the processing (S611). This response is made via the object configuration
次に、ミドルウェア120内のオブジェクト構成データ管理部121は、コネクション管理部112に対して、オブジェクトa−b間のコネクションが確立したことを通知する(S612)。このコネクション確立の通知により、コネクション管理部112は、コネクションにIDをつけてリポジトリ122に登録し(S613)、その後の管理を行う。このIDは、図22のコネクションIDに相当する。
Next, the object configuration
コネクションID登録後、オブジェクト間の外部および内部のすべてのコネクションが確立され、通信可能な状態となる(S614)。これにより、パッケージ2からパッケージ1への切り替え(復旧)が完了する。
After registering the connection ID, all external and internal connections between the objects are established and communication is possible (S614). Thereby, switching (recovery) from the
実施の形態6によれば、構成管理部において複数のパッケージ毎のオブジェクトの構成を管理することにより、オブジェクト構成更新後にソフトウェアに不具合が見つかった場合においても、構成管理部の指示によりコネクション管理部がパッケージを切り替えて、元の構成に戻すことができる。これにより、障害が発生した場合におけるソフトウェアの機能復旧が実現できる。 According to the sixth embodiment, the configuration management unit manages the configuration of the objects for each of the plurality of packages, so that even when a defect is found in the software after the object configuration is updated, the connection management unit is instructed by the configuration management unit. You can switch packages back to their original configuration. As a result, it is possible to realize functional recovery of software when a failure occurs.
なお、上述においては、パッケージが3つの構成での切り替え処理を説明したが、これに限定されない。システムのリソース次第では、4つ以上のパッケージを管理してもよく、運用実績のある過去の構成に自由に戻すことができ、さらに安全なソフトウェアの機能更新が可能となる。 In the above description, the switching process with three packages is described, but the present invention is not limited to this. Depending on the system resources, four or more packages may be managed, and it is possible to freely return to a past configuration with a track record of operation, and to further safely update the function of software.
また、過去の実績だけでなく、別々の機能として管理することにより、一旦ダウンロードしたパッケージであれば、任意のタイミングで何度でも自由にソフトウェア機能更新装置の機能を切り替えて使用することができ、再ダウンロードにかかるオーバヘッドを減らすことが可能となる。 In addition, by managing not only past results but also separate functions, once downloaded, you can freely switch the function of the software function update device at any time and use it. It is possible to reduce overhead for re-downloading.
実施の形態7.
実施の形態7では、構成管理プロファイル131のオブジェクト構成を変更することにより管理対象パッケージを再構築する動作について説明する。実施の形態7の構成は、実施の形態1における図1の構成と同一である。
Embodiment 7 FIG.
In the seventh embodiment, an operation for reconstructing a management target package by changing the object configuration of the
オブジェクト追加の動作は、追加した新規オブジェクトの初期化完了後に自オブジェクトのIORをオブジェクト管理部110の構成管理部111に通知することで実現できる。それ以降の動作は、初期起動時の動作である実施の形態1と同様である。
The object addition operation can be realized by notifying the
また、オブジェクト削除の動作は、削除対象のオブジェクトとオブジェクト管理部110の差分解析部114にて特定した影響範囲に対してコネクションを削除し、リポジトリ122に登録された構成情報に基づいてオブジェクト間のコネクションを新たに確立し直すことで実現できる。これは、一旦コネクションを削除して、再構築する差分入れ替えの動作である実施の形態2あるいは実施の形態3と同様である。
In addition, the object deletion operation deletes the connection between the object to be deleted and the influence range specified by the
実施の形態7によれば、構成管理プロファイルにてオブジェクトの構成を自由に定義できるため、固定構成だけでなく任意構成によるオブジェクトの接続関係の構築が行える。さらに、任意の構成変更が可能になるため、オブジェクトの追加及び削除が所望のタイミングで行え、ソフトウェア機能更新装置の構成変更の自由度が高くなり、機能向上が実現できる。 According to the seventh embodiment, since the object configuration can be freely defined by the configuration management profile, it is possible to construct an object connection relationship not only by a fixed configuration but also by an arbitrary configuration. Furthermore, since arbitrary configuration changes are possible, the addition and deletion of objects can be performed at a desired timing, the degree of freedom in changing the configuration of the software function update device is increased, and the function can be improved.
111構成管理部、112 コネクション管理部、113 スケジュール管理部、114 差分解析部、 121 オブジェクト構成データ管理部、122 リポジトリ群(データベース)、130 パッケージ、131 構成管理プロファイル、132 管理対象オブジェクト群(オブジェクト群)、133 インタフェース定義情報。 111 configuration management unit, 112 connection management unit, 113 schedule management unit, 114 difference analysis unit, 121 object configuration data management unit, 122 repository group (database), 130 package, 131 configuration management profile, 132 managed object group (object group) ) 133 interface definition information.
Claims (6)
オブジェクト間の相互接続関係のデータを有する構成情報を記憶するデータベースと、
管理対象となるソフトウェア機能のオブジェクト間の相互接続関係のデータを有する構成管理プロファイルと、管理対象オブジェクトの集合であるオブジェクト群とを含むパッケージデータを記憶する記憶部と、
オブジェクトの入れ替え及びオブジェクト間の相互接続の切り替えを必要とする新たなソフトウェア機能について、オブジェクト間の相互接続関係のデータを有する構成管理プロファイルと、前記新たなソフトウェア機能に必要な新たなオブジェクト群とを含む新たなパッケージデータを設定し、前記記憶部にダウンロードして記憶させる入力部と、
前記ダウンロードされたタイミングで前記記憶部から前記新たなパッケージデータに含まれている構成管理プロファイルを読み取り、前記データベースに構成情報として登録し、前記新たなパッケージデータ内の前記オブジェクト群に含まれている新規オブジェクトが前記ダウンロードされたタイミングで起動した後の初期化完了に伴って、前記新規オブジェクトから自オブジェクトの参照先情報であるIORの通知を受信し、前記データベースにすでに登録された前記構成情報の一部として前記IORの情報を前記新規オブジェクトと関連づけて新たに追加登録した後、オブジェクト間の接続を確立するためのリクエストとして第1接続要求を通知する構成管理部と、
前記第1接続要求に応じて、前記新規オブジェクトと入れ替えられる前記旧オブジェクトに関連するオブジェクト間の相互接続を切断した後、前記データベースに登録された前記IORの情報を含む前記構成情報に基づいて接続関係にある接続元オブジェクトを検出し、管理対象のそれぞれの接続元オブジェクトに対して接続先オブジェクトとの接続を確立するための第2接続要求を出力するコネクション管理部と、
前記第2接続要求に応答した前記接続元オブジェクトから接続先オブジェクトに対する接続指示を受け取ると、前記IORの情報を含む前記構成情報に基づいて接続関係にある接続先オブジェクトを検出し、前記新たなパッケージデータで規定されたオブジェクト間の相互接続を確立し、前記新たなパッケージデータに応じた前記オブジェクトの入れ替え及び前記オブジェクト間の相互接続の切り替えを完了させるように、接続元オブジェクトと接続先オブジェクトとの間の接続制御を行うオブジェクト構成データ管理部と
を備えたことを特徴とするソフトウェア機能更新装置。 Manage the software functions as a collection of objects, Rutotomoni interchanged object to be updated included in the set of the object from the old object to the new object, the switching of the interconnections between the objects associated with the object to be the updated a software function updating device thus to realize various software functions by performing,
A database that stores configuration information having data of interconnection relationships between objects;
A storage unit that stores package data including a configuration management profile having data of an interconnection relationship between objects of software functions to be managed, and an object group that is a set of managed objects;
For a new software function that requires replacement of objects and switching of interconnections between objects, a configuration management profile having data on interconnection relations between objects, and a new object group necessary for the new software function An input unit that sets new package data including, downloads and stores the package data in the storage unit,
The configuration management profile included in the new package data is read from the storage unit at the downloaded timing, is registered as configuration information in the database, and is included in the object group in the new package data. Along with the completion of initialization after the new object is activated at the download timing, the notification of the IOR that is the reference destination information of the own object is received from the new object, and the configuration information already registered in the database A configuration management unit for notifying a first connection request as a request for establishing a connection between objects after newly registering the IOR information in association with the new object as a part;
In response to the first connection request, after disconnecting the interconnection between the objects related to the old object to be replaced with the new object, the connection is made based on the configuration information including the IOR information registered in the database. A connection management unit that detects connection source objects in a relationship and outputs a second connection request for establishing a connection with a connection destination object for each connection source object to be managed;
When a connection instruction for a connection destination object is received from the connection source object in response to the second connection request, a connection destination object having a connection relationship is detected based on the configuration information including the IOR information, and the new package A connection between the connection source object and the connection destination object is established so as to establish an interconnection between the objects specified in the data, and to complete the replacement of the object according to the new package data and the switching of the interconnection between the objects A software function update device comprising: an object configuration data management unit that controls connection between the two.
前記入力部は、相互接続を行うオブジェクトについて、一方のオブジェクトを接続元オブジェクト、他方のオブジェクトを接続先オブジェクトとする第1接続ステップを実行した後に、他方のオブジェクトを接続元オブジェクト、一方のオブジェクトを接続先オブジェクトとする第2接続ステップを実行することで2つのオブジェクト間の相互接続を接続順序に従って行う際に、前記構成管理プロファイル内に前記接続順序に関するデータをさらに含む新たなパッケージデータを設定し、前記記憶部に記憶させ、
前記コネクション管理部は、前記構成情報の中の前記接続順序に関するデータにしたがって前記第1接続ステップにおける接続元オブジェクトを検出して前記第2接続要求を通知し、
前記オブジェクト構成データ管理部は、前記構成情報の中の前記接続順序に関するデータにしたがって、前記第1接続ステップ、前記第2接続ステップの順番で、オブジェクト間の接続制御を行う
ことを特徴とするソフトウェア機能更新装置。 In the software function update device according to claim 1,
For the objects to be interconnected , the input unit executes a first connection step in which one object is a connection source object and the other object is a connection destination object, and then the other object is a connection source object and one object is when performed according to the interconnection connection order between two objects by performing a second connecting step of the connection destination object, further sets a new package data including data relating to the connection order to the configuration management in a profile , Stored in the storage unit,
The connection management unit notifies the second connection request to detect a connection source object in said first connecting step in accordance with data relating to the connection sequence in the configuration information,
The object configuration data management unit, in accordance with data relating to the connection sequence in the configuration information, the first connection step, in the order of the second connecting step, and performs connection control between objects Software function update device.
前記データベースに登録済の構成情報に関するオブジェクトの接続時に、オブジェクトの接続順序あるいは接続タイミングに関する入力データを前記入力部を介して受け付けることで、前記登録済の構成情報に含まれている接続順序を更新するとともに、前記構成管理部に対して接続開始指示を出力するスケジュール管理部をさらに備え、
前記構成管理部は、前記接続開始指示に基づいて前記第1接続要求を前記コネクション管理部に通知し、
前記コネクション管理部は、前記入力データにより更新された前記構成情報の中の前記接続順序に関するデータにしたがった順番で前記第2接続要求を通知し、
前記オブジェクト構成データ管理部は、前記構成情報の中の前記接続順序に関するデータにしたがった順番で、オブジェクト間の接続制御を行う
ことを特徴とするソフトウェア機能更新装置。 In the software function update device according to claim 1,
When connecting objects related to configuration information registered in the database, the connection order included in the registered configuration information is updated by receiving input data related to the connection order or connection timing of objects via the input unit. And a schedule management unit that outputs a connection start instruction to the configuration management unit,
The configuration management unit notifies the connection management unit of the first connection request based on the connection start instruction,
The connection management unit notifies the second connection request in an order according to the data related to the connection order in the configuration information updated by the input data;
The object configuration data management unit performs connection control between objects in an order according to data related to the connection order in the configuration information.
前記データベース内の2つの構成情報の比較に基づいて更新オブジェクトの特定を行う差分解析部をさらに備え、
前記構成管理部は、現在運用中のソフトウェア機能を前記新たなソフトウェア機能の運用に切り替える際に、前記コネクション管理部に対して前記第1接続要求を通知する代わりに、更新するオブジェクトを特定するための解析要求を前記差分解析部に出力し、
前記差分解析部は、前記解析要求を受け取ると、前記データベース内にある現在運用中の構成情報と、前記新たなソフトウェア機能に対応する構成情報との比較に基づいて、前記更新対象となるオブジェクト及び前記更新対象となるオブジェクトに関連した接続関係を特定し、特定されたオブジェクト及び特定されたオブジェクトに関連した接続関係に基づく更新要求を前記コネクション管理部に出力し、
前記コネクション管理部は、前記更新要求に応じて前記第2接続要求を出力する
ことを特徴とするソフトウェア機能更新装置。 In the software function update device according to any one of claims 1 to 3,
A difference analysis unit that identifies an update object based on a comparison of two pieces of configuration information in the database;
The configuration management unit specifies an object to be updated instead of notifying the connection management unit of the first connection request when switching the currently used software function to the operation of the new software function. Is output to the difference analysis unit,
The difference analysis unit receives the analysis request, the configuration information currently in operation in the database, based on a comparison of the configuration information corresponding to the new software functions, the the update target object and Specify a connection relationship related to the object to be updated, and output an update request based on the specified object and the connection relationship related to the specified object to the connection management unit,
The connection management unit outputs the second connection request in response to the update request.
前記入力部は、各オブジェクトが提供するインタフェース情報が記述されたIDLファイルをインタフェース定義情報としてさらに含む新たなパッケージデータを設定し、前記記憶部に記憶させ、
前記構成管理部は、前記記憶部から前記構成管理プロファイルとともに前記インタフェース定義情報を読み取り、前記データベースに構成情報の一部として登録し、
前記差分解析部は、現在運用中の構成情報と、前記新たなソフトウェア機能に対応する構成情報のそれぞれに含まれているインタフェース定義情報の比較結果を加味して更新対象となるオブジェクト及び前記更新対象となるオブジェクトに関連した接続関係を特定する
ことを特徴とするソフトウェア機能更新装置。 In the software function update device according to claim 4,
The input unit sets new package data further including, as interface definition information, an IDL file in which interface information provided by each object is described, and stores the new package data in the storage unit,
The configuration management unit reads the interface definition information together with the configuration management profile from the storage unit, registers the interface definition information as a part of the configuration information in the database,
The difference analysis unit includes the object to be updated and the update target in consideration of the comparison result of the interface definition information included in the configuration information currently in operation and the configuration information corresponding to the new software function. A software function update device characterized by specifying a connection relation related to an object to be a target.
前記構成管理部は、前記差分解析部の解析結果に基づいてソフトウェア機能の更新履歴を前記データベースに記憶させ、運用中のオブジェクトに不具合が発生したことにより前記オブジェクトから異常情報を受け取ると、前記データベースに記憶された前記更新履歴に基づいて現在運用中のソフトウェア機能に対応する構成情報に対して更新前の構成情報が存在すると判断した場合には、前記コネクション管理部に前記更新前の構成情報に基づくオブジェクトに切り替えるための切り替え要求を出力し、
前記コネクション管理部は、前記切り替え要求に基づいて前記更新前の構成情報に対応するオブジェクト間の接続を確立するために前記第2接続要求を出力する
ことを特徴とするソフトウェア機能更新装置。 In the software function update device according to claim 4 or 5,
The configuration management unit stores the update history of the software function in the database based on the analysis result of the difference analysis unit, and receives abnormality information from the object due to a failure in the object in operation. If it is determined that the configuration information before the update exists for the configuration information corresponding to the currently operating software function based on the update history stored in the connection management unit, the configuration information before the update is stored in the connection management unit. Outputs a switch request to switch to the based object,
The connection management unit outputs the second connection request in order to establish a connection between objects corresponding to the configuration information before the update based on the switching request.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004061000A JP4541727B2 (en) | 2004-03-04 | 2004-03-04 | Software function update device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004061000A JP4541727B2 (en) | 2004-03-04 | 2004-03-04 | Software function update device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2005250892A JP2005250892A (en) | 2005-09-15 |
| JP4541727B2 true JP4541727B2 (en) | 2010-09-08 |
Family
ID=35031309
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004061000A Expired - Fee Related JP4541727B2 (en) | 2004-03-04 | 2004-03-04 | Software function update device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4541727B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8745611B2 (en) | 2008-06-05 | 2014-06-03 | Accenture Global Services Limited | Software upgrade analysis system |
| JP2010055584A (en) * | 2008-07-28 | 2010-03-11 | Hitachi Software Eng Co Ltd | Application operation base system |
| JP5401385B2 (en) * | 2010-03-31 | 2014-01-29 | 株式会社ミツトヨ | Communication software |
| JP5387767B2 (en) * | 2010-06-17 | 2014-01-15 | 富士通株式会社 | Update technology for running programs |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH10240530A (en) * | 1997-02-24 | 1998-09-11 | Nippon Telegr & Teleph Corp <Ntt> | Object-oriented processing system |
| JP2002366381A (en) * | 2001-06-12 | 2002-12-20 | Hitachi Ltd | Dynamic replacement of objects |
| JP2002082922A (en) * | 2001-06-14 | 2002-03-22 | Digital Vision Laboratories Corp | Parallel distribution processing method |
-
2004
- 2004-03-04 JP JP2004061000A patent/JP4541727B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2005250892A (en) | 2005-09-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP4020252A1 (en) | Data analysis method and device, apparatus, and storage medium | |
| KR100800361B1 (en) | Dynamic service binding providing transparent switching of information services with defined coverage areas | |
| CN111026430B (en) | Method and system for flexible node composition on local or distributed computer system | |
| EP4171078A1 (en) | Voice scene update method and device, and terminal, server and system | |
| EP1433075A1 (en) | Grouping services in a distributed computing application | |
| CN111158711A (en) | Application program deployment method and device for multiple android system terminals | |
| US20020116540A1 (en) | Mobile agent transfer system, method and program for portable devices | |
| JP4541727B2 (en) | Software function update device | |
| CN110958180B (en) | Gateway routing method, intelligent gateway, electronic device and computer storage medium | |
| CN1322421C (en) | Agent system for mobile agents, computer network and method for downloading agent system from host computer to client computer of computer network | |
| US20100211631A1 (en) | Ubiquitous web service gateway and method | |
| CN107480223B (en) | Searching method, searching device and storage medium | |
| CN113900925A (en) | Test environment building and utilizing method, device, equipment and storage medium | |
| EP1293893A2 (en) | State-Transition-Matrix based generation of a computer program | |
| JP4744921B2 (en) | Software failure recovery system | |
| CN115955511B (en) | Microservice calling method, device, terminal device and readable storage medium | |
| JP2002366381A (en) | Dynamic replacement of objects | |
| EP3637721A1 (en) | Drive implementation method, apparatus and device, and computer readable storage medium | |
| CN117453272A (en) | Automobile software version management system | |
| JP2005086426A (en) | Portable information terminal, and software replacement system and method | |
| JP2001092641A (en) | Software install system | |
| CN103124381B (en) | Business collocation method and system | |
| CN119202039B (en) | A control method and gateway for read/write separation | |
| CN115244506A (en) | Vehicle data communication device, center device, data communication method, and computer program | |
| JP2001337858A (en) | Replica data management system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070208 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091124 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100113 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100223 |
|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20100517 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100521 |
|
| A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20100531 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20100622 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100624 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4541727 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130702 Year of fee payment: 3 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |