JP2005086556A - Controller connected to ieee 1394 serial bus - Google Patents

Controller connected to ieee 1394 serial bus Download PDF

Info

Publication number
JP2005086556A
JP2005086556A JP2003317346A JP2003317346A JP2005086556A JP 2005086556 A JP2005086556 A JP 2005086556A JP 2003317346 A JP2003317346 A JP 2003317346A JP 2003317346 A JP2003317346 A JP 2003317346A JP 2005086556 A JP2005086556 A JP 2005086556A
Authority
JP
Japan
Prior art keywords
record
device information
list
target
controller
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.)
Granted
Application number
JP2003317346A
Other languages
Japanese (ja)
Other versions
JP3826401B2 (en
Inventor
Masahiro Matsuda
匡弘 松田
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.)
Funai Electric Co Ltd
Original Assignee
Funai Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Funai Electric Co Ltd filed Critical Funai Electric Co Ltd
Priority to JP2003317346A priority Critical patent/JP3826401B2/en
Priority to DE102004043491A priority patent/DE102004043491A1/en
Priority to US10/936,807 priority patent/US7062332B2/en
Publication of JP2005086556A publication Critical patent/JP2005086556A/en
Application granted granted Critical
Publication of JP3826401B2 publication Critical patent/JP3826401B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0012High speed serial bus, e.g. IEEE P1394

Abstract

<P>PROBLEM TO BE SOLVED: To reduce a time required for acquiring device information of all of target devices which become control objects in a controller connected to IEEE 1394 serial bus. <P>SOLUTION: In a case where a record cannot be added in a list Y (YES at S31), a priority of device information of a concerned target is set (at S32) from a viewpoint of whether or not there is a high possibility that the concerned target is controlled by a controller on the basis of the kind of the controller and the device information of the target included in the record which becomes an addition object. Also, a record whose priority is lower than the priority of the device information of the concerned target is deleted (at S36) from the records stored in the list Y. Thus, since device information of a target whose possibility of being controlled by the concerned controller is high can be left in the list Y, a frequency of directly acquiring the device information from each target can be reduced. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、IEEE1394シリアルバスに接続されるコントローラ機器に係わり、特に、バス上のトラフィックを減少させる技術に関する。   The present invention relates to a controller device connected to an IEEE1394 serial bus, and more particularly to a technique for reducing traffic on the bus.

従来、IEEE1394シリアルバス(以下、バスと略す)に接続されるコントローラ機器は、バスリセット発生後に、バスに接続されている各ターゲット機器に対して、各ターゲット機器が有する機器情報の問合せ用のコマンドを送信し、問合せ先のターゲット機器から返された問合せ結果の情報に基づいて、各ターゲット機器を制御していた。   Conventionally, a controller device connected to an IEEE1394 serial bus (hereinafter abbreviated as a bus) is a command for inquiring device information of each target device to each target device connected to the bus after a bus reset occurs. And each target device is controlled based on the inquiry result information returned from the inquiry target device.

また、バスに接続される接続機器の分野において、バスインタフェースのチャンネルの獲得が競合したときに、競合しているプラグのうち、最も優先度の高いプラグにチャンネルを切り換えるようにしたものが知られている(例えば、特許文献1参照)。さらにまた、この種の接続機器の分野において、検出されたイベントに関連付けられている機器の優先度をアップさせて、優先度がアップした機器に対して優先的に帯域を割り当てるようにしたものが知られている(例えば、特許文献2参照)。   Also, in the field of connected devices connected to the bus, when there is a competition for channel acquisition of the bus interface, it is known that the channel is switched to the plug with the highest priority among the competing plugs. (For example, refer to Patent Document 1). Furthermore, in the field of this type of connected equipment, the priority of the equipment associated with the detected event is increased, and the bandwidth is preferentially allocated to the equipment with the higher priority. It is known (see, for example, Patent Document 2).

しかしながら、上記のような従来のコントローラ機器では、バスリセットが発生する度に、各ターゲット機器の制御に必要な機器情報を、各ターゲット機器から直接取得していたので、制御対象となる全てのターゲット機器の機器情報を取得するのに時間がかかるという問題があった。この問題は、該当のコントローラ機器が制御するターゲット機器の台数に比例して大きくなる。なお、上記特許文献1及び特許文献2に示される発明では、上記の問題を解消することはできない。
特開2002−16620号公報(第1−10頁、図1−19) 特開2003−18161号公報(第2−6頁、図1−11)
However, in the conventional controller device as described above, every time a bus reset occurs, device information necessary for control of each target device is obtained directly from each target device, so all the targets to be controlled are obtained. There was a problem that it took time to obtain device information of the device. This problem increases in proportion to the number of target devices controlled by the corresponding controller device. In addition, in the invention shown by the said patent document 1 and the patent document 2, said problem cannot be eliminated.
JP 2002-16620 A (page 1-10, FIG. 1-19) Japanese Patent Laying-Open No. 2003-18161 (page 2-6, FIG. 1-11)

本発明は、上記の問題を解決するためになされたものであり、制御対象となる全てのターゲット機器の機器情報を取得するのに要する時間を短縮することが可能なIEEE1394シリアルバスに接続されるコントローラ機を提供することを目的とする。   The present invention has been made to solve the above-described problem, and is connected to an IEEE1394 serial bus that can shorten the time required to acquire device information of all target devices to be controlled. An object is to provide a controller machine.

上記目的を達成するために請求項1の発明は、IEEE1394シリアルバスを介してネットワークに接続され、バスリセット発生後に、ネットワーク上の各ターゲット機器から各ターゲット機器固有のGUID(Global Unique Identification)を含む情報を受信するGUID受信手段と、GUID受信手段により受信したGUIDを含む情報の送信元のターゲット機器に対して、該当のターゲット機器の機器情報の問合せ用のコマンドを送信する送信手段と、送信手段により送信した問合せ用のコマンドに対して、問合せ先のターゲット機器から返された問合せ結果を受信する問合せ結果受信手段と、問合せ結果受信手段により受信した問合せ結果に含まれる各ターゲット機器の機器情報に基づいて、各ターゲット機器を制御する制御手段とを備えたIEEE1394シリアルバスに接続されるコントローラ機器において、問合せ結果に含まれる各ターゲット機器の機器情報に基づいて作成した、バスに現在接続されている各ターゲット機器の機器情報のリストである現機器情報リストと、バスに過去に接続されていたターゲット機器の機器情報のリストである旧機器情報リストとを記憶する記憶手段と、バスリセット後に、GUID受信手段により各ターゲット機器からGUIDを受信したときに、そのGUIDに該当するターゲット機器のレコードを現機器情報リスト内のレコードから検索する第1の検索手段と、第1の検索手段により該当のターゲット機器のレコードを検索することができなかったときに、GUID受信手段により受信したGUIDに該当するターゲット機器のレコードを旧機器情報リスト内のレコードから検索する第2の検索手段と、旧機器情報リストにレコードを追加することができるか否かを判定する判定手段とをさらに備え、バスリセット前に現機器情報リスト内に格納されていたレコードの中に、GUID受信手段により受信したGUID以外のGUIDを持つレコードが含まれているときは、該当のレコードを現機器情報リストから削除して、削除したレコードに相当するレコードを旧機器情報リストに追加し、旧機器情報リストにレコードを追加する際に、判定手段によりレコードを追加することができないと判定された場合、追加対象となるレコードに含まれているターゲット機器の機器情報とコントローラ機器の種類とに基づいて、該当のターゲット機器がコントローラ機器によって制御される可能性が高いか否かという観点から、該当の機器情報の優先度を設定し、旧機器情報リストに格納されているレコードの中から、該当の機器情報の優先度よりも低い優先度のレコードを、先頭のレコードから順に検索して、検索できたときは、最初に検索されたレコードを削除し、検索できなかったときは、旧機器情報リストに格納されているレコードの中から、機器情報の優先度と同じ優先度のレコードを、先頭のレコードから順に検索して、最初に検索されたレコードを削除し、旧機器情報リスト内のレコードを先頭から順に詰めて、追加対象となるレコードを旧機器情報リスト内の最後に追加するようにしたものである。   In order to achieve the above object, the invention of claim 1 is connected to a network via an IEEE1394 serial bus, and includes a GUID (Global Unique Identification) unique to each target device from each target device on the network after a bus reset occurs. GUID receiving means for receiving information, transmitting means for sending a command for inquiring device information of the target device to a target device that is a transmission source of information including the GUID received by the GUID receiving means, and transmitting means In response to the inquiry command sent by the inquiry result receiving means for receiving the inquiry result returned from the target device of the inquiry destination, and the device information of each target device included in the inquiry result received by the inquiry result receiving means Based on the IEEE1394 system including control means for controlling each target device. In the controller device connected to the Albus, the current device information list, which is a list of device information of each target device currently connected to the bus, created based on the device information of each target device included in the inquiry result, and the bus Storage means for storing an old device information list that is a list of device information of target devices connected in the past, and when a GUID is received from each target device by the GUID receiving means after a bus reset, A first search means for searching for a record of the corresponding target device from the records in the current device information list; and a GUID receiving means when the record of the target device cannot be searched by the first search means. Records the target device corresponding to the GUID received by the old device information list. A second search means for searching from the records in the storage device and a determination means for determining whether or not a record can be added to the old device information list, and stored in the current device information list before the bus reset When a record having a GUID other than the GUID received by the GUID receiving means is included in the recorded record, the record corresponding to the deleted record is deleted from the current device information list. When adding to the old device information list and adding a record to the old device information list, if it is determined by the determining means that the record cannot be added, the device of the target device included in the record to be added The target device is likely to be controlled by the controller device based on the information and the type of controller device From the viewpoint of whether or not, the priority of the corresponding device information is set, and from the records stored in the old device information list, the record with the priority lower than the priority of the corresponding device information is the first record If the search is successful, the first record found is deleted. If the search is not successful, the device information priority is the same as the records stored in the old device information list. Search for the priority records in order from the top record, delete the first searched record, pack the records in the old device information list in order from the top, and add the records to be added to the old device information list. It was added to the end of

