JP2011039723A - Test data creation device - Google Patents

Test data creation device Download PDF

Info

Publication number
JP2011039723A
JP2011039723A JP2009185574A JP2009185574A JP2011039723A JP 2011039723 A JP2011039723 A JP 2011039723A JP 2009185574 A JP2009185574 A JP 2009185574A JP 2009185574 A JP2009185574 A JP 2009185574A JP 2011039723 A JP2011039723 A JP 2011039723A
Authority
JP
Japan
Prior art keywords
data
test
test data
server
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009185574A
Other languages
Japanese (ja)
Inventor
Hideaki Yoshida
英聡 吉田
Yutaka Nishino
裕 西野
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.)
Toshiba Corp
Toshiba Digital Solutions Corp
Original Assignee
Toshiba Corp
Toshiba Solutions 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 Toshiba Corp, Toshiba Solutions Corp filed Critical Toshiba Corp
Priority to JP2009185574A priority Critical patent/JP2011039723A/en
Publication of JP2011039723A publication Critical patent/JP2011039723A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To easily create test data having attributes which are equivalent to those of production data while preventing the leakage of personal information included in the production data. <P>SOLUTION: Production data transmitted from a low order server to a high order server of a business system under operation are received in parallel or in the middle, and personal information included in the production data is converted on the basis of predetermined data conversion definition information, and test data whose data attributes are equal to those of the production data from which any individual cannot be predetermined are created, and the created test data are transmitted to a test object server as the alternative object of the high order server. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、種々のコンピュータシステムの運転テストに必要なテストデータを作成するテストデータ作成装置に関する。   The present invention relates to a test data creation apparatus for creating test data necessary for operation tests of various computer systems.

近年、企業等の日常の業務はコンピュータシステムによって支援されている。このような業務システムの開発や保守を行う際には、業務環境と同じ条件下で動作させ、プログラムの動作を十分に検証しなければならない。すなわち、業務システムの現実の運用においては、大量のデータが取り扱われるため、テスト段階においても現実のあらゆる運用状況を想定した大量のテストデータが必要である。しかし、質の高いテストデータを大量に作成することは困難な場合が多い。そのため、テストを行う場合には、現実の運用で作成されたデータ(以下、「本番データ」という。)をテストデータとして用いることが多い。   In recent years, daily operations of companies and the like are supported by computer systems. When developing and maintaining such a business system, it must be operated under the same conditions as the business environment and the operation of the program must be fully verified. In other words, since a large amount of data is handled in the actual operation of the business system, a large amount of test data that assumes every actual operation state is required even in the test stage. However, it is often difficult to create a large amount of high-quality test data. Therefore, in the case of performing a test, data created in actual operation (hereinafter referred to as “production data”) is often used as test data.

ETC(Electronic Toll Collection System)システムは高速道路における通行料金を収受する業務システムであり、中央管理サーバと各料金所に設けられたサーバとの間では車両が料金所を通過する度に利用明細データの送受信が行われている。このETCシステムでは、各料金所サーバから昼夜を問わず大量に送信される利用明細データは中央管理サーバにおいてクレジットカード番号毎に集計され、作成された課金情報がクレジットカード会社へ送信される。したがって、この業務システムを構成する上位サーバである中央管理サーバのテストを行う場合には、現実の運用で作成された利用明細データ(本番データ)を使用したテストを行わなければならない。しかしながら、利用明細データにはクレジットカード番号などの個人情報が含まれているため、テストを行う際には利用明細データにアクセスできるユーザの制限や利用明細データの持出禁止など個人情報保護のための各種対策も必要である。   The ETC (Electronic Toll Collection System) system is a business system that collects tolls on expressways, and usage data is sent between the central management server and the servers installed at each tollgate every time the vehicle passes through the tollgate. Are being sent and received. In this ETC system, usage details data transmitted in large quantities from day to night from each toll gate server is aggregated for each credit card number in the central management server, and the created billing information is transmitted to the credit card company. Therefore, when testing the central management server, which is a higher-level server constituting this business system, it is necessary to perform a test using the usage details data (production data) created in the actual operation. However, since usage details data includes personal information such as credit card numbers, it is necessary to protect personal information such as restrictions on users who can access usage details data and prohibition of usage details data when testing. Various measures are also necessary.

このような個人情報保護に関する技術として、個人情報を含む本番データから個人情報を特定できない持出データを作成し、この持出データから本番データと同等の属性を持つテストデータを作成し、個人情報の不正流出の防止と、テストデータの作成の効率化を図るテストデータ作成装置が知られている(特許文献1参照)。   As a technology related to personal information protection, create take-out data that cannot identify personal information from production data including personal information, create test data with attributes equivalent to production data from this take-out data, and There is known a test data creation device that prevents unauthorized leakage of data and improves the efficiency of test data creation (see Patent Document 1).

特開2008−65687号公報JP 2008-65687 A

しかしながら、上記の技術においては、個人情報が含まれた状態の本番データが一旦データベースに格納された後に、その本番データを改変してテストデータを作成する構成のため、データベースへアクセスできる場合には、個人情報が漏洩してしまう可能性がある。また、大規模な業務システムの運転テストには多くの人員が必要であるが、本番データにアクセスできるユーザが多ければ、情報の管理は更に困難となってしまう。   However, in the above technique, since the production data including the personal information is temporarily stored in the database and then the production data is modified to create test data, the database can be accessed. Personal information may be leaked. In addition, a large-scale business system operation test requires a large number of personnel, but if there are many users who can access production data, management of information becomes more difficult.

そこで、本発明は、上記従来技術の問題に鑑み、本番データに含まれる個人情報の漏洩を防止しつつ、本番データと同等の属性をもつテストデータを容易に作成できるテストデータ作成装置を提供することを目的とする。   In view of the above-described problems of the prior art, the present invention provides a test data creation device that can easily create test data having attributes equivalent to production data while preventing leakage of personal information included in production data. For the purpose.

