JPS61290545A - Automatic output device for vertification use data - Google Patents

Automatic output device for vertification use data

Info

Publication number
JPS61290545A
JPS61290545A JP60131904A JP13190485A JPS61290545A JP S61290545 A JPS61290545 A JP S61290545A JP 60131904 A JP60131904 A JP 60131904A JP 13190485 A JP13190485 A JP 13190485A JP S61290545 A JPS61290545 A JP S61290545A
Authority
JP
Japan
Prior art keywords
data
file
verification
output
signal
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
JP60131904A
Other languages
Japanese (ja)
Inventor
Masaaki Kaiho
貝保 雅昭
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.)
Hitachi Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Engineering Co Ltd
Hitachi 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 Hitachi Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Engineering Co Ltd
Priority to JP60131904A priority Critical patent/JPS61290545A/en
Publication of JPS61290545A publication Critical patent/JPS61290545A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To execute automatically the decision and the work of the verification of a normal operation of the logic by executing the comparison of a designated file data with the data of the same file saved already, and extracting only a data having the dissidence of the data contents. CONSTITUTION:A verification data comparing mechanism 2 extracts from a signal 82 all the data of the designated area range of a data file to be compared 8 registered in a verification data output designating register 5 from a signal line 52. Next, a coincidence check to a data saved already in a comparing data saving buffer 6 is executed. As for a data whose dissidence is detected, a data which becomes an object to be an output data buffer 7 and the saving buffer 6 from a signal 27 and a data of the same item in a file 8 are recorded. In-file relative address information of a data in which dissidence to a code of the file 8 is detected, and the dissidence detection time are added and recorded to an output buffer 7 from the signal 27.

Description

【発明の詳細な説明】 〔発明の利用分野 本発明は、計算機システムのソフトウェア製作過程での
、ロジック検証作業の人為的ミスを無くすための自動デ
ータ出力装置である。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention is an automatic data output device for eliminating human errors in logic verification work during the software production process of a computer system.

〔発明の背景〕[Background of the invention]

ロジック検証のための装置として、例えば、特公昭53
−3216号公報に示されるように、バグのある事を想
定して、領域指定(アドレス)された範囲内に、彼氏゛
較アドレスが含まれた場合に、ロジックエラーと判断す
る機構のものが知られている。
As a device for logic verification, for example,
As shown in Publication No. 3216, assuming there is a bug, there is a mechanism that determines a logic error if the boyfriend comparison address is included within the specified area (address). Are known.

この方法はロジックが正しく動作した事を前提に、直接
的なアドレス指定でなく、コード化された複数の領域指
定(データファイル単位に複数の領域指定が可能)され
た範囲内のデータ変化を認識する方法である。
This method assumes that the logic operates correctly, and recognizes data changes within the range specified by multiple coded areas (multiple areas can be specified for each data file), rather than by direct address specification. This is the way to do it.

、又、プログラムロジックの検証手研としては、従来よ
り、プログラムの正常動作内容を想定して。
,Also, as a program logic verification laboratory, we have traditionally assumed the normal operation of the program.

検証のためのテスト方案に処理結果の中間データ、又は
、最終データを記載しておき、検証時に検証者の判断で
結果のデータ出力を人為的に行って。
Intermediate data or final data of the processing results are written in the test plan for verification, and the result data is artificially output at the verifier's discretion during verification.

出力された結果とテスト方案の想定結果を比較する方法
をとっており1人為的な検証ミスが発生する場合も多く
、自動化の必要性があった゛。
The method used was to compare the output results with the expected results of the test plan, which often resulted in human verification errors, so there was a need for automation.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、ロジックの正常動作の検証の判断、及
び、作業を自動化するデータ自動出力装置を提供するこ
とにある。
An object of the present invention is to provide an automatic data output device that automates the judgment and work of verifying the normal operation of logic.

゛〔発明の概要〕 −本発明は、検証データの出力が要求された時点での、
指定ファイル情報の退避領域へのデータ退避後から機能
し、各イベント発生後、又は、スケジュールポイント直
後の一定時間経過時、下位プログラム群の動作終了を想
定し、指定ファイルデータとすでに退避されている同一
ファイルのデータとの比較を行ない、データ内容の不一
致のあるデータのみを抽出し、検出時刻等の付加情報と
共に出力する。
゛ [Summary of the Invention] - The present invention provides the following features:
It functions after data is saved to the specified file information save area, and after each event occurs or after a certain period of time immediately after a schedule point, assuming the lower program group ends its operation, the specified file data and the specified file data are already saved. Comparisons are made with data from the same file, and only data with inconsistent data content is extracted and output together with additional information such as detection time.

又、退避領域には最新データを移す。Also, the latest data is moved to the save area.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を図のプログラム検証用データ
自動出力装置のブロック図により、詳細に説明する。
Hereinafter, one embodiment of the present invention will be described in detail with reference to a block diagram of an automatic program verification data output device shown in the figure.