上記構成においては、旧機器情報リストにレコードを追加する際に、判定手段によりレコードを追加することができないと判定された場合、追加対象となるレコードに含まれているターゲット機器の機器情報とコントローラ機器の種類とに基づいて、該当のターゲット機器がコントローラ機器によって制御される可能性が高いか否かという観点から、該当の機器情報の優先度を設定し、旧機器情報リストに格納されているレコードの中から、該当の機器情報の優先度よりも低い優先度のレコードを検索して、検索できたときは、最初に検索されたレコードを削除する。これにより、旧機器情報リストに該当のコントローラ機器によって制御される可能性が高いターゲット機器の機器情報を残すことができるので、現機器情報リストと旧機器情報リストに格納された機器情報に基づいて、各ターゲット機器を制御手段により制御することができる確立を高めることができる。従って、各ターゲット機器から機器情報を直接取得する頻度を低下させることができるので、制御対象となる全てのターゲット機器の機器情報を取得するのに要する時間を短縮することができる。   In the above configuration, when adding a record to the old device information list, if the determination unit determines that the record cannot be added, the device information and controller of the target device included in the record to be added Based on the device type, the priority of the corresponding device information is set and stored in the old device information list from the viewpoint of whether the target device is likely to be controlled by the controller device. A record having a lower priority than the priority of the corresponding device information is searched from the records, and if the search is successful, the first searched record is deleted. As a result, the device information of the target device that is highly likely to be controlled by the corresponding controller device can be left in the old device information list. Therefore, based on the current device information list and the device information stored in the old device information list. It is possible to increase the probability that each target device can be controlled by the control means. Accordingly, since the frequency of directly acquiring the device information from each target device can be reduced, the time required to acquire the device information of all target devices to be controlled can be shortened.

また、旧機器情報リストに格納されているレコードの中から、追加対象となるレコードに含まれている機器情報の優先度よりも低い優先度のレコードを、先頭のレコードから順に検索して、検索できたときは、最初に検索されたレコードを削除し、検索できなかったときは、旧機器情報リストに格納されているレコードの中から、追加対象となるレコードに含まれている機器情報の優先度と同じ優先度のレコードを、先頭のレコードから順に検索して、最初に検索されたレコードを削除するようにした。これにより、旧機器情報リストに格納されている同じ優先度のレコードの中で、最も格納時期が古いレコードを削除することができるので、該当のコントローラ機器によって最近制御された実績のあるターゲット機器の機器情報を旧機器情報リストに残すことができる。   Also, search from the records stored in the old device information list for records with a priority lower than the priority of the device information included in the record to be added, starting with the first record. If the search is successful, the first searched record is deleted. If the search is not successful, the device information contained in the record to be added is prioritized from the records stored in the old device information list. The records with the same priority as the search were searched in order from the first record, and the first searched record was deleted. As a result, among the records with the same priority stored in the old device information list, the record with the oldest storage time can be deleted, so that the target device that has been recently controlled by the corresponding controller device can be deleted. Device information can be left in the old device information list.

また、請求項2の発明は、IEEE1394シリアルバスを介してネットワークに接続され、バスリセット発生後に、ネットワーク上の各ターゲット機器に対して、該当のターゲット機器の機器情報の問合せ用のコマンドを送信する送信手段と、送信手段により送信した問合せ用のコマンドに対して、問合せ先のターゲット機器から返された問合せ結果を受信する問合せ結果受信手段と、問合せ結果受信手段により受信した問合せ結果に含まれる各ターゲット機器の機器情報に基づいて、各ターゲット機器を制御する制御手段とを備えたIEEE1394シリアルバスに接続されるコントローラ機器において、問合せ結果に含まれる各ターゲット機器の機器情報に基づいて作成した、バスに過去に接続されていたターゲット機器の機器情報のリストである旧機器情報リストを記憶する記憶手段と、旧機器情報リストにレコードを追加することができるか否かを判定する判定手段とをさらに備え、旧機器情報リストにレコードを追加する際に、判定手段によりレコードを追加することができないと判定された場合、追加対象となるレコードに含まれているターゲット機器の機器情報とコントローラ機器の種類とに基づいて、該当のターゲット機器がコントローラ機器によって制御される可能性が高いか否かという観点から、該当の機器情報の優先度を設定し、旧機器情報リストに格納されているレコードの中から、該当の機器情報の優先度よりも低い優先度のレコードを、先頭のレコードから順に検索して、検索できたときは、最初に検索されたレコードを削除し、検索できなかったときは、旧機器情報リストに格納されているレコードの中から、該当の機器情報の優先度と同じ優先度のレコードを、先頭のレコードから順に検索して、最初に検索されたレコードを削除するようにしたものである。   The invention of claim 2 is connected to the network via the IEEE1394 serial bus, and transmits a command for inquiring device information of the target device to each target device on the network after the bus reset occurs. Each of the query results received by the query result receiving means and the query result receiving means for receiving the query result returned from the target device of the query destination with respect to the command for inquiry sent by the sending means. Based on the device information of the target device, in the controller device connected to the IEEE1394 serial bus provided with the control means for controlling each target device, the bus created based on the device information of each target device included in the inquiry result Old device information that is a list of device information of target devices that have been connected to A storage unit that stores the list; and a determination unit that determines whether or not the record can be added to the old device information list. When the record is added to the old device information list, If it is determined that the target device cannot be added, the controller device may be controlled by the controller device based on the device information of the target device and the type of controller device included in the record to be added. Set the priority of the corresponding device information from the viewpoint of whether it is high or not, and from the records stored in the old device information list, start the record with a priority lower than the priority of the corresponding device information. If you are able to search in order from the first record, delete the first searched record. If you cannot find the record, search the old device information list. From among the records stored in the same priority record with the priority of the corresponding device information from the first record by searching sequentially, at first one so as to remove the retrieved record.

この構成においては、上記請求項1と同様な作用を得ることができる。   In this configuration, the same effect as in the first aspect can be obtained.

また、請求項3の発明は、請求項2の発明において、旧機器情報リストにレコードを追加する際に、旧機器情報リストに格納されているレコードを削除した場合は、旧機器情報リスト内のレコードを先頭から順に詰めて、追加対象となるレコードを旧機器情報リスト内の最後に追加するようにしたものである。   Further, in the invention of claim 3, in the invention of claim 2, when adding a record to the old device information list, if the record stored in the old device information list is deleted, The records are packed in order from the top, and the record to be added is added at the end in the old device information list.

この構成においては、旧機器情報リスト内のレコードを格納時期が古い順に整列させることができる。   In this configuration, the records in the old device information list can be arranged in order from the oldest storage time.

また、請求項4の発明は、請求項2の発明において、旧機器情報リストにレコードを追加する際に、判定手段によりレコードを追加することができないと判定された場合、追加対象となるレコードに含まれているターゲット機器の機器情報とコントローラ機器の種類に加えて、該当のターゲット機器とコントローラ機器との距離を考慮して、該当の機器情報の優先度を設定するようにしたものである。   Further, in the invention of claim 4, in the invention of claim 2, when adding a record to the old device information list, if it is determined by the determining means that the record cannot be added, the record to be added is added. The priority of the corresponding device information is set in consideration of the distance between the target device and the controller device in addition to the included device information and the type of the controller device.

この構成においては、上記請求項2に記載の作用を的確に得ることができる。   In this configuration, the function described in claim 2 can be obtained accurately.