本発明に係るテストデータ作成装置は、運用中の業務システムにおいて下位サーバから上位サーバへ送信される本番データを受信するデータ受信部と、予め定められたデータ変換定義情報に基づいて前記本番データに含まれる個人情報を変換し、前記本番データとデータ属性が等しく、かつ、個人を特定できないテストデータを作成するデータ変換部と、前記作成されたテストデータを前記上位サーバの代替対象となるテスト対象サーバへ送信するデータ送信部と、を備えることを特徴とする。   A test data creation device according to the present invention includes a data receiving unit that receives production data transmitted from a lower server to an upper server in an operational business system, and the production data based on predetermined data conversion definition information. A data conversion unit that converts the personal information included, creates test data that has the same data attributes as the production data, and cannot identify an individual, and a test target that is the replacement target of the host server for the created test data And a data transmission unit for transmission to the server.

本発明によれば、本番データに含まれる個人情報の漏洩を防止しつつ、本番データと同等の属性をもつテストデータを容易に作成できるテストデータ作成装置が提供される。   ADVANTAGE OF THE INVENTION According to this invention, the test data creation apparatus which can create test data with the attribute equivalent to production data easily is provided, preventing the leakage of the personal information contained in production data.

本発明の実施形態1に係るテストデータ作成装置が適用されるシステムの例を示すブロック図。1 is a block diagram showing an example of a system to which a test data creation apparatus according to Embodiment 1 of the present invention is applied. 図1に示すテストデータ作成装置のハードウェア構成例を示す図。The figure which shows the hardware structural example of the test data creation apparatus shown in FIG. 図1に示すテストデータ作成装置の構成例を示すブロック図。The block diagram which shows the structural example of the test data creation apparatus shown in FIG. 図1に示すデータ変換定義記憶部の記憶内容の具体例を示す図。The figure which shows the specific example of the memory content of the data conversion definition memory | storage part shown in FIG. 図1に示すテストデータ作成装置の処理例を示すフローチャート。The flowchart which shows the process example of the test data creation apparatus shown in FIG. 図1に示すデータ変換部におけるデータ変換処理を説明する図。The figure explaining the data conversion process in the data conversion part shown in FIG. 本発明の実施形態2に係るテストデータ作成装置が適用されるシステムの例を示すブロック図。The block diagram which shows the example of the system with which the test data creation apparatus which concerns on Embodiment 2 of this invention is applied. 図7に示すテストデータ作成装置の構成例を示すブロック図。The block diagram which shows the structural example of the test data creation apparatus shown in FIG. 図7に示すテストデータ作成装置の処理例を示すフローチャート。8 is a flowchart showing a processing example of the test data creation device shown in FIG. 本発明の実施形態3に係るテストデータ作成装置が適用されるシステムの例を示すブロック図。The block diagram which shows the example of the system with which the test data creation apparatus which concerns on Embodiment 3 of this invention is applied. 図10に示すテストデータ作成装置の構成例を示すブロック図。FIG. 11 is a block diagram illustrating a configuration example of the test data creation apparatus illustrated in FIG. 10. 図10に示すテストデータ作成装置の処理例を示すフローチャート。11 is a flowchart showing a processing example of the test data creation apparatus shown in FIG.

以下、本発明の実施形態について図面を用いて詳細に説明する。
<実施形態1>
図1は、本発明の実施形態1に係るテストデータ作成装置1が適用されるETCシステムの例を示すブロック図である。ここでは、テストデータ作成装置1が適用されるETCシステムは、一の既設中央管理サーバ2(上位サーバ)にネットワーク3を介して高速道路の各料金所の料金所サーバ4(下位サーバ)が接続されたコンピュータシステムであり、高速道路における料金収受を管理する。具体的には、料金所サーバ4に接続されたETCゲート5においてETC車載器を備えたETC車両6が通行する際に、ETC車載器に挿入されているETCカードの格納情報が無線通信によってETCゲート5の車線機器で読取られ、この情報が料金所サーバ4に伝えられると、料金所サーバ4は通行区間および車両種別等に応じた通行料金を含む利用明細データを既設中央管理サーバ2へ送信する。また、既設中央管理サーバ2は、各料金所サーバ4より送信される利用明細データをデータベース(図示省略する)に格納し、カード番号と利用日時で管理する。そして、既設中央管理サーバ2は、データベースに格納された利用明細データをカード利用者ごとに集計して、課金情報をクレジットカード会社システム7へ送信する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
<Embodiment 1>
FIG. 1 is a block diagram showing an example of an ETC system to which a test data creation apparatus 1 according to Embodiment 1 of the present invention is applied. Here, in the ETC system to which the test data creation device 1 is applied, the toll gate server 4 (lower server) of each tollgate on the expressway is connected to one existing central management server 2 (upper server) via the network 3. A computer system that manages toll collection on highways. Specifically, when an ETC vehicle 6 equipped with an ETC vehicle-mounted device passes through the ETC gate 5 connected to the toll gate server 4, the stored information of the ETC card inserted into the ETC vehicle-mounted device is transmitted by ETC via wireless communication. When the information is read by the lane device of the gate 5 and this information is transmitted to the toll gate server 4, the toll gate server 4 transmits the usage details data including the toll according to the toll section and the vehicle type to the existing central management server 2. To do. In addition, the existing central management server 2 stores the usage details data transmitted from each tollgate server 4 in a database (not shown), and manages it with the card number and the usage date and time. Then, the existing central management server 2 aggregates the usage details data stored in the database for each card user and transmits the billing information to the credit card company system 7.

テストデータ作成装置1は、既設中央管理サーバ2と同様に、ネットワーク3を介して料金所サーバ4に接続されており、料金所サーバ4より本番データである利用明細データを受信すると、この利用明細データに所定の変換処理を施してテストデータを作成し、既設中央管理サーバ2の代替対象となる新設中央管理サーバ8へテストデータを送信するコンピュータである。新設中央管理サーバ8では、このテストデータに基づいて各種の運転テストが行われる。   Similar to the existing central management server 2, the test data creation device 1 is connected to the toll gate server 4 via the network 3, and receives the usage details data that is the actual data from the toll gate server 4. This is a computer that performs predetermined conversion processing on the data to create test data, and transmits the test data to the new central management server 8 that is an alternative to the existing central management server 2. In the new central management server 8, various operation tests are performed based on the test data.

