Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5670796B2 - Method and communication apparatus for realizing virtual system operation - Google Patents
[go: Go Back, main page]

JP5670796B2 - Method and communication apparatus for realizing virtual system operation - Google Patents

Method and communication apparatus for realizing virtual system operation Download PDF

Info

Publication number
JP5670796B2
JP5670796B2 JP2011071962A JP2011071962A JP5670796B2 JP 5670796 B2 JP5670796 B2 JP 5670796B2 JP 2011071962 A JP2011071962 A JP 2011071962A JP 2011071962 A JP2011071962 A JP 2011071962A JP 5670796 B2 JP5670796 B2 JP 5670796B2
Authority
JP
Japan
Prior art keywords
information
storage unit
virtual
block
virtual block
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.)
Active
Application number
JP2011071962A
Other languages
Japanese (ja)
Other versions
JP2012080516A (en
Inventor
貴央 赤堀
貴央 赤堀
卓 藤本
卓 藤本
和久 古澤
和久 古澤
慎一 吉原
慎一 吉原
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.)
Nippon Telegraph and Telephone West Corp
Original Assignee
Nippon Telegraph and Telephone West Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone West Corp filed Critical Nippon Telegraph and Telephone West Corp
Priority to JP2011071962A priority Critical patent/JP5670796B2/en
Publication of JP2012080516A publication Critical patent/JP2012080516A/en
Application granted granted Critical
Publication of JP5670796B2 publication Critical patent/JP5670796B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、通信装置の任意の部位において、ユーザの通信に影響を与えることなく所望の動作を実行させて当該動作による影響等の確認を行えるようにする技術に関するものである。   The present invention relates to a technique that allows a desired operation to be executed in any part of a communication device without affecting a user's communication so that the influence of the operation can be confirmed.

従来において、例えば、通信装置が故障した時の動作を確認したい場合には、通信装置を実際に故障させる必要があるため(ポート故障、電源断、など)、ユーザの通信に影響を与えることになる。   Conventionally, for example, when it is desired to check the operation when a communication device fails, it is necessary to actually cause the communication device to fail (port failure, power failure, etc.), which affects user communication. Become.

そのため、通信事業者による故障時動作の確認試験は、ユーザの利用開始前でしか実施できない。換言すると、ユーザの利用開始後では、実際に故障が発生するまで、故障時の動作は確認できない。   For this reason, the confirmation test of the operation at the time of failure by the communication carrier can be performed only before the start of use by the user. In other words, after the user starts using, the operation at the time of failure cannot be confirmed until a failure actually occurs.

また、故障以外でも、通信装置の任意の部位において、ユーザの通信に影響を与えることなく所望の動作を実行させて当該動作による影響等の確認をしたい場合がある。   In addition to a failure, there are cases where it is desired to execute a desired operation at any part of the communication device without affecting the user's communication and confirm the influence of the operation.

特開2000−78153号公報JP 2000-78153 A

本発明は、上記の背景を課題と捉えてなされたものであり、その目的とするところは、通信装置の任意の部位においてユーザの通信に影響を与えることなく所望の動作を実行させて当該動作による影響等の確認を行えるようにする技術を提供することにある。   The present invention has been made with the above background as an issue, and the object of the present invention is to execute a desired operation without affecting the user's communication at any part of the communication device. The purpose is to provide a technology that enables confirmation of the effects of the above.

上記の課題を解決するために、本発明に係る通信装置は、通信装置であって、該通信装置の少なくとも一部の機能を有する現実ブロックと、前記機能にて発生する可能性のある動作をする仮想ブロックを少なくとも1つ含み、前記現実ブロックへ向かう前記通信装置内の経路を流れる情報を取得し、前記仮想ブロックが機能するためのフィールド情報が当該情報に含まれるか否かを判定し、フィールド情報がない場合は、当該情報を前記現実ブロックへ振り分ける一方、フィールド情報がある場合は、当該情報を前記仮想ブロックの1つへ振り分ける振り分け部とを備え、前記振り分け部は有効状態または無効状態になり得るものであり、前記振り分け部は、無効状態である場合、前記取得した情報に前記フィールド情報が含まれるか否かによらず、当該情報を前記現実ブロックへ振り分け、前記振り分け部は、有効状態である場合、前記取得した情報に前記フィールド情報が含まれるか否かを判定し、フィールド情報がない場合は、当該情報を前記現実ブロックへ振り分ける一方、フィールド情報がある場合は、当該情報を前記仮想ブロックの1つへ振り分けるようになっており、前記現実ブロック、仮想ブロックおよび振り分け部を有する部位を複数備え、前記部位間で前記振り分け部が連動して有効状態または無効状態になり得ることを特徴とする通信装置をもって解決手段とする。 In order to solve the above problems, a communication apparatus according to the present invention is a communication apparatus, and includes an actual block having at least a part of functions of the communication apparatus and operations that may occur in the functions. Including at least one virtual block to be acquired, obtaining information flowing through a path in the communication device toward the real block, and determining whether the information includes field information for the virtual block to function, When there is no field information, the information is distributed to the real block, and when there is field information, the distribution unit includes a distribution unit that distributes the information to one of the virtual blocks, and the distribution unit is in a valid state or an invalid state. When the distribution unit is in an invalid state, whether the field information is included in the acquired information is determined. The distribution unit distributes the information to the real block, and the distribution unit determines whether or not the field information is included in the acquired information when the information is in a valid state. If there is field information, the information is distributed to one of the virtual blocks, and includes a plurality of parts having the real block, the virtual block, and a distribution part, A communication device characterized in that the distribution unit can be in a valid state or an invalid state in conjunction with each other.

例えば、前記各部位は、仮想ブロックを複数備え、前記各部位でどの仮想ブロックが選択されるかが前記部位間の連動によって変わる。 For example, pre-Symbol each portion includes a plurality of virtual blocks, wherein the or what virtual block is selected at each site vary interlocking between the sites.

例えば、前記通信装置は、前記仮想ブロックに関する情報を仮想ブロックから取得して記憶する情報記憶部を備える。   For example, the communication device includes an information storage unit that acquires and stores information related to the virtual block from the virtual block.

例えば、前記通信装置は、外部からの要求に応じて、前記情報記憶部に記憶された情報を取得し、前記通信装置の外部に送出する手段を備える。   For example, the communication device includes means for acquiring information stored in the information storage unit and sending the information to the outside of the communication device in response to a request from the outside.

例えば、前記通信装置は、外部から与えられる更新情報を前記仮想ブロックに与えて当該仮想ブロックの機能を変更する手段を備える。   For example, the communication apparatus includes means for changing the function of the virtual block by giving update information given from the outside to the virtual block.

例えば、前記通信装置は、前記現実ブロックの動作を司るパラメータが記憶される現実ブロック用パラメータ記憶部と、前記仮想ブロックの動作を司るパラメータが記憶される仮想ブロック用パラメータ記憶部と、前記現実ブロック用パラメータ記憶部に記憶されたパラメータを前記仮想ブロック用パラメータ記憶部に複写するパラメータ複写手段とを備え、前記現実ブロック用パラメータ記憶部のパラメータに即して、仮想ブロックの情報を更新する機能を有する。   For example, the communication device includes: a real block parameter storage unit that stores parameters that control the operation of the real block; a virtual block parameter storage unit that stores parameters that control the operation of the virtual block; and the real block Parameter copying means for copying the parameter stored in the parameter storage unit for virtual to the parameter storage unit for virtual block, and a function of updating the virtual block information in accordance with the parameter of the parameter storage unit for real block Have.

例えば、前記通信装置は、前記現実ブロック用パラメータ記憶部のパラメータに基づき、仮想ブロックが現実的に取り得る状態に限定して変化ができるよう、前記現実ブロック用パラメータ記憶部のパラメータと前記仮想ブロック用パラメータ記憶部のパラメータの従属性を判断し、前記仮想ブロック用パラメータ記憶部の取り得るパラメータに制限をあたえる機能を有する。   For example, the communication device may change the parameter of the real block parameter storage unit and the virtual block so that the virtual block can change only in a state that the virtual block can actually take based on the parameters of the real block parameter storage unit. It has a function of determining the dependency of parameters in the parameter storage unit for use and limiting the parameters that can be taken by the parameter storage unit for virtual block.

例えば、前記通信装置は、前記仮想ブロック用パラメータ記憶部に記憶されたパラメータが変更されたなら、当該変更に伴い、当該パラメータを周辺の通信装置に送信し、当該通信装置に備わった仮想ブロック用パラメータ記憶部に記憶されたパラメータを当該送信したパラメータに応じたものに変更させる機能を有する。   For example, if the parameter stored in the virtual block parameter storage unit is changed, the communication device transmits the parameter to a peripheral communication device along with the change, and the virtual device for the virtual block provided in the communication device It has a function of changing the parameters stored in the parameter storage unit to those corresponding to the transmitted parameters.

本発明に係る通信装置によれば、通信装置の任意の部位において、ユーザの通信に影響
を与えることなく所望の動作を実行させて当該動作による影響等の確認を行うことができる。
According to the communication device according to the present invention, it is possible to execute a desired operation without affecting the user's communication at any part of the communication device, and confirm the influence of the operation.

本実施の形態の一例に係る通信装置1の説明図である。It is explanatory drawing of the communication apparatus 1 which concerns on an example of this Embodiment. 本実施の形態の一例に係る通信装置1の説明図である。It is explanatory drawing of the communication apparatus 1 which concerns on an example of this Embodiment. 通信装置1の通信部PBへの仮想ブロックの実装例を示す図である。It is a figure which shows the example of mounting of the virtual block to the communication part PB of the communication apparatus. 通信装置1の制御部10への仮想ブロックの実装例を示す図である。It is a figure which shows the example of mounting of the virtual block to the control part 10 of the communication apparatus 1. FIG. 通信装置1の記憶部12への仮想ブロックの実装例を示す図である。3 is a diagram illustrating an example of mounting virtual blocks in the storage unit 12 of the communication device 1. FIG. 振り分け部を有効および無効にする部位の実装例を示す図である。It is a figure which shows the example of mounting of the site | part which makes a distribution part effective and invalid. 振り分け部の状態遷移を示す図である。It is a figure which shows the state transition of a distribution part. 振り分け部の無効状態から有効状態への移行についてのフローチャートおよびシーケンス図である。It is the flowchart and sequence figure about the transfer from the invalid state of a distribution part to an effective state. 振り分け部の有効状態から無効状態への移行についてのフローチャートおよびシーケンス図である。It is the flowchart and sequence figure about a transfer from the effective state of a distribution part to an invalid state. 現実系通信および仮想系通信のフローチャートである。It is a flowchart of real system communication and virtual system communication. 振り分け部を有効状態または無効状態にする指示の入力経路を示す図である。It is a figure which shows the input path | route of the instruction | indication which puts a distribution part into an effective state or an invalid state. 仮想ブロックの情報を変更する部位の実装例を示す図である。It is a figure which shows the example of mounting of the site | part which changes the information of a virtual block. 複数の仮想ブロックを有する部位間が連動して一貫して振る舞う実装例を示す図である。It is a figure which shows the example of mounting in which the part which has a some virtual block behaves consistently in cooperation. 仮想系の情報を記憶する部位の実装例を示す図である。It is a figure which shows the example of mounting of the site | part which memorize | stores the information of a virtual system. 仮想系の情報を外部に発出する部位の実装例を示す図である。It is a figure which shows the example of mounting of the site | part which emits the information of a virtual type | system | group outside. 仮想ブロックを有する部位への指示に伴う各部位の移行についてのフローチャートおよびシーケンス図である。It is the flowchart and sequence diagram about the transition of each site | part accompanying the instruction | indication to the site | part which has a virtual block. 現実ブロックがパラメータにより動作する場合における応用例に係る通信装置の構成と動作を説明するための図である。It is a figure for demonstrating the structure and operation | movement of a communication apparatus which concern on the application example in case a real block operate | moves with a parameter. 現実ブロック用パラメータ記憶部、仮想ブロック用パラメータ記憶部に記憶されたパラメータの例と、その時系列での変化を示す図である。It is a figure which shows the example of the parameter memorize | stored in the parameter memory | storage part for real blocks, and the parameter memory | storage part for virtual blocks, and the change in the time series. 現実ブロックがパラメータにより動作する場合における更なる応用例に係る通信装置の構成と動作を説明するための図である。It is a figure for demonstrating the structure and operation | movement of the communication apparatus which concern on the further application example in case a real block operate | moves with a parameter. 図19に示す通信装置1Aと同じ構成を有する通信装置を複数含むネットワークにおける動作を説明するための図である。It is a figure for demonstrating the operation | movement in the network containing two or more communication apparatuses which have the same structure as the communication apparatus 1A shown in FIG. 図20に示す通信装置Aの現実ブロック用パラメータ記憶部、仮想ブロック用パラメータ記憶部に記憶されたパラメータの例と、その時系列での変化を示す図である。FIG. 21 is a diagram illustrating an example of parameters stored in a real block parameter storage unit and a virtual block parameter storage unit of the communication apparatus A illustrated in FIG. 20 and changes over time. 図20のルート変更とは異なるルート変更の例を示す図である。It is a figure which shows the example of the route change different from the route change of FIG. 4個の通信装置を含むネットワークの部分における動作を説明するための図である。It is a figure for demonstrating the operation | movement in the part of the network containing four communication apparatuses. 現実ブロック、仮想ブロックのネットワークイメージの時系列での変化を示す図である。It is a figure which shows the change in the time series of the network image of a real block and a virtual block. 現実ブロック用パラメータ記憶部、仮想ブロック用パラメータ記憶部の状態推移に関するイメージを示す図である。It is a figure which shows the image regarding the state transition of the parameter storage part for real blocks, and the parameter storage part for virtual blocks. 仮想ブロック用パラメータ記憶部P202を有さない場合の通信装置1の構成図である。It is a block diagram of the communication apparatus 1 when not having the parameter storage part P202 for virtual blocks. 仮想ブロック用パラメータ記憶部P202を有する場合の通信装置1の構成図である。It is a block diagram of the communication apparatus 1 in the case of having the parameter storage part P202 for virtual blocks. 現実ブロック用パラメータ記憶部P201のパラメータと仮想ブロック用パラメータ記憶部P202のパラメータの従属性を判断し、仮想ブロック用パラメータ記憶部P202のパラメータに制限をあたえる機能を有する通信装置の構成図である。It is a block diagram of the communication apparatus which has a function which judges the dependency of the parameter of the parameter storage part P201 for real blocks, and the parameter of the parameter storage part P202 for virtual blocks, and gives a restriction | limiting to the parameter of the parameter storage part P202 for virtual blocks. 変化の生じた仮想系を有する通信装置1Aと、この変化に伴い変化する仮想系を有する通信装置1Bとを示す図である。It is a figure which shows 1A of communication apparatuses which have the virtual system which a change produced, and 1B of communication apparatuses which have a virtual system which changes with this change. 図17以降の応用例についての説明のための図である。FIG. 18 is a diagram for explaining an application example after FIG. 17. 図17以降の応用例についての説明のための図である。FIG. 18 is a diagram for explaining an application example after FIG. 17. 本実施の形態に係る通信装置および上記3つの既存技術による問題の解決方法を比較するためのテーブルである。It is a table for comparing the solution method of the problem by the communication apparatus which concerns on this Embodiment, and the said three existing technology.

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