1は検証データ出力指定情報の入力機構であり、一般の
入力装置で、入力信号10より入力された検証データ出
力指定情報を取り込み、指定された被比較データファイ
ル8の指定領域範囲のデータを、比較データ退避バッフ
ァ6に退避した後に、♀込、力信号10より入力された
情報項目を検証データ出力指定レジスタ5に登録する。
Reference numeral 1 denotes an input mechanism for verification data output designation information, which is a general input device that takes in the verification data output designation information input from the input signal 10, and inputs data in a designated area range of the designated compared data file 8. After the comparison data is saved in the save buffer 6, the information items inputted from the output signal 10 are registered in the verification data output designation register 5.

2は検証データ比較機構であり、アプリケーションプロ
グラム4に組込まれている、比較要求遅延機構から、信
号42により比較要求される。検証データ比較機構2は
、52より検証データ出力指定レジスタ5に登録されて
いる被比較データファイル8の指定領域範囲のデータ全
件について、信号82より抽出し、すでに比較データ退
避バッファ6に退避されているデータとの一致チェック
を行い、不一致が検出されたデータに付いては、信号2
7より出力データバッファ7.比較データ退避バッファ
6の比較対象となったデータと、被比較データファイル
8内の同一項目のデータを記録し、被比較データファイ
ル8のコードとの不一致が検出されたデータのファイル
内相対アドレス情報、及び、不一致検出時刻を信号27
より、出力バッファ7に追加記録する。この後に、不一
致が検出された、被比較データファイル8の不一致デー
タのみを。
Reference numeral 2 denotes a verification data comparison mechanism, and a comparison request is made by a signal 42 from a comparison request delay mechanism built into the application program 4. The verification data comparison mechanism 2 extracts from the signal 82 all the data in the designated area range of the compared data file 8 registered in the verification data output designation register 5 from the signal 82, and extracts the data that has already been saved to the comparison data save buffer 6. A match check is performed with the data in
7 to output data buffer 7. The data to be compared in the comparison data save buffer 6 and the data of the same item in the compared data file 8 are recorded, and the in-file relative address information of the data for which a mismatch with the code of the compared data file 8 is detected. , and a signal 27 indicating the mismatch detection time.
Therefore, additional recording is performed in the output buffer 7. After this, only the mismatched data of the compared data file 8 where mismatch was detected.

信号26より、比較データ退避バッファ6内のデータに
付いて更新する6以上の処理を信号82より抽出した全
データについて終了した時点で、最低−件の不一致デー
タが検出されたならば、信号23より検証データ出力機
構3に不一致データの出力要求を行う、検証データ出力
機構3では、出力要求が信号23より発生すれば、出力
データバッファ7より、信号27より登録されている出
力対象情報を信号73より取り出し、任意の出力媒体へ
出力を行う、比較要求遅延機構4は、アプリケーション
プログラム群のスーパーバイザー機能に組込まれており
、下位のアプリケーションプログラムへのイベント起動
、及びスケシュリングポイント発生時点から、下位アプ
リケーションプログラム群の動作が終了したものと見な
せる程度の時間経過後、信号42により検証データ比較
機構2へ比較要求の起動をかける。
When the signal 26 indicates that six or more processes for updating the data in the comparison data save buffer 6 have been completed for all data extracted from the signal 82, if at least - pieces of mismatched data are detected, the signal 23 is detected. The verification data output mechanism 3 requests the verification data output mechanism 3 to output mismatched data, and when an output request is generated from the signal 23, the output data buffer 7 outputs registered output target information from the signal 27. The comparison request delay mechanism 4, which extracts data from 73 and outputs it to an arbitrary output medium, is built into the supervisor function of the application program group, and triggers an event to lower-level application programs and from the time when a scheduling point occurs. , after a period of time that allows it to be considered that the operations of the lower-level application programs have ended, a signal 42 is used to initiate a comparison request to the verification data comparison mechanism 2.

検証データ出力結果により、任意のアプリケーションプ
ログラムの動作検証のために、あらかじめ検証方案に記
載された。プログラム動作結果の中間、あるいは、最終
出力データの内容と検証データ出力値とを比較すること
により、被検証プログラムの一ロ、シック妥当性をチェ
ックする。
Based on the verification data output results, a verification plan has been written in advance to verify the operation of any application program. The thick validity of the program to be verified is checked by comparing the intermediate or final output data of the program operation results with the verification data output value.

又、被比較データファイルについて、複数のファイルを
同時に指定しておくことにより、検証の対象となるプロ
グラムロジック不良により、所定のファイル以外のデー
タ破壊等の不具合発見について有効な手段ともなる。
Moreover, by specifying a plurality of files at the same time as the data files to be compared, it becomes an effective means for discovering defects such as data corruption in files other than the predetermined files due to program logic defects to be verified.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、プログラム検証作業において、プログ
ラム動作後の検証データ出力時の出力領域指定ミス、及
びプログラム動作を想定ミスによる検証方案作成ミス、
又、プログラムロジック不良に付いての不具合内容の早
期発見が可能となる。
According to the present invention, in program verification work, mistakes in specifying an output area when outputting verification data after program operation, mistakes in creating a verification method due to mistakes in assuming program operations, etc.
Further, it is possible to early discover the details of a problem related to a program logic failure.

【図面の簡単な説明】[Brief explanation of the drawing]

図は本発明の一実施例のブロック図である。 1・・・検証データ出力指定入力機構、2・・・検証デ
ータ比較機構、3・・・検証データ出力機構、4・・・
比較要求遅延機構、5・・・検証データ出力指定レジス
タ、6・・・比較データ退避バッファ、7・・・出力バ
ッファ・8・・・被比較データファイル。
The figure is a block diagram of one embodiment of the present invention. 1... Verification data output designation input mechanism, 2... Verification data comparison mechanism, 3... Verification data output mechanism, 4...
Comparison request delay mechanism, 5... Verification data output designation register, 6... Comparison data save buffer, 7... Output buffer, 8... Compared data file.

Claims (1)

【特許請求の範囲】[Claims] 1、イベントドリブン、又は、スケジューリングのいず
れかの処理構造となつている計算機システムのソフトウ
ェアを製作する段階で、各機能の動作検証テスト時、各
イベントの発生後、又はスケジュールポイント直後の動
作対象となるプログラムがアクセスする情報ファイル・
コードを指定登録しておき、各イベント発生の前後、又
は前記スケジュールポイントの前後で指定されている前
記情報ファイル内のデータ変化を検出する手段と、検出
された前記情報ファイルについて、前記情報ファイル・
コード、ファイル内アドレス、及びデータの変化内容を
検出時刻と共に自動的に出力する手段と、前記各プログ
ラムの想定動作内容の整合性を検証するための必須情報
が、プログラム動作結果のアウトプット情報として自動
的に報告される手段とからなることを特徴とする検証用
データの自動出力装置。
1. At the stage of producing software for a computer system that has an event-driven or scheduling processing structure, it is necessary to check the operation target during the operation verification test of each function, after the occurrence of each event, or immediately after the schedule point. Information files accessed by the program
A means for specifying and registering a code, detecting a data change in the information file specified before and after the occurrence of each event or before and after the schedule point,
A means for automatically outputting code, file addresses, and data changes along with detection times, and essential information for verifying the consistency of the expected operation contents of each program as output information of program operation results. 1. An automatic verification data output device comprising a means for automatically reporting data.
JP60131904A 1985-06-19 1985-06-19 Automatic output device for vertification use data Pending JPS61290545A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60131904A JPS61290545A (en) 1985-06-19 1985-06-19 Automatic output device for vertification use data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60131904A JPS61290545A (en) 1985-06-19 1985-06-19 Automatic output device for vertification use data

Publications (1)

Publication Number Publication Date
JPS61290545A true JPS61290545A (en) 1986-12-20

Family

ID=15068886

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60131904A Pending JPS61290545A (en) 1985-06-19 1985-06-19 Automatic output device for vertification use data

Country Status (1)

Country Link
JP (1) JPS61290545A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0236433A (en) * 1988-07-27 1990-02-06 Nec Corp System for outputting information common/inherent to software debug

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0236433A (en) * 1988-07-27 1990-02-06 Nec Corp System for outputting information common/inherent to software debug

Similar Documents

Publication Publication Date Title
US5157780A (en) Master-slave checking system
JPS63145549A (en) Simulation method for logic circuit
JPS61290545A (en) Automatic output device for vertification use data
US8554522B2 (en) Detection of design redundancy
US7024347B2 (en) Transaction conflict testing method and apparatus
JP2795332B2 (en) Loop processing error detection device
JPS59183443A (en) Debug device
CN114253780A (en) Hard disk performance test method and system based on AMD processor
JP2560545B2 (en) Interface inspection processor
JPH074669Y2 (en) Interrupt request processing circuit
JPS5856150A (en) Program control system
JPS6180443A (en) Production and storage method of check data
JPS62224833A (en) Suitability inspecting system of data form
JP2967741B2 (en) CPU compatibility test equipment
CN116861827A (en) Method, device, equipment and medium for checking asynchronous reset and synchronous reset
JPH03263134A (en) Test processing system for test processor
JPS5870361A (en) Input controlling system
JPS59177799A (en) Checking system of read-only memory
JPH01246638A (en) Area error decision system for write instruction
JPS63245737A (en) Microcomputer
JPH076056A (en) Software inspecting device
JPS6123248A (en) Test system of data processor
JPS60198646A (en) Error producing system of control storage
JPS61138184A (en) Hardware confirmation method of tester by test program
JPS62134900A (en) Test circuit