図2は、本発明の一実施形態に係るテストデータ作成装置1に適用されるコンピュータの構成例を示す図である。同図に示されるように、テストデータ作成装置1に適用されるコンピュータは、CPU(Central Processing Unit)11、ROM(Read Only Memory)12、RAM(Random Access Memory)13、入出力インターフェース14、システムバス15、入力装置16、表示装置17、補助記憶装置18および通信装置19から構成される。   FIG. 2 is a diagram illustrating a configuration example of a computer applied to the test data creation apparatus 1 according to an embodiment of the present invention. As shown in the figure, a computer applied to the test data creation apparatus 1 includes a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, an input / output interface 14, and a system. The bus 15, the input device 16, the display device 17, the auxiliary storage device 18, and the communication device 19 are included.

CPU11は、ROM12やRAM13に格納されたプログラムやデータを用いて各種の演算処理を実行する処理装置である。ROM12は、コンピュータを機能させるための基本プログラムや環境ファイルなどを記憶する読み取り専用の記憶装置である。RAM13は、CPU11が実行するプログラムおよび各プログラムの実行に必要なデータを記憶する記憶装置であり、高速な読み出しと書き込みが可能である。入出力インターフェース14は、各種のハードウェアとシステムバス15との接続を仲介する装置およびプログラムである。システムバス15は、CPU11、ROM12、RAM13および入出力インターフェース14で共有される情報伝達路である。   The CPU 11 is a processing device that executes various arithmetic processes using programs and data stored in the ROM 12 and the RAM 13. The ROM 12 is a read-only storage device that stores basic programs and environment files for causing the computer to function. The RAM 13 is a storage device that stores a program executed by the CPU 11 and data necessary for execution of each program, and can be read and written at high speed. The input / output interface 14 is a device and a program that mediate connection between various hardware and the system bus 15. The system bus 15 is an information transmission path shared by the CPU 11, ROM 12, RAM 13 and input / output interface 14.

また、入出力インターフェース14には、入力装置16、表示装置17、補助記憶装置18、および通信装置19などのハードウェアが接続されている。入力装置16は、ユーザからの入力を処理する装置であり、例えばキーボードやマウスなどである。表示装置17は、ユーザに対して演算結果や作成画面などを表示する装置であり、例えばCRT、液晶ディスプレイ、プラズマディスプレイなどである。補助記憶装置18は、プログラムやデータを蓄積する大容量の記憶装置であり、例えばハードディスク装置などである。   The input / output interface 14 is connected with hardware such as an input device 16, a display device 17, an auxiliary storage device 18, and a communication device 19. The input device 16 is a device that processes input from a user, and is, for example, a keyboard or a mouse. The display device 17 is a device that displays a calculation result, a creation screen, and the like to the user, and is, for example, a CRT, a liquid crystal display, a plasma display, or the like. The auxiliary storage device 18 is a large-capacity storage device that stores programs and data, and is, for example, a hard disk device.

図3は、図1に示すテストデータ作成装置1の構成例を示すブロック図である。同図に示されるように、テストデータ作成装置1は、データ受信部101、データ変換定義作成部102、データ変換定義記憶部103、データ変換部104およびデータ送信部105を含んでいる。   FIG. 3 is a block diagram showing a configuration example of the test data creation apparatus 1 shown in FIG. As shown in the figure, the test data creation apparatus 1 includes a data reception unit 101, a data conversion definition creation unit 102, a data conversion definition storage unit 103, a data conversion unit 104, and a data transmission unit 105.

データ受信部101は、ETCシステム(業務システム)の運用中に料金所サーバ4(下位サーバ)から既設中央管理サーバ2(上位サーバ)へ送信される利用明細データ(本番データ)を受信するプログラムである。本実施形態では、料金所サーバ4において利用明細データの送信先には既設中央管理サーバ2とテストデータ作成装置1が予め設定されており、テストデータ作成装置1は既設中央管理サーバ2と同じデータを平行して受信するものとする。   The data receiving unit 101 is a program that receives usage details data (production data) transmitted from the toll gate server 4 (lower server) to the existing central management server 2 (upper server) during operation of the ETC system (business system). is there. In the present embodiment, the existing central management server 2 and the test data creation device 1 are set in advance as transmission destinations of the usage details data in the toll gate server 4, and the test data creation device 1 has the same data as the existing central management server 2. Are received in parallel.

データ変換定義作成部102は、利用明細データ中で変換対象となる項目を定義するデータ変換定義情報を作成し、これをデータ変換定義記憶部103へ格納するプログラムである。本実施形態では、個人を特定可能な情報を変換対象とするが、変換対象は任意に指定できるものとする。図4は、図1に示すデータ変換定義記憶部103の記憶内容の具体例を示す図である。ここでは、料金所サーバ4から送信される利用明細データ(電文)に含まれるデータ項目名、データ開始位置、データ長、データ型に加えて変換を要する項目を判別する変換フラグが記憶されており、クレジットカード番号とカード有効期限を変換対象とすることが示されている。   The data conversion definition creation unit 102 is a program that creates data conversion definition information that defines items to be converted in the usage details data and stores the data conversion definition information in the data conversion definition storage unit 103. In this embodiment, information that can identify an individual is a conversion target, but the conversion target can be arbitrarily specified. FIG. 4 is a diagram showing a specific example of the contents stored in the data conversion definition storage unit 103 shown in FIG. Here, in addition to the data item name, data start position, data length, and data type included in the usage details data (message) transmitted from the toll booth server 4, a conversion flag for determining an item that needs to be converted is stored. It is indicated that the credit card number and the card expiration date are to be converted.

