JP2009065697A - Topology map display apparatus and topology map analysis method - Google Patents

Topology map display apparatus and topology map analysis method Download PDF

Info

Publication number
JP2009065697A
JP2009065697A JP2008276188A JP2008276188A JP2009065697A JP 2009065697 A JP2009065697 A JP 2009065697A JP 2008276188 A JP2008276188 A JP 2008276188A JP 2008276188 A JP2008276188 A JP 2008276188A JP 2009065697 A JP2009065697 A JP 2009065697A
Authority
JP
Japan
Prior art keywords
data
data cell
devices
cell
row
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008276188A
Other languages
Japanese (ja)
Inventor
Hirotaka Sakai
啓貴 酒井
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 JP2008276188A priority Critical patent/JP2009065697A/en
Publication of JP2009065697A publication Critical patent/JP2009065697A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method for performing topology map analysis, using smaller load. <P>SOLUTION: The method for performing topology map analysis for analyzing the information of a physical connection network of a plurality of devices includes creating a data cell assigning the plurality of devices to each of X columns and X rows; registering data representing the number of hops "1" in the data cell, on the basis of one-hop connection information; finding out a first data cell with a data registration for an arbitrary Nth row; then finding out a second data cell with a data registration for a column including the first data cell. While by defining a column as an Mth column, to which the same device as a row including the second data cell is made to correspond, registering in the data cell of the Nth row and the Mth column data, representing the number of hops adding the number of hops registered in the first data cell and the number of hops registered in the second data cells repeatedly executed for each row and each data cell, a data table in which information about the number of hops between devices is registered in each data cell is generated. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

この発明は、例えばIEEE1394のシステムにおいて各機器の物理的な接続網の情報を図式により表示するトポロジマップ表示装置、並びに、この接続網の表示に必要な接続情報を容易に求めることの出来るトポロジマップ解析方法に関する。   The present invention provides, for example, a topology map display device that graphically displays information on the physical connection network of each device in an IEEE 1394 system, and a topology map that can easily determine connection information necessary for displaying the connection network. It relates to the analysis method.

従来、IEEE1394のシステムにおいて、図8に示すように各機器の物理的な接続網を図式化したもの(トポロジマップと呼ぶ)をディスプレイ出力する装置がある。また、このような装置において、ネットワーク接続された機器の情報を分かりやすく表示する種々の技術が提案されている(例えば特許文献1や特許文献2)。
特開2002−217906号公報 特開2000−78156号公報
2. Description of the Related Art Conventionally, in an IEEE 1394 system, as shown in FIG. 8, there is a device that outputs a display of a schematic diagram of a physical connection network of each device (referred to as a topology map). Further, in such an apparatus, various techniques for displaying information on devices connected to the network in an easy-to-understand manner have been proposed (for example, Patent Document 1 and Patent Document 2).
JP 2002-217906 A JP 2000-78156 A

IEEE1394のネットワークシステムにおいてはツリー状の接続を行うことで最大63台の機器を接続することが可能であるが、連続的にチェーン接続した場合には17台(=16ホップ)までと云う制限がある。   In an IEEE 1394 network system, it is possible to connect up to 63 devices by making a tree connection, but there is a limit of 17 devices (= 16 hops) when connected in a chain. is there.

近年、テレビ放送のデジタル化に伴って、多くのAV機器にIEEE1394のインターフェースが搭載されることが予想され、それにより一つの家庭でIEEE1394のネットワークに参加される機器の数が増すことが予想される。接続機器が増えると、たとえツリー状に接続を行った場合でも、その中に含まれるチェーン接続により上限を超えてしまうことが生じると考えられる。   In recent years, with the digitization of television broadcasts, it is expected that many AV devices will be equipped with an IEEE 1394 interface, which is expected to increase the number of devices participating in the IEEE 1394 network in one home. The If the number of connected devices increases, even if the connection is made in a tree shape, it is considered that the upper limit is exceeded due to the chain connection included therein.

このようなことから、IEEE1394のネットワークを組む際に、トポロジマップ表示装置によりネットワークのトポロジマップを表示させて、チェーン接続の最大数が上限を超えないように気を配る必要があると考えられるが、上記従来のトポロジマップ表示装置にあっては最大チェーン接続数を確認するのに、ユーザがトポロジマップを見ながら個々の機器についてチェーン接続数を一々数えなければならず、この作業は非常に煩雑になるという問題があった。或いは、機器の数か膨大になると、トポロジマップを見ながら最大チェーン接続数を数え上げるのは非常に困難になるという問題もあった。   For this reason, when building an IEEE 1394 network, it is considered necessary to display the topology map of the network with the topology map display device so that the maximum number of chain connections does not exceed the upper limit. In the conventional topology map display device described above, in order to check the maximum number of chain connections, the user must count the number of chain connections for each device while looking at the topology map, which is very complicated. There was a problem of becoming. Alternatively, when the number of devices becomes enormous, it is very difficult to count the maximum number of chain connections while looking at the topology map.

この発明の目的は、IEEE1394規格のネットワークのようなシリアルバスシステムにおいてトポロジマップを見ながら最大チェーン接続の確認を容易に行うことの可能なトポロジマップ表示装置を提供するために、最大チェーン接続数が上限に近づいているネットワークに新たな機器を接続する場合に、何処に接続すればどのようにシステム全体のチェーン接続数に影響を与えるのか容易に判断することのできるトポロジマップを表示するために必要な解析を演算装置により少ない負荷で行わせることの可能なトポロジマップ解析方法を提供することにある。   An object of the present invention is to provide a topology map display device capable of easily confirming the maximum chain connection while looking at the topology map in a serial bus system such as an IEEE 1394 standard network. Necessary for displaying a topology map that allows you to easily determine where the connection will affect the number of chain connections in the entire system when a new device is connected to a network that is approaching the upper limit. It is an object of the present invention to provide a topology map analysis method capable of performing a simple analysis with a small load on an arithmetic device.