図1は本実施の形態に係る通信装置1の説明図である。   FIG. 1 is an explanatory diagram of a communication device 1 according to the present embodiment.

図1の通信装置1は、仮想ブロックを有する部位K1と、信号を入力する入力部K2と、信号を出力する出力部K3とを備える。部位K1は、振り分け部K11と、仮想ブロックK12と、現実ブロックK13とを備える。仮想ブロックK12、現実ブロックK13は、物理的に異なるものである。振り分け部K11は、仮想的に変化を発生させる仮想系用の信号S12、ユーザ通信が流れる現実系の信号S13をそれぞれ、仮想ブロックK12、現実ブロックK13に振り分ける。   The communication device 1 in FIG. 1 includes a part K1 having a virtual block, an input unit K2 that inputs a signal, and an output unit K3 that outputs a signal. The part K1 includes a sorting unit K11, a virtual block K12, and a real block K13. The virtual block K12 and the real block K13 are physically different. The distribution unit K11 distributes the virtual signal S12 that causes a virtual change and the real signal S13 through which user communication flows to the virtual block K12 and the real block K13, respectively.

具体的には、他装置や試験機等(装置2A)から、別の他装置や試験機等(装置2B)への現実系の信号(S13)は、装置2Aから、光ファイバFA、入力部K2、振り分け部K11、現実ブロックK13、出力部K3、光ファイバFBを経由して、装置2Bに送信される。   Specifically, an actual signal (S13) from another device or tester (device 2A) to another device or tester (device 2B) is sent from device 2A to optical fiber FA, input unit. It is transmitted to the apparatus 2B via K2, the distribution unit K11, the real block K13, the output unit K3, and the optical fiber FB.

一方、仮想系の信号(S12)はその旨を示すフィールド情報(フラグなど)を有し、装置2Aから、光ファイバFA、入力部K2、振り分け部K11、仮想ブロックK12、出力部K3、光ファイバFBを経由して、装置2Bに送信される。仮想ブロックを通過する仮想系の信号の挙動として、例えばパケットの遅延がある。   On the other hand, the virtual signal (S12) has field information (a flag or the like) indicating that, and the optical fiber FA, input unit K2, distribution unit K11, virtual block K12, output unit K3, optical fiber from the device 2A. It is transmitted to the device 2B via the FB. As a behavior of a virtual signal passing through a virtual block, for example, there is a packet delay.

図2の通信装置1は、仮想ブロックK12と、現実ブロックK13が、物理的に同一の箇所B10に設けられている点を除いては、図1の通信装置1と同様の構成である。すなわち、仮想ブロックK12と、現実ブロックK13は、ソフトウェア的にデータベース上で異なるものである。   The communication device 1 in FIG. 2 has the same configuration as the communication device 1 in FIG. 1 except that the virtual block K12 and the real block K13 are provided in the physically same place B10. That is, the virtual block K12 and the real block K13 are different on the database in terms of software.

図1、図2で示したように、本発明においては、仮想ブロックと現実ブロックは、物理的に分かれていても、互いに異なるソフトウェアで構成されていてもよいのである。   As shown in FIGS. 1 and 2, in the present invention, the virtual block and the real block may be physically separated or may be configured by different software.

また、当該信号は、パケット(IPパケットなど)、Macフレーム、ATMセルなどであり、いずれかに限定するものではなく、全ての通信方式に適用できる。また、仮想ブロックの実装箇所は、通信部、制御部、記憶部、電源、ファン等の、つまり、通信装置の任意の箇所(例えば、バックプレーンなどでもよい)に一つ以上組み込むことができる。以下、例を挙げて説明する。   The signal is a packet (IP packet or the like), a Mac frame, an ATM cell, or the like, and is not limited to any one, and can be applied to all communication methods. In addition, one or more virtual block mounting locations can be incorporated in a communication unit, a control unit, a storage unit, a power source, a fan, or the like, that is, an arbitrary location (for example, a backplane) of the communication device. Hereinafter, an example will be described.

図3は、通信部への仮想ブロックの実装例を示す図である。   FIG. 3 is a diagram illustrating an implementation example of the virtual block in the communication unit.

例えば、通信部PBは、振り分け部PB1、転送処理部(仮想ブロックPB2、現実ブロックPB3)を備える。転送処理部PB2は、これまでの説明における仮想ブロックであり、ここでは転送処理の機能を有している。一方、転送処理部PB3は、同じ転送処理の機能を有しているが、転送処理部PB2のように、一部廃棄や遅延といった事象を発生させることはできない、つまり、本来の機能のみを有している。   For example, the communication unit PB includes a distribution unit PB1 and a transfer processing unit (virtual block PB2, real block PB3). The transfer processing unit PB2 is a virtual block in the above description, and has a transfer processing function here. On the other hand, although the transfer processing unit PB3 has the same transfer processing function, the transfer processing unit PB2 cannot cause an event such as partial discard or delay, that is, only the original function. doing.

振り分け部PB1は、通信装置1内の転送路を流れる通信を取得し、通信に仮想系用の通信であることを示すフィールド情報(フラグなど)があるか否かを判定し、フィールド情報がないなら、通信を転送処理部PB3に渡す。一方、振り分け部PB1は、フィールド情報があるなら、通信を転送処理部PB2に渡す。   The distribution unit PB1 acquires the communication flowing through the transfer path in the communication device 1, determines whether there is field information (such as a flag) indicating that the communication is communication for virtual systems, and there is no field information. Then, the communication is passed to the transfer processing unit PB3. On the other hand, if there is field information, the distribution unit PB1 passes the communication to the transfer processing unit PB2.

フィールド情報とは、例えば、VLANタグなどである。フィールド情報は、プロトコルの空きフィールド(IPのオプションフィールドなど)に設定してもよい。   The field information is, for example, a VLAN tag. The field information may be set in a protocol empty field (IP option field or the like).

転送処理部PB3は、受信した通信に対してカウンタ処理、エラーチェック、転送、廃棄の処理を行う一方、転送処理部PB2は、同じくカウンタ処理、エラーチェック、転送、廃棄の処理を行うが、故障を反映するように、例えば、一部廃棄、遅延の処理を行う。   The transfer processing unit PB3 performs counter processing, error check, transfer, and discard processing on the received communication, while the transfer processing unit PB2 also performs counter processing, error check, transfer, and discard processing. For example, a part of discarding and delaying processes are performed.

出力部K3は、転送処理部PB2、PB3からの信号を必要に応じて、電気信号から光信号へ又は逆に変換し、信号を光ファイバFBへ送出する。   The output unit K3 converts the signals from the transfer processing units PB2 and PB3 from an electrical signal to an optical signal or vice versa as necessary, and sends the signal to the optical fiber FB.

すなわち、フィールド情報を含まない現実系通信(S13)は、通信は、振り分け部PB1、転送処理部PB3、出力部K3を経由して、光ファイバFBへ送出される。   That is, in the real communication (S13) that does not include field information, the communication is sent to the optical fiber FB via the distribution unit PB1, the transfer processing unit PB3, and the output unit K3.

一方、フィールド情報を含む仮想系通信(S12)は、振り分け部PB1、転送処理部PB2、出力部K3を経由して、光ファイバFBへ送出される。   On the other hand, the virtual communication (S12) including field information is sent to the optical fiber FB via the distribution unit PB1, the transfer processing unit PB2, and the output unit K3.

図4は、通信装置1の制御部10への仮想ブロックの実装例を示す図である。   FIG. 4 is a diagram illustrating an example of mounting virtual blocks on the control unit 10 of the communication device 1.

例えば、制御部10は、振り分け部101、命令制御部102、103を備える。命令制御部102は、仮想ブロックであり、ここではプログラムの解釈と実行を行う機能を有している。一方、命令制御部103は、同じくプログラムの解釈と実行を行う機能を有しているが、命令制御部102(仮想ブロック)のように、指示により演算エラーや処理クロック制限を発生させることはできない、つまり、本来の機能のみを有している。   For example, the control unit 10 includes a distribution unit 101 and instruction control units 102 and 103. The instruction control unit 102 is a virtual block, and has a function of interpreting and executing a program here. On the other hand, the instruction control unit 103 also has a function of interpreting and executing a program. However, unlike the instruction control unit 102 (virtual block), an instruction error and a processing clock limit cannot be generated by an instruction. That is, it has only the original function.

振り分け部101は、通信装置1内の転送路を流れる通信を取得し、通信に仮想系用の通信であることを示すフィールド情報があるか否かを判定し、フィールド情報がないなら、通信を命令制御部103に渡す。一方、振り分け部101は、フィールド情報があるなら、通信を命令制御部102に渡す。   The distribution unit 101 acquires the communication flowing through the transfer path in the communication device 1, determines whether there is field information indicating that the communication is for virtual use, and if there is no field information, the communication is performed. It passes to the instruction control unit 103. On the other hand, the distribution unit 101 passes the communication to the command control unit 102 if there is field information.

命令制御部103は、受信した通信に応じたプログラムの解釈と実行を行う一方、命令制御部102は、同じくプログラムの解釈と実行を行うが、故障を反映するように、例えば、演算エラー、処理クロック制限を行う。   The instruction control unit 103 interprets and executes the program according to the received communication, while the instruction control unit 102 similarly interprets and executes the program. However, in order to reflect the failure, for example, calculation error, processing Perform clock limit.

すなわち、フィールド情報を含まない現実系通信(S103)は、振り分け部101、命令制御部103を経由して、通信装置1内の別の転送路へ送出される。   That is, real communication (S 103) that does not include field information is sent to another transfer path in the communication device 1 via the distribution unit 101 and the command control unit 103.

一方、フィールド情報を含む仮想系通信(S102)は、振り分け部101、命令制御部102を経由して、通信装置1内の別の転送路へ送出される。   On the other hand, the virtual communication (S102) including the field information is sent to another transfer path in the communication apparatus 1 via the distribution unit 101 and the command control unit 102.

図5は、通信装置1の記憶部12への仮想ブロックの実装例を示す図である。   FIG. 5 is a diagram illustrating an implementation example of virtual blocks in the storage unit 12 of the communication device 1.

例えば、記憶部12は、振り分け部121、データベース122、123を備える。データベース122は、仮想ブロックであり、ここでは設定情報、ルーチング情報等を保存する機能を有している。一方、データベース123は、同じく設定情報、ルーチング情報等を保存する機能を有しているが、データベース122(仮想ブロック)のように、指示によりメモリーエラーやルーチング情報の誤りを発生させることはできない、つまり、本来の機能のみを有している。   For example, the storage unit 12 includes a sorting unit 121 and databases 122 and 123. The database 122 is a virtual block, and here has a function of storing setting information, routing information, and the like. On the other hand, the database 123 also has a function of storing setting information, routing information, and the like, but unlike the database 122 (virtual block), a memory error or routing information error cannot be generated by an instruction. That is, it has only the original function.

振り分け部121は、通信装置1内の転送路を流れる通信を取得し、通信に仮想系用の通信であることを示すフィールド情報があるか否かを判定し、フィールド情報がないなら、通信をデータベース123に渡す。一方、振り分け部121は、フィールド情報があるなら、通信をデータベース122に渡す。   The distribution unit 121 acquires the communication flowing through the transfer path in the communication device 1, determines whether there is field information indicating that the communication is for virtual system communication, and if there is no field information, performs communication. Pass to database 123. On the other hand, the distribution unit 121 passes the communication to the database 122 if there is field information.

データベース123は、受信した通信に応じた情報の読み出しや書き込みを行う一方、データベース122は、同じく情報の読み出しや書き込みを行うが、故障を反映するように、例えば、メモリエラー、ルーチング情報の誤りを発生させる。   The database 123 reads and writes information according to the received communication, while the database 122 similarly reads and writes information. However, in order to reflect a failure, for example, a memory error or routing information error is reflected. generate.

すなわち、フィールド情報を含まない現実系通信(S123)は、振り分け部121、データベース123を経由して、通信装置内の別の転送路へ送出される。   That is, real communication (S123) that does not include field information is sent to another transfer path in the communication device via the distribution unit 121 and the database 123.

一方、故障発生後、フィールド情報を含む仮想系通信(S122)は、振り分け部121、データベース122を経由して、通信装置1内の別の転送路へ送出される。   On the other hand, after the failure occurs, the virtual communication (S122) including the field information is sent to another transfer path in the communication device 1 via the distribution unit 121 and the database 122.

図6は、仮想ブロックを有する部位を有効および無効にする部位(制御部)を有する装置を示す図である。   FIG. 6 is a diagram illustrating an apparatus having a part (control unit) that enables and disables a part having a virtual block.

図6の通信装置1は、図1の通信装置の構成に対し、さらに制御部L1を有している。また、振り分け部K11は、有効状態と無効状態のいずれかになり得るように構成されている。制御部L1は、外部から振り分け部K11を有効または無効にする指示を受信する。指示には、どの部位の振り分け部K11に対する指示かが示されており、制御部L1は、該当の部位の振り分け部K11に指示を転送する。指示を受けた振り分け部K11は、指示のとおりの状態となる。   The communication device 1 in FIG. 6 further includes a control unit L1 with respect to the configuration of the communication device in FIG. In addition, the distribution unit K11 is configured to be in either a valid state or an invalid state. The control unit L1 receives an instruction to enable or disable the distribution unit K11 from the outside. The instruction indicates which part to be assigned to the sorting unit K11, and the control unit L1 transfers the instruction to the sorting unit K11 of the corresponding part. The distribution unit K11 that has received the instruction is in a state as instructed.

図7は、振り分け部の状態遷移を示す図である。   FIG. 7 is a diagram illustrating state transition of the distribution unit.

振り分け部K11は、有効状態のときに有効にする指示を受けても有効状態を維持し、無効状態のときに無効にする指示を受けても無効状態を維持する。振り分け部K11は、有効状態のときに無効にする指示を受けたら、無効状態に遷移し、無効状態のときに有効にする指示を受けたら、有効状態に遷移する。   The distribution unit K11 maintains the valid state even if it receives an instruction to enable it in the valid state, and maintains the invalid state even if it receives the instruction to disable it in the invalid state. The distribution unit K11 transitions to an invalid state when receiving an instruction to invalidate in the valid state, and transitions to the valid state when an instruction to validate in the invalid state is received.

図6に戻り、振り分け部K11が無効状態の場合の動作を説明する。   Returning to FIG. 6, the operation when the distribution unit K11 is in an invalid state will be described.