データ変換部104は、データ変換定義記憶部103に予め記憶されたデータ変換定義情報に基づいて利用明細データに含まれる個人情報を変換し、利用明細データとデータ属性が等しく、かつ、個人を特定できないテストデータを作成するプログラムである。尚、変換する方式は不可逆変換であれば特に限定されないが、新設中央管理サーバ8のデータベース(図示省略する)に格納できるデータとするために、データの型変換は行わず、データ属性(データ長およびデータ型)が利用明細データと同一となるものとする。   The data conversion unit 104 converts personal information included in the usage specification data based on the data conversion definition information stored in advance in the data conversion definition storage unit 103, and specifies the individual whose usage attribute data and data attributes are equal. This program creates test data that cannot be used. The conversion method is not particularly limited as long as it is an irreversible conversion. However, in order to obtain data that can be stored in the database (not shown) of the newly installed central management server 8, data type conversion is not performed, and data attributes (data length) And the data type) are the same as the usage details data.

データ送信部105は、データ変換部104において作成されたテストデータを既設中央管理サーバ2(上位サーバ)の代替対象(テスト対象)である新設中央管理サーバ8へ送信するプログラムである。   The data transmission unit 105 is a program that transmits the test data created in the data conversion unit 104 to the new central management server 8 that is a replacement target (test target) of the existing central management server 2 (higher server).

以下、上記のように構成されたテストデータ作成装置1の動作を図面に基づいて説明する。図5は、図1に示すテストデータ作成装置1の処理例を示すフローチャートである。   Hereinafter, the operation of the test data creating apparatus 1 configured as described above will be described with reference to the drawings. FIG. 5 is a flowchart showing a processing example of the test data creation apparatus 1 shown in FIG.

S501において、データ変換部104は、データ変換定義記憶部103よりデータ変換定義情報を取得する。
S502において、データ受信部101は、各料金所サーバ4より利用明細データを受信する。
In step S <b> 501, the data conversion unit 104 acquires data conversion definition information from the data conversion definition storage unit 103.
In S <b> 502, the data receiving unit 101 receives the usage details data from each tollgate server 4.

S503において、データ変換部104は、データ変換定義情報に基づいて利用明細データ中の変換対象項目である個人情報に係るデータを変換して作成したテストデータをデータ送信部105へ出力する。図6は、図1に示すデータ変換部104におけるデータ変換処理を説明する図である。ここでは、複数の利用明細データが受信され、データ内には料金所ID、クレジットカード番号、カード有効期限、利用日時、通行料金および車種コードなどが含まれているが、これらのデータ項目の内、クレジットカード番号とカード有効期限についてはデータ変換が行われ、利用明細データ中のクレジットカード番号とカード有効期限を推測不可能なデータに変更されたテストデータが作成されることが示されている。
S504において、データ送信部105は、データ変換部104より出力されたテストデータをテスト対象である新設中央管理サーバ8へ送信し、処理を終了する。
In step S <b> 503, the data conversion unit 104 outputs test data created by converting data related to personal information, which is an item to be converted in the usage specification data, based on the data conversion definition information to the data transmission unit 105. FIG. 6 is a diagram for explaining data conversion processing in the data conversion unit 104 shown in FIG. Here, a plurality of usage details data are received, and the data includes a toll gate ID, credit card number, card expiration date, usage date and time, toll and vehicle model code. Among these data items, It is shown that data conversion is performed for credit card numbers and card expiration dates, and test data is created in which the credit card numbers and card expiration dates in the usage statement data are changed to data that cannot be estimated. .
In step S504, the data transmission unit 105 transmits the test data output from the data conversion unit 104 to the new central management server 8 that is a test target, and ends the process.

このように、本実施形態に係るテストデータ作成装置1によれば、受信される利用明細データの中の個人情報がデータ属性を維持したままで改変がされるため、個人情報を保護した状態でテスト環境を作り、かつ、運用とテストへの切換が容易に行える仕組みを構築できる。また、データ変換部104において作成されたテストデータをテスト対象である新設中央管理サーバ8へリアルタイムで送信する構成のため、運用中の既設中央管理サーバ2にかけられる負荷と同じ負荷を新設中央管理サーバ8にかけることが可能となり、運転テストの信頼性を更に高めることができる。   As described above, according to the test data creation apparatus 1 according to the present embodiment, personal information in the received usage details data is modified while maintaining the data attributes, and thus the personal information is protected. A test environment can be created and a system that can easily switch between operation and test can be constructed. Further, because the test data created in the data conversion unit 104 is transmitted in real time to the new central management server 8 that is the test target, the same load as that applied to the existing central management server 2 in operation is loaded. The reliability of the driving test can be further increased.

<実施形態2>
図7は、本発明の実施形態2に係るテストデータ作成装置1が適用されるシステムの例を示すブロック図である。同図に示されるように、本実施形態に係るテストデータ作成装置1は、実施形態1と異なり、料金所中央管理センター内で運用中の既設中央管理サーバ2と料金所サーバ4の伝送上に配置した後に、装置をテスト現場に移動してテスト対象である新設中央管理サーバ8に接続できるように構成されている。尚、テストデータ作成装置1と既設中央管理サーバ2との接続が解除される際には、既設中央管理サーバ2は料金所サーバ4と直接接続されるものとする。
<Embodiment 2>
FIG. 7 is a block diagram illustrating an example of a system to which the test data creation apparatus 1 according to the second embodiment of the present invention is applied. As shown in the figure, the test data creation apparatus 1 according to the present embodiment differs from the first embodiment in the transmission of the existing central management server 2 and the toll gate server 4 operating in the toll gate central management center. After the arrangement, the apparatus is configured to be able to connect to the new central management server 8 to be tested by moving the apparatus to the test site. It is assumed that the existing central management server 2 is directly connected to the toll gate server 4 when the connection between the test data creation device 1 and the existing central management server 2 is released.

