JP5505990B2 - Network equipment - Google Patents

Network equipment Download PDF

Info

Publication number
JP5505990B2
JP5505990B2 JP2011088717A JP2011088717A JP5505990B2 JP 5505990 B2 JP5505990 B2 JP 5505990B2 JP 2011088717 A JP2011088717 A JP 2011088717A JP 2011088717 A JP2011088717 A JP 2011088717A JP 5505990 B2 JP5505990 B2 JP 5505990B2
Authority
JP
Japan
Prior art keywords
unit
virtual
network device
function
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2011088717A
Other languages
Japanese (ja)
Other versions
JP2012222706A (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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP2011088717A priority Critical patent/JP5505990B2/en
Publication of JP2012222706A publication Critical patent/JP2012222706A/en
Application granted granted Critical
Publication of JP5505990B2 publication Critical patent/JP5505990B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ネットワーク装置に関し、特に、装置全体の動作を検証可能なネットワーク装置に関する。   The present invention relates to a network device, and more particularly to a network device capable of verifying the operation of the entire device.

従来、ネットワークに接続し、ネットワークを介してデータを送受信するネットワーク装置が普及しており、このようなネットワーク装置の動作を検証する方法としては、例えば、シミュレータを用いた検証方法が知られている。   2. Description of the Related Art Conventionally, network devices that connect to a network and transmit and receive data via the network have become widespread. As a method for verifying the operation of such a network device, for example, a verification method using a simulator is known. .

例えば、特許文献1には、ネットワークを介して他のノードと通信するための通信コマンドを含むようなPLC(Programmable Logic Controller;プログラマブル・コントローラ)用プログラムを適切にテストすることができる実行シミュレーション装置が記載されている。   For example, Patent Document 1 discloses an execution simulation apparatus that can appropriately test a program for a PLC (Programmable Logic Controller) including a communication command for communicating with another node via a network. Have been described.

この実行シミュレーション装置は、実ネットワーク上の実PLCと同じ動作をするコンピュータ上のプログラムであるPLCエミュレータで構成される仮想PLCを介して、PLC用プログラムをコンピュータ上で模擬的に実行する。仮想PLCは、ネットワークとの間における通信メッセージの送受信機能を有し、これにより、ネットワークを介して他のノードと通信するための通信コマンドを含むPLC用プログラムのシミュレーションを実行することができる。   This execution simulation apparatus executes a PLC program on a computer in a simulated manner via a virtual PLC configured by a PLC emulator that is a program on a computer that performs the same operation as a real PLC on a real network. The virtual PLC has a function of transmitting / receiving a communication message to / from the network, and thereby, a PLC program including a communication command for communicating with other nodes via the network can be executed.

また、実行シミュレーション装置は、送受信機能を有する複数の仮想ノード間を接続可能なネットワークエミュレータで構成される仮想ネットワークをさらに有し、これにより、通信コマンドを含むPLC用プログラムをコンピュータ上のみでも模擬的に実行することができる。   The execution simulation apparatus further includes a virtual network composed of a network emulator that can connect a plurality of virtual nodes having a transmission / reception function, so that a PLC program including communication commands can be simulated only on a computer. Can be executed.

特許文献2には、運用中のネットワーク装置に対して新規設定ファイルを適用する際に、新規設定ファイルを用いたシミュレーションを行うネットワーク装置が記載されている。このネットワーク装置は、現用ユニットとシミュレータユニットとで構成され、シミュレータユニットにおいて現用ユニットと同一の環境で新規設定ファイルによるシミュレーションを実行することにより動作確認を行い、新規設定ファイルを現用ユニットの設定に適用する。これにより、実際のネットワークに負荷を与えることなく、実際に運用される環境で新規設定ファイルによる動作確認を行うことができる。   Patent Document 2 describes a network device that performs a simulation using a new setting file when a new setting file is applied to a network device in operation. This network device consists of a working unit and a simulator unit. The simulator unit performs operation confirmation by executing a simulation using a new setting file in the same environment as the working unit, and applies the new setting file to the setting of the working unit. To do. As a result, it is possible to perform an operation check using the new setting file in an actually operated environment without imposing a load on the actual network.

特許文献3には、稼働中の実ネットワークが、ネットワークに接続されたネットワーク機器の構成変更等により異常状態となった場合の復旧や維持管理を行うために、シミュレーションを用いるネットワーク管理システム装置が記載されている。   Patent Document 3 describes a network management system device that uses simulation in order to perform recovery and maintenance management when a real network in operation becomes an abnormal state due to a change in the configuration of network devices connected to the network. Has been.

このネットワーク管理システム装置は、シミュレーション装置とネットワーク管理装置とで構成される。シミュレーション装置は、実ネットワークに対応する仮想ネットワークをシミュレートし、シミュレート結果により正常動作が確認された、ネットワークに接続されたネットワーク機器の構成を示す構成情報及び各ネットワーク機器における設定状態を示す機器設定情報をシミュレーションデータベースに保存する。ネットワーク管理装置は、実ネットワークに加えられる構成情報及び機器設定情報の変更を検出して管理し、変更された構成情報及び機器設定情報をネットワークデータベースに保存する。   This network management system apparatus includes a simulation apparatus and a network management apparatus. The simulation device simulates a virtual network corresponding to a real network, and the configuration information indicating the configuration of the network device connected to the network and the setting state in each network device, whose normal operation is confirmed based on the simulation result Save the setting information in the simulation database. The network management device detects and manages changes in configuration information and device setting information applied to the real network, and stores the changed configuration information and device setting information in the network database.

そして、ネットワーク管理システム装置は、シミュレーションデータベースに保存されたデータと、ネットワークデータベースに保存されたデータとの差分を検出することにより、実ネットワーク上における異常状態の原因であるネットワーク機器と、このネットワーク機器の設定内容を特定することができる。   Then, the network management system device detects the difference between the data stored in the simulation database and the data stored in the network database, thereby causing a network device that is the cause of the abnormal state on the real network, and the network device. The setting contents of can be specified.

特開2001−209407号公報JP 2001-209407 A 特開2008−182290号公報JP 2008-182290 A 特開2001−168862号公報JP 2001-168862 A

しかしながら、上述した特許文献1〜3に記載の装置では、シミュレーションによる検証対象が装置の一部に限定され、装置全体といったより広い範囲を検証対象とすることができないという問題があった。   However, in the apparatuses described in Patent Documents 1 to 3 described above, there is a problem that the verification target by simulation is limited to a part of the apparatus, and a wider range such as the entire apparatus cannot be set as the verification target.

例えば、特許文献1に記載の実行シミュレーション装置では、ソフトウェアであるPLC用プログラムのみを検証対象としており、ハードウェアであるPLCは検証対象に含まれない。また、特許文献2に記載のネットワーク装置では、設定ファイルのみを検証対象としており、ネットワーク装置全体は検証対象に含まれない。さらに、特許文献3に記載のネットワーク管理システム装置では、ネットワークに接続されたネットワーク機器に関する構成情報及び機器設定情報のみを検証対象としており、ネットワーク管理システム装置全体は検証対象に含まれない。   For example, in the execution simulation apparatus described in Patent Document 1, only a PLC program that is software is a verification target, and a hardware PLC is not included in the verification target. In the network device described in Patent Document 2, only the setting file is a verification target, and the entire network device is not included in the verification target. Furthermore, in the network management system device described in Patent Document 3, only configuration information and device setting information related to network devices connected to the network are targeted for verification, and the entire network management system device is not included in the verification targets.

そこで、本発明は、上記従来の技術における問題点に鑑みてなされたものであって、ハードウェアやソフトウェア、設定ファイル等を含む装置全体を検証対象とし、装置の検証を効率的に行うことが可能なネットワーク装置を提供することを目的とする。   Therefore, the present invention has been made in view of the problems in the above-described conventional technology, and the entire apparatus including hardware, software, setting files, and the like can be verified, and the apparatus can be efficiently verified. An object is to provide a possible network device.

上記目的を達成するため、本発明は、ネットワークに接続され、該ネットワークを介して接続された他のネットワーク装置との間で実行する各種機能による動作を検証可能なネットワーク装置であって、前記機能を実行するための設定が記述された設定ファイルを記憶する記憶部と、前記設定ファイルに記述された設定に基づき、前記機能を実行する機能実行部と、前記機能実行部で実行された前記機能による第1のログを取得する第1のログ取得部とを有し、前記ネットワークを介して前記他のネットワーク装置との間で各種機能を実行するネットワーク装置部と、前記ネットワーク装置部をモデル化した第1の仮想ネットワーク装置と、前記ネットワークをモデル化した仮想ネットワークと、前記他のネットワーク装置をモデル化した第2の仮想ネットワーク装置とからなる仮想システムを構築し、前記機能と同一の機能を実行する仮想システム構成部と、前記仮想システムで実行された前記機能による第2のログを取得する第2のログ取得部とを有し、前記ネットワーク装置部の各種機能を仮想的に実行するシミュレーション機能部と、前記ネットワーク装置部の実行結果と、前記シミュレーション機能部の実行結果とに基づき、前記第1及び第2のログを比較することにより、前記ネットワーク装置部の前記機能による動作が正常であるか否かを判断する連携機能部とを備えることを特徴とする。 To achieve the above object, the present invention is connected to a network, a verifiable network device operations according to various functions to be executed to and from other network devices connected through the network, the function A storage unit that stores a setting file in which settings for executing the function are described; a function execution unit that executes the function based on the settings described in the setting file; and the function that is executed by the function execution unit A first log acquisition unit that acquires a first log according to the above, and a network device unit that executes various functions with the other network device via the network, and the network device unit is modeled The first virtual network device, the virtual network that models the network, and the first network device that models the other network device. A virtual system configuration unit configured to execute the same function as the function, and a second log acquisition for acquiring a second log by the function executed in the virtual system and a section, wherein the simulation function unit the various functions of the network device section to perform virtually, the execution result of the network device section, based on the execution result of the simulation function section, the first and second And a cooperation function unit that determines whether or not the operation of the network device unit by the function is normal.

そして、本発明によれば、ネットワーク装置部による機能を実行すると共に、ネットワーク装置部による機能をシミュレーション機能部により仮想的に実行し、各々の実行結果に基づき、ネットワーク装置部の機能による動作が正常であるか否かを判断するため、ネットワーク装置全体の動作を検証することが可能になる。   And according to this invention, while performing the function by a network device part, the function by a network device part is virtually performed by a simulation function part, and the operation | movement by the function of a network device part is normal based on each execution result Therefore, the operation of the entire network device can be verified.

また、ネットワーク装置部の第1のログ取得部で取得した第1のログと、シミュレーション機能部の第2のログ取得部で取得した第2のログとを比較することにより、ネットワーク装置部の機能による動作が正常であるか否かを判断するため、機能実行部及び設定ファイルを含むネットワーク装置全体を検証することが可能になり、また、仮想システムにおける動作のログと、実際のシステムにおける動作のログとを比較することにより動作を検証するため、ネットワーク装置の検証を効率的に行うことが可能になる。 In addition, by comparing the first log acquired by the first log acquisition unit of the network device unit with the second log acquired by the second log acquisition unit of the simulation function unit, the function of the network device unit since operation by it is judged whether or not normal, it is possible to verify the entire network system including the function executing unit and the configuration file, also operating in a virtual system logs and, for operation in the actual system Since the operation is verified by comparing with the log, the network device can be efficiently verified.

上記ネットワーク装置において、前記第1の仮想ネットワーク装置を、前記設定ファイルと同一の設定が記述された仮想設定ファイルの設定に基づき前記機能を実行する、前記機能実行部をモデル化した仮想機能実行部を有する構成とすることができる。   In the network device, the first virtual network device executes the function based on a setting of a virtual setting file in which the same setting as the setting file is described, and a virtual function executing unit that models the function executing unit It can be set as the structure which has these.

上記ネットワーク装置において、前記機能実行部を、ソフトウェアの機能を実行するソフトウェア部と、ハードウェアの機能を実行するハードウェア部とからなる構成とし、前記仮想機能実行部を、前記ソフトウェア部をモデル化した仮想ソフトウェア部と、前記ハードウェア部をモデル化した仮想ハードウェア部とからなる構成とすることができる。   In the network device, the function execution unit is configured by a software unit that executes a software function and a hardware unit that executes a hardware function, and the virtual function execution unit is modeled as the software unit. The virtual software unit and a virtual hardware unit that models the hardware unit can be used.

上記ネットワーク装置において、前記機能実行部を、機能単位で設けられた1つ又は複数のモジュールからなる構成とし、前記仮想機能実行部を、機能単位で設けられ、前記モジュールをモデル化した1つ又は複数の仮想モジュールからなる構成とすることができる。   In the network device, the function execution unit is configured by one or a plurality of modules provided in function units, and the virtual function execution unit is provided in function units and is one or more models of the modules. It can be configured by a plurality of virtual modules.

上記ネットワーク装置において、前記第1のログ取得部は、前記第1のログを前記モジュール単位で取得し、前記第2のログ取得部は、前記第2のログを前記仮想モジュール単位で取得することができる。これにより、ネットワーク装置の動作が異常であると判断された場合に、原因となる箇所をモジュール単位で判断することが可能になる。   In the network apparatus, the first log acquisition unit acquires the first log in units of modules, and the second log acquisition unit acquires the second log in units of virtual modules. Can do. As a result, when it is determined that the operation of the network device is abnormal, it becomes possible to determine the location causing the problem in units of modules.

以上のように、本発明によれば、ハードウェアやソフトウェア、設定ファイル等を含むネットワーク装置全体の検証を効率的に行うことが可能になる。   As described above, according to the present invention, it is possible to efficiently verify the entire network device including hardware, software, setting files, and the like.

本発明にかかるネットワーク装置の一実施の形態を示すブロック図である。It is a block diagram which shows one Embodiment of the network device concerning this invention. ネットワーク装置における動作の検証処理の流れについて説明するためのフローチャートである。It is a flowchart for demonstrating the flow of the verification process of the operation | movement in a network device. 本発明にかかるネットワーク装置の他の実施形態を示すブロック図である。It is a block diagram which shows other embodiment of the network apparatus concerning this invention.

次に、本発明を実施するための形態について、図面を参照しながら詳細に説明する。   Next, an embodiment for carrying out the present invention will be described in detail with reference to the drawings.

図1は、本発明にかかるネットワーク装置の一実施の形態を適用可能なネットワークシステムを示し、ネットワークシステム10は、シミュレーション機能を有するネットワーク装置1及び複数のネットワーク装置2A、2B、・・・で構成され、ネットワーク装置1及びネットワーク装置2A、2B、・・・がネットワーク3で接続される。この例では、ネットワーク装置1と、ネットワーク装置2A及び2Bがネットワーク3に接続される。   FIG. 1 shows a network system to which an embodiment of a network device according to the present invention can be applied. A network system 10 is composed of a network device 1 having a simulation function and a plurality of network devices 2A, 2B,. The network device 1 and the network devices 2A, 2B,. In this example, the network device 1 and the network devices 2A and 2B are connected to the network 3.

ネットワーク装置1は、ネットワーク装置部11、シミュレーション機能部12及び連携機能部13を備える。ネットワーク装置部11は、ネットワーク3を介して他のネットワーク装置2A及び2Bと接続され、フレームの送受信等の各種機能による動作を実行する。また、ネットワーク装置部11は、各種機能を実行した際のログを取得すると共に、正常に動作したか否かをチェックし、取得したログを連携機能部13に供給する。   The network device 1 includes a network device unit 11, a simulation function unit 12, and a cooperation function unit 13. The network device unit 11 is connected to the other network devices 2A and 2B via the network 3, and executes operations based on various functions such as frame transmission / reception. Further, the network device unit 11 acquires a log when various functions are executed, checks whether or not the network device unit 11 operates normally, and supplies the acquired log to the cooperation function unit 13.

シミュレーション機能部12は、このネットワークシステム10全体の構成をモデル化し、ネットワークシステム10における各種機能による動作のシミュレーションを実行する。また、シミュレーション機能部12は、ネットワーク装置部11と同様に、各種機能を実行した際のログを取得すると共に、正常に動作したか否かをチェックし、取得したログを連携機能部13に供給する。連携機能部13は、ネットワーク装置部11及びシミュレーション機能部12から供給されたログに基づき、ネットワーク装置部11が正常に動作するか否かを判断する。   The simulation function unit 12 models the entire configuration of the network system 10 and executes an operation simulation by various functions in the network system 10. In addition, the simulation function unit 12 acquires logs when various functions are executed, and checks whether or not the function is normally performed, and supplies the acquired logs to the cooperation function unit 13, similarly to the network device unit 11. To do. The cooperation function unit 13 determines whether or not the network device unit 11 operates normally based on the logs supplied from the network device unit 11 and the simulation function unit 12.

次に、ネットワーク装置部11の構成の一例について説明する。ネットワーク装置部11は、機能実行部としてのソフトウェア部21及びハードウェア部22と、設定ファイル23と、ログ取得/チェック機能部24とで構成される。   Next, an example of the configuration of the network device unit 11 will be described. The network device unit 11 includes a software unit 21 and a hardware unit 22 as function execution units, a setting file 23, and a log acquisition / check function unit 24.

ソフトウェア部21は、例えばCPU(Central Processing Unit)で構成され、図示されないRAM(Random Access Memory)をワークメモリとして用い、図示されないROM(Read Only Memory)に予め記憶されたプログラムに従い、各種ソフトウェアの機能を実行する。ソフトウェア部21は、1つ又は複数のソフトウェアモジュール25A、25B、・・・からなる。ソフトウェアモジュール25A、25B、・・・は、例えば機能単位で設けられ、各モジュールが対応する機能を実行する。この例において、ソフトウェア部21は、2つのソフトウェアモジュール25A及び25Bで構成される。   The software unit 21 includes, for example, a CPU (Central Processing Unit), uses a RAM (Random Access Memory) (not shown) as a work memory, and performs various software functions according to a program stored in advance in a ROM (Read Only Memory) (not shown). Execute. The software unit 21 includes one or a plurality of software modules 25A, 25B,. The software modules 25A, 25B,... Are provided in units of functions, for example, and each module executes a corresponding function. In this example, the software unit 21 includes two software modules 25A and 25B.

ハードウェア部22は、例えばLSI(Large Scale Integration)やFPGA(Field Programmable Gate Array)で構成され、各種ハードウェアの機能を実行する。ハードウェア部22は、複数のハードウェアモジュール26A、26B、・・・からなる。ハードウェアモジュール26A、26B、・・・は、ソフトウェアモジュール25A、25B、・・・と同様に、例えば機能単位で設けられ、各モジュールが対応する機能を実行する。この例において、ハードウェア部22は、2つのハードウェアモジュール26A及び26Bで構成される。   The hardware unit 22 includes, for example, an LSI (Large Scale Integration) or an FPGA (Field Programmable Gate Array), and executes various hardware functions. The hardware unit 22 includes a plurality of hardware modules 26A, 26B,. Like the software modules 25A, 25B,..., The hardware modules 26A, 26B,... Are provided in units of functions, for example, and each module executes a corresponding function. In this example, the hardware unit 22 includes two hardware modules 26A and 26B.

設定ファイル23には、ネットワーク装置部11で行われるフレームの送受信の際の設定等が記述される。ネットワーク装置部11において設定が必要な機能は、この設定ファイル23を用いてソフトウェア部21及びハードウェア部22に対する設定を行う。設定ファイル23は、例えば、図示しないメモリ等の記憶部に記憶される。   In the setting file 23, settings at the time of transmission / reception of frames performed in the network device unit 11 are described. Functions that need to be set in the network device unit 11 perform settings for the software unit 21 and the hardware unit 22 using the setting file 23. The setting file 23 is stored in a storage unit such as a memory (not shown), for example.

ログ取得/チェック機能部24は、ネットワーク装置部11で実行された機能のログをモジュール単位で取得する。また、ログ取得/チェック機能部24は、各種機能を実行した際の実行結果と、実行結果に対する期待値とを比較する等のチェックをモジュール単位で行う。   The log acquisition / check function unit 24 acquires a log of functions executed by the network device unit 11 in units of modules. In addition, the log acquisition / check function unit 24 performs checks such as comparing execution results when various functions are executed with expected values for the execution results in units of modules.

次に、シミュレーション機能部12の構成の一例について説明する。シミュレーション機能部12は、例えばCPUで構成され、図示されないRAMをワークメモリとして用い、図示されないROMに予め記憶されたプログラムに従い、このシミュレーション機能部12全体の動作を制御する。尚、シミュレーション機能部12を構成するCPUは、ソフトウェア部21を構成するCPUと異なるCPUとする。   Next, an example of the configuration of the simulation function unit 12 will be described. The simulation function unit 12 includes, for example, a CPU, uses a RAM (not shown) as a work memory, and controls the operation of the entire simulation function unit 12 according to a program stored in advance in a ROM (not shown). The CPU constituting the simulation function unit 12 is different from the CPU constituting the software unit 21.

シミュレーション機能部12は、仮想システム構成部30及びログ取得/チェック機能部40で構成される。仮想システム構成部30は、シミュレーション機能部12の制御に基づき、このネットワークシステム10全体の構成をモデル化した仮想ネットワークシステムを構築し、ネットワークシステム10における各種機能による動作のシミュレーションを実行する。この例において、仮想システム構成部30には、ネットワーク装置部11をモデル化した仮想ネットワーク装置31と、ネットワーク装置2A及び2Bをモデル化した仮想ネットワーク装置32A及び32Bとがネットワーク3をモデル化した仮想ネットワーク33に接続された仮想ネットワークシステムが構築される。   The simulation function unit 12 includes a virtual system configuration unit 30 and a log acquisition / check function unit 40. Based on the control of the simulation function unit 12, the virtual system configuration unit 30 constructs a virtual network system that models the entire configuration of the network system 10, and executes an operation simulation by various functions in the network system 10. In this example, the virtual system configuration unit 30 includes a virtual network device 31 that models the network device unit 11 and virtual network devices 32A and 32B that model the network devices 2A and 2B. A virtual network system connected to the network 33 is constructed.

仮想ネットワーク装置31は、仮想機能実行部としての仮想ソフトウェア部41及び仮想ハードウェア部42と、仮想設定ファイル43とで構成される。   The virtual network device 31 includes a virtual software unit 41 and a virtual hardware unit 42 as a virtual function execution unit, and a virtual setting file 43.

仮想ソフトウェア部41は、ソフトウェア部21をモデル化したものであり、ソフトウェアモジュール25A、25B、・・・をモデル化した複数の仮想ソフトウェアモジュール45A、45B、・・・からなる。仮想ソフトウェアモジュール45A、45B、・・・は、ソフトウェアモジュール25A、25B、・・・と同様に、例えば機能単位で設けられ、ソフトウェアモジュール25A、25B、・・・の機能に対応する機能を実行する。この例において、仮想ソフトウェア部41は、2つの仮想ソフトウェアモジュール45A及び45Bで構成される。   The virtual software unit 41 is a model of the software unit 21 and includes a plurality of virtual software modules 45A, 45B,... That model software modules 25A, 25B,. The virtual software modules 45A, 45B,... Are provided in units of functions, for example, like the software modules 25A, 25B,..., And execute functions corresponding to the functions of the software modules 25A, 25B,. . In this example, the virtual software unit 41 includes two virtual software modules 45A and 45B.

仮想ハードウェア部42は、ハードウェア部22をモデル化したものであり、ハードウェアモジュール26A、26B、・・・をモデル化した複数の仮想ハードウェアモジュール46A、46B、・・・からなる。仮想ハードウェアモジュール46A、46B、・・・は、ハードウェアモジュール26A、26B、・・・と同様に、例えば機能単位で設けられ、ハードウェアモジュール26A、26B、・・・の機能に対応する機能を実行する。この例において、仮想ハードウェア部42は、2つの仮想ハードウェアモジュール46A及び46Bで構成される。   The virtual hardware unit 42 is obtained by modeling the hardware unit 22 and includes a plurality of virtual hardware modules 46A, 46B,... Modeling the hardware modules 26A, 26B,. The virtual hardware modules 46A, 46B,... Are provided in units of functions, for example, similarly to the hardware modules 26A, 26B,... And functions corresponding to the functions of the hardware modules 26A, 26B,. Execute. In this example, the virtual hardware unit 42 includes two virtual hardware modules 46A and 46B.

仮想設定ファイル43は、ネットワーク装置部11をモデル化した仮想ネットワークシステムにおけるフレームの送受信等の際の設定が記述される。すなわち、仮想設定ファイル43には、設定ファイル23に記述された設定と同様の設定内容が記述される。仮想ネットワークシステムにおいて設定が必要な機能は、この仮想設定ファイル43を用いて仮想ソフトウェア部41及び仮想ハードウェア部42に対する設定を行う。   The virtual setting file 43 describes settings for frame transmission / reception in a virtual network system that models the network device unit 11. That is, in the virtual setting file 43, the same setting content as the setting described in the setting file 23 is described. Functions that need to be set in the virtual network system make settings for the virtual software unit 41 and the virtual hardware unit 42 using the virtual setting file 43.

ログ取得/チェック機能部40は、仮想システム構成部30に構築された仮想ネットワークシステムで実行された機能のログをモジュール単位で取得する。また、ログ取得/チェック機能部40は、各種機能を実行した際の実行結果と、実行結果に対する期待値とを比較する等のチェックをモジュール単位で行う。   The log acquisition / check function unit 40 acquires a log of functions executed by the virtual network system constructed in the virtual system configuration unit 30 in units of modules. In addition, the log acquisition / check function unit 40 performs checks such as comparing execution results when various functions are executed with expected values for the execution results in units of modules.

次に、上記構成を有するネットワークシステム10の動作について説明する。ネットワーク装置1では、シミュレーション機能部12によるシミュレーション機能を用い、ネットワークシステム10におけるフレームの送受信等の動作を検証する。図2は、ネットワーク装置1における動作の検証処理の流れの一例を示す。   Next, the operation of the network system 10 having the above configuration will be described. In the network apparatus 1, operations such as frame transmission / reception in the network system 10 are verified using a simulation function by the simulation function unit 12. FIG. 2 shows an example of the flow of operation verification processing in the network device 1.

まず、図2に示す処理に先立って、シミュレーション機能部12は、ネットワークシステム10全体の構成をモデル化した仮想ネットワークシステムを仮想システム構成部30に構築し、仮想ネットワーク装置31の仮想ソフトウェア部41に設けられた仮想ソフトウェアモジュール45A及び45Bと、仮想ハードウェア部42に設けられた仮想ハードウェアモジュール46A及び46Bとに、仮想設定ファイル43に記述された設定内容を反映させる。   First, prior to the processing shown in FIG. 2, the simulation function unit 12 constructs a virtual network system in which the entire configuration of the network system 10 is modeled in the virtual system configuration unit 30, and stores it in the virtual software unit 41 of the virtual network device 31. The setting contents described in the virtual setting file 43 are reflected in the provided virtual software modules 45A and 45B and the virtual hardware modules 46A and 46B provided in the virtual hardware unit 42.

仮想ネットワークシステムが構築されると、シミュレーション機能部12は、仮想システム構成部30に構築された仮想ネットワークシステム上に設けられた仮想ネットワーク装置31、仮想ネットワーク装置32A及び32Bによるフレームの送受信等の動作を行う。このとき、ログ取得/チェック機能部40は、ネットワーク装置部11の期待する動作結果として、この送受信によるログをモジュール単位で取得する(ステップS1)。取得したログは、連携機能部13に供給される。   When the virtual network system is constructed, the simulation function unit 12 performs operations such as transmission / reception of frames by the virtual network device 31 and the virtual network devices 32A and 32B provided on the virtual network system constructed in the virtual system configuration unit 30. I do. At this time, the log acquisition / check function unit 40 acquires a log by this transmission / reception as a module unit as an operation result expected by the network device unit 11 (step S1). The acquired log is supplied to the cooperation function unit 13.

次に、ネットワーク装置部11は、ステップS1で行ったシミュレーション機能部12の動作と同様の動作(フレームの送受信)を、ネットワーク3を介して接続されたネットワーク装置2A及び2Bとの間で行う。そして、ログ取得/チェック機能部24は、この動作の結果として、フレームの送受信によるログをモジュール単位で取得する(ステップS2)。取得したログは、連携機能部13に供給される。   Next, the network device unit 11 performs the same operation (frame transmission / reception) as the operation of the simulation function unit 12 performed in step S1 between the network devices 2A and 2B connected via the network 3. Then, as a result of this operation, the log acquisition / check function unit 24 acquires a log by frame transmission / reception in units of modules (step S2). The acquired log is supplied to the cooperation function unit 13.

連携機能部13は、ステップS1で取得したシミュレーション機能部12の動作によるログと、ステップS2で取得したネットワーク装置部11の動作によるログとをモジュール毎に比較する(ステップS3)。比較の結果、各々のログが一致し、ネットワーク装置部11の動作及びシミュレーション機能部12の動作が同一の動作となった場合には、ネットワーク装置部11による動作が正常に行われたと判断し、一連の処理を終了する。   The cooperation function unit 13 compares the log of the operation of the simulation function unit 12 acquired in step S1 with the log of the operation of the network device unit 11 acquired in step S2 for each module (step S3). As a result of the comparison, when the respective logs match and the operation of the network device unit 11 and the operation of the simulation function unit 12 become the same operation, it is determined that the operation by the network device unit 11 has been normally performed, A series of processing ends.

一方、ステップS3において、各々のログが一致せず、ネットワーク装置部11の動作及びシミュレーション機能部12の動作が異なる動作となった場合には、ネットワーク装置部11の動作が期待する動作と異なるため、ネットワーク装置部11に異常があると判断する。この場合には、ネットワーク装置部11の異常の原因となる箇所を修正する(ステップS4)。修正対象となる箇所としては、例えば、ネットワーク装置部11のソフトウェア部21、ハードウェア部22及び設定ファイル23のうちいずれかが考えられる。このとき、ログ取得/チェック機能部24及び40で取得されたログは、モジュール単位で取得されるため、各々のログを参照することで、修正箇所を判断することができる。   On the other hand, in step S3, when the logs do not match and the operation of the network device unit 11 and the operation of the simulation function unit 12 are different, the operation of the network device unit 11 is different from the expected operation. It is determined that there is an abnormality in the network device unit 11. In this case, the location causing the abnormality of the network device unit 11 is corrected (step S4). For example, one of the software unit 21, the hardware unit 22, and the setting file 23 of the network device unit 11 can be considered as the location to be corrected. At this time, since the logs acquired by the log acquisition / check function units 24 and 40 are acquired in units of modules, a correction location can be determined by referring to each log.

ネットワーク装置部11の異常の原因となる箇所の修正が完了すると、処理がステップS2に戻り、再度、ネットワーク装置部11による動作を実行し、ログを取得して動作を検証する。   When the correction of the location causing the abnormality of the network device unit 11 is completed, the process returns to step S2, the operation by the network device unit 11 is executed again, the log is acquired, and the operation is verified.

以上のように、本実施の形態によれば、実際のネットワークシステム全体の構成をモデル化した仮想ネットワークシステムを構築し、この仮想ネットワークシステムを用いて実際のネットワークシステムの動作を検証するため、ソフトウェア部、ハードウェア部及び設定ファイルを含むネットワーク装置全体を検証することができる。   As described above, according to the present embodiment, software for constructing a virtual network system that models the configuration of the entire actual network system and verifying the operation of the actual network system using the virtual network system is provided. It is possible to verify the entire network device including the network unit, the hardware unit, and the setting file.

また、仮想ネットワークシステムにおける動作のログと、実際のネットワークシステムにおける動作のログとを比較することにより動作を検証するため、ネットワーク装置の検証を効率的に行うことができる。   Further, since the operation is verified by comparing the operation log in the virtual network system with the operation log in the actual network system, the network device can be verified efficiently.

以上、本発明の一実施の形態について説明したが、本発明は、上述した本発明の一実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内で様々な変形や応用が可能である。例えば、上述の例では、ネットワーク装置部11及びシミュレーション機能部12が1つのネットワーク装置に含まれるように説明したが、これに限られず、例えばネットワーク装置部11及びシミュレーション機能部12の各々が独立した装置として構成されるようにしてもよい。   Although one embodiment of the present invention has been described above, the present invention is not limited to the above-described embodiment of the present invention, and various modifications and applications can be made without departing from the gist of the present invention. Is possible. For example, in the above-described example, the network device unit 11 and the simulation function unit 12 are described as being included in one network device. However, the present invention is not limited to this. For example, each of the network device unit 11 and the simulation function unit 12 is independent. You may make it comprise as an apparatus.

具体的には、例えば、図3に示すように、図1のネットワーク装置1を、ネットワーク装置部11の機能を備えるネットワーク装置51と、シミュレーション機能部12及び連携機能部13の機能を備えるシミュレーション装置52とに分離することが可能である。   Specifically, for example, as shown in FIG. 3, the network device 1 of FIG. 1 is replaced with a network device 51 having the function of the network device unit 11, and a simulation device having the functions of the simulation function unit 12 and the cooperation function unit 13. 52 can be separated.

1 ネットワーク装置
2(2A、2B、・・・) ネットワーク装置
3 ネットワーク
10 ネットワークシステム
11 ネットワーク装置部
12 シミュレーション機能部
13 連携機能部
21 ソフトウェア部
22 ハードウェア部
23 設定ファイル
24 ログ取得/チェック機能部
25(25A、25B、・・・) ソフトウェアモジュール
26(26A、26B、・・・) ハードウェアモジュール
30 仮想システム構成部
40 ログ取得/チェック機能部
31 仮想ネットワーク装置
32(32A、32B、・・・) 仮想ネットワーク装置
33 仮想ネットワーク
41 仮想ソフトウェア部
42 仮想ハードウェア部
43 仮想設定ファイル
45(45A、45B、・・・) 仮想ソフトウェアモジュール
46(46A、46B、・・・) 仮想ハードウェアモジュール
50 ネットワークシステム
51 ネットワーク装置
52 シミュレーション装置
DESCRIPTION OF SYMBOLS 1 Network apparatus 2 (2A, 2B, ...) Network apparatus 3 Network 10 Network system 11 Network apparatus part 12 Simulation function part 13 Cooperation function part 21 Software part 22 Hardware part 23 Setting file 24 Log acquisition / check function part 25 (25A, 25B,...) Software module 26 (26A, 26B,...) Hardware module 30 Virtual system configuration unit 40 Log acquisition / check function unit 31 Virtual network device 32 (32A, 32B,...) Virtual network device 33 Virtual network 41 Virtual software unit 42 Virtual hardware unit 43 Virtual configuration file 45 (45A, 45B, ...) Virtual software module 46 (46A, 46B, ...) Virtual hardware Module 50 network system 51 network unit 52 simulation apparatus

Claims (5)

ネットワークに接続され、該ネットワークを介して接続された他のネットワーク装置との間で実行する各種機能による動作を検証可能なネットワーク装置であって、
前記機能を実行するための設定が記述された設定ファイルを記憶する記憶部と、
前記設定ファイルに記述された設定に基づき、前記機能を実行する機能実行部と、
前記機能実行部で実行された前記機能による第1のログを取得する第1のログ取得部とを有し、
前記ネットワークを介して前記他のネットワーク装置との間で各種機能を実行するネットワーク装置部と、
前記ネットワーク装置部をモデル化した第1の仮想ネットワーク装置と、前記ネットワークをモデル化した仮想ネットワークと、前記他のネットワーク装置をモデル化した第2の仮想ネットワーク装置とからなる仮想システムを構築し、前記機能と同一の機能を実行する仮想システム構成部と、
前記仮想システムで実行された前記機能による第2のログを取得する第2のログ取得部とを有し、
前記ネットワーク装置部の各種機能を仮想的に実行するシミュレーション機能部と、
前記ネットワーク装置部の実行結果と、前記シミュレーション機能部の実行結果とに基づき、前記第1及び第2のログを比較することにより、前記ネットワーク装置部の前記機能による動作が正常であるか否かを判断する連携機能部とを備えることを特徴とするネットワーク装置。
A network device connected to a network and capable of verifying operations by various functions executed with other network devices connected via the network,
A storage unit for storing a setting file in which settings for executing the function are described;
A function execution unit that executes the function based on the setting described in the setting file;
A first log acquisition unit that acquires a first log by the function executed by the function execution unit;
A network device unit that executes various functions with the other network device via the network;
Constructing a virtual system composed of a first virtual network device that models the network device unit, a virtual network that models the network, and a second virtual network device that models the other network device; A virtual system component that executes the same function as the function;
A second log acquisition unit that acquires a second log by the function executed in the virtual system;
A simulation function unit that virtually executes various functions of the network device unit;
Whether the operation by the function of the network device unit is normal by comparing the first and second logs based on the execution result of the network device unit and the execution result of the simulation function unit A network device comprising: a cooperation function unit for determining
前記第1の仮想ネットワーク装置は、前記設定ファイルと同一の設定が記述された仮想設定ファイルの設定に基づき前記機能を実行する、前記機能実行部をモデル化した仮想機能実行部を有することを特徴とする請求項に記載のネットワーク装置。 The first virtual network device includes a virtual function execution unit that models the function execution unit and executes the function based on a setting of a virtual setting file in which the same setting as the setting file is described. The network device according to claim 1 . 前記機能実行部は、
ソフトウェアの機能を実行するソフトウェア部と、
ハードウェアの機能を実行するハードウェア部とからなり、
前記仮想機能実行部は、
前記ソフトウェア部をモデル化した仮想ソフトウェア部と、
前記ハードウェア部をモデル化した仮想ハードウェア部とからなることを特徴とする請求項に記載のネットワーク装置。
The function execution unit is
A software section that performs the functions of the software;
It consists of a hardware part that executes hardware functions,
The virtual function execution unit
A virtual software part that models the software part;
The network device according to claim 2 , comprising a virtual hardware unit that models the hardware unit.
前記機能実行部は、機能単位で設けられた1つ又は複数のモジュールからなり、
前記仮想機能実行部は、機能単位で設けられ、前記モジュールをモデル化した1つ又は複数の仮想モジュールからなることを特徴とする請求項又はに記載のネットワーク装置。
The function execution unit is composed of one or a plurality of modules provided in function units,
The virtual function execution unit is provided in the functional unit, the network device according to claim 2 or 3, characterized in that it consists of one or more virtual module that models the module.
前記第1のログ取得部は、前記第1のログを前記モジュール単位で取得し、
前記第2のログ取得部は、前記第2のログを前記仮想モジュール単位で取得することを特徴とする請求項に記載のネットワーク装置。
The first log acquisition unit acquires the first log in units of modules,
The network apparatus according to claim 4 , wherein the second log acquisition unit acquires the second log in units of the virtual modules.
JP2011088717A 2011-04-13 2011-04-13 Network equipment Expired - Fee Related JP5505990B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011088717A JP5505990B2 (en) 2011-04-13 2011-04-13 Network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011088717A JP5505990B2 (en) 2011-04-13 2011-04-13 Network equipment

Publications (2)

Publication Number Publication Date
JP2012222706A JP2012222706A (en) 2012-11-12
JP5505990B2 true JP5505990B2 (en) 2014-05-28

Family

ID=47273727

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011088717A Expired - Fee Related JP5505990B2 (en) 2011-04-13 2011-04-13 Network equipment

Country Status (1)

Country Link
JP (1) JP5505990B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2782430B2 (en) * 1996-02-23 1998-07-30 日本電信電話株式会社 Telegram editing method, analysis method, and test apparatus
JPH09284392A (en) * 1996-04-10 1997-10-31 Toshiba Corp Exchange system
JP3621010B2 (en) * 1999-12-14 2005-02-16 日本電信電話株式会社 Network management method and system apparatus
ITTO20010180A1 (en) * 2001-03-01 2002-09-01 Cselt Centro Studi Lab Telecom PROCEDURE AND SYSTEM FOR THE CONTROL OF THE CONFIGURATION OF THE NODES A TELECOMMUNICATION NETWORK.
JP4564972B2 (en) * 2007-01-23 2010-10-20 Necアクセステクニカ株式会社 Network device, simulator unit, their software, and file update method

Also Published As

Publication number Publication date
JP2012222706A (en) 2012-11-12

Similar Documents

Publication Publication Date Title
JP7078170B2 (en) How to operate industrial PC devices and industrial PC devices
US10459435B2 (en) Test manager for industrial automation controllers
US10521550B2 (en) Planning and engineering method, software tool and simulation tool for an automation solution
Arrieta et al. Search-based test case selection of cyber-physical system product lines for simulation-based validation
CN104375842A (en) Adaptive software UML (unified modeling language) modeling and formal verification method
US10108763B2 (en) Method and simulation arrangement for simulating an automated industrial plant
CN105278906B (en) Programable display
RU2013147142A (en) SYSTEM AND METHOD OF VERIFICATION AND CERTIFICATION OF RESERVE SOFTWARE IN PLC SYSTEMS (PROGRAMMABLE LOGIC MANAGEMENT)
EP3286611B1 (en) Method and system for cross discipline data validation checking in a multidisciplinary engineering system
JP7135976B2 (en) CONTROLLER SYSTEM, SUPPORT DEVICE AND EVALUATION METHOD
US20190369585A1 (en) Method for determining a physical connectivity topology of a controlling development set up for a real-time test apparatus
Kuroiwa et al. Testing environment for CPS by cooperating model checking with execution testing
JP2015210827A (en) Frequency domain structural analysis of product having frequency-dependent material property
JP5505990B2 (en) Network equipment
EP3206101B1 (en) Test device for monitoring control device
KR20160087885A (en) System-setup assistance apparatus
JP6959624B2 (en) Security assessment system
KR101759893B1 (en) Virtual device management apparatus based on scenario for distributed energy resources
US20140039867A1 (en) Information processing apparatus and method thereof
CN110298670B (en) Consensus method involving PBFT and apparatus therefor
KR20130125491A (en) System and method using realtime simulator and programmed system switching for the validation of large-scaled dcs
JP2008112229A (en) Update data application method for software product
Budnik et al. Testbed for Model-based Verification of Cyber-physical Production Systems.
WO2022185418A1 (en) Debugging assistance program, debugging assistance device, debugging assistance method, and machine learning device
KR102338616B1 (en) Electronic device to verify the disaster spread prediction model

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130513

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130626

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130820

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140313

R150 Certificate of patent or registration of utility model

Ref document number: 5505990

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees