JPH02110738A - Erroneous input detecting system - Google Patents

Erroneous input detecting system

Info

Publication number
JPH02110738A
JPH02110738A JP63265402A JP26540288A JPH02110738A JP H02110738 A JPH02110738 A JP H02110738A JP 63265402 A JP63265402 A JP 63265402A JP 26540288 A JP26540288 A JP 26540288A JP H02110738 A JPH02110738 A JP H02110738A
Authority
JP
Japan
Prior art keywords
record
program
definition information
input
information
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
JP63265402A
Other languages
Japanese (ja)
Inventor
Toshihiko Wakatsuki
若月 俊彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP63265402A priority Critical patent/JPH02110738A/en
Publication of JPH02110738A publication Critical patent/JPH02110738A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the mismatching of the receiving condition due to a work program by preserving the information concerning a record in the form of definition information, referring to it at the time of preparing the work program, synthesizing it as a verifying circuit corresponding to the record and controlling unifiedly the verification of the inputted data record. CONSTITUTION:A defining part 1 inputs the information concerning the record such as the constitution of the record, the attribute of the item to constitute the record and the relation conditions between mutual items from a definition information input part 4, encodes it so as to be suitable for preservation and stores it into a definition information holding part 7 as definition information 7a. When a verifying circuit 8b based on the character of the record recorded in the definition information 7a is synthesized and the source program of a duty program is translated to an execution form program 8a, the description concerning the record input is detected and the verifying circuit 8b corresponding to the said record is incorporated into the execution form program 8a. Thus, the mismatching of the receiving condition due to the duty program does not occur.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理におけるデータ入力に関し、特に入力
するレコードの性質を規定してそれにもとづいて不正な
データを検出する誤入力検出方式〔従来の技術〕 従来、不正データの検出は入力するレコードを処理する
業務プログラムにおいてレコード入力したあとにデータ
の値の検証等の必要な処理を行なうように、それぞれの
業務プログラムを作成するときにその都度考慮する必要
がある。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to data input in information processing, and in particular to an erroneous input detection method [conventional [Technology] Conventionally, detection of fraudulent data has been considered each time when creating each business program, such as performing necessary processing such as verifying data values after inputting records in business programs that process input records. There is a need to.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の検出方式では入力したデータの値の検証
等を業務プログラムごとに作成し組込む必要があるので
、同一の値を持つレコードがある業務プログラムでは受
理されるのに別の業務プログラムでは誤入力とされるな
ど、受理状況の不整合が発生しやすいという欠点がある
In the conventional detection method described above, it is necessary to create and incorporate verification of input data values for each business program, so a record with the same value may be accepted in one business program but incorrectly in another business program. It has the disadvantage that inconsistencies in the acceptance status are likely to occur, such as when it is considered as input.

また、レコードの設計が変更になると、そのレコードを
使用する全ての業務プログラムについてデータ値の検証
を行なっている箇所を探し出して必要な修正を加えなけ
ればならない。したがって作業量が多大なものになる恐
れがあり、修正箇所一’3R= の見落としや修正後の確認もれ等により業務プログラム
の誤動作が発生しやすいという欠点もある。
Furthermore, when the design of a record is changed, it is necessary to find the locations where data values are verified in all business programs that use that record and make necessary modifications. Therefore, there is a risk that the amount of work will be large, and there is also the disadvantage that malfunctions of the business program are likely to occur due to oversight of the modified parts or omission of confirmation after modification.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の誤入力検出方式は、レコードを構成する項目の
属性および項目相互間の関係条件によって定義したレコ
ードの性質を定義情報として保存し、前記定義情報に記
録されたレコードの性質にもとづいた検証回路を合成し
、業務プログラムのソースプログラムを実行形式プログ
ラムに翻訳する際にレコード入力に関する記述を検出し
て該当するレコードに対応した検証回路を実行形式プロ
グラムに組込むようにして構成される。
The erroneous input detection method of the present invention stores the properties of a record defined by the attributes of items constituting the record and the relationship conditions between items as definition information, and performs verification based on the properties of the record recorded in the definition information. When synthesizing circuits and translating a source program of a business program into an executable program, a description regarding record input is detected and a verification circuit corresponding to the corresponding record is incorporated into the executable program.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例の全体構成図である。FIG. 1 is an overall configuration diagram of an embodiment of the present invention.

同図において誤入力検出方式は、定義部1と翻訳部2と
実行部3とを有し、これらに対して外部力)ら情報を与
えるための定義情報入力部4とソースプログラム入力部
5とデータ入力部6とを備え、さらにこれらの相互間で
情報を授受するための定義情報保持部7と実行形式プロ
グラム保持部8とを備えている。
In the figure, the erroneous input detection method has a definition section 1, a translation section 2, and an execution section 3, and a definition information input section 4 and a source program input section 5 for providing information from external forces to these sections. The data input section 6 is further provided with a definition information holding section 7 and an executable program holding section 8 for exchanging information between them.