請求項1の発明によれば、旧機器情報リストにレコードを追加することができないと判定された場合は、追加対象となるレコードに含まれているターゲット機器の機器情報とコントローラ機器の種類とに基づいて、該当のターゲット機器がコントローラ機器によって制御される可能性が高いか否かという観点から、該当の機器情報の優先度を設定し、旧機器情報リストに格納されているレコードの中から、該当の機器情報の優先度よりも低い優先度のレコードを削除するようにした。また、該当の機器情報の優先度よりも低い優先度のレコードを検索することができなかった場合は、旧機器情報リストに格納されている同じ優先度のレコードの中で、最も格納時期が古いレコードを削除するようにした。これにより、旧機器情報リストに該当のコントローラ機器によって制御される可能性が高いターゲット機器の機器情報を残すことができるので、現機器情報リストと旧機器情報リストに格納された機器情報に基づいて、各ターゲット機器を制御することができる確立を高めることができる。従って、各ターゲット機器から機器情報を直接取得する頻度を低下させることができるので、制御対象となる全てのターゲット機器の機器情報を取得するのに要する時間を短縮することができる。   According to the first aspect of the present invention, when it is determined that the record cannot be added to the old device information list, the device information of the target device and the type of the controller device included in the record to be added are included. Based on whether or not the target device is likely to be controlled by the controller device, set the priority of the corresponding device information, from among the records stored in the old device information list, A record with a priority lower than the priority of the corresponding device information was deleted. Also, if a record with a priority lower than the priority of the corresponding device information could not be searched, the record with the oldest storage time among the records with the same priority stored in the old device information list The record was deleted. As a result, the device information of the target device that is highly likely to be controlled by the corresponding controller device can be left in the old device information list. Therefore, based on the current device information list and the device information stored in the old device information list. The establishment of being able to control each target device can be enhanced. Accordingly, since the frequency of directly acquiring the device information from each target device can be reduced, the time required to acquire the device information of all target devices to be controlled can be shortened.

また、請求項2の発明によれば、上記請求項1と同等の効果を得ることができる。   According to the invention of claim 2, the same effect as that of claim 1 can be obtained.

また、請求項3の発明によれば、旧機器情報リストに格納されているレコードを削除した場合に、旧機器情報リスト内のレコードを先頭から順に詰めて、追加対象となるレコードを旧機器情報リスト内の最後に追加するようにしたことにより、旧機器情報リスト内のレコードを格納時期が古い順に整列させることができる。   According to the invention of claim 3, when the record stored in the old device information list is deleted, the records in the old device information list are sequentially packed from the top, and the record to be added is changed to the old device information. By adding to the end in the list, the records in the old device information list can be arranged in order of oldest storage time.

また、請求項4の発明によれば、追加対象となるレコードに含まれているターゲット機器の機器情報とコントローラ機器の種類に加えて、該当のターゲット機器とコントローラ機器との距離を考慮して、該当の機器情報の優先度を設定するようにしたことにより、上記請求項2に記載の効果を的確に得ることができる。   Further, according to the invention of claim 4, in addition to the device information of the target device and the type of the controller device included in the record to be added, the distance between the target device and the controller device is considered, By setting the priority of the corresponding device information, the effect described in claim 2 can be accurately obtained.

本発明を実施するための最良の形態について図面を参照して説明する。以下に記載した実施形態は、本発明を網羅するものではなく、本発明は、下記の形態だけに限定されない。図1は、第1の実施形態によるコントローラ機器と、このコントローラ機器により制御される各ターゲット機器の電気的ブロック構成を示す。コントローラ機器10(以下、コントローラと略す)は、IEEE1394シリアルバス9(以下、バスと略す)を介して、制御対象となる各ターゲット機器20a,20b(以下、ターゲット20と総称する)と接続されている。   The best mode for carrying out the present invention will be described with reference to the drawings. The embodiments described below do not cover the present invention, and the present invention is not limited to the following modes. FIG. 1 shows an electrical block configuration of a controller device according to the first embodiment and each target device controlled by the controller device. A controller device 10 (hereinafter abbreviated as a controller) is connected to each target device 20a, 20b (hereinafter collectively referred to as a target 20) to be controlled via an IEEE1394 serial bus 9 (hereinafter abbreviated as a bus). Yes.

上記のコントローラ10は、装置全体の制御を行うCPU11と、各種のデータを記憶するメモリ12(記憶手段)とを有している。CPU11は、IEEE1394のプロトコル上におけるアプリケーション層の機能の提供も行い、請求項における制御手段としても機能する。また、メモリ12は、各ターゲット機器の制御に必要となる各ターゲット機器のGUIDと機器情報とを格納したリストを作成するためのプログラム(機器情報リスト作成プログラム)13、コントローラ10自体及びバス9上の他の接続機器に関する各種の情報を格納したレジスタ空間14、上記の機器情報リスト作成プログラム13で作成した各種リスト16等を記憶している。上記のレジスタ空間14には、自機のGUID等の情報を記憶したコンフィグレーションROM15が格納されている。機器情報リスト作成プログラム13及びCPU11は、請求項における第1の検索手段、第2の検索手段及び判定手段に相当する。   The controller 10 includes a CPU 11 that controls the entire apparatus, and a memory 12 (storage means) that stores various data. The CPU 11 also provides an application layer function on the IEEE1394 protocol, and also functions as a control unit in the claims. The memory 12 also includes a program (device information list creation program) 13 for creating a list storing the GUID and device information of each target device necessary for controlling each target device, the controller 10 itself, and the bus 9. A register space 14 that stores various information related to other connected devices, and various lists 16 created by the device information list creation program 13 are stored. The register space 14 stores a configuration ROM 15 that stores information such as its own GUID. The device information list creation program 13 and the CPU 11 correspond to a first search unit, a second search unit, and a determination unit in claims.

また、コントローラ10は、IEEE1394のプロトコル上におけるリンク層レベルのサービスを提供するLINK17と、物理層レベルのサービスを提供するPHY18と、バス9のケーブルを接続するためのIEEE1394ポート19とを有している。これらのLINK17、PHY18及びIEEE1394ポート19は、請求項1におけるGUID受信手段、送信手段及び問合せ結果受信手段に相当する。   The controller 10 also has a LINK 17 that provides a link layer level service on the IEEE1394 protocol, a PHY 18 that provides a physical layer level service, and an IEEE1394 port 19 for connecting a cable of the bus 9. Yes. These LINK 17, PHY 18 and IEEE1394 port 19 correspond to the GUID receiving means, transmitting means and inquiry result receiving means in claim 1.

上記の各ターゲット20も、コントローラ10と同様に、CPU21、メモリ22、LINK27、PHY28、及びIEEE1394ポート29を有しており、また、メモリ22内にレジスタ空間24を内包している。しかし、コントローラ10と異なり、メモリ22内に機器情報リスト作成プログラム13及び各種リスト16を格納していない。   Each target 20 has a CPU 21, a memory 22, a LINK 27, a PHY 28, and an IEEE1394 port 29 as well as the controller 10, and includes a register space 24 in the memory 22. However, unlike the controller 10, the device information list creation program 13 and various lists 16 are not stored in the memory 22.

次に、図2乃至図5を参照して、上記のコントローラ10のメモリ12内に格納されている各種リスト16について説明する。各種リスト16には、バス9に現在接続されている各ターゲット20の機器情報のリストである現ポインタリスト31及び現リストX32(現機器情報リスト)と、バス9に過去に接続されていた各ターゲット20の機器情報のリストであるリストY33(旧機器情報リスト)とが含まれている。現リストX32は、図4に示されるように、バス9に現在接続されている各ターゲット20の機器情報のデータを実際に格納したレコードA〜Gよりなるリストである。これに対して、現ポインタリスト31は、図2及び図3に示されるように、現リストX32の各レコードA〜Gに対するポインタ*A〜*Gを格納したレコードよりなる環状のリストである。また、図5に示されるリストY33には、GUIDと機器情報に加えて、機器情報の優先度が格納されている。この優先度は、コントローラ10内のコンフィグレーションROM15内に格納された自機の種類に関する情報と、ターゲット20の機器情報とに基づいて、ターゲット20がコントローラ10によって制御される可能性が高いか否かという観点から設定されたものであり、数が大きいほど高くなる。   Next, the various lists 16 stored in the memory 12 of the controller 10 will be described with reference to FIGS. The various lists 16 include a current pointer list 31 and a current list X32 (current device information list) that are lists of device information of each target 20 currently connected to the bus 9 and each of the devices connected to the bus 9 in the past. A list Y33 (old device information list) that is a list of device information of the target 20 is included. As shown in FIG. 4, the current list X <b> 32 is a list including records A to G that actually store the device information data of each target 20 currently connected to the bus 9. On the other hand, as shown in FIGS. 2 and 3, the current pointer list 31 is a circular list composed of records storing pointers * A to * G for the records A to G of the current list X32. The list Y33 shown in FIG. 5 stores the priority of device information in addition to the GUID and device information. This priority is based on the information regarding the type of the own device stored in the configuration ROM 15 in the controller 10 and the device information of the target 20, and whether or not the target 20 is likely to be controlled by the controller 10. It is set from the point of view, and the higher the number, the higher.