本発明は、上記目的を達成するため、トポロジマップ解析方法は、2つの機器間が物理的に接続されることで複数の機器が電気的にシリアルバス接続されるシステムについて、前記複数の機器の物理的な接続網の情報を解析するトポロジマップ解析方法であって、X列×X行(Xはシリアルバス接続されている機器の個数)のデータセルを有し、X列の各列に前記複数の機器がそれぞれ割り当てられ、X行の各行に前記複数の機器がそれぞれ割り当てられ、且つ、行と列とで同一の機器が割り当てられているデータセルを無効としたデータテーブルを作成する第1ステップと、前記複数の機器の各々について当該機器が他の機器を介することなく直接接続されている他の機器の情報を表わすワンホップ接続情報に基づき、行の機器と列の機器とが直接接続されているデータセルにホップ数「1」を表わすデータを登録する第2ステップと、を演算装置により実行させた後、任意の第N行について、データ登録のある第1データセルを見つさせた後、当該第1データセルを含む列についてデータ登録のある第2データセルを見つけ、この第2データセルを含む行と同一の機器が対応づけられている列を第M列として、第N行第M列のデータセルに前記第1データセルに登録されているホップ数と第2データセルに登録されているホップ数とを加算したホップ数を表わすデータを登録させる第3ステップを、各行および該当する各データセルについて演算装置により繰り返し実行させることで、各データセルに各機器間のホップ数の情報が登録されたデータテーブルを生成するものである。   In order to achieve the above object, the present invention provides a topology map analysis method for a system in which a plurality of devices are electrically connected via a serial bus by physically connecting two devices. A topology map analysis method for analyzing information of a physical connection network, which has data cells of X columns × X rows (X is the number of devices connected to a serial bus), and each column of the X columns has the above-described data cell. A first data table is created in which a plurality of devices are respectively assigned, the plurality of devices are assigned to each row of the X row, and a data cell in which the same device is assigned in a row and a column is invalidated. A row device and a column device based on the step and one-hop connection information representing the information of the other device to which the device is directly connected without passing through the other device for each of the plurality of devices The second step of registering data representing the number of hops “1” in the data cell directly connected to the data cell is executed by the arithmetic unit, and the first data cell with data registration is selected for any Nth row. After making it look, a second data cell with data registration is found for the column including the first data cell, and the column corresponding to the same device as the row including the second data cell is defined as the Mth column. A third step of registering data representing the number of hops obtained by adding the number of hops registered in the first data cell and the number of hops registered in the second data cell in the data cell in the Nth row and Mth column. Is repeatedly executed by the arithmetic device for each row and each corresponding data cell, thereby generating a data table in which information on the number of hops between devices is registered in each data cell. .

このような解析方法により、演算装置により少ない負荷で、システムの最大チェーン接続数や各機器の個別最大チェーン接続数を求めることが出来る。すなわち、上記データテーブルのうちデータセルに登録されている最大の値がシステムの最大チェーン接続数に該当し、また、或る機器に対応する行の中で最大となる値が、その機器の"個別最大チェー
ン接続数−1"となる。
By such an analysis method, the maximum number of chain connections of the system and the maximum number of individual chain connections of each device can be obtained with less load on the arithmetic device. That is, the maximum value registered in the data cell in the data table corresponds to the maximum number of chain connections of the system, and the maximum value in the row corresponding to a certain device is the “ The maximum number of individual chain connections is -1 ".

また望ましくは、前記第3ステップにおいて、データセルにホップ数を登録する際に、当該データセルの行に対応づけられた機器から当該データセルの列に対応づけられた機器までチェーン接続される機器を接続順に表わした接続情報を共に登録するようにしても良い。   Preferably, in the third step, when registering the number of hops in the data cell, a device connected in a chain from a device associated with the row of the data cell to a device associated with the column of the data cell. May be registered together with connection information representing the connection order.

このような手法により、上記のデータテーブルから、各データセルに登録されているチェーン接続数に対応する径路をダイレクトに取得することが出来る。それにより、例えば、最大チェーン接続となっている径路をダイレクトに取得することなどが出来る。   By such a method, a path corresponding to the number of chain connections registered in each data cell can be directly obtained from the data table. Thereby, for example, it is possible to directly acquire the path that is the largest chain connection.

以上説明したように、本発明に従うと、システムの最大チェーン接続数や各機器の個別最大チェーン接続数を求め、トポロジマップを表示するために必要な解析を演算装置により少ない負荷で行わせることが可能となる。トポロジマップを見ながら最大チェーン接続の確認を行うことが容易となり、さらに、最大チェーン接続数が上限に近づいているネットワークに新たな機器を接続する場合に、何処に接続すればチェーン接続数に影響を与えるか容易に判断することができる。   As described above, according to the present invention, the maximum number of chain connections of the system and the maximum number of individual chain connections of each device can be obtained, and the analysis necessary for displaying the topology map can be performed with a small load on the arithmetic unit. It becomes possible. It is easy to check the maximum chain connection while looking at the topology map. In addition, when connecting a new device to a network where the maximum number of chain connections is approaching the upper limit, where to connect will affect the number of chain connections. Can be easily determined.

以下、本発明の実施の形態を図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明のトポロジマップ表示装置としてのIEEE1394バスアナライザの実施の形態を示す構成図である。   FIG. 1 is a configuration diagram showing an embodiment of an IEEE 1394 bus analyzer as a topology map display device of the present invention.

