JP4500085B2 - Test support apparatus and test support method - Google Patents

Test support apparatus and test support method Download PDF

Info

Publication number
JP4500085B2
JP4500085B2 JP2004105119A JP2004105119A JP4500085B2 JP 4500085 B2 JP4500085 B2 JP 4500085B2 JP 2004105119 A JP2004105119 A JP 2004105119A JP 2004105119 A JP2004105119 A JP 2004105119A JP 4500085 B2 JP4500085 B2 JP 4500085B2
Authority
JP
Japan
Prior art keywords
packet
communication
computer
test
existing computer
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 - Lifetime
Application number
JP2004105119A
Other languages
Japanese (ja)
Other versions
JP2005293053A (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 Steel Corp
Original Assignee
Nippon Steel 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 Steel Corp filed Critical Nippon Steel Corp
Priority to JP2004105119A priority Critical patent/JP4500085B2/en
Publication of JP2005293053A publication Critical patent/JP2005293053A/en
Application granted granted Critical
Publication of JP4500085B2 publication Critical patent/JP4500085B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

本発明は、テスト支援装置及びテスト支援方法に関し、特に、アプリケーションプログラムの開発工程におけるシステムテストを行なうものに用いて好適なものである。   The present invention relates to a test support apparatus and a test support method, and is particularly suitable for use in a system test in an application program development process.

アプリケーションプログラムの開発工程におけるシステムテストの1つに、開発したプログラムを実際の業務環境と同じ条件下で動作させたときに、開発プログラム自身が正常に動作して、しかも他のプログラムに何ら問題が発生しないことを検証する運転テストがある。そして、上記運転テストを行った結果、特に問題が発生しないと判断されると、上記開発プログラムを、既に稼動している実際の業務システム(以下、本番系システムと称する)に組み込んだり、上記本番系システムと置き替えたりするようにしていた。   One of the system tests in the application program development process is that when the developed program is operated under the same conditions as the actual business environment, the development program itself operates normally, and there are no problems with other programs. There is a driving test to verify that it does not occur. As a result of the operation test, if it is determined that no particular problem occurs, the development program is incorporated into an actual business system that is already in operation (hereinafter referred to as a production system), or I was trying to replace it with a system.

近年、業務において扱われる電子情報の重要性が高まっていることから、企業等では時間に関係なく上記電子情報の送受信が行われている。しかしながら、日常の企業活動を支える基本的な業務を処理する基幹系システムの本番系システムにおいては、一時的な中断や送受信の誤りがあってはならない。このため、上記本番系システムは、各部門または各部署との間で電子情報のやり取りが常時円滑に行なわれるように構成されているのが一般的である。   In recent years, since the importance of electronic information handled in business has increased, companies and the like transmit and receive the electronic information regardless of time. However, in the production system of the core system that processes basic business that supports daily corporate activities, there should be no temporary interruption or transmission / reception error. For this reason, the production system is generally configured so that electronic information is always exchanged smoothly between each department or each department.

そのため、開発プログラムの運転テストを行なう際には、上記本番系システムに及ぼす様々な影響を最小限に抑えることが要求される。このような要求に応えるようにするために、上記本番系システムの正常な稼動を停止することなく、上記運転テストを行なうようにしていた。   Therefore, when performing an operation test of the development program, it is required to minimize various influences on the production system. In order to meet such a demand, the operation test is performed without stopping the normal operation of the production system.

すなわち、本番系システムの稼動を前提にして、開発したプログラムが正常に動作することを検証するシステム(以下、テスト系システムと称する)を動作させて、いわゆる本番系システムとテスト系システムとの並行運転テスト(パララン)を実施するようにしていた。   That is, on the premise of the operation of the production system, a system that verifies that the developed program operates normally (hereinafter referred to as a test system) is operated in parallel with the so-called production system and the test system. The driving test (Parallan) was to be carried out.

上記並行運転テストを行なう場合、本番系システムの既設計算機から相手側の通信機器に送信される伝文と同一内容の伝文をテスト系システムにも送り、テスト系システムにおける新設計算機と擬似相手機器との間で、上記伝文が正常に送受信されることを確認するようにしている。   When performing the above parallel operation test, a message having the same content as the message sent from the existing computer of the production system to the other communication device is also sent to the test system, and the new computer and the pseudo partner device in the test system are sent. The above message is confirmed to be transmitted and received normally.

これにより、テスト系システムにおいて、本番系システムで実際に用いられるデータを使用した送受信テストを実施することでき、本番系システムでの実業務の運用状況を考慮した確認テストをテスト系システムで行なうことを可能にしている。   As a result, in a test system, a transmission / reception test using data actually used in the production system can be performed, and a confirmation test in consideration of the operational status of the actual business in the production system should be performed in the test system. Is possible.

図4は、従来のテスト支援システムの概略構成を示すブロック図である。
図4に示すように、従来のテスト支援システムは、既設計算機41及び相手側の通信機器42より構成された本番系システム40と、新設計算機51及び擬似相手機器52より構成されたテスト系システム50により構成されている。
FIG. 4 is a block diagram showing a schematic configuration of a conventional test support system.
As shown in FIG. 4, the conventional test support system includes a production system 40 composed of an existing computer 41 and a counterpart communication device 42, and a test system 50 composed of a new computer 51 and a pseudo counterpart device 52. It is comprised by.

このように構成された従来のテスト支援システムにおいて、上記本番系システム40とテスト系システム50とを並行運転させて、上記老朽更新するための動作テストを行なおうとする場合、例えば、既設計算機41の送信手段411を改造して、テスト系システム50に対して送信するための第1のテスト系システム用送信手段413を設けている。また、既設計算機41の受信手段412を改造して、テスト系システム50に対して送信するための第2のテスト系システム用送信手段414を設けている。   In the conventional test support system configured as described above, when the production system 40 and the test system 50 are operated in parallel to perform an operation test for renewal of the old system, for example, the existing computer 41 The first transmission unit 413 for test system is provided to modify the transmission unit 411 and transmit to the test system 50. Further, the receiving means 412 of the existing computer 41 is modified, and a second test system transmission means 414 for transmitting to the test system 50 is provided.

第1のテスト系システム用送信手段413は、送信手段411より相手側の通信機器42へ送信される伝文(以下、通信パケットと称する)を複製し、この複製した通信パケットを通信回線53経由でテスト系システム50へ送信する。   The first test system transmission means 413 duplicates a message (hereinafter referred to as a communication packet) transmitted from the transmission means 411 to the counterpart communication device 42, and passes the duplicated communication packet via the communication line 53. To the test system 50.

また、第2のテスト系システム用送信手段414は、相手側の通信機器42の送信手段422から送信された通信パケットが既設計算機41の受信手段412により受信されると、その通信パケットを複製して、テスト系システム50へ送信する。   Further, when the communication packet transmitted from the transmission unit 422 of the counterpart communication device 42 is received by the reception unit 412 of the existing computer 41, the second test system transmission unit 414 duplicates the communication packet. To the test system 50.

一方、テスト系システム50には、新規計算機51及び擬似相手機器52が設けられており、新規計算機51には通信パケットを受信する受信手段511、上記通信パケットを擬似相手機器52へ送信するための擬似相手用送信手段512が設けられている。また、擬似相手機器52には、通信パケットを受信する受信手段521が設けられている。   On the other hand, the test system 50 is provided with a new computer 51 and a pseudo partner device 52. The new computer 51 has a receiving means 511 for receiving a communication packet, and for transmitting the communication packet to the pseudo partner device 52. Pseudo partner transmission means 512 is provided. Further, the simulated counterpart device 52 is provided with a receiving unit 521 for receiving a communication packet.

受信手段511は、第1のテスト系システム用送信手段413及び第2のテスト系システム用送信手段414から夫々送信される通信パケットを受信する。また、擬似相手用送信手段512は、受信手段511で受信した通信パケットを、擬似相手機器52の受信手段521へ送信する。このような構成を構築して並行運転を実行することにより、新規計算機51における受信手段511及び擬似相手用送信手段512は、既設計算機41における送信手段411及び受信手段412と、同等の機能を有していることの確認が行なわれる。   The receiving unit 511 receives communication packets transmitted from the first test system transmission unit 413 and the second test system transmission unit 414, respectively. Further, the pseudo partner transmission unit 512 transmits the communication packet received by the reception unit 511 to the reception unit 521 of the pseudo partner device 52. By constructing such a configuration and executing parallel operation, the receiving means 511 and the pseudo-mate transmitting means 512 in the new computer 51 have the same functions as the transmitting means 411 and the receiving means 412 in the existing computer 41. Confirmation is being made.

また、ネットワークに接続されたマルチキャストグループに参加している全ての機器(ノード)に対して、マルチキャストグループ宛ての伝文(通信パケット)を複製したり転送したりする技術については、種々の技術が開示されている(例えば、特許文献1または特許文献2)。   There are various techniques for duplicating and transferring a message (communication packet) addressed to a multicast group to all devices (nodes) participating in the multicast group connected to the network. It is disclosed (for example, Patent Document 1 or Patent Document 2).

特開2002−314605号公報JP 2002-314605 A 特開2002−118570号公報JP 2002-118570 A

しかしながら、本番系システムとテスト系システムとの並行運転テストにおいては、本番系システムで送受信されている伝文(通信パケット)をテスト系システムにも受け渡すようにしなければならないことから、本番系システムの構成を改造しなければならないという問題があった。   However, in the parallel operation test between the production system and the test system, the message (communication packet) sent and received in the production system must be passed to the test system. There was a problem that had to be modified.

特に、データの送受信が複数の送受信機器間で正しく行われることを検証する場合、各送受信機器間に対応するデータをテスト系システムへ受け渡して並行運転テストを行なえるように改造しなければならないために、本番系システムにおける改造工数が大幅に増加してしまうという問題があった。   In particular, when verifying that data transmission / reception is correctly performed between multiple transmission / reception devices, it is necessary to modify the data so that the corresponding data between each transmission / reception device can be transferred to a test system and a parallel operation test can be performed. In addition, there is a problem that the number of remodeling steps in the production system increases significantly.

また、本番系システムを改造する際にミスが発生した場合、本番系システムでやり取りする伝文が正常に送受信されなくなる等の不具合が生じてしまい、実業務の遂行に重大な影響を及ぼしてしまうという問題があった。   In addition, if a mistake occurs when modifying the production system, problems such as messages sent and received on the production system will not be transmitted and received normally, and this will have a significant impact on the performance of actual work. There was a problem.

さらに、本番系システムの既設計算機をテスト系システムの新設計算機に置き換える老朽更新を行なうための並行運転テストを行なう場合、人員を配置しておかないと、上記新設計算機に不具合が発生した際にそれを確実に検出することができないという問題があった。すなわち、多くの人手を投入しないと新設計算機で発生した不具合の原因解析を効率よく行なうことができない問題点があった。   Furthermore, when performing a parallel operation test to replace the existing computer in the production system with the new computer in the test system, if the personnel are not assigned, the failure will occur in the new computer. There was a problem that it could not be detected reliably. That is, there has been a problem that the cause analysis of the trouble that has occurred in the newly installed computer cannot be performed efficiently unless a large number of human resources are invested.

そこで、本発明は上述した問題点にかんがみ、本番系システムの既設計算機をテスト系システムの新設計算機に置き換える老朽更新を行なうための並行運転テストを、多くの人手をかけることなく行なうことができるようにすることを第1の目的とする。
また、上記並行運転テストを行なう際に、上記本番系システムを変更することなく実施できるようにすることを第2の目的とする。
Therefore, in view of the above-described problems, the present invention can perform a parallel operation test for replacing an existing computer in a production system with a new computer in a test system without much manpower. It is the first purpose to be.
A second object of the present invention is to perform the parallel operation test without changing the production system.

本発明のテスト支援装置は、通信回線を介して接続された既設計算機と通信機器とからなる本番系システムで稼動している当該既設計算機と、上記既設計算機に置き換えて稼動させる新設計算機との、実業務の稼動環境と同じ条件下における並行運転テストを支援するテスト支援装置であって、上記本番系システム内で上記通信回線を介して上記既設計算機と上記通信機器との間で送受信される通信パケットをキャプチャーし、当該通信パケットが上記既設計算機から出力された送信パケットであるか、上記既設計算機へ入力される受信パケットであるのかを上記通信パケットに含まれるヘッダ情報を基に判定するものであって、上記キャプチャーされた通信パケットが上記送信パケットであるときに当該送信パケットを送信パケット記憶媒体に転送する第1の転送部、及び、上記キャプチャーされた通信パケットが上記受信パケットであるときに当該受信パケットに含まれる上記ヘッダ情報を再設定して複製し、当該複製した受信パケットを上記新設計算機に転送する第2の転送部を有するキャプチャー手段と、上記キャプチャー手段でキャプチャーされ上記送信パケット記憶媒体に記憶されていた送信パケットと、上記新設計算機により上記複製した受信パケットを処理して出力された新たな通信パケットとを比較処理して、上記既設計算機から出力された動作結果と、上記新設計算機から出力された動作結果とを比較する比較手段と、上記比較手段による比較の結果、上記既設計算機から出力された動作結果と上記新設計算機から出力された動作結果とが異なっていた場合に、上記新設計算機における動作履歴を保存する動作履歴保存手段とを有することを特徴としている。 Test support apparatus of the present invention, between the existing computer running a production system system including a via a communication line connected existing computer and communication equipment, the new computer to operate by replacing the existing computer, a test support apparatus for supporting concurrent operation test under the same conditions as the actual business of production environment, is transmitted and received between the existing computer and the communication device via the communication line in the above production systems Capturing a communication packet and determining whether the communication packet is a transmission packet output from the existing computer or a reception packet input to the existing computer based on header information included in the communication packet When the captured communication packet is the transmission packet, the transmission packet is transmitted as a transmission packet storage medium. A first transfer unit that transfers to the network, and when the captured communication packet is the received packet, the header information included in the received packet is reset and copied, and the copied received packet is A capture means having a second transfer unit for transferring to a computer, a transmission packet captured by the capture means and stored in the transmission packet storage medium, and the duplicated reception packet by the new computer are processed and output. A comparison process for comparing the new communication packet with the operation result output from the existing computer and the operation result output from the new computer, and the comparison result by the comparison unit as a result of the comparison. When the operation result output from the computer differs from the operation result output from the new computer It is characterized by having an operation history storage means for storing operation history in the new computer.

本発明のテスト支援方法は、通信回線を介して接続された既設計算機と通信機器とからなる本番系システムで稼動している当該既設計算機と、上記既設計算機に置き換えて稼動させる新設計算機との、実業務の稼動環境と同じ条件下における並行運転テストを支援するためにコンピュータが実行するテスト支援方法であって、上記本番系システム内で上記通信回線を介して上記既設計算機と上記通信機器との間で送受信される通信パケットをキャプチャーし、当該通信パケットが上記既設計算機から出力された送信パケットであるか、上記既設計算機へ入力される受信パケットであるのかを上記通信パケットに含まれるヘッダ情報を基に判定するキャプチャーステップと、上記キャプチャーステップによってキャプチャーされた通信パケットが上記送信パケットであるときに当該送信パケットを送信パケット記憶媒体に転送する第1の転送ステップと、上記キャプチャーステップによってキャプチャーされた通信パケットが上記受信パケットであるときに当該受信パケットに含まれる上記ヘッダ情報を再設定して複製し、当該複製した受信パケットを上記新設計算機に転送する第2の転送ステップと、上記キャプチャーステップでキャプチャーされ上記送信パケット記憶媒体に記憶されていた送信パケットと、上記新設計算機により上記複製した受信パケットを処理して出力された新たな通信パケットとを比較処理して、上記既設計算機から出力された動作結果と、上記新設計算機から出力された動作結果とを比較する比較ステップと、上記比較ステップによる比較の結果、上記既設計算機から出力された動作結果と上記新設計算機から出力された動作結果とが異なっていた場合に、上記新設計算機における動作履歴を保存する動作履歴保存ステップとを有することを特徴とするものである。 The test support method of the present invention includes an existing computer that is operating in a production system composed of an existing computer and a communication device connected via a communication line, and a new computer that is operated in place of the existing computer. parallel operation test under the same conditions as the actual business operating environment a test support method executed by a computer in order to assist, and the existing computer and the communication device via the communication line in the above production systems Header information included in the communication packet whether the communication packet is a transmission packet output from the existing computer or a reception packet input to the existing computer Step based on the capture step and communication packets captured by the above capture step A first transfer step for transferring the transmission packet to a transmission packet storage medium when the packet is the transmission packet; and the header included in the reception packet when the communication packet captured by the capture step is the reception packet. A second transfer step for resetting and duplicating information, transferring the duplicated received packet to the new computer, the transmission packet captured in the capture step and stored in the transmission packet storage medium, and the new Comparison that compares the operation result output from the existing computer with the operation result output from the new computer by comparing the new received communication packet output by processing the received packet copied by the computer As a result of comparison between the step and the comparison step, If the operation result output from the operation result output from the computer and the new computer are different, it is characterized in that it has an operation history storing step of storing an operation history in the new computer.

本発明によれば、本番系システムで稼動している既設計算機から出力された動作結果と、新設計算機から出力された動作結果とを比較した結果、各計算機から出力された動作結果が一致せずに異なっていた場合に、新設計算機の動作履歴を保存するようにしたので、並行運転テストを人手によって常に監視していなくても、新設計算機の不具合を確実に検出することができる。これにより、不具合が発生した場合には、その全てについて原因を追求することができるようになり、従来、人員を配置して行なっていた本番系システムとテスト系システムとの並行運転テスト(パララン)を無人で行なうことが可能となる。   According to the present invention, as a result of comparing the operation result output from the existing computer operating in the production system with the operation result output from the new computer, the operation result output from each computer does not match. In this case, since the operation history of the new computer is stored, the trouble of the new computer can be reliably detected even if the parallel operation test is not always monitored manually. As a result, if a problem occurs, the cause can be pursued for all of them, and a parallel operation test between a production system and a test system that has been conducted with personnel (pararun). Can be performed unattended.

また、本番系システム内で送受信される情報(通信パケット)をキャプチャーするキャプチャー手段を設けたので、本番系システムで用いられるものと同一の情報を用いて、新設計算機の運転テストを行なうことができる。これにより、テスト系システムにおけるテストデータを準備する手間を不要にすることができる。また、実業務の稼動環境と同じ条件下で運転テストを行なうことができるので、機器に対する動作(機能)確認を高精度に行なうことが可能となる。 In addition, since a capture unit that captures information (communication packets) transmitted and received in the production system is provided, it is possible to perform an operation test on the new computer using the same information as that used in the production system. . This eliminates the need for preparing test data in the test system. In addition, since an operation test can be performed under the same conditions as the actual business operating environment, it is possible to check the operation (function) of the device with high accuracy.

また、本番系システムの構成を何ら改造することなく、新設計算機の運転テストを行なうことが可能であるため、本番系システムを常に安定的に稼動させることができるとともに、時間に制限されずに実行可能な並行運転テストを実現できる。   In addition, since it is possible to perform an operation test on a new computer without modifying the configuration of the production system, the production system can always be operated stably, and it is executed without being limited by time. Possible parallel operation test can be realized.

次に、本発明のテスト支援装置及びテスト支援方法の諸実施の形態について図面を用いて説明する。   Next, embodiments of the test support apparatus and the test support method of the present invention will be described with reference to the drawings.

本発明は、例えば、図1に示すようなテスト支援装置21に適用される。本発明に係るテスト支援装置21は、本番系システム10とテスト系システム20との平行運転テストを支援し、本番系システム10の既設計算機11をテスト系システム20の新設計算機22に置き換えて老朽更新を行なうためのものである。以下に詳細に説明する。   The present invention is applied to, for example, a test support apparatus 21 as shown in FIG. The test support apparatus 21 according to the present invention supports a parallel operation test between the production system 10 and the test system 20, and replaces the existing computer 11 of the production system 10 with the new computer 22 of the test system 20, and updates the old system. It is for performing. This will be described in detail below.

(第1の実施の形態)
図1は、第1の実施の形態におけるテスト支援装置21を含むテスト支援システムの概略構成を示すブロック図である。図1に示すように、テスト支援システムは、本番系システム10と、テスト系システム20とを備え構成されている。以下に、その内容を説明する。
(First embodiment)
FIG. 1 is a block diagram showing a schematic configuration of a test support system including a test support apparatus 21 according to the first embodiment. As shown in FIG. 1, the test support system includes a production system 10 and a test system 20. The contents will be described below.

<本番系システム10の全体構成>
まず、本番系システム10について説明する。
図1に示すように、本番系システム10は、イーサネット(R)等の通信回線13を介して接続される既設計算機11及び相手側の通信機器12を備えている。また、既設計算機11は、第1の送信手段111及び第1の受信手段112を有し、相手側の通信機器12は、第2の受信手段121及び第2の送信手段122を有していて、通信パケットを相互にやり取りするように構成されている。
<Overall configuration of production system 10>
First, the production system 10 will be described.
As shown in FIG. 1, the production system 10 includes an existing computer 11 and a counterpart communication device 12 connected via a communication line 13 such as Ethernet (R). The existing computer 11 includes a first transmission unit 111 and a first reception unit 112, and the counterpart communication device 12 includes a second reception unit 121 and a second transmission unit 122. The communication packets are exchanged with each other.

既設計算機11で生成された通信パケットは、第1の送信手段111より送出されて、通信回線13を介して相手側の通信機器12における第2の受信手段121へ送られる。一方、相手側の通信機器12で生成された通信パケット(例えば、受信応答通知等)は、第2の送信手段122より送出されて、通信回線13を介して既設計算機11の受信手段112へ送られる。   The communication packet generated by the existing computer 11 is transmitted from the first transmission unit 111 and is transmitted to the second reception unit 121 in the communication device 12 on the partner side via the communication line 13. On the other hand, a communication packet (for example, a reception response notification) generated by the communication device 12 on the other side is transmitted from the second transmission unit 122 and transmitted to the reception unit 112 of the existing computer 11 via the communication line 13. It is done.

<テスト系システム20の全体構成>
続いて、テスト系システム20について説明する。
図1に示すように、テスト系システム20は、本実施の形態に係るテスト支援装置21及び新設計算機22を備えており、これらは通信回線を介して相互に通信可能に接続されている。また、テスト支援装置21は、本番系システム10とイーサネット(R)等の通信回線23により接続されている。
<Overall configuration of test system 20>
Next, the test system 20 will be described.
As shown in FIG. 1, the test system 20 includes a test support apparatus 21 and a new computer 22 according to the present embodiment, which are connected to each other via a communication line. The test support apparatus 21 is connected to the production system 10 via a communication line 23 such as Ethernet (R).

−テスト支援装置21の構成−
テスト支援装置21は、本番系システム10内の通信回線13から分岐した通信回線23を介して、既設計算機11と相手側の通信機器12との間で送受信されている通信パケットをキャプチャーするキャプチャー手段211と、既設計算機11から相手側の通信機器12に出力された通信パケット(送信パケット)を記憶する送信パケット記憶部212と、既設計算機11から出力された通信パケット(送信パケット)と新設計算機22から出力された通信パケットとを比較する出力比較手段213と、出力比較手段213での比較の結果、各計算機から出力された通信パケットが異なっていた場合に、新設計算機22における動作履歴を保存するよう制御する動作履歴保存手段214とを備え構成されている。ここで、具体的な動作履歴としては、通信ログやタスク起動ログ/ファイル入出力ログ、アプリケーションファイルの内容などが挙げられる。
-Configuration of the test support device 21-
The test support device 21 captures a communication packet transmitted and received between the existing computer 11 and the communication device 12 on the other side via the communication line 23 branched from the communication line 13 in the production system 10. 211, a transmission packet storage unit 212 for storing communication packets (transmission packets) output from the existing computer 11 to the counterpart communication device 12, communication packets (transmission packets) output from the existing computer 11, and the new computer 22 When the communication packet output from each computer is different as a result of the comparison by the output comparison unit 213 that compares the communication packet output from the computer and the output comparison unit 213, the operation history in the new computer 22 is stored. And an operation history storage unit 214 for controlling the operation. Here, the specific operation history includes a communication log, a task activation log / file input / output log, and the contents of an application file.

また、キャプチャー手段211は、既設計算機11から相手側の通信機器12に出力された通信パケット(送信パケット)をキャプチャーする送信パケットキャプチャー部2111と、このキャプチャーした通信パケットを送信パケット記憶部212に転送する送信パケット転送部2113と、相手側の通信機器12から既設計算機11に入力される通信パケット(受信パケット)をキャプチャーする受信パケットキャプチャー部2112と、このキャプチャーした通信パケットを新設計算機22に転送する受信パケット転送部2114とを有している。   The capture unit 211 also transmits a transmission packet capture unit 2111 that captures a communication packet (transmission packet) output from the existing computer 11 to the communication device 12 on the other side, and transfers the captured communication packet to the transmission packet storage unit 212. A transmission packet transfer unit 2113 that performs communication, a reception packet capture unit 2112 that captures a communication packet (reception packet) input from the communication device 12 on the other side to the existing computer 11, and transfers the captured communication packet to the new computer 22. A reception packet transfer unit 2114.

−新設計算機22の構成−
新設計算機22は、通信回線を介してテスト支援装置21の受信パケット転送部2114から転送された通信パケット(受信パケット)を受信する受信パケット受信手段221と、受信した通信パケット(受信パケット)を処理するアプリケーション222と、アプリケーション222で新たに生成された通信パケットをテスト支援装置21に出力する処理結果出力手段223と、テスト支援装置21から動作履歴の保存の指示を受けた場合に、自機器の動作履歴を取得する動作履歴取得手段224と、取得した動作履歴を記憶する動作履歴記憶部225とを備え構成されている。
-Configuration of the new computer 22-
The new computer 22 receives the communication packet (received packet) transferred from the received packet transfer unit 2114 of the test support apparatus 21 via the communication line, and processes the received communication packet (received packet). Application 222, processing result output means 223 for outputting a communication packet newly generated by the application 222 to the test support apparatus 21, and an operation history storage instruction from the test support apparatus 21. An operation history acquisition unit 224 that acquires an operation history and an operation history storage unit 225 that stores the acquired operation history are provided.

<テスト支援装置21の動作>
次に、本実施の形態に係るテスト支援装置21の動作について説明する。
図2は、本発明の実施の形態に係るテスト支援装置21を含むテスト系システム20の動作手順を示すフローチャートである。以下の説明では、図1に示したテスト支援システムの各構成と対応させて、図2に示した動作手順を説明する。
<Operation of Test Support Device 21>
Next, the operation of the test support apparatus 21 according to this embodiment will be described.
FIG. 2 is a flowchart showing an operation procedure of the test system 20 including the test support apparatus 21 according to the embodiment of the present invention. In the following description, the operation procedure shown in FIG. 2 will be described in correspondence with each configuration of the test support system shown in FIG.

まず、図2に示すように、最初のステップS201では、通信回線23を介して接続された本番系システム10の既設計算機11と相手側の通信機器12との間で、所定の通信プロトコルに従って送受信された通信パケットをキャプチャー手段211でキャプチャーする。   First, as shown in FIG. 2, in the first step S201, transmission / reception is performed between the existing computer 11 of the production system 10 connected via the communication line 23 and the counterpart communication device 12 according to a predetermined communication protocol. The captured communication packet is captured by the capture unit 211.

続いて、ステップS202では、キャプチャー手段211でキャプチャーした通信パケットが、既設計算機11から相手側の通信機器12に出力された通信パケット(送信パケット)であるか、または、相手側の通信機器12から既設計算機11に入力される通信パケット(受信パケット)であるかを判定する。この判定の結果、ステップS201でキャプチャーした通信パケットが送信パケットであった場合には、ステップS203に進む。一方、ステップS202での判定の結果、ステップS201でキャプチャーした通信パケットが受信パケットであった場合には、ステップS205に進む。   Subsequently, in step S202, the communication packet captured by the capture unit 211 is a communication packet (transmission packet) output from the existing computer 11 to the communication device 12 on the other side, or from the communication device 12 on the other side. It is determined whether it is a communication packet (received packet) input to the existing computer 11. As a result of the determination, if the communication packet captured in step S201 is a transmission packet, the process proceeds to step S203. On the other hand, if the result of determination in step S202 is that the communication packet captured in step S201 is a received packet, processing proceeds to step S205.

続いて、ステップS203では、既設計算機11から出力された通信パケット(送信パケット)を送信パケットキャプチャー手段2111でキャプチャーする。続いて、ステップS204では、ステップS203でキャプチャーした通信パケット(送信パケット)を、送信パケット転送部2113を介して送信パケット記憶部212に記憶保持する。   Subsequently, in step S203, the transmission packet capture unit 2111 captures the communication packet (transmission packet) output from the existing computer 11. Subsequently, in step S204, the communication packet (transmission packet) captured in step S203 is stored and held in the transmission packet storage unit 212 via the transmission packet transfer unit 2113.

一方、ステップS205では、既設計算機11に入力される通信パケット(受信パケット)を受信パケットキャプチャー手段2112でキャプチャーする。続いて、ステップS206では、ステップS205でキャプチャーした通信パケット(受信パケット)を、受信パケット転送部2114を介して新設計算機22に転送する。   On the other hand, in step S 205, the received packet capture unit 2112 captures the communication packet (received packet) input to the existing computer 11. Subsequently, in step S206, the communication packet (received packet) captured in step S205 is transferred to the new computer 22 via the received packet transfer unit 2114.

ここで、通信パケットのキャプチャー方法について簡単に説明する。
通信回線を経由して、ある機器(例えば、コンピュータA)から他の機器(例えば、コンピュータB)へ伝送される通信パケットは、先ず、所定の通信プロトコルに従った通信しやすい形態に整えられる。すなわち、送信するデータを適当な大きさに分割し、いわゆる小包用荷札に相当する通信用のヘッダ情報を付加することによって通信パケットが生成される。
Here, a method for capturing a communication packet will be briefly described.
A communication packet transmitted from a certain device (for example, computer A) to another device (for example, computer B) via a communication line is first arranged in a form that facilitates communication according to a predetermined communication protocol. That is, a communication packet is generated by dividing data to be transmitted into an appropriate size and adding communication header information corresponding to a so-called parcel tag.

このとき、実際にやり取りするデータに先行する形で、プロトコル階層ごとのヘッダ情報が上記分割された通信パケットに付加される。具体的には、例えば、アプリケーションプログラムが、TCP/IPプロトコルを利用してデータ(通信パケット)をやり取りする場合、ヘッダ情報として、TCPヘッダ、IPヘッダ、さらにデータリンク層のヘッダ(例えば、イーサネット(R)ヘッダ)が付加される。   At this time, header information for each protocol layer is added to the divided communication packet in a form preceding data to be actually exchanged. Specifically, for example, when an application program exchanges data (communication packets) using the TCP / IP protocol, the header information includes a TCP header, an IP header, and a data link layer header (for example, Ethernet ( R) header) is added.

通常、通信回線13上の通信パケットが、上記ヘッダ情報で特定される宛て先へ伝送される際に、通信回線13に接続する全てのコンピュータに対して上記通信パケットが送信される。そして、その宛て先以外のコンピュータは、自分宛てのアドレスでない不必要な通信パケットが送られてきたとみなして、受け取った通信パケットを破棄し、宛て先のコンピュータのみがその通信パケットを最終的に受け取る。このように、ヘッダ情報の比較に基づいて、宛て先のコンピュータのみに、通信パケットが受信されるようになっている。   Normally, when a communication packet on the communication line 13 is transmitted to a destination specified by the header information, the communication packet is transmitted to all computers connected to the communication line 13. Then, the computer other than the destination considers that an unnecessary communication packet that is not addressed to itself has been sent, discards the received communication packet, and only the destination computer finally receives the communication packet. . As described above, based on the comparison of the header information, the communication packet is received only by the destination computer.

このような方法で通信パケットが送受信されるので、通信パケットに付加されたヘッダ情報の比較によって宛て先アドレスの照合を行なわないようにすれば、各コンピュータは通信回線13に流れる通信パケットを全て受け取ることが可能である。また、通信パケットのヘッダ情報を入手していれば、通信回線13上を流れる通信パケットがどのような通信をしているのかを調べることや、その通信パケットの内容を知ることが可能になる。   Since communication packets are transmitted and received in this way, each computer receives all communication packets flowing through the communication line 13 if the destination address is not checked by comparing the header information added to the communication packets. It is possible. Further, if the header information of the communication packet is obtained, it is possible to check what kind of communication the communication packet flowing on the communication line 13 is communicating and to know the content of the communication packet.

キャプチャー手段211は、上述した通信パケットのヘッダ情報を入手する場合の伝送方法を利用している。
例えば、本実施の形態では、本番系システム10における既設計算機11から相手側の通信機器12へ通信パケットを送信する際のヘッダ情報(送信元アドレス及び宛て先アドレス)、及び相手側の通信機器12から既設計算機11へ通信パケットを送信するためのヘッダ情報(送信元アドレス及び宛て先アドレス)を、キャプチャー手段211に予め知らせておく。
The capture unit 211 uses a transmission method when obtaining the header information of the communication packet described above.
For example, in the present embodiment, header information (source address and destination address) for transmitting a communication packet from the existing computer 11 to the counterpart communication device 12 in the production system 10, and the counterpart communication device 12. Header information (a transmission source address and a destination address) for transmitting a communication packet to the existing computer 11 is notified to the capture unit 211 in advance.

本実施の形態のキャプチャー手段211は、受信した通信パケットのヘッダ情報から、本番系システム10でやり取りされている通信パケットであることを確認すると、この通信パケットをキャプチャーする。次に、キャプチャー手段211は、キャプチャーした通信パケットを複製するとともに、宛て先アドレスをテスト支援装置21及び新設計算機22に再設定して、上記複製した通信パケットを転送するようにする。   The capture unit 211 of this embodiment captures a communication packet when it is confirmed from the header information of the received communication packet that the communication packet is exchanged in the production system 10. Next, the capture unit 211 copies the captured communication packet, resets the destination address in the test support apparatus 21 and the new computer 22, and transfers the copied communication packet.

具体的には、送信パケット転送部2113は、送信パケットキャプチャー部2111がキャプチャーした送信パケットに対して、送信パケット記憶部212を宛て先アドレスとするヘッダ情報を付加して転送する。また、これと同様に、受信パケット転送部2114は、受信パケットキャプチャー部2112がキャプチャーした受信パケットに対して、受信パケット受信手段221を宛て先アドレスとするヘッダ情報を付加して転送する。   Specifically, the transmission packet transfer unit 2113 adds the header information with the transmission packet storage unit 212 as the destination address to the transmission packet captured by the transmission packet capture unit 2111 and transfers the transmission packet. Similarly, the received packet transfer unit 2114 adds header information with the received packet receiving unit 221 as a destination address to the received packet captured by the received packet capture unit 2112 and transfers the received packet.

ここで再び、図2のフローチャートに戻って説明を行なう。
ステップS206において、受信パケット転送部2114から転送された通信パケット(受信パケット)を、受信パケット受信手段221で受信した新設計算機22は、続いて、ステップS207において、受信した通信パケット(受信パケット)をアプリケーション222で処理する。続いて、新設計算機22は、ステップS208において、アプリケーション222で処理した結果、新たに生成された通信パケットを、処理結果出力手段223を介してテスト支援装置21に出力する。
Here, the description will return to the flowchart of FIG. 2 again.
In step S206, the new computer 22 that has received the communication packet (received packet) transferred from the received packet transfer unit 2114 by the received packet receiving unit 221 continues to receive the received communication packet (received packet) in step S207. Processed by the application 222. Subsequently, in step S <b> 208, the new computer 22 outputs a communication packet newly generated as a result of processing by the application 222 to the test support apparatus 21 via the processing result output unit 223.

続いて、ステップS209では、出力比較手段213において、送信パケット記憶部212に記憶保持されている、既設計算機11から出力された通信パケット(送信パケット)と、新設計算機22のアプリケーション222で新たに生成された通信パケットとを比較する。   In step S209, the output comparison unit 213 newly generates a communication packet (transmission packet) output from the existing computer 11 and stored in the transmission packet storage unit 212 and the application 222 of the new computer 22. Is compared with the transmitted communication packet.

続いて、ステップS210では、出力比較手段213による比較の結果、既設計算機11から出力された通信パケット(送信パケット)と、新設計算機22から出力された通信パケットとが一致するか否かを判定する。この判定の結果、各計算機から出力された通信パケットが一致した場合には、本フローチャートの処理を終了する。一方、ステップS210での判定の結果、各計算機から出力された通信パケットが一致せずに異なっていた場合には、ステップS211に進む。   Subsequently, in step S210, it is determined whether or not the communication packet (transmission packet) output from the existing computer 11 matches the communication packet output from the new computer 22 as a result of comparison by the output comparison means 213. . If the communication packets output from the computers match as a result of this determination, the processing of this flowchart is terminated. On the other hand, as a result of the determination in step S210, if the communication packets output from the computers are different without matching, the process proceeds to step S211.

続いて、ステップS211では、動作履歴保存手段214において、新設計算機22における動作履歴を保存するように制御する。
具体的には、動作履歴保存手段214において、新設計算機22に対して動作履歴を保存するように指示を出す。これを受けた新設計算機22は、動作履歴取得手段224において、自機器の動作履歴を取得し、取得した動作履歴を動作履歴記憶部225に記憶保持する。
Subsequently, in step S211, the operation history storage unit 214 controls to store the operation history in the new computer 22.
Specifically, the operation history storage unit 214 instructs the new computer 22 to store the operation history. In response to this, the new computer 22 acquires the operation history of the device itself in the operation history acquisition unit 224 and stores the acquired operation history in the operation history storage unit 225.

本実施の形態のテスト支援装置21によれば、本番系システム10で稼動している既設計算機11から出力された通信パケットと、新設計算機22から出力された通信パケットとを比較した結果、各計算機11、22から出力された通信パケットが一致せずに異なっていた場合に、新設計算機22の動作履歴を自動的に保存するようにしたので、新設計算機22内のアプリケーション222の不具合を確実に検出するとともに、その不具合の原因までも追求することができる。これにより、従来、人員を配置しておかなければ高精度のテストを行なうことができなかった、本番系システムとテスト系システムとの並行運転テスト(パララン)を無人で行なうことが可能となる。   According to the test support apparatus 21 of the present embodiment, as a result of comparing the communication packet output from the existing computer 11 operating in the production system 10 with the communication packet output from the new computer 22, each computer 11 and 22 automatically saves the operation history of the new computer 22 when the communication packets output from the new computer 22 are different from each other. Therefore, the malfunction of the application 222 in the new computer 22 is reliably detected. At the same time, the cause of the problem can be pursued. As a result, it is possible to perform an unattended parallel operation test (pararun) between the production system and the test system, which could not be performed with a high degree of accuracy unless personnel are conventionally arranged.

また、本番系システム10で送受信される通信パケットを、通信回線23を介してキャプチャー手段211でキャプチャーするようにしたので、本番系システム10で用いられるものと同一の通信パケット(データ)を用いて、新設計算機22の運転テストを行なうことができる。これにより、テスト系システム20におけるテストデータを準備する手間を不要にすることができる。また、実業務の稼動環境と同じ条件下で運転テストを行なうことができるので、機器に対する動作(機能)確認を高精度に行なうことが可能となる。   In addition, since the communication packet transmitted / received in the production system 10 is captured by the capture unit 211 via the communication line 23, the same communication packet (data) as that used in the production system 10 is used. An operation test of the new computer 22 can be performed. This eliminates the need for preparing test data in the test system 20. In addition, since an operation test can be performed under the same conditions as the actual business operating environment, it is possible to check the operation (function) of the device with high accuracy.

また、本番系システム10の構成を何ら改造することなく、新設計算機22の運転テストを行なうことが可能であるため、本番系システム10を常に安定的に稼動させることができるとともに、時間に制限されずに実行可能な並行運転テストを実現できる。   In addition, since it is possible to perform an operation test of the new computer 22 without modifying the configuration of the production system 10, the production system 10 can always be operated stably and is limited in time. A parallel operation test that can be carried out without a failure can be realized.

(第2の実施の形態)
図3は、第2の実施の形態におけるテスト支援装置31を含むテスト支援システムの概略構成を示すブロック図である。なお、第1の実施の形態におけるテスト支援装置21に対して共通する構成部分については同一の符号を付して、詳細な説明を省略する。
(Second Embodiment)
FIG. 3 is a block diagram illustrating a schematic configuration of a test support system including the test support apparatus 31 according to the second embodiment. In addition, the same code | symbol is attached | subjected about the component which is common with respect to the test assistance apparatus 21 in 1st Embodiment, and detailed description is abbreviate | omitted.

本実施の形態のテスト支援システムは、新設計算機32の動作履歴を記憶する動作履歴記憶部215をテスト支援装置31側に設けたものである。また、本実施の形態におけるテスト支援システムの動作については、図2のステップS201〜ステップS210までの処理は第1の実施の形態におけるテスト支援システムの処理を同様であるが、ステップS211の処理の流れが異なる。   The test support system according to the present embodiment is provided with an operation history storage unit 215 for storing the operation history of the new computer 32 on the test support apparatus 31 side. Further, regarding the operation of the test support system in the present embodiment, the processing from step S201 to step S210 in FIG. 2 is the same as the processing of the test support system in the first embodiment, but the processing in step S211 is performed. The flow is different.

具体的には、テスト支援装置31の動作履歴保存手段214から自機器の動作履歴を保存するように指示を受けた新設計算機32は、動作履歴取得手段224において、自機器の動作履歴を取得する。そして、取得した動作履歴をテスト支援装置31に送信する。これを受けたテスト支援装置31は、受信した動作履歴を動作履歴記憶部215に記憶保持する。   Specifically, the new computer 32 that has received an instruction to save the operation history of the own device from the operation history storage unit 214 of the test support device 31 acquires the operation history of the own device in the operation history acquisition unit 224. . Then, the acquired operation history is transmitted to the test support apparatus 31. Upon receiving this, the test support apparatus 31 stores and holds the received operation history in the operation history storage unit 215.

本実施の形態のテスト支援装置31によれば、自機器内に新設計算機32の動作履歴を記憶保持するようにしたので、上述した第1の実施の形態におけるテスト支援装置の効果に加え、さらに、新設計算機32に当該動作履歴が記憶保持されることによる記憶容量の負荷を軽減させることができる。   According to the test support apparatus 31 of the present embodiment, since the operation history of the new computer 32 is stored and held in its own device, in addition to the effects of the test support apparatus in the first embodiment described above, The load of the storage capacity due to the operation history being stored and held in the new computer 32 can be reduced.

第1及び第2の実施の形態におけるテスト系システム20、30の構成では、通信回線23は通信回線13から分岐した別回線として構成されているが、本発明の実施の形態ではこれに限らず、同一の通信回線13により構成されていてもよい。   In the configuration of the test systems 20 and 30 in the first and second embodiments, the communication line 23 is configured as a separate line branched from the communication line 13, but the present invention is not limited to this. The same communication line 13 may be used.

(本発明に係る他の実施の形態)
上述した第1の実施の形態及び第2の実施の形態におけるテスト支援装置を構成する各手段、並びにテスト系システムにおけるテスト支援方法の各ステップ(図2のステップS201〜ステップS211)は、コンピュータのRAMやROMなどに記憶されたプログラムが動作することによって実現できる。このプログラム及び当該プログラムを記録したコンピュータ読み取り可能な記憶媒体は本発明に含まれる。
(Another embodiment according to the present invention)
Each means constituting the test support apparatus in the first embodiment and the second embodiment described above, and each step of the test support method in the test system (step S201 to step S211 in FIG. 2) This can be realized by operating a program stored in a RAM, a ROM, or the like. This program and a computer-readable storage medium storing the program are included in the present invention.

具体的に、上記プログラムは、例えばCD−ROMのような記録媒体に記録し、或いは各種伝送媒体を介し、コンピュータに提供される。上記プログラムを記録する記録媒体としては、CD−ROM以外に、フレキシブルディスク、ハードディスク、磁気テープ、光磁気ディスク、不揮発性メモリカード等を用いることができる。他方、上記プログラムの伝送媒体としては、プログラム情報を搬送波として伝搬させて供給するためのコンピュータネットワーク(LAN、インターネットの等のWAN、無線通信ネットワーク等)システムにおける通信媒体(光ファイバ等の有線回線や無線回線等)を用いることができる。   Specifically, the program is recorded on a recording medium such as a CD-ROM, or provided to a computer via various transmission media. As a recording medium for recording the program, a flexible disk, a hard disk, a magnetic tape, a magneto-optical disk, a nonvolatile memory card, and the like can be used in addition to the CD-ROM. On the other hand, as the transmission medium of the program, a communication medium (wired line such as an optical fiber, etc.) in a computer network (LAN, WAN such as the Internet, wireless communication network etc.) system for propagating and supplying program information as a carrier A wireless line or the like.

また、コンピュータが供給されたプログラムを実行することにより上述した第1及び第2の実施の形態における各機能が実現されるだけでなく、そのプログラムがコンピュータにおいて稼働しているOS(オペレーティングシステム)或いは他のアプリケーションソフト等と共同して上述した第1及び第2の実施の形態における各機能が実現される場合や、供給されたプログラムの処理の全て或いは一部がコンピュータの機能拡張ボードや機能拡張ユニットにより行われて上述した第1及び第2の実施の形態における各機能が実現される場合も、かかるプログラムは本発明に含まれる。   Moreover, not only the functions in the first and second embodiments described above are realized by executing a program supplied by the computer, but also an OS (operating system) in which the program is running on the computer or When each function in the first and second embodiments described above is realized in cooperation with other application software, or all or a part of the processing of the supplied program is a function expansion board or function expansion of a computer Such a program is also included in the present invention when each function in the first and second embodiments described above is realized by a unit.

第1の実施の形態におけるテスト支援装置を含むテスト支援システムの概略構成を示すブロック図である。1 is a block diagram illustrating a schematic configuration of a test support system including a test support apparatus according to a first embodiment. 本発明の実施の形態に係るテスト支援装置を含むテスト系システムの動作手順を示すフローチャートである。It is a flowchart which shows the operation | movement procedure of the test type | system | group system containing the test assistance apparatus which concerns on embodiment of this invention. 第2の実施の形態におけるテスト支援装置を含むテスト支援システムの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the test assistance system containing the test assistance apparatus in 2nd Embodiment. 従来のテスト支援システムの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the conventional test assistance system.

符号の説明Explanation of symbols

10 本番系システム
11 既設計算機
111 第1の送信手段
112 第1の受信手段
12 相手側の通信機器
121 第2の受信手段
122 第2の送信手段
13 通信回線
20、30 テスト系システム
21、31 テスト支援装置
211 キャプチャー手段
2111 送信パケットキャプチャー部
2112 受信パケットキャプチャー部
2113 送信パケット転送部
2114 受信パケット転送部
212 送信パケット記憶部
213 出力比較手段
214 動作履歴保存手段
22、32 新設計算機
221 受信パケット受信手段
222 アプリケーション
223 処理結果出力手段
224 動作履歴取得手段
215、225 動作履歴記憶部
23 通信回線






10 production system 11 existing computer 111 first transmission means 112 first reception means 12 partner communication device 121 second reception means 122 second transmission means 13 communication line 20, 30 test system 21, 31 test Support device 211 Capture means 2111 Transmission packet capture section 2112 Reception packet capture section 2113 Transmission packet transfer section 2114 Reception packet transfer section 212 Transmission packet storage section 213 Output comparison means 214 Operation history storage means 22 and 32 New computer 221 Reception packet reception means 222 Application 223 Processing result output means 224 Operation history acquisition means 215, 225 Operation history storage unit 23 Communication line






Claims (5)

通信回線を介して接続された既設計算機と通信機器とからなる本番系システムで稼動している当該既設計算機と、上記既設計算機に置き換えて稼動させる新設計算機との、実業務の稼動環境と同じ条件下における並行運転テストを支援するテスト支援装置であって、
上記本番系システム内で上記通信回線を介して上記既設計算機と上記通信機器との間で送受信される通信パケットをキャプチャーし、当該通信パケットが上記既設計算機から出力された送信パケットであるか、上記既設計算機へ入力される受信パケットであるのかを上記通信パケットに含まれるヘッダ情報を基に判定するものであって、上記キャプチャーされた通信パケットが上記送信パケットであるときに当該送信パケットを送信パケット記憶媒体に転送する第1の転送部、及び、上記キャプチャーされた通信パケットが上記受信パケットであるときに当該受信パケットに含まれる上記ヘッダ情報を再設定して複製し、当該複製した受信パケットを上記新設計算機に転送する第2の転送部を有するキャプチャー手段と、
上記キャプチャー手段でキャプチャーされ上記送信パケット記憶媒体に記憶されていた送信パケットと、上記新設計算機により上記複製した受信パケットを処理して出力された新たな通信パケットとを比較処理して、上記既設計算機から出力された動作結果と、上記新設計算機から出力された動作結果とを比較する比較手段と、
上記比較手段による比較の結果、上記既設計算機から出力された動作結果と上記新設計算機から出力された動作結果とが異なっていた場合に、上記新設計算機における動作履歴を保存する動作履歴保存手段と、
を有することを特徴とするテスト支援装置。
The same conditions as the actual operating environment of the existing computer operating in the production system consisting of the existing computer and communication equipment connected via the communication line, and the new computer operating by replacing the existing computer A test support device for supporting a parallel driving test below,
Capture a communication packet transmitted and received between the existing computer and the communication device via the communication line in the production system, and the communication packet is a transmission packet output from the existing computer, or Whether the received packet is input to an existing computer is determined based on the header information included in the communication packet, and when the captured communication packet is the transmission packet, the transmission packet is transmitted as a transmission packet. A first transfer unit for transferring to a storage medium; and when the captured communication packet is the received packet, the header information included in the received packet is reset and copied, and the copied received packet is Capture means having a second transfer unit for transferring to the new computer;
A comparison is made between the transmission packet captured by the capture means and stored in the transmission packet storage medium, and the new communication packet output by processing the duplicated reception packet by the new computer, and the existing computer A comparison means for comparing the operation result output from the operation result output from the new computer,
As a result of comparison by the comparison means, when the operation result output from the existing computer and the operation result output from the new computer are different, operation history storage means for storing the operation history in the new computer;
A test support apparatus comprising:
上記動作履歴保存手段は、上記新設計算機に設けられた記憶媒体に上記動作履歴を保存するようにすることを特徴とする請求項1に記載のテスト支援装置。   The test support apparatus according to claim 1, wherein the operation history storage means stores the operation history in a storage medium provided in the new computer. 上記動作履歴保存手段は、テスト支援装置自体に設けられた記憶媒体に上記動作履歴を保存するようにすることを特徴とする請求項1に記載のテスト支援装置。   The test support apparatus according to claim 1, wherein the operation history storage unit stores the operation history in a storage medium provided in the test support apparatus itself. 通信回線を介して接続された既設計算機と通信機器とからなる本番系システムで稼動している当該既設計算機と、上記既設計算機に置き換えて稼動させる新設計算機との、実業務の稼動環境と同じ条件下における並行運転テストを支援するためにコンピュータが実行するテスト支援方法であって、
上記本番系システム内で上記通信回線を介して上記既設計算機と上記通信機器との間で送受信される通信パケットをキャプチャーし、当該通信パケットが上記既設計算機から出力された送信パケットであるか、上記既設計算機へ入力される受信パケットであるのかを上記通信パケットに含まれるヘッダ情報を基に判定するキャプチャーステップと、
上記キャプチャーステップによってキャプチャーされた通信パケットが上記送信パケットであるときに当該送信パケットを送信パケット記憶媒体に転送する第1の転送ステップと、
上記キャプチャーステップによってキャプチャーされた通信パケットが上記受信パケットであるときに当該受信パケットに含まれる上記ヘッダ情報を再設定して複製し、当該複製した受信パケットを上記新設計算機に転送する第2の転送ステップと、
上記キャプチャーステップでキャプチャーされ上記送信パケット記憶媒体に記憶されていた送信パケットと、上記新設計算機により上記複製した受信パケットを処理して出力された新たな通信パケットとを比較処理して、上記既設計算機から出力された動作結果と、上記新設計算機から出力された動作結果とを比較する比較ステップと、
上記比較ステップによる比較の結果、上記既設計算機から出力された動作結果と上記新設計算機から出力された動作結果とが異なっていた場合に、上記新設計算機における動作履歴を保存する動作履歴保存ステップと、
を有することを特徴とするテスト支援方法。
The same conditions as the actual operating environment of the existing computer operating in the production system consisting of the existing computer and communication equipment connected via the communication line, and the new computer operating by replacing the existing computer a test support method executed by a computer in order to assist the parallel operation test under,
Capture a communication packet transmitted and received between the existing computer and the communication device via the communication line in the production system, and the communication packet is a transmission packet output from the existing computer, or A capture step of determining whether the received packet is input to an existing computer based on header information included in the communication packet;
A first transfer step of transferring the transmission packet to a transmission packet storage medium when the communication packet captured by the capture step is the transmission packet;
When the communication packet captured by the capture step is the received packet, the header information included in the received packet is reset and copied, and the second transfer for transferring the copied received packet to the new computer Steps,
A comparison process is performed between the transmission packet captured in the capture step and stored in the transmission packet storage medium, and the new communication packet output by processing the received packet copied by the new computer, and the existing computer A comparison step for comparing the operation result output from the operation result output from the new computer,
As a result of comparison by the comparison step, when the operation result output from the existing computer is different from the operation result output from the new computer, an operation history storage step of storing the operation history in the new computer;
A test support method characterized by comprising:
上記動作履歴保存ステップは、上記新設計算機に設けられた記憶媒体に上記動作履歴を保存するようにすることを特徴とする請求項4に記載のテスト支援方法。   5. The test support method according to claim 4, wherein the operation history storing step stores the operation history in a storage medium provided in the new computer.
JP2004105119A 2004-03-31 2004-03-31 Test support apparatus and test support method Expired - Lifetime JP4500085B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004105119A JP4500085B2 (en) 2004-03-31 2004-03-31 Test support apparatus and test support method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004105119A JP4500085B2 (en) 2004-03-31 2004-03-31 Test support apparatus and test support method

Publications (2)

Publication Number Publication Date
JP2005293053A JP2005293053A (en) 2005-10-20
JP4500085B2 true JP4500085B2 (en) 2010-07-14

Family

ID=35325939

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004105119A Expired - Lifetime JP4500085B2 (en) 2004-03-31 2004-03-31 Test support apparatus and test support method

Country Status (1)

Country Link
JP (1) JP4500085B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009145769A1 (en) 2008-05-29 2009-12-03 Hewlett-Packard Development Company, L.P. Method and system of testing software using real time replication
JP5304674B2 (en) * 2010-02-02 2013-10-02 富士通株式会社 Data conversion apparatus, data conversion method and program
JP6051955B2 (en) * 2013-03-05 2016-12-27 日本電気株式会社 Test support system and test support method
WO2018138832A1 (en) * 2017-01-26 2018-08-02 株式会社日立製作所 Information processing system and work migration method
WO2019012606A1 (en) * 2017-07-11 2019-01-17 東芝三菱電機産業システム株式会社 Computer update test assistance device

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02205938A (en) * 1989-02-03 1990-08-15 Nec Corp Automatic verifying system for on-line system
JPH03222044A (en) * 1990-01-29 1991-10-01 Nec Corp Online work program test system
JPH04281536A (en) * 1991-03-11 1992-10-07 Toshiba Corp Program retest system for conversational tool
JPH04335445A (en) * 1991-05-13 1992-11-24 Nec Corp Terminal fault information collecting system
JPH05250218A (en) * 1991-12-06 1993-09-28 Nec Corp On-line program test system
JPH0764825A (en) * 1993-08-25 1995-03-10 Nec Corp Automatic acquisition system for online fault data
JPH08328607A (en) * 1995-05-29 1996-12-13 Nippon Steel Corp Method for updating process computer
JPH0973425A (en) * 1995-09-04 1997-03-18 Mitsubishi Electric Corp Client simulator
JP2000010836A (en) * 1998-06-22 2000-01-14 Hitachi Information Systems Ltd Method for testing client-server type application, and recording medium where program for implementing the method has been recorded
JP2003140988A (en) * 2001-10-30 2003-05-16 Ando Electric Co Ltd Animation distribution server load test equipment
JP2004005085A (en) * 2002-05-31 2004-01-08 Hitachi Ltd Storage network performance measuring system
JP2004102901A (en) * 2002-09-12 2004-04-02 Maki Engineering:Kk Replacement system and replacement method for existing computer
JP4220861B2 (en) * 2003-08-26 2009-02-04 新日本製鐵株式会社 Test support method and test support apparatus

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02205938A (en) * 1989-02-03 1990-08-15 Nec Corp Automatic verifying system for on-line system
JPH03222044A (en) * 1990-01-29 1991-10-01 Nec Corp Online work program test system
JPH04281536A (en) * 1991-03-11 1992-10-07 Toshiba Corp Program retest system for conversational tool
JPH04335445A (en) * 1991-05-13 1992-11-24 Nec Corp Terminal fault information collecting system
JPH05250218A (en) * 1991-12-06 1993-09-28 Nec Corp On-line program test system
JPH0764825A (en) * 1993-08-25 1995-03-10 Nec Corp Automatic acquisition system for online fault data
JPH08328607A (en) * 1995-05-29 1996-12-13 Nippon Steel Corp Method for updating process computer
JPH0973425A (en) * 1995-09-04 1997-03-18 Mitsubishi Electric Corp Client simulator
JP2000010836A (en) * 1998-06-22 2000-01-14 Hitachi Information Systems Ltd Method for testing client-server type application, and recording medium where program for implementing the method has been recorded
JP2003140988A (en) * 2001-10-30 2003-05-16 Ando Electric Co Ltd Animation distribution server load test equipment
JP2004005085A (en) * 2002-05-31 2004-01-08 Hitachi Ltd Storage network performance measuring system
JP2004102901A (en) * 2002-09-12 2004-04-02 Maki Engineering:Kk Replacement system and replacement method for existing computer
JP4220861B2 (en) * 2003-08-26 2009-02-04 新日本製鐵株式会社 Test support method and test support apparatus

Also Published As

Publication number Publication date
JP2005293053A (en) 2005-10-20

Similar Documents

Publication Publication Date Title
US8042004B2 (en) Diagnosing communications between computer systems
US10148485B2 (en) Apparatus and method for on-process migration of industrial control and automation system across disparate network types
JP2019075691A (en) Mirror packet control program, mirror packet control method, and mirror packet control device
CN105975364B (en) Data back up method and device
US7831710B2 (en) Communication of offline status between computer systems
US20090271171A1 (en) Emulator device, and a method for testing a test target device
JP4500085B2 (en) Test support apparatus and test support method
JP4494860B2 (en) Test support system and test support method
JP2010504577A (en) Method and system for automatic transmission of print data, in particular for print job mirroring
JP2005148895A (en) Remote supervisory system, remote supervisory method for electronic apparatus, subordinate supervisory device, notification method for apparatus supervisory information, host supervisory device, communication method for maintenance data, program and recording medium
JP2008129968A (en) Network system
JP2008129628A (en) Communication system in system for processing predetermined operation by transferring message by multiple computer systems and message communication program
JP4220861B2 (en) Test support method and test support apparatus
JP2007233918A (en) Log information collection system, information processor, log information collection method and program
JP4258482B2 (en) iSCSI storage system and path multiplexing method in the system
JP2006260400A (en) Method of monitoring computer device condition
JP2006285453A (en) Information processor, information processing method, and information processing program
KR101511841B1 (en) Fault tolerance system based on virtual machine and method for arbitrating packets
CN106685697B (en) Method and system for recovering and processing abnormal marginal message data
JP2008225745A (en) Process control device, method, and program
JP2007329564A (en) File transmission terminal
EP3696675A1 (en) Information processing device, image forming apparatus, image forming system, and information processing method
JP2009277119A (en) Log recording system
JP6213496B2 (en) Control device, control method, and control program
JP4571159B2 (en) Network security protection equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081216

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100202

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100317

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100416

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

Free format text: PAYMENT UNTIL: 20130423

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4500085

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20130423

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20140423

Year of fee payment: 4

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