図8は、図7に示すテストデータ作成装置1の構成例を示すブロック図である。同図に示されるように、本実施形態に係るテストデータ作成装置1は、実施形態1に係るテストデータ作成装置1に対してテストデータ記憶部106を更に含んで構成されている。尚、図2において付された符号と共通する符号は同一の対象を表すため説明を省略し、以下では異なる箇所について詳細に説明する。   FIG. 8 is a block diagram illustrating a configuration example of the test data creation apparatus 1 illustrated in FIG. As shown in the figure, the test data creation device 1 according to the present embodiment is configured to further include a test data storage unit 106 with respect to the test data creation device 1 according to the first embodiment. In addition, since the code | symbol common with the code | symbol attached | subjected in FIG. 2 represents the same object, description is abbreviate | omitted and below demonstrates a different location in detail.

テストデータ記憶部106は、データ変換部104において作成されたテストデータを格納する記憶装置である。既設中央管理サーバ2と接続状態にあるとき、データ変換部104は、データ受信部101において逐次受信される利用明細データをデータ送信部105へそのままの状態で出力すると共に、データ変換定義記憶部103から取得されるデータ変換定義情報に基づいて利用明細データに含まれる個人情報を変換したテストデータを作成し、このテストデータをテストデータ記憶部106へ逐次格納する。   The test data storage unit 106 is a storage device that stores the test data created by the data conversion unit 104. When connected to the existing central management server 2, the data conversion unit 104 outputs the usage statement data sequentially received by the data reception unit 101 to the data transmission unit 105 as it is, and the data conversion definition storage unit 103. Based on the data conversion definition information acquired from the test data, test data obtained by converting personal information included in the usage details data is created, and this test data is sequentially stored in the test data storage unit 106.

また、データ送信部105は、新設中央管理サーバ8と接続状態となった後に、新設中央管理サーバ8よりテストデータの送信要求を受けると、テストデータ記憶部106からテストデータを取得して新設中央管理サーバ8へ送信を行う。   When the data transmission unit 105 receives a test data transmission request from the new central management server 8 after being connected to the new central management server 8, the data transmission unit 105 acquires the test data from the test data storage unit 106. Transmission to the management server 8 is performed.

以下、上記のように構成されたテストデータ作成装置1の動作を図面に基づいて説明する。図9は、図7に示すテストデータ作成装置1の処理例を示すフローチャートである。   Hereinafter, the operation of the test data creating apparatus 1 configured as described above will be described with reference to the drawings. FIG. 9 is a flowchart showing a processing example of the test data creation apparatus 1 shown in FIG.

S901において、データ送信部105は、運用中の既設中央管理サーバ2と接続状態にあるか否かを判定する。ここで、接続されていると判定された場合には、S902へ進む。これに対し、接続されていないと判定された場合には、接続されるまで待機状態となる。   In S901, the data transmission unit 105 determines whether or not it is connected to the existing central management server 2 in operation. If it is determined that the connection is established, the process proceeds to S902. On the other hand, if it is determined that it is not connected, it is in a standby state until it is connected.

S902において、データ変換部104は、データ変換定義記憶部103よりデータ変換定義情報を取得する。
S903において、データ受信部101は、各料金所サーバ4より利用明細データを受信する。
In step S <b> 902, the data conversion unit 104 acquires data conversion definition information from the data conversion definition storage unit 103.
In step S <b> 903, the data receiving unit 101 receives usage details data from each tollgate server 4.

S904において、データ送信部105は、データ受信部101において受信された利用明細データを既設中央管理サーバ2へ送信する。
S905において、データ変換部104は、データ変換定義情報に基づいて利用明細データ中の変換対象項目である個人情報に係るデータを変換し、テストデータを作成する。
In step S <b> 904, the data transmission unit 105 transmits the usage details data received by the data reception unit 101 to the existing central management server 2.
In step S <b> 905, the data conversion unit 104 converts data related to personal information that is a conversion target item in the usage details data based on the data conversion definition information, and creates test data.

S906において、データ変換部104は、変換によって作成されたテストデータをテストデータ記憶部106へ保存する。   In step S906, the data conversion unit 104 stores the test data created by the conversion in the test data storage unit 106.

S907において、データ受信部101は、既設中央管理サーバ2との接続が解除されているか否かを判定する。ここで、接続が解除されていると判定された場合には、S908へ進む。これに対し、接続が維持されていると判定された場合には、S903へ戻り、接続が解除されるまで、テストデータの作成と保存を繰り返す。   In S907, the data receiving unit 101 determines whether or not the connection with the existing central management server 2 has been released. If it is determined that the connection has been released, the process proceeds to S908. On the other hand, if it is determined that the connection is maintained, the process returns to S903, and the creation and storage of test data are repeated until the connection is released.

S908において、データ送信部105は、テスト対象の新設中央管理サーバ8に接続されているか否かを判定する。ここで、接続されていると判定された場合には、S909へ進む。これに対し、接続されていないと判定された場合には、新設中央管理サーバ8に接続されるまで待機状態となる。   In step S908, the data transmission unit 105 determines whether or not it is connected to the new central management server 8 to be tested. If it is determined that the connection is established, the process proceeds to S909. On the other hand, if it is determined that the connection is not established, the standby state is maintained until the new central management server 8 is connected.

S909において、データ送信部105は、新設中央管理サーバ8よりテストデータの送信要求を受けるとテストデータ記憶部106に保存されているテストデータを抽出し、このテストデータをテスト対象である新設中央管理サーバ8へ送信し、処理を終了する。   In S909, when the data transmission unit 105 receives a test data transmission request from the new central management server 8, the data transmission unit 105 extracts the test data stored in the test data storage unit 106, and this test data is the new central management which is the test target. The data is transmitted to the server 8, and the process is terminated.