この実施の形態のIEEE1394バスアナライザ1は、各種の演算処理を行う中央演算処理装置10と、この中央演算処理装置10に作業空間を提供するRAM(Random Access Memory)12と、中央演算処理装置10が実行するプログラムを格納した記憶装置13と、中央演算処理装置10の制御に基づきディスプレイに表示信号を出力する表示制御部14と、IEEE1394規格のシリアルバスに接続されてデータの送受信処理を行うインターフェース15等を備え、インターフェース15に接続されているネットワークシステムのトポロジマップをディスプレイに表示するものである。これらのうち、中央演算処理装置10と記憶装置13に格納されたプログラムとにより、第1算出手段や第2算出手段ならびにデータ生成手段が構成される。   The IEEE 1394 bus analyzer 1 according to this embodiment includes a central processing unit 10 that performs various types of arithmetic processing, a RAM (Random Access Memory) 12 that provides a work space for the central processing unit 10, and the central processing unit 10. A storage device 13 storing a program to be executed, a display control unit 14 for outputting a display signal to the display based on control of the central processing unit 10, and an interface connected to an IEEE1394 standard serial bus for data transmission / reception processing 15 and the like, and the topology map of the network system connected to the interface 15 is displayed on the display. Among these, the central processing unit 10 and the program stored in the storage device 13 constitute a first calculation unit, a second calculation unit, and a data generation unit.

IEEE1394のシリアルバス接続により構成されるネットワークシステムにおいては、接続されている各機器の識別情報(GUID)、並びに、型名称などを含んだ各機器の機器情報を、インターフェース15を介したデータ通信により、IEEE1394規格のプロトコルやコマンドを用いてを各機器間でやり取りすることが可能になっている。また、各機器は、インターフェース15を介したデータ通信により、ケーブルで物理的に接続されている隣接機器のGUID(ワンホップ接続情報)を認識することが可能なように構成され、また、これらの情報を各機器から1つの機器に転送することが可能になっている。そして、この機能により、バスアナライザ1の情報取得手段が構成されている。これらの各機能については、IEEE1394規格およびその上位プロトコルの技術として周知なものなので詳細は省略する。   In a network system configured by serial bus connection of IEEE1394, identification information (GUID) of each connected device, and device information of each device including a model name, etc. are transmitted by data communication via the interface 15. It is possible to exchange between devices using protocols and commands of the IEEE 1394 standard. In addition, each device is configured to be able to recognize GUID (one-hop connection information) of an adjacent device physically connected by a cable by data communication via the interface 15, and the information Can be transferred from each device to one device. With this function, the information acquisition means of the bus analyzer 1 is configured. Each of these functions is well known as the technology of the IEEE 1394 standard and its higher-level protocol, and therefore details thereof are omitted.

図2は、バスアナライザ1によるトポロジマップの第1の表示例を示す画像図である。図3には、このトポロジマップの一部分の説明図を示す。   FIG. 2 is an image diagram showing a first display example of the topology map by the bus analyzer 1. FIG. 3 shows a part of the topology map.

この実施の形態のバスアナライザ1は、ユーザからの指示操作を受けると、図2に示すトポロジマップ20の表示出力が可能になっている。   The bus analyzer 1 according to this embodiment can display and output the topology map 20 shown in FIG. 2 upon receiving an instruction operation from the user.

このトポロジマップ20においては、ネットワークに接続されている各機器がそれぞれ当該機器の識別名称等或いは識別記号等が付記された複数のブロック21…で表わされるとともに、各機器間の物理的な接続がブロック21…間を結合する結線25で表わされる。   In this topology map 20, each device connected to the network is represented by a plurality of blocks 21 with identification names or identification symbols of the devices added, and physical connections between the devices are made. It is represented by a connection 25 connecting the blocks 21.

なお、トポロジマップ20の結線25において、図3(a)に示すような途中で分岐しているものは、実際には図3(b)に示すような接続を表わしている。また、このようなブロック21…と結線25…によるトポロジマップは、種々の従来技術を用いて作成できるものであり、その作成手法については説明を省略する。   In the connection map 25 of the topology map 20, what is branched in the middle as shown in FIG. 3A actually represents a connection as shown in FIG. 3B. Moreover, the topology map by such block 21 ... and connection 25 ... can be created using various conventional techniques, and description of the creation method is omitted.

さらに、この実施の形態のバスアナライザ1では、上記のトポロジマップ20において、その中でチェーン接続数が最大になっている接続径路を太い結線を用いて表示するようになっている。合わせて、最大チェーン接続数を表わす表示「最大チェーン接続数:6台」や、この最大のチェーン接続に新たにチェーン接続可能な残りの台数を表わす表示「のこり:11台」が、それぞれディスプレイに表示出力されるようになっている。これら、最大チェーン接続数やその径路の割り出し方法については後述する。   Furthermore, in the bus analyzer 1 of this embodiment, the topology map 20 displays the connection path having the maximum number of chain connections using a thick connection. In addition, a display indicating the maximum number of chain connections “Maximum number of chain connections: 6” and a display “Residue: 11” indicating the remaining number of chains that can be newly connected to this maximum chain connection are displayed on the display. Display output. The maximum number of chain connections and the method for determining the path will be described later.

このようなトポロジマップ表示によれば、ユーザはトポロジマップ20を見ながら、チェーン接続数が最大になっている接続径路やその接続数を瞬時に確認できるので、接続される機器が増えて、チェーン接続数の上限が気になるようになったときに大変便利である。   According to such a topology map display, the user can instantly check the connection path having the maximum number of chain connections and the number of connections while looking at the topology map 20, so that the number of connected devices increases, and the chain This is very convenient when you are concerned about the maximum number of connections.

図4には、バスアナライザによるトポロジマップの第2の表示例を示す画像図である。   FIG. 4 is an image diagram showing a second display example of the topology map by the bus analyzer.