定義部1はレコードの構成、レコードを構成する項目の
属性および項目相互間の関係条件などのレコードに関す
る情報を定義情報入力部4から入力し、保存に適するよ
うコード化し定義情報7aとして定義情報保持部7に格
納する。
The definition section 1 inputs information related to the record, such as the structure of the record, the attributes of the items making up the record, and the relationship conditions between the items, from the definition information input section 4, encodes it to be suitable for storage, and stores the definition information as definition information 7a. It is stored in section 7.

第2図はレコードの簡単な例を示す説明図であり、「売
買レコード」と名づけられなレコードは「通番」、「売
買区別」、[顧客コードj、〔商品コード」等の項目か
ら構成されている。各項目の下側にその項目の属性をC
0BOL言語の表記に準じた形で示している。
Figure 2 is an explanatory diagram showing a simple example of a record. A record that is not named a "sales record" is composed of items such as "serial number,""salesdistinction," [customer code j, and [product code]. ing. Attributes of that item are shown below each item.
It is shown in a form that conforms to the notation of the 0BOL language.

第3図は、第2図で示したレコードをC0BOL言語に
より記述した説明図である。
FIG. 3 is an explanatory diagram in which the record shown in FIG. 2 is described in the COBOL language.

第4図は定義部1が第2図で示したレコードを定義する
場合のレコードに関する情報の入力例を示す説明図であ
る。各項目の項目名、属性情報。
FIG. 4 is an explanatory diagram showing an example of inputting information regarding a record when the definition unit 1 defines the record shown in FIG. 2. Item name and attribute information for each item.

および値域とともに、項目相互間の関係条件等を条件式
として指示している。条件式において「@」で始まる記
述は関数呼出しを示し、この場で記述しきれない複雑な
条件、複数のレコード、項目等で共通に引用される条件
などを関数として別に定義しておき、その関数を呼出す
ことを指示する。
and value ranges, and the relationship conditions between items are specified as conditional expressions. In a conditional expression, a description that starts with "@" indicates a function call. Complex conditions that cannot be described here, conditions that are commonly quoted in multiple records, items, etc. are defined separately as functions, and then Indicates that a function is to be called.

第5図は条件式に関する情報の入力例を示す説明図であ
り、第4図で入力した条件式の一覧を示し、評価効率を
考慮に入れて評価順序を変更することができる。また、
単独の項目に従属しない複合条件等について追加するこ
とができる。順番9の「@売却チエツク」および10の
「@購入チエツク」は後から追加したものである。
FIG. 5 is an explanatory diagram showing an example of inputting information regarding conditional expressions, showing a list of the conditional expressions input in FIG. 4, and the evaluation order can be changed taking evaluation efficiency into consideration. Also,
It is possible to add compound conditions that are not dependent on a single item. ``@Sell Check'' in order 9 and ``@Purchase Check'' in order 10 were added later.

翻訳部2はソース・プログラム入力部5から入力された
業務プログラムのソースプログラムを翻訳して実行可能
な形式に変換し、実行形式プログラム8aとして実行形
式プログラム保持部8に格納する。翻訳の際にソース・
プログラム上にレコード入力に関する記述を発見すると
、該当するレコードに関する定義情報7aを参照して検
証回路8bを合成し、それを実行形式プログラム8aに
組込む。
The translation unit 2 translates the source program of the business program input from the source program input unit 5, converts it into an executable format, and stores it in the executable program storage unit 8 as an executable program 8a. When translating the source
When a description regarding record input is found on the program, a verification circuit 8b is synthesized by referring to the definition information 7a regarding the corresponding record, and it is incorporated into the executable program 8a.

検証回路8bは定義情報7aに記録されている条件式を
指定された順序で評価し、全ての条件式を満足する場合
には「受理し」、ひとつでも満足しない場合には「拒絶
」するプログラム論理である。第6図に上記の第4図お
よび第5図の例に沿った検証回路の例を流れ図で示す。
The verification circuit 8b is a program that evaluates the conditional expressions recorded in the definition information 7a in a specified order, and “accepts” if all the conditional expressions are satisfied, and “rejects” if even one is not satisfied. It's logic. FIG. 6 shows a flowchart of an example of a verification circuit in accordance with the examples of FIGS. 4 and 5 above.

同図(a)の各判断ボックスの内容を同図(b)にそれ
ぞれ示す。
The contents of each judgment box in FIG. 12(a) are shown in FIG. 2(b).

実行部3は実行形式プログラム保持部8に格納された実
行形式プログラム8aを実行させる。実行部3により実
行を開始した実行形式プログラム8aはデータ入力部6
よりデータを入力し、そのデータ値を検証回路8bによ
り検証し誤入力を検出する。すなわち検証回路8bによ
り「受理」される場合は正しいデータであり、「拒絶」
される場合は誤ったデータである。
The execution unit 3 executes the executable program 8a stored in the executable program holding unit 8. The executable program 8a started to be executed by the execution unit 3 is sent to the data input unit 6.
The data value is verified by the verification circuit 8b to detect erroneous input. In other words, if the data is "accepted" by the verification circuit 8b, it is correct data, and if it is "rejected".
If so, the data is incorrect.

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

以上説明したように本発明は、レコードに関する情報を
定義情報という形で保存し、業務プログラム作成時には
それを参照しレコードに対応した検証回路として合成す
るので、入力したデータレコードの検証を一元的に管理
することができる。
As explained above, the present invention saves information about records in the form of definition information, refers to it when creating a business program, and synthesizes a verification circuit corresponding to the record. Therefore, verification of input data records can be performed centrally. can be managed.

その結果、業務プログラムによる受理状況の不整合は発
生しなくなる。またレコードの変更に関しても全ての業
務プログラムを個別に修正するのでなく、ソース・プロ
グラムからの再翻訳により業務プログラムの再構成が可
能となる等の効果がある。
As a result, inconsistencies in acceptance status due to business programs will no longer occur. In addition, regarding changes to records, there is an effect that business programs can be reconfigured by retranslating them from the source program instead of individually modifying all business programs.

1・・・定義部、2・・・翻訳部、3・・・実行部、4
・・・定義情報入力部、5・・・ソース・プログラム入
力部、6・・・データ入力部、7・・・定義情報保持部
、7a・・・定義情報、8・・・実行形式プログラム保
持部、8a・・・実行形式プログラム、8b・・・検証
回路。
1... Definition part, 2... Translation part, 3... Execution part, 4
... Definition information input section, 5... Source program input section, 6... Data input section, 7... Definition information holding section, 7a... Definition information, 8... Executable program holding section Section 8a... Executable program, 8b... Verification circuit.

Claims (1)

【特許請求の範囲】[Claims] レコードを構成する項目の属性および項目相互間の関係
条件によって定義したレコードの性質を定義情報として
保存し、前記定義情報に記録されたレコードの性質にも
とづいた検証回路を合成し、業務プログラムのソースプ
ログラムを実行形式プログラムに翻訳する際にレコード
入力に関する記述を検出して該当するレコードに対応し
た検証回路を実行形式プログラムに組込むことを特徴と
する誤入力検出方式。
The properties of the record defined by the attributes of the items that make up the record and the relationship conditions between the items are saved as definition information, a verification circuit is synthesized based on the properties of the record recorded in the definition information, and the source of the business program is An erroneous input detection method characterized in that when a program is translated into an executable program, a description regarding record input is detected and a verification circuit corresponding to the corresponding record is incorporated into the executable program.
JP63265402A 1988-10-20 1988-10-20 Erroneous input detecting system Pending JPH02110738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63265402A JPH02110738A (en) 1988-10-20 1988-10-20 Erroneous input detecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63265402A JPH02110738A (en) 1988-10-20 1988-10-20 Erroneous input detecting system

Publications (1)

Publication Number Publication Date
JPH02110738A true JPH02110738A (en) 1990-04-23

Family

ID=17416668

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63265402A Pending JPH02110738A (en) 1988-10-20 1988-10-20 Erroneous input detecting system

Country Status (1)

Country Link
JP (1) JPH02110738A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6051950A (en) * 1983-08-31 1985-03-23 Fujitsu Ltd Program outputting system
JPS6393044A (en) * 1986-10-07 1988-04-23 Mitsubishi Electric Corp Program translation/compiling connection system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6051950A (en) * 1983-08-31 1985-03-23 Fujitsu Ltd Program outputting system
JPS6393044A (en) * 1986-10-07 1988-04-23 Mitsubishi Electric Corp Program translation/compiling connection system

Similar Documents

Publication Publication Date Title
Martin et al. Structured techniques: the basis for CASE (revised ed.)
US6944514B1 (en) Innovation information management model
US20080133570A1 (en) Determining boolean logic and operator precedence of query conditions
US11972228B2 (en) Merging database tables by classifying comparison signatures
EP1171832A2 (en) Interface for an enterprise resource planning program
WO2022188780A1 (en) Visual software development system, method and apparatus, and computer storage medium
WO2004057483A1 (en) Web application server support program and server
WO1999049387A1 (en) Apparatus for producing software and method for producing software
US8352909B2 (en) Business process diagram (BPD) component analysis
JPH02110738A (en) Erroneous input detecting system
US11087257B2 (en) System and method for modular customization of intermediate business documentation generation
CN107491460A (en) The data mapping method and device of adaption system
JPH04172529A (en) Automatic program generating system by data oriented software parts
US20240103478A1 (en) Validation Logic for OPC UA Connected Devices
CN107608690A (en) The method and device of configuration management
US20030208504A1 (en) Computer program product for accessing database, recording medium recording database access program therein, and database access method
JP2006268545A (en) File-coupling device, file-coupling method, and program
Grinberg et al. Manipulating XML Files
CN117035907A (en) Multi-platform commodity information conversion method and system
CN113869983A (en) Method and system for custom ordering of commodities
Troelsen et al. Exploring Entity Framework Core
JP3830579B2 (en) Information analysis / editing system
JPH0944358A (en) Method and device for program generation, method and device for object generation
Diffenderfer et al. Using Dataports to export & Import Navision Data
Marcinkowski Isomorphism of Interaction Diagrams in UML 2