このように、本実施形態に係るテストデータ作成装置1によれば、テストデータ作成装置1に利用明細データの個人情報を改変したテストデータを一次蓄積した上で、テストデータ作成装置1を別の場所に設置されている新設中央管理サーバ8に接続できるため、本番データを利用したテスト環境を容易に構築することができる。すなわち、運用環境と個人情報などを改変したテストデータに基づくテスト環境をテストデータ作成装置1の着脱で簡単に切り換えることができる。このため、道路事業者から開発側のテスト用に本番データを借用するような場合には、道路事業者に対してデータの保全性、安全性を確保しつつ、運転テストの信頼性を高めることができる。   As described above, according to the test data creation device 1 according to the present embodiment, the test data creation device 1 is stored in the test data creation device 1 after temporarily storing the test data obtained by modifying the personal information of the usage details data. Since it is possible to connect to the newly installed central management server 8 installed at a place, a test environment using production data can be easily constructed. In other words, the test environment based on the test data obtained by modifying the operation environment and personal information can be easily switched by attaching / detaching the test data creation device 1. For this reason, when production data is borrowed from a road operator for testing on the development side, the reliability and reliability of driving tests should be improved while ensuring data integrity and safety for road operators. Can do.

<実施形態3>
図10は、本発明の実施形態3に係るテストデータ作成装置1が適用されるシステムの例を示すブロック図である。同図に示されるように、本実施形態に係るテストデータ作成装置1が適用されるETCシステムは、実施形態1と異なり、既設中央管理サーバ2Aおよび既設中央管理サーバ2Bの二つのサーバが設けられ、一方のサーバが運用され、他方のサーバが待機するように構成されている。ここでは、既設中央管理サーバ2Aが運用され、待機中の既設中央管理サーバ2Bをテスト対象とする場合を示している。また、テストデータ作成装置1は、既設中央管理サーバ2Aおよび2Bと各料金所サーバ4との間に配置され、利用明細データを中継するノードとして構成されている。
<Embodiment 3>
FIG. 10 is a block diagram illustrating an example of a system to which the test data creation device 1 according to Embodiment 3 of the present invention is applied. As shown in the figure, unlike the first embodiment, the ETC system to which the test data creation apparatus 1 according to the present embodiment is applied includes two servers, an existing central management server 2A and an existing central management server 2B. One server is operated, and the other server is on standby. Here, a case is shown in which the existing central management server 2A is operated and the existing central management server 2B on standby is set as a test target. The test data creation device 1 is arranged between the existing central management servers 2A and 2B and each toll gate server 4, and is configured as a node that relays the usage details data.

図11は、図10に示すテストデータ作成装置1の構成例を示すブロック図である。同図に示されるように、本実施形態に係るテストデータ作成装置1は、実施形態1に係るテストデータ作成装置1に対してテスト対象切替部107を更に含んで構成されている。尚、図2において付された符号と共通する符号は同一の対象を表すため説明を省略し、以下では異なる箇所について詳細に説明する。   FIG. 11 is a block diagram showing a configuration example of the test data creation apparatus 1 shown in FIG. As shown in the figure, the test data creation device 1 according to the present embodiment is configured to further include a test target switching unit 107 with respect to the test data creation device 1 according to the first embodiment. In addition, since the code | symbol common with the code | symbol attached | subjected in FIG. 2 represents the same object, description is abbreviate | omitted and below demonstrates a different location in detail.

テスト対象切替部107は、外部入力されたテスト対象指定情報に基づいてテストデータの送信先を変更し、テスト対象サーバを切替えるプログラムである。本実施形態では、テスト対象指定情報は環境ファイル(図示省略する)に記録され、データ送信部105がデータ送信時に参照するものとし、既設中央管理サーバ2Aまたは既設中央管理サーバ2Bのいずれかが指定される。また、外部入力の方法例としては、テスト対象切替画面(図示省略する)を表示してマウス等の入力装置16を用いて選択する方法やテストデータ作成装置1内部にスイッチを設ける方法などが挙げられる。   The test target switching unit 107 is a program that changes a test data transmission destination based on externally input test target designation information and switches a test target server. In the present embodiment, the test target designation information is recorded in an environment file (not shown) and is referred to by the data transmission unit 105 at the time of data transmission, and is designated by either the existing central management server 2A or the existing central management server 2B. Is done. Examples of the external input method include a method of displaying a test object switching screen (not shown) and selecting it using the input device 16 such as a mouse, and a method of providing a switch in the test data creation device 1. It is done.

以下、上記のように構成されたテストデータ作成装置1の動作を図面に基づいて説明する。図12は、図10に示すテストデータ作成装置1の処理例を示すフローチャートである。   Hereinafter, the operation of the test data creating apparatus 1 configured as described above will be described with reference to the drawings. FIG. 12 is a flowchart showing a processing example of the test data creation apparatus 1 shown in FIG.

S1201において、テスト対象切替部107は、テスト対象の切替要求である外部入力情報の有無を判定する。ここで、テスト対象の切替要求有りと判定された場合はS1202へ進む。これに対し、テスト対象の切替要求無しと判定された場合はS1203へ進む。   In step S1201, the test target switching unit 107 determines the presence / absence of external input information that is a test target switching request. If it is determined that there is a request to switch the test target, the process proceeds to S1202. On the other hand, if it is determined that there is no request to switch the test target, the process proceeds to S1203.

S1202において、データ送信部105は、外部入力情報に基づいてデータ送信先を定義するテスト対象指定情報を更新する。
S1203において、データ受信部101は、各料金所サーバ4より利用明細データを受信する。
S1204において、データ送信部105は、テスト対象指定情報を取得する。
In S1202, the data transmission unit 105 updates the test target designation information that defines the data transmission destination based on the external input information.
In S <b> 1203, the data receiving unit 101 receives usage details data from each tollgate server 4.
In step S1204, the data transmission unit 105 acquires test target designation information.

S1205において、データ送信部105は、データ受信部101において受信された利用明細データをテスト対象指定情報に基づいて運用中のサーバ(既設中央管理サーバ2A)へ送信する。
S1206において、データ変換部104は、データ変換定義記憶部103よりデータ変換定義情報を取得する。
S1207において、データ変換部104は、データ変換定義情報に基づいて利用明細データ中の変換対象項目である個人情報に係るデータを変換し、テストデータを作成する。
In step S1205, the data transmission unit 105 transmits the usage details data received by the data reception unit 101 to the operating server (existing central management server 2A) based on the test target designation information.
In step S <b> 1206, the data conversion unit 104 acquires data conversion definition information from the data conversion definition storage unit 103.
In step S1207, the data conversion unit 104 converts data related to personal information, which is an item to be converted in the usage details data, based on the data conversion definition information, and creates test data.