本実施の形態のバスアナライザ1は、ユーザから別の指示操作を受けると、さらに、図4に示すようなトポロジマップ40を表示することが可能になっている。   The bus analyzer 1 according to the present embodiment can further display a topology map 40 as shown in FIG. 4 when receiving another instruction operation from the user.

このトポロジマップ40は、個々の機器に新たな機器を接続する場合にそこに何台までチェーン接続が可能か分かるように、その許容台数に応じて各機器のブロック21…の表示態様が異なるように表示したものである。   In this topology map 40, when a new device is connected to each device, the display mode of the blocks 21... Of each device varies depending on the allowable number so that it can be understood how many chains can be connected there. Is displayed.

具体的には、接続数が上限に達しているチェーン接続の両端の機器(図4では「デバイスS」と「デバイスT」)は赤色のブロック21rで、該当の機器から分岐接続する場合に1〜7台のチェーン接続が可能な機器(図4では、「デバイスA」、「デバイスC」〜「デバイスR」)は黄色のブロック21yで、該当の機器から分岐接続する場合に8台〜16台のチェーン接続が可能な機器(図4では「デバイスB」)は青色のブロック21bにより表示する。   Specifically, the devices at both ends of the chain connection where the number of connections has reached the upper limit ("device S" and "device T" in FIG. 4) are red blocks 21r, which is 1 when branching from the corresponding device. Up to seven devices that can be connected in a chain (in FIG. 4, “device A”, “device C” to “device R”) are yellow blocks 21y. Devices that can be connected to each other in a chain ("device B" in FIG. 4) are displayed by a blue block 21b.

また、各ブロック態様の意味を説明したブロック説明表示50と、最大チェーン接続数を示した表示60も同時に行われる。   Further, a block explanation display 50 explaining the meaning of each block mode and a display 60 showing the maximum number of chain connections are simultaneously performed.

このようなトポロジマップ表示によれば、ユーザは、ネットワーク全体のチェーン接続数の状況が瞬時に認識できるとともに、新たな機器をどこに接続すれば各箇所のチェーン接続数にどのように影響を与えるのかが容易に判断できる。従って、ネットワークに接続される機器が膨大になったときに大変便利である。   According to this topology map display, the user can instantly recognize the status of the number of chain connections in the entire network, and how the new device is connected to how it affects the number of chain connections at each location. Can be easily determined. Therefore, it is very convenient when the number of devices connected to the network becomes enormous.

また、上述したように残りのチェーン接続数に応じて3段階にブロックの態様を異ならせて表示させているので、次のような大まかな判断を直感的に行うことが出来る。すなわち、赤のブロックには新たな接続が不可能であることが容易に判断でき、また、黄色のブロックには、他のネットワークで黄色のブロックを含んだチェーン接続をブリッジ接続することが出来ないことが判断でき、青色のブロックには、他のネットワークで青色のブロック群をブリッジ接続することが可能であることが判断できる。   Further, as described above, since the block modes are displayed in three stages depending on the number of remaining chain connections, the following rough judgment can be intuitively performed. In other words, it is easy to determine that a new connection is not possible for the red block, and the yellow block cannot be bridged with a chain connection that includes the yellow block in other networks. It can be determined that a blue block group can be bridge-connected in another network.

上述した図2と図4のトポロジマップ20、40の表示を行う際には、先ず、図2の場合は、ネットワーク接続のなかでチェーン接続が最大となる接続径路と、そのチェーン接続数の情報が必要となり、図4の場合は、全ての機器について各機器を端部としてみたときに最大となるチェーン接続数(個別最大チェーン接続数と呼ぶ)の情報が必要となる。また、これらの情報が取得できれば、当業者は容易に図2や図4の表示を自動作成するプログラムを作成することが出来る。   When displaying the topology maps 20 and 40 of FIGS. 2 and 4 described above, first, in the case of FIG. 2, information on the connection path that has the maximum chain connection among the network connections and the number of the chain connections. In the case of FIG. 4, information on the maximum number of chain connections (referred to as the individual maximum chain connection number) is required when all the devices are viewed as end portions. If these pieces of information can be acquired, those skilled in the art can easily create a program for automatically creating the display of FIGS.

次に、これらの情報を取得する本発明の実施の形態のトポロジマップ解析方法について説明する。   Next, a topology map analysis method according to an embodiment of the present invention for acquiring such information will be described.

図5〜図7には、図1の中央演算装置により実行されるトポロジマップ解析用のデータテーブル生成処理の流れを説明する図を示す。   5 to 7 are diagrams for explaining the flow of data table generation processing for topology map analysis executed by the central processing unit of FIG.

先にも述べたが、各機器は、IEEE1394規格のコマンドを用いて直接に物理的に接続されている隣の機器の情報を取得することが出来る。また、IEEE1394規格のコマンドを用いてこれらの情報を各機器から本実施の形態のバスアナライザ1に集めることが出来る。   As described above, each device can acquire information on a neighboring device directly physically connected using a command of the IEEE 1394 standard. Further, these information can be collected from each device to the bus analyzer 1 of the present embodiment by using commands of the IEEE 1394 standard.

バスアナライザ1は、トポロジマップの解析を行う際、予めこれらの処理を行って、ネットワークの全ての機器について物理的に接続されている2個1組の機器の情報(ワンホップ接続情報)を取得しておく。   When analyzing the topology map, the bus analyzer 1 performs these processes in advance to obtain information on one set of two devices (one-hop connection information) that are physically connected to all devices on the network. Keep it.