振り分け部K11は、無効状態である場合、フィールド情報が含まれるか否かによらず、信号を全て現実ブロックに振り分ける(T101)。   If the distribution unit K11 is in an invalid state, the distribution unit K11 distributes all signals to the real blocks regardless of whether or not field information is included (T101).

次に、振り分け部K11が有効状態の場合の動作を説明する。   Next, an operation when the distribution unit K11 is in the valid state will be described.

振り分け部K11は、有効状態である場合、信号におけるフィールド情報の有無を判定し、フィールド情報がない場合は、信号を現実ブロックに振り分ける(T102)。一方、振り分け部K11は、フィールド情報がある場合は、信号を仮想ブロックに振り分ける(T103)。   The distribution unit K11 determines the presence / absence of field information in the signal when in a valid state, and distributes the signal to a real block when there is no field information (T102). On the other hand, when there is field information, the distribution unit K11 distributes the signal to the virtual block (T103).

図8は、振り分け部の無効状態から有効状態への移行についてのフローチャートおよびシーケンス図である。   FIG. 8 is a flowchart and sequence diagram for the transition of the distribution unit from the invalid state to the valid state.

通信装置1の制御部L1は、外部からある特定の部位の振り分け部の有効化指示を受けると、その内容に該当する箇所の特定を行う(S21)。特定した仮想ブロックを有する部位K1の振り分け部K11に対し、有効化指示を発出する。指示を受け取った振り分け部K11は、状態を有効状態に移行する(S25)。   When the control unit L1 of the communication device 1 receives an instruction to validate the sorting unit of a specific part from the outside, the control unit L1 specifies a part corresponding to the content (S21). An activation instruction is issued to the distribution unit K11 of the part K1 having the identified virtual block. The distribution unit K11 that has received the instruction shifts the state to the valid state (S25).

図9は、振り分け部の有効状態から無効状態への移行についてのフローチャートおよびシーケンス図である。   FIG. 9 is a flowchart and sequence diagram for the transition of the distribution unit from the valid state to the invalid state.

通信装置1の制御部L1は、外部からある特定の部位の振り分け部の無効化指示を受けると、その内容に該当する箇所の特定を行う(S31)。   When the control unit L1 of the communication device 1 receives an instruction to invalidate the distribution unit of a specific part from the outside, the control unit L1 specifies a part corresponding to the content (S31).

特定した仮想ブロックを有する部位K1の振り分け部K11に対し、無効化指示を発出する。指示を受け取った振り分け部K11は、状態を無効状態に移行する(S35)。 An invalidation instruction is issued to the distribution unit K11 of the part K1 having the identified virtual block. The distribution unit K11 that has received the instruction shifts the state to the invalid state (S35).

図10は、現実系通信および仮想系通信のフローチャートである。   FIG. 10 is a flowchart of real system communication and virtual system communication.

なお、以下の説明では、信号がパケットで構成される場合に言及するが、フレームやセルなどの他の伝送単位を用いてもよい。   In the following description, reference is made to the case where a signal is composed of packets, but other transmission units such as frames and cells may be used.

振り分け部、現実ブロックおよび仮想ブロックを有する部位にパケットが到着すると、前記仮想ブロックが機能するためのフィールド情報が当該パケットに含まれるか否かが判定される。つまり仮想ブロックに送信すべきものであることを示すフィールド情報がパケットに有るか否かが判定される(TT1)。当該フィールド情報がない場合(TT1:NO)は、パケットは現実ブロックに振り分けられる(TT2)。当該フィールド情報がある場合は、振り分け部の状態によって判定される(TT3)。振り分け部が無効状態の場合(TT3:無効状態)、パケットは現実ブロックを流れる(TT2)。一方、振り分け部が有効状態の場合(TT3:有効状態)、パケットは仮想ブロックに転送され、これにより、通信が仮想ブロックの状態に応じた挙動を示す(TT4)。例えば、パケットが廃棄されたり、遅延したりする。   When a packet arrives at a part having a distribution unit, a real block, and a virtual block, it is determined whether or not field information for functioning the virtual block is included in the packet. That is, it is determined whether or not the packet has field information indicating that it should be transmitted to the virtual block (TT1). When there is no field information (TT1: NO), the packet is distributed to a real block (TT2). If the field information is present, the field information is determined according to the state of the distribution unit (TT3). When the distribution unit is in an invalid state (TT3: invalid state), the packet flows through the actual block (TT2). On the other hand, when the distribution unit is in the valid state (TT3: valid state), the packet is transferred to the virtual block, whereby the communication behaves according to the state of the virtual block (TT4). For example, the packet is discarded or delayed.

図11は、振り分け部を有効状態または無効状態にする指示の入力経路を示す図である。   FIG. 11 is a diagram illustrating an input path for an instruction to place the distribution unit in the valid state or the invalid state.

振り分け部K11を有効状態または無効状態にする指示は、まず、制御部L1に入力されるが、その指示は、例えば、振り分け部K11への信号を入力する主信号ポートから入力し、制御部L1は、これを受信し、振り分け部K11に送信することができる。または、指示は、管理用ポートから入力し、制御部L1は、これを受信し、振り分け部K11に送信することができる。または、指示は、スイッチ(ディップスイッチなど)によって行われ、制御部L1は、スイッチの状態を読み取り、スイッチの状態に応じた指示を振り分け部K11に送信することができる。   An instruction to set the distribution unit K11 to the valid state or the invalid state is first input to the control unit L1, and the instruction is input from, for example, a main signal port that inputs a signal to the distribution unit K11, and the control unit L1. Can receive this and transmit it to the distribution unit K11. Alternatively, the instruction can be input from the management port, and the control unit L1 can receive it and transmit it to the distribution unit K11. Alternatively, the instruction is performed by a switch (such as a dip switch), and the control unit L1 can read the state of the switch and transmit an instruction according to the state of the switch to the distribution unit K11.

主信号ポートから指示を入力する場合、独立した指示用のポートが不要となる効果がある。なお、ユーザの主信号通信による誤動作・悪意ある操作を排除するため、認証システムを使用することが好ましい。   When an instruction is input from the main signal port, an independent instruction port is not required. It is preferable to use an authentication system in order to eliminate malfunctions and malicious operations caused by the user's main signal communication.

管理用ポートから指示を入力する場合、主信号系の帯域を消費しない効果がある。また、管理用ポートは、特定のユーザのみアクセス可能なので、セキュリティが担保される。   When an instruction is input from the management port, there is an effect that the band of the main signal system is not consumed. Further, since the management port can be accessed only by a specific user, security is ensured.

スイッチにより指示を行う場合、主信号系の帯域を消費せず、視覚的にも状態を把握しやすいという効果がある。   When an instruction is given by a switch, there is an effect that it is easy to grasp the state visually without consuming the band of the main signal system.

図12は、仮想ブロックの情報を変更する指示の入力経路を示す図である。   FIG. 12 is a diagram illustrating an input path of an instruction to change virtual block information.

図12の通信装置1は、図6の通信装置の構成に対し、制御部L1が仮想ブロックの情報を変更する機能を有する点が異なる。振り分け部、仮想ブロックおよび現実ブロックの動作は、これまでの説明と同じなので説明を省略する。   The communication device 1 in FIG. 12 is different from the configuration of the communication device in FIG. 6 in that the control unit L1 has a function of changing information on the virtual block. The operations of the distribution unit, the virtual block, and the real block are the same as those described so far and will not be described.

制御部L1は、外部から更新情報(仮想ブロックを変更するための情報)が入力された場合、更新情報を仮想ブロックに与え、これにより、仮想ブロックの情報を変更する。   When update information (information for changing a virtual block) is input from the outside, the control unit L1 gives the update information to the virtual block, thereby changing the information of the virtual block.

更新情報は、図11に示した、振り分け部を有効状態または無効状態にする指示の入力経路と同様に、例えば、主信号ポート、または、管理用ポート、または、スイッチから入力される。   The update information is input from, for example, a main signal port, a management port, or a switch, as in the input path of the instruction for setting the distribution unit in the valid state or the invalid state shown in FIG.

仮想ブロックがパラメータによりコンフィグレーションを変更できるものである場合、更新情報は、例えば、仮想ブロックに設定されたパラメータとは異なるパラメータである。または、更新情報は、例えば、プログラムを実行することによって構成された仮想ブロックの一部または全部を書き換えるプログラムであってもよい。   When the virtual block can change the configuration by the parameter, the update information is, for example, a parameter different from the parameter set for the virtual block. Alternatively, the update information may be, for example, a program that rewrites part or all of the virtual block configured by executing the program.

したがって、このような構成を採用することで、仮想ブロックの情報を、予め決められた動作だけを行うようにするのでなく、任意に変更できるという効果が得られる。   Therefore, by adopting such a configuration, it is possible to obtain an effect that the information of the virtual block can be arbitrarily changed rather than performing only a predetermined operation.

なお、振り分け部を有効状態または無効状態にでき、且つ、更新情報により仮想ブロックの情報を変更できるように構成してもよい。   In addition, you may comprise so that a distribution part can be made into an effective state or an invalid state, and the information of a virtual block can be changed with update information.

その場合、振り分け部を有効または無効にする指示の入力経路と、更新情報の入力経路を別々にすることで、例えば、前者はスイッチから、後者は管理用ポートからというようにすることで、仮想ブロックのみに対する情報の更新(追加、変更、削除等)を行うことが可能なため、命令情報の細分化が可能である。   In that case, by separating the input path of the instruction for enabling or disabling the distribution unit and the input path of the update information, for example, the former is from the switch and the latter is from the management port. Since information (addition, change, deletion, etc.) can be updated only for the block, the command information can be subdivided.

図13は、通信装置1の複数の仮想ブロックを有する部位間が連動して一貫して振る舞うことを示す図である。   FIG. 13 is a diagram illustrating that the parts having a plurality of virtual blocks of the communication apparatus 1 behave consistently in conjunction with each other.

図13の通信装置1は、制御部P1と、入力部P3と、出力部P4と、通信部P5と、通信部P6を備える。各通信部P5、P6は、振り分け部、仮想ブロックおよび現実ブロックを有する。振り分け部、仮想ブロックおよび現実ブロックの動作は、これまでの説明と同じなので省略する。   The communication device 1 in FIG. 13 includes a control unit P1, an input unit P3, an output unit P4, a communication unit P5, and a communication unit P6. Each communication part P5, P6 has a distribution part, a virtual block, and a real block. The operations of the distribution unit, the virtual block, and the real block are the same as those described so far and will not be described.

この通信装置では、通信部P6が、通信部P5に連動した振る舞いをする。つまり、通信部P5の仮想ブロックの情報を更新する指示を外部から入力し、通信部P5の振り分け部が有効かつ仮想ブロックがある特定の状態になった場合、通信部P6の振り分け部が有効かつ一貫した振る舞いに相当する仮想ブロックの挙動が選択される。   In this communication apparatus, the communication unit P6 behaves in conjunction with the communication unit P5. That is, when an instruction to update the virtual block information of the communication unit P5 is input from the outside and the distribution unit of the communication unit P5 is valid and the virtual block is in a specific state, the distribution unit of the communication unit P6 is valid and The behavior of the virtual block corresponding to consistent behavior is selected.

一方で、各振り分け部の有効無効は部位別に制御することも可能であり、これらにより、通信装置の様々な状態での挙動を確認することができる。   On the other hand, the validity / invalidity of each distribution unit can be controlled for each part, and thereby the behavior of the communication device in various states can be confirmed.

また、各通信部P5、P6で1つの仮想ブロックを選択する場合、部位間の連動によって、どの仮想ブロックが選択されるかを変えるようにしてもよい。   Moreover, when selecting one virtual block in each communication part P5 and P6, you may make it change which virtual block is selected by the cooperation between site | parts.

なお、図13においては、通信部を例に説明したが、仮想ブロックを有する他の部位においても同様の動作を行うことができる。   Although the communication unit has been described as an example in FIG. 13, the same operation can be performed in other parts having virtual blocks.

図14は、通信装置1に仮想系の情報を記憶する機能を有することを示す図である。   FIG. 14 is a diagram illustrating that the communication device 1 has a function of storing virtual system information.

図14の通信装置1は、制御部P1と、記憶部P2と、入力部P3と、出力部P4と、通信部P5を備える。各通信部P5は、振り分け部、仮想ブロックおよび現実ブロックを有する。振り分け部、仮想ブロックおよび現実ブロックの動作は、これまでの説明と同じなので省略する。   The communication device 1 in FIG. 14 includes a control unit P1, a storage unit P2, an input unit P3, an output unit P4, and a communication unit P5. Each communication unit P5 includes a distribution unit, a virtual block, and a real block. The operations of the distribution unit, the virtual block, and the real block are the same as those described so far and will not be described.

記憶部P2は、通信部P5の仮想ブロックの情報を記憶する記憶領域P21と、通信部P5の現実ブロックの情報を記憶する記憶領域P22とを備える。   The memory | storage part P2 is provided with the memory area P21 which memorize | stores the information of the virtual block of the communication part P5, and the memory area P22 which memorize | stores the information of the real block of the communication part P5.

この通信装置の記憶部P2は、通信部P5の仮想ブロックの情報を記憶領域P21に記憶しておく。制御部P1は、通信部P5の仮想ブロックの情報を更新する指示を外部から入力した場合(T202)、記憶領域P21にアクセスし(T203)、差分情報を取得する(T204)。そして、制御部P1は、差分情報を通信部P5の仮想ブロックに与え、仮想ブロックを更新する(T205)。   The storage unit P2 of the communication device stores information on the virtual block of the communication unit P5 in the storage area P21. When an instruction to update the virtual block information of the communication unit P5 is input from the outside (T202), the control unit P1 accesses the storage area P21 (T203) and acquires difference information (T204). And the control part P1 gives difference information to the virtual block of the communication part P5, and updates a virtual block (T205).

したがって、記憶領域P21の情報を通信部P5の仮想ブロックに与えることにより、装置内における状態の整合性を担保することができる。   Therefore, by providing the information in the storage area P21 to the virtual block of the communication unit P5, it is possible to ensure the consistency of the state in the apparatus.

なお、図14においては、通信部を例に説明したが、仮想ブロックを有する他の部位においても同様の動作を行うことができる。   In FIG. 14, the communication unit has been described as an example, but the same operation can be performed in other parts having virtual blocks.

図15は、通信装置1の仮想系の情報を外部に発出する機能を示す図である。   FIG. 15 is a diagram illustrating a function of issuing virtual system information of the communication device 1 to the outside.