コントローラ10は、過去に一度もリスト31、32を作成していない場合には、全てのターゲット20に対して各機器が有する機能の問合せを行って、その問合せ結果に基づいてリスト31、32を作成する。コントローラ10は、電源が切断されても、これらのリスト31、32内のレコードを保持する。そして、コントローラ10は、バスリセットの発生を検知すると、バスコンフィグレーション終了後に、各ターゲット20からGUIDを受信して、図6に示されるようなGUIDリスト34を作成し、バスリセット発生前の現リストX32に格納されていた各レコードのGUIDが、GUIDリスト34に含まれていないときには、現リストX32内の該当のレコードに相当するレコードをリストY33に格納する。コントローラ10は、電源が切断されても、リストY33内のレコードを保持するが、GUIDリスト34内のレコードについては保持しない。   In the case where the lists 31 and 32 have never been created in the past, the controller 10 inquires all the targets 20 about the functions of each device, and based on the inquiry result, the lists 31 and 32 are obtained. create. The controller 10 keeps the records in the lists 31 and 32 even when the power is turned off. When detecting the occurrence of the bus reset, the controller 10 receives the GUID from each target 20 after the bus configuration is completed, creates the GUID list 34 as shown in FIG. When the GUID of each record stored in the list X32 is not included in the GUID list 34, the record corresponding to the corresponding record in the current list X32 is stored in the list Y33. The controller 10 retains the records in the list Y33 even when the power is turned off, but does not retain the records in the GUID list 34.

次に、図3乃至図13を参照して、バス9に新たなターゲット20が追加接続された場合や、バス9に接続されているターゲット20が取り外された場合におけるコントローラ10の処理について説明する。図7のフローチャートに示されるように、コントローラ10は、バスリセットが発生して(S1)、バスコンフィグレーション終了後に各ターゲット20からGUIDを受信すると、図6に示されるようなGUIDリスト34を作成する(S2)。そして、図3に示されるバスリセット発生前の現ポインタリスト31と同一フォーマットの新ポインタリスト40(図9参照)、及び図4に示されるバスリセット発生前の現リストX32と同一フォーマットの新リストX42(図10参照)を作成する。なお、図9と図10は、レコードの格納が終了した後の新ポインタリスト40と新リストX42とを示したものであり、バスリセット発生直後の段階では、これらのリスト40,42にはレコードは格納されていない。   Next, the processing of the controller 10 when a new target 20 is additionally connected to the bus 9 or when the target 20 connected to the bus 9 is removed will be described with reference to FIGS. . As shown in the flowchart of FIG. 7, when a bus reset occurs (S1) and a GUID is received from each target 20 after the bus configuration is completed, the controller 10 creates a GUID list 34 as shown in FIG. (S2). Then, a new pointer list 40 (see FIG. 9) having the same format as the current pointer list 31 before the occurrence of the bus reset shown in FIG. 3 and a new list having the same format as the current list X32 before the occurrence of the bus reset shown in FIG. X42 (see FIG. 10) is created. FIGS. 9 and 10 show the new pointer list 40 and the new list X42 after the storage of the records is completed. In the stage immediately after the occurrence of the bus reset, these lists 40 and 42 contain records. Is not stored.

次に、コントローラ10は、GUIDリスト34から、GUIDを1つ取り出して(S3)、このGUIDを格納したレコードが、バスリセット発生前の現リストX32内に存在するか否かをチェックする(S4)。例えば、GUIDリスト34内に、図6に示されるようなGUIDが格納されている場合には、先頭のGUIDであるaを取り出して、このGUID(a)を格納したレコードが、図4に示される現リストX32内のレコードA〜Gに存在するか否かをチェックする。そして、この場合のように、該当のGUID(a)を格納したレコードが現リストX32内のレコードに存在する場合には(S4でYES)、コントローラ10は、図4中の30に示される現リストX32内の該当のレコードAをコピーして、図10中の47に示されるように、新リストX42に格納すると共に、図9中の48に示されるように、新ポインタリスト40内に、新リストX42のレコードAへのポインタ(*A)を格納したレコード(data0)を追加する(S5)。この後、コントローラ10は、現リストX32から、図4中の30に示される該当のレコードAを削除する(S6)。これに対して、GUIDリスト34から取り出したGUIDを格納したレコードが、バスリセット発生前の現リストX32内に存在しない場合には、機器情報取得処理を行う(S7)。   Next, the controller 10 extracts one GUID from the GUID list 34 (S3), and checks whether or not a record storing this GUID exists in the current list X32 before the bus reset occurs (S4). ). For example, if a GUID as shown in FIG. 6 is stored in the GUID list 34, the first GUID a is extracted, and the record storing this GUID (a) is shown in FIG. It is checked whether or not the records A to G in the current list X32 exist. Then, as in this case, when the record storing the corresponding GUID (a) exists in the record in the current list X32 (YES in S4), the controller 10 displays the current record indicated by 30 in FIG. The corresponding record A in the list X32 is copied and stored in the new list X42 as indicated by 47 in FIG. 10, and in the new pointer list 40 as indicated by 48 in FIG. A record (data0) storing a pointer (* A) to the record A of the new list X42 is added (S5). Thereafter, the controller 10 deletes the corresponding record A indicated by 30 in FIG. 4 from the current list X32 (S6). On the other hand, when the record storing the GUID extracted from the GUID list 34 does not exist in the current list X32 before the bus reset occurs, device information acquisition processing is performed (S7).

次に、図8を参照して、上記の機器情報取得処理について説明する。例えば、図6中の37に示されるGUID(h)や、図6中の38に示されるGUID(o)を格納したレコードは、図4に示されるバスリセット発生前の現リストX32内には存在しない。コントローラ10は、上記S3の処理で取り出したGUIDが、このようなGUIDである場合には、該当のGUIDを格納したレコードが、図5に示されるリストY33内に存在するか否かをチェックする(S21)。例えば、上記S3の処理で取り出したGUIDが、図6中の37に示される“h”であるときには、GUID=“h”のレコード51が図5に示されるリストY33内に存在するので、コントローラ10は、リストY33内の該当のレコード51に基づいて作成したレコードH(図10中の43参照)を、新リストX42に格納すると共に、図9中の49に示されるように、新ポインタリスト40内に、新リストX42のレコードHへのポインタ(*H)を格納したレコード(data5)を追加する(S22)。この後、コントローラ10は、図5に示されるリストY33から、該当のレコード51を削除する(S23)。これにより、リストY33内のデータは、図11に示される内容になる。   Next, the device information acquisition process will be described with reference to FIG. For example, a record storing the GUID (h) indicated by 37 in FIG. 6 and the GUID (o) indicated by 38 in FIG. 6 is stored in the current list X32 before the bus reset shown in FIG. not exist. If the GUID extracted in the process of S3 is such a GUID, the controller 10 checks whether or not a record storing the GUID exists in the list Y33 shown in FIG. (S21). For example, when the GUID extracted in the process of S3 is “h” indicated by 37 in FIG. 6, a record 51 with GUID = “h” exists in the list Y33 shown in FIG. 10 stores the record H (see 43 in FIG. 10) created based on the corresponding record 51 in the list Y33 in the new list X42 and, as indicated by 49 in FIG. 9, the new pointer list A record (data5) storing a pointer (* H) to the record H of the new list X42 is added to 40 (S22). Thereafter, the controller 10 deletes the corresponding record 51 from the list Y33 shown in FIG. 5 (S23). Thereby, the data in the list Y33 has the contents shown in FIG.

上記S21の判定処理で、該当のGUIDを格納したレコードが、リストY33内に存在しない場合には(S21でNO)、コントローラ10は、該当のGUIDを持つターゲット20に対して各機器が有する機器情報の問合せコマンドを送信し、問合せ先のターゲット20から取得した問合せ結果の情報に基づいて作成したレコードを、新リストX42と新ポインタリスト40に追加する(S24、S25)。例えば、上記S3の処理で取り出したGUIDが、図6中の38に示される“o”であるときには、GUID=“o”のレコードが図5に示されるリストY33内に存在しないので、コントローラ10は、該当のGUID(o)を持つターゲット20に対して、そのターゲット20が有する機器情報の問合せコマンドを送信する。そして、問合せ先のターゲット20から取得した問合せ結果の情報に基づいて、図10中の44に示されるレコードOを新リストX42に格納すると共に、図9中の50に示されるように、新ポインタリスト40内に、新リストX42のレコードOへのポインタ(*O)を格納したレコード(data6)を追加する。   If the record storing the corresponding GUID does not exist in the list Y33 in the determination process of S21 (NO in S21), the controller 10 has a device that each device has for the target 20 having the corresponding GUID. An information inquiry command is transmitted, and a record created based on the inquiry result information acquired from the inquiry target 20 is added to the new list X42 and the new pointer list 40 (S24, S25). For example, when the GUID extracted in the process of S3 is “o” indicated by 38 in FIG. 6, the record of GUID = “o” does not exist in the list Y33 shown in FIG. Transmits a device information inquiry command of the target 20 to the target 20 having the corresponding GUID (o). Based on the query result information acquired from the target 20 to be queried, the record O shown at 44 in FIG. 10 is stored in the new list X42, and the new pointer is shown at 50 in FIG. A record (data6) storing a pointer (* O) to the record O of the new list X42 is added to the list 40.

上記のような処理を繰り返して、GUIDリスト34に格納された全てのGUIDについての処理を完了すると(S8でYES)、コントローラ10は、図4に示されるバスリセット発生前の現リストX32内に、削除されなかったレコードが残っているか否かをチェックする。その結果、現リストX32内にレコードが残っている場合には(S9でYES)、残っているレコードをリストY33に追加する。例えば、バスリセット発生前の現リストX32が図4に示される内容であり、バスリセット発生後に取得したGUIDリスト34が図6に示される内容である場合には、上記S1乃至S8の処理の終了後に、現リストX32内に、処理対象とならなかったレコードC(図4中の35参照)とレコードF(図4中の36参照)とが残ってしまう。従って、コントローラ10は、図12及び図13に示されるように、これらのレコードC,Fと同一内容のレコード53,55をリストY33に追加する(S10)。このリストY33へのレコードの追加処理については、後述する。このレコードの追加処理が終了すると、コントローラ10は、バスリセット発生前の現リストX32及び現ポインタリスト31を削除して、図10に示される新リストX42及び図9に示される新ポインタリスト40を、現リストX32及び現ポインタリスト31として保持する(S11)。   When the above processing is repeated and the processing for all the GUIDs stored in the GUID list 34 is completed (YES in S8), the controller 10 stores the current list X32 before occurrence of the bus reset shown in FIG. Check if there are any records that have not been deleted. As a result, if a record remains in the current list X32 (YES in S9), the remaining record is added to the list Y33. For example, when the current list X32 before the occurrence of the bus reset has the contents shown in FIG. 4 and the GUID list 34 acquired after the occurrence of the bus reset has the contents shown in FIG. 6, the processing of S1 to S8 is completed. Later, in the current list X32, a record C (see 35 in FIG. 4) and a record F (see 36 in FIG. 4) that were not processed remain. Therefore, as shown in FIGS. 12 and 13, the controller 10 adds records 53 and 55 having the same contents as those records C and F to the list Y33 (S10). The process of adding records to the list Y33 will be described later. When this record addition processing is completed, the controller 10 deletes the current list X32 and the current pointer list 31 before the bus reset occurs, and creates a new list X42 shown in FIG. 10 and a new pointer list 40 shown in FIG. The current list X32 and the current pointer list 31 are held (S11).

次に、上記図4乃至図13と図15に加えて、図14のフローチャートを参照して、図7中のS10に示されるリストY33へのレコードの追加処理について詳述する。リストY33へのレコードの追加処理を行う際には、コントローラ10は、リストY33内のレコード数が最大になっているか否かを確認する(S31)。そして、リストY33内のレコード数が最大になっておらず(S31でNO)、リストY33にレコードを追加格納することができるときには、リストY33内の既存のレコードを削除する必要がないので、コントローラ10は、現リストX32内に残っているレコードに基づいて作成したレコードを、そのままリストY33の最後に追加する(S38)。例えば、リストY33内に格納可能な最大のレコード数が6であり、リストY33内に格納されているレコードが図11に示される内容であるときには、図12に示されるように、現リストX32内に残っているレコードCに基づいて作成したレコード53を、そのままリストY33の最後に追加する。   Next, with reference to the flowchart of FIG. 14 in addition to FIG. 4 to FIG. 13 and FIG. 15, the record addition processing to the list Y33 shown in S10 in FIG. 7 will be described in detail. When performing the process of adding a record to the list Y33, the controller 10 checks whether or not the number of records in the list Y33 is maximized (S31). When the number of records in the list Y33 has not reached the maximum (NO in S31) and the record can be additionally stored in the list Y33, it is not necessary to delete the existing record in the list Y33. 10 adds the record created based on the record remaining in the current list X32 to the end of the list Y33 as it is (S38). For example, when the maximum number of records that can be stored in the list Y33 is 6, and the records stored in the list Y33 have the contents shown in FIG. 11, the contents in the current list X32 as shown in FIG. The record 53 created based on the remaining record C is added to the end of the list Y33 as it is.

これに対して、リストY33内のレコード数が最大になっており(S31でYES)、リストY33にこれ以上レコードを格納することができないときには、リストY33内の既存のレコードを削除する必要が生ずる。この場合には、コントローラ10は、まず、コントローラ10内のコンフィグレーションROM15内に格納された自機の種類に関する情報と、追加するレコードの元になる現リストX32内の残レコードに含まれるターゲット20の機器情報とに基づいて、追加対象となるレコードの機器情報の優先度を設定する(S32)。そして、コントローラ10は、この機器情報の優先度と、リストY33内の各レコードの優先度とを、リストY33内の先頭レコードから順に比較して(S33)、追加対象となるレコードの機器情報の優先度よりも低い優先度のレコードを検出し、検出できた場合には(S34でYES)、最初に検出したレコードをリストY33から削除して(S36)、リストY33内のレコードを先頭から順に詰める(S37)。この後、コントローラ10は、現リストX32内に残っているレコードに基づいて作成したレコードを、リストY33の最後に追加する(S38)。例えば、リストY33内に格納されているレコードが図12に示される内容であるときに、現リストX32内に残っているレコードF(図4中の36参照)に基づいて作成したレコードの優先度が2であれば、この優先度(2)と、リストY33内の各レコードの優先度とを、リストY33内の先頭レコードから順に比較する。そして、レコードFに基づいて作成したレコード55の優先度(2)よりも低い優先度のレコードの中で最初に検出したレコード52(図12参照)をリストY33から削除して、図13に示されるように、リストY33内のレコードを先頭から順に詰め、レコードFに基づいて作成したレコード55をリストY33の最後に追加する。   On the other hand, when the number of records in the list Y33 is maximum (YES in S31) and no more records can be stored in the list Y33, it is necessary to delete existing records in the list Y33. . In this case, the controller 10 firstly includes the information about the type of the own device stored in the configuration ROM 15 in the controller 10 and the target 20 included in the remaining record in the current list X32 that is the basis of the record to be added. The priority of the device information of the record to be added is set based on the device information (S32). Then, the controller 10 compares the priority of the device information with the priority of each record in the list Y33 in order from the first record in the list Y33 (S33), and the device information of the record to be added is added. If a record having a priority lower than the priority is detected and detected (YES in S34), the first detected record is deleted from the list Y33 (S36), and the records in the list Y33 are sequentially ordered from the top. Stuff (S37). Thereafter, the controller 10 adds a record created based on the records remaining in the current list X32 to the end of the list Y33 (S38). For example, when the record stored in the list Y33 has the contents shown in FIG. 12, the priority of the record created based on the record F remaining in the current list X32 (see 36 in FIG. 4). Is equal to 2, the priority (2) is compared with the priority of each record in the list Y33 in order from the first record in the list Y33. Then, the record 52 (see FIG. 12) first detected among the records having the lower priority than the priority (2) of the record 55 created based on the record F is deleted from the list Y33 and shown in FIG. As shown, the records in the list Y33 are packed in order from the top, and the record 55 created based on the record F is added to the end of the list Y33.