トポロジマップの解析処理が開始されると、中央演算処理装置10は記憶装置13内のプログラムに従って次のような処理を実行する。先ず、RAM12の作業領域にネットワーク接続されている機器の個数分の行と列とをそれぞれ有する行列型のデータテーブルを作成する。そして、データテーブルの各行にネットワーク接続されている全ての機器を順番に対応づけ、同様にデータテーブルの各列にネットワーク接続されている全ての機器を順番に対応づける。さらに、このデータテーブルの行と列とで同じ機器に対応づけられているデータセルは無効なデータセルと定義する。ここで出来たデータセルは、図5(a)の登録データが空の状態のものとなる。   When the analysis process of the topology map is started, the central processing unit 10 executes the following process according to the program in the storage device 13. First, a matrix type data table having rows and columns corresponding to the number of devices connected to the network in the work area of the RAM 12 is created. Then, all devices connected to the network are sequentially associated with each row of the data table, and similarly all devices connected to the network are sequentially associated with each column of the data table. Furthermore, data cells associated with the same device in the rows and columns of this data table are defined as invalid data cells. The data cells created here are those in which the registration data in FIG. 5A is empty.

図5(a)において、"A"〜"G"は図2の「デバイスA」〜「デバイスG」を示している。また、このデータテーブルにおいて、X行−Y列の1個のデータセルのことをセルXYと記す。   In FIG. 5A, “A” to “G” indicate “device A” to “device G” in FIG. In this data table, one data cell in the X row and the Y column is referred to as a cell XY.

次に、予め取得しておいた物理的に接続されている2個1組の機器の情報(ワンホップ接続情報)に基づき、行の機器と列の機器とで直接接続されているデータセルにそのホップ数(=両端の機器を含めた機器間のチェーン接続数−1)「1」および機器の接続情報(例えば「デバイスA」と「デバイスB」との接続であれば「AB」)を登録する。それにより、図5(a)のようなデータテーブルが生成される。   Next, based on the information of one set of physically connected devices (one-hop connection information) acquired in advance, the data cells directly connected between the row devices and the column devices are Register the number of hops (= number of chain connections between devices including the devices at both ends minus 1) “1” and device connection information (for example, “AB” if connection between “device A” and “device B”) To do. Thereby, a data table as shown in FIG. 5A is generated.

ついで、図5(a)のデータテーブルに基づき、次のような繰返し処理を行って、このデータテーブルの全てのデータセルに、該データセルの行に対応づけられた機器と列に対応づけられた機器との間のホップ数および機器の接続情報(接続機器をその並び順で示したデータ)とが登録されていく。   Next, based on the data table of FIG. 5A, the following iterative process is performed, and all the data cells of this data table are associated with the device and column associated with the row of the data cell. The number of hops between the connected devices and the connection information of the devices (data indicating the connected devices in the arrangement order) are registered.

上記繰返し処理は、次の如くである。図5(b)を参照しながら説明する。まず、1つの行に注目して、この行の中でデータ登録されているデータセルを見いだす(ステップS1)。図5(b)では、A行に注目して「1」のデータ登録のされているセルABを抽出している。   The above repeating process is as follows. This will be described with reference to FIG. First, paying attention to one row, a data cell in which data is registered is found (step S1). In FIG. 5B, paying attention to the A row, the cell AB in which the data registration of “1” is registered is extracted.

次いで、ステップS1で抽出したデータセルの列に注目し、この列の中でデータ登録されているデータセルを見いだす(ステップS2)。図5(b)では、セルABに基づきB列に注目してセルCBを抽出している。   Next, paying attention to the column of data cells extracted in step S1, the data cell in which data is registered is found in this column (step S2). In FIG. 5B, the cell CB is extracted by paying attention to the B column based on the cell AB.

次に、ステップS2で抽出したセルの行と、1対1対応する列Z(すなわち指定の行と同じ機器に対応づけられている列)を求め、ステップS1で注目した行Xとこの列Zのデータセルに注目する(ステップS3)。図5(b)では、ステップS1で注目したA行と、セルCBの行(C行)と1対1対応したC列と、により指定されるセルACに注目する。   Next, the cell row extracted in step S2 and the column Z corresponding one-to-one (that is, the column corresponding to the same device as the designated row) are obtained, and the row X and the column Z noticed in step S1 are obtained. Attention is focused on the data cell (step S3). In FIG. 5B, attention is paid to the cell AC designated by the A row noticed in step S1 and the C column having a one-to-one correspondence with the row (C row) of the cell CB.

そして、ステップS3で注目したデータセル(セルAC)に、ステップS1で抽出したデータセル(セルAB)のホップ数と、ステップS2で抽出したデータセル(セルAC)のホップ数とを加算した値(「2」)をホップ数として登録する(ステップS4a)。   Then, the value obtained by adding the number of hops of the data cell (cell AB) extracted in step S1 and the number of hops of the data cell (cell AC) extracted in step S2 to the data cell (cell AC) noticed in step S3 ("2") is registered as the number of hops (step S4a).

同様に、ステップS1のデータセル(セルAB)の機器の接続情報(「AB」)と、ステップS2のデータセル(セルCB)の機器の接続情報(「CB」)とに基づいて、ステップS3で注目したデータセル(セルAC)に機器の接続情報(「ABC」)を登録する(ステップS4b)。ここで登録する機器接続情報は、ステップS2のデータセルの機器接続情報(「CB」)の順番を逆にし(すなわち「CB」→「BC」)、そこから先頭の機器を除いて(すなわち「BC」→「C」)、ステップS1のデータセルの機器接続情報(「AB」)の後段に付加(すなわち「AB」→「ABC」)することで生成できる。   Similarly, based on the connection information (“AB”) of the device in the data cell (cell AB) in step S1 and the connection information (“CB”) of the device in the data cell (cell CB) in step S2, step S3 is performed. The connection information (“ABC”) of the device is registered in the data cell (cell AC) focused on in (Step S4b). In the device connection information to be registered here, the order of the device connection information (“CB”) of the data cell in step S2 is reversed (that is, “CB” → “BC”), and the first device is removed therefrom (that is, “ BC ”→“ C ”), and added to the subsequent stage of the device connection information (“ AB ”) of the data cell in step S1 (that is,“ AB ”→“ ABC ”).