図15の通信装置1は、図14の通信装置に対し、さらに、制御部P1が、外部からの要求に応じて、記憶領域P21に記憶された情報を取得し、外部に送出する構成を備えている。なお、図では、制御部P1、記憶部P2以外の構成要素の図示を省略している。図示省略した振り分け部、仮想ブロックおよび現実ブロックの動作は、これまでの説明と同じである。   The communication device 1 in FIG. 15 further includes a configuration in which the control unit P1 acquires information stored in the storage area P21 in response to a request from the outside and sends it out to the communication device in FIG. ing. In the figure, the components other than the control unit P1 and the storage unit P2 are not shown. The operations of the sorting unit, the virtual block, and the real block that are not shown in the figure are the same as those described so far.

制御部P1は、外部から要求が入力された(T301)場合、記憶領域P21に記憶された情報を取得し(T302)、情報を外部に送出する(T303)。   When a request is input from the outside (T301), the control unit P1 acquires information stored in the storage area P21 (T302), and sends the information to the outside (T303).

なお、仮想ブロックを有する部位が複数設けられている構成や、1つの部位に複数の仮想ブロックが設けられている構成など、そのような構成の通信装置では、記憶領域P21には各仮想ブロックの情報が記憶される。制御部P1は、外部からの要求により指定された仮想ブロックの情報を取得し、この情報を外部に送出する。   In a communication device having such a configuration, such as a configuration in which a plurality of parts having virtual blocks are provided or a configuration in which a plurality of virtual blocks are provided in one part, the storage area P21 includes each virtual block. Information is stored. The control unit P1 acquires information on the virtual block designated by a request from the outside, and sends this information to the outside.

したがって、外部からの要求により記憶領域P21の情報を外部に送出することで、更新情報や統計情報など、仮想ブロックにより影響を受けた状況や情報に基づき、警報や通信装置内の情報を外部に送出することが可能となる。つまり、外部に対し、仮想ブロックの状況や情報を送出することができる。   Therefore, by sending the information in the storage area P21 to the outside in response to a request from the outside, alarms and information in the communication device are sent to the outside based on the status and information affected by the virtual block, such as update information and statistical information. It can be sent out. That is, the status and information of the virtual block can be transmitted to the outside.

ところで、上記のように、通信装置の状態を変更した後の動作の確認方法、例えば、仮想的な故障状態における動作の確認方法であるが、例えば、外部の通信システムなどから確認コマンド(ICMP等)を送信したり、管理ポートから確認コマンド(showコマンド等)を入力したりすることで、故障時の動作を確認できる。いずれの場合であっても、現実系の確認と区別するために、既存方法を仮想系用に変更(別コマンドにする等)してもよいし、既存方法で対象を仮想系とする旨を指示(仮想系テーブルを表示させる等)してもよい。   By the way, as described above, there is an operation confirmation method after changing the state of the communication device, for example, an operation confirmation method in a virtual failure state. For example, a confirmation command (ICMP or the like) from an external communication system or the like. ) Or by inputting a confirmation command (such as a show command) from the management port. In any case, in order to distinguish it from the confirmation of the real system, the existing method may be changed to a virtual system (for example, a separate command), or the existing method may be used as a virtual system. An instruction (such as displaying a virtual system table) may be given.

仮想故障時の外部への信号送出であるが、仮想系の故障時には、現実系の故障時と同様にTRAP,SYSLOG等を送出し、その際には仮想系用のフラグを立てたTRAP,SYSLOGを送出することが考えられる。   Signal transmission to the outside at the time of a virtual failure. When a virtual system fails, TRAP, SYSLOG, etc. are transmitted in the same way as at the time of a real system failure. At that time, a TRAP, SYSLOG with a virtual system flag set is sent. Can be considered.

記憶部の利用についてであるが、仮想系の状態(リンクダウン、遅延等)を記憶部に保存することで、利便性を向上させることができる。つまり、オペレータは、故障状態を確認する際に記憶部を参照すればよい。   Concerning use of the storage unit, convenience can be improved by storing the virtual system state (link down, delay, etc.) in the storage unit. That is, the operator may refer to the storage unit when confirming the failure state.

また、仮想系に故障指示があった場合に、この故障指示により移行すべき故障状態と記憶部に保存された現在の仮想系の状態との差分を演算し、必要な仮想ブロックのみに指示を与えることが考えられる。   Also, when there is a failure instruction in the virtual system, the difference between the failure state to be transferred by this failure instruction and the current virtual system state stored in the storage unit is calculated, and only the necessary virtual block is instructed. It is possible to give.

また、仮想系に故障を指示した際に、記憶部に保存した仮想ブロックの前の状態との差分からTRAP、SYSLOGを送出するようにしてもよい。   Further, when a failure is instructed to the virtual system, TRAP and SYSLOG may be transmitted from the difference from the previous state of the virtual block stored in the storage unit.

故障指示の誤動作等の防止についてであるが、仮想的な故障指示、故障情報の伝達を、ユーザ通信と同じ経路に通す場合、ユーザ通信による誤動作や悪意ある操作を排除するため、認証システムを使用するのが好適である。   Although it is about prevention of malfunction of malfunction instruction, etc., when passing virtual malfunction instruction and malfunction information through the same route as user communication, an authentication system is used to eliminate malfunction and malicious operation due to user communication. It is preferable to do this.

また、仮想系で発生させる故障状態の詳細(遅延、一部廃棄など)を確認できるよう、観測部を設けるようにしてもよい。   Moreover, an observation unit may be provided so that details (delay, partial discard, etc.) of a failure state generated in the virtual system can be confirmed.

図16は、仮想ブロックを有する部位への指示に伴う各部位の移行の実施例を示すフローチャートとシーケンス図である。   FIG. 16 is a flowchart and a sequence diagram illustrating an example of transition of each part accompanying an instruction to a part having a virtual block.

通信装置1の管理ポート11は、コンフィグ操作等の指示を受け付ける部位であり、外部からある特定の部位の振り分け部の有効化指示及び、仮想ブロックの情報の更新指示を受けると、それを制御部10に転送する。制御部10は、その指示に該当する箇所の特定と、更新内容の特定を行う(S61)。特定後、制御部10は、記憶部12にアクセスする(S63)。   The management port 11 of the communication device 1 is a part that receives an instruction for configuration operation or the like. When an instruction to validate a distribution unit for a specific part and an instruction to update virtual block information are received from the outside, Forward to 10. The control unit 10 specifies a location corresponding to the instruction and specifies the update content (S61). After identification, the control unit 10 accesses the storage unit 12 (S63).

通信装置1の記憶部12は、通信装置1内のどの箇所に仮想ブロックがあり、どの箇所の仮想ブロックがどのような状態になっているかをDB(データベース)情報として管理しており、情報更新通知を受け取ると、DB情報を参照し(S64)、通知の内容が既に反映されているか否かを確認する(S65)。通知の内容が反映されていないなら、記憶部12は、通知の内容が反映されるように指示内容とDB情報の差分情報について制御部に対し回答を行う(S66)そして、制御部P1は、差分情報をもとに、例えば、通信部PBの振り分け部PB1へ有効化指示を行う(S67)。   The storage unit 12 of the communication device 1 manages, as DB (database) information, which location in the communication device 1 has a virtual block and which virtual block is in what state. When the notification is received, the DB information is referred to (S64), and it is confirmed whether or not the content of the notification is already reflected (S65). If the content of the notification is not reflected, the storage unit 12 replies to the control unit about the difference information between the instruction content and the DB information so that the content of the notification is reflected (S66). Then, the control unit P1 Based on the difference information, for example, an activation instruction is given to the distribution unit PB1 of the communication unit PB (S67).

なお、かかる指示は、主信号の通信やスイッチ(ディップスイッチなど)により行ってもよい。例としては、ICMPフレームに指示箇所、指示内容を付与する方法が考えられる。また、指示箇所、指示内容とともに、指示内容の発生時間等を指示し、その時間に自動的に指示内容が発生するようにしてもよい。   Such an instruction may be performed by communication of a main signal or a switch (such as a dip switch). As an example, a method of giving an instruction location and instruction content to an ICMP frame can be considered. In addition, the generation time of the instruction content may be instructed together with the instruction location and the instruction content, and the instruction content may be automatically generated at that time.

指示を受け取った振り分け部PB1は、状態を有効状態に移行する(S69)。加えて、制御部10は、通信部PBの転送処理部PB4(以下、仮想ブロックという)へ情報の更新指示を行う(S71)。仮想ブロックは、自身の情報を指示に基づき更新する(S73)。   The distribution unit PB1 that has received the instruction shifts the state to the valid state (S69). In addition, the control unit 10 issues an information update instruction to the transfer processing unit PB4 (hereinafter referred to as a virtual block) of the communication unit PB (S71). The virtual block updates its own information based on the instruction (S73).

仮想ブロックは、通信装置1の記憶部12に情報更新通知を行う(S81)。これは、通信部PBの情報が更新されたことを通知するものである。通信装置1の記憶部12は、情報更新通知を受け取ると、DB情報を参照し(S83)、通知の内容が既に反映されているか否かを確認する(S85)。通知の内容が反映されていないなら、記憶部12は、通知の内容が反映されるようにDB情報を更新し(S87)、その際の変更内容を制御部10に通知する(S89)。制御部10は、自身において、通信部PBの変更された状態を示す外部への信号の種類が設定されているか否かを判定する(S91)。該当の信号の種類が設定されているなら、制御部10は、その信号を外部に送出するように管理ポート11へ指示を行う(S93)。管理ポート11は、指示どおりに、信号を外部へ送出し(S95)、仮想系の変更の処理が完了する。   The virtual block sends an information update notification to the storage unit 12 of the communication device 1 (S81). This notifies that the information of the communication unit PB has been updated. When the storage unit 12 of the communication device 1 receives the information update notification, the storage unit 12 refers to the DB information (S83), and checks whether the content of the notification has already been reflected (S85). If the content of the notification is not reflected, the storage unit 12 updates the DB information so that the content of the notification is reflected (S87), and notifies the control unit 10 of the changed content at that time (S89). The control unit 10 determines whether or not the type of signal to the outside indicating the changed state of the communication unit PB is set (S91). If the corresponding signal type is set, the control unit 10 instructs the management port 11 to send the signal to the outside (S93). The management port 11 sends a signal to the outside as instructed (S95), and the processing for changing the virtual system is completed.

なお、ステップS65、ステップS85で、通知の内容が反映されている場合、または、ステップS91で、信号の種類が設定されていない場合、直ちに、仮想系の故障の処理が完了する。   If the notification contents are reflected in step S65 and step S85, or if the signal type is not set in step S91, the virtual system failure process is immediately completed.

次に、現実ブロックがパラメータにより動作する場合における応用例を説明する。   Next, an application example when a real block operates with parameters will be described.

図17は、本応用例に係る通信装置の構成と動作を説明するための図である。   FIG. 17 is a diagram for explaining the configuration and operation of a communication apparatus according to this application example.

通信装置1は、制御部P1と、記憶部P2と、入力部P3と、出力部P4と、通信部P5を備える。入力部P3、出力部P4は、それぞれ光ファイバFA、FBに接続される。制御部P1は、本発明のパラメータ複写手段に相当するものである。   The communication device 1 includes a control unit P1, a storage unit P2, an input unit P3, an output unit P4, and a communication unit P5. The input unit P3 and the output unit P4 are connected to the optical fibers FA and FB, respectively. The controller P1 corresponds to the parameter copying means of the present invention.

通信部P5は、振り分け部、仮想ブロックおよび現実ブロックを有する。振り分け部、仮想ブロックおよび現実ブロックの動作は、これまでの説明と同じなので省略する。   The communication unit P5 includes a distribution unit, a virtual block, and a real block. The operations of the distribution unit, the virtual block, and the real block are the same as those described so far and will not be described.

記憶部P2は、通信部P5の現実ブロックの動作を司るパラメータが記憶された現実ブロック用パラメータ記憶部P201と、通信部P5の仮想ブロックの動作を司るパラメータが記憶された仮想ブロック用パラメータ記憶部P202とを備える。   The storage unit P2 includes a real block parameter storage unit P201 that stores parameters that control the operation of the real block of the communication unit P5, and a virtual block parameter storage unit that stores parameters that control the operation of the virtual block of the communication unit P5. P202.

振り分け部は、ここでは、無効状態であり、仮想系用の通信であることを示すフィールド情報が含まれるか否かによらず、信号を全て現実ブロックに振り分けるようになっている(T400)。   Here, the distribution unit distributes all the signals to the real blocks regardless of whether or not the field information indicating the communication for the virtual system is included in the invalid state (T400).

図18は、各現実ブロック用パラメータ記憶部P201、仮想ブロック用パラメータ記憶部P202に記憶されたパラメータの例と、その時系列での変化を示す図である。また、同図は、制御部P1がない場合の仮想ブロック用パラメータ記憶部P202に記憶されたパラメータの例と、その時系列での変化もあわせて示す。   FIG. 18 is a diagram illustrating examples of parameters stored in each real block parameter storage unit P201 and virtual block parameter storage unit P202, and changes in time series thereof. This figure also shows an example of parameters stored in the virtual block parameter storage unit P202 when there is no control unit P1, and changes in the time series thereof.

各現実ブロック用パラメータ記憶部P201、仮想ブロック用パラメータ記憶部P202は、時刻t0の欄に示すように、当初において、例えば、20個の仮想LANの識別情報であるVlan−ID1〜20、特定の仮想LANへの通信断を行うか否かを示すフィルタ情報「なし」を記憶している。   As shown in the column of time t0, each of the real block parameter storage unit P201 and the virtual block parameter storage unit P202 initially has, for example, Vlan-IDs 1 to 20 which are identification information of 20 virtual LANs, Filter information “None” indicating whether or not to disconnect communication with the virtual LAN is stored.

通信装置1のオペレータは、例えば、時刻t1の欄に示すように、その後、各現実ブロック用パラメータ記憶部P201、仮想ブロック用パラメータ記憶部P202にVlan−IDを追加して、Vlan−IDを100個(Vlan−ID1〜100)とし、また、50,000個のMacアドレスMac1〜50000を登録する。   For example, as shown in the column of time t1, the operator of the communication apparatus 1 then adds Vlan-ID to each real block parameter storage unit P201 and virtual block parameter storage unit P202, and sets Vlan-ID to 100. And 50,000 Mac addresses Mac1 to 50000 are registered.

しかし、現実ブロック用パラメータ記憶部P201のMacアドレスの数は、通信装置1を含む網内の通信装置数を反映して自動で変化するので、例えば、4,000,479個(MacアドレスMac1〜4,000,479)にまで増え、つまり、通信装置数が極めて多くなり、網での通信が不安定となる。   However, since the number of Mac addresses in the real block parameter storage unit P201 automatically changes to reflect the number of communication devices in the network including the communication device 1, for example, 4,000,479 (Mac addresses Mac1 to Mac1). 4,000,479), that is, the number of communication devices becomes extremely large, and the communication on the network becomes unstable.