これに対して、追加対象となるレコードの機器情報の優先度よりも低い優先度のレコードを検出できなかった場合には(S34でNO)、コントローラ10は、追加対象となるレコードの機器情報の優先度と同じ優先度のレコードをリストY33内の先頭レコードから順に検出する(S35)。そして、同じ優先度のレコードを検出できた場合には(S35でYES)、最初に検出したレコードをリストY33から削除して(S36)、リストY33内のレコードを先頭から順に詰める(S37)。この後、コントローラ10は、現リストX32内に残っているレコードに基づいて作成したレコードを、リストY33の最後に追加する(S38)。例えば、リストY33内に格納されているレコードが図13に示される内容であるときに、バス9に接続されていたGUID=“g”のターゲット20が取り外された場合には、図15に示されるように、図4中のレコードGに基づいて作成したレコード56の優先度が2であるため、コントローラ10は、リストY33内にレコード56の優先度(2)よりも低い優先度のレコードを検出することができない。この場合、コントローラ10は、レコード56の優先度(2)と同じ優先度のレコードをリストY33内の先頭レコードから順に検出して、最初に検出したレコード54(図13参照)をリストY33から削除して、図15に示されるように、リストY33内のレコードを先頭から順に詰め、レコードGに基づいて作成したレコード56をリストY33の最後に追加する。   On the other hand, when a record having a priority lower than the priority of the device information of the record to be added cannot be detected (NO in S34), the controller 10 stores the device information of the record to be added. Records with the same priority as the priority are detected in order from the first record in the list Y33 (S35). If records having the same priority can be detected (YES in S35), the first detected record is deleted from the list Y33 (S36), and the records in the list Y33 are sequentially packed from the top (S37). Thereafter, the controller 10 adds a record created based on the records remaining in the current list X32 to the end of the list Y33 (S38). For example, when the record stored in the list Y33 has the contents shown in FIG. 13, and the target 20 with GUID = “g” connected to the bus 9 is removed, it is shown in FIG. 4, since the priority of the record 56 created based on the record G in FIG. 4 is 2, the controller 10 assigns a record having a lower priority than the priority (2) of the record 56 in the list Y33. It cannot be detected. In this case, the controller 10 detects the records having the same priority as the priority (2) of the record 56 in order from the first record in the list Y33, and deletes the first record 54 (see FIG. 13) from the list Y33. Then, as shown in FIG. 15, the records in the list Y33 are packed in order from the top, and the record 56 created based on the record G is added to the end of the list Y33.

しかし、同じ優先度のレコードを検出できなかった場合には(S35でNO)、リストY33へのレコードの追加を行わない。   However, if a record with the same priority cannot be detected (NO in S35), the record is not added to the list Y33.

上述したように、第1の実施形態によるコントローラ10によれば、リストY33にレコードを追加することができない場合に、追加対象となるレコードに含まれているターゲット20の機器情報と、コントローラ10内のコンフィグレーションROM15内に格納されたコントローラ10の種類の情報とに基づいて、該当のターゲット20がコントローラ10によって制御される可能性が高いか否かという観点から、該当のターゲット20の機器情報の優先度を設定し、リストY33に格納されているレコードの中から、該当のターゲット20の機器情報の優先度よりも低い優先度のレコードを削除するようにした。また、該当のターゲット20の機器情報の優先度よりも低い優先度のレコードを検索することができなかった場合には、リストY33に格納されている同じ優先度のレコードの中で、最も格納時期が古いレコードを削除するようにした。これにより、リストY33に該当のコントローラ10によって制御される可能性が高いターゲット20の機器情報を残すことができるので、現リストX32とリストY33に格納された機器情報に基づいて、各ターゲット20を制御することができる確立を高めることができる。従って、各ターゲット20から機器情報を直接取得する頻度を低下させることができるので、制御対象となる全てのターゲット20の機器情報を取得するのに要する時間を短縮することができる。   As described above, according to the controller 10 according to the first embodiment, when a record cannot be added to the list Y33, the device information of the target 20 included in the record to be added, and the controller 10 From the viewpoint of whether or not the target 20 is likely to be controlled by the controller 10 based on the type information of the controller 10 stored in the configuration ROM 15, the device information of the target 20 A priority is set, and records having a lower priority than the priority of the device information of the target 20 are deleted from the records stored in the list Y33. Further, when a record having a priority lower than the priority of the device information of the target 20 cannot be retrieved, the storage time is the longest among the records having the same priority stored in the list Y33. Deleted old records. As a result, the device information of the target 20 that is likely to be controlled by the corresponding controller 10 can be left in the list Y33, so that each target 20 can be changed based on the device information stored in the current list X32 and the list Y33. Establishing that can be controlled can be enhanced. Accordingly, since the frequency of directly acquiring the device information from each target 20 can be reduced, the time required to acquire the device information of all the targets 20 to be controlled can be shortened.

次に、図16を参照して、第2の実施形態によるコントローラ1について説明する。図に示されるディジタルチューナー60が、第2の実施形態によるコントローラ1に相当する。第1の実施形態では、コントローラ10の種類に関する情報と、追加するレコードの元になるレコードに含まれる機器情報とに基づいて、追加対象となるレコードの機器情報の優先度を設定したが、第2の実施形態では、コントローラ10の種類に関する情報と、追加するレコードの元になるレコードに含まれるターゲット20の機器情報とに加えて、該当のターゲット20とコントローラ10との距離を考慮して、追加対象となるレコードの機器情報の優先度を設定するようにした。図に示されるように、ディジタルチューナー60には、IEEE1394ケーブル67(以下、ケーブルと略す)を介して、ディジタルテレビ61、Hard Disc Recorder(HD−REC)62、Digital Versatile Disc Recorder(DVD−REC)63、Digital Video Home System(D−VHS)64、及びディジタルビデオカメラ65が接続されている。これらのディジタル機器61乃至65は、コントローラ1であるディジタルチューナー60から見たターゲット20である。これらのディジタル機器61乃至65の優先度は、図中の括弧内に示されように、ディジタルテレビ61については3、HD−REC62については2上、DVD−REC63については2中、D−VHS64については2下、ディジタルビデオカメラ65については1である。これらのディジタル機器のうち、HD−REC62、DVD−REC63及びD−VHS64については、コントローラ10の種類に関する情報と、追加するレコードの元になるレコードに含まれる機器情報とに基づいて決定された優先度は、いずれも2であるが、各ディジタル機器62乃至64とコントローラ10であるディジタルチューナー60との距離が異なるため、ディジタルチューナー60との距離が近いほど、優先度が高くなるように設定した。この理由は、ディジタルチューナー60との距離が近いほど、ディジタルチューナー60による制御の対象となる確立が高いと考えられるからである。   Next, the controller 1 according to the second embodiment will be described with reference to FIG. A digital tuner 60 shown in the figure corresponds to the controller 1 according to the second embodiment. In the first embodiment, the priority of the device information of the record to be added is set based on the information related to the type of the controller 10 and the device information included in the record that is the source of the record to be added. In the second embodiment, in addition to the information about the type of the controller 10 and the device information of the target 20 included in the record that is the source of the record to be added, the distance between the target 20 and the controller 10 is considered, The priority of the device information of the record to be added was set. As shown in the figure, a digital tuner 60 is connected to a digital television 61, a Hard Disc Recorder (HD-REC) 62, and a Digital Versatile Disc Recorder (DVD-REC) via an IEEE1394 cable 67 (hereinafter abbreviated as a cable). 63, a digital video home system (D-VHS) 64, and a digital video camera 65 are connected. These digital devices 61 to 65 are the target 20 as viewed from the digital tuner 60 that is the controller 1. The priority of these digital devices 61 to 65 is 3 for the digital television 61, 2 for the HD-REC 62, 2 for the DVD-REC 63, and D-VHS 64 as shown in parentheses in the figure. Is 2 and 1 for the digital video camera 65. Among these digital devices, for HD-REC 62, DVD-REC 63, and D-VHS 64, priority determined based on information on the type of controller 10 and device information included in the record that is the source of the record to be added. Although the degrees are both 2, the distance between each digital device 62 to 64 and the digital tuner 60 that is the controller 10 is different, so that the closer the distance to the digital tuner 60 is, the higher the priority is set. . This is because the closer the distance to the digital tuner 60 is, the higher the probability of being controlled by the digital tuner 60 is.

なお、本発明は、上記実施形態に限られるものではなく、様々な変形が可能である。例えば、上記第1の実施形態では、リストYにレコードを追加する際に、リストYの最後にレコードを追加したが、リストYの先頭にレコードを追加してもよい。また、リストY内の削除されたレコードが存在した位置にレコードを追加してもよい。また、上記第2の実施形態において優先度を設定する際の基準となる「距離」は、ケーブルの合計長であってもよいし、コントローラから該当のターゲットに至るまでの中継の回数であってもよい。   In addition, this invention is not restricted to the said embodiment, Various deformation | transformation are possible. For example, in the first embodiment, when adding a record to the list Y, the record is added to the end of the list Y. However, the record may be added to the top of the list Y. Further, a record may be added at a position where the deleted record exists in the list Y. In addition, the “distance” as a reference when setting the priority in the second embodiment may be the total length of the cable or the number of relays from the controller to the target. Also good.