ステップS3で注目したデータセル(セルAC)に上記のデータ登録がなされたら、このデータセル(セルAC)と、行と列とを逆にしたデータセル(セルCA)にも、同様にデータ登録を行う(ステップS4c)。登録データは、ホップ数は同じ値で、機器接続情報は並び順を逆にしたデータとなる。   When the above data registration is performed in the data cell (cell AC) of interest in step S3, the data registration is similarly performed in the data cell (cell AC) and the data cell (cell CA) in which the row and the column are reversed. (Step S4c). The registered data has the same number of hops and the device connection information is data in which the arrangement order is reversed.

そして、このようなステップS1〜ステップS4cまでの処理を繰り返し行って、データセルを埋めていく。   Then, the process from step S1 to step S4c is repeatedly performed to fill the data cell.

特に制限されるものではないが、この繰返し処理の順序としては、先ず、ステップS1とステップS2で抽出するデータセルはホップ数「1」のデータセルのみとして、ステップS1〜ステップS4cの処理を全ての行と列について繰り返し行う。例えば、図6(a)では、A行の処理の続きとして、ホップ数「1」が登録されているセルADを抽出した後、その列であるD列に注目してホップ数「1」が登録されているセルEDとセルGDを抽出し、これらにより、セルAEとセルAGの登録データを生成して登録している。このような処理の繰り返しにより、ホップ数「2」のデータセルが全て埋まる。   Although not particularly limited, the order of this iterative process is as follows. First, the data cells extracted in step S1 and step S2 are only data cells with the hop number “1”, and the processes in steps S1 to S4c are all performed. Repeat for rows and columns. For example, in FIG. 6A, as a continuation of the processing of row A, after extracting the cell AD in which the hop number “1” is registered, paying attention to the D column that is the column, the hop number “1” is The registered cell ED and cell GD are extracted, and the registration data of the cell AE and the cell AG are generated and registered thereby. By repeating such processing, all the data cells with the hop number “2” are filled.

次に、ステップS1とステップS3で抽出するデータセルはホップ数「1」と「2」のデータセルのみとして、ステップS1〜ステップS4cの処理を全ての行と列について繰り返し行う。それにより、ホップ数「3」と「4」のデータセルが全て埋まる。   Next, the data cells extracted in step S1 and step S3 are only data cells having the hop numbers “1” and “2”, and the processes in steps S1 to S4c are repeated for all rows and columns. Thereby, all the data cells with the hop numbers “3” and “4” are filled.

次に、ステップS1とステップS3で抽出するデータセルはホップ数「1」〜「4」のデータセルのみとして、ステップS1〜ステップS4cの処理を全ての行と列について繰り返し行う。   Next, the data cells extracted in step S1 and step S3 are only data cells having the hop numbers “1” to “4”, and the processes in steps S1 to S4c are repeated for all rows and columns.

このような順序で、ステップS1〜ステップS4cの繰り返し処理を行っていくことで、全てのデータセルが埋まって図6(b)のようなデータテーブルが完成する。   By repeating the steps S1 to S4c in this order, all the data cells are filled and a data table as shown in FIG. 6B is completed.

ところで、これらの繰返し処理中、データ登録先のセルとしてステップS3で指定したデータセルが既にデータ登録済みになっていることがある。この場合、ステップS1、S2で抽出するデータセルのホップ数が「2」以下のように小さい値に設定されている繰返し処理セットのときには、このデータセルについてはデータ登録の処理(ステップS4a〜S4c)を飛ばして次のデータセルの処理に移行すればよい。   By the way, during these repetitive processes, the data cell designated in step S3 as the data registration destination cell may already be registered. In this case, if the hop count of the data cell extracted in steps S1 and S2 is a repetitive processing set that is set to a small value such as “2” or less, data registration processing (steps S4a to S4c) is performed for this data cell. ) May be skipped to proceed to processing of the next data cell.

しかしながら、ステップS1、S3で抽出するデータセルのホップ数が「4」以下のように大きい値に設定されている場合、次のような処理を行う必要が出てくる。すなわち、先ず、登録用のホップ数を演算した後、これと登録済みのホップ数とを比較して、その結果、演算で求めたホップ数が登録済みのものと同値か大きい値であるときには、データ登録を行わずに、次のデータセルについての処理に移行するが、演算で求めたホップ数が登録済みのものより小さい値であるときには、登録済みのデータを消して、新たに演算して得たデータを登録しなおす。   However, when the number of hops of the data cell extracted in steps S1 and S3 is set to a large value such as “4” or less, the following processing needs to be performed. That is, first, after calculating the number of hops for registration, this is compared with the number of registered hops, and as a result, when the number of hops obtained by the calculation is equal to or larger than the registered one, Without data registration, the process proceeds to the process for the next data cell. If the number of hops obtained by calculation is smaller than the registered one, erase the registered data and perform a new calculation. Register the obtained data again.

例えば、図7(a)に示すように、ホップ数「4」以下のデータセルが埋まった状態にでC行に注目したときに、この場合、A列から処理を開始すれば問題はないが、例えばG列から処理を開始してステップS1でセルCGが抽出され、続くステップS2でセルFGが抽出された場合、セルCFに登録されるデータはホップ数「7」となってしまい、実際の値「5」よりも大きな数になってしまう。そこで、上記のような上書き処理を行うことでこれを修正することが出来る。例えは、図7(b)では、E列の処理で抽出したセルCEとセルFEのデータに基づき、セルCFのデータをホップ数「5」と修正することが出来る。   For example, as shown in FIG. 7A, when attention is paid to the C row in a state where data cells having the number of hops “4” or less are filled, there is no problem if processing is started from the A column in this case. For example, if processing is started from column G, cell CG is extracted in step S1, and cell FG is extracted in subsequent step S2, the data registered in cell CF becomes the number of hops “7”. The number is larger than the value “5”. Therefore, this can be corrected by performing the overwriting process as described above. For example, in FIG. 7B, the data of the cell CF can be corrected to the number of hops “5” based on the data of the cells CE and FE extracted by the processing of the E column.

以上のように、このトポロジマップ解析方法を用いて作成されたデータテーブルにより、ネットワークに接続された全ての機器において各機器間のホップ数と、その間の機器接続情報とを得ることが出来る。また、このデータテーブルの中から最大ホップ数を有するデータセルを抽出することで、このデータセルからネットワークの最大チェーン接続数とその接続径路が確認できるし、また、各行でホップ数が最大の値を抽出することで、その行に対応した機器を接続端とみなしたときのチェーン接続で最大のもの、すなわち個別最大チェーン接続数を確認することが出来る。   As described above, with the data table created using this topology map analysis method, the number of hops between the devices and the device connection information between them can be obtained for all devices connected to the network. Also, by extracting the data cell having the maximum number of hops from this data table, the maximum number of chain connections and the connection route of the network can be confirmed from this data cell, and the maximum number of hops in each row. By extracting, it is possible to check the maximum chain connection when the device corresponding to the row is regarded as the connection end, that is, the number of individual maximum chain connections.

また、上記の方法によれば、このようなデータテーブルを少ない負荷で短時間に中央演算処理装置10に演算させることが出来る。   Also, according to the above method, such a data table can be calculated by the central processing unit 10 in a short time with a small load.

なお、本発明は、上記実施の形態に限られるものではなく、様々な変更が可能である。例えば、本実施の形態では、本発明のトポロジマップ表示装置をIEEE1394バスアナライザに適用した例を挙げたが、例えば、各種のオーディオビジュアル機器にこの機能を組み込んだり、或いは、パーソナルコンピュータにこの機能を組み込むなどすることが出来る。   The present invention is not limited to the above-described embodiment, and various modifications can be made. For example, in the present embodiment, an example in which the topology map display device of the present invention is applied to an IEEE 1394 bus analyzer has been described. For example, this function is incorporated into various audiovisual devices, or this function is incorporated into a personal computer. It can be incorporated.

また、トポロジマップの表示において、各機器を表わすのに各機器の名称を表示させるようにしても良いし、図4で示したトポロジマップでは、各機器の個別最大チェーン接続数を3段階に色分けして表示しているが、例えば、4段階に分けて表示してもよいし、或いは、1個ずつことなる態様で表示してもよい。   In the topology map display, the name of each device may be displayed to represent each device. In the topology map shown in FIG. 4, the maximum number of individual chain connections of each device is color-coded in three stages. However, for example, it may be displayed in four stages, or may be displayed in a different form one by one.

また、図5〜図7のデータチャートを生成する処理の順番については種々の変更が可能である。例えば、或る行の中からデータ登録済みのデータセルを抽出するステップS1の処理について、ホップ数の低いものから順に抽出するようにしても良いし、ステップS1やステップS2で処理する行と列を、全ての行と列とを順番に処理していくのではなく、データテーブル中で未だデータ登録がされてないデータセルを確認し、そのデータセルを埋めることのできる行と列とをステップS1とステップS2において選択的に処理するようにしてもよい。また、データ登録するときに、行と列とを入れ替えた2個のデータセルにデータを登録するようにしているが、一方にのみ登録するようにしても良い。   Various changes can be made to the order of processing for generating the data charts of FIGS. For example, with regard to the processing of step S1 for extracting data cells in which data has been registered from a certain row, the processing may be performed in order from the one with the smallest number of hops, or the row and column to be processed in step S1 or step S2. Instead of processing all rows and columns in order, check the data cells that have not yet been registered in the data table, and step through the rows and columns that can fill the data cells. You may make it process selectively in S1 and step S2. In addition, when registering data, data is registered in two data cells in which rows and columns are interchanged. However, data may be registered only in one.

本発明の実施の形態のIEEE1394バスアナライザの構成図である。1 is a configuration diagram of an IEEE 1394 bus analyzer according to an embodiment of the present invention. 本実施形態のIEEE1394バスアナライザによるトポロジマップの第1 の表示例を示す画像図である。It is an image figure which shows the 1st display example of the topology map by the IEEE1394 bus analyzer of this embodiment. 図2のトポロジマップの一部分の説明図である。It is explanatory drawing of a part of topology map of FIG. 本実施形態のIEEE1394バスアナライザによるトポロジマップの第2 の表示例を示す画像図である。It is an image figure which shows the 2nd example of a display of the topology map by the IEEE1394 bus analyzer of this embodiment. トポロジマップ解析のため図1の中央演算装置により実行されるデータテー ブル生成処理の流れを説明する図である。It is a figure explaining the flow of the data table production | generation process performed by the central processing unit of FIG. 1 for topology map analysis. 同、データテーブル生成処理の流れを説明する図である。It is a figure explaining the flow of a data table production | generation process similarly. 同、データテーブル生成処理の流れを説明する図である。It is a figure explaining the flow of a data table production | generation process similarly. 従来のトポロジマップ表示装置の表示例を示す画像図である。It is an image figure which shows the example of a display of the conventional topology map display apparatus.

符号の説明Explanation of symbols

1 IEEE1394バスアナライザ
10 中央演算処理装置(第1算出手段、第2算出手段)
12 RAM
13 記憶装置
14 表示制御部
15 インターフェース
20 トポロジマップ
40 トポロジマップ
1 IEEE 1394 bus analyzer 10 central processing unit (first calculation means, second calculation means)
12 RAM
13 Storage Device 14 Display Control Unit 15 Interface 20 Topology Map 40 Topology Map

Claims (2)

2つの機器間が物理的に接続されることで複数の機器が電気的にシリアルバス接続されるシステムについて、前記複数の機器の物理的な接続網の情報を解析するトポロジマップ解析方法であって、
X列×X行(Xはシリアルバス接続されている機器の個数)のデータセルを有し、X列の各列に前記複数の機器がそれぞれ割り当てられ、X行の各行に前記複数の機器がそれぞれ割り当てられ、且つ、行と列とで同一の機器が割り当てられているデータセルを無効としたデータテーブルを作成する第1ステップと、

前記複数の機器の各々について当該機器が他の機器を介することなく直接接続されている他の機器の情報を表わすワンホップ接続情報に基づき、行の機器と列の機器とが直接接続されているデータセルにホップ数「1」を表わすデータを登録する第2ステップと、
を演算装置により実行させた後、
任意の第N行について、データ登録のある第1データセルを見つさせた後、当該第1データセルを含む列についてデータ登録のある第2データセルを見つけ、この第2データセルを含む行と同一の機器が対応づけられている列を第M列として、第N行第M列のデータセルに前記第1データセルに登録されているホップ数と第2データセルに登録されているホップ数とを加算したホップ数を表わすデータを登録させる第3ステップを、
各行および該当する各データセルについて演算装置により繰り返し実行させることで、各データセルに各機器間のホップ数の情報が登録されたデータテーブルを生成することを特徴とするトポロジマップ解析方法。
A topology map analysis method for analyzing information on a physical connection network of a plurality of devices in a system in which a plurality of devices are electrically connected via a serial bus by physically connecting two devices. ,
X columns × X rows (X is the number of devices connected to the serial bus) data cells, the plurality of devices are assigned to each column of the X column, and the plurality of devices are assigned to each row of the X row A first step of creating a data table in which data cells assigned to the same device in each row and column are invalidated;

Data in which a row device and a column device are directly connected based on one-hop connection information representing information of another device to which the device is directly connected without passing through another device for each of the plurality of devices. A second step of registering data representing the number of hops “1” in the cell;
Is executed by the arithmetic unit,
For any Nth row, after finding the first data cell with data registration, the second data cell with data registration is found for the column containing the first data cell, and the row containing this second data cell The column to which the same device is associated is the Mth column, the number of hops registered in the first data cell and the hop registered in the second data cell in the data cell in the Nth row and Mth column A third step of registering data representing the number of hops obtained by adding the number,
A topology map analysis method, wherein a data table in which information on the number of hops between devices is registered in each data cell is generated by repeatedly executing each row and each corresponding data cell by an arithmetic unit.
前記第3ステップにおいて、データセルにホップ数を登録する際に、当該データセルの行に対応づけられた機器から当該データセルの列に対応づけられた機器までチェーン接続される機器を接続順に表わした機器接続情報を共に登録するようにしたことを特徴とする請求項1記載のトポロジマップ解析方法。
In the third step, when registering the number of hops in a data cell, the devices connected in a chain from the device associated with the row of the data cell to the device associated with the column of the data cell are represented in the order of connection. 2. The topology map analysis method according to claim 1, wherein the device connection information is registered together.
JP2008276188A 2008-10-27 2008-10-27 Topology map display apparatus and topology map analysis method Pending JP2009065697A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008276188A JP2009065697A (en) 2008-10-27 2008-10-27 Topology map display apparatus and topology map analysis method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008276188A JP2009065697A (en) 2008-10-27 2008-10-27 Topology map display apparatus and topology map analysis method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2004153882A Division JP2005340967A (en) 2004-05-24 2004-05-24 Topology map display apparatus and topology map analysis method

Publications (1)

Publication Number Publication Date
JP2009065697A true JP2009065697A (en) 2009-03-26

Family

ID=40559788

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008276188A Pending JP2009065697A (en) 2008-10-27 2008-10-27 Topology map display apparatus and topology map analysis method

Country Status (1)

Country Link
JP (1) JP2009065697A (en)

Similar Documents

Publication Publication Date Title
US9031692B2 (en) Cloud robot system and method of integrating the same
CN111179817B (en) Method and device for eliminating brightness difference of display screen
CN104899150B (en) Automated testing method and system and automation platform based on object-oriented
CN101957745A (en) Method for converting ladder diagram language into structure text language
CN110427521B (en) Power distribution network single line diagram generation system
CN103583020A (en) Relay server and relay communication system
CN106209840A (en) A kind of network packet De-weight method and device
CN111181769A (en) Network topological graph drawing method, system, device and computer readable storage medium
CN113162816B (en) Testing method and testing system for OSPFv3 protocol of switch
JP2005340967A (en) Topology map display apparatus and topology map analysis method
JP2009065697A (en) Topology map display apparatus and topology map analysis method
CN108696375A (en) Industrial network information acquisition device, method, monitoring system and storage medium
CN116436791A (en) Industrial Internet scene construction method, system, equipment and storage medium
CN112532432B (en) Automatic mapping method and system based on LTU terminal
CN113593430A (en) Screen configuration method and device, receiving card, screen configuration system and readable storage medium
CN107404437A (en) The determining method of path and device of a kind of message
JP2000082082A (en) Display device for wiring tray network
CN102694725B (en) Method for bi-directionally searching paths based on bandwidth
JP3488041B2 (en) Deformation map data compression method, deformation map data compression device, and recording medium storing deformation map data compression program
JP3908069B2 (en) Derivation and display method of job nets related to job nets
CN105207854A (en) Multi-terminal concurrent testing system and method
US10044557B2 (en) Configuration method for a wiring system
CN116300749B (en) Process flow editing method and device, control system terminal and storage medium
JP2001222599A (en) Device and method for displaying product management information
CN105432041B (en) It synchronizes and shows fault-tolerant Ethernet (FTE) state