そこで、時刻t2の欄に示すように、オペレータが、通信を安定化させるべく、仮想ブロック用パラメータ記憶部P202のフィルタ情報を「あり」に設定変更することで、網内の特定の仮想LANへの通信断が行われる。これにより、現実ブロック用パラメータ記憶部P201のMacアドレスの数は「876」(MacアドレスMac1〜876)に減少する。例えば、通信がまだ不安定なら、他の対応策が講じられる。   Therefore, as shown in the column of time t2, the operator changes the filter information in the virtual block parameter storage unit P202 to “Yes” in order to stabilize the communication, so that the specific virtual LAN in the network is set. Is disconnected. As a result, the number of Mac addresses in the actual block parameter storage unit P201 is reduced to “876” (Mac addresses Mac1 to 876). For example, if communication is still unstable, other countermeasures can be taken.

このように、現実ブロック用パラメータ記憶部P201のMacアドレスの数が自動で変化する状況において、図17の制御部P1には、スイッチ(ディップスイッチなど)を介して管理ポート(共に図示せず)から(T401)、または、入力部P3を介して通信信号により(T402)、振り分け部を有効にして仮想ブロックを機能させるための指示が入力される。   In this manner, in a situation where the number of Mac addresses in the real block parameter storage unit P201 automatically changes, the control unit P1 in FIG. 17 has a management port (both not shown) via a switch (such as a dip switch). From (T401) or by a communication signal via the input unit P3 (T402), an instruction for enabling the allocating unit and causing the virtual block to function is input.

制御部P1は、かかる指示が入力されたなら、現実ブロック用パラメータ記憶部P201に記憶されたパラメータ(Vlan−ID、Macアドレス、フィルタ情報)を仮想ブロック用パラメータ記憶部P202に複写する(図17、図18:T411)。   When such an instruction is input, the control unit P1 copies the parameters (Vlan-ID, Mac address, filter information) stored in the real block parameter storage unit P201 to the virtual block parameter storage unit P202 (FIG. 17). , FIG. 18: T411).

また、制御部P1は、場合によっては、入力された指示内容により、仮想ブロック用パラメータ記憶部P202に複写されたパラメータを変更する(T413)。   In some cases, the control unit P1 changes the parameter copied to the virtual block parameter storage unit P202 according to the input instruction content (T413).

次に、制御部P1は、振り分け部を有効化し(T415)、仮想ブロックに対し、変更された仮想ブロック用パラメータ記憶部P202のパラメータを使用するように指示を行う(T417)。   Next, the control unit P1 activates the distribution unit (T415), and instructs the virtual block to use the parameter of the changed virtual block parameter storage unit P202 (T417).

これにより、振り分け部は、有効状態となり、フィールド情報が含む信号を現実ブロックに振り分け(T421)、フィールド情報を含む信号を仮想ブロックに振り分ける(T423)。   As a result, the distribution unit enters the valid state, distributes the signal included in the field information to the real block (T421), and distributes the signal including the field information to the virtual block (T423).

なお、制御部P1は、図示しないが、指示が再度入力されたなら、現実ブロック用パラメータ記憶部P201に記憶されたパラメータを再度、仮想ブロック用パラメータ記憶部P202に複写する。   Although not shown, the control unit P1 copies the parameter stored in the real block parameter storage unit P201 again to the virtual block parameter storage unit P202 if an instruction is input again.

これにより、図18の時刻t2の欄に示すように、現実ブロック用パラメータ記憶部P201のパラメータが、876個のMacアドレスを含めて、仮想ブロック用パラメータ記憶部P202に複写され、場合によっては、パラメータが変更される。   As a result, as shown in the column of time t2 in FIG. 18, the parameters in the real block parameter storage unit P201 including the 876 Mac addresses are copied to the virtual block parameter storage unit P202. The parameter is changed.

これに対し、制御部P1がない場合、Macアドレスの数は「50,000」(Mac1〜50000)のままであり(図18の※印を参照)、状況によっては、これらのMacアドレスを使用する仮想ブロックに所望の動作をさせることができない可能性がある。   On the other hand, when there is no control unit P1, the number of Mac addresses remains “50,000” (Mac 1 to 50000) (see * in FIG. 18). Depending on the situation, these Mac addresses may be used. There is a possibility that a desired operation cannot be performed on the virtual block.

しかし、制御部P1を設けることで、仮想ブロック用パラメータ記憶部P202のパラメータは、複写により、現実ブロック用パラメータ記憶部P201のパラメータに追従することとなり、現状にあわせて、仮想ブロックに所望の動作をさせることができる。   However, by providing the control unit P1, the parameters of the virtual block parameter storage unit P202 follow the parameters of the real block parameter storage unit P201 by copying, and a desired operation can be performed on the virtual block according to the current situation. Can be made.

次に、現実ブロックがパラメータにより動作する場合における更なる応用例を説明する。   Next, a further application example in the case where the real block operates with parameters will be described.

図19は、本応用例に係る通信装置の構成と動作を説明するための図である。   FIG. 19 is a diagram for explaining the configuration and operation of a communication apparatus according to this application example.

同図には、2つの通信装置1(以下、通信装置1A、1Bとする)を示す。   In the figure, two communication devices 1 (hereinafter referred to as communication devices 1A and 1B) are shown.

各通信装置1A、1Bは、制御部P1と、記憶部P2と、入力部P3と、出力部P4と、通信部P5を備える。   Each communication device 1A, 1B includes a control unit P1, a storage unit P2, an input unit P3, an output unit P4, and a communication unit P5.

通信装置1Aの入力部P3、出力部P4は、それぞれ光ファイバFA、FBに接続される。通信装置1Bの入力部P3、出力部P4は、それぞれ光ファイバFB、FCに接続される。   The input unit P3 and the output unit P4 of the communication device 1A are connected to optical fibers FA and FB, respectively. The input unit P3 and the output unit P4 of the communication device 1B are connected to the optical fibers FB and FC, respectively.

各通信装置1A、1Bの記憶部P2は、現実ブロック用パラメータ記憶部P201と、仮想ブロック用パラメータ記憶部P202とを備える。   The storage unit P2 of each of the communication devices 1A and 1B includes a real block parameter storage unit P201 and a virtual block parameter storage unit P202.

各通信装置1A、1Bの振り分け部は、ここでは、無効状態であり、フィールド情報が含まれるか否かによらず、信号を全て現実ブロックに振り分けるようになっている(T400)。   Here, the distribution unit of each of the communication devices 1A and 1B is in an invalid state, and distributes all signals to real blocks regardless of whether or not field information is included (T400).

通信装置1Aの制御部P1には、スイッチ(ディップスイッチなど)を介して管理ポート(共に図示せず)から(T401)、または、入力部P3を介して通信信号により(T402)、振り分け部を有効にして仮想ブロックを機能させるための指示が入力される。   The control unit P1 of the communication apparatus 1A is connected to a distribution unit from a management port (both not shown) via a switch (such as a dip switch) (T401) or by a communication signal (T402) via an input unit P3. An instruction for enabling the virtual block to function is input.

制御部P1は、かかる指示が入力されたなら、現実ブロック用パラメータ記憶部P201に記憶されたパラメータを仮想ブロック用パラメータ記憶部P202に複写する(T411)。   When such an instruction is input, the control unit P1 copies the parameters stored in the real block parameter storage unit P201 to the virtual block parameter storage unit P202 (T411).

また、制御部P1は、入力された指示内容により、仮想ブロック用パラメータ記憶部P202に複写されたパラメータを変更する(T413)。   Further, the control unit P1 changes the parameters copied to the virtual block parameter storage unit P202 according to the input instruction content (T413).

次に、制御部P1は、振り分け部を有効化し(T415)、仮想ブロックに対し、変更された仮想ブロック用パラメータ記憶部P202のパラメータを使用するように指示を行う(T417)。   Next, the control unit P1 activates the distribution unit (T415), and instructs the virtual block to use the parameter of the changed virtual block parameter storage unit P202 (T417).

これにより、振り分け部は、有効状態となり、フィールド情報が含む信号を現実ブロックに振り分け(T421)、フィールド情報を含む信号を仮想ブロックに振り分ける(T423)。   As a result, the distribution unit enters the valid state, distributes the signal included in the field information to the real block (T421), and distributes the signal including the field information to the virtual block (T423).

次に、制御部P1は、仮想ブロック用パラメータ記憶部P202のパラメータを読み出し、通信装置1Aの出力部P4、光ファイバFB、通信装置1Bの入力部P3を介して、通信装置1Bの制御部P1に送信する(T431)。   Next, the control unit P1 reads the parameters of the virtual block parameter storage unit P202, and controls the control unit P1 of the communication device 1B via the output unit P4 of the communication device 1A, the optical fiber FB, and the input unit P3 of the communication device 1B. (T431).

これにより、通信装置1Bの制御部P1は、現実ブロック用パラメータ記憶部P201に記憶されたパラメータを仮想ブロック用パラメータ記憶部P202に複写する(T432)。   As a result, the control unit P1 of the communication device 1B copies the parameters stored in the real block parameter storage unit P201 to the virtual block parameter storage unit P202 (T432).

次に、制御部P1は、通信装置1Aから送信されたパラメータに基づき、仮想ブロック用パラメータ記憶部P202に複写されたパラメータを変更する(T433)。   Next, the control unit P1 changes the parameters copied to the virtual block parameter storage unit P202 based on the parameters transmitted from the communication device 1A (T433).

次に、制御部P1は、振り分け部を有効化し(T435)、仮想ブロックに対し、変更された仮想ブロック用パラメータ記憶部P202のパラメータを使用するように指示を行う(T437)。   Next, the control unit P1 activates the distribution unit (T435), and instructs the virtual block to use the parameters of the changed virtual block parameter storage unit P202 (T437).

これにより、振り分け部は、有効状態となり、フィールド情報が含む信号を現実ブロックに振り分け(T441)、フィールド情報を含む信号を仮想ブロックに振り分ける(T443)。   As a result, the distribution unit enters the valid state, distributes the signal included in the field information to the real block (T441), and distributes the signal including the field information to the virtual block (T443).

図20は、図19に示す通信装置1Aと同じ構成を有する通信装置を複数含むネットワークにおける動作を説明するための図である。   FIG. 20 is a diagram for describing an operation in a network including a plurality of communication devices having the same configuration as that of communication device 1A shown in FIG.

各通信装置A、B、Cは、図17に示す通信装置1Aと同じ構成を有するものであり、現実ブロック用パラメータ記憶部P201、仮想ブロック用パラメータ記憶部P202、仮想的なポートPT1、PT2、PT3を有する。   Each of the communication devices A, B, and C has the same configuration as the communication device 1A shown in FIG. 17, and includes a real block parameter storage unit P201, a virtual block parameter storage unit P202, virtual ports PT1, PT2, It has PT3.

図21は、通信装置Aの各現実ブロック用パラメータ記憶部P201、仮想ブロック用パラメータ記憶部P202に記憶されたパラメータの例と、その時系列での変化を示す図である。   FIG. 21 is a diagram illustrating an example of parameters stored in each real block parameter storage unit P201 and virtual block parameter storage unit P202 of the communication apparatus A, and changes in the time series thereof.

時刻t21の欄に示すように、通信装置Aの現実ブロック用パラメータ記憶部P201、仮想ブロック用パラメータ記憶部P202は、当初において、例えば、20個の仮想LANの識別情報であるVlan−ID1〜20、360個のMacアドレスMac1〜360、各ポートの故障がないことを示す情報(図ではポートPT3について、「ポートPT3の故障の有無「なし」とのみ記載)、ルーティングテーブルRT1〜4を記憶している。   As shown in the column of time t21, the actual block parameter storage unit P201 and the virtual block parameter storage unit P202 of the communication device A initially have, for example, Vlan-ID1 to 20 that are identification information of 20 virtual LANs. 360 pieces of Mac addresses Mac1 to 360, information indicating that there is no failure in each port (in the figure, for port PT3, “only presence or absence of failure of port PT3” is described) and routing tables RT1 to 4 are stored. ing.

なお、図示しないが、通信装置B、Cの各現実ブロック用パラメータ記憶部P201、仮想ブロック用パラメータ記憶部P202にも同様のパラメータ(ルーティングテーブルRT1〜4を含む)が記憶されている。   Although not shown, similar parameters (including routing tables RT1 to 4) are stored in each of the real block parameter storage unit P201 and the virtual block parameter storage unit P202 of the communication devices B and C.

こうして、各通信装置A、B、Cの現実ブロック用パラメータ記憶部P201、仮想ブロック用パラメータ記憶部P202に、ルーティングテーブルRT1〜4が記憶されている場合においては、信号は以下のようなルートを通ることとなる。   Thus, when the routing tables RT1 to 4 are stored in the real block parameter storage unit P201 and the virtual block parameter storage unit P202 of each of the communication devices A, B, and C, the signal has the following route: Will pass.

つまり、図20において、通信装置Aへ送信された信号は、現実ブロック用パラメータ記憶部P201、仮想ブロック用パラメータ記憶部P202にルーティングテーブルRT1〜4が記憶されているので、フィールド情報の有無に関わらず、ルーティングテーブルRT1〜4にしたがい、通信装置Bに転送される(T501)。   That is, in FIG. 20, the signal transmitted to the communication device A has the routing tables RT1 to 4 stored in the real block parameter storage unit P201 and the virtual block parameter storage unit P202. First, it is transferred to the communication device B according to the routing tables RT1 to RT4 (T501).

また、通信装置Bに転送された信号は、同様に、フィールド情報の有無に関わらず、ルーティングテーブルRT1〜4にしたがい、例えば、図示しない通信装置に転送される(T501)。   Similarly, the signal transferred to the communication apparatus B is transferred to, for example, a communication apparatus (not shown) according to the routing tables RT1 to 4 regardless of the presence / absence of field information (T501).

ここで、オペレータが、通信装置AのポートPT3、通信装置BのポートPT1に擬似的な故障を発生させ、通信装置A、Bに記憶されたMacアドレスを故意に消去すると(T511)、図21の時刻t22の欄に示すように、通信装置Aの現実ブロック用パラメータ記憶部P201においては、ポートPT3の故障が反映され(ポートPT3の故障の有無「あり」)、MacアドレスMac1〜360も消去される(Macアドレス「−」)。   Here, when the operator causes a pseudo failure in the port PT3 of the communication device A and the port PT1 of the communication device B and intentionally deletes the Mac address stored in the communication devices A and B (T511), FIG. As shown in the column of time t22, the actual block parameter storage unit P201 of the communication apparatus A reflects the failure of the port PT3 (the presence or absence of the failure of the port PT3 is “Yes”), and the Mac addresses Mac1 to 360 are also erased. (Mac address “−”).

例えば、オペレータは、通信装置A、通信装置C、通信装置Bのルートで信号を伝達すべく、通信装置Aにおいて、現実ブロック用パラメータ記憶部P201のルーティングテーブルRT1〜4を新たなルーティングテーブルRT15〜18で書き換える。   For example, the operator changes the routing tables RT1 to 4 of the actual block parameter storage unit P201 to the new routing tables RT15 to RT15 in the communication device A in order to transmit signals through the routes of the communication devices A, C, and B. Rewrite with 18.