本発明の第1の実施形態によるコントローラ機器と各ターゲット機器の電気的ブロック構成を示す図。The figure which shows the electrical block structure of the controller apparatus and each target apparatus by the 1st Embodiment of this invention. 上記コントローラ機器に格納されている現ポインタリストのイメージを示す図。The figure which shows the image of the present pointer list | wrist stored in the said controller apparatus. 上記現ポインタリストの内容を示す図。The figure which shows the content of the said current pointer list. 上記コントローラ機器に格納されている現リストXの内容を示す図。The figure which shows the content of the present list X stored in the said controller apparatus. 上記コントローラ機器に格納されているリストYのバスリセット前の内容を示す図。The figure which shows the content before the bus reset of the list | wrist Y stored in the said controller apparatus. 上記コントローラ機器に格納されているGUIDリストの内容を示す図。The figure which shows the content of the GUID list | wrist stored in the said controller apparatus. バスに新たなターゲットが追加接続された場合や、バスに接続されているターゲットが取り外された場合におけるコントローラの処理のフローチャート。The flowchart of the process of a controller when a new target is additionally connected to the bus or when a target connected to the bus is removed. 図7中の機器情報取得処理のフローチャート。The flowchart of the apparatus information acquisition process in FIG. 上記コントローラ機器に格納されている新ポインタリストの内容を示す図。The figure which shows the content of the new pointer list | wrist stored in the said controller apparatus. 上記コントローラ機器に格納されている新リストXの内容を示す図。The figure which shows the content of the new list X stored in the said controller apparatus. 図5に示されるリストYからGUID=“h”のレコードを削除した様子を示す図。The figure which shows a mode that the record of GUID = "h" is deleted from the list Y shown by FIG. 図11に示されるリストYにGUID=“c”のレコードを追加した様子を示す図。The figure which shows a mode that the record of GUID = "c" was added to the list Y shown by FIG. 図12に示されるリストYからGUID=“j”のレコードを削除して、GUID=“f”のレコードを追加した様子を示す図。The figure which shows a mode that the record of GUID = "j" was deleted from the list Y shown in FIG. 12, and the record of GUID = "f" was added. 図7中のリストYへのレコード追加処理のフローチャート。The flowchart of the record addition process to the list Y in FIG. 図12に示されるリストYからGUID=“i”のレコードを削除して、GUID=“g”のレコードを追加した様子を示す図。The figure which shows a mode that the record of GUID = "i" was deleted from the list Y shown in FIG. 12, and the record of GUID = "g" was added. 本発明の第2の実施形態によるコントローラ機器と各ターゲット機器との距離と優先度を示す図。The figure which shows the distance and priority of the controller apparatus and each target apparatus by the 2nd Embodiment of this invention.

符号の説明Explanation of symbols

9 IEEE1394シリアルバス
10 コントローラ(IEEE1394シリアルバスに接続されるコントローラ機器)
11 CPU(第1の検索手段、第2の検索手段、制御手段、判定手段)
12 メモリ(記憶手段)
13 機器情報リスト作成プログラム(第1の検索手段、第2の検索手段、判定手段)
17 LINK(GUID受信手段、送信手段、問合せ結果受信手段)
18 PHY(GUID受信手段、送信手段、問合せ結果受信手段)
19 IEEE1394ポート(GUID受信手段、送信手段、問合せ結果受信手段)
20 ターゲット
31 現ポインタリスト(現機器情報リスト)
32 現リストX(現機器情報リスト)
33 リストY(旧機器情報リスト)
9 IEEE1394 serial bus 10 Controller (controller device connected to IEEE1394 serial bus)
11 CPU (first search means, second search means, control means, determination means)
12 Memory (memory means)
13 Device information list creation program (first search means, second search means, determination means)
17 LINK (GUID receiving means, sending means, inquiry result receiving means)
18 PHY (GUID receiving means, sending means, inquiry result receiving means)
19 IEEE1394 port (GUID receiving means, sending means, inquiry result receiving means)
20 Target 31 Current pointer list (current equipment information list)
32 Current list X (Current device information list)
33 List Y (old device information list)

Claims (4)

IEEE1394シリアルバスを介してネットワークに接続され、
バスリセット発生後に、ネットワーク上の各ターゲット機器から各ターゲット機器固有のGUID(Global Unique Identification)を含む情報を受信するGUID受信手段と、
前記GUID受信手段により受信したGUIDを含む情報の送信元のターゲット機器に対して、該当のターゲット機器の機器情報の問合せ用のコマンドを送信する送信手段と、
前記送信手段により送信した問合せ用のコマンドに対して、問合せ先のターゲット機器から返された問合せ結果を受信する問合せ結果受信手段と、
前記問合せ結果受信手段により受信した問合せ結果に含まれる各ターゲット機器の機器情報に基づいて、各ターゲット機器を制御する制御手段とを備えたIEEE1394シリアルバスに接続されるコントローラ機器において、
前記問合せ結果に含まれる各ターゲット機器の機器情報に基づいて作成した、前記バスに現在接続されている各ターゲット機器の機器情報のリストである現機器情報リストと、前記バスに過去に接続されていたターゲット機器の機器情報のリストである旧機器情報リストとを記憶する記憶手段と、
バスリセット後に、前記GUID受信手段により各ターゲット機器からGUIDを受信したときに、そのGUIDに該当するターゲット機器のレコードを前記現機器情報リスト内のレコードから検索する第1の検索手段と、
前記第1の検索手段により該当のターゲット機器のレコードを検索することができなかったときに、前記GUID受信手段により受信したGUIDに該当するターゲット機器のレコードを前記旧機器情報リスト内のレコードから検索する第2の検索手段と、
前記旧機器情報リストにレコードを追加することができるか否かを判定する判定手段とをさらに備え、
バスリセット前に前記現機器情報リスト内に格納されていたレコードの中に、前記GUID受信手段により受信したGUID以外のGUIDを持つレコードが含まれているときは、該当のレコードを前記現機器情報リストから削除して、削除したレコードに相当するレコードを前記旧機器情報リストに追加し、
前記旧機器情報リストにレコードを追加する際に、前記判定手段によりレコードを追加することができないと判定された場合、
前記追加対象となるレコードに含まれているターゲット機器の機器情報と該コントローラ機器の種類とに基づいて、該当のターゲット機器が該コントローラ機器によって制御される可能性が高いか否かという観点から、該当の機器情報の優先度を設定し、
前記旧機器情報リストに格納されているレコードの中から、前記機器情報の優先度よりも低い優先度のレコードを、先頭のレコードから順に検索して、検索できたときは、最初に検索されたレコードを削除し、検索できなかったときは、前記旧機器情報リストに格納されているレコードの中から、前記機器情報の優先度と同じ優先度のレコードを、先頭のレコードから順に検索して、最初に検索されたレコードを削除し、
前記旧機器情報リスト内のレコードを先頭から順に詰めて、前記追加対象となるレコードを前記旧機器情報リスト内の最後に追加するようにしたことを特徴とするIEEE1394シリアルバスに接続されるコントローラ機器。
Connected to the network via the IEEE1394 serial bus,
GUID receiving means for receiving information including GUID (Global Unique Identification) unique to each target device from each target device on the network after the occurrence of a bus reset;
Transmitting means for transmitting a command for querying device information of the target device to a target device that is a transmission source of information including the GUID received by the GUID receiving unit;
Inquiry result receiving means for receiving an inquiry result returned from the target device of the inquiry destination for the inquiry command transmitted by the transmission means;
In the controller device connected to the IEEE 1394 serial bus comprising the control means for controlling each target device based on the device information of each target device included in the inquiry result received by the inquiry result receiving means,
A current device information list, which is a list of device information of each target device currently connected to the bus, created based on device information of each target device included in the inquiry result, and has been connected to the bus in the past. Storage means for storing an old device information list which is a list of device information of the target device,
After a bus reset, when a GUID is received from each target device by the GUID receiving unit, a first search unit that searches a record of the target device corresponding to the GUID from the record in the current device information list;
When the record of the target device cannot be searched by the first search means, the record of the target device corresponding to the GUID received by the GUID reception means is searched from the records in the old device information list. A second search means for:
Determination means for determining whether or not a record can be added to the old device information list,
When a record having a GUID other than the GUID received by the GUID receiving unit is included in the record stored in the current device information list before the bus reset, the corresponding record is included in the current device information. Delete from the list, add a record corresponding to the deleted record to the old device information list,
When adding a record to the old device information list, if it is determined by the determination means that a record cannot be added,
From the viewpoint of whether the target device is likely to be controlled by the controller device based on the device information of the target device included in the record to be added and the type of the controller device, Set the priority of the corresponding device information,
When the records with the priority lower than the priority of the device information are searched sequentially from the first record among the records stored in the old device information list, the search is performed first. When the record is deleted and cannot be searched, the records having the same priority as the priority of the device information are searched from the records stored in the old device information list in order from the first record, Delete the first found record,
The controller device connected to the IEEE1394 serial bus, wherein the records in the old device information list are packed in order from the top and the record to be added is added at the end in the old device information list .
IEEE1394シリアルバスを介してネットワークに接続され、
バスリセット発生後に、ネットワーク上の各ターゲット機器に対して、該当のターゲット機器の機器情報の問合せ用のコマンドを送信する送信手段と、
前記送信手段により送信した問合せ用のコマンドに対して、問合せ先のターゲット機器から返された問合せ結果を受信する問合せ結果受信手段と、
前記問合せ結果受信手段により受信した問合せ結果に含まれる各ターゲット機器の機器情報に基づいて、各ターゲット機器を制御する制御手段とを備えたIEEE1394シリアルバスに接続されるコントローラ機器において、
前記バスに過去に接続されていたターゲット機器の機器情報のリストである旧機器情報リストを記憶する記憶手段と、
前記旧機器情報リストにレコードを追加することができるか否かを判定する判定手段とをさらに備え、
前記旧機器情報リストにレコードを追加する際に、前記判定手段によりレコードを追加することができないと判定された場合、
前記追加対象となるレコードに含まれているターゲット機器の機器情報と該コントローラ機器の種類とに基づいて、該当のターゲット機器が該コントローラ機器によって制御される可能性が高いか否かという観点から、該当の機器情報の優先度を設定し、
前記旧機器情報リストに格納されているレコードの中から、前記機器情報の優先度よりも低い優先度のレコードを、先頭のレコードから順に検索して、検索できたときは、最初に検索されたレコードを削除し、検索できなかったときは、前記旧機器情報リストに格納されているレコードの中から、前記機器情報の優先度と同じ優先度のレコードを、先頭のレコードから順に検索して、最初に検索されたレコードを削除するようにしたことを特徴とするIEEE1394シリアルバスに接続されるコントローラ機器。
Connected to the network via the IEEE1394 serial bus,
After the bus reset occurs, to each target device on the network, a transmission means for transmitting a command for querying the device information of the target device,
Inquiry result receiving means for receiving an inquiry result returned from the target device of the inquiry destination for the inquiry command transmitted by the transmission means;
In the controller device connected to the IEEE 1394 serial bus comprising the control means for controlling each target device based on the device information of each target device included in the inquiry result received by the inquiry result receiving means,
Storage means for storing an old device information list that is a list of device information of target devices that have been connected to the bus in the past;
Determination means for determining whether or not a record can be added to the old device information list,
When adding a record to the old device information list, if it is determined by the determination means that a record cannot be added,
From the viewpoint of whether the target device is likely to be controlled by the controller device based on the device information of the target device included in the record to be added and the type of the controller device, Set the priority of the corresponding device information,
When the records with the priority lower than the priority of the device information are searched sequentially from the first record among the records stored in the old device information list, the search is performed first. When the record is deleted and cannot be searched, the records having the same priority as the priority of the device information are searched from the records stored in the old device information list in order from the first record, A controller device connected to the IEEE1394 serial bus, wherein the first retrieved record is deleted.
前記旧機器情報リストにレコードを追加する際に、前記旧機器情報リストに格納されているレコードを削除した場合は、前記旧機器情報リスト内のレコードを先頭から順に詰めて、前記追加対象となるレコードを前記旧機器情報リスト内の最後に追加するようにした請求項2に記載のIEEE1394シリアルバスに接続されるコントローラ機器。   When adding a record to the old device information list, if the record stored in the old device information list is deleted, the records in the old device information list are packed in order from the top and become the addition target. The controller device connected to the IEEE1394 serial bus according to claim 2, wherein a record is added to the end of the old device information list. 前記旧機器情報リストにレコードを追加する際に、前記判定手段によりレコードを追加することができないと判定された場合、
前記追加対象となるレコードに含まれているターゲット機器の機器情報と該コントローラ機器の種類に加えて、該当のターゲット機器と該コントローラ機器との距離を考慮して、該当の機器情報の優先度を設定するようにした請求項2に記載のIEEE1394シリアルバスに接続されるコントローラ機器。
When adding a record to the old device information list, if it is determined by the determination means that a record cannot be added,
In addition to the device information of the target device and the type of the controller device included in the record to be added, the priority of the device information is determined in consideration of the distance between the target device and the controller device. 3. The controller device connected to the IEEE1394 serial bus according to claim 2, wherein the controller device is set.
JP2003317346A 2003-09-09 2003-09-09 Controller equipment connected to the IEEE1394 serial bus Expired - Fee Related JP3826401B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2003317346A JP3826401B2 (en) 2003-09-09 2003-09-09 Controller equipment connected to the IEEE1394 serial bus
DE102004043491A DE102004043491A1 (en) 2003-09-09 2004-09-08 Controller for connecting to a network via an IEEE 1394 serial bus
US10/936,807 US7062332B2 (en) 2003-09-09 2004-09-09 Controller to be connected to a network via an IEEE 1394 serial bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003317346A JP3826401B2 (en) 2003-09-09 2003-09-09 Controller equipment connected to the IEEE1394 serial bus

Publications (2)

Publication Number Publication Date
JP2005086556A true JP2005086556A (en) 2005-03-31
JP3826401B2 JP3826401B2 (en) 2006-09-27

Family

ID=34416957

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003317346A Expired - Fee Related JP3826401B2 (en) 2003-09-09 2003-09-09 Controller equipment connected to the IEEE1394 serial bus

Country Status (3)

Country Link
US (1) US7062332B2 (en)
JP (1) JP3826401B2 (en)
DE (1) DE102004043491A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100602204B1 (en) * 2004-07-28 2006-07-19 삼성전자주식회사 Controll system have main controller and peripheral controller, metnod for bus connection
US8041859B2 (en) * 2007-11-05 2011-10-18 Honywell International Inc. Apparatus and method for connectivity in networks capable of non-disruptively disconnecting peripheral devices
US20090122725A1 (en) * 2007-11-09 2009-05-14 Honeywell International Inc. Robust networks for non-disruptively disconnecting peripheral devices
TWI435328B (en) * 2009-07-20 2014-04-21 Silicon Motion Inc Method for performing data pattern management regarding data accessed by a controller of a flash memory, and associated memory device and controller thereof
US8688166B2 (en) * 2011-10-17 2014-04-01 Intel Corporation Call establishment in highly congested network environment
US8782463B1 (en) * 2011-10-27 2014-07-15 Seagate Technology Llc Restoring a failed storage volume after removal of a storage device from an array

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020042041A1 (en) * 1995-03-22 2002-04-11 Owens Terry S. Systems and methods for organizing data relationships
US6032211A (en) * 1998-06-17 2000-02-29 Advanced Micro Devices, Inc. Method of mode control in a bus optimized for personal computer data traffic
US6421751B1 (en) * 1998-11-23 2002-07-16 Advanced Micro Devices, Inc. Detecting a no-tags-free condition in a computer system having multiple outstanding transactions
US6940831B1 (en) * 1999-11-29 2005-09-06 Matsushita Electric Industrial Co., Ltd Wireless communications system
JP2002016620A (en) 2000-04-24 2002-01-18 Matsushita Electric Ind Co Ltd Digital equipment, method and system for controlling data input/output
JP2003018161A (en) 2001-07-03 2003-01-17 Yokogawa Electric Corp Network band control system
CA2477553A1 (en) * 2002-03-12 2003-09-25 Menache, Llc Motion tracking system and method

Also Published As

Publication number Publication date
JP3826401B2 (en) 2006-09-27
DE102004043491A1 (en) 2005-05-25
US7062332B2 (en) 2006-06-13
US20050097112A1 (en) 2005-05-05

Similar Documents

Publication Publication Date Title
EP1753185B1 (en) Method and device for facilitating efficient data transfer via a wireless communication network
JP3826401B2 (en) Controller equipment connected to the IEEE1394 serial bus
JP3658919B2 (en) Electronic device and information transmission method thereof
US6584103B1 (en) Packet communication apparatus provided with manager means for managing packet labels
US20070088854A1 (en) Apparatus for searching TCP and UDP sockets
JP2000196624A (en) Transmission controlling device, information processor and information transmission system
EP1484897B1 (en) Method and apparatus for transmitting and receiving multi-protocol data frames
JP2007158540A (en) Content transfer device
JP2005167574A (en) Controller equipment connected to ieee 1394 serial bus
JP2007214859A (en) Recorder having network connection function and computer program
JP3785620B2 (en) Gateway device communication method, gateway device, recording medium recording gateway device communication program, and program
US20070061407A1 (en) Setting distribution in a home network
CN114915576B (en) Method and system for identifying terminal equipment at router
JP2007179215A (en) Content server device
JP2005196492A (en) Access information generation apparatus, access information generation method and reception apparatus
WO2015090171A1 (en) Resource access method and device for smart television
JP2008271041A (en) Communication apparatus performing network selection, connection and service execution by service identifier, method thereof and program thereof
JP4532652B2 (en) Information processing method and apparatus, and storage medium
JP2005011283A (en) Controller instrument connectable with network
JP2004336437A (en) Circuit and system for video image receiving
JP5149932B2 (en) Order placing device, order placing method and program thereof
EP1441286A1 (en) Method for operating a network of interface nodes, and an interface device
JPH08221340A (en) Network system
CN110069303A (en) A kind of screen layout&#39;s update method and server, electronic equipment and storage medium
JP5321349B2 (en) Data transfer method and data transfer apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060516

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: 20060612

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060625

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090714

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100714

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110714

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110714

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120714

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120714

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130714

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees