JP6799695B2 - Database integration testing methods, equipment, servers, and recording media - Google Patents

Database integration testing methods, equipment, servers, and recording media Download PDF

Info

Publication number
JP6799695B2
JP6799695B2 JP2019563048A JP2019563048A JP6799695B2 JP 6799695 B2 JP6799695 B2 JP 6799695B2 JP 2019563048 A JP2019563048 A JP 2019563048A JP 2019563048 A JP2019563048 A JP 2019563048A JP 6799695 B2 JP6799695 B2 JP 6799695B2
Authority
JP
Japan
Prior art keywords
database
script
execution
file
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2019563048A
Other languages
Japanese (ja)
Other versions
JP2020520515A (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Publication of JP2020520515A publication Critical patent/JP2020520515A/en
Application granted granted Critical
Publication of JP6799695B2 publication Critical patent/JP6799695B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Data Mining & Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Description

本願は、中国知的財産局に2017年06月20日に出願された、出願番号が2017104706440の「データベースの統合テスト方法、装置、コンピューターデバイス、および記録媒体」をタイトルとした中国特許出願の優先権を主張するものであり、その全内容を参照によりここに援用する。 This application is prioritized for a Chinese patent application filed with the Chinese Intellectual Property Office on June 20, 2017, entitled "Database Integration Testing Methods, Devices, Computer Devices, and Recording Media" with application number 2017104706440. It claims the right and the entire contents are incorporated herein by reference.

本発明はデータベース統合分野に関し、特にデータベースの統合テスト方法、装置、サーバ、および記録媒体に関する。 The present invention relates to the field of database integration, in particular to database integration test methods, devices, servers, and recording media.

データベースは、転送とパブリッシングに関するテスト過程において、スクリプト実行異常が比較的頻繁に発生される。スクリプト実行異常があると、データベースファイルを修正し、修正したスクリプトの正確さを再び検証する必要がある。従来、テストに異常があったとき、データベースのデータをクリアし、データベースが作られた当時から最新バージョンまで全ての歴史データ及びスクリプトを再び配置する。そして、スクリプトを再検証する際に、データベースが作られた当時から最新バージョンまで全てのスクリプトを動作させる必要がある。上記の方法によれば、全てのスクリプトを統合的に維持して配置する必要があるため、スクリプト配置が難しくなり、データベースの統合テストする際の実行時間が長くなり、効率が低い。 The database is relatively frequent with script execution anomalies during the forwarding and publishing testing process. If there is a script execution error, you need to modify the database file and re-verify the accuracy of the modified script. Conventionally, when there is an abnormality in the test, the data in the database is cleared, and all historical data and scripts are relocated from the time the database was created to the latest version. And when revalidating the script, it is necessary to run all the scripts from the time the database was created to the latest version. According to the above method, since it is necessary to maintain and deploy all the scripts in an integrated manner, it becomes difficult to deploy the scripts, the execution time for the database integration test becomes long, and the efficiency is low.

本願の各実施例によれば、データベースの統合テスト方法、装置、サーバ、および記録媒体を提供する。 According to each embodiment of the present application, a database integration test method, an apparatus, a server, and a recording medium are provided.

データベースの統合テスト方法であって、
最新バージョンのデータベースファイルを受信するステップと、
前記最新バージョンのデータベースファイルに対応する基準データベース情報を取得し、前記基準データベース情報に基づいて前記最新バージョンのデータベースファイルに対応するデータベース基準データを検索するステップと、
現在のデータベースにおいてのデータを前記データベース基準データに置き換えるステップと、
前記最新バージョンのデータベースファイルから実行スクリプトファイルを抽出し、前記実行スクリプトファイルにおける実行スクリプトをデータが置き換えられた前記現在のデータベースに配置して、配置完了後、前記実行スクリプトを動作させるステップと、を含む前記データベースの統合テスト方法である。
A database integration test method
Steps to receive the latest version of the database file,
A step of acquiring the reference database information corresponding to the latest version of the database file and searching for the database reference data corresponding to the latest version of the database file based on the reference database information.
The step of replacing the data in the current database with the database reference data,
A step of extracting an execution script file from the latest version of the database file, arranging the execution script in the execution script file in the current database in which data has been replaced, and operating the execution script after the arrangement is completed. It is an integration test method of the said database including.

データベースの統合テスト装置であって、
最新バージョンのデータベースファイルを受信するファイル受信モジュールと、
前記最新バージョンのデータベースファイルに対応する基準データベース情報を取得し、前記基準データベース情報に基づいて前記最新バージョンのデータベースファイルに対応するデータベース基準データを検索する基準データ検索モジュールと、
現在のデータベースにおいてのデータを前記データベース基準データに置き換えるデータ置換モジュールと、
前記最新バージョンのデータベースファイルから実行スクリプトファイルを抽出し、前記実行スクリプトファイルにおける実行スクリプトをデータが置き換えられた前記現在のデータベースに配置して、配置完了後、前記実行スクリプトを動作させるスクリプト配置動作モジュールと、を含む前記データベースの統合テスト装置である。
A database integration tester
A file receiving module that receives the latest version of the database file, and
A reference data search module that acquires reference database information corresponding to the latest version of the database file and searches for database reference data corresponding to the latest version of the database file based on the reference database information.
A data replacement module that replaces the data in the current database with the database reference data,
A script placement operation module that extracts an execution script file from the latest version of the database file, places the execution script in the execution script file in the current database in which data has been replaced, and operates the execution script after the placement is completed. Is an integrated test device for the database including.

指令を格納するメモリと、プロセッサとを含むサーバであって、前記指令が前記プロセッサに実行される際に、
最新バージョンのデータベースファイルを受信するステップと、
前記最新バージョンのデータベースファイルに対応する基準データベース情報を取得し、前記基準データベース情報に基づいて前記最新バージョンのデータベースファイルに対応するデータベース基準データを検索するステップと、
現在のデータベースにおいてのデータを前記データベース基準データに置き換えるステップと、
前記最新バージョンのデータベースファイルから最新バージョンの実行スクリプトファイルを抽出し、前記最新バージョンの実行スクリプトファイルを予め設定された規則に従て前記現在のデータベースに配置して、配置完了後、前記最新バージョンの実行スクリプトファイルを動作させるステップと、を前記プロセッサに実行させる前記サーバである。
A server that includes a memory for storing instructions and a processor, when the instructions are executed by the processor.
Steps to receive the latest version of the database file,
A step of acquiring the reference database information corresponding to the latest version of the database file and searching for the database reference data corresponding to the latest version of the database file based on the reference database information.
The step of replacing the data in the current database with the database reference data,
The latest version of the execution script file is extracted from the latest version of the database file, and the latest version of the execution script file is placed in the current database according to a preset rule. The server that causes the processor to execute the step of operating the execution script file.

コンピューター実行可能な指令が格納される一つ以上の非一時的な記録媒体であって、前記コンピューター実行可能な指令が一つ以上のプロセッサに実行される際に、
最新バージョンのデータベースファイルを受信するステップと、
前記最新バージョンのデータベースファイルに対応する基準データベース情報を取得し、前記基準データベース情報に基づいて前記最新バージョンのデータベースファイルに対応するデータベース基準データを検索するステップと、
現在のデータベースにおいてのデータを前記データベース基準データに置き換えるステップと、
前記最新バージョンのデータベースファイルから最新バージョンの実行スクリプトファイルを抽出し、前記最新バージョンの実行スクリプトファイルを予め設定された規則に従て前記現在のデータベースに配置して、配置完了後、前記最新バージョンの実行スクリプトファイルを動作させるステップと、を前記一つ以上のプロセッサに実行させる前記非一時的な記録媒体である。
One or more non-temporary recording media that stores computer-executable commands when the computer-executable commands are executed by one or more processors.
Steps to receive the latest version of the database file,
A step of acquiring the reference database information corresponding to the latest version of the database file and searching for the database reference data corresponding to the latest version of the database file based on the reference database information.
The step of replacing the data in the current database with the database reference data,
The latest version of the execution script file is extracted from the latest version of the database file, and the latest version of the execution script file is placed in the current database according to a preset rule. The non-temporary recording medium that causes one or more processors to execute a step of operating an execution script file.

本発明の一つ又は複数の実施例の詳細を以下の図面と記述により記載される。本発明の他の特徴、目的及び利点は明細書、図面及び請求項により明らかになる。 Details of one or more embodiments of the present invention are described in the drawings and description below. Other features, objects and advantages of the present invention will be apparent in the specification, drawings and claims.

本願の実施例または従来技術による技術案をより明確に説明するために、実施例または従来技術を記述するのに必要な図面を簡単に説明する。後述の図面は実施例に過ぎず、これらの図面に基づいて他の図面を得られることが、当業者にとって明らかである。
一つの実施例におけるデータベースの統合テスト方法の応用環境図である。 一つの実施例におけるコンピューターデバイスの構成を示す図である。 一つの実施例におけるデータベースの統合テスト方法のフローチャートである。 もう一つの実施例におけるデータベースの統合テスト方法のフローチャートである。 さらにもう一つの実施例におけるデータベースの統合テスト方法のフローチャートである。 一つの実施例におけるデータベースの統合テスト装置の構成を示す図である。 もう一つの実施例におけるデータベースの統合テスト装置の構成を示す図である。 さらにもう一つの実施例におけるデータベースの統合テスト装置の構成を示す図である。 それにもう一つの実施例におけるデータベースの統合テスト装置の構成を示す図である。
In order to more clearly explain the technical proposal according to the embodiment or the prior art of the present application, the drawings necessary for describing the embodiment or the prior art will be briefly described. It will be apparent to those skilled in the art that the drawings described below are merely examples and other drawings can be obtained based on these drawings.
It is an application environment diagram of the database integration test method in one Example. It is a figure which shows the structure of the computer device in one Example. It is a flowchart of the database integration test method in one Example. It is a flowchart of the database integration test method in another embodiment. It is a flowchart of the database integration test method in still another embodiment. It is a figure which shows the structure of the integration test apparatus of the database in one Example. It is a figure which shows the structure of the integration test apparatus of the database in another Example. It is a figure which shows the structure of the integration test apparatus of the database in still another Example. In addition, it is a figure which shows the structure of the database integration test apparatus in another Example.

本発明の目的、技術案および利点をより明確にするために、以下、添付した図面および実施例を参照して本発明を詳細に説明する。しかし、以下の実施例は、例示の目的のみに提供され、本発明を限定する目的ではないことが理解されるべきである。 In order to further clarify the object, technical proposal and advantages of the present invention, the present invention will be described in detail below with reference to the accompanying drawings and examples. However, it should be understood that the following examples are provided for illustrative purposes only and are not intended to limit the invention.

本発明の実施例によるデータベースの統合テスト方法は、図1に示す応用環境に応用することができる。図1に示すように、サーバ102は、適当なネットワークを経由して本番サーバ104に接続されている。サーバ102は、本番サーバ104から送信された最新バージョンのデータベースファイルを受信する。本番サーバ104は、本番用データベースを開発するか、又は古いバージョンのデータベースを更新する際に用いられる。本番サーバ104は、テストするために開発された最新バージョンのデータベースにおける関連フィルをサーバ102に送信する。最新バージョンのデータベースファイルに、データベースの基礎データ、対象データ、及び実行スクリプトファイル等のデータベース構築に必要なデータ及びファイルが含まれている。サーバ102は最新バージョンのデータベースファイルに対応する基準データベース情報を取得し、基準データベース情報に基づいて最新バージョンのデータベースファイルに対応するデータベース基準データを検索し、現在のデータベースにおいてのデータをデータベース基準データに置き換え、前記最新バージョンのデータベースファイルから実行スクリプトファイルを抽出し、実行スクリプトファイルにおいての実行スクリプトをデータが置き換えられた前記現在のデータベースに配置して、配置完了後、前記実行スクリプトを動作させることにより、スピティなデータベースの統合テストを実現できる。 The database integration test method according to the embodiment of the present invention can be applied to the application environment shown in FIG. As shown in FIG. 1, the server 102 is connected to the production server 104 via an appropriate network. The server 102 receives the latest version of the database file transmitted from the production server 104. The production server 104 is used when developing a production database or updating an older version of the database. The production server 104 sends the relevant fills in the latest version of the database developed for testing to the server 102. The latest version of the database file contains the basic data of the database, the target data, and the data and files necessary for database construction such as the execution script file. The server 102 acquires the reference database information corresponding to the latest version database file, searches the database reference data corresponding to the latest version database file based on the reference database information, and uses the data in the current database as the database reference data. By replacing, extracting the execution script file from the latest version of the database file, arranging the execution script in the execution script file in the current database in which the data has been replaced, and operating the execution script after the arrangement is completed. , Can realize spicy database integration test.

図2は一つの実施例におけるサーバの構成を示す図である。当該サーバは、システムバスで接続されるプロセッサ、メモリ及びネットワークインタフェースを含む。当該プロセッサは、演算及び制御の機能を提供し、全サーバの動作をサポートする。メモリは、データや、指令コードなどを格納し、全てのバージョンの基準データベースの基準データベース情報、及び各基準データベースのデータベース基準データを格納する。ネットワークインタフェースは、ネットワークを経由して外部の本番サーバ及びサーバ等と接続されて通信されることに用いられる。 FIG. 2 is a diagram showing a server configuration in one embodiment. The server includes a processor, memory and network interface connected by a system bus. The processor provides arithmetic and control functions and supports the operation of all servers. The memory stores data, a command code, and the like, and stores the reference database information of all versions of the reference database and the database reference data of each reference database. The network interface is used to connect and communicate with an external production server, a server, or the like via a network.

当該メモリには、少なくとも一つのコンピューター実行可能な指令が記憶されている。当該コンピューター実行可能な指令はプロセッサに実行されるより、本願の各実施例におけるデータベースの統合テスト方法を実現できる。メモリは、磁気ディスク、光ディスク、読出し専用メモリー(Read Only Memory、ROM)などの非一時的な記録媒体、或いはランダムメモリ(Random Access Memory、ROM)を含んでよい。一つの実施例において、メモリは非一時的な記録媒体及び内部メモリを含む。サーバの非一時的な記録媒体には、オペレーティングシステム、データベース、及びコンピューター実行可能な指令が格納されている。当該データベースに、下記の各実施例に関するデータベースの統合テスト方法を実現するための関連データが格納されている。当該コンピューター実行可能な指令はプロセッサに実行するより、下記の各実施例に関するデータベースの統合テスト方法を実現できる。端末における内部メモリは、非一時的な記録媒体のオペレーティングシステム、データベース及びコンピューター実行可能な指令をキャッシュという実行環境を提供する。 At least one computer-executable command is stored in the memory. Since the computer-executable command is executed by the processor, the database integration test method in each embodiment of the present application can be realized. The memory may include a non-temporary recording medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random memory (Random Access Memory, ROM). In one embodiment, the memory includes a non-temporary recording medium and an internal memory. The server's non-temporary recording medium contains operating systems, databases, and computer-executable commands. The database stores related data for realizing the database integration test method for each of the following examples. By executing the computer-executable command to the processor, it is possible to realize a database integration test method for each of the following examples. The internal memory in the terminal provides an execution environment called a non-temporary recording medium operating system, a database, and a cache of computer executable instructions.

図2に示す構成は、本願の技術案に係る部分的な構成のブロック図に過ぎなく、本願の技術案を応用するサーバを限定する目的ではないことが、当業者にとって理解できる。具体的なサーバは、図示より多く又は少ない部件を含み、或いは、幾つかの部件を組み合わせたり、異なる部件配置をしたりしてもよい。 It can be understood by those skilled in the art that the configuration shown in FIG. 2 is merely a block diagram of a partial configuration according to the technical proposal of the present application, and is not intended to limit the servers to which the technical proposal of the present application is applied. The specific server may include more or less parts than shown in the figure, or may combine several parts or arrange different parts.

一つの実施例において、図3に示すように、データベースの統合テスト方法を提供する。本実施例は当該方法を図1のような環境に応用し、図2に示すサーバに応用する例として説明する。図3に示すように、データベースの統合テスト方法は下記のステップを含む。 In one embodiment, as shown in FIG. 3, a database integration test method is provided. This embodiment will be described as an example in which the method is applied to the environment as shown in FIG. 1 and applied to the server shown in FIG. As shown in FIG. 3, the database integration test method includes the following steps.

ステップ310:最新バージョンのデータベースファイルを受信する。 Step 310: Receive the latest version of the database file.

サーバは、データベースの本番環境から提出された最新バージョンのデータベースファイルを受信する。最新バージョンのデータベースファイルには、データベースの基礎データ、対象データ、及び実行スクリプトファイル等のデータベース構築に必要なデータ及びファイルが含まれている。 The server receives the latest version of the database file submitted from the database production environment. The latest version of the database file includes basic data of the database, target data, and data and files necessary for database construction such as an execution script file.

説明したいのは、本実施例において異なるバージョンのデータベースはすべて同一の基礎バージョンデータベースをもとに開発されたものである。例えば、データベースのバージョンはV1.1、V1.2或いはV1.3などであってもよく、すべて基礎バージョンV1.0のデータベースをもとにそれぞれ開発されたものである。 What I would like to explain is that the databases of different versions in this embodiment were all developed based on the same basic version database. For example, the database version may be V1.1, V1.2, V1.3, etc., all of which were developed based on the basic version V1.0 database.

本実施例において、最新バージョンのデータベースとは、テスト必要があるデータベースを示す。最新バージョンのデータベースファイルは、初開発されたテスト必要があるデータベースファイルであってもよく、テストしてスクリプトに異常があるから開発者により修正され再び提出されるデータベースフィルであってもよい。 In this embodiment, the latest version of the database refers to a database that needs to be tested. The latest version of the database file may be a database file that needs to be tested for the first time, or it may be a database file that has been tested and corrected by the developer due to an error in the script and submitted again.

ステップ320:最新バージョンのデータベースファイルに対応する基準データベース情報を取得し、基準データベース情報に基づいて最新バージョンのデータベースファイルに対応するデータベースの基準データを検索する。 Step 320: Acquire the reference database information corresponding to the latest version of the database file, and search the reference data of the database corresponding to the latest version of the database file based on the reference database information.

サーバには、全ての基礎バージョンデータベースのファイルが格納されている。サーバは、最新バージョンのデータベース情報に基づいて、最新バージョンのデータベースが基づけられた基礎バージョンデータベース情報を探し出すことができる。データベース情報とは、データベース名又はデータベースのバージョン番号などであってもよい。これにより、基礎バージョンデータベース情報に従って格納された基礎バージョンデータベースファイルを探し出し、基礎バージョンデータベースファイルから基礎バージョンデータベースのデータベース基準データを抽出することができる。データベース基準データは、データベースの構成データ及び他の基礎データ、基礎スクリプトを含むが、具体的なデータベース対象のコンテントデータ及び最新バージョンのデータベースの実行スクリプトファイルを含まない。 The server contains files for all basic version databases. Based on the latest version of the database information, the server can find the underlying version database information on which the latest version of the database is based. The database information may be a database name, a database version number, or the like. As a result, it is possible to find the basic version database file stored according to the basic version database information and extract the database reference data of the basic version database from the basic version database file. The database reference data includes database configuration data and other basic data and basic scripts, but does not include specific database target content data and the latest version of the database execution script file.

ステップ330:現在のデータベースにおいてのデータをデータベース基準データに置き換える。 Step 330: Replace the data in the current database with database reference data.

現在のデータベースとは、サーバのテスト環境にテスト中或いはテストを待機しているデータベースを示す。また、現在のデータベースと最新バージョンのデータベースとは同一の基礎データベースに基づいて開発されたものである。サーバは、データベース指令で現在のデータベースの動作を停止させる。データベースの動作が停止した後、サーバは、現在のデータベースによって統合されたデータを基礎データベースのデータベース基準データに置き換えて、現在のテスト環境におけるデータを基準データにロールバックすることを実現する。データの置換が完了すると、サーバはデータベース指令でデータベースを再起動させる。 The current database refers to a database that is being tested or is waiting to be tested in the server test environment. In addition, the current database and the latest version of the database were developed based on the same basic database. The server stops the operation of the current database by the database command. After the database goes down, the server replaces the data integrated by the current database with the database reference data in the underlying database, enabling it to roll back the data in the current test environment to the reference data. When the data replacement is complete, the server restarts the database with a database directive.

ステップ340:最新バージョンのデータベースファイルから実行スクリプトファイルを抽出し、実行スクリプトファイルにおける実行スクリプトをデータが置き換えられた現在のデータベースに配置して、配置完了後、前記実行スクリプトを動作させる。 Step 340: The execution script file is extracted from the latest version of the database file, the execution script in the execution script file is placed in the current database to which the data has been replaced, and the execution script is operated after the placement is completed.

サーバは、取得した最新バージョンのデータベースファイルから実行スクリプトファイルを抽出します。実行スクリプトファイルには、最新バージョンのデータベースにおけるすべての配置して実行すべきスクリプトである複数の実行スクリプトが含まれている。通常では、実行スクリプトは、データベースSQLスクリプトであるが、他の形式のスクリプトであってもよい。 The server extracts the execution script file from the latest version of the acquired database file. The execution script file contains multiple execution scripts, which are all the scripts to be deployed and executed in the latest version of the database. Normally, the execution script is a database SQL script, but it may be another form of script.

サーバは、予め設定された規則に従って、実行スクリプトファイルからスクリプトファイルを一つずつ抽出し、抽出したスクリプトファイルを、基準状態にロールバックされた現在のデータベースに順次に配置する。すべての実行スクリプトが配置された後、サーバはテスト環境に完全な最新バージョンのデータベースを構築する。 The server extracts the script files one by one from the execution script file according to the preset rules, and sequentially arranges the extracted script files in the current database rolled back to the reference state. After all the execution scripts are deployed, the server builds the complete latest version of the database in the test environment.

本実施例において、サーバは、運用環境から送信されるテスト必要がある最新バージョンのデータベースファイルを受信する場合、最新バージョンのデータベースファイルに対応する基準データベース情報を取得し、それに対応し格納されたデータベース基準データを検索し、テスト完了されたデータベースにおけるデータを、検索したデータベース基準データに置き換える。これにより、現在のデータベースにおけるデータを基準状態にロールバックすることを実現し、データベースをはじめから構築する必要はない。そして、予め設定された規則に従って最新バージョンのデータベースファイルから実行スクリプトファイルを抽出して自動的に配置することにより、配置すべきなスクリプトが少なくなり、最新バージョンのデータベースの構築作業とデータベース実行スクリプトの配置作業の効率を向上させる。スクリプトの数が少ないことによるスクリプトの実行時間が短縮され、テストの効率を向上させる。 In this embodiment, when the server receives the latest version of the database file that needs to be tested sent from the production environment, it acquires the reference database information corresponding to the latest version of the database file, and stores the database correspondingly. Search for reference data and replace the data in the tested database with the searched database reference data. This makes it possible to roll back the data in the current database to the standard state, and there is no need to build the database from scratch. Then, by extracting the execution script file from the latest version of the database file and automatically arranging it according to the preset rules, the number of scripts to be arranged is reduced, and the construction work of the latest version of the database and the database execution script Improve the efficiency of placement work. The small number of scripts reduces script execution time and improves test efficiency.

一つの実施例において、図4に示すように、データベースの統合テスト方法は下記のステップをさらに含む。 In one embodiment, as shown in FIG. 4, the database integration testing method further comprises the following steps:

ステップ350:現在のデータベースにおけるデータベース構造データに基づいて基準構造データベースを構築する。 Step 350: Build a reference structure database based on the database structure data in the current database.

実行スクリプトが動作完了された後、スクリプト実行中に異常がない場合、テストに合格して当該最新バージョンのデータベースがオンラインされることができます。最新バージョンのデータベースがテストに合格した後、サーバが基準データベース構築指令を受信した場合、以降開発するデータベースが当該データベースに基づいて設計し開発されるように最新バージョンのデータベースを基礎データベースとする必要があることを示す。 After the execution script has completed its operation, if there are no abnormalities during script execution, the test can be passed and the latest version of the database can be brought online. If the server receives a reference database construction command after the latest version of the database has passed the test, it is necessary to use the latest version of the database as the basic database so that the database to be developed thereafter will be designed and developed based on the database. Indicates that there is.

サーバは、基準データベース構築指令を取得した後、空のデータベースを構築し、現在のデータベースにおけるデータベース構造データを構築された空のデータベースにコピーして、基準構造データベースを構築する。 After acquiring the reference database construction command, the server constructs an empty database, copies the database structure data in the current database to the constructed empty database, and constructs the reference structure database.

ステップ360:基準データリストを取得し、基準データリストに従って現在のデータベースから基本データを抽出してバックアップし、バックアップした基本データを基準構造データベースに導入して基準データベースを構築する。 Step 360: The reference data list is acquired, the basic data is extracted from the current database according to the reference data list and backed up, and the backed up basic data is introduced into the reference structure database to construct the reference database.

サーバは、最新バージョンのデータベースの基準データリストを取得する。基準データリストとは、開発者により提出されたものでもよく、サーバーに予め保存されているものでもよい。サーバは、基準データリストに並べたデータの名称を現在のデータベースにおけるデータと照合し、成功に照合されたデータを現在のデータベースに抽出する。抽出された基本データをバックアップし、そして最新バージョンのデータベースの名称またはバージョン番号で名前を付けて、将来開発する複数バージョンのデータベース基準データとなる。サーバーは、バックアップされた基本データを作成された基準構造データベースに導入して基準データベースを構築し、最新バージョンのデータベースが当該基準データベースに実行すべきスクリプトファイルを配置して最新バージョンのデータベースを構築できる。一つの実施例において、基準データベースが構築された後、開発者により検証を行われ、検証完了後に使用される或いはリリースされる。 The server gets the reference data list for the latest version of the database. The reference data list may be submitted by the developer or may be pre-stored on the server. The server matches the names of the data listed in the reference data list with the data in the current database, and extracts the successfully matched data into the current database. Back up the extracted basic data and name it with the name or version number of the latest version of the database to become the database reference data of multiple versions to be developed in the future. The server can build the reference database by introducing the backed up basic data into the created reference structure database, and the latest version of the database can build the latest version of the database by placing the script file to be executed in the reference database. .. In one embodiment, after the reference database is built, it is validated by the developer and used or released after the validation is complete.

一つの実施例において、サーバは、抽出した基本データについて圧縮処理を行い、圧縮処理後でバックアップを実行する。テーブルスペースの削減、不要なデータの削除などをして圧縮処理を行うと、データのバックアップとコピーの時間が短縮され、データベース構築効率を改善できる。 In one embodiment, the server performs a compression process on the extracted basic data and executes a backup after the compression process. If the compression process is performed by reducing the table space or deleting unnecessary data, the time for backing up and copying the data can be shortened, and the database construction efficiency can be improved.

本実施例において、データに置き換えられた現在のデータベースがテストに合格すると、サーバは、基準データベース構築指令に従って現在のデータベースから構造データと基本データを抽出して、基準構造データベースを構築し、現在の構造データベースをこれから開発するデータベースの基礎となるようにする。これにより、開発者が本番作業のニーズに従って基準データベースを構築する場合、サーバは、本実施例に係る方法により、基準データベースの構築、及び基本データのバックアップと保存することが迅速かつ容易にでき、操作も簡単になる。また、構築された基準データベースに配置されたスクリプトが少ないため、後の複数のバージョンのデータベースについてのメンテナンスが容易になり、工数が節約される。 In this embodiment, if the current database replaced with data passes the test, the server extracts structural data and basic data from the current database according to the reference database construction instruction, constructs the reference structure database, and constructs the current database. Make the structural database the basis for the database you are about to develop. As a result, when the developer builds the reference database according to the needs of the production work, the server can quickly and easily build the reference database and back up and save the basic data by the method according to this embodiment. The operation is also easy. In addition, since there are few scripts placed in the built reference database, maintenance of multiple versions of the database will be easier and man-hours will be saved.

一つの実施例において、ステップ140において最新バージョンの実行スクリプトファイルにおいての実行スクリプトをデータが置き換えられた現在のデータベースに配置するステップは、具体的に下記の内容を含む。 In one embodiment, the step of placing the execution script in the latest version of the execution script file in step 140 in the current database with the data replaced specifically includes the following:

第1の配置テーブルが探し出された場合、第1の配置テーブルからスクリプト名称を読み取り、読み取られたスクリプト名称を実行スクリプトの名称と照合し、一致する実行スクリプトが現在のデータベースに配置される。第1の配置テーブルが見つからない場合、実行スクリプトが分類され、分類された実行スクリプトが順位を付けられ、順位付けられた実行スクリプトが現在のデータベースに配置される。 When the first placement table is found, the script name is read from the first placement table, the read script name is matched with the name of the execution script, and the matching execution script is placed in the current database. If the first placement table is not found, the execution scripts are classified, the classified execution scripts are ranked, and the ranked execution scripts are placed in the current database.

第1の配置テーブルは、サーバーに予め保存されてもよく、最新バージョンのデータベースファイルに保存されてサーバーがそこから取得してもよい。第1の配置テーブルはスクリプト実行順番の配置テーブルであって、それにすべての実行スクリプトの名称がリストされ、すべての実行スクリプトの配置順番が規定されている。データベースのすべての実行スクリプトは、標準の命名規則に従って統合的に命名されており、実行スクリプトの名称には、スクリプトの種類情報、実行機能情報、およびシーケンスコード等が含まれている。 The first placement table may be pre-stored on the server or stored in the latest version of the database file and retrieved from the server. The first placement table is a placement table of the script execution order, in which the names of all execution scripts are listed and the placement order of all execution scripts is specified. All execution scripts in the database are integratedly named according to standard naming conventions, and the names of execution scripts include script type information, execution function information, sequence code, and the like.

サーバは、第1の配置テーブルから順番に実行スクリプトの名称を読み取り、読み取ったスクリプトの名称と実行スクリプトファイルにおいてのスクリプトの名称と照合する。一致された場合、一致する実行スクリプトを実行スクリプトファイルから抽出し、すべての実行スクリプトが配置されるまで、一致する実行スクリプトを、スクリプトの名称が読み取られる順番でデータが置き換えられた現在のデータベースに配置する。第1の配置テーブルから読み取られた実行スクリプトの名称が実行スクリプトファイルに対応する実行スクリプトが見つからなかった場合、当該実行スクリプトの名称をスキップし、次の実行スクリプトの名称の照合を続ける。 The server reads the name of the execution script in order from the first arrangement table, and collates the name of the read script with the name of the script in the execution script file. If matched, the matching execution script is extracted from the execution script file, and the matching execution script is placed in the current database with the data replaced in the order in which the script names are read, until all execution scripts have been placed. Deploy. If the name of the execution script read from the first arrangement table does not correspond to the execution script file, the name of the execution script is skipped and the collation of the name of the next execution script is continued.

サーバは現地或いは最新バージョンのデータベースファイルから第1の配置テーブルを探し出せない場合、サーバは予め設定されたスクリプト類別順位表を取得する。端末は、実行スクリプトの名称におけるスクリプト種類情報に基づいて実行スクリプトを分類する。例えば、スクリプトの名称は、種類によればSR、SQ、SD等をそれぞれに前付けるように、最初の二つのアルファベットが異なる。端末は、実行スクリプトを分類した後、実行スクリプトのシーケンスコードに従って、種類毎に実行スクリプトを大きい順から或いは小さい順から順位を付ける。すべての種類における実行スクリプトが順位付けられた後、サーバはスクリプト類別順位表からスクリプト類別の順位を取得する。たとえば、SRを前付けたスクリプトはSQを前付けたスクリプトに先行し、SQを前付けたスクリプトはSDを前付けたスクリプトに先行する等。サーバはスクリプト類別順位表の順番に従って異なる種類の実行スクリプトを順位付け、順位付けられた実行スクリプトを現在のデータベースに配置する。 If the server cannot find the first placement table in the local or latest version of the database file, the server gets a preset script classification standings. The terminal classifies the execution script based on the script type information in the name of the execution script. For example, the names of scripts differ in the first two alphabets, such as SR, SQ, SD, etc., depending on the type. After classifying the execution scripts, the terminal ranks the execution scripts in descending order according to the sequence code of the execution scripts. After the execution scripts of all types are ranked, the server gets the script classification ranking from the script classification ranking table. For example, a script prefixed with SR precedes a script prefixed with SQ, a script prefixed with SQ precedes a script prefixed with SD, and so on. The server ranks different types of execution scripts according to the order in the script classification ranking table, and places the ranked execution scripts in the current database.

一つの実施例において、実行スクリプトのスクリプト名称が実行ユーザー情報を含み、実行スクリプトを配置する前に、サーバは実行スクリプトの名称から実行ユーザー情報を抽出するとともに、現地から実行ユーザーのユーザー情報を取得し、両者を比較してユーザー情報が一致することを判断する。ユーザー情報が一致する場合、その次の配置作業を続ける。ユーザー情報が一致していない場合、操作権限がないと提示し、現在の操作を中止する。これにより、実行ユーザーの操作権限を設置し、不正者による悪意操作を避けることができる。 In one embodiment, the script name of the execution script contains the execution user information, and before deploying the execution script, the server extracts the execution user information from the name of the execution script and obtains the user information of the execution user from the site. Then, the two are compared to determine that the user information matches. If the user information matches, continue the next placement work. If the user information does not match, it indicates that you do not have the operation authority and cancels the current operation. As a result, the operation authority of the execution user can be set, and malicious operation by an unauthorized person can be avoided.

本実施例において、第1の配置テーブルを予め設置し、サーバが配置テーブルにおいてのスクリプト名称に従って実行スクリプトファイルにおいてのスクリプトと名称の照合をし、一致するスクリプトを表に示す順に現在のデータベースに自動的に配置する。サーバは第1の配置テーブルを探し出せない場合、スクリプト類別順位表を取得することで実行スクリプトを順位付け、最新バージョンのデータベースの実行スクリプトを自動的に配置することを実現し、人工で配置する必要なく、配置作業の効率を高め、工数を節約する。 In this embodiment, the first placement table is set in advance, the server collates the name with the script in the execution script file according to the script name in the placement table, and the matching scripts are automatically added to the current database in the order shown in the table. Place in a script. If the server cannot find the first placement table, it needs to rank the execution scripts by acquiring the script classification standings, automatically place the execution scripts of the latest version of the database, and place them artificially. It improves the efficiency of placement work and saves man-hours.

一つの実施例において、図5に示すように、ステップ140は下記のステップをさらに含む。 In one embodiment, as shown in FIG. 5, step 140 further comprises the following steps:

ステップ370:異常キーワードを含む第2の配置テーブルを取得する。 Step 370: Acquire a second placement table containing anomalous keywords.

サーバは予め保存される第2の配置テーブルを取得し、第2の配置テーブルには、例えば、「SP2−」、「CPY−」、「ORA−」、及び「Warning」等、全ての異常動作結果において出現可能がある異常キーワードが含まれている。これらの異常キーワードにより実行スクリプトの実行に異常が発生する具体的な原因が分かる。実行スクリプトの運用スクリプトにこれらのキーワードがある場合、実行スクリプトの動作に異常があることを示す。 The server acquires a second placement table that is stored in advance, and the second placement table contains all abnormal operations such as "SP2-", "CPY-", "ORA-", and "Warning". It contains anomalous keywords that may appear in the results. The specific causes of abnormalities in the execution of execution scripts can be understood from these abnormal keywords. If these keywords are included in the operation script of the execution script, it indicates that the operation of the execution script is abnormal.

ステップ380:実行スクリプトの動作結果を監視し、動作結果に異常キーワードが含まれているかどうかを判断する。 Step 380: The operation result of the execution script is monitored, and it is determined whether or not the operation result contains an abnormal keyword.

実行スクリプトの配置作業が完了した後、最新バージョンのデータベースの構築が完成される。サーバは、配置された実行スクリプトを実行し、実行スクリプトの動作結果をリアルタイムで監視する。各実行スクリプトが動作された後、サーバが動作結果を取得し、第2の配置テーブルにおける異常キーワードを1つずつ読み取り、取得した動作結果と照合し、動作結果に異常キーワードが含まれているかどうかを判断する。 After the execution script placement work is completed, the construction of the latest version of the database is completed. The server executes the placed execution script and monitors the operation result of the execution script in real time. After each execution script is executed, the server acquires the operation result, reads the abnormal keywords in the second placement table one by one, collates them with the acquired operation results, and checks whether the operation results contain abnormal keywords. To judge.

ステップ390:動作結果に対応する実行スクリプトのスクリプト名称を取得し、異常キーワードとスクリプト名称に基づいて動作異常アラームを生成し、監視端末に送信する。 Step 390: Acquires the script name of the execution script corresponding to the operation result, generates an operation abnormality alarm based on the abnormality keyword and the script name, and sends it to the monitoring terminal.

動作結果に第2の配置テーブルにおいての異常キーワードのいずれか一つが含まれているとサーバが判断した場合、実行スクリプトの実行に異常があると示す。サーバは動作異常の実行スクリプトのスクリプト名称を取得し、動作結果に含まれる異常キーワードとスクリプト名称に基づいて動作異常アラームを生成する。サーバは、監視端末の連絡先情報を取得する。連絡先情報は、端末アドレス、メールボックス情報などであってもよい。サーバは、連絡先情報を介して監視端末に動作異常アラームを送信する。これにより、監視担当者は、実行に異常がある実行スクリプトの情報及び動作異常の原因を取得することができる。動作結果に異常キーワードが含まれていない場合、処理をしない。 If the server determines that the operation result contains any one of the abnormal keywords in the second arrangement table, it indicates that there is an abnormality in the execution of the execution script. The server acquires the script name of the operation error execution script and generates an operation error alarm based on the error keyword and script name included in the operation result. The server acquires the contact information of the monitoring terminal. The contact information may be a terminal address, mailbox information, or the like. The server sends an operation error alarm to the monitoring terminal via the contact information. As a result, the person in charge of monitoring can acquire the information of the execution script having an abnormality in execution and the cause of the operation abnormality. If the operation result does not contain an abnormal keyword, no processing is performed.

一つの実施例において、サーバは動作異常アラームについてリアルタイムで通知してよい。つまり、実行スクリプトが動作中、一つの実行スクリプトの動作に異常があるとあれば、当該実行スクリプト及び動作結果に基づいて一つの動作異常アラームを生成し、監視端末に送信する。もう一つの実施例において、実行中に、サーバは異常動作結果があると監視した場合、異常のある実行スクリプト及び対応する動作結果を記録し、全てのスクリプトが動作された後、記録された全ての異常結果を統合して動作異常アラームを生成し、統合された動作異常アラームを監視端末に送信する。 In one embodiment, the server may notify the malfunction alarm in real time. That is, if there is an abnormality in the operation of one execution script while the execution script is operating, one operation abnormality alarm is generated based on the execution script and the operation result and transmitted to the monitoring terminal. In another embodiment, if the server monitors for abnormal operation results during execution, it records the abnormal execution script and the corresponding operation result, and after all the scripts have been operated, all recorded. Generates an operation error alarm by integrating the abnormal results of, and sends the integrated operation abnormality alarm to the monitoring terminal.

本実施例において、異常キーワードを予め保存して配置することにより、サーバは、監視した動作結果において自動的に異常キーワードを照合して、実行スクリプトの動作結果に異常があるかどうかについて判断することで、人工的な検査が不要である。さらに動作異常の結果に基づいて動作異常アラームを生成して監視端末に送信することで、監視端末は動作異常アラームに基づいてどの実行スクリプトに異常があるかを明確に理解し、開発者が動作異常アラームに基づいてデータベーススクリプトを修正する。 In this embodiment, by preserving and arranging the abnormal keywords in advance, the server automatically collates the abnormal keywords with the monitored operation results and determines whether or not there is an abnormality in the operation results of the execution script. Therefore, no artificial inspection is required. Furthermore, by generating an operation abnormality alarm based on the result of the operation abnormality and sending it to the monitoring terminal, the monitoring terminal clearly understands which execution script has an abnormality based on the operation abnormality alarm, and the developer operates. Modify the database script based on the anomaly alarm.

一つの実施例において、データベースの統合テスト方法は、実行スクリプトの単一スクリプトの動作時間を監視するステップと、単一スクリプトの動作時間が、予め設定された単一スクリプトの動作時間の閾値を超えているかどうかを判断するステップと、超えたと判断された場合、実行スクリプトのスクリプト名称と動作時間を記録して異常アラームに添えるステップと、実行スクリプトの総動作時間を検出し、総動作時間が予め設定されたスクリプトの総動作時間の閾値を超えているかどうかを判断するステップと、超えたと判断された場合、実行スクリプトの実行を中止して監視端末に動作タイムアウトアラームを送信するステップと、をさらに含む。 In one embodiment, the database integration test method involves monitoring the operating time of a single script of an execution script and the operating time of a single script exceeds a preset operating time threshold of a single script. The step to judge whether or not it is, and the step to record the script name and operation time of the execution script and attach it to the abnormality alarm when it is judged to exceed, and the total operation time of the execution script is detected and the total operation time is detected in advance. A step to determine whether the set script's total operating time threshold has been exceeded, and a step to stop the execution of the execution script and send an operation timeout alarm to the monitoring terminal if it is determined to be exceeded. Including.

サーバは、予め設定された単一スクリプトの動作時間の閾値及び予め設定されたスクリプトの総動作時間の閾値を取得する。サーバは、各実行スクリプトの単一スクリプトの動作時間を監視し、各スクリプトの動作時間を記録する。一つの実行スクリプトが動作された後、端末が当該スクリプトの動作時間を取得し、当該スクリプトの動作時間と予め設定された単一スクリプトの動作時間の閾値とを比較する。当該スクリプトの動作時間が予め設定された単一スクリプトの動作時間の閾値を超えている場合、サーバは当該スクリプトのスクリプト名称を取得し、当該スクリプトのスクリプト名称及び動作時間を異常アラームに記録して添加し、監視担当者に単一スクリプトの動作時間について状況を理解させる。 The server acquires a preset single script operating time threshold and a preset total script operating time threshold. The server monitors the operating time of a single script for each execution script and records the operating time of each script. After one execution script is executed, the terminal acquires the operation time of the script and compares the operation time of the script with the preset operation time threshold of a single script. If the operating time of the script exceeds the preset operating time threshold of a single script, the server acquires the script name of the script and records the script name and operating time of the script in the error alarm. Add to make the observer understand the situation about the uptime of a single script.

なお、サーバは、実行スクリプトの総動作時間を監視する。各実行スクリプトが実行された後、サーバは当該実行スクリプトの動作時間を実行された実行スクリプトの動作時間に加算し、加算された総動作時間が予め設定されたスクリプトの総動作時間の閾値を超えているかどうかを判断する。総動作時間が予め設定されたスクリプトの総動作時間の閾値を超えていない場合、次の実行スクリプトを実行し続ける。総動作時間が予め設定されたスクリプトの総動作時間の閾値を超えている場合、サーバは実行スクリプトの実行を中止し、動作タイムアウトアラームを生成して監視端末に送信する。 The server monitors the total operating time of the execution script. After each execution script is executed, the server adds the operation time of the execution script to the operation time of the executed execution script, and the added total operation time exceeds the threshold of the total operation time of the preset script. Determine if it is. If the total operating time does not exceed the preset total operating time threshold of the script, the next execution script continues to be executed. If the total operating time exceeds the preset total operating time threshold of the script, the server stops the execution of the execution script, generates an operation timeout alarm, and sends it to the monitoring terminal.

本実施例において、サーバは、単一スクリプトの動作時間を監視し、単一スクリプトの動作時間を異常アラームに記録し、監視担当者である開発者が各スクリプトの動作時間の状況を取得するようにでき、開発者が動作時間が過長な実行スクリプトを探し出して最適化するのに便利を与える。サーバは、スクリプトの総動作時間を監視して配置することで、動作時間が閾値を超えた時スクリプトの実行を直ちに中止し、スクリプトが無限ループに落ちてしまうような異常を避け、継続な実行によるテスト資源の浪費を避けることができる。 In this embodiment, the server monitors the operating time of a single script, records the operating time of a single script in an abnormal alarm, and the developer who is in charge of monitoring acquires the operating time status of each script. It can be useful for developers to find and optimize execution scripts that are running too long. By monitoring and arranging the total operating time of the script, the server immediately stops the execution of the script when the operating time exceeds the threshold, avoids abnormalities such as the script falling into an infinite loop, and continuously executes it. You can avoid wasting test resources by.

一つの実施例において、サーバに仮想マシンを構築し、現在のデータベースが仮想マシンにインストールされ、仮想マシンにデータベース環境の構築、実行スクリプトの配置及び実行スクリプトの動作等を行う。サーバのホストには、データベースの開発や、構築の作業を続けることができる。これにより、開発作業とテスト作業の同時並行実行を実現できる。最新バージョンのデータベースがホストにおいて開発された後、最新バージョンのデータベースファイルをホストから仮想マシンに提出し、仮想マシンがホストから提出されたバージョンのデータベースファイルを受信した時、データベースの統合テストのフローがトリガーされる。具体的に、仮想マシンにおいてトリガーを構築してよく、新しいデータベースファイルが送信されたときにデータベースの統合テストのフローをトリガーするようにトリガーモードを設定してよい。 In one embodiment, a virtual machine is built on a server, the current database is installed on the virtual machine, a database environment is built on the virtual machine, an execution script is placed, and an execution script is operated. The server host can continue to develop and build the database. As a result, simultaneous execution of development work and test work can be realized. After the latest version of the database is developed on the host, when the latest version of the database file is submitted from the host to the virtual machine and the virtual machine receives the version of the database file submitted by the host, the database integration test flow starts. Triggered. Specifically, you may build a trigger in the virtual machine and set the trigger mode to trigger the database integration test flow when a new database file is sent.

もう一つの実施例において、サーバにおいて複数の仮想マシンを構築してよく、開発された複数のバージョンのデータベースを同時にテストしたいとき、複数のバージョンのデータベースを異なる仮想マシンにそれぞれインストールして同時テストをして、仮想マシンごとにデータベース環境を構築することにより、複数のバージョンのデータベースの並行テストを実現し、テスト作業の効率を高めることができる。 In another embodiment, multiple virtual machines may be built on the server, and when you want to test multiple versions of the developed database at the same time, install the multiple versions of the database on different virtual machines and perform simultaneous tests. By constructing a database environment for each virtual machine, parallel testing of multiple versions of the database can be realized and the efficiency of the test work can be improved.

一つの実施例において、図6に示すように、ファイル受信モジュール610と、基準データ検索モジュール620と、データ置換モジュール630と、スクリプト配置動作モジュール640とを含むデータベースの統合テスト装置が提供され、当該装置がサーバにおいて実行されることができる。 In one embodiment, as shown in FIG. 6, a database integration test apparatus including a file receiving module 610, a reference data retrieval module 620, a data replacement module 630, and a script placement operation module 640 is provided. The device can be run on the server.

ファイル受信モジュール610は、最新バージョンのデータベースファイルを受信する。 The file receiving module 610 receives the latest version of the database file.

基準データ検索モジュールは620、最新バージョンのデータベースファイルに対応する基準データベース情報を取得し、基準データベース情報に基づいて最新バージョンのデータベースファイルに対応するデータベース基準データを検索する。 The reference data search module acquires the reference database information corresponding to the latest version of the database file at 620, and searches the database reference data corresponding to the latest version of the database file based on the reference database information.

データ置換モジュール630は、現在のデータベースにおいてのデータをデータベース基準データに置き換える。 The data replacement module 630 replaces the data in the current database with database reference data.

スクリプト配置動作モジュール640は、最新バージョンのデータベースファイルから実行スクリプトファイルを抽出し、実行スクリプトファイルにおいての実行スクリプトをデータが置き換えられた現在のデータベースに配置して、配置が完了した後実行スクリプトを動作させる。 The script placement operation module 640 extracts the execution script file from the latest version of the database file, places the execution script in the execution script file in the current database in which the data has been replaced, and operates the execution script after the placement is completed. Let me.

一つの実施例において、図7に示すように、上記装置は、
現在のデータベースにおけるデータベース構造データに基づいて基準構造データベースを構築する構造データベース構築モジュール650と、
基準データリストを取得し、基準データリストに従って現在のデータベースから基本データを抽出し、基本データをバックアップし、バックアップした基本データを基準構造データベースに導入し、基準データベースを構築する基準データベース構築モジュール660と、をさらに含む。
In one embodiment, as shown in FIG. 7, the device is
Structural database construction module 650, which builds a reference structure database based on the database structure data in the current database,
Acquire the reference data list, extract the basic data from the current database according to the reference data list, back up the basic data, introduce the backed up basic data into the reference structure database, and build the reference database with the reference database construction module 660. , Including.

一つの実施例において、スクリプト配置動作モジュール640は、
第1の配置テーブルが探し出された場合、第1の配置テーブルからスクリプト名称を読み取り、読み取られたスクリプト名称を実行スクリプトの名称と照合し、一致する実行スクリプトを現在のデータベースに配置する照合配置モジュールと、
第1の配置テーブルが見つからない場合、実行スクリプトが分類され、分類された実行スクリプトが順位を付けられ、順位付けられた実行スクリプトが現在のデータベースに配置されるソート配置モジュールと、を含む。
In one embodiment, the script placement operation module 640
When the first placement table is found, the script name is read from the first placement table, the read script name is matched with the name of the execution script, and the matching execution script is placed in the current database. Module and
If the first placement table is not found, the execution scripts are classified, the classified execution scripts are ranked, and the ranked execution scripts are placed in the current database.

一つの実施例において、図8に示すように、上記装置は、
異常キーワードを含む第2の配置テーブルを取得する配置テーブル取得モジュール670と、
前記実行スクリプトの動作結果を監視し、前記動作結果に異常キーワードが含まれているかどうかについて判断する結果検出モジュール680と、
前記動作結果に対応する実行スクリプトのスクリプト名称を取得し、前記異常キーワードと前記スクリプト名称に基づいて動作異常アラームを生成し、前記異常アラームを監視端末に送信する異常アラーム送信モジュール690と、をさらに含む。
In one embodiment, as shown in FIG. 8, the device is
The placement table acquisition module 670 that acquires the second placement table containing the abnormal keyword,
A result detection module 680 that monitors the operation result of the execution script and determines whether or not the operation result contains an abnormal keyword.
Further, an abnormality alarm transmission module 690 that acquires the script name of the execution script corresponding to the operation result, generates an operation abnormality alarm based on the abnormality keyword and the script name, and transmits the abnormality alarm to the monitoring terminal. Including.

一つの実施例において、図9に示すように、上記装置は、
前記実行スクリプトの単一スクリプトの動作時間を監視する単一スクリプト時間監視モジュール691と、
前記単一スクリプトの動作時間が予め設定された単一スクリプトの動作時間の閾値を超えているかどうかを判断する単一スクリプト時間判断モジュール693と、
前記実行スクリプトのスクリプト名称と動作時間を記録して前記異常アラームに添える時間記録モジュール695と、
前記実行スクリプトの総動作時間を検出し、前記総動作時間が予め設定されたスクリプトの総動作時間の閾値を超えているかどうかを判断する総時間検出モジュール697と、
前記実行スクリプトの実行を中止して前記監視端末に動作タイムアウトアラームを送信するタイムアウトアラーム送信モジュール699と、をさらに含む。
In one embodiment, as shown in FIG. 9, the device is
A single script time monitoring module 691 that monitors the operation time of a single script of the execution script, and
A single script time determination module 693 that determines whether or not the operation time of the single script exceeds a preset operating time threshold of the single script, and
A time recording module 695 that records the script name and operation time of the execution script and attaches it to the abnormality alarm.
A total time detection module 697 that detects the total operation time of the execution script and determines whether or not the total operation time exceeds the threshold value of the total operation time of the preset script.
It further includes a timeout alarm transmission module 699 that stops execution of the execution script and transmits an operation timeout alarm to the monitoring terminal.

上記データベースの統合テスト装置における各モジュールの全部または一部をソフトウェア、ハードウェア及びこれらの組み合わせで実現してよい。ネットワークインタフェースはイーサネット(登録商標)カードまたはワイヤレスネットカードなどであってもよい。上記各モジュールは、プロセッサが上記各モジュールに対応する操作を呼び出して実行するために、ハードウェアとして端末においてのプロセッサに埋め込まれて或いは独立してよく、ソフトウェアとして端末においてのプロセッサに格納されてもよい。上記プロセッサは、CPUや、マイクロプロセッサや、シングルチップマイコン等であってもよい。 All or part of each module in the integrated test device of the database may be realized by software, hardware, or a combination thereof. The network interface may be an Ethernet® card, a wireless net card, or the like. Each of the above modules may be embedded in or independently of the processor in the terminal as hardware in order for the processor to call and execute the operation corresponding to each of the above modules, even if it is stored in the processor in the terminal as software. Good. The processor may be a CPU, a microprocessor, a single-chip microcomputer, or the like.

当業者であれば分かるように、上記の実施例に係る方法のフローの全部又は一部は、コンピュータプログラムにより関連するハードウェアを指示することで実現されてもよい。前記プログラムは、不揮発性コンピュータ可読記録媒体に記憶されてもよく、当該プログラムが実行されると、上記の方法の実施例のフローを実現することができる。前記記録媒体は、磁気ディスク、光ディスク、読出し専用メモリー(Read Only Memory、ROM)などであってもよい。 As will be appreciated by those skilled in the art, all or part of the flow of the method according to the above embodiment may be realized by instructing the relevant hardware by a computer program. The program may be stored in a non-volatile computer-readable recording medium, and when the program is executed, the flow of the embodiment of the above method can be realized. The recording medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or the like.

上述した実施例の各技術的特徴は任意に組み合わせることができる。記述の簡潔化のために、上述した実施例における各技術的特徴のあらゆる組合せについて説明していないが、これらの技術的特徴の組合せは矛盾しない限り、本明細書に記述されている範囲内であると考えられるべきである。 Each technical feature of the above-described embodiment can be arbitrarily combined. For the sake of brevity, not all combinations of technical features in the examples described above have been described, but the combinations of these technical features are within the scope described herein as long as they are consistent. Should be considered to be.

上述した実施例は、本発明のいくつかの実施形態を示したものにすぎず、その記述が具体的かつ詳細であるが、本発明の範囲を限定するものと解釈されるべきではない。なお、当業者にとって、本発明の趣旨から逸脱しないかぎり、若干の変形及び改良を行うことができ、これらもすべて本発明の保護範囲内にある。したがって、本発明の保護範囲は、特許請求の範囲に準ずるべきである。 Although the above-mentioned examples merely show some embodiments of the present invention and the description thereof is specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make slight modifications and improvements as long as they do not deviate from the gist of the present invention, all of which are within the scope of the present invention. Therefore, the scope of protection of the present invention should conform to the scope of claims.

102 サーバ
104 本番サーバ
610 ファイル受信モジュール
620 基準データ検索モジュール
630 データ置換モジュール
640 スクリプト配置動作モジュール
650 構造データベース構築モジュール
660 基準データベース構築モジュール
670 配置テーブル取得モジュール
680 結果検出モジュール
690 異常アラーム送信モジュール
691 単一スクリプト時間監視モジュール
693 単一スクリプト時間判断モジュール
695 時間記録モジュール
697 総時間検出モジュール
699 タイムアウトアラーム送信モジュール
102 Server 104 Production server 610 File reception module 620 Reference data search module 630 Data replacement module 640 Script placement operation module 650 Structural database construction module 660 Reference database construction module 670 Deployment table acquisition module 680 Result detection module 690 Abnormal alarm transmission module 691 Single Script time monitoring module 693 Single script time judgment module 695 Time recording module 697 Total time detection module 699 Timeout alarm transmission module

Claims (15)

最新バージョンのデータベースファイルを受信するステップと、
前記最新バージョンのデータベースファイルに対応する基準データベース情報を取得し、前記基準データベース情報に基づいて前記最新バージョンのデータベースファイルに対応するデータベース基準データを検索するステップと、
現在のデータベースにおいてのデータを前記データベース基準データに置き換えるステップと、
前記最新バージョンのデータベースファイルから実行スクリプトファイルを抽出し、前記実行スクリプトファイルにおける実行スクリプトをデータが置き換えられた前記現在のデータベースに配置して、配置完了後、前記実行スクリプトを動作させるステップと、を含むデータベースの統合テスト方法。
Steps to receive the latest version of the database file,
A step of acquiring the reference database information corresponding to the latest version of the database file and searching for the database reference data corresponding to the latest version of the database file based on the reference database information.
The step of replacing the data in the current database with the database reference data,
A step of extracting an execution script file from the latest version of the database file, arranging the execution script in the execution script file in the current database in which data has been replaced, and operating the execution script after the arrangement is completed. How to test integration of the including database.
前記配置が完了して前記実行スクリプトが動作完了された後、さらに、
前記現在のデータベースにおけるデータベース構造データに基づいて基準構造データベースを構築するステップと、
基準データリストを取得し、前記基準データリストに従って前記現在のデータベースから基本データを抽出してバックアップし、バックアップした基本データを前記基準構造データベースに導入して基準データベースを構築するステップと、をさらに含む、請求項1に記載のデータベースの統合テスト方法。
After the placement is completed and the execution script is completed, further
Steps to build a reference structure database based on the database structure data in the current database,
Further includes a step of acquiring a reference data list, extracting basic data from the current database according to the reference data list, backing up, and introducing the backed up basic data into the reference structure database to construct a reference database. , The database integration test method according to claim 1.
前記実行スクリプトファイルにおける実行スクリプトをデータが置き換えられた前記現在のデータベースに配置するステップにおいて、
第1の配置テーブルが探し出された場合、前記第1の配置テーブルからスクリプト名称を読み取り、読み取られたスクリプト名称を前記実行スクリプトの名称と照合し、一致する実行スクリプトが前記現在のデータベースに配置され、及び
前記第1の配置テーブルが見つからない場合、前記実行スクリプトが分類され、分類された実行スクリプトが順位を付けられ、順位付けられた実行スクリプトが前記現在のデータベースに配置される、を含むことを特徴とする、請求項1に記載のデータベースの統合テスト方法。
In the step of placing the execution script in the execution script file in the current database with the data replaced.
When the first placement table is found, the script name is read from the first placement table, the read script name is collated with the name of the execution script, and the matching execution script is placed in the current database. And if the first placement table is not found, the execution scripts are classified, the classified execution scripts are ranked, and the ranked execution scripts are placed in the current database. The database integration test method according to claim 1, characterized in that.
前記配置完了後、前記実行スクリプトを動作させた後に、さらに、
異常キーワードを含む第2の配置テーブルを取得するステップと、
前記実行スクリプトの動作結果を監視し、前記動作結果に異常キーワードが含まれているかどうかを判断するステップと、
あると判断された場合、前記動作結果に対応する実行スクリプトのスクリプト名称を取得し、前記異常キーワードと前記スクリプト名称に基づいて動作異常アラームを生成し、監視端末に送信するステップと、を含むことを特徴とする、請求項1に記載のデータベースの統合テスト方法。
After the placement is completed, after the execution script is operated, further
A step to get a second placement table containing anomalous keywords,
A step of monitoring the operation result of the execution script and determining whether or not the operation result contains an abnormal keyword, and
If it is determined to exist, it includes a step of acquiring the script name of the execution script corresponding to the operation result, generating an operation abnormality alarm based on the abnormality keyword and the script name, and transmitting it to the monitoring terminal. The database integration test method according to claim 1, further comprising.
前記配置完了後、前記実行スクリプトを動作させた後に、さらに、
前記実行スクリプトの単一スクリプトの動作時間を監視するステップと、
前記単一スクリプトの動作時間が、予め設定された単一スクリプトの動作時間の閾値を超えているかどうかを判断するステップと、
超えたと判断された場合、前記実行スクリプトのスクリプト名称と動作時間を記録して前記異常アラームに添えるステップと、
前記実行スクリプトの総動作時間を検出し、前記総動作時間が予め設定されたスクリプトの総動作時間の閾値を超えているかどうかを判断するステップと、
超えたと判断された場合、前記実行スクリプトの実行を中止して前記監視端末にタイムアウトアラームを送信するステップと、を含むことを特徴とする、請求項4に記載のデータベースの統合テスト方法。
After the placement is completed, after the execution script is operated, further
The step of monitoring the operation time of a single script of the execution script, and
A step of determining whether the operating time of the single script exceeds a preset operating time threshold of the single script, and
If it is determined that the value has been exceeded, the step of recording the script name and operation time of the execution script and attaching it to the abnormality alarm, and
A step of detecting the total operating time of the execution script and determining whether or not the total operating time exceeds a preset total operating time threshold of the script.
The database integration test method according to claim 4, further comprising a step of stopping execution of the execution script and transmitting a timeout alarm to the monitoring terminal when it is determined that the execution script has been exceeded.
データベースの統合テスト装置であって、
最新バージョンのデータベースファイルを受信するファイル受信モジュールと、
前記最新バージョンのデータベースファイルに対応する基準データベース情報を取得し、前記基準データベース情報に基づいて前記最新バージョンのデータベースファイルに対応するデータベース基準データを検索する基準データ検索モジュールと、
現在のデータベースにおいてのデータを前記データベース基準データに置き換えるデータ置換モジュールと、
前記最新バージョンのデータベースファイルから実行スクリプトファイルを抽出し、前記実行スクリプトファイルにおける実行スクリプトをデータが置き換えられた前記現在のデータベースに配置して、配置完了後、前記実行スクリプトを動作させるスクリプト配置動作モジュールと、を含むデータベースの統合テスト装置。
A database integration tester
A file receiving module that receives the latest version of the database file, and
A reference data search module that acquires reference database information corresponding to the latest version of the database file and searches for database reference data corresponding to the latest version of the database file based on the reference database information.
A data replacement module that replaces the data in the current database with the database reference data,
A script placement operation module that extracts an execution script file from the latest version of the database file, places the execution script in the execution script file in the current database in which data has been replaced, and operates the execution script after the placement is completed. And, including database integration test equipment.
前記現在のデータベースにおけるデータベース構造データに基づいて基準構造データベースを構築する構造データベース構築モジュールと、
基準データリストを取得し、前記基準データリストに従って前記現在のデータベースから基本データを抽出してバックアップし、バックアップした基本データを前記基準構造データベースに導入して基準データベースを構築する前記現在のデータベースにおけるデータベース構造データに基づいて基準構造データベースを構築する基準データベース構築モジュールと、をさらに含むことを特徴とする、請求項6に記載のデータベースの統合テスト装置。
A structural database construction module that builds a reference structure database based on the database structure data in the current database,
A reference data list is acquired, basic data is extracted from the current database according to the reference data list and backed up, and the backed up basic data is introduced into the reference structure database to construct a reference database. Database in the current database. The integrated database test apparatus according to claim 6, further comprising a reference database construction module for constructing a reference structure database based on structural data.
前記スクリプト配置動作モジュールは、
第1の配置テーブルが探し出された場合、前記第1の配置テーブルからスクリプト名称を読み取り、読み取られたスクリプト名称を前記実行スクリプトの名称と照合し、一致する実行スクリプトが前記現在のデータベースに配置される照合配置モジュールと、
前記第1の配置テーブルが見つからない場合、前記実行スクリプトが分類され、分類された実行スクリプトが順位を付けられ、順位付けられた実行スクリプトが前記現在のデータベースに配置されるソート配置モジュールと、をさらに含むことを特徴とする、請求項6に記載のデータベースの統合テスト装置。
The script placement operation module is
When the first placement table is found, the script name is read from the first placement table, the read script name is collated with the name of the execution script, and the matching execution script is placed in the current database. With the collation placement module
If the first placement table is not found, the execution scripts are classified, the classified execution scripts are ranked, and the ranked execution scripts are placed in the current database. The integrated test apparatus for a database according to claim 6, further comprising.
異常キーワードを含む第2の配置テーブルを取得する配置テーブル取得モジュールと、
前記実行スクリプトの動作結果を監視し、前記動作結果に異常キーワードが含まれているかどうかを判断する動作監視モジュールと、
あると判断された場合、前記動作結果に対応する実行スクリプトのスクリプト名称を取得し、前記異常キーワードと前記スクリプト名称に基づいて動作異常アラームを生成し、監視端末に送信するアラーム生成モジュールと、をさらに含むことを特徴とする、請求項6に記載のデータベースの統合テスト装置。
An arrangement table acquisition module that acquires a second arrangement table containing an abnormal keyword,
An operation monitoring module that monitors the operation result of the execution script and determines whether or not the operation result contains an abnormal keyword.
If it is determined that there is, the script name of the execution script corresponding to the operation result is acquired, the operation abnormality alarm is generated based on the abnormality keyword and the script name, and the alarm generation module is transmitted to the monitoring terminal. The integrated testing apparatus for a database according to claim 6, further comprising.
前記実行スクリプトの単一スクリプトの動作時間を監視する時間監視モジュールと、
前記単一スクリプトの動作時間が、予め設定された単一スクリプトの動作時間の閾値を超えているかどうかを判断する時間閾値判断モジュールと、
超えたと判断された場合、前記実行スクリプトのスクリプト名称と動作時間を記録して前記異常アラームに添える時間記録モジュールと、
前記実行スクリプトの総動作時間を検出し、前記総動作時間が予め設定されたスクリプトの総動作時間の閾値を超えているかどうかを判断する総時間監視モジュールと、
超えたと判断された場合、前記実行スクリプトの実行を中止して前記監視端末にタイムアウトアラームを送信するアラーム送信モジュールと、をさらに含むことを特徴とする、請求項9に記載のデータベースの統合テスト装置。
A time monitoring module that monitors the operating time of a single script of the execution script,
A time threshold value determination module that determines whether or not the operation time of the single script exceeds a preset operation time threshold value of the single script.
When it is determined that the time has been exceeded, a time recording module that records the script name and operation time of the execution script and attaches it to the abnormality alarm.
A total time monitoring module that detects the total operating time of the execution script and determines whether the total operating time exceeds the preset total operating time threshold of the script.
The integrated database test apparatus according to claim 9, further comprising an alarm transmission module that stops execution of the execution script and transmits a timeout alarm to the monitoring terminal when it is determined that the execution script has been exceeded. ..
指令を格納するメモリと、プロセッサとを含むサーバであって、
前記指令が前記プロセッサに実行される際に、
最新バージョンのデータベースファイルを受信するステップと、
前記最新バージョンのデータベースファイルに対応する基準データベース情報を取得し、前記基準データベース情報に基づいて前記最新バージョンのデータベースファイルに対応するデータベース基準データを検索するステップと、
現在のデータベースにおいてのデータを前記データベース基準データに置き換えるステップと、
前記最新バージョンのデータベースファイルから最新バージョンの実行スクリプトファイルを抽出し、前記最新バージョンの実行スクリプトファイルを予め設定された規則に従て前記現在のデータベースに配置して、配置完了後、前記最新バージョンの実行スクリプトファイルを動作させるステップと、を前記プロセッサに実行させるサーバ。
A server that includes a memory for storing instructions and a processor.
When the command is executed on the processor
Steps to receive the latest version of the database file,
A step of acquiring the reference database information corresponding to the latest version of the database file and searching for the database reference data corresponding to the latest version of the database file based on the reference database information.
The step of replacing the data in the current database with the database reference data,
The latest version of the execution script file is extracted from the latest version of the database file, and the latest version of the execution script file is placed in the current database according to a preset rule. A server that causes the processor to execute the steps for operating the execution script file.
前記配置が完了して前記実行スクリプトが動作完了された後、さらに、
前記現在のデータベースにおけるデータベース構造データに基づいて基準構造データベースを構築するステップと、
基準データリストを取得し、前記基準データリストに従って前記現在のデータベースから基本データを抽出してバックアップし、バックアップした基本データを前記基準構造データベースに導入して基準データベースを構築するステップと、をさらに実行する、請求項11に記載のサーバ。
After the placement is completed and the execution script is completed, further
Steps to build a reference structure database based on the database structure data in the current database,
The step of acquiring the reference data list, extracting the basic data from the current database according to the reference data list, backing up, introducing the backed up basic data into the reference structure database, and constructing the reference database is further executed. The server according to claim 11.
コンピューター実行可能な指令が格納される一つ以上の非一時的な記録媒体であって、前記コンピューター実行可能な指令が一つ以上のプロセッサに実行される際に、
最新バージョンのデータベースファイルを受信するステップと、
前記最新バージョンのデータベースファイルに対応する基準データベース情報を取得し、前記基準データベース情報に基づいて前記最新バージョンのデータベースファイルに対応するデータベース基準データを検索するステップと、
現在のデータベースにおいてのデータを前記データベース基準データに置き換えるステップと、
前記最新バージョンのデータベースファイルから最新バージョンの実行スクリプトファイルを抽出し、前記最新バージョンの実行スクリプトファイルを予め設定された規則に従て前記現在のデータベースに配置して、配置完了後、前記最新バージョンの実行スクリプトファイルを動作させるステップと、を前記一つ以上のプロセッサに実行させる非一時的な記録媒体。
One or more non-temporary recording media that stores computer-executable commands when the computer-executable commands are executed by one or more processors.
Steps to receive the latest version of the database file,
A step of acquiring the reference database information corresponding to the latest version of the database file and searching for the database reference data corresponding to the latest version of the database file based on the reference database information.
The step of replacing the data in the current database with the database reference data,
The latest version of the execution script file is extracted from the latest version of the database file, and the latest version of the execution script file is placed in the current database according to a preset rule. A non-temporary recording medium that causes one or more processors to execute a step of operating an execution script file.
前記配置が完了して前記実行スクリプトが動作完了された後、さらに、
前記現在のデータベースにおけるデータベース構造データに基づいて基準構造データベースを構築するステップと、
基準データリストを取得し、前記基準データリストに従って前記現在のデータベースから基本データを抽出してバックアップし、バックアップした基本データを前記基準構造データベースに導入して基準データベースを構築するステップと、をさらに実行する、請求項13に記載の非一時的な記録媒体。
After the placement is completed and the execution script is completed, further
Steps to build a reference structure database based on the database structure data in the current database,
The step of acquiring the reference data list, extracting the basic data from the current database according to the reference data list, backing up, introducing the backed up basic data into the reference structure database, and constructing the reference database is further executed. The non-temporary recording medium according to claim 13 .
前記実行スクリプトファイルにおける実行スクリプトをデータが置き換えられた前記現在のデータベースに配置するステップにおいて、
第1の配置テーブルが探し出された場合、前記第1の配置テーブルからスクリプト名称を読み取り、読み取られたスクリプト名称を前記実行スクリプトの名称と照合し、一致する実行スクリプトが前記現在のデータベースに配置されるステップ、及び
前記第1の配置テーブルが見つからない場合、前記実行スクリプトが分類され、分類された実行スクリプトが順位を付けられ、順位付けられた実行スクリプトが前記現在のデータベースに配置されるステップ、をさらに実行することを特徴とする、請求項13に記載の非一時的な記録媒体。
In the step of placing the execution script in the execution script file in the current database with the data replaced.
When the first placement table is found, the script name is read from the first placement table, the read script name is collated with the name of the execution script, and the matching execution script is placed in the current database. Steps to be performed, and if the first placement table is not found, the execution scripts are classified, the classified execution scripts are ranked, and the ranked execution scripts are placed in the current database. The non-temporary recording medium according to claim 13 , wherein the above is further performed.
JP2019563048A 2017-06-20 2017-08-30 Database integration testing methods, equipment, servers, and recording media Active JP6799695B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201710470644.0A CN107688531B (en) 2017-06-20 2017-06-20 Geo-database integration test method, device, computer equipment and storage medium
CN201710470644.0 2017-06-20
PCT/CN2017/099736 WO2018233037A1 (en) 2017-06-20 2017-08-30 Database integration testing method, device, server, and storage medium

Publications (2)

Publication Number Publication Date
JP2020520515A JP2020520515A (en) 2020-07-09
JP6799695B2 true JP6799695B2 (en) 2020-12-16

Family

ID=61152694

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019563048A Active JP6799695B2 (en) 2017-06-20 2017-08-30 Database integration testing methods, equipment, servers, and recording media

Country Status (3)

Country Link
JP (1) JP6799695B2 (en)
CN (1) CN107688531B (en)
WO (1) WO2018233037A1 (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804327A (en) * 2018-06-12 2018-11-13 北京京东金融科技控股有限公司 A kind of method and apparatus of automatic Data Generation Test
CN108984408B (en) * 2018-07-13 2021-11-30 中国银行股份有限公司 Method and device for detecting SQL (structured query language) codes in application system
CN109508356B (en) * 2018-11-14 2024-05-03 平安科技(深圳)有限公司 Data abnormality early warning method, device, computer equipment and storage medium
CN109766124B (en) * 2018-12-26 2022-05-03 深圳左邻永佳科技有限公司 Service development method, device, computer equipment and storage medium
CN110457300B (en) * 2019-07-15 2024-02-02 中国平安人寿保险股份有限公司 Method and device for cleaning public test library and electronic equipment
CN111522719B (en) * 2020-04-27 2023-12-01 中国银行股份有限公司 Big data task state monitoring method and device
CN111651364B (en) * 2020-07-01 2023-04-28 中国银行股份有限公司 SQL (structured query language) checking method and device under parallel development
CN111858352B (en) * 2020-07-22 2024-04-05 中国平安财产保险股份有限公司 Method, device, equipment and storage medium for automatic test monitoring
CN111857752B (en) * 2020-07-22 2023-08-08 浪潮商用机器有限公司 PostgreSQL database installation method, device and equipment
CN114625630A (en) * 2020-12-14 2022-06-14 福建天泉教育科技有限公司 Testing method and testing system for multi-environment multi-role version release system
CN112965905B (en) * 2021-03-11 2024-06-18 京东科技信息技术有限公司 Data testing method, device, equipment and storage medium
CN113297028A (en) * 2021-03-18 2021-08-24 中国平安人寿保险股份有限公司 Script execution method and device, computer equipment and storage medium
CN113138974B (en) * 2021-04-23 2023-08-22 建信金融科技有限责任公司 Method and device for detecting database compliance
CN115757055B (en) * 2022-10-19 2023-10-27 北京新数科技有限公司 Database unified operation and maintenance and comprehensive performance scoring system based on Spring Cloud

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8078655B2 (en) * 2008-06-04 2011-12-13 Microsoft Corporation Generation of database deltas and restoration
CN202121621U (en) * 2011-07-13 2012-01-18 中国工商银行股份有限公司 Metadata synchronous system for conducting report forms to testing environment
CN102289460B (en) * 2011-07-13 2013-03-27 中国工商银行股份有限公司 Method and system for performing report metadata synchronization on testing environments
CN102722436B (en) * 2012-05-29 2016-03-02 百度在线网络技术(北京)有限公司 A kind of statistical method of incremental coverage information and device
CN103020149B (en) * 2012-11-22 2016-01-20 用友网络科技股份有限公司 Share data update apparatus and shared data-updating method
US9659040B1 (en) * 2013-09-23 2017-05-23 Amazon Technologies, Inc. Database fleet schema maintenance
CN104572644B (en) * 2013-10-10 2018-05-22 北京大学 Database update device and database update method
CN105302710B (en) * 2014-07-03 2019-06-07 腾讯科技(深圳)有限公司 The method and apparatus that a kind of determination needs the test case of regression test
US10459830B2 (en) * 2014-07-29 2019-10-29 Micro Focus Llc Executable code abnormality detection
CN105512017A (en) * 2014-09-22 2016-04-20 阿里巴巴集团控股有限公司 Database compatibility detection method and device
US9811444B2 (en) * 2015-08-04 2017-11-07 Salesforce.Com, Inc. Testing software enhancements in database applications
CN106445795B (en) * 2016-09-26 2019-03-22 中国工商银行股份有限公司 A kind of database SQL Efficiency testing method and device

Also Published As

Publication number Publication date
CN107688531B (en) 2019-02-22
JP2020520515A (en) 2020-07-09
CN107688531A (en) 2018-02-13
WO2018233037A1 (en) 2018-12-27

Similar Documents

Publication Publication Date Title
JP6799695B2 (en) Database integration testing methods, equipment, servers, and recording media
US9703790B1 (en) System and method for managing data on a network
US7165189B1 (en) Distributed test framework for clustered systems
US8132186B1 (en) Automatic detection of hardware and device drivers during restore operations
US20080229284A1 (en) Method and Apparatus for Testing Software
US20080270515A1 (en) Method and apparatus for migrating the system environment on which the applications depend
US9229758B2 (en) Passive monitoring of virtual systems using extensible indexing
US8661418B2 (en) Setting program, workflow creating method, and work flow creating apparatus
US8813229B2 (en) Apparatus, system, and method for preventing infection by malicious code
US9892019B2 (en) Use case driven stepping component automation framework
US20130111018A1 (en) Passive monitoring of virtual systems using agent-less, offline indexing
WO2016105352A1 (en) Automatically rerunning test executions
US7409578B2 (en) Graceful load fail over
WO2014059156A1 (en) Efficient virtual machine deployment methodology
CN106708727B (en) Distributed virus characteristic sample verification method and system
CN108628733B (en) Method and device for testing batch service processing operation
CN111966630B (en) File type detection method, device, equipment and medium
CN113485755A (en) Device driver verification method, device and storage medium
CN114546819A (en) Code processing method and device, electronic equipment and readable medium
CN116302738A (en) Method, system, equipment and storage medium for testing chip
CN116521414A (en) Fault code positioning method, cloud server, system and storage medium
CN111209197B (en) Application continuous integration test method, system, equipment and storage medium
CN115686535A (en) Inspection method and device for Kubernets cluster and application
CN114448788A (en) Installation method, system, equipment and medium of switch system
CN111026947A (en) Crawler method and embedded crawler implementation method based on browser

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191113

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191113

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20200901

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20200904

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201014

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201120

R150 Certificate of patent or registration of utility model

Ref document number: 6799695

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250