ここで、図19のステップT401またはT402に相当する指示が、図20の通信装置Aに送信されたこととする。   Here, it is assumed that an instruction corresponding to step T401 or T402 in FIG. 19 is transmitted to the communication apparatus A in FIG.

図19のステップT411と同様に、図20の通信装置Aでも、現実ブロック用パラメータ記憶部P201のパラメータが、仮想ブロック用パラメータ記憶部P202に複写される。   Similarly to step T411 in FIG. 19, also in the communication apparatus A in FIG. 20, the parameters in the real block parameter storage unit P201 are copied to the virtual block parameter storage unit P202.

これにより、図21の時刻t22の欄に示すように、仮想ブロック用パラメータ記憶部P202においては、ポートPT3の故障が反映され(ポートPT3の故障の有無「あり」)、MacアドレスMac1〜360が消去され(Macアドレス「−」)、ルーティングテーブルRT1〜4が、ルーティングテーブルRT15〜18に書き換えられる。   As a result, as shown in the column of time t22 in FIG. 21, in the virtual block parameter storage unit P202, the failure of the port PT3 is reflected (the presence / absence of the failure of the port PT3 is “present”), and the Mac addresses Mac 1 to 360 are set. It is deleted (Mac address “−”), and the routing tables RT1 to RT4 are rewritten to the routing tables RT15 to RT18.

また、図19のステップT415、T417と同様に、振り分け部が有効にされ、仮想ブロックに指示が行われる。   Further, as in steps T415 and T417 in FIG. 19, the sorting unit is enabled and an instruction is given to the virtual block.

また、図19のステップT431と同様に、通信装置Aは、仮想ブロック用パラメータ記憶部P202のパラメータを、ここでは、通信装置B、Cに送信する。   Similarly to step T431 in FIG. 19, the communication device A transmits the parameters in the virtual block parameter storage unit P202 to the communication devices B and C here.

これにより、図19のステップT432と同様に、通信装置B、Cでは、現実ブロック用パラメータ記憶部P201のパラメータが、仮想ブロック用パラメータ記憶部P202に複写される。   As a result, as in step T432 of FIG. 19, in the communication apparatuses B and C, the parameters in the real block parameter storage unit P201 are copied to the virtual block parameter storage unit P202.

次に、図19のステップT433と同様に、通信装置B、Cでは、仮想ブロック用パラメータ記憶部P202に複写されたルーティングテーブルRT1〜4が、通信装置Aから送信されたパラメータに含まれるルーティングテーブルRT15〜18に書き換えられる。   Next, as in step T433 in FIG. 19, in the communication apparatuses B and C, the routing tables RT1 to 4 copied to the virtual block parameter storage unit P202 are included in the parameters transmitted from the communication apparatus A. Rewritten to RT15-18.

こうして、各通信装置A、B、Cの現実ブロック用パラメータ記憶部P201、仮想ブロック用パラメータ記憶部P202に、ルーティングテーブルRT15〜18が書き込まれた後においては、フィールド情報を含む信号は以下のようなルートを通ることとなる。   Thus, after the routing tables RT15 to 18 are written in the real block parameter storage unit P201 and the virtual block parameter storage unit P202 of each of the communication devices A, B, and C, signals including field information are as follows: Will take a difficult route.

つまり、通信装置Aへ送信されたフィールド情報を含む信号は、仮想ブロック用パラメータ記憶部P202にルーティングテーブルRT15〜18が記憶されているので、ルーティングテーブルRT15〜18にしたがい、通信装置Cに転送される(T502)。   That is, since the routing table RT15-18 is stored in the virtual block parameter storage unit P202, the signal including the field information transmitted to the communication device A is transferred to the communication device C according to the routing tables RT15-18. (T502).

また、通信装置Cに転送された信号は、仮想ブロック用パラメータ記憶部P202にルーティングテーブルRT15〜18が記憶されているので、このルーティングテーブルにしたがい、通信装置Bに転送される(T502)。   Further, since the routing tables RT15 to RT18 are stored in the virtual block parameter storage unit P202, the signal transferred to the communication device C is transferred to the communication device B according to this routing table (T502).

また、通信装置Cに転送された信号は、仮想ブロック用パラメータ記憶部P202にルーティングテーブルRT15〜18が記憶されているので、ルーティングテーブルにしたがい、例えば、図示しない所定の通信装置に転送される(T502)。   Further, since the routing table RT15-18 is stored in the virtual block parameter storage unit P202, the signal transferred to the communication device C is transferred to, for example, a predetermined communication device (not shown) according to the routing table ( T502).

ここで、図20の符号T501で示す信号は、例えば、フィールド情報を含まない信号であり、つまり、ユーザ通信の信号であり、一方、符号T502で示す信号は、フィールド情報を含む信号、つまり、例えば、ユーザ通信の影響を確認するための信号である。   Here, for example, the signal indicated by reference numeral T501 in FIG. 20 is a signal that does not include field information, that is, a signal for user communication, while the signal indicated by reference numeral T502 is a signal that includes field information, that is, For example, it is a signal for confirming the influence of user communication.

よって、ユーザ通信の影響を確認するための信号を、ユーザ通信の信号のルートとは異なるルートに流すことができ、これにより、ユーザ通信の影響確認の自由度を高めることができる。   Therefore, a signal for confirming the influence of the user communication can be sent to a route different from the route of the signal of the user communication, thereby increasing the degree of freedom in confirming the influence of the user communication.

例えば、図20のようなルート変更だけでなく、図22に示すようなルート変更も可能である。   For example, not only the route change as shown in FIG. 20 but also the route change as shown in FIG. 22 is possible.

ここで、通信装置A、B、D、F、Hは、通常時のユーザ通信に使用するものであり、一方、通信装置C、E、Gは、通常では使用せず、例えば、通信装置B、D、Fのいずれかのポートが故障したとき使用するものである場合、通信装置C、E、Gが正常に動作するか否か(冗長経路の死活などという)は、ルート変更ができなければ確認できない。そのため、通信装置C、E、Gが正常に動作しなくても、それに気づかず、上記のようなポート故障のとき、ユーザ通信が行えなくなる虞がある。   Here, the communication devices A, B, D, F, and H are used for normal user communication, while the communication devices C, E, and G are not normally used. For example, the communication device B , D, or F, if the port is used when a failure occurs, whether or not the communication devices C, E, and G operate normally (referred to as life or failure of the redundant path) cannot be changed. Can not be confirmed. Therefore, even if the communication devices C, E, and G do not operate normally, the communication devices C, E, and G may not be aware of it, and there is a possibility that user communication cannot be performed in the case of a port failure as described above.

しかし、本応用例では、ルート変更が自在であり、ユーザ通信に影響を与えずに、冗長経路の死活を確認することができる。   However, in this application example, the route can be changed freely, and it is possible to confirm whether the redundant route is active or not without affecting the user communication.

図23は、図20に示す通信装置の数を4としたネットワークの部分における動作を説明するための図である。   FIG. 23 is a diagram for explaining the operation in the network portion in which the number of communication apparatuses shown in FIG. 20 is four.

同図では、通信装置A〜C(図20)に代えて、通信装置A〜Dを示している。   In the same figure, it replaces with communication apparatus AC (FIG. 20), and communication apparatus AD is shown.

通信装置Aへ送信された信号は、振り分け部が無効なら、フィールド情報の有無に関わらず、現実ブロックに振り分けられ、現実ブロック用パラメータ記憶部のパラメータであるルーティングテーブル(この図では省略)にしたがい、通信装置Bに転送される(T601)。   If the distribution unit is invalid, the signal transmitted to the communication device A is distributed to the actual block regardless of the presence or absence of field information, and follows the routing table (not shown in this figure) that is a parameter of the parameter storage unit for the real block. And transferred to the communication device B (T601).

通信装置Bへ転送された信号は、振り分け部が無効なら、フィールド情報の有無に関わらず、現実ブロックに振り分けられ、現実ブロック用パラメータ記憶部のパラメータであるルーティングテーブル(この図では省略)にしたがい、通信装置Dに転送される(T601)。   If the distribution unit is invalid, the signal transferred to the communication device B is distributed to the actual block regardless of the presence or absence of field information, and follows the routing table (not shown in this figure) that is a parameter of the parameter storage unit for the actual block. The data is transferred to the communication device D (T601).

一方、通信装置Aへ送信されたフィールド情報を含む信号は、振り分け部が有効なら、仮想ブロックに振り分けられ、仮想ブロック用パラメータ記憶部のパラメータであるルーティングテーブル(この図では省略)にしたがい、通信装置Bに転送される(T602)。   On the other hand, the signal including the field information transmitted to the communication apparatus A is distributed to the virtual block if the distribution unit is valid, and the communication is performed according to the routing table (not shown in this figure) which is a parameter of the virtual block parameter storage unit. The data is transferred to the device B (T602).

通信装置Bへ送信されたフィールド情報を含む信号は、振り分け部が有効なら、仮想ブロックに振り分けられ、仮想ブロック用パラメータ記憶部のパラメータであるルーティングテーブル(この図では省略)にしたがい、通信装置Dに転送される(T602)。   The signal including the field information transmitted to the communication device B is distributed to the virtual block if the distribution unit is valid, and the communication device D follows the routing table (omitted in this figure) that is a parameter of the virtual block parameter storage unit. (T602).

これに対し、通信装置Aにおいて、仮想ブロック用パラメータ記憶部にパラメータ(ルーティングテーブルを含む)が複写されなかったなら、通信装置Aへ送信されたフィールド情報を含む信号は、振り分け部(有効)により、仮想ブロックに振り分けられた後、その送信先が不明となってしまう。   On the other hand, in the communication device A, if the parameters (including the routing table) are not copied to the virtual block parameter storage unit, the signal including the field information transmitted to the communication device A is transmitted by the distribution unit (valid). After being allocated to the virtual block, the transmission destination becomes unknown.

つまり、図24に示すように、現実ブロックのネットワークイメージにおいては、各通信装置A〜Dが連携しているのに対し、仮想ブロックのネットワークイメージにおいては、各通信装置A〜Dが連携していなく、互いに不整合が生じる。   That is, as shown in FIG. 24, in the network image of the real block, the communication devices A to D are linked, whereas in the virtual block network image, the communication devices A to D are linked. And inconsistencies with each other.

現実ブロックのネットワークイメージは、その後も変化がないのに対し、仮想ブロックのネットワークイメージにおいては、まず、例えば、通信装置Aにネットワーク化の指示が入力される(T701)。これは、図19のステップT401またはT402に相当する指示である。   The network image of the real block does not change after that, but in the network image of the virtual block, first, for example, an instruction for networking is input to the communication device A (T701). This is an instruction corresponding to step T401 or T402 in FIG.

これにより、通信装置Aは、その指示を通信装置B〜Dに伝達する(T702)。これは、図19のステップT431に相当する処理である。例えば、この指示の伝達においては、ルーティングテーブルが送受信され、送信先でルーティングテーブルが書き換えられる。   Thereby, the communication apparatus A transmits the instruction to the communication apparatuses B to D (T702). This is a process corresponding to step T431 in FIG. For example, in transmitting this instruction, the routing table is transmitted and received, and the routing table is rewritten at the transmission destination.

その結果、現実ブロックのネットワークイメージと仮想ブロックのネットワークイメージが互いに整合することとなる。   As a result, the network image of the real block and the network image of the virtual block are aligned with each other.

図25は、現実ブロック用パラメータ記憶部P201と仮想ブロック用パラメータ記憶部P202の状態推移に関するイメージを示す図である。   FIG. 25 is a diagram illustrating an image relating to state transition of the real block parameter storage unit P201 and the virtual block parameter storage unit P202.

図25の(1)欄に示すように、当初(時刻t0)において、現実ブロック用パラメータ記憶部P201の状態を状態Aと表現する。通信装置内での処理の結果、現実ブロック用パラメータ記憶部P201に変更が加えられ(能動的な変更)、または、オペレータなどから変更が加えられ(受動的な変更)、これにより、時刻t1の欄に示すように、状態A’に遷移する。   As shown in the column (1) of FIG. 25, the state of the actual block parameter storage unit P201 is expressed as state A at the beginning (time t0). As a result of processing in the communication device, a change is made to the actual block parameter storage unit P201 (active change), or a change is made by an operator or the like (passive change). As shown in the column, the state transits to state A ′.

図25の(2)欄に示すように、仮想ブロック用パラメータ記憶部P202は、例えば、当初(時刻t0)において、現実ブロック用パラメータ記憶部P201と同じ状態Aであっても、時刻t1の欄に示すように、現実ブロック用パラメータ記憶部P201が状態A’になると、現実ブロック用パラメータ記憶部P201と現実ブロック用パラメータ記憶部P201の状態に不整合が生じる。   As shown in the column (2) of FIG. 25, the virtual block parameter storage unit P202 is, for example, at the time (time t0), even if the virtual block parameter storage unit P202 is in the same state A as the real block parameter storage unit P201, As shown in FIG. 5, when the real block parameter storage unit P201 is in the state A ′, the real block parameter storage unit P201 and the real block parameter storage unit P201 are inconsistent.

つまり、当初(時刻t0)において、現実ブロック、仮想ブロックの動作の状態を状態a、bと表現すると、現実ブロック用パラメータ記憶部P201の状態変化により、時刻t1の欄に示すように、現実ブロックの動作の状態が状態a’に遷移するのに対し、仮想ブロック用パラメータ記憶部P202は変化しない。よって、仮想ブロックの動作の状態は状態b’のままであり、このような、aとb’の状態では不都合となる場合がある。   That is, at the beginning (time t0), when the state of operation of the real block and the virtual block is expressed as states a and b, as shown in the column of time t1, due to the state change of the real block parameter storage unit P201, However, the virtual block parameter storage unit P202 does not change. Therefore, the operation state of the virtual block remains in the state b ', and such a state of a and b' may be inconvenient.

しかしながら、図25の(3)欄に示すように、現実ブロック用パラメータ記憶部P201から仮想ブロック用パラメータ記憶部P202へパラメータを複写することにより、両者は整合する。また、仮想ブロック用パラメータ記憶部P202に変更を加え、仮想ブロック用パラメータ記憶部P202を状態A’’にすることも可能であり、この場合であっても、変更されないパラメータについては、現実ブロック用パラメータ記憶部P201と整合させることができる。   However, as shown in the column (3) of FIG. 25, by copying the parameters from the real block parameter storage unit P201 to the virtual block parameter storage unit P202, the two match. It is also possible to change the virtual block parameter storage unit P202 to change the virtual block parameter storage unit P202 to the state A ″. Even in this case, parameters that are not changed are It can be matched with the parameter storage unit P201.