S1208において、データ送信部105は、データ変換部104において作成されたテストデータをテスト対象指定情報に基づいてテスト対象サーバ(既設中央管理サーバ2B)へ送信し、処理を終了する。   In S1208, the data transmission unit 105 transmits the test data created in the data conversion unit 104 to the test target server (existing central management server 2B) based on the test target designation information, and ends the process.

このように、本実施形態に係るテストデータ作成装置1によれば、個人情報などの機密情報にデータ保護を施した上でテスト可能なテスト環境と運用環境の切換が容易に行えると共に、テストで利用する際に個人情報の漏洩を防止することができる。   As described above, according to the test data creation apparatus 1 according to the present embodiment, it is possible to easily switch between a test environment and an operation environment that can be tested after data protection is performed on confidential information such as personal information. Leakage of personal information can be prevented when using.

尚、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。すなわち、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。更に、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。   Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. That is, some components may be deleted from all the components shown in the embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.

例えば、上記実施形態ではテストデータ作成装置1をETCシステムに適用したが、適用される業務システムはこれに限定されない、金融システム、受注出荷システム、電子カルテ管理システムなどの他の業務システムでもよい。ネットワーク接続された下位サーバ(または端末)から送信される個人情報や機密情報を含んだ本番データを上位サーバで処理する業務システムのテストに利用可能である。   For example, in the above embodiment, the test data creation apparatus 1 is applied to the ETC system, but the business system to be applied is not limited to this, and may be other business systems such as a financial system, an order shipment system, and an electronic medical record management system. It can be used for testing a business system in which production data including personal information and confidential information transmitted from a lower server (or terminal) connected to a network is processed by the upper server.

また、データ変換の対象項目を環境ファイルの更新によって変更可能な構成としたが、業務システムや本番データの構成によっては変更が不要な場合などには、変換プログラムの中に直接定義するとしてもよい。任意に設計変更可能である。   In addition, the data conversion target item can be changed by updating the environment file. However, if the change is not required depending on the configuration of the business system or production data, it may be defined directly in the conversion program. . The design can be arbitrarily changed.

更に、上記実施形態2においては、テストデータ記憶部106に格納されているテストデータの送信タイミングに関してはテストデータの送信要求があった場合としたが、テストデータには利用明細データの個人情報を改変したデータとは別に、利用明細データの受信時刻データ(利用日時)が保存されているため、データ送信部105に受信時と同タイミングでテストデータを送信して単位時間当たりのデータ量を調節することで、テストの場所や時間が異なる場合であっても運用中の既設中央管理サーバ2にかけられた負荷と同じ負荷を新設中央管理サーバ8にかけることが可能となり、運転テストの信頼性を更に高めることができる。   Further, in the second embodiment, the test data transmission timing stored in the test data storage unit 106 is assumed to be a test data transmission request. Since the usage time data reception time data (utilization date and time) is stored separately from the modified data, the test data is transmitted to the data transmission unit 105 at the same time as reception to adjust the data amount per unit time. This makes it possible to apply the same load to the newly installed central management server 8 as the load applied to the existing central management server 2 in operation even when the test location and time are different, and to improve the reliability of the operation test. It can be further increased.

1…テストデータ作成装置
2,2A,2B…既設中央管理サーバ
3…ネットワーク
4…料金所サーバ
5…ETCゲート
6…ETC車両
7…クレジットカード会社システム
8…新設中央管理サーバ
11…CPU
12…ROM
13…RAM
14…入出力インターフェース
15…システムバス
16…入力装置
17…表示装置
18…補助記憶装置
19…通信装置
101…データ受信部
102…データ変換定義作成部
103…データ変換定義記憶部
104…データ変換部
105…データ送信部
106…テストデータ記憶部
107…テスト対象切替部
DESCRIPTION OF SYMBOLS 1 ... Test data creation apparatus 2, 2A, 2B ... Existing central management server 3 ... Network 4 ... Toll gate server 5 ... ETC gate 6 ... ETC vehicle 7 ... Credit card company system 8 ... New central management server 11 ... CPU
12 ... ROM
13 ... RAM
DESCRIPTION OF SYMBOLS 14 ... Input / output interface 15 ... System bus 16 ... Input device 17 ... Display device 18 ... Auxiliary storage device 19 ... Communication device 101 ... Data receiving unit 102 ... Data conversion definition creation unit 103 ... Data conversion definition storage unit 104 ... Data conversion unit 105 ... Data transmission unit 106 ... Test data storage unit 107 ... Test target switching unit

Claims (5)

運用中の業務システムにおいて下位サーバから上位サーバへ送信される本番データを受信するデータ受信部と、
予め定められたデータ変換定義情報に基づいて前記本番データに含まれる個人情報を変換し、前記本番データとデータ属性が等しく、かつ、個人を特定できないテストデータを作成するデータ変換部と、
前記作成されたテストデータを前記上位サーバの代替対象となるテスト対象サーバへ送信するデータ送信部と、
を備えることを特徴とするテストデータ作成装置。
A data receiving unit for receiving production data transmitted from the lower server to the upper server in the operating business system;
A data conversion unit that converts personal information included in the production data based on predetermined data conversion definition information, creates test data that has the same data attributes as the production data and cannot identify an individual, and
A data transmission unit for transmitting the created test data to a test target server to be a replacement target of the upper server;
A test data creation device comprising:
前記データ変換部において作成された前記テストデータを保存するテストデータ記憶部を更に備え、
前記データ変換部は、前記上位サーバとの接続状態において前記変換によって作成したテストデータを前記テストデータ記憶部に保存し、かつ、前記データ送信部は、前記テスト対象サーバとの接続状態において前記テストデータ記憶部に保存された前記テストデータを抽出して前記テスト対象サーバへ送信することを特徴とする請求項1記載のテストデータ作成装置。
A test data storage unit for storing the test data created in the data conversion unit;
The data conversion unit stores the test data created by the conversion in the connection state with the host server in the test data storage unit, and the data transmission unit stores the test data in the connection state with the test target server. The test data creation apparatus according to claim 1, wherein the test data stored in a data storage unit is extracted and transmitted to the test target server.
外部入力されたテスト対象指定情報に基づいて前記テストデータの送信先を変更し、前記テスト対象サーバを切替えるテスト対象切替部を更に備えることを特徴とする請求項1記載のテストデータ作成装置。   The test data creation apparatus according to claim 1, further comprising a test target switching unit that changes a transmission destination of the test data based on externally input test target designation information and switches the test target server. 前記データ送信部は、前記テストデータ記憶部に保存された前記テストデータに含まれる受信時刻データに基づいて単位時間当たりのデータ送信量を調節し、前記テストデータを前記テスト対象サーバへ送信することを特徴とする請求項2記載のテストデータ作成装置。   The data transmission unit adjusts a data transmission amount per unit time based on reception time data included in the test data stored in the test data storage unit, and transmits the test data to the test target server. The test data creation device according to claim 2. 前記上位サーバが、高速道路網内に複数設けられた料金所における通行料金の収受を中央管理する中央管理サーバであり、かつ、
前記下位サーバが、前記料金所においてネットワークを介して前記中央管理サーバに接続され、ETC車載器を搭載した車両が前記料金所を通過する度に利用明細データを作成して前記中央管理サーバへ送信する料金所サーバである場合に、
前記データ受信部は、前記利用明細データを前記本番データとして受信し、かつ、前記データ変換部は、少なくとも前記利用明細データに含まれるクレジットカード番号を変換して前記テストデータを作成することを特徴とする請求項1乃至請求項4のいずれか一項記載のテストデータ作成装置。
The upper server is a central management server that centrally manages the collection of tolls at a toll booth provided in a plurality of expressway networks; and
The subordinate server is connected to the central management server via the network at the toll gate, and generates usage data and transmits it to the central management server each time a vehicle equipped with an ETC on-board unit passes through the toll gate If it is a tollgate server to
The data receiving unit receives the usage specification data as the production data, and the data conversion unit converts the credit card number included in at least the usage specification data to create the test data. The test data creation device according to any one of claims 1 to 4.
JP2009185574A 2009-08-10 2009-08-10 Test data creation device Pending JP2011039723A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009185574A JP2011039723A (en) 2009-08-10 2009-08-10 Test data creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009185574A JP2011039723A (en) 2009-08-10 2009-08-10 Test data creation device

Publications (1)

Publication Number Publication Date
JP2011039723A true JP2011039723A (en) 2011-02-24

Family

ID=43767438

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009185574A Pending JP2011039723A (en) 2009-08-10 2009-08-10 Test data creation device

Country Status (1)

Country Link
JP (1) JP2011039723A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016062136A (en) * 2014-09-16 2016-04-25 三菱電機株式会社 Testing apparatus and testing program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05250218A (en) * 1991-12-06 1993-09-28 Nec Corp On-line program test system
JP2007257258A (en) * 2006-03-23 2007-10-04 Honda Motor Co Ltd Vehicle surroundings monitoring system, vehicle, vehicle surroundings monitoring program, and configuration method for vehicle surroundings monitoring system
JP2008065687A (en) * 2006-09-08 2008-03-21 Fujitsu Ltd Test data generation device
JP2010152459A (en) * 2008-12-24 2010-07-08 Canon It Solutions Inc Data masking system, method therefor, program, recording medium and data masking device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05250218A (en) * 1991-12-06 1993-09-28 Nec Corp On-line program test system
JP2007257258A (en) * 2006-03-23 2007-10-04 Honda Motor Co Ltd Vehicle surroundings monitoring system, vehicle, vehicle surroundings monitoring program, and configuration method for vehicle surroundings monitoring system
JP2008065687A (en) * 2006-09-08 2008-03-21 Fujitsu Ltd Test data generation device
JP2010152459A (en) * 2008-12-24 2010-07-08 Canon It Solutions Inc Data masking system, method therefor, program, recording medium and data masking device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016062136A (en) * 2014-09-16 2016-04-25 三菱電機株式会社 Testing apparatus and testing program

Similar Documents

Publication Publication Date Title
Macher et al. A review of threat analysis and risk assessment methods in the automotive context
US10572685B1 (en) Protecting sensitive data
Galster et al. A taxonomy for identifying and specifying non-functional requirements in service-oriented development
CN107886439A (en) Insurance products development approach, device, equipment and computer-readable recording medium
US20030055659A1 (en) Method and system for facilitating product development processes
CN106775751A (en) A kind of web front-end frame system and framework method
CN104715309A (en) Service control method and device
SA517381214B1 (en) Device Hierarchy Building for A Remote Terminal Unit
JP5533188B2 (en) Financial data processing apparatus, financial data processing method, and financial data processing program
US20130111280A1 (en) Method, system, and computer program product for electronic messaging
US8607205B2 (en) Automatic generation of functional emulators for web service
US20210042091A1 (en) Technical building block
JP2011039723A (en) Test data creation device
CN111798338A (en) Smart tourism GDS method, system and intermediate server
CN111161052A (en) Bank operation data processing method and device
WO2011132470A1 (en) Financial data processing device
KR20140063053A (en) Financial service hub system for providing integrated financial service
CN108052842A (en) Storage, verification method and the device of signed data
US11928626B2 (en) System and method for persisting data generated in executing a process workflow
Barbosa et al. An architecture proposal for the creation of a database to open data related to ITS in smart cities
CN105389295A (en) Data processing method and system for card personalization
CN110457658A (en) Text file configuration method and device
Lin et al. Formulating multi-class user equilibrium using mixed-integer linear programming
US20080262861A1 (en) User identification management system and method
Janssen et al. From legacy to modularity: a roadmap towards modular architectures using web services technology

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110719

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110720

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20111115