図26は、仮想ブロック用パラメータ記憶部P202を有さない場合の通信装置1の構成図である。   FIG. 26 is a configuration diagram of the communication device 1 when the virtual block parameter storage unit P202 is not provided.

制御部P1は、外部から仮想ブロックの情報を更新する指示を受ける(T1001)と、現実ブロック用パラメータ記憶部P201を参照し(T1002)、現実ブロック用パラメータ記憶部P201のパラメータにしたがって、いずれかの仮想ブロックの情報を書き換え(T1003、T1004)、書き換えた仮想ブロックを使用するように振り分け部に指示を行う(T1005)。   When receiving an instruction to update the virtual block information from the outside (T1001), the control unit P1 refers to the real block parameter storage unit P201 (T1002), and either of them is determined according to the parameters of the real block parameter storage unit P201. The virtual block information is rewritten (T1003, T1004), and the distribution unit is instructed to use the rewritten virtual block (T1005).

つまり、この通信装置1では、仮想ブロックの情報更新指示に基づき、現実系の情報を参照し、仮想ブロックの情報更新を行い、その書き換えた仮想ブロックを使用することが可能である。   That is, in this communication apparatus 1, based on the virtual block information update instruction, it is possible to refer to the real system information, update the virtual block information, and use the rewritten virtual block.

図27は、仮想ブロック用パラメータ記憶部P202を有する場合の通信装置1の構成図である。   FIG. 27 is a configuration diagram of the communication device 1 when it has a virtual block parameter storage unit P202.

制御部P1は、外部から仮想ブロックの情報を更新する指示を受ける(T1001)と、現実ブロック用パラメータ記憶部P201から複写された仮想ブロック用パラメータ記憶部P202を参照するとともにパラメータを更新し(T1012)、現実ブロック用パラメータ記憶部P201のパラメータにしたがって、いずれかの仮想ブロックの情報を書き換え(T1013、T1014)、書き換えた仮想ブロックを使用するように振り分け部に指示を行う(T1015)。   When receiving an instruction to update the virtual block information from the outside (T1001), the control unit P1 refers to the virtual block parameter storage unit P202 copied from the real block parameter storage unit P201 and updates the parameters (T1012). ) According to the parameters of the real block parameter storage unit P201, the information of any virtual block is rewritten (T1013, T1014), and the distribution unit is instructed to use the rewritten virtual block (T1015).

つまり、この通信装置1では、現実ブロック用パラメータ記憶部P201のパラメータを複写した仮想ブロック用パラメータ記憶部P202を有する。この仮想ブロック用パラメータ記憶部P202は、仮想ブロックへの情報更新指示に基づき、情報が更新される。   That is, the communication apparatus 1 includes a virtual block parameter storage unit P202 that is a copy of the parameters of the real block parameter storage unit P201. In the virtual block parameter storage unit P202, information is updated based on an information update instruction to the virtual block.

仮想ブロック用パラメータ記憶部P202は、現実ブロック用パラメータ記憶部P201には影響を与えずに、その情報の変更が可能である。   The virtual block parameter storage unit P202 can change the information without affecting the actual block parameter storage unit P201.

なお、仮想ブロック用パラメータ記憶部P202は、必要な時にのみ作成することが可能である。また、複写の実行は、装置外部からのトリガー、定期的な実行、現実系の変化に伴う場合がある。   The virtual block parameter storage unit P202 can be created only when necessary. Also, the execution of copying may be accompanied by a trigger from the outside of the apparatus, periodic execution, or a change in the real system.

図28は、現実ブロック用パラメータ記憶部P201のパラメータに基づき、仮想ブロックが現実的に取り得る状態に限定して変化ができるよう、現実ブロック用パラメータ記憶部P201のパラメータと仮想ブロック用パラメータ記憶部P202のパラメータの従属性を判断し、仮想ブロック用パラメータ記憶部P202の取り得るパラメータに制限をあたえる機能を有する通信装置の構成図である。   FIG. 28 shows the parameters of the real block parameter storage unit P201 and the virtual block parameter storage unit so that the virtual block can be changed based on the parameters of the real block parameter storage unit P201. It is a block diagram of the communication apparatus which has a function which judges the dependency of the parameter of P202 and gives a restriction | limiting to the parameter which the parameter storage part P202 for virtual blocks can take.

ここでは、仮想ブロック用パラメータ記憶部P202が、現実的に取り得る状態に限定して変化をするために、現実ブロック用パラメータ記憶部P201のパラメータの項目ごとに、取り得る値の範囲(従属性)を規定する。   Here, in order for the virtual block parameter storage unit P202 to change in a state that can be realistically changed, a range of possible values (dependency) for each parameter item of the real block parameter storage unit P201. ).

すなわち、従属性判断部P203は、仮想ブロック用パラメータ記憶部P202を、現実的に取り得ない状態に変更させないための機能を有する部位である。   That is, the dependency determination unit P203 is a part having a function for preventing the virtual block parameter storage unit P202 from being changed to a state that cannot be practically obtained.

例えば、ケーブルが接続されていないポートに対して、信号が発出可能な状態に変更することは、現実的にはありえないが、仮想的にはありえてしまう。しかし、この仮想系の状態は、必ずしも期待するものではないため、従属性判断部P203にて判断(取り得ない値と)する。   For example, it is practically impossible to change a port to which a cable is not connected to a state in which a signal can be transmitted, but it is virtually impossible. However, since the state of the virtual system is not necessarily expected, the dependency determination unit P203 determines (takes it as an unacceptable value).

図29は、変化の生じた仮想ブロック用パラメータ記憶部P202および仮想ブロック(本図では仮想系という)を有する通信装置1Aと、この変化に伴い変化する仮想系を有する通信装置1Bとを示す図である。   FIG. 29 is a diagram showing a communication device 1A having a virtual block parameter storage unit P202 and a virtual block (referred to as a virtual system in this figure) in which a change has occurred, and a communication device 1B having a virtual system that changes in accordance with this change. It is.

図19の例では、通信装置1Aの仮想系に変化が生じたら、これを光ファイバを介して、通信装置1Bに伝達したが、これに代えて、光ファイバ以外の伝達手段(例えば、別な通信回線)を介して伝達を行ってもよい(T1201)。なお、かかる情報伝達は、周辺の通信装置の中の当該情報が必要な通信装置に対して行えばよく、かかる通信装置は、伝達元の通信装置に隣接する通信装置に限るものではない。また、情報伝達が光ファイバを介して行われる場合も同様である。   In the example of FIG. 19, when a change occurs in the virtual system of the communication device 1 </ b> A, this is transmitted to the communication device 1 </ b> B via the optical fiber. Instead, a transmission means other than the optical fiber (for example, another Communication may be performed via a communication line (T1201). Note that such information transmission may be performed for a communication device that needs the information in the peripheral communication devices, and the communication device is not limited to the communication device adjacent to the communication device that is the transmission source. The same applies to the case where information is transmitted through an optical fiber.

このような情報伝達を受けた通信装置1Bでは、制御部P1は、記憶部P2を参照するとともに、必要ならばパラメータを更新し(T1202)、記憶部P2のパラメータにしたがって、いずれかの仮想ブロックの情報を書き換え(T1203、T1204)、書き換えた仮想ブロックを使用するように振り分け部に指示を行う(T1205)。   In the communication device 1B that has received such information transmission, the control unit P1 refers to the storage unit P2, updates the parameters if necessary (T1202), and determines any virtual block according to the parameters of the storage unit P2. Is rewritten (T1203, T1204), and the distribution unit is instructed to use the rewritten virtual block (T1205).

図30、図31は、図17以降の応用例についての説明のための図である。   30 and 31 are diagrams for explaining application examples after FIG.

図30に示すように、現実の動作に即した仮想動作を実現するために、以下の方法がある。   As shown in FIG. 30, there are the following methods for realizing a virtual operation in accordance with an actual operation.

U1 現実ブロック用パラメータ記憶部のパラメータを活用する。   U1 Use parameters in the parameter storage unit for real blocks.

U2 仮想ブロック用パラメータ記憶部に、現実ブロック用パラメータ記憶部のパラメータを複写する。   U2 The parameters of the real block parameter storage unit are copied to the virtual block parameter storage unit.

U3 U2に加え、現実ブロック用パラメータ記憶部と仮想ブロック用パラメータ記憶部のパラメータの従属性を判断する従属性判断部にて、パラメータの項目ごとに仮想的な変更の可否を明確にする。   In addition to U3 and U2, the dependency determination unit for determining the dependency of parameters in the real block parameter storage unit and the virtual block parameter storage unit clarifies whether or not a virtual change is possible for each parameter item.

すなわち、従属性判断部は、仮想ブロック用パラメータ記憶部を、現実的に取り得ない状態に変更させないための機能を有する部位である。   That is, the dependency determination unit is a part having a function for preventing the virtual block parameter storage unit from being changed to a state that cannot be practically obtained.

図31に示すように、本特許における仮想系の定義に基づけば、現実系の状態に捉われず、自由な変更が可能であるが、常識的に不可能な変更は抑制できるようにする必要がある。   As shown in FIG. 31, based on the definition of the virtual system in this patent, it is possible to freely change without being trapped by the state of the real system, but it is necessary to be able to suppress changes that are not common sense. There is.

その対応として、従属性判断部を設け、従属性判断部にて、仮想系の取り得る値の範囲を決定する。   As a countermeasure, a dependency determination unit is provided, and the dependency determination unit determines a range of values that the virtual system can take.

図31では、以下のことを表す。
部位Iは、A〜Cの状態を取り得る。
ケースA:現実系が状態Aの時、仮想系は状態A〜Cを取り得る。
ケースB:現実系が状態Bの時、仮想系は状態Bしか取り得ない。
さて、ユーザ通信に影響がないように、通信装置に対して所望の動作を指示し、当該動作による影響等を確認する既存技術は3例ある。
FIG. 31 shows the following.
The site | part I can take the state of AC.
Case A: When the real system is in state A, the virtual system can take states A to C.
Case B: When the real system is in the state B, the virtual system can take only the state B.
There are three examples of existing techniques for instructing a desired operation to a communication device so as not to affect user communication and confirming the influence or the like due to the operation.

既存技術1は、ユーザ通信が通る通信装置と同様の通信装置をシミュレータで模擬し、所望の動作を確認するものである。   In the existing technology 1, a communication device similar to a communication device through which user communication passes is simulated by a simulator and a desired operation is confirmed.

既存技術2は、ユーザ通信が通る通信装置と同様の通信装置を物理的に構築し、所望の動作を確認するものである。   The existing technology 2 physically constructs a communication device similar to a communication device through which user communication passes and confirms a desired operation.

既存技術3は、ユーザ通信が通る通信装置を内部で論理的に分割し、所望の動作を確認するものである。   In the existing technology 3, a communication device through which user communication passes is logically divided inside to confirm a desired operation.

各既存技術は、所望の動作を確認できるものの、主に以下のような問題点がある。   Although each existing technique can confirm a desired operation, there are mainly the following problems.

既存技術1は、つまりはプログラムであるため、想定外の事象はシミュレートできない。例えば以下のような未知の不具合が存在する場合はシミュレートできない。   Since the existing technology 1 is a program, an unexpected event cannot be simulated. For example, the simulation cannot be performed if the following unknown defects exist.

(1)通信装置のタイマに不具合があり、所望の動作に伴う切替わりの状態遷移が起こらない、(2)通信装置のカウンタに不具合があり、本来カウントされるべきカウンタがカウントされない等である。 (1) There is a malfunction in the timer of the communication device, and the switching state transition associated with the desired operation does not occur. (2) There is a malfunction in the counter of the communication device, and the counter that should be counted is not counted. .

既存技術2では、物理的に通信装置が異なるため、個体差(不具合など)がある場合に所望の動作の正確な動作を確認できない。例えば、どちらかの装置が以下の場合は確認できない。   In the existing technology 2, since the communication devices are physically different, the exact operation of the desired operation cannot be confirmed when there is an individual difference (such as a defect). For example, it cannot be confirmed if either device is:

(1)通信装置のタイマに不具合があり、所望の動作に伴う切替わりの状態遷移が起こらない、(2)通信装置のカウンタに不具合があり、本来カウントされるべきカウンタがカウントされない等である。 (1) There is a malfunction in the timer of the communication device, and the switching state transition associated with the desired operation does not occur. (2) There is a malfunction in the counter of the communication device, and the counter that should be counted is not counted. .

既存技術3では、起こすことのできる所望の動作の状態と発生箇所が限られている。所望の動作の状態は、論理的に起こすことのできる動作(例えば機能停止)のみであり、発生箇所は、論理的に分割できる箇所(論理ポート、CPU等)しか指定できない。   In the existing technology 3, the state of the desired operation that can occur and the location where it occurs are limited. The state of the desired operation is only an operation that can be logically caused (for example, a function stop), and the occurrence location can be designated only at a location that can be logically divided (logical port, CPU, etc.)

図32は、本実施の形態に係る通信装置および上記3つの既存技術による問題の解決方法を比較するためのテーブルである。   FIG. 32 is a table for comparing the communication apparatus according to the present embodiment and the problem solving methods of the above three existing technologies.

比較を容易にするため、特定の部位の故障を所望の動作の例とし、テーブルにまとめる。   In order to facilitate comparison, failures in specific parts are taken as examples of desired operations and are summarized in a table.

概要の欄に記載されているように、既存技術1は、同様の通信装置をシミュレータで模擬するものであり、既存技術2は、同様の通信装置を物理的にもう1セット構築するものであり、既存技術3は、通信装置を内部で論理的に分割するものである。   As described in the overview column, the existing technology 1 is to simulate a similar communication device with a simulator, and the existing technology 2 is to construct another set of similar communication devices physically. The existing technique 3 logically divides the communication device internally.

これに対し、本実施の形態に係る通信装置は、その通信装置内に仮想ブロックを設けるものである。   On the other hand, the communication apparatus according to the present embodiment is provided with a virtual block in the communication apparatus.

故障時動作の正確性の欄に記載されているように、まず、既存技術1は、プログラムされた範囲のみでしか故障を起こせない。また、ユーザ通信が通る通信装置の想定外の事象を反映できない。既存技術2は、通信装置に個体差(不具合など)が存在した場合には、ユーザ通信が通る通信装置の故障時の動作を試験用の通信装置に反映できない。既存技術3は、同一の通信装置であるため、個体差を考慮する必要がないが、2つの論理は異なる転送経路を通るため、故障時の動作が異なる可能性がある。   As described in the column of accuracy of operation at the time of failure, first, the existing technology 1 can cause a failure only in a programmed range. In addition, an unexpected event of a communication device through which user communication passes cannot be reflected. The existing technology 2 cannot reflect the operation at the time of failure of the communication device through which the user communication passes when the communication device has individual differences (failures, etc.) to the test communication device. Since the existing technology 3 is the same communication device, there is no need to consider individual differences, but the two logics pass through different transfer paths, so there is a possibility that the operation at the time of failure is different.

これに対し、本実施の形態に係る通信装置は、同一の通信装置で、かつ故障を起こす仮想ブロック以外は同じ転送経路を通るため、故障時の正確な動作を確認することができる。   On the other hand, since the communication apparatus according to the present embodiment is the same communication apparatus and passes through the same transfer path except for the virtual block that causes the failure, it is possible to confirm an accurate operation at the time of the failure.

故障箇所の自由度の欄に記載されているように、まず、既存技術1は、プログラムにより任意の故障を設定することが可能である。既存技術2は、人為的に故障を起こせる箇所ならば故障を起こせる。例えば、ポートの故障は起こせるが、装置内部の転送路(バックプレーン)等の人為的に手を加えることのできない箇所の故障は起こせない。既存技術3は、論理的に分割できる故障箇所しか指定できない。例えば、論理ポートの故障は起こせるが、物理ポートの故障は起こせない。   As described in the column of the degree of freedom of the failure location, first, the existing technique 1 can set an arbitrary failure by a program. The existing technology 2 can cause a failure if it can be caused manually. For example, although a port failure can occur, a failure cannot be caused at a location that cannot be manually manipulated such as a transfer path (backplane) inside the apparatus. The existing technology 3 can specify only the fault location that can be logically divided. For example, a logical port failure can occur, but a physical port failure cannot occur.

これに対し、本実施の形態に係る通信装置は、故障が起こりうる箇所に仮想ブロックを配置することで、装置内の任意の箇所で故障を起こすことができる。   On the other hand, the communication device according to the present embodiment can cause a failure at any location in the device by arranging a virtual block at a location where the failure may occur.

故障状態の自由度の欄に記載されているように、まず、既存技術1は、プログラムにより任意の故障状態を設定可能である。既存技術2は、人為的に起こせる故障状態ならば故障状態を設定可能。例えば、ポートの分断は起こせるが、遅延のような故障は起こせない。既存技術3は、人為的に起こせる論理的な故障状態(例えば機能停止など)しか起こせない。   As described in the column of the degree of freedom of failure state, first, the existing technique 1 can set an arbitrary failure state by a program. Existing technology 2 can set the failure state if it can be caused manually. For example, a port can be divided, but a failure such as a delay cannot occur. The existing technology 3 can only cause a logical failure state (for example, a function stop) that can be caused artificially.

これに対し、本実施の形態に係る通信装置は、通信部の仮想ブロックに廃棄、遅延、制御部の仮想ブロックに演算エラー、処理クロック制限、記憶部の仮想ブロックにメモリエラー、ルーチング情報の誤りなど発生させる機能をもたせることで、様々な故障を発生させることができる。   In contrast, the communication device according to the present embodiment discards and delays the virtual block of the communication unit, the calculation error in the virtual block of the control unit, the processing clock limit, the memory error in the virtual block of the storage unit, and the routing information error. It is possible to generate various failures by providing a function for generating the above.

なお、表における○、△、×は、効果の程度を示すものであり、効果の高い方から○、△、×としている。また、イメージ図における実線は、ユーザ通信を示すものであり、破線は、故障時動作確認のための通信を示すものである。   In addition, (circle), (triangle | delta), and x in a table | surface show the grade of an effect, and are set to (circle), (triangle | delta), and x from the one where an effect is high. In addition, the solid line in the image diagram indicates user communication, and the broken line indicates communication for checking operation at the time of failure.

以上のように、本実施の形態によれば、通信装置に仮想的な故障(廃棄、一部廃棄、遅延など)を起こさせる仮想ブロックを配置し、現実系の通信と仮想系の通信を識別し、仮想ブロックへ振り分ける仕組みを設けたことで、既存技術の問題点を解決した上で、ユーザ通信に影響することなく、様々な故障状況における様々な故障箇所の動作を確認することができる。   As described above, according to the present embodiment, a virtual block that causes a virtual failure (discard, partial discard, delay, etc.) in a communication device is arranged, and real system communication and virtual system communication are identified. In addition, by providing a mechanism for allocating to virtual blocks, it is possible to confirm the operation of various failure locations in various failure situations without affecting user communication after solving the problems of the existing technology.

通信事業者により運営される実際の網においてユーザの通信を停止させることなく故障時の動作が確認できることは非常に有益である。   It is very useful to be able to confirm the operation at the time of failure without stopping the communication of the user in the actual network operated by the communication carrier.

なお、本発明は、故障の動作を実行させることにおいて、このように既存技術との差異があり有効なものであるが、故障の動作に限らず、通信装置の任意の部位において所望の動作を実行させることにおいても同様の差異があり有効である。   Note that the present invention is effective in performing the failure operation as described above, which is different from the existing technology. There is a similar difference in execution, and it is effective.

FA、FB、FC…光ファイバ
K1…仮想ブロックを有する部位
K11、PB1、121…振り分け部
K12…仮想ブロック
K13…現実ブロック
K2…入力部
K3…出力部
L1、P1、10…制御部
P2、12…記憶部
P3…入力部
P4…出力部
P5、P6、PB…通信部
PB2、PB3…転送処理部
P201…現実ブロック用パラメータ記憶部
P202…仮想ブロック用パラメータ記憶部
1、1A、1B、A〜H…通信装置
11…管理ポート
102、103…命令制御部
122、123…データベース
FA, FB, FC ... Optical fiber K1 ... Parts having virtual blocks K11, PB1, 121 ... Distribution unit K12 ... Virtual block K13 ... Real block K2 ... Input unit K3 ... Output unit L1, P1, 10 ... Control unit P2, 12 ... storage unit P3 ... input unit P4 ... output unit P5, P6, PB ... communication unit PB2, PB3 ... transfer processing unit P201 ... real block parameter storage unit P202 ... virtual block parameter storage unit 1, 1A, 1B, A- H: Communication device 11 ... Management port 102, 103 ... Command control unit 122, 123 ... Database

Claims (8)

通信装置であって、
該通信装置の少なくとも一部の機能を有する現実ブロックと、
前記機能にて発生する可能性のある動作をする仮想ブロックを少なくとも1つ含み、
前記現実ブロックへ向かう前記通信装置内の経路を流れる情報を取得し、前記仮想ブロックを機能させるためのフィールド情報が当該情報に含まれるか否かを判定し、フィールド情報がない場合は、当該情報を前記現実ブロックへ振り分ける一方、フィールド情報がある場合は、当該情報を前記仮想ブロックの1つへ振り分ける振り分け部と
を備え
前記振り分け部は有効状態または無効状態になり得るものであり、
前記振り分け部は、無効状態である場合、前記取得した情報に前記フィールド情報が含まれるか否かによらず、当該情報を前記現実ブロックへ振り分け、
前記振り分け部は、有効状態である場合、前記取得した情報に前記フィールド情報が含まれるか否かを判定し、フィールド情報がない場合は、当該情報を前記現実ブロックへ振り分ける一方、フィールド情報がある場合は、当該情報を前記仮想ブロックの1つへ振り分けるようになっており、
前記現実ブロック、仮想ブロックおよび振り分け部を有する部位を複数備え、
前記部位間で前記振り分け部が連動して有効状態または無効状態になり得る
ことを特徴とする通信装置。
A communication device,
A real block having at least some of the functions of the communication device;
Including at least one virtual block that performs operations that may occur in the function;
Obtain information flowing through the route in the communication device toward the real block, determine whether the information includes field information for causing the virtual block to function, and if there is no field information, the information A distribution unit that distributes the information to one of the virtual blocks when there is field information .
The sorting unit can be in a valid state or an invalid state,
When the distribution unit is in an invalid state, the information is distributed to the real block regardless of whether the acquired information includes the field information,
The distribution unit determines whether or not the acquired information includes the field information when it is in a valid state. If there is no field information, the distribution unit distributes the information to the real block, while there is field information. In this case, the information is distributed to one of the virtual blocks.
A plurality of parts having the real block, the virtual block, and the sorting unit,
The communication device , wherein the distribution unit can be in an effective state or an invalid state in conjunction with each other .
記各部位は、仮想ブロックを複数備え、
前記各部位でどの仮想ブロックが選択されるかが前記部位間の連動によって変わる
ことを特徴とする請求項記載の通信装置。
Before SL each portion includes a plurality of virtual blocks,
The communication apparatus according to claim 1, wherein which the virtual block is selected for each site, characterized in that vary interlocking between the sites.
前記仮想ブロックに関する情報を仮想ブロックから取得して記憶する情報記憶部
を備える
ことを特徴とする請求項1または2記載の通信装置。
Communication apparatus according to claim 1, wherein further comprising an information storage unit which stores the acquiring information about the virtual block from the virtual block.
外部からの要求に応じて、前記情報記憶部に記憶された情報を取得し、前記通信装置の外部に送出する手段
を備えることを特徴とする請求項記載の通信装置。
The communication apparatus according to claim 3 , further comprising means for acquiring information stored in the information storage unit and sending the information to the outside of the communication apparatus in response to a request from the outside.
外部から与えられる更新情報を前記仮想ブロックに与えて当該仮想ブロックの機能を変更する手段
を備えることを特徴とする請求項1乃至のいずれかに記載の通信装置。
The communication apparatus according to any one of claims 1 to 4 , further comprising: a unit that gives update information given from outside to the virtual block to change a function of the virtual block.
前記現実ブロックの動作を司るパラメータが記憶される現実ブロック用パラメータ記憶部と、
前記仮想ブロックの動作を司るパラメータが記憶される仮想ブロック用パラメータ記憶部と、
前記現実ブロック用パラメータ記憶部に記憶されたパラメータを前記仮想ブロック用パラメータ記憶部に複写するパラメータ複写手段と
を備え、前記現実ブロック用パラメータ記憶部のパラメータに即して、仮想ブロックの情報を更新する機能を有することを特徴とする請求項1乃至のいずれかに記載の通信装置。
A parameter storage unit for a real block in which parameters for controlling the operation of the real block are stored;
A parameter storage unit for virtual block in which parameters for controlling the operation of the virtual block are stored;
Parameter copying means for copying the parameters stored in the real block parameter storage unit to the virtual block parameter storage unit, and updating the virtual block information in accordance with the parameters of the real block parameter storage unit communication apparatus according to any one of claims 1 to 5, characterized in that it has a function of.
前記現実ブロック用パラメータ記憶部のパラメータに基づき、仮想ブロックが現実的に取り得る状態に限定して変化ができるよう、前記現実ブロック用パラメータ記憶部のパラメータと前記仮想ブロック用パラメータ記憶部のパラメータの従属性を判断し、前記仮想ブロック用パラメータ記憶部の取り得るパラメータに制限をあたえる機能を有することを特徴とする請求項記載の通信装置。 Based on the parameters of the real block parameter storage unit, the parameters of the real block parameter storage unit and the virtual block parameter storage unit 7. The communication apparatus according to claim 6 , further comprising a function of determining dependency and limiting a parameter that can be taken by the virtual block parameter storage unit. 前記仮想ブロック用パラメータ記憶部に記憶されたパラメータが変更されたなら、当該変更に伴い、当該パラメータを周辺の通信装置に送信し、当該通信装置に備わった仮想ブロック用パラメータ記憶部に記憶されたパラメータを当該送信したパラメータに応じたものに変更させる機能を有することを特徴とする請求項記載の通信装置。 If the parameter stored in the virtual block parameter storage unit is changed, the parameter is transmitted to the peripheral communication device along with the change, and stored in the virtual block parameter storage unit provided in the communication device. The communication apparatus according to claim 6 , wherein the communication apparatus has a function of changing parameters according to the transmitted parameters.
JP2011071962A 2010-09-06 2011-03-29 Method and communication apparatus for realizing virtual system operation Active JP5670796B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011071962A JP5670796B2 (en) 2010-09-06 2011-03-29 Method and communication apparatus for realizing virtual system operation

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2010198705 2010-09-06
JP2010198705 2010-09-06
JP2011071962A JP5670796B2 (en) 2010-09-06 2011-03-29 Method and communication apparatus for realizing virtual system operation

Publications (2)

Publication Number Publication Date
JP2012080516A JP2012080516A (en) 2012-04-19
JP5670796B2 true JP5670796B2 (en) 2015-02-18

Family

ID=46240188

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011071962A Active JP5670796B2 (en) 2010-09-06 2011-03-29 Method and communication apparatus for realizing virtual system operation

Country Status (1)

Country Link
JP (1) JP5670796B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IN2014DN10624A (en) 2012-06-14 2015-09-11 Nec Corp

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3825163B2 (en) * 1998-02-02 2006-09-20 富士通株式会社 Pseudo test equipment for transmission line monitoring equipment
JP4127133B2 (en) * 2003-06-26 2008-07-30 住友電気工業株式会社 Passive optical network test equipment

Also Published As

Publication number Publication date
JP2012080516A (en) 2012-04-19

Similar Documents

Publication Publication Date Title
CN112840326B (en) Test engine for automated operation management
Scott et al. Troubleshooting blackbox SDN control software with minimal causal sequences
Miranda Fault isolation in software defined networks
JP7366860B2 (en) Attack scenario simulation device, attack scenario generation system, and attack scenario generation method
US7047176B2 (en) Method and system for hardware simulation
JP2012194631A (en) Design support device for network system
WO2011037148A1 (en) Computer system, and migration method of virtual machine
US11178018B2 (en) Method and system for managing real network systems using simulation results
CN105391586B (en) A kind of method and system of fault locating analysis
CN116915516B (en) Software cross-cloud delivery method, transfer server, target cloud and storage medium
Hussain et al. Automatic rule installation in case of policy change in software defined networks
JP5670796B2 (en) Method and communication apparatus for realizing virtual system operation
Murillo et al. High-fidelity cyber and physical simulation of water distribution systems. I: Models and Data
US20190306029A1 (en) Support apparatus, non-transitory computer readable recording medium and setting method
JPWO2015037116A1 (en) Control device and control system
CN102809955B (en) Method for carrying out write-protect to foundation fieldbus linked set
CN102811151B (en) System and method for recognizing foundation fieldbus linked set
CN115268978A (en) Flexible update mechanism for stateful applications
JP2007145156A (en) Test method and apparatus for train operation management system
JP6639310B2 (en) Virtual plant simulation system, command device, virtual plant simulation method
JP2022170316A (en) Test support system, and test support method
US20210349446A1 (en) Control device, support device, and communication system
Shanmughan Agentic AI For Network Management: Autonomous Troubleshooting And Configuration Through MCP Servers
Rahim et al. Modeling and simulation challenges for cyber physical systems from operational security perspective
Lin et al. {DEFINED}: Deterministic Execution for Interactive {Control-Plane} Debugging

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140131

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140827

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141007

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141125

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141218

R150 Certificate of patent or registration of utility model

Ref document number: 5670796

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250