Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3905901B2 - Number generating apparatus, number inspection apparatus, method, program, and recording medium - Google Patents
[go: Go Back, main page]

JP3905901B2 - Number generating apparatus, number inspection apparatus, method, program, and recording medium - Google Patents

Number generating apparatus, number inspection apparatus, method, program, and recording medium Download PDF

Info

Publication number
JP3905901B2
JP3905901B2 JP2004237694A JP2004237694A JP3905901B2 JP 3905901 B2 JP3905901 B2 JP 3905901B2 JP 2004237694 A JP2004237694 A JP 2004237694A JP 2004237694 A JP2004237694 A JP 2004237694A JP 3905901 B2 JP3905901 B2 JP 3905901B2
Authority
JP
Japan
Prior art keywords
digit
inspection
basic
derived
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.)
Expired - Fee Related
Application number
JP2004237694A
Other languages
Japanese (ja)
Other versions
JP2006059401A (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.)
MUFG Bank Ltd
Original Assignee
Bank of Tokyo Mitsubishi UFJ Trust Co
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 Bank of Tokyo Mitsubishi UFJ Trust Co filed Critical Bank of Tokyo Mitsubishi UFJ Trust Co
Priority to JP2004237694A priority Critical patent/JP3905901B2/en
Publication of JP2006059401A publication Critical patent/JP2006059401A/en
Application granted granted Critical
Publication of JP3905901B2 publication Critical patent/JP3905901B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Detection And Correction Of Errors (AREA)

Description

本発明は、番号の入力エラーをチェックデジットによりどれだけ発見できるか、あるいはできないかの程度の算出結果に基づき、番号の生成を行なうことに関する。   The present invention relates to generating a number based on a calculation result of the extent to which a number input error can or cannot be found by a check digit.

従来より、銀行の口座番号や証券の保管口座番号などには、末尾にチェックデジット(CDV)が付されている。チェックデジットは、口座番号等から一意に決定される数字である。   Conventionally, check digits (CDV) are appended to bank account numbers and securities storage account numbers. The check digit is a number uniquely determined from an account number or the like.

例えば口座番号を銀行のATMにより入力する際に入力を間違える場合がある。この際、チェックデジットを正しく入力できれば、口座番号の入力の誤りを発見できる場合がある。誤って入力された口座番号からチェックデジットを求めると、正しく入力されたチェックデジットと異なることが多いからである。よって、口座番号の入力の誤りを発見できる。   For example, when entering an account number by bank ATM, there is a case where the input is wrong. At this time, if the check digit can be correctly input, an incorrect account number may be detected. This is because when a check digit is obtained from an account number that has been entered incorrectly, it is often different from a check digit that has been entered correctly. Therefore, an error in inputting the account number can be found.

チェックデジットを、どのようにして口座番号等から決定するかについては、色々な方法(例えば、モジュラス10)が知られている(例えば、非特許文献1を参照)。   Various methods (for example, the modulus 10) are known as to how the check digit is determined from the account number or the like (for example, see Non-Patent Document 1).

なお、口座番号にチェックデジットを付し、かつ、チェックデジットを正しく入力できたとしても、必ず口座番号の入力の誤りを発見できるとは限らない。そこで、上記のような色々なチェックデジット決定法ごとに、入力の誤りを発見できる割合(入力エラー発見率)が異なるので、入力エラー発見率が高い方法を採用することが好ましい。   Even if a check digit is added to the account number and the check digit is correctly input, it is not always possible to find an error in inputting the account number. Therefore, since the ratio (input error detection rate) at which an input error can be detected differs for each of the various check digit determination methods as described above, it is preferable to employ a method having a high input error detection rate.

デジタル用語辞典2002−2003年版、日経BP社刊、747頁Digital Glossary 2002-2003 edition, published by Nikkei Business Publications, 747 pages

しかしながら、入力エラー発見率が高いチェックデジット決定法を採用するためには、入力エラー発見率を客観的に求めなければならない。そして、客観的に求められた入力エラー発見率に基づきチェックデジット決定法を採用するのであるが、具体的に、どのようなチェックデジット決定法を採用すればよいかも明らかではない。   However, in order to employ a check digit determination method with a high input error detection rate, the input error detection rate must be objectively determined. The check digit determination method is adopted based on the objectively found input error detection rate, but it is not clear what specific check digit determination method should be adopted.

そこで、本発明は、どのようなチェックデジット決定法を採用すればよいかを明らかにすることを課題とする。   Therefore, an object of the present invention is to clarify what check digit determination method should be adopted.

発明は、任意の情報数字に基づき基本検査数字を導出する基本検査数字導出手段と、任意の情報数字に基づき、基本検査数字とは異なる派生検査数字を導出する派生検査数字導出手段と、任意の情報数字に基本検査数字を付加して、第一組織数字を生成する第一組織数字生成手段と、任意の情報数字に派生検査数字を付加して、第二組織数字を生成する第二組織数字生成手段と、を備え、派生検査数字導出手段は、基本検査数字に、基本検査数字に応じて変動する所定の値を加えて、派生検査数字を導出するように構成される。 The present invention includes a basic check digit deriving unit for deriving a basic check digit based on an arbitrary information digit, a derived check digit deriving unit for deriving a derived check digit different from the basic check digit based on an arbitrary information digit, The first organization number generating means for generating the first organization number by adding the basic inspection number to the information number of the second, and the second organization for generating the second organization number by adding the derived inspection number to the arbitrary information number Number generation means, and the derived check number deriving means is configured to derive a derived check number by adding a predetermined value that varies in accordance with the basic check number to the basic check number.

発明によれば、基本検査数字導出手段は、任意の情報数字に基づき基本検査数字を導出する。派生検査数字導出手段は、任意の情報数字に基づき、基本検査数字とは異なる派生検査数字を導出する。第一組織数字生成手段は、任意の情報数字に基本検査数字を付加して、第一組織数字を生成する。第二組織数字生成手段は、任意の情報数字に派生検査数字を付加して、第二組織数字を生成する。しかも、派生検査数字導出手段は、基本検査数字に、基本検査数字に応じて変動する所定の値を加えて、派生検査数字を導出する。 According to the present invention, the basic check digit deriving means derives a basic check digit based on an arbitrary information digit. The derived check number deriving means derives a derived check number different from the basic check number based on an arbitrary information number. The first organization number generation means generates a first organization number by adding a basic inspection number to an arbitrary information number. The second organization number generation means generates a second organization number by adding a derived inspection number to an arbitrary information number. In addition, the derived check digit deriving means derives the derived check digit by adding a predetermined value that varies according to the basic check digit to the basic check digit.

なお、本発明は、基本検査数字導出手段は、任意の情報数字の各桁の数値に、所定の重み付け係数を乗じた値の総和を10で割ったときの余りに基づき基本検査数字を決定し、任意の情報数字は10進数であるようにしてもよい The present invention is based on the check digit deriving means, each digit of the numerical value of any information numbers, determines a basic check digit based on the remainder when divided by 10 the sum of values obtained by multiplying the predetermined weighting factor The arbitrary information number may be a decimal number.

なお、本発明は、所定の重み付け係数が全ての桁について同じ偶数である場合に、所定の値を奇数とするようにしてもよい The present invention is the weighting factor of Jo Tokoro is the case is the same even number of all digits, may be an odd number a predetermined value.

なお、本発明は、所定の重み付け係数が全ての桁について同じ奇数である場合に、所定の値を奇数とするようにしてもよい The present invention is the weighting factor of Jo Tokoro is when the same odd for all digits, may be an odd number a predetermined value.

なお、本発明は、所定の重み付け係数が奇数桁については偶数、偶数桁については奇数である場合に、所定の値を5を除く奇数とするようにしてもよい The present invention is an even number for weighting coefficients Jo Tokoro odd digits, when the even digit is odd, it may be an odd number excluding 5 a predetermined value.

なお、本発明は、所定の重み付け係数が奇数桁については奇数、偶数桁については偶数である場合に、所定の値を5を除く奇数とするようにしてもよい The present invention is odd about the weighting coefficients Jo Tokoro odd digits, when the even digit is an even number, it may be an odd number excluding 5 a predetermined value.

なお、本発明は、所定の重み付け係数が最初の桁から、0、偶数、0、奇数の繰り返しである場合に、所定の値を5を除く奇数とするようにしてもよい The present invention is in the first column is the weighting coefficient of Jo Tokoro, 0, even, 0, if an odd number of repetitions may be an odd number excluding 5 a predetermined value.

なお、本発明は、所定の重み付け係数が最初の桁から、0、奇数、0、偶数の繰り返しである場合に、所定の値を奇数とするようにしてもよい The present invention is in the first column is the weighting coefficient of Jo Tokoro, 0, odd, 0, if it is repeated an even number may be an odd number a predetermined value.

なお、本発明は、所定の重み付け係数が最初の桁から、偶数、0、奇数、0の繰り返しである場合に、所定の値を奇数とするようにしてもよい The present invention is the first column weighting factor of Jo Tokoro is even, 0, odd, when a repeat of 0 may be an odd number a predetermined value.

なお、本発明は、所定の重み付け係数が最初の桁から、奇数、0、偶数、0の繰り返しである場合に、所定の値を5を除く奇数とするようにしてもよい The present invention is in the first column is the weighting coefficient of Jo Tokoro, odd, 0, an even number, when a repeat of 0 may be an odd number excluding 5 a predetermined value.

なお、本発明は、所定の重み付け係数が上記のいずれにも該当しない場合に、所定の値を奇数とするようにしてもよい The present invention, when the weighting coefficient of Jo Tokoro does not correspond to any of the above may be an odd number a predetermined value.

なお、本発明は、所定の値を、情報数字を入力するための入力機器における各数字の入力用キーどうしの距離が最大になるように決定するようにしてもよい The present invention is a Jo Tokoro value, the distance of the input key to each other for each digit in the input device for inputting information numbers may be determined so as to maximize.

発明は、検査数字を含む番号を、検査数字と情報数字とに分離する検査数字分離手段と、情報数字に基づき基本検査数字を導出する基本検査数字導出手段と、情報数字に基づき、基本検査数字とは異なる派生検査数字を導出する派生検査数字導出手段と、検査数字が、基本検査数字および派生検査数字のいずれかに等しいか否かを検査する番号検査手段と、を備え、派生検査数字導出手段は、基本検査数字に、基本検査数字に応じて変動する所定の値を加えて、派生検査数字を導出するように構成される。 The present invention relates to a test number separating means for separating a number including a check number into a check number and an information number, a basic check number deriving means for deriving a basic check number based on the information number, and a basic test based on the information number Derived check digit derivation means for deriving a derived check digit different from the number, and number check means for checking whether the check digit is equal to either the basic check digit or the derived check digit, and the derived check digit The derivation means is configured to derive a derived check digit by adding a predetermined value that varies according to the basic check digit to the basic check digit.

発明によれば、検査数字分離手段は、検査数字を含む番号を、検査数字と情報数字とに分離する。基本検査数字導出手段は、情報数字に基づき基本検査数字を導出する。派生検査数字導出手段は、情報数字に基づき、基本検査数字とは異なる派生検査数字を導出する。番号検査手段は、検査数字が、基本検査数字および派生検査数字のいずれかに等しいか否かを検査する。さらに、派生検査数字導出手段は、基本検査数字に、基本検査数字に応じて変動する所定の値を加えて、派生検査数字を導出する。 According to the present invention, the check digit separating means separates the number including the check digit into the check digit and the information digit. The basic inspection number deriving means derives a basic inspection number based on the information number. The derived check number deriving means derives a derived check number different from the basic check number based on the information number. The number checking means checks whether the check digit is equal to either the basic check digit or the derived check digit. Furthermore, the derived check digit deriving means derives a derived check digit by adding a predetermined value that varies according to the basic check digit to the basic check digit.

なお、本発明は、基本検査数字導出手段は、任意の情報数字の各桁の数値に、所定の重み付け係数を乗じた値の総和を10で割ったときの余りに基づき基本検査数字を決定し、任意の情報数字は10進数であるようにしてもよい The present invention is based on the check digit deriving means, each digit of the numerical value of any information numbers, determines a basic check digit based on the remainder when divided by 10 the sum of values obtained by multiplying the predetermined weighting factor The arbitrary information number may be a decimal number.

なお、本発明は、所定の重み付け係数が全ての桁について同じ偶数である場合に、所定の値を奇数とするようにしてもよい The present invention is the weighting factor of Jo Tokoro is the case is the same even number of all digits, may be an odd number a predetermined value.

なお、本発明は、所定の重み付け係数が全ての桁について同じ奇数である場合に、所定の値を奇数とするようにしてもよい The present invention is the weighting factor of Jo Tokoro is when the same odd for all digits, may be an odd number a predetermined value.

なお、本発明は、所定の重み付け係数が奇数桁については偶数、偶数桁については奇数である場合に、所定の値を5を除く奇数とするようにしてもよい The present invention is an even number for weighting coefficients Jo Tokoro odd digits, when the even digit is odd, it may be an odd number excluding 5 a predetermined value.

なお、本発明は、所定の重み付け係数が奇数桁については奇数、偶数桁については偶数である場合に、所定の値を5を除く奇数とするようにしてもよい The present invention is odd about the weighting coefficients Jo Tokoro odd digits, when the even digit is an even number, it may be an odd number excluding 5 a predetermined value.

なお、本発明は、所定の重み付け係数が最初の桁から、0、偶数、0、奇数の繰り返しである場合に、所定の値を5を除く奇数とするようにしてもよい The present invention is in the first column is the weighting coefficient of Jo Tokoro, 0, even, 0, if an odd number of repetitions may be an odd number excluding 5 a predetermined value.

なお、本発明は、所定の重み付け係数が最初の桁から、0、奇数、0、偶数の繰り返しである場合に、所定の値を奇数とするようにしてもよい The present invention is in the first column is the weighting coefficient of Jo Tokoro, 0, odd, 0, if it is repeated an even number may be an odd number a predetermined value.

なお、本発明は、所定の重み付け係数が最初の桁から、偶数、0、奇数、0の繰り返しである場合に、所定の値を奇数とするようにしてもよい The present invention is the first column weighting factor of Jo Tokoro is even, 0, odd, when a repeat of 0 may be an odd number a predetermined value.

なお、本発明は、所定の重み付け係数が最初の桁から、奇数、0、偶数、0の繰り返しである場合に、所定の値を5を除く奇数とするようにしてもよい The present invention is in the first column is the weighting coefficient of Jo Tokoro, odd, 0, an even number, when a repeat of 0 may be an odd number excluding 5 a predetermined value.

なお、本発明は、所定の重み付け係数が上記のいずれにも該当しない場合に、所定の値を奇数とするようにしてもよい The present invention, when the weighting coefficient of Jo Tokoro does not correspond to any of the above may be an odd number a predetermined value.

なお、本発明は、所定の値を、情報数字を入力するための入力機器における各数字の入力用キーどうしの距離が最大になるように決定するようにしてもよい The present invention is a Jo Tokoro value, the distance of the input key to each other for each digit in the input device for inputting information numbers may be determined so as to maximize.

発明は、基本検査数字導出手段が、任意の情報数字に基づき基本検査数字を導出する基本検査数字導出工程と、派生検査数字導出手段が、任意の情報数字に基づき、基本検査数字とは異なる派生検査数字を導出する派生検査数字導出工程と、番号生成手段が、任意の情報数字に基本検査数字を付加して、第一組織数字を生成する第一組織数字生成工程と、第二組織数字生成手段が、任意の情報数字に派生検査数字を付加して、第二組織数字を生成する第二組織数字生成工程と、を備え、派生検査数字導出工程は、基本検査数字に、基本検査数字に応じて変動する所定の値を加えて、派生検査数字を導出するように構成される。 In the present invention, the basic check digit deriving means derives a basic check digit based on an arbitrary information digit, and the derived check digit deriving means is different from the basic check digit based on an arbitrary information digit. Derived inspection number derivation step for deriving derived inspection numbers, a first organization number generation step in which the number generation means adds a basic inspection number to an arbitrary information number to generate a first organization number, and a second organization number A generating means including a second organization number generating step for generating a second organization number by adding a derived inspection number to an arbitrary information number, and the derived inspection number deriving step includes the basic inspection number and the basic inspection number; The derived check digit is derived by adding a predetermined value that varies depending on

発明は、任意の情報数字に基づき基本検査数字を導出する基本検査数字導出処理と、任意の情報数字に基づき、基本検査数字とは異なる派生検査数字を導出する派生検査数字導出処理と、任意の情報数字に基本検査数字を付加して、第一組織数字を生成する第一組織数字生成処理と、任意の情報数字に派生検査数字を付加して、第二組織数字を生成する第二組織数字生成処理と、をコンピュータに実行させるためのプログラムであって、派生検査数字導出処理は、基本検査数字に、基本検査数字に応じて変動する所定の値を加えて、派生検査数字を導出するプログラムである。 The present invention includes a basic check digit deriving process for deriving a basic check digit based on an arbitrary information digit, a derived check digit deriving process for deriving a derived check digit different from the basic check digit based on an arbitrary information digit, The first organization number generation process for generating the first organization number by adding the basic inspection number to the information number of the second, and the second organization for generating the second organization number by adding the derived inspection number to the arbitrary information number A derived number verification process is a program for causing a computer to execute a number generation process, and the derived check number derivation process derives a derived check number by adding a predetermined value that varies according to the basic check number to the basic check number. It is a program.

発明は、任意の情報数字に基づき基本検査数字を導出する基本検査数字導出処理と、任意の情報数字に基づき、基本検査数字とは異なる派生検査数字を導出する派生検査数字導出処理と、任意の情報数字に基本検査数字を付加して、第一組織数字を生成する第一組織数字生成処理と、任意の情報数字に派生検査数字を付加して、第二組織数字を生成する第二組織数字生成処理と、をコンピュータに実行させるためのプログラムを記録したコンピュータによって読み取り可能な記録媒体であって、派生検査数字導出処理は、基本検査数字に、基本検査数字に応じて変動する所定の値を加えて、派生検査数字を導出する記録媒体である。 The present invention includes a basic check digit deriving process for deriving a basic check digit based on an arbitrary information digit, a derived check digit deriving process for deriving a derived check digit different from the basic check digit based on an arbitrary information digit, The first organization number generation process for generating the first organization number by adding the basic inspection number to the information number of the second, and the second organization for generating the second organization number by adding the derived inspection number to the arbitrary information number A computer-readable recording medium storing a program for causing a computer to execute a number generation process, wherein the derived check digit derivation process is a predetermined value that varies according to the basic check digit Is a recording medium for deriving a derived inspection number.

発明は、検査数字分離手段が、検査数字を含む番号を、検査数字と情報数字とに分離する検査数字分離工程と、基本検査数字導出手段が、情報数字に基づき基本検査数字を導出する基本検査数字導出工程と、派生検査数字導出手段が、情報数字に基づき、基本検査数字とは異なる派生検査数字を導出する派生検査数字導出工程と、番号検査手段が、検査数字が、基本検査数字および派生検査数字のいずれかに等しいか否かを検査する番号検査工程と、を備え、派生検査数字導出工程は、基本検査数字に、基本検査数字に応じて変動する所定の値を加えて、派生検査数字を導出するように構成される。 The present invention provides a check digit separating step in which a check digit separating unit separates a number including a check digit into a check digit and an information digit, and a basic check digit deriving unit is a basic unit for deriving a basic check digit based on the information digit. The inspection number deriving step and the derived inspection number deriving means derive a derived inspection number based on the information number and different from the basic inspection number, and the number inspecting means includes the basic inspection number and the inspection number. A number inspection process for inspecting whether or not it is equal to any one of the derived inspection figures, and the derived inspection numeral derivation step is performed by adding a predetermined value that varies according to the basic inspection figures to the basic inspection figures. Configured to derive a check digit.

発明は、検査数字を含む番号を、検査数字と情報数字とに分離する検査数字分離処理と、情報数字に基づき基本検査数字を導出する基本検査数字導出処理と、情報数字に基づき、基本検査数字とは異なる派生検査数字を導出する派生検査数字導出処理と、検査数字が、基本検査数字および派生検査数字のいずれかに等しいか否かを検査する番号検査処理と、をコンピュータに実行させるためのプログラムであって、派生検査数字導出処理は、基本検査数字に、基本検査数字に応じて変動する所定の値を加えて、派生検査数字を導出するプログラムである。 The present invention relates to a test digit separation process for separating a number including a test digit into a test digit and an information digit, a basic test digit derivation process for deriving a basic test digit based on the information digit, and a basic test based on the information digit. To cause a computer to execute a derived check digit derivation process for deriving a derived check digit that is different from a number, and a number check process for checking whether the check digit is equal to either the basic check digit or the derived check digit The derived check digit derivation process is a program for deriving a derived check digit by adding a predetermined value that varies according to the basic check digit to the basic check digit.

発明は、検査数字を含む番号を、検査数字と情報数字とに分離する検査数字分離処理と、情報数字に基づき基本検査数字を導出する基本検査数字導出処理と、情報数字に基づき、基本検査数字とは異なる派生検査数字を導出する派生検査数字導出処理と、検査数字が、基本検査数字および派生検査数字のいずれかに等しいか否かを検査する番号検査処理と、をコンピュータに実行させるためのプログラムを記録したコンピュータによって読み取り可能な記録媒体であって、派生検査数字導出処理は、基本検査数字に、基本検査数字に応じて変動する所定の値を加えて、派生検査数字を導出する記録媒体である。 The present invention relates to a test digit separation process for separating a number including a test digit into a test digit and an information digit, a basic test digit derivation process for deriving a basic test digit based on the information digit, and a basic test based on the information digit. To cause a computer to execute a derived check digit derivation process for deriving a derived check digit that is different from a number, and a number check process for checking whether the check digit is equal to either the basic check digit or the derived check digit The computer-readable recording medium having the program recorded therein, the derived test digit derivation process adds a predetermined value that varies according to the basic test digit to the basic test digit to derive a derived test digit It is a medium.

なお、本発明は、入力用キーどうしの距離が最大になるように、所定の値を決定するようにしてもよい The present invention is such that the distance of the keys to each other for input is maximized, it may be determined a predetermined value.

なお、本発明は、入力用キーどうしの距離が最大になるように、所定の値を決定するようにしてもよい The present invention is such that the distance of the keys to each other for input is maximized, it may be determined a predetermined value.

以下、本発明の実施形態を図面を参照しながら説明する。なお、本発明は、どのようなチェックデジット決定法を採用すればよいかに関するものであるが、その前提として、エラー検出劣化個数の導出が必要となるので、エラー検出劣化数導出装置1(図4参照;第一の実施形態)およびエラー検出劣化数導出装置2(図16参照;第二の実施形態)の説明を行なう。   Embodiments of the present invention will be described below with reference to the drawings. The present invention relates to what kind of check digit decision method should be adopted. As the premise, it is necessary to derive the number of error detection deteriorations. 4; the first embodiment) and the error detection deterioration number deriving device 2 (see FIG. 16; the second embodiment) will be described.

本発明の実施形態にかかるエラー検出劣化数導出装置1(図4参照)を説明する前に、エラー検出劣化数導出装置1が適用されるチェックデジット(検査数字)の導出体系について説明する。   Before describing the error detection deterioration number deriving device 1 (see FIG. 4) according to the embodiment of the present invention, a check digit (check digit) deriving system to which the error detection deterioration number deriving device 1 is applied will be described.

図1は、モジュラス10といわれるチェックデジットの導出法を説明するための図である。まず、図1(a)に示すように、銀行等の口座番号(情報数字)が店番号(三桁)および顧客番号(六桁)より構成されているとする。ここで、図1(b)に示すように、口座番号の各桁についてウェイト(重み付け係数)を割り当てる。なお、ウェイトは適宜設定できる。そして、図1(c)に示すように、口座番号の各桁の数値に、ウェイトを乗じた値の総和「41」(=1×1+0×3+…6×1)を求める。この総和「41」を、モジュラス「10」で割って、その余り「1」を得る(図1(d)参照)。ここで、DR方式(チェックデジット=余りそのもの)を用いれば、チェックデジット=1となる。しかし、本発明の実施形態においては、DSR方式(チェックデジット=モジュラス−余り)を用いるため、チェックデジット=10−1=9となる(図1(e)参照)。このようにして求めたチェックデジットを、本発明の実施形態においては、基本検査数字(CDV1)という。基本検査数字は、図1(f)に示すように、口座番号(情報数字)の末尾に付加される。このようなチェックデジットの導出法は、線形なものである。すなわち、検査数字が、情報数字の各桁の数値を取り出して求めた検査数字成分の総和となる。   FIG. 1 is a diagram for explaining a method of deriving a check digit called a modulus 10. First, as shown in FIG. 1A, it is assumed that an account number (information number) of a bank or the like is composed of a store number (three digits) and a customer number (six digits). Here, as shown in FIG. 1B, a weight (weighting coefficient) is assigned to each digit of the account number. The weight can be set as appropriate. Then, as shown in FIG. 1C, a sum “41” (= 1 × 1 + 0 × 3 +... 6 × 1) is obtained by multiplying the numerical value of each digit of the account number by the weight. The sum “41” is divided by the modulus “10” to obtain the remainder “1” (see FIG. 1D). Here, if the DR method (check digit = remainder itself) is used, check digit = 1. However, in the embodiment of the present invention, since the DSR method (check digit = modulus-residue) is used, check digit = 10-1 = 9 (see FIG. 1E). The check digit obtained in this manner is referred to as a basic check digit (CDV1) in the embodiment of the present invention. The basic inspection number is added to the end of the account number (information number) as shown in FIG. Such a check digit derivation method is linear. In other words, the check digit is the sum of the check digit components obtained by extracting the numerical value of each digit of the information number.

これにより、基本検査数字を正しく入力できれば、口座番号(情報数字)の入力の誤りを検出できる場合が多い。例えば、図1(a)に示す口座番号(101,123456)の末尾一桁を誤って入力し、“101,123455”と入力したとする。なお、口座番号等における「,」は、店番号、顧客番号、検査数字を区切って表示するために入れているが、実際のデータに「,」が入っているわけではない。実際には、「,」は入力されないし、「,」が入っていないデータが処理対象となる。基本検査数字を正しく入力できたと仮定するので、“101,123455,9”と入力したことになる。すると、口座番号の各桁の数値に、ウェイトを乗じた値の総和は「40」となる。よって、基本検査数字は、10−0=10の末尾一桁の「0」となる。すると、入力から求めた基本検査数字と、正しく入力できた基本検査数字「9」と異なる。よって、入力から求めた基本検査数字と、入力された基本検査数字とを比較して異なっていれば入力誤りと判定すれば、口座番号の入力の誤りを検出できる。   As a result, if the basic test numbers can be correctly input, it is often possible to detect an input error of the account number (information number). For example, assume that the last digit of the account number (101, 123456) shown in FIG. Note that “,” in the account number or the like is included to separate and display the store number, customer number, and inspection number, but “,” is not included in the actual data. Actually, “,” is not input, and data without “,” is processed. Since it is assumed that the basic check digit has been correctly input, “101, 123455, 9” is input. Then, the sum total of the values obtained by multiplying the numerical value of each digit of the account number by the weight is “40”. Therefore, the basic check digit is “0” as the last digit of 10−0 = 10. Then, the basic check number obtained from the input is different from the basic check number “9” that has been correctly input. Therefore, if the basic check number obtained from the input and the input basic check number are different from each other and determined to be an input error, an input error of the account number can be detected.

ここで、本発明の実施形態にかかるチェックデジット(検査数字)の導出体系においては、派生検査数字をさらに使用することが特徴である。   Here, the derivation system for check digits (check digits) according to the embodiment of the present invention is characterized in that the derived check digits are further used.

図2は、派生検査数字を説明するための図である。まず、図2(a)に示すように、ある口座番号(情報数字)に対し、基本検査数字(CDV1)「9」が付加されている。ここで、基本検査数字とは異なる派生検査数字(CDV2)を求める。例えば、CDV2=CDV1+4とする(図2(b)参照)。ただし、CDV1+4>9の場合は、末尾の一桁をCDV2とする。図2(b)の例では、派生検査数字(CDV2)は「3」である。そして、図2(c)に示すように、図2(a)と同じ口座番号に対し、派生検査数字(CDV2)「4」を付加する。このようにすると、異なる顧客に同じ口座番号を付与しても、基本検査数字(CDV1)と派生検査数字(CDV2)とを使い分ければ、いずれの顧客の口座番号かを識別できる。なお、派生検査数字(CDV2)は、基本検査数字(CDV1)に基づいて導出される。基本検査数字(CDV1)は、口座番号に基づいて導出される。よって、派生検査数字(CDV2)は、口座番号(情報数字)に基づいて導出される。   FIG. 2 is a diagram for explaining the derived check digit. First, as shown in FIG. 2A, a basic inspection number (CDV1) “9” is added to a certain account number (information number). Here, a derived inspection number (CDV2) different from the basic inspection number is obtained. For example, CDV2 = CDV1 + 4 (see FIG. 2B). However, if CDV1 + 4> 9, the last digit is CDV2. In the example of FIG. 2B, the derived check digit (CDV2) is “3”. Then, as shown in FIG. 2 (c), the derived inspection number (CDV2) “4” is added to the same account number as in FIG. 2 (a). In this way, even if the same account number is given to different customers, it is possible to identify which customer's account number by using the basic inspection number (CDV1) and the derived inspection number (CDV2). The derived test number (CDV2) is derived based on the basic test number (CDV1). The basic check number (CDV1) is derived based on the account number. Therefore, the derived inspection number (CDV2) is derived based on the account number (information number).

図3は、異なる顧客に同じ口座番号(情報数字)を付与して、基本検査数字(CDV1)と派生検査数字(CDV2)とを使い分けた状態と、その問題点を説明するための図である。例えば、口座番号(100,000000)の基本検査数字(CDV1)は「9」、派生検査数字(CDV2)は「3」である。そこで、基本検査数字(CDV1)を付加した口座番号(100,000000,9)をP様に(図3(a)参照)、派生検査数字(CDV2)を付加した口座番号(100,000000,3)をQ様(図3(b)参照)に付与すれば、同じ口座番号(100,000000)を二人で使用できる。   FIG. 3 is a diagram for explaining the problem and the state in which the same account number (information number) is assigned to different customers and the basic check number (CDV1) and the derived check number (CDV2) are used properly. . For example, the basic check number (CDV1) of the account number (100,000,000) is “9”, and the derived check number (CDV2) is “3”. Therefore, the account number (100,000,000) to which the basic check number (CDV1) is added is like P (see FIG. 3A), and the account number (100,000,000,3) to which the derived check number (CDV2) is added. ) To Q (see FIG. 3B), the same account number (100,000,000) can be used by two people.

このようなことを行なう利点を説明する。ある特定の本支店において使用できる顧客番号が106通りであるところ、顧客が多い店舗においては顧客番号が足りなくなる可能性がある。そこで、検査数字を使い分けて、同じ口座番号を二人で共用できれば、使用できる顧客番号が二倍に増加する。よって、顧客番号が足りなくなる可能性を減らすことができる。 The advantages of doing this will be described. Where a particular customer number that can be used in branch offices is a ways 10 6, there is a possibility that the customer number is no longer enough in customers often shop. Therefore, if the same account number can be shared by two people using different inspection numbers, the number of customer numbers that can be used is doubled. Therefore, the possibility of running out of customer numbers can be reduced.

しかし、その代償として、口座番号の入力エラー(入力者が本来、意図していない入力)を発見できる確率が減少するという現象が発生する。例えば、図3(c)に示すように、口座番号(500,000000)に派生検査数字(CDV2)「9」を付加した番号がR様に付与されるといったことが起こり得る。ここで、P様を示す意図で「100,000000,9」と入力すべきところ、最初の一桁目の入力を入力者が誤って「500,000000,9」と入力したとする(図3(d)参照)。基本検査数字(CDV1)だけを使用していれば、口座番号(500,000000)から求められる基本検査数字(CDV1)は「5」であり、実際に入力された検査数字「9」とは異なるので、P様を示す意図の入力においてエラーが発生したと判定できる。しかし、派生検査数字(CDV2)を併用しているので、口座番号(500,000000)から求められる派生検査数字(CDV2)は「9」であり、実際に入力された検査数字「9」と同じなので、R様を示す意図の入力であると判定してしまう。よって、P様を示す意図の入力においてエラーが発生したと判定することができない。これは、P様を指定したいという入力者の意図に反する。   However, as a price, there is a phenomenon in which the probability that an account number input error (input that the input person originally did not intend) can be found decreases. For example, as shown in FIG. 3 (c), it may happen that a number obtained by adding the derived inspection number (CDV2) “9” to the account number (500,000,000) is given in an R-like manner. Here, it is assumed that “100,000,000” is to be input for the purpose of indicating P-like, but the input user erroneously inputs “500,000,000” in the first digit entry (FIG. 3). (See (d)). If only the basic check number (CDV1) is used, the basic check number (CDV1) obtained from the account number (500,000,000) is “5”, which is different from the actually input check number “9”. Therefore, it can be determined that an error has occurred in the input of the intention indicating P. However, since the derived inspection number (CDV2) is used together, the derived inspection number (CDV2) obtained from the account number (500,000,000) is “9”, which is the same as the actually entered inspection number “9”. Therefore, it is determined that the input is an intention indicating R-like. Therefore, it cannot be determined that an error has occurred in the input of the intention indicating P. This is contrary to the intention of the input person who wants to designate P-like.

このように、基本検査数字(CDV1)と派生検査数字(CDV2)とを併用することにより、口座番号の入力エラーを発見できる確率が減少する。そこで、(1)どの程度、入力エラーを発見できる確率が減少するか、(2)派生検査数字(CDV2)の導出法をどのようにすれば、入力エラーを発見できる確率の減少を少なくできるか、などといったことを把握することが、基本検査数字(CDV1)と派生検査数字(CDV2)との併用において好ましい。そこで、エラー検出劣化数導出装置1(図4参照)により、基本検査数字(CDV1)と派生検査数字(CDV2)との併用にあたって、どれだけエラー検出劣化個数が増大するかを導出して、上記のようなデータを把握する。   Thus, the combined use of the basic check number (CDV1) and the derived check number (CDV2) reduces the probability of finding an account number input error. Therefore, (1) how much the probability that an input error can be found decreases, and (2) how the derivation check digit (CDV2) derivation method can reduce the decrease in the probability that an input error can be found. It is preferable to use the basic test number (CDV1) and the derived test number (CDV2) in combination. Therefore, the error detection deterioration number deriving device 1 (see FIG. 4) derives how much the error detection deterioration number increases when the basic check number (CDV1) and the derived check number (CDV2) are used together. To grasp such data.

第一の実施形態
図4は、第一の実施形態にかかるエラー検出劣化数導出装置1の構成を示す機能ブロック図である。エラー検出劣化数導出装置1は、エラー種類決定部10、全パターン数カウンタ12、真正情報数字生成部22、第一基本検査数字導出部24、第一基本検査数字記録部26、第一派生検査数字導出部27、第一派生検査数字記録部28、エラー情報数字生成部32、第二基本検査数字導出部34、第二基本検査数字記録部36、第二派生検査数字導出部37、第二派生検査数字記録部38、第一エラー検出劣化個数カウンタ44、第二エラー検出劣化個数カウンタ46を備える。なお、第一の実施形態にかかるエラー検出劣化数導出装置1は、トランスポジションエラー(Transposition Error)およびダブルトランスポジションエラー(Double Transposition Error)に関するものである。
First Embodiment FIG. 4 is a functional block diagram showing a configuration of an error detection deterioration number deriving device 1 according to the first embodiment. The error detection deterioration number deriving device 1 includes an error type determination unit 10, a total pattern number counter 12, a genuine information number generation unit 22, a first basic inspection number deriving unit 24, a first basic inspection number recording unit 26, and a first derivative inspection. Number deriving unit 27, first derived inspection number recording unit 28, error information number generating unit 32, second basic inspection number deriving unit 34, second basic inspection number recording unit 36, second derived inspection number deriving unit 37, second A derivative inspection numeral recording unit 38, a first error detection deterioration number counter 44, and a second error detection deterioration number counter 46 are provided. The error detection deterioration number deriving device 1 according to the first embodiment relates to a transposition error and a double transposition error.

エラー種類決定部10は、エラー検出劣化個数の導出対象となるエラーの種類を決定する。エラーの種類には、例えば、トランスポジションエラー(Transposition Error)、ダブルトランスポジションエラー(Double Transposition Error)がある。なお、決定されたエラーの種類は、真正情報数字生成部22およびエラー情報数字生成部32に与えられる。   The error type determination unit 10 determines the type of error from which the number of detected errors is derived. The types of errors include, for example, a transposition error and a double transposition error. The determined error type is given to the genuine information number generation unit 22 and the error information number generation unit 32.

図5および図6は、エラーの種類を説明するための図である。   5 and 6 are diagrams for explaining the types of errors.

図5は、トランスポジションエラーを示す図である。トランスポジションエラーは、隣り合う任意の二桁における数値が入れ替わるエラーをいう。図5に示す例では、口座番号「123,000000」において、最初(最も左)の一桁とそれに隣り合う一桁とにおいて、エラーが発生している。すなわち、「12」と入力すべきところ、「21」と入力されている。   FIG. 5 is a diagram illustrating a transposition error. A transposition error is an error in which numerical values in any two adjacent digits are interchanged. In the example shown in FIG. 5, in the account number “123,000,000”, an error has occurred in the first (leftmost) digit and the next digit. That is, where “12” should be input, “21” is input.

図6は、ダブルトランスポジションエラーを示す図である。ダブルトランスポジションエラーは、一桁離れた任意の二桁における数値が入れ替わるエラーをいう。図6に示す例では、口座番号「123,000000」において、最初(最も左)の一桁と一桁離れた桁(最初の桁から数えて三桁目)とにおいて、エラーが発生している。すなわち、「123」と入力すべきところ、「321」と入力されている。   FIG. 6 is a diagram illustrating a double transposition error. A double transposition error is an error in which numerical values in any two digits apart by one digit are interchanged. In the example shown in FIG. 6, in the account number “123,000,000”, an error has occurred in the first (leftmost) digit and the digit one digit away (the third digit counted from the first digit). . That is, where “123” should be input, “321” is input.

真正情報数字生成部22は、エラーの種類を受けて、エラーを発生させる桁を決める。そして、エラーを発生させる桁に任意の値を代入する。エラーを発生させる桁以外の桁は所定値に固定する。このようにして、口座番号((真正な)情報数字X)を生成する。(真正な)情報数字Xという表記は、情報数字Xを仮に真正なもの(正規なもの)とおくことを意味している。   The genuine information number generation unit 22 receives the type of error and determines the digit that generates the error. Then, an arbitrary value is assigned to the digit causing the error. Digits other than those causing an error are fixed to a predetermined value. In this way, an account number ((authentic) information number X) is generated. The notation of (genuine) information number X means that the information number X is assumed to be genuine (regular).

エラー情報数字生成部32は、仮に真正なものとおいた情報数字Xにエラーを発生させる桁にエラーを発生させる。エラーを発生させる桁以外の桁は所定値に固定する。このようにして、口座番号(エラー情報数字Xerr)を生成する。   The error information number generation unit 32 generates an error in a digit that causes an error in the information number X that is assumed to be genuine. Digits other than those causing an error are fixed to a predetermined value. In this way, an account number (error information number Xerr) is generated.

全パターン数カウンタ12は、(真正な)情報数字Xおよびエラー情報数字Xerrの全パターン数を数える。なお、全パターン数からは、情報数字Xとエラー情報数字Xerrとが等しくなる場合の数を減じる。トランスポジションエラーの場合は、トランスポジションエラーが発生する桁の双方(例えば、一桁目と二桁目)において同じ数字をとる場合の10通り(例えば、一桁目と二桁目とが共に、0,1,2,3,4,5,6,7,8,9となる)を減じる。ダブルトランスポジションエラーの場合も同様に10通りを減じる。   The total pattern number counter 12 counts the total number of patterns of the (genuine) information number X and the error information number Xerr. Note that the total number of patterns is subtracted when the information number X and the error information number Xerr are equal. In the case of a transposition error, there are 10 patterns (for example, both the first digit and the second digit) when the same number is taken in both digits (for example, the first digit and the second digit) where the transposition error occurs. 0, 1, 2, 3, 4, 5, 6, 7, 8, 9). Similarly, in the case of a double transposition error, 10 patterns are reduced.

図7は、エラーの種類がトランスポジションエラーであると決定された場合の、(真正な)情報数字(図7(a))およびエラー情報数字(図7(b))を示す図である。まず、図7(a)に示すように、真正情報数字生成部22は、エラーを発生させる桁(例、最初の一桁とそれに隣り合う一桁)を決め、任意の値(例、「12」)を代入する。エラーを発生させる桁以外の桁は所定値(例、「0」)に固定する。これにより、(真正な)情報数字Xが生成される。これは、情報数字のある桁の数値についてのみ検査数字を導出するためのものである。   FIG. 7 is a diagram showing (genuine) information numbers (FIG. 7 (a)) and error information numbers (FIG. 7 (b)) when it is determined that the error type is a transposition error. First, as shown in FIG. 7A, the genuine information number generation unit 22 determines a digit (for example, the first digit and an adjacent digit) that causes an error, and an arbitrary value (for example, “12” )). Digits other than those causing an error are fixed to a predetermined value (eg, “0”). As a result, a (genuine) information number X is generated. This is for deriving the check digit only for the numerical value of a certain digit of the information digit.

次に、図7(b)に示すように、エラー情報数字生成部32は、エラーを発生させる桁にエラーを発生させる。すなわち、最初の一桁とそれに隣り合う一桁の値を入れ替える。すなわち「21」とする。エラーを発生させる桁以外の桁は所定値(例、「0」)に固定する。これにより、エラー情報数字Xerrが生成される。   Next, as shown in FIG. 7B, the error information number generation unit 32 generates an error in a digit that generates an error. That is, the value of the first digit and the value of the next digit are exchanged. That is, “21” is set. Digits other than those causing an error are fixed to a predetermined value (eg, “0”). As a result, the error information number Xerr is generated.

図7に示す例は、真正な情報数字「120,000000」があった場合、最初の一桁とそれに隣り合う一桁においてトランスポジションエラーが発生すれば、「210,000000」という誤った入力(エラー情報数字)が発生することを意味する。   In the example shown in FIG. 7, when there is a genuine information number “120,000,000”, if a transposition error occurs in the first digit and one digit adjacent thereto, an incorrect input “210,000,000” ( Error information number) occurs.

このとき、(真正な)情報数字は1パターンであり、それに対応してエラー情報数字が1パターン存在するので、1パターンの口座番号が考えられる。エラーを発生させる二桁における任意の値は10×10=100通り考えられるので、(真正な)情報数字およびエラー情報数字の全パターン数は、1×100=100パターンである。全パターン数カウンタ12は、全パターン数が100パターンであることを求める。ただし、トランスポジションエラーが発生する桁の双方において同じ数字をとる場合の10通りを減じるので、100−10=90通りを全パターン数とする。   At this time, there is one pattern of (genuine) information numbers, and there is one pattern of error information numbers corresponding to this, so one account number can be considered. Since there are 10 × 10 = 100 arbitrary values that cause an error, the total number of patterns of (authentic) information numbers and error information numbers is 1 × 100 = 100 patterns. The total pattern number counter 12 obtains that the total number of patterns is 100 patterns. However, since 10 patterns in the case of taking the same number in both digits where a transposition error occurs are subtracted, 100−10 = 90 patterns are set as the total number of patterns.

図8は、エラーの種類がダブルトランスポジションエラーであると決定された場合の、(真正な)情報数字(図8(a))およびエラー情報数字(図8(b))を示す図である。まず、図8(a)に示すように、真正情報数字生成部22は、エラーを発生させる桁(例、最初の一桁と一桁離れた桁)を決め、任意の値(例、「1」と「3」)を代入する。エラーを発生させる桁以外の桁は所定値(例、「0」)に固定する。これにより、(真正な)情報数字Xが生成される。   FIG. 8 is a diagram showing (genuine) information numbers (FIG. 8 (a)) and error information numbers (FIG. 8 (b)) when it is determined that the error type is a double transposition error. . First, as shown in FIG. 8A, the genuine information number generation unit 22 determines a digit (for example, a digit that is one digit away from the first digit) that causes an error, and an arbitrary value (for example, “1” ”And“ 3 ”). Digits other than those causing an error are fixed to a predetermined value (eg, “0”). As a result, a (genuine) information number X is generated.

次に、図8(b)に示すように、エラー情報数字生成部32は、エラーを発生させる桁にエラーを発生させる。すなわち、最初の一桁と一桁離れた桁の値を入れ替える。すなわち「3」と「1」とする。エラーを発生させる桁以外の桁は所定値(例、「0」)に固定する。これにより、エラー情報数字Xerrが生成される。   Next, as shown in FIG. 8B, the error information number generation unit 32 generates an error in a digit that generates an error. That is, the value of the first digit and the digit one digit apart are exchanged. That is, “3” and “1” are set. Digits other than those causing an error are fixed to a predetermined value (eg, “0”). As a result, the error information number Xerr is generated.

図8に示す例は、真正な情報数字「103,000000」があった場合、最初の一桁と一桁離れた桁においてダブルトランスポジションエラーが発生すれば、「301,000000」という誤った入力(エラー情報数字)が発生することを意味する。   In the example shown in FIG. 8, when there is a genuine information number “103 million”, if a double transposition error occurs in a digit one digit away from the first digit, an incorrect input “301 million” is entered. (Error information number) occurs.

このとき、(真正な)情報数字は1パターンであり、それに対応してエラー情報数字が1パターン存在するので、1パターンの口座番号が考えられる。エラーを発生させる二桁における任意の値は10×10=100通り考えられるので、(真正な)情報数字およびエラー情報数字の全パターン数は、1×100=100パターンである。全パターン数カウンタ12は、全パターン数が100パターンであることを求める。ただし、ダブルトランスポジションエラーが発生する桁の双方において同じ数字をとる場合の10通りを減じるので、100−10=90通りを全パターン数とする。   At this time, there is one pattern of (genuine) information numbers, and there is one pattern of error information numbers corresponding to this, so one account number can be considered. Since there are 10 × 10 = 100 arbitrary values that cause an error, the total number of patterns of (authentic) information numbers and error information numbers is 1 × 100 = 100 patterns. The total pattern number counter 12 obtains that the total number of patterns is 100 patterns. However, since 10 patterns in the case of taking the same number in both digits where a double transposition error occurs are subtracted, 100−10 = 90 patterns are set as the total number of patterns.

第一基本検査数字導出部24は、(真正な)情報数字Xに基づき、第一基本検査数字(CDV1)を導出する。第一基本検査数字(CDV1)の導出法は、図1を参照して説明したモジュラス10を用いる。ただし、ウェイトは適宜変更してもよいし、モジュラス11などを使用してもかまわない。   The first basic check digit deriving unit 24 derives the first basic check digit (CDV1) based on the (genuine) information number X. The modulus 10 described with reference to FIG. 1 is used as a method for deriving the first basic check numeral (CDV1). However, the weight may be changed as appropriate, and the modulus 11 or the like may be used.

第二基本検査数字導出部34は、エラー情報数字Xerrに基づき、第二基本検査数字(CDV1’)を導出する。第二基本検査数字(CDV1’)の導出法は、第一基本検査数字導出部24と同じく、図1を参照して説明したモジュラス10を用いる。ただし、ウェイトは適宜変更してもよいし、モジュラス11などを使用してもかまわない。もちろん、第一基本検査数字導出部24と同じ方法でなければならない。   The second basic check numeral deriving unit 34 derives a second basic check numeral (CDV1 ') based on the error information numeral Xerr. The method for deriving the second basic check numeral (CDV1 ') uses the modulus 10 described with reference to FIG. However, the weight may be changed as appropriate, and the modulus 11 or the like may be used. Of course, it must be the same method as the first basic inspection number deriving unit 24.

第一基本検査数字記録部26は、第一基本検査数字導出部24から第一基本検査数字(CDV1)を受けて、(真正な)情報数字Xに対応づけて記録する。第二基本検査数字記録部36は、第二基本検査数字導出部34から第二基本検査数字(CDV1’)を受けて、エラー情報数字Xerrに対応づけて記録する。   The first basic inspection number recording unit 26 receives the first basic inspection number (CDV1) from the first basic inspection number deriving unit 24 and records it in association with the (authentic) information number X. The second basic check digit recording unit 36 receives the second basic check digit (CDV1 ') from the second basic check digit deriving unit 34 and records it in association with the error information number Xerr.

第一派生検査数字導出部27は、第一基本検査数字記録部26に記録された第一基本検査数字(CDV1)から第一派生検査数字(CDV2)を導出する。第一派生検査数字(CDV2)の導出法は、図2を参照して説明したように、CDV1+4の末尾一桁を第一派生検査数字(CDV2)とする。   The first derived inspection number deriving unit 27 derives the first derived inspection number (CDV2) from the first basic inspection number (CDV1) recorded in the first basic inspection number recording unit 26. In the method of deriving the first derived check digit (CDV2), as described with reference to FIG. 2, the last digit of CDV1 + 4 is set as the first derived check digit (CDV2).

第二派生検査数字導出部37は、第二基本検査数字記録部36に記録された第二基本検査数字(CDV1’)から第二派生検査数字(CDV2’)を導出する。第二派生検査数字(CDV2’)の導出法は、第一派生検査数字導出部27と同じく、図2を参照して説明したように、CDV1’+4の末尾一桁を第二派生検査数字(CDV2’)とする。   The second derived inspection number deriving unit 37 derives the second derived inspection number (CDV2 ') from the second basic inspection number (CDV1') recorded in the second basic inspection number recording unit 36. The method of deriving the second derived check digit (CDV2 ′) is the same as the first derived check digit deriving unit 27, as described with reference to FIG. CDV2 ′).

なお、第一派生検査数字導出部27および第二派生検査数字導出部37における派生検査数字の導出法は、エラー検出劣化数導出装置1の利用者によって適宜設定できる。例えば、CDV1+αの末尾一桁をCDV2とするようにして(α=1〜9までの整数)、αの各々の値に応じたCDV2、CDV2’を求めるようにしてもよい。   Note that the derivation test number derivation method in the first derivation test number derivation unit 27 and the second derivation test number derivation unit 37 can be appropriately set by the user of the error detection deterioration number derivation device 1. For example, the last digit of CDV1 + α may be CDV2 (α is an integer from 1 to 9), and CDV2 and CDV2 ′ corresponding to each value of α may be obtained.

第一派生検査数字記録部28は、第一派生検査数字導出部27から第一派生検査数字(CDV2)を受けて、(真正な)情報数字Xに対応づけて記録する。第二派生検査数字記録部38は、第二派生検査数字導出部37から第二派生検査数字(CDV2’)を受けて、エラー情報数字Xerrに対応づけて記録する。   The first derived inspection number recording unit 28 receives the first derived inspection number (CDV2) from the first derived inspection number deriving unit 27 and records it in association with the (authentic) information number X. The second derived inspection number recording unit 38 receives the second derived inspection number (CDV2 ') from the second derived inspection number deriving unit 37 and records it in association with the error information number Xerr.

図9および図10は、トランスポジションエラーの場合の、第一基本検査数字記録部26および第二基本検査数字記録部36の記録内容を説明するための図である。   FIG. 9 and FIG. 10 are diagrams for explaining the recorded contents of the first basic check digit recording unit 26 and the second basic check digit recording unit 36 in the case of a transposition error.

図9は、(真正な)情報数字Xの左から一桁目の値≦左から二桁目の値あるいは左から二桁目の値=0である場合を示す。図9(a)は、(真正な)情報数字Xに対応する第一基本検査数字(CDV1)を示す図である。図9(a)の読み方は、(真正な)情報数字Xの左から一桁目の値が「1」、左から二桁目の値が「2」であり、他の桁は「0」で固定した場合(すなわち、情報数字X=「120,000000」)、第一基本検査数字(CDV1)は、「3」ということを意味する。図9(b)は、エラー情報数字Xerrに対応する第二基本検査数字(CDV1’)を示す図である。図9(b)の読み方は、エラー情報数字Xerrの左から一桁目の値が「2」、左から二桁目の値が「1」であり、他の桁は「0」で固定した場合(すなわち、エラー情報数字Xerr=「210,000000」)、第二基本検査数字(CDV1’)は、「5」ということを意味する。   FIG. 9 shows a case where the value of the first digit from the left of the (genuine) information number X ≦ the value of the second digit from the left or the value of the second digit from the left = 0. FIG. 9A is a diagram showing the first basic check digit (CDV1) corresponding to the (genuine) information number X. FIG. The reading of FIG. 9A is as follows: (1) the first digit value from the left of the (genuine) information number X is “1”, the second digit value from the left is “2”, and the other digits are “0”. Means that the first basic inspection number (CDV1) is “3”. In other words, the information number X = “120,000,000”. FIG. 9B is a diagram showing a second basic check digit (CDV1 ′) corresponding to the error information number Xerr. In the reading of FIG. 9B, the error information number Xerr is fixed with the value of the first digit from the left being “2”, the value of the second digit from the left being “1”, and the other digits being fixed to “0”. In this case (that is, the error information number Xerr = “210,000,000”), the second basic check number (CDV1 ′) means “5”.

図10は、(真正な)情報数字Xの左から一桁目の値≧左から二桁目の値あるいは左から一桁目の値=0である場合を示す。図10(a)は、(真正な)情報数字Xに対応する第一基本検査数字(CDV1)を示す図である。図10(b)は、エラー情報数字Xerrに対応する第二基本検査数字(CDV1’)を示す図である。図10(a)および図10(b)の読み方は、図9と同様である。   FIG. 10 shows a case where the value of the first digit from the left of the (genuine) information number X ≧ the value of the second digit from the left or the value of the first digit from the left = 0. FIG. 10A is a diagram showing the first basic check digit (CDV1) corresponding to the (genuine) information number X. FIG. FIG. 10B is a diagram showing a second basic check digit (CDV1 ′) corresponding to the error information number Xerr. 10 (a) and 10 (b) are read in the same manner as in FIG.

なお、ダブルトランスポジションエラーについては、トランスポジションエラーの例(図9および図10参照)と同様である。すなわち、図9および図10における2桁目を3桁目に置き換え、しかも口座番号の3桁目に対応するウェイトを「3」にすれば、トランスポジションエラーの例と同様である。   The double transposition error is the same as the example of the transposition error (see FIGS. 9 and 10). That is, if the second digit in FIGS. 9 and 10 is replaced with the third digit, and the weight corresponding to the third digit of the account number is set to “3”, it is the same as the example of the transposition error.

第一エラー検出劣化個数カウンタ(第一エラー検出劣化個数計数手段)44は、第一基本検査数字記録部26の記録する第一基本検査数字(CDV1)と、第二派生検査数字記録部38の記録する第二派生検査数字(CDV2’)とが等しくなる個数を数える。数えた結果が、第一エラー検出劣化個数である。   The first error detection deterioration number counter (first error detection deterioration number counting means) 44 includes a first basic inspection number (CDV1) recorded by the first basic inspection number recording unit 26 and a second derived inspection number recording unit 38. Count the number of recorded second derived test digits (CDV2 ') equal. The counted result is the first error detection deterioration number.

第二エラー検出劣化個数カウンタ(第二エラー検出劣化個数計数手段)46は、第一派生検査数字記録部28の記録する第一派生検査数字(CDV2)と、第二基本検査数字記録部36の記録する第二基本検査数字(CDV1’)とが等しくなる個数を数える。数えた結果が、第二エラー検出劣化個数である。   The second error detection deterioration number counter (second error detection deterioration number counting means) 46 includes a first derived inspection number (CDV2) recorded by the first derived inspection number recording unit 28 and a second basic inspection number recording unit 36. Count the number of recorded second basic test numbers (CDV1 ′) equal. The counted result is the second error detection deterioration number.

図11および図12は、トランスポジションエラーにおける、第二エラー検出劣化個数カウンタ46の動作例を説明するための図である。   FIGS. 11 and 12 are diagrams for explaining an operation example of the second error detection deterioration number counter 46 in a transposition error.

図11は、(真正な)情報数字Xの左から一桁目の値≦左から二桁目の値あるいは左から二桁目の値=0である場合を示す。図11(a)は、(真正な)情報数字Xに対応する第一派生検査数字(CDV2)を示す図である。読み方は図10と同様である。また、図11(b)は、トランスポジションエラーを検出できない(真正な)情報数字Xを表示した図である。例えば、CDV2(1,3)=CDV1’(3,1)=4であるので(CDV1’(3,1)の値については図9(b)を参照)、左から一桁目の値が「1」、左から二桁目の値が「3」である(真正な)情報数字Xにおいては、左から一桁目および二桁目において生じるトランスポジションエラーを発見できないことがわかる。CDV2(i,j)=CDV1’(j,i)となる(i,j)の組み合わせは図11においては11通りであり、第二エラー検出劣化個数=11となる。   FIG. 11 shows a case in which the value of the first digit from the left of the (authentic) information number X ≦ the value of the second digit from the left or the value of the second digit from the left = 0. FIG. 11A is a diagram showing the first derived check digit (CDV2) corresponding to the (genuine) information digit X. FIG. Reading is the same as in FIG. Further, FIG. 11B is a diagram displaying information numbers X (authentic) in which a transposition error cannot be detected. For example, since CDV2 (1,3) = CDV1 ′ (3,1) = 4 (see FIG. 9B for the value of CDV1 ′ (3,1)), the first digit value from the left is It can be seen that the transposition error occurring in the first and second digits from the left cannot be found in the (numeric) information number X having “1” and the second digit value from the left being “3”. In FIG. 11, there are 11 combinations of (i, j) such that CDV2 (i, j) = CDV1 ′ (j, i), and the second error detection deterioration number = 11.

図12は、(真正な)情報数字Xの左から一桁目の値≧左から二桁目の値あるいは左から一桁目の値=0である場合を示す。図12(a)は、(真正な)情報数字Xに対応する第一派生検査数字(CDV2)を示す図である。読み方は図10と同様である。また、図12(b)は、トランスポジションエラーを検出できない(真正な)情報数字Xを表示した図である。例えば、CDV2(4,1)=CDV1’(1,4)=7であるので(CDV1’(1,4)の値については図10(b)を参照)、左から一桁目の値が「4」、左から二桁目の値が「1」である(真正な)情報数字Xにおいては、左から一桁目および二桁目において生じるトランスポジションエラーを発見できないことがわかる。CDV2(i,j)=CDV1’(j,i)となる(i,j)の組み合わせは図12においては9通りであり、第二エラー検出劣化個数=9となる。   FIG. 12 shows a case in which the value of the first digit from the left of the (genuine) information number X ≧ the value of the second digit from the left or the value of the first digit from the left = 0. FIG. 12A is a diagram showing the first derived check digit (CDV2) corresponding to the (genuine) information digit X. FIG. Reading is the same as in FIG. FIG. 12 (b) is a diagram showing information numbers (X) in which a transposition error cannot be detected (authentic). For example, since CDV2 (4,1) = CDV1 ′ (1,4) = 7 (see FIG. 10B for the value of CDV1 ′ (1,4)), the first digit value from the left is It can be seen that a transposition error occurring in the first and second digits from the left cannot be found in the (numeric) information number X having a value of “4” and the second digit from the left is “1”. In FIG. 12, there are nine combinations of (i, j) such that CDV2 (i, j) = CDV1 ′ (j, i), and the second error detection deterioration number = 9.

よって、トランスポジションエラーにおいて、第二エラー検出劣化個数カウンタ46は、第二エラー検出劣化個数を11+9=20とする。   Therefore, in the transposition error, the second error detection deterioration number counter 46 sets the second error detection deterioration number to 11 + 9 = 20.

図13および図14は、トランスポジションエラーにおける、第一エラー検出劣化個数カウンタ44の動作例を説明するための図である。   FIGS. 13 and 14 are diagrams for explaining an operation example of the first error detection deterioration number counter 44 in the case of a transposition error.

図13は、(真正な)情報数字Xの左から一桁目の値≧左から二桁目の値あるいは左から一桁目の値=0である場合を示す。図13(a)は、エラー情報数字Xerrに対応する第二派生検査数字(CDV2’)を示す図である。読み方は図10と同様である。また、図13(b)は、トランスポジションエラーを検出できない(真正な)情報数字Xを表示した図である。例えば、CDV2’(4,1)=CDV1(1,4)=7であるので(CDV1(1,4)の値については図9(a)を参照)、左から一桁目の値が「1」、左から二桁目の値が「4」である(真正な)情報数字Xにおいては、左から一桁目および二桁目において生じるトランスポジションエラーを発見できないことがわかる。CDV2’(i,j)=CDV1(j,i)となる(i,j)の組み合わせは図13においては9通りであり、第一エラー検出劣化個数=9となる。   FIG. 13 shows a case in which the value of the first digit from the left of the (genuine) information number X ≧ the value of the second digit from the left or the value of the first digit from the left = 0. FIG. 13A is a diagram illustrating a second derived check digit (CDV2 ′) corresponding to the error information number Xerr. Reading is the same as in FIG. FIG. 13B is a diagram displaying information numbers X that cannot detect a transposition error (authentic). For example, since CDV2 ′ (4,1) = CDV1 (1,4) = 7 (see FIG. 9A for the value of CDV1 (1,4)), the first digit value from the left is “ It can be seen that the transposition error occurring in the first digit and the second digit from the left cannot be found in the (numeric) information number X having the value “1” and the second digit from the left “4”. In FIG. 13, there are nine combinations of (i, j) such that CDV2 ′ (i, j) = CDV1 (j, i), and the first error detection deterioration number = 9.

図14は、(真正な)情報数字Xの左から一桁目の値≧左から二桁目の値あるいは左から一桁目の値=0である場合を示す。図14(a)は、エラー情報数字Xerrに対応する第二派生検査数字(CDV2’)を示す図である。読み方は図10と同様である。また、図14(b)は、トランスポジションエラーを検出できない(真正な)情報数字Xを表示した図である。例えば、CDV2’(1,3)=CDV1(3,1)=4であるので(CDV1(3,1)の値については図10(a)を参照)、左から一桁目の値が「3」、左から二桁目の値が「1」である(真正な)情報数字Xにおいては、左から一桁目および二桁目において生じるトランスポジションエラーを発見できないことがわかる。CDV2’(i,j)=CDV1(j,i)となる(i,j)の組み合わせは図14においては11通りであり、第一エラー検出劣化個数=11となる。   FIG. 14 shows a case where the value of the first digit from the left of the (genuine) information number X ≧ the value of the second digit from the left or the value of the first digit from the left = 0. FIG. 14A is a diagram showing a second derivation check number (CDV2 ') corresponding to the error information number Xerr. Reading is the same as in FIG. FIG. 14 (b) is a diagram displaying information numbers X that cannot detect a transposition error (authentic). For example, since CDV2 ′ (1,3) = CDV1 (3,1) = 4 (see FIG. 10A for the value of CDV1 (3,1)), the first digit value from the left is “ It can be seen that the transposition error that occurs in the first and second digits from the left cannot be found in the (numeric) information number X in which the value of the third digit from the left is “1”. In FIG. 14, there are 11 combinations of (i, j) such that CDV2 ′ (i, j) = CDV1 (j, i), and the first error detection deterioration number = 11.

よって、トランスポジションエラーにおいて、第一エラー検出劣化個数カウンタ44は、第一エラー検出劣化個数を9+11=20とする。   Therefore, in the transposition error, the first error detection deterioration number counter 44 sets the first error detection deterioration number to 9 + 11 = 20.

なお、ダブルトランスポジションエラーにおいても、第一エラー検出劣化個数カウンタ44および第二エラー検出劣化個数カウンタ46は同様に動作する。   Note that the first error detection deterioration number counter 44 and the second error detection deterioration number counter 46 operate in the same manner even in a double transposition error.

トランスポジションエラーにおいて、全パターン数カウンタ12は、全パターン数が100パターンであることを求める。さらに、第一エラー検出劣化個数=第二エラー検出劣化個数=20である。   In the transposition error, the total pattern counter 12 calculates that the total number of patterns is 100 patterns. Further, the first error detection deterioration number = second error detection deterioration number = 20.

よって、基本検査数字と派生検査数字とを併用した場合におけるエラーの発見確率は、第一エラー検出劣化個数(=第二エラー検出劣化個数)を全パターン数で割った値だけ劣化する。すなわち、20/(100−10)=およそ22%減少する。   Therefore, the error detection probability when the basic check number and the derived check number are used together deteriorates by a value obtained by dividing the first error detection deterioration number (= second error detection deterioration number) by the total number of patterns. That is, 20 / (100−10) = approximately 22%.

本発明の実施形態においては、ウェイト(重み付け係数)が1、3の繰り返しなので、上記の通りである。しかし、ウェイトが、繰り返しではない(例えば、乱数)場合は必ずしも上記のようにはならない。一桁目と二桁目とにおいてトランスポジションエラーが発生した場合の第一エラー検出劣化個数(=第二エラー検出劣化個数)が、他の桁(例えば、二桁目と三桁目)においてトランスポジションエラーが発生した場合の第一エラー検出劣化個数(=第二エラー検出劣化個数)とは異なるからである。そこで、口座番号の全ての桁数を9とし、n桁目とn+1桁目とにおいてトランスポジションエラーが発生した場合の第一エラー検出劣化個数の総和を、n桁目とn+1桁目とにおける全パターン数の総和で割ったものをエラーの発見確率が劣化する割合とする(ただし、9−1≧n≧1)。すなわち、(1桁目と2桁目においてトランスポジションエラーが発生した場合の第一エラー検出劣化個数)+(2桁目と3桁目においてトランスポジションエラーが発生した場合の第一エラー検出劣化個数)+…+(8桁目と9桁目においてトランスポジションエラーが発生した場合の第一エラー検出劣化個数)を、(1桁目と2桁目とにおける全パターン数)+(2桁目と3桁目とにおける全パターン数)+…+(8桁目と9桁目とにおける全パターン数)で割ったものをエラーの発見確率が劣化する割合とする。   In the embodiment of the present invention, since the weight (weighting coefficient) is a repetition of 1 and 3, it is as described above. However, when the weight is not repetitive (for example, a random number), the above does not necessarily occur. When a transposition error occurs in the first digit and the second digit, the first error detection deterioration number (= second error detection deterioration number) is the same in the other digits (for example, the second digit and the third digit). This is because the first error detection deterioration number (= second error detection deterioration number) when a position error occurs is different. Therefore, when the total number of digits of the account number is 9, and the transposition error occurs in the n-th and n + 1-th digits, the total number of first error detection deterioration numbers is the total in the n-th and n + 1-th digits. Divide by the sum of the number of patterns is the rate at which the error discovery probability deteriorates (where 9-1 ≧ n ≧ 1). That is, (the number of first error detection deterioration when a transposition error occurs in the first digit and the second digit) + (the number of first error detection deterioration when a transposition error occurs in the second and third digits) ) + ... + (the number of first error detection deterioration when a transposition error occurs in the 8th and 9th digits), (the total number of patterns in the 1st and 2nd digits) + (the 2nd digit and The total number of patterns in the third digit) +... + (The total number of patterns in the eighth and ninth digits) is taken as the rate at which the error detection probability deteriorates.

なお、エラー検出劣化数導出装置1は、さらに統計処理装置50を備えて、基本検査数字と派生検査数字とを併用した場合におけるエラーの発見確率が、基本検査数字のみを使用する場合のエラーの発見確率よりもどの程度減少するかを算出することが好ましい。   The error detection deterioration number deriving device 1 further includes a statistical processing device 50, and the error detection probability when only the basic check digit is used when the basic check digit and the derived check digit are used together. It is preferable to calculate how much it is reduced from the discovery probability.

図15は、統計処理装置50の構成を示す機能ブロック図である。統計処理装置50は、切替器54、エラー検出劣化率算出部56を有する。   FIG. 15 is a functional block diagram illustrating a configuration of the statistical processing device 50. The statistical processing device 50 includes a switch 54 and an error detection deterioration rate calculation unit 56.

切替器54は、第一エラー検出劣化個数カウンタ44から第一エラー検出劣化個数を、あるいは第二エラー検出劣化個数カウンタ46から第二エラー検出劣化個数を受けて、エラー検出劣化率算出部56に出力する。第一エラー検出劣化個数カウンタ44および第二エラー検出劣化個数カウンタ46は、いずれか一方が動作していればよいので、どちらか動作している方から第一(第二)エラー検出劣化個数を受ければよい。   The switch 54 receives the first error detection deterioration number from the first error detection deterioration number counter 44 or the second error detection deterioration number from the second error detection deterioration number counter 46, and sends it to the error detection deterioration rate calculation unit 56. Output. Since one of the first error detection deterioration number counter 44 and the second error detection deterioration number counter 46 only needs to operate, the first (second) error detection deterioration number counter is determined from the one operating. I just need

エラー検出劣化率算出部56は、全パターン数カウンタ12から全パターン数(90通り)を受け、切替器54から第一(あるいは第二)エラー検出劣化個数を受ける。そして、第一(あるいは第二)エラー検出劣化個数を基本エラー発見数で割る。割った値が、エラー検出劣化率である。すなわち、基本検査数字と派生検査数字とを併用した場合におけるエラーの発見確率が、基本検査数字のみを使用する場合のエラーの発見確率よりもどの程度減少するかを示す値である。   The error detection deterioration rate calculation unit 56 receives the total number of patterns (90 patterns) from the total pattern number counter 12 and the first (or second) error detection deterioration number from the switch 54. Then, the first (or second) error detection deterioration number is divided by the basic error discovery number. The divided value is the error detection deterioration rate. In other words, this is a value indicating how much the error discovery probability when using both the basic check digit and the derived check digit is lower than the error discovery probability when using only the basic check digit.

なお、エラー検出劣化率算出部56は、口座番号の全ての桁数を9とし、n桁目とn+1桁目とにおいてトランスポジションエラーが発生した場合の第一エラー検出劣化個数の総和を、n桁目とn+1桁目とにおける全パターン数の総和で割ったものをエラーの発見確率が劣化する割合とするようにしてもよい(ただし、9−1≧n≧1)。   The error detection deterioration rate calculation unit 56 sets the total number of first error detection deterioration numbers when the number of digits of the account number is 9 and a transposition error occurs in the n-th and n + 1-th digits. The ratio obtained by dividing the total number of patterns in the digit and the (n + 1) th digit may be set as the rate at which the error detection probability deteriorates (provided that 9-1 ≧ n ≧ 1).

次に、第一の実施形態の動作を説明する。   Next, the operation of the first embodiment will be described.

まず、エラー種類決定部10がエラー種類を決定する(図5および図6参照)。エラー種類は、真正情報数字生成部22およびエラー情報数字生成部32に与えられる。   First, the error type determination unit 10 determines an error type (see FIGS. 5 and 6). The error type is given to the genuine information number generation unit 22 and the error information number generation unit 32.

真正情報数字生成部22は(真正な)情報数字Xを、エラー情報数字生成部32はエラー情報数字Xerrを生成する(図7〜8参照)。また、全パターン数カウンタ12は、(真正な)情報数字Xおよびエラー情報数字Xerrの全パターン数を数える。   The genuine information number generation unit 22 generates a (genuine) information number X, and the error information number generation unit 32 generates an error information number Xerr (see FIGS. 7 to 8). Further, the total pattern number counter 12 counts the total number of patterns of the (genuine) information number X and the error information number Xerr.

第一基本検査数字導出部24は、(真正な)情報数字Xに基づき、第一基本検査数字(CDV1)を導出する(図1参照)。第二基本検査数字導出部34は、エラー情報数字Xerrに基づき、第二基本検査数字(CDV1’)を導出する(図1参照)。第一基本検査数字(CDV1)は、(真正な)情報数字Xに対応づけられて、第一基本検査数字記録部26に記録される(図9〜10参照)。第二基本検査数字(CDV1’)は、エラー情報数字Xerrに対応づけられて、第二基本検査数字記録部36に記録される(図9〜10参照)。   The first basic check digit deriving unit 24 derives the first basic check digit (CDV1) based on the (authentic) information digit X (see FIG. 1). The second basic check numeral deriving unit 34 derives a second basic check numeral (CDV1 ') based on the error information numeral Xerr (see FIG. 1). The first basic inspection number (CDV1) is recorded in the first basic inspection number recording unit 26 in association with the (genuine) information number X (see FIGS. 9 to 10). The second basic check number (CDV1 ') is recorded in the second basic check number recording unit 36 in association with the error information number Xerr (see FIGS. 9 to 10).

第一派生検査数字導出部27は、第一基本検査数字記録部26に記録された第一基本検査数字(CDV1)から第一派生検査数字(CDV2)を導出する(図2参照)。第二派生検査数字導出部37は、第二基本検査数字記録部36に記録された第二基本検査数字(CDV1’)から第二派生検査数字(CDV2’)を導出する(図2参照)。第一派生検査数字(CDV2)は、(真正な)情報数字Xに対応づけられて、第一派生検査数字記録部28に記録される(図11〜12参照)。第二派生検査数字(CDV2’)は、エラー情報数字Xerrに対応づけられて、第二派生検査数字記録部38に記録される(図13、14参照)。   The first derived inspection number deriving unit 27 derives the first derived inspection number (CDV2) from the first basic inspection number (CDV1) recorded in the first basic inspection number recording unit 26 (see FIG. 2). The second derived inspection number deriving unit 37 derives a second derived inspection number (CDV2 ') from the second basic inspection number (CDV1') recorded in the second basic inspection number recording unit 36 (see FIG. 2). The first derived inspection number (CDV2) is recorded in the first derived inspection number recording unit 28 in association with the (genuine) information number X (see FIGS. 11 to 12). The second derivation check digit (CDV2 ') is recorded in the second derivation check digit recording unit 38 in association with the error information number Xerr (see FIGS. 13 and 14).

第一エラー検出劣化個数カウンタ(第一エラー検出劣化個数計数手段)44は、第一基本検査数字記録部26の記録する第一基本検査数字(CDV1)と、第二派生検査数字記録部38の記録する第二派生検査数字(CDV2’)とが等しくなる個数を数える。数えた結果が、第一エラー検出劣化個数である(図13、14参照)。   The first error detection deterioration number counter (first error detection deterioration number counting means) 44 includes a first basic inspection number (CDV1) recorded by the first basic inspection number recording unit 26 and a second derived inspection number recording unit 38. Count the number of recorded second derived test digits (CDV2 ') equal. The counted result is the first error detection deterioration number (see FIGS. 13 and 14).

第二エラー検出劣化個数カウンタ(第二エラー検出劣化個数計数手段)46は、第一派生検査数字記録部28の記録する第一派生検査数字(CDV2)と、第二基本検査数字記録部36の記録する第二基本検査数字(CDV1’)とが等しくなる個数を数える。数えた結果が、第二エラー検出劣化個数である(図11〜12参照)。   The second error detection deterioration number counter (second error detection deterioration number counting means) 46 includes a first derived inspection number (CDV2) recorded by the first derived inspection number recording unit 28 and a second basic inspection number recording unit 36. Count the number of recorded second basic test numbers (CDV1 ′) equal. The counted result is the second error detection deterioration number (see FIGS. 11 to 12).

次に、エラー検出劣化率算出部56が、第一エラー検出劣化個数カウンタ44から第一エラー検出劣化個数を、あるいは第二エラー検出劣化個数カウンタ46から第二エラー検出劣化個数を、切替器54を介して受ける。エラー検出劣化率算出部56は、さらに、基本エラー発見数を基本エラー発見数算出部52から受ける。そこで、エラー検出劣化率が下記の式により求められる。(第一(第二)エラー検出劣化個数)/(全パターン数)=(エラー検出劣化率)。例えば、トランスポジションエラーの場合、全パターン数=90、第一(第二)エラー検出劣化個数=20なので、エラー検出劣化率=20/90=およそ22%となる。   Next, the error detection deterioration rate calculation unit 56 switches the first error detection deterioration number from the first error detection deterioration number counter 44 or the second error detection deterioration number from the second error detection deterioration number counter 46 to the switch 54. Receive through. The error detection deterioration rate calculation unit 56 further receives the basic error discovery number from the basic error discovery number calculation unit 52. Therefore, the error detection deterioration rate is obtained by the following equation. (First (second) error detection deterioration number) / (total number of patterns) = (error detection deterioration rate). For example, in the case of a transposition error, since the total number of patterns = 90 and the number of first (second) error detection deteriorations = 20, the error detection deterioration rate = 20/90 = approximately 22%.

第一の実施形態によれば、基本検査数字(CDV1)と派生検査数字(CDV2)とを併用することにより、基本検査数字(CDV1)のみを使用する場合に比べて、口座番号の入力エラーを発見できる確率がどれほど減少するかを、エラー検出劣化率として求めることができる。   According to the first embodiment, by using the basic check number (CDV1) and the derived check number (CDV2) in combination, the input error of the account number is reduced as compared with the case where only the basic check number (CDV1) is used. How much the probability of discovery can be reduced can be obtained as an error detection deterioration rate.

第二の実施形態
図16は、第二の実施形態にかかるエラー検出劣化数導出装置2の構成を示す機能ブロック図である。エラー検出劣化数導出装置2は、エラー種類決定部10、全パターン数カウンタ12、情報数字生成部62、基本検査数字導出部64、基本検査数字記録部66、派生検査数字導出部68、CDV発生回数カウンタ72、CDV発生回数記録部74、エラー検出劣化数導出部82を備える。なお、第二の実施形態にかかるエラー検出劣化数導出装置1は、トランスクリプションエラー(Transcription Error)に関するものである。
Second Embodiment FIG. 16 is a functional block diagram showing a configuration of an error detection deterioration number deriving device 2 according to a second embodiment. The error detection deterioration number deriving device 2 includes an error type determining unit 10, a total pattern number counter 12, an information number generating unit 62, a basic check number deriving unit 64, a basic check number recording unit 66, a derived check number deriving unit 68, and a CDV generation. A number counter 72, a CDV occurrence number recording unit 74, and an error detection deterioration number deriving unit 82 are provided. The error detection deterioration number deriving device 1 according to the second embodiment relates to a transcription error.

エラー種類決定部10は、エラー検出劣化個数の導出対象となるエラーの種類を決定する。エラーの種類には、例えば、トランスクリプションエラー(Transcription Error)がある。なお、決定されたエラーの種類は、情報数字生成部62に与えられる。   The error type determination unit 10 determines the type of error from which the number of detected errors is derived. The error type includes, for example, a transcription error. The determined error type is given to the information numeral generating unit 62.

図17は、トランスクリプションエラーを示す図である。トランスクリプションエラーは、任意の一桁における数値の入力エラーをいう。図17に示す例では、口座番号「123,000000」において、最初(最も左)の一桁において、エラーが発生している。すなわち、「1」と入力すべきところ、「5」と入力されている。   FIG. 17 is a diagram showing a transcription error. A transcription error is an input error of a numerical value in an arbitrary single digit. In the example shown in FIG. 17, an error has occurred in the first (leftmost) digit of the account number “123,000,000”. That is, “5” is entered where “1” should be entered.

情報数字生成部62は、エラーの種類を受けて、ある桁(例えば、左から一桁目)に全ての値を代入する。その他の桁は所定値に固定する。   In response to the type of error, the information number generation unit 62 assigns all values to a certain digit (for example, the first digit from the left). Other digits are fixed to a predetermined value.

図18は、エラーの種類がトランスクリプションエラーであると決定された場合の、情報数字生成部62の出力する情報数字Xを示す図である。まず、情報数字生成部62は、ある桁(例、最初(最も左)の一桁)を決め、全ての値を代入する。それ以外の桁は所定値(例、「0」)に固定する。これにより、情報数字Xが生成される。   FIG. 18 is a diagram illustrating the information number X output from the information number generation unit 62 when it is determined that the type of error is a transcription error. First, the information numeral generation unit 62 determines a certain digit (for example, the first (leftmost) one digit) and substitutes all the values. Other digits are fixed to a predetermined value (eg, “0”). Thereby, the information number X is generated.

このとき、全部で10パターンの情報数字Xが存在するので、全パターン数カウンタ12は、全パターン数が10パターンであることを求める。   At this time, since there are 10 information numbers X in total, the total pattern counter 12 determines that the total number of patterns is 10.

基本検査数字導出部64は、情報数字Xに基づき、基本検査数字(CDV1)を導出する。基本検査数字(CDV1)の導出法は、図1を参照して説明したモジュラス10を用いる。ただし、ウェイトは適宜変更してもよいし、モジュラス11などを使用してもかまわない。基本検査数字記録部66は、基本検査数字導出部64の出力を記録する。   The basic check number deriving unit 64 derives a basic check number (CDV1) based on the information number X. As a method of deriving the basic check number (CDV1), the modulus 10 described with reference to FIG. 1 is used. However, the weight may be changed as appropriate, and the modulus 11 or the like may be used. The basic check digit recording unit 66 records the output of the basic check digit deriving unit 64.

図19は、トランスクリプションエラーの場合の、基本検査数字記録部66の記録内容を説明するための図である。基本検査数字記録部66の記録内容によれば、情報数字Xは「100,000000」、「200,000000」、「300,000000」〜「900,000000」、「000,000000」であり、基本検査数字(CDV1)はそれぞれ「9」、「8」、「7」〜「1」、「0」である。   FIG. 19 is a diagram for explaining the recorded contents of the basic check digit recording unit 66 in the case of a transcription error. According to the recorded contents of the basic inspection number recording unit 66, the information number X is “100,000,000”, “200,000,000”, “300,000,000” to “900,000,000”, “000,000,000”, The inspection numbers (CDV1) are “9”, “8”, “7” to “1”, and “0”, respectively.

派生検査数字導出部67は、基本検査数字記録部66に記録された基本検査数字(CDV1)から派生検査数字(CDV2)を導出する。派生検査数字(CDV2)の導出法は、図2を参照して説明したように、CDV1+4の末尾一桁を派生検査数字(CDV2)とする。派生検査数字記録部68は、派生検査数字導出部67の出力を記録する。   The derived test number deriving unit 67 derives the derived test number (CDV2) from the basic test number (CDV1) recorded in the basic test number recording unit 66. In the method of deriving the derived check digit (CDV2), as described with reference to FIG. 2, the last digit of CDV1 + 4 is set as the derived check digit (CDV2). The derived test number recording unit 68 records the output of the derived test number deriving unit 67.

図20は、トランスクリプションエラーの場合の、派生検査数字記録部68の記録内容を説明するための図である。派生検査数字記録部68の記録内容によれば、情報数字Xは「100,000000」、「200,000000」、「300,000000」〜「900,000000」、「000,000000」であり、派生検査数字(CDV1)はそれぞれ「3」、「2」、「1」〜「5」、「4」である。   FIG. 20 is a diagram for explaining the recorded contents of the derived check digit recording unit 68 in the case of a transcription error. According to the recorded contents of the derived inspection number recording unit 68, the information number X is “100,000,000”, “200,000,000”, “300,000,000” to “900,000,000”, “000,000,000”. The inspection numbers (CDV1) are “3”, “2”, “1” to “5”, and “4”, respectively.

CDV発生回数カウンタ72は、基本検査数字記録部66における基本検査数字(CDV1)の発生回数を数える。しかも、CDV発生回数カウンタ72は、基本検査数字記録部66および派生検査数字記録部68における検査数字(CDV1、CDV2)の発生回数を数える。   The CDV occurrence number counter 72 counts the number of occurrences of the basic test number (CDV1) in the basic test number recording unit 66. Moreover, the CDV occurrence number counter 72 counts the number of occurrences of the check numbers (CDV1, CDV2) in the basic check number recording unit 66 and the derived check number recording unit 68.

CDV発生回数記録部74は、CDV発生回数カウンタ72による計数結果を記録する。図21は、基本検査数字記録部66における基本検査数字(CDV1)の発生回数を示す図である。図19を参照すれば明らかなように、基本検査数字(CDV1)の「0」、「1」、…、「9」はそれぞれ一回しか現れていない。   The CDV occurrence count recording unit 74 records the count result by the CDV occurrence count counter 72. FIG. 21 is a diagram showing the number of occurrences of the basic check numeral (CDV1) in the basic check numeral recording unit 66. As is clear from FIG. 19, the basic check numerals (CDV1) “0”, “1”,..., “9” appear only once.

また、図22は、検査数字(CDV1、CDV2)をあわせて示す図である。例えば、情報数字の最初の一桁が「1」である場合、基本検査数字(CDV1)は「9」である。この「9」という数字は、派生検査数字(CDV2)に一回現れる(情報数字の最初の一桁が「5」である場合)。よって、「9」という数字は二回現れる。   Moreover, FIG. 22 is a figure which shows together the test | inspection number (CDV1, CDV2). For example, when the first digit of the information number is “1”, the basic check number (CDV1) is “9”. This number “9” appears once in the derived check digit (CDV2) (when the first digit of the information digit is “5”). Thus, the number “9” appears twice.

図23は、基本検査数字記録部66および派生検査数字記録部68における検査数字(CDV1、CDV2)の発生回数を示す図である。検査数字(CDV1、CDV2)の「0」、「1」、…、「9」はそれぞれ二回現れる。   FIG. 23 is a diagram illustrating the number of occurrences of test numbers (CDV1, CDV2) in the basic test number recording unit 66 and the derived test number recording unit 68. Inspection numbers (CDV1, CDV2) “0”, “1”,..., “9” each appear twice.

エラー検出劣化数導出部82は、基本検査数字(CDV1)のみを使用した場合のエラー検出率を導出し、さらに、基本検査数字(CDV1)および派生検査数字(CDV2)を使用した場合のエラー検出率を検査数字ごとに導出する。なお、エラー検出率は、以下のようにして求める。   The error detection deterioration number deriving unit 82 derives an error detection rate when only the basic check digit (CDV1) is used, and further detects an error when using the basic check digit (CDV1) and the derived check digit (CDV2). The rate is derived for each check digit. The error detection rate is obtained as follows.

(1)検査数字の発生回数が1回である場合
1(=100%)
(2)検査数字の発生回数が2回以上である場合
1−(発生回数)/(全パターン数)
これは、下記のような理由による。検査数字の発生回数が1回である場合は、情報数字と検査数字との関係が一意に定まるため、入力エラーを確実に検出できる。検査数字の発生回数が2回以上である場合は、情報数字と検査数字との関係が一意に定まるもののみ入力エラーを確実に検出できるとみる。
(1) When the number of inspection digits generated is 1 (= 100%)
(2) When the number of occurrences of inspection numbers is 2 or more 1- (Number of occurrences) / (Total number of patterns)
This is due to the following reasons. When the number of occurrences of the check digit is 1, since the relationship between the information number and the check digit is uniquely determined, an input error can be reliably detected. When the number of occurrences of the check digit is two or more, it is assumed that the input error can be reliably detected only for the case where the relationship between the information number and the check digit is uniquely determined.

なお、検査数字の発生回数は錯誤が生じ得る個数であるといえる。また、錯誤とは、入力者が意図する情報数字と実際に入力された情報数字とが異なることをいう。   In addition, it can be said that the number of occurrences of the inspection number is a number that can cause an error. The error means that the information number intended by the input person is different from the information number actually input.

基本検査数字(CDV1)の「0」、「1」、…、「9」はそれぞれ一回しか現れていないため、基本検査数字(CDV1)のみを使用した場合のエラー検出率=1である。   Since the basic check digit (CDV1) “0”, “1”,..., “9” appears only once, the error detection rate = 1 when only the basic check digit (CDV1) is used.

検査数字(CDV1、CDV2)の「0」、「1」、…、「9」はそれぞれ二回現れるため、基本検査数字(CDV1)および派生検査数字(CDV2)を使用した場合のエラー検出率=1−2/10=0.8である。例えば、図22を参照して、検査数字「9」については、情報数字の最初の一桁が「1」、「5」の場合は、情報数字と検査数字との関係が一意に定まらないので、入力エラーを確実に検出できない。情報数字の最初の一桁が「1」、「5」の場合以外(8通り)は、情報数字と検査数字との関係が一意に定まるので、入力エラーを確実に検出できる。よって、エラー検出率=8/10=0.8である。   Since “0”, “1”,..., “9” of the check numbers (CDV1, CDV2) appear twice, the error detection rate when the basic check number (CDV1) and the derived check number (CDV2) are used = It is 1-2 / 10 = 0.8. For example, referring to FIG. 22, for the check digit “9”, when the first digit of the information digit is “1” and “5”, the relationship between the information digit and the check digit is not uniquely determined. An input error cannot be detected reliably. Except when the first digit of the information number is “1” or “5” (eight ways), the relationship between the information number and the check number is uniquely determined, so that an input error can be reliably detected. Therefore, error detection rate = 8/10 = 0.8.

なお、検査数字に関するエラー検出率の、全ての検査数字についての平均を求めるようにしてもよい。例えば、上記の例では、検査数字「9」については、エラー検出率=8/10=0.8であり、他の検査数字「0」、…、「8」についても、エラー検出率=0.8である。よって、平均もまた0.8である。なお、ウェイトおよびαを変えれば、検査数字「0」、「2」、…、「8」(0および偶数)についてはエラー検出率=0.6、検査数字「1」、「3」、…、「9」(奇数)についてはエラー検出率=1ということも生じ得る。この場合、平均=(0.6×5+1×5)/10=0.8ということになる。   In addition, you may make it obtain | require the average about all the test | inspection numbers of the error detection rate regarding a test | inspection number. For example, in the above example, the error detection rate = 8/10 = 0.8 for the check digit “9”, and the error detection rate = 0 for the other check digits “0”,. .8. Thus, the average is also 0.8. If the weight and α are changed, error check rate = 0.6, check numbers “1”, “3”,... For check numbers “0”, “2”,. , “9” (odd number) may have an error detection rate = 1. In this case, average = (0.6 × 5 + 1 × 5) /10=0.8.

また、全ての桁についての平均を求めるようにしてもよい。1,3,5,7,9桁目について平均=0.8であり、2,4,6,8桁目について平均=0.6である場合、平均=(0.8×5+0.6×4)/9=0.71ということになる。   Moreover, you may make it obtain | require the average about all the digits. Average = 0.8 for the first, third, fifth, seventh, and ninth digits, and average = 0.6 for the second, fourth, sixth, and eighth digits, average = (0.8 x 5 + 0.6 x 4) / 9 = 0.71 It turns out that.

次に、第二の実施形態の動作を説明する。   Next, the operation of the second embodiment will be described.

まず、エラー種類決定部10がエラー種類を決定する(図17参照)。エラー種類は、情報数字生成部62に与えられる。   First, the error type determination unit 10 determines an error type (see FIG. 17). The error type is given to the information number generation unit 62.

情報数字生成部62は情報数字Xを生成する(図18参照)。また、全パターン数カウンタ12は、情報数字Xの全パターン数を数える。   The information number generation unit 62 generates an information number X (see FIG. 18). The total pattern counter 12 counts the total number of information numbers X.

基本検査数字導出部64は、情報数字Xに基づき、基本検査数字(CDV1)を導出する(図1参照)。基本検査数字(CDV1)は、情報数字Xに対応づけられて、基本検査数字記録部66に記録される(図19参照)。   The basic check number deriving unit 64 derives a basic check number (CDV1) based on the information number X (see FIG. 1). The basic inspection number (CDV1) is recorded in the basic inspection number recording unit 66 in association with the information number X (see FIG. 19).

派生検査数字導出部67は、基本検査数字記録部66に記録された基本検査数字(CDV1)から派生検査数字(CDV2)を導出する(図2参照)。派生検査数字(CDV2)は、情報数字Xに対応づけられて、派生検査数字記録部68に記録される(図20参照)。   The derived test number deriving unit 67 derives a derived test number (CDV2) from the basic test number (CDV1) recorded in the basic test number recording unit 66 (see FIG. 2). The derived inspection number (CDV2) is associated with the information number X and recorded in the derived inspection number recording unit 68 (see FIG. 20).

CDV発生回数カウンタ72は、基本検査数字記録部66における基本検査数字(CDV1)の発生回数を数える。しかも、CDV発生回数カウンタ72は、基本検査数字記録部66および派生検査数字記録部68における検査数字(CDV1、CDV2)の発生回数を数える。計数結果は、CDV発生回数記録部74に記録される。CDV発生回数記録部74に記録された計数結果に基づき、エラー検出劣化数導出部82がエラー検出率を導出する。   The CDV occurrence number counter 72 counts the number of occurrences of the basic test number (CDV1) in the basic test number recording unit 66. Moreover, the CDV occurrence number counter 72 counts the number of occurrences of the check numbers (CDV1, CDV2) in the basic check number recording unit 66 and the derived check number recording unit 68. The count result is recorded in the CDV occurrence count recording unit 74. Based on the count result recorded in the CDV occurrence count recording unit 74, the error detection deterioration number deriving unit 82 derives an error detection rate.

第二の実施形態によれば、基本検査数字(CDV1)と派生検査数字(CDV2)とを併用した場合のエラー検出率を導出することができる。   According to the second embodiment, it is possible to derive the error detection rate when the basic check digit (CDV1) and the derived check digit (CDV2) are used in combination.

以上、第一および第二の実施形態として、チェックデジット決定法を採用する際の前提となるエラー検出劣化数導出装置1、2を説明した。これより、好ましいチェックデジット決定法について説明し、さらに好ましいチェックデジット決定法を適用した口座番号付与装置3(図25参照)および口座番号検査装置4(図27参照)を説明する。   As described above, the error detection deterioration number deriving devices 1 and 2 as the premise when the check digit determination method is adopted have been described as the first and second embodiments. Now, a preferred check digit determination method will be described, and an account number assigning device 3 (see FIG. 25) and an account number inspection device 4 (see FIG. 27) to which a more preferable check digit determination method is applied will be described.

ここで、CDV1+αの末尾一桁をCDV2とするようにして(α=1〜9までの整数)、αの各々の値に応じたCDV2、CDV2’を求めるようにしてもよいので、αの各々の値に応じたエラー検出劣化率を求めることもできる。これにより、エラー検出劣化率が低いαを決定することができる。   Here, the last digit of CDV1 + α is set to CDV2 (α is an integer from 1 to 9), and CDV2 and CDV2 ′ corresponding to each value of α may be obtained. It is also possible to obtain the error detection deterioration rate according to the value of. Thereby, α having a low error detection deterioration rate can be determined.

実際に、CDV1、CDV1’の求め方としてモジュラス10(DSR方式)を採用し、ウェイトを様々に変えて、本発明の実施形態にかかるエラー検出劣化数導出装置1により、エラー検出劣化率を求めてみたところ、任意の情報数字につき、αが5以外の奇数(1,3,7,9)であれば、それ以外の場合に比べて相対的にエラー検出劣化率が低い(あるいは同じ)ということがわかった。詳しくは、表1に記載の通りである。   Actually, the modulus 10 (DSR method) is adopted as a method for obtaining CDV1 and CDV1 ′, the weight is changed in various ways, and the error detection deterioration number deriving device 1 according to the embodiment of the present invention is used to obtain the error detection deterioration rate. As a result, if α is an odd number (1, 3, 7, 9) other than 5 for an arbitrary number of information, the error detection deterioration rate is relatively low (or the same) as compared to other cases. I understood it. Details are as shown in Table 1.

Figure 0003905901

なお、図29にウェイトが全ての桁について偶数または奇数の場合の一例を示す。図30にウェイトが奇数桁について偶数(奇数)、偶数桁について奇数(偶数)の場合の一例を示す。図31にウェイトが最初の桁から0、偶数、0、奇数あるいは0、奇数、0、偶数の繰り返しである場合の一例を示す。図32にウェイトが最初の桁から偶数、0、奇数、0あるいは奇数、0、偶数、0の繰り返しである場合の一例を示す。
Figure 0003905901

FIG. 29 shows an example in which the weight is even or odd for all digits. FIG. 30 shows an example in which the weight is even (odd) for odd digits and odd (even) for even digits. FIG. 31 shows an example in which the weight is 0, even, 0, odd or 0, odd, 0, even from the first digit. FIG. 32 shows an example where the weight is repeated even, 0, odd, 0 or odd, 0, even, 0 from the first digit.

図24に、口座番号の入力に使用されるキーの配置を示す。パーソナルコンピュータ等に使用されるテンキーの配列を想定している。なお、正方形の各キーの一辺の長さを1とする。   FIG. 24 shows the arrangement of keys used for inputting account numbers. An arrangement of numeric keys used for a personal computer or the like is assumed. Note that the length of one side of each square key is 1.

本発明の実施形態においては検査数字(チェックデジット)の入力エラーは無いことが前提となっている。そこで、CDV1+αの末尾一桁をCDV2とした場合、CDV1のキーとCDV2のキーとがある程度離れていることが好ましい。CDV1のキーとCDV2のキーとの距離が近いと、CDV1(CDV2)のキーを打つつもりで、CDV2(CDV1)のキーを打ってしまうことが起きやすいからである。検査数字のミスについては担保しないので、物理的な距離により担保するということである。   In the embodiment of the present invention, it is assumed that there is no input error of a check digit (check digit). Therefore, when the last digit of CDV1 + α is CDV2, it is preferable that the CDV1 key and the CDV2 key are separated to some extent. This is because, if the distance between the CDV1 key and the CDV2 key is short, it is easy to hit the CDV2 (CDV1) key with the intention of hitting the CDV1 (CDV2) key. Since there is no security for mistakes in inspection numbers, it is guaranteed by physical distance.

このことをふまえてαを定めると、表2に記載のようにαが定まる。すなわち、CDV1に応じて、αを変更することが好ましい。CDV1が「1」の場合、αの候補(1,3,7,9)の内、α=7であれば、最もCDV2「8」のキーと、CDV1「1」のキーとが離れることになる。一方、CDV1が「3」の場合、αの候補(1,3,7,9)の内、α=1であれば、最もCDV2「4」のキーと、CDV1「3」のキーとが離れることになる。このように、キー間の距離が最大になるようにαを決めるとよい。なお、キー間の距離は、キーの図心間の距離である。キーの図心は、キーが正方形または長方形であれば、対角線の交点となる。   Based on this, α is determined as shown in Table 2. That is, α is preferably changed according to CDV1. When CDV1 is “1”, among α candidates (1, 3, 7, 9), if α = 7, the key of CDV2 “8” is farthest from the key of CDV1 “1”. Become. On the other hand, when CDV1 is “3”, among α candidates (1, 3, 7, 9), when α = 1, the key of CDV2 “4” is farthest from the key of CDV1 “3”. It will be. Thus, α should be determined so that the distance between the keys is maximized. The distance between the keys is the distance between the centroids of the keys. The centroid of the key is the intersection of diagonal lines if the key is square or rectangular.

Figure 0003905901

なお、上記(表2参照)のように定めた基本検査数字(CDV1)と派生検査数字(CDV2)とを併用した口座番号を利用する装置の構成を示す。
Figure 0003905901

In addition, the structure of the apparatus using the account number which used the basic inspection number (CDV1) and the derived inspection number (CDV2) determined as described above (see Table 2) is shown.

図25は、口座番号付与装置(番号生成装置)3の構成を示す機能ブロック図である。口座番号付与装置2は、同じ口座番号の情報部分に、基本検査数字(CDV1)を付与した第一組織数字と、派生検査数字(CDV2)を付与した第二組織数字とを生成するものである。   FIG. 25 is a functional block diagram showing the configuration of the account number assigning device (number generating device) 3. The account number assigning device 2 generates a first organization number to which a basic inspection number (CDV1) is assigned and a second organization number to which a derived inspection number (CDV2) is assigned to the information portion of the same account number. .

口座番号付与装置3は、情報数字生成部62、基本検査数字導出部64、基本検査数字記録部66、派生検査数字導出部67、派生検査数字記録部68、第一組織数字生成部162、第二組織数字生成部164、口座情報記録部166を備える。   The account number assigning device 3 includes an information number generating unit 62, a basic test number deriving unit 64, a basic test number recording unit 66, a derived test number deriving unit 67, a derived test number recording unit 68, a first organization number generating unit 162, A two-organization number generation unit 164 and an account information recording unit 166 are provided.

情報数字生成部62、基本検査数字導出部64、基本検査数字記録部66、派生検査数字導出部67、派生検査数字記録部68は先に説明したエラー検出劣化数導出装置2と同様なので、説明を省略する。ただし、情報数字生成部62には、特にエラーを発生させる桁を決めて与えることは無い。   Since the information number generation unit 62, the basic check number derivation unit 64, the basic check number recording unit 66, the derived check number derivation unit 67, and the derived check number recording unit 68 are the same as the error detection deterioration number deriving device 2 described above, Is omitted. However, the information numeral generation unit 62 does not particularly determine and give a digit that causes an error.

第一組織数字生成部162は、情報数字生成部62が生成した(真正な)情報数字Xの末尾に、基本検査数字記録部66に記録された第一基本検査数字(CDV1)を付加して、第一組織数字を生成する。   The first organization number generation unit 162 adds the first basic inspection number (CDV1) recorded in the basic inspection number recording unit 66 to the end of the (authentic) information number X generated by the information number generation unit 62. , Generate the first organization number.

第二組織数字生成部164は、情報数字生成部62が生成した(真正な)情報数字Xの末尾に、派生検査数字記録部68に記録された第一派生検査数字(CDV2)を付加して、第二組織数字を生成する。   The second organization number generation unit 164 adds the first derived inspection number (CDV2) recorded in the derived inspection number recording unit 68 to the end of the (authentic) information number X generated by the information number generation unit 62. Generate a second organization number.

口座情報記録部166は、第一組織数字および第二組織数字と、顧客情報(氏名など)とを対応づけて記録する。口座情報記録部166の記録内容を図26に示す。(真正な)情報数字Xが「100,000000」であるとする。第一基本検査数字(CDV1)は「9」、第一派生検査数字(CDV2)は「3」である。すると、図26(a)に示すように、第一組織数字は「100,000000,9」、図26(b)に示すように、第二組織数字は「100,000000,3」となる。第一組織数字に口座名義人P様を対応づけ、第二組織数字に口座名義人Q様を対応づけて口座情報記録部166に記録しておく。   The account information recording unit 166 records the first organization number and the second organization number and customer information (name, etc.) in association with each other. The recorded contents of the account information recording unit 166 are shown in FIG. Assume that the (genuine) information number X is “100,000,000”. The first basic check number (CDV1) is “9”, and the first derived check number (CDV2) is “3”. Then, as shown in FIG. 26 (a), the first organization number is “100,000,000,” and as shown in FIG. 26 (b), the second organization number is “100,000,000,3”. The account holder P is associated with the first organization number, and the account holder Q is associated with the second organization number and recorded in the account information recording unit 166.

口座番号付与装置3の動作を説明する。   The operation of the account number assigning device 3 will be described.

まず、情報数字生成部62が(真正な)情報数字X(例えば、「100,000000」)を生成する。基本検査数字導出部64により第一基本検査数字(CDV1)「9」が求められ、基本検査数字記録部66に記録される。派生検査数字導出部67により第一派生検査数字(CDV2)「3」が求められ、派生検査数字記録部68に記録される。   First, the information number generation unit 62 generates a (genuine) information number X (for example, “100,000,000”). The first basic check number (CDV1) “9” is obtained by the basic check number deriving unit 64 and recorded in the basic check number recording unit 66. The derived test number deriving unit 67 obtains the first derived test number (CDV2) “3” and records it in the derived test number recording unit 68.

第一組織数字生成部162は、(真正な)情報数字Xの末尾に、第一基本検査数字(CDV1)「9」を付加して第一組織数字「100,000000,9」を生成する。第二組織数字生成部164は、(真正な)情報数字Xの末尾に、第一派生検査数字(CDV2)「3」を付加して第二組織数字は「100,000000,3」を生成する。   The first organization number generation unit 162 adds the first basic inspection number (CDV1) “9” to the end of the (genuine) information number X to generate the first organization number “100,000,000,9”. The second organization number generation unit 164 adds the first derived inspection number (CDV2) “3” to the end of the (genuine) information number X, and generates the second organization number “100,000,000,3”. .

口座情報記録部166は、第一組織数字「100,000000,9」に口座名義人P様を対応づけ、第二組織数字は「100,000000,3」に口座名義人Q様を対応づけて記録する。   The account information recording unit 166 associates the account holder P with the first organization number “100,000,000”, and associates the account holder Q with the second organization number “100,000,000”. Record.

図27は、口座番号検査装置(番号検査装置)4の構成を示す機能ブロック図である。口座番号付与装置4は、第一組織数字および第二組織数字が正確に入力されたか否かを検査するためのものである。   FIG. 27 is a functional block diagram showing the configuration of the account number inspection device (number inspection device) 4. The account number assigning device 4 is for inspecting whether or not the first organization number and the second organization number are correctly input.

ATM(入力機器)6には、図24に示すような配置のキーが設けられている。ATM6を利用する顧客は、ATM6に設けられたキー(図24参照)により口座番号(第一組織数字あるいは第二組織数字である)を入力する。入力された口座番号はネットワーク7を介して口座番号検査装置4に与えられる。   The ATM (input device) 6 is provided with keys arranged as shown in FIG. A customer who uses the ATM 6 inputs an account number (a first organization number or a second organization number) using a key (see FIG. 24) provided in the ATM 6. The input account number is given to the account number inspection device 4 via the network 7.

口座番号検査装置4は、検査数字分離部172、入力番号検査部174、基本検査数字導出部64、基本検査数字記録部66、派生検査数字導出部67、派生検査数字記録部68を備える。   The account number inspection device 4 includes an inspection number separation unit 172, an input number inspection unit 174, a basic inspection number deriving unit 64, a basic inspection number recording unit 66, a derived inspection number deriving unit 67, and a derived inspection number recording unit 68.

基本検査数字導出部64、基本検査数字記録部66、派生検査数字導出部67、派生検査数字記録部68は先に説明したエラー検出劣化数導出装置2と同様なので、説明を省略する。   Since the basic check digit deriving unit 64, the basic check digit recording unit 66, the derived test digit deriving unit 67, and the derived test digit recording unit 68 are the same as those of the error detection deterioration number deriving device 2 described above, description thereof will be omitted.

検査数字分離部172は、入力された口座番号から末尾一桁を分離して検査数字を得る。残りは、情報数字である。基本検査数字導出部64は、検査数字分離部172から情報数字を与えられ、第一基本検査数字(CDV1)を導出する。   The check digit separator 172 separates the last digit from the input account number to obtain a check digit. The rest are informational numbers. The basic check number deriving unit 64 is given the information number from the check number separating unit 172 and derives the first basic check number (CDV1).

入力番号検査部174は、検査数字分離部172から検査数字を得る。また、基本検査数字記録部66から第一基本検査数字(CDV1)を、派生検査数字記録部68から第一派生検査数字(CDV2)を得る。そして、検査数字が、第一基本検査数字(CDV1)あるいは第一派生検査数字(CDV2)と等しいならば、正当な入力であると判定する。検査数字が、第一基本検査数字(CDV1)および第一派生検査数字(CDV2)のいずれにも等しくないならば、誤った入力であると判定する。   The input number inspection unit 174 obtains inspection numbers from the inspection number separation unit 172. In addition, the first basic inspection number (CDV1) is obtained from the basic inspection number recording unit 66, and the first derived inspection number (CDV2) is obtained from the derived inspection number recording unit 68. If the check number is equal to the first basic check number (CDV1) or the first derived check number (CDV2), it is determined that the input is valid. If the check digit is not equal to either the first basic check digit (CDV1) or the first derived check digit (CDV2), it is determined that the input is incorrect.

口座番号検査装置4の動作を図28を参照して説明する。   The operation of the account number inspection apparatus 4 will be described with reference to FIG.

ATM6により、口座番号(例えば、第一組織数字「100,000000,9」)と入力すべきところ、誤って「200,000000,9」と入力したとする。誤入力「200,000000,9」は、ネットワーク7を介して、検査数字分離部172に与えられる。検査数字分離部172は末尾一桁「9」を検査数字として、入力番号検査部174に与える。末尾一桁を除いた残り「200,000000」を基本検査数字導出部64に与える。   It is assumed that an account number (for example, the first organization number “100,000,000,9”) is to be input by ATM 6, but “200,000,000,9” is erroneously input. The erroneous input “200,000,000” is given to the check digit separator 172 via the network 7. The check digit separator 172 gives the last digit “9” to the input number check unit 174 as a check digit. The remaining “200,000,000” excluding the last digit is given to the basic check digit deriving unit 64.

基本検査数字導出部64により第一基本検査数字(CDV1)「8」が求められ、基本検査数字記録部66に記録される。派生検査数字導出部67により第一派生検査数字(CDV2)「2」が求められ、派生検査数字記録部68に記録される。   The first basic test number (CDV1) “8” is obtained by the basic test number deriving unit 64 and recorded in the basic test number recording unit 66. The derived test number deriving unit 67 obtains the first derived test number (CDV2) “2” and records it in the derived test number recording unit 68.

入力番号検査部174は、検査数字「9」を、第一基本検査数字(CDV1)「8」および第一派生検査数字(CDV2)「2」と比較して、いずれにも合致しないので、入力エラーであると判定する。   The input number inspection unit 174 compares the inspection number “9” with the first basic inspection number (CDV1) “8” and the first derived inspection number (CDV2) “2”. Judged as an error.

なお、上記の口座番号付与装置3および口座番号検査装置4は、以下のようにして実現できる。CPU、ハードディスク、メディア(フロッピー(登録商標)ディスク、CD−ROMなど)読み取り装置を備えたコンピュータのメディア読み取り装置に、上記の各部分を実現するプログラムを記録したメディアを読み取らせて、ハードディスクにインストールする。このような方法でも、口座番号付与装置3および口座番号検査装置4を実現できる。   In addition, said account number provision apparatus 3 and account number test | inspection apparatus 4 are realizable as follows. A computer media reader having a CPU, hard disk, and media (floppy (registered trademark) disk, CD-ROM, etc.) reader reads the media on which the program for realizing the above parts is recorded, and is installed on the hard disk. To do. Even with such a method, the account number assigning device 3 and the account number inspection device 4 can be realized.

ウェイトが左の桁から順に「8,5,2,4,1,3,4,3,8」であるとする。これは、ウェイトのパターンが乱数である場合の一例である。このような場合に、α=2としたときのエラー検出率およびα=7としたときのエラー検出率を示す。
(1)α=2としたときのエラー検出率
図33に、α=2としたときの各桁および各検査数字におけるトランスクリプションエラーの検出率を示す。図33の読み方を例示すると、左から一桁目において、検査数字「0」におけるエラー検出率は0.6であるとうことである。各桁および各検査数字におけるエラー検出率の平均をとると、0.8となる。
Assume that the weights are “8, 5, 2, 4, 1, 3, 4, 3, 8” in order from the left digit. This is an example when the weight pattern is a random number. In such a case, the error detection rate when α = 2 and the error detection rate when α = 7 are shown.
(1) Error detection rate when α = 2 FIG. 33 shows the detection rate of transcription error in each digit and each check digit when α = 2. To illustrate how to read FIG. 33, in the first digit from the left, the error detection rate for the check digit “0” is 0.6. The average error detection rate for each digit and each check digit is 0.8.

図34に、α=2としたときの各桁におけるトランスポジションエラーの検出劣化率を示す。図34の読み方を例示すると、左から一桁目および二桁目において、トランスポジションエラーが発生したときのエラー検出劣化率は10/90(第一エラー検出劣化個数/全パターン数)であるとうことである。平均をとると、90/720=0.125となる。すなわち、(10+10+20+10+20+10+10+0)/(90×8)である。よって、エラー検出率=1−エラー検出劣化率=0.875となる。   FIG. 34 shows the transposition error detection deterioration rate in each digit when α = 2. 34, the error detection deterioration rate when a transposition error occurs in the first and second digits from the left is 10/90 (the number of first error detection deterioration / the number of all patterns). That is. Taking the average, 90/720 = 0.125. That is, (10 + 10 + 20 + 10 + 20 + 10 + 10 + 0) / (90 × 8). Therefore, error detection rate = 1−error detection deterioration rate = 0.875.

図35に、α=2としたときの各桁におけるダブルトランスポジションエラーの検出劣化率を示す。図35の読み方を例示すると、左から一桁目および三桁目において、トランスポジションエラーが発生したときのエラー検出劣化率は20/90(第一エラー検出劣化個数/全パターン数)であるとうことである。平均をとると、80/630=0.127となる。よって、エラー検出率=1−エラー検出劣化率=0.873となる。
(2)α=7としたときのエラー検出率
図36に、α=7としたときの各桁および各検査数字におけるトランスクリプションエラーの検出率を示す。図33の読み方を例示すると、左から一桁目において、検査数字「0」におけるエラー検出率は0.8であるとうことである。各桁および各検査数字におけるエラー検出率の平均をとると、0.8となる。
FIG. 35 shows the detection deterioration rate of the double transposition error in each digit when α = 2. 35, the error detection deterioration rate when a transposition error occurs is 20/90 (first error detection deterioration number / total pattern number) in the first and third digits from the left. That is. Taking the average, 80/630 = 0.127. Therefore, error detection rate = 1−error detection deterioration rate = 0.873.
(2) Error detection rate when α = 7 FIG. 36 shows the detection rate of transcription error in each digit and each check digit when α = 7. To illustrate how to read FIG. 33, in the first digit from the left, the error detection rate for the check digit “0” is 0.8. The average error detection rate for each digit and each check digit is 0.8.

図37に、α=7としたときの各桁におけるトランスポジションエラーの検出劣化率を示す。図34の読み方を例示すると、左から一桁目および二桁目において、トランスポジションエラーが発生したときのエラー検出劣化率は10/90(第一エラー検出劣化個数/全パターン数)であるとうことである。平均をとると、50/720=0.0694となる。よって、エラー検出率=1−エラー検出劣化率=0.9306となる。   FIG. 37 shows the transposition error detection deterioration rate in each digit when α = 7. 34, the error detection deterioration rate when a transposition error occurs in the first and second digits from the left is 10/90 (the number of first error detection deterioration / the number of all patterns). That is. Taking the average, 50/720 = 0.0694. Therefore, error detection rate = 1−error detection deterioration rate = 0.9306.

図38に、α=7としたときの各桁におけるダブルトランスポジションエラーの検出劣化率を示す。図35の読み方を例示すると、左から一桁目および三桁目において、トランスポジションエラーが発生したときのエラー検出劣化率は0/90(第一エラー検出劣化個数/全パターン数)であるとうことである。平均をとると、40/630=0.0635となる。よって、エラー検出率=1−エラー検出劣化率=0.9365となる。   FIG. 38 shows the detection deterioration rate of the double transposition error in each digit when α = 7. 35, the error detection deterioration rate when a transposition error occurs is 0/90 (first error detection deterioration number / total pattern number) in the first and third digits from the left. That is. Taking the average, 40/630 = 0.0635. Therefore, error detection rate = 1−error detection deterioration rate = 0.9365.

(1)および(2)の結果を比較すると、トランスクリプションエラーの検出率はα=2でもα=7でも変わらない。しかし、トランスポジションエラーの検出率およびダブルトランスポジションエラーの検出率は、α=2の場合よりもα=7の場合の方が高い。よって、αが奇数(例えば、7)の方が、αが偶数(例えば、2)の方よりもエラー検出率が高いことがわかる。   Comparing the results of (1) and (2), the detection rate of the transcription error does not change even when α = 2 or α = 7. However, the transposition error detection rate and the double transposition error detection rate are higher when α = 7 than when α = 2. Therefore, it can be seen that an error detection rate is higher when α is an odd number (for example, 7) than when α is an even number (for example, 2).

モジュラス10といわれるチェックデジットの導出法を説明するための図である。It is a figure for demonstrating the derivation method of the check digit called the modulus 10. FIG. 派生検査数字を説明するための図である。It is a figure for demonstrating a derivative inspection number. 異なる顧客に同じ口座番号を付与して、基本検査数字(CDV1)と派生検査数字(CDV2)とを使い分けた状態と、その問題点を説明するための図である。It is a figure for demonstrating the state which assign | provided the same account number to different customers, and used the basic inspection number (CDV1) and the derived inspection number (CDV2) properly. 本発明の実施形態にかかるエラー検出劣化数導出装置1の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the error detection degradation number derivation | leading-out apparatus 1 concerning embodiment of this invention. エラーの種類を説明するための図である。It is a figure for demonstrating the kind of error. エラーの種類を説明するための図である。It is a figure for demonstrating the kind of error. エラーの種類がトランスポジションエラーであると決定された場合の、(真正な)情報数字(図7(a))およびエラー情報数字(図7(b))を示す図である。FIG. 8 is a diagram showing (authentic) information numbers (FIG. 7A) and error information numbers (FIG. 7B) when it is determined that the error type is a transposition error. エラーの種類がダブルトランスポジションエラーであると決定された場合の、(真正な)情報数字(図8(a))およびエラー情報数字(図8(b))を示す図である。It is a figure which shows the (authentic) information number (FIG. 8 (a)) and the error information number (FIG. 8 (b)) when it is determined that the error type is a double transposition error. トランスポジションエラーの場合の、第一基本検査数字記録部26および第二基本検査数字記録部36の記録内容を説明するための図である。It is a figure for demonstrating the recording content of the 1st basic test number recording part 26 and the 2nd basic test number recording part 36 in the case of a transposition error. トランスポジションエラーの場合の、第一基本検査数字記録部26および第二基本検査数字記録部36の記録内容を説明するための図である。It is a figure for demonstrating the recording content of the 1st basic test number recording part 26 and the 2nd basic test number recording part 36 in the case of a transposition error. トランスポジションエラーにおける、第二エラー検出劣化個数カウンタ46の動作例を説明するための図である。It is a figure for demonstrating the operation example of the 2nd error detection degradation number counter 46 in the transposition error. トランスポジションエラーにおける、第二エラー検出劣化個数カウンタ46の動作例を説明するための図である。It is a figure for demonstrating the operation example of the 2nd error detection degradation number counter 46 in the transposition error. トランスポジションエラーにおける、第一エラー検出劣化個数カウンタ44の動作例を説明するための図である。It is a figure for demonstrating the operation example of the 1st error detection degradation number counter 44 in the transposition error. トランスポジションエラーにおける、第一エラー検出劣化個数カウンタ44の動作例を説明するための図である。It is a figure for demonstrating the operation example of the 1st error detection degradation number counter 44 in the transposition error. 統計処理装置50の構成を示す機能ブロック図である。3 is a functional block diagram showing a configuration of a statistical processing device 50. FIG. 第二の実施形態にかかるエラー検出劣化数導出装置2の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the error detection degradation number derivation | leading-out apparatus 2 concerning 2nd embodiment. トランスクリプションエラーを示す図である。It is a figure which shows a transcription error. エラーの種類がトランスクリプションエラーであると決定された場合の、情報数字生成部62の出力する情報数字Xを示す図である。It is a figure which shows the information number X which the information number production | generation part 62 outputs when it determines with the kind of error being a transcription error. トランスクリプションエラーの場合の、基本検査数字記録部66の記録内容を説明するための図である。It is a figure for demonstrating the recording content of the basic test | inspection number recording part 66 in the case of a transcription error. トランスクリプションエラーの場合の、派生検査数字記録部68の記録内容を説明するための図である。It is a figure for demonstrating the recording content of the derivation check number recording part 68 in the case of a transcription error. 基本検査数字記録部66における基本検査数字(CDV1)の発生回数を示す図である。It is a figure which shows the frequency | count of generation | occurrence | production of the basic test number (CDV1) in the basic test number recording part. 検査数字(CDV1、CDV2)をあわせて示す図である。It is a figure which shows collectively the test | inspection number (CDV1, CDV2). 基本検査数字記録部66および派生検査数字記録部68における検査数字(CDV1、CDV2)の発生回数を示す図である。It is a figure which shows the frequency | count of generation | occurrence | production of the test number (CDV1, CDV2) in the basic test number recording part 66 and the derived test number recording part 68. 口座番号の入力に使用されるキーの配置を示す図である。It is a figure which shows arrangement | positioning of the key used for the input of an account number. 口座番号付与装置3の構成を示す機能ブロック図である。3 is a functional block diagram showing a configuration of an account number assigning device 3. FIG. 口座情報記録部66の記録内容を示す図である。It is a figure which shows the recording content of the account information recording part 66. FIG. 口座番号検査装置4の構成を示す機能ブロック図である。3 is a functional block diagram showing a configuration of an account number inspection device 4. FIG. 口座番号検査装置4の動作を説明するための図である。It is a figure for demonstrating operation | movement of the account number test | inspection apparatus 4. FIG. ウェイトが全ての桁について偶数または奇数の場合の一例を示す図である。It is a figure which shows an example in case a weight is even number or odd number about all the digits. ウェイトが奇数桁について偶数(奇数)、偶数桁について奇数(偶数)の場合の一例を示す図である。It is a figure which shows an example in case a weight is an even number (odd number) about an odd number digit, and an odd number (even number) about an even number digit. ウェイトが最初の桁から0、偶数、0、奇数あるいは0、奇数、0、偶数の繰り返しである場合の一例を示す図である。It is a figure which shows an example in case a weight is repetition of 0, even number, 0, odd number or 0, odd number, 0, even number from the first digit. ウェイトが最初の桁から偶数、0、奇数、0あるいは奇数、0、偶数、0の繰り返しである場合の一例を示す図である。It is a figure which shows an example in case a weight is repetition of even number, 0, odd number, 0 or odd number, 0, even number, 0 from the first digit. α=2としたときの各桁および各検査数字におけるトランスクリプションエラーの検出率を示す図である。It is a figure which shows the detection rate of the transcription error in each digit when it is set to (alpha) = 2 and each check number. α=2としたときの各桁におけるトランスポジションエラーの検出劣化率を示す図である。It is a figure which shows the detection degradation rate of the transposition error in each digit when (alpha) = 2. α=2としたときの各桁におけるダブルトランスポジションエラーの検出劣化率を示す図である。It is a figure which shows the detection degradation rate of the double transposition error in each digit when (alpha) = 2. α=7としたときの各桁および各検査数字におけるトランスクリプションエラーの検出率を示す図である。It is a figure which shows the detection rate of the transcription error in each digit and each check number when it is set to (alpha) = 7. α=7としたときの各桁におけるトランスポジションエラーの検出劣化率を示す図である。It is a figure which shows the detection degradation rate of the transposition error in each digit when it is set to (alpha) = 7. α=7としたときの各桁におけるダブルトランスポジションエラーの検出劣化率を示す図である。It is a figure which shows the detection degradation rate of the double transposition error in each digit when it is set as (alpha) = 7.

符号の説明Explanation of symbols

X (真正な)情報数字
Xerr エラー情報数字
CDV1 第一基本検査数字
CDV2 第一派生検査数字
CDV1’ 第二基本検査数字
CDV2’ 第二派生検査数字
1 エラー検出劣化数導出装置
10 エラー種類決定部
12 全パターン数カウンタ
22 真正情報数字生成部
24 第一基本検査数字導出部
27 第一派生検査数字導出部
32 エラー情報数字生成部
34 第二基本検査数字導出部
37 第二派生検査数字導出部
44 第一エラー検出劣化個数カウンタ(第一エラー検出劣化個数計数手段)
46 第二エラー検出劣化個数カウンタ(第二エラー検出劣化個数計数手段)
50 統計処理装置
52 基本エラー発見数算出部
56 エラー検出劣化率算出部
62 情報数字生成部
64 基本検査数字導出部
66 基本検査数字記録部
68 派生検査数字導出部
72 CDV発生回数カウンタ
74 CDV発生回数記録部
82 エラー検出率導出部
3 口座番号付与装置(番号生成装置)
162 第一組織数字生成部
164 第二組織数字生成部
166 口座情報記録部
4 口座番号検査装置(番号検査装置)
172 検査数字分離部
174 入力番号検査部
X (genuine) information number
Xerr error information number CDV1 first basic inspection number CDV2 first derived inspection number CDV1 'second basic inspection number CDV2' second derived inspection number 1 error detection deterioration number deriving device 10 error type determining unit 12 total pattern number counter 22 authentic information Number generator 24 First basic inspection number derivation unit 27 First derived inspection number derivation unit 32 Error information number generation unit 34 Second basic inspection number derivation unit 37 Second derived inspection number derivation unit 44 First error detection deterioration number counter ( First error detection deterioration number counting means)
46 Second error detection deterioration number counter (second error detection deterioration number counting means)
DESCRIPTION OF SYMBOLS 50 Statistical processing apparatus 52 Basic error discovery number calculation part 56 Error detection deterioration rate calculation part 62 Information number generation part 64 Basic test number derivation part 66 Basic test number recording part 68 Derived test number derivation part 72 CDV generation number counter 74 CDV generation number Recording unit 82 Error detection rate deriving unit 3 Account number assigning device (number generating device)
162 First Organization Number Generation Unit 164 Second Organization Number Generation Unit 166 Account Information Recording Unit 4 Account Number Inspection Device (Number Inspection Device)
172 Inspection number separation part 174 Input number inspection part

Claims (15)

検査数字を含む番号を、前記検査数字と情報数字とに分離する検査数字分離手段と、
前記情報数字に基づき基本検査数字を導出する基本検査数字導出手段と、
前記情報数字に基づき、前記基本検査数字とは異なる派生検査数字を導出する派生検査数字導出手段と、
前記検査数字が、前記基本検査数字および前記派生検査数字のいずれかに等しいか否かを検査する番号検査手段と、
を備え、
前記派生検査数字導出手段は、前記基本検査数字に、前記基本検査数字に応じて変動する所定の値を加えて、前記派生検査数字を導出する、
番号検査装置。
Inspection number separating means for separating the number including the inspection number into the inspection number and the information number;
Basic test number deriving means for deriving a basic test number based on the information numbers;
Derived test number derivation means for deriving a derived test number different from the basic check number based on the information number;
Number inspection means for inspecting whether the inspection number is equal to either the basic inspection number or the derived inspection number;
With
The derived test digit deriving means derives the derived test digit by adding a predetermined value that varies according to the basic test digit to the basic test digit.
Number inspection device.
請求項に記載の番号検査装置であって、
前記基本検査数字導出手段は、前記任意の情報数字の各桁の数値に、所定の重み付け係数を乗じた値の総和を10で割ったときの余りに基づき前記基本検査数字を決定し、
前記任意の情報数字は10進数である、
番号検査装置。
The number inspection device according to claim 1 ,
The basic check digit deriving means determines the basic check digit based on a remainder when a sum of values obtained by multiplying a numerical value of each digit of the arbitrary information digit by a predetermined weighting factor is divided by 10;
The arbitrary information number is a decimal number.
Number inspection device.
請求項に記載の番号検査装置であって、
前記所定の重み付け係数が全ての桁について同じ偶数である場合に、前記所定の値を奇数とする、
番号検査装置。
The number inspection device according to claim 2 ,
If the predetermined weighting factor is the same even number for all digits, the predetermined value is an odd number;
Number inspection device.
請求項に記載の番号検査装置であって、
前記所定の重み付け係数が全ての桁について同じ奇数である場合に、前記所定の値を奇数とする、
番号検査装置。
The number inspection device according to claim 2 ,
If the predetermined weighting factor is the same odd number for all digits, the predetermined value is an odd number;
Number inspection device.
請求項に記載の番号検査装置であって、
前記所定の重み付け係数が奇数桁については偶数、偶数桁については奇数である場合に、前記所定の値を5を除く奇数とする、
番号検査装置。
The number inspection device according to claim 2 ,
When the predetermined weighting factor is even for odd digits and odd for even digits, the predetermined value is an odd number excluding 5,
Number inspection device.
請求項に記載の番号検査装置であって、
前記所定の重み付け係数が奇数桁については奇数、偶数桁については偶数である場合に、前記所定の値を5を除く奇数とする、
番号検査装置。
The number inspection device according to claim 2 ,
When the predetermined weighting factor is odd for odd digits and even for even digits, the predetermined value is an odd number excluding 5,
Number inspection device.
請求項に記載の番号検査装置であって、
前記所定の重み付け係数が最初の桁から、0、偶数、0、奇数の繰り返しである場合に、前記所定の値を5を除く奇数とする、
番号検査装置。
The number inspection device according to claim 2 ,
When the predetermined weighting coefficient is repetition of 0, even number, 0, odd number from the first digit, the predetermined value is an odd number excluding 5;
Number inspection device.
請求項に記載の番号検査装置であって、
前記所定の重み付け係数が最初の桁から、0、奇数、0、偶数の繰り返しである場合に、前記所定の値を奇数とする、
番号検査装置。
The number inspection device according to claim 2 ,
When the predetermined weighting coefficient is a repetition of 0, odd, 0, even from the first digit, the predetermined value is an odd number.
Number inspection device.
請求項に記載の番号検査装置であって、
前記所定の重み付け係数が最初の桁から、偶数、0、奇数、0の繰り返しである場合に、前記所定の値を奇数とする、
番号検査装置。
The number inspection device according to claim 2 ,
When the predetermined weighting coefficient is repetition of an even number, 0, odd number, and 0 from the first digit, the predetermined value is an odd number.
Number inspection device.
請求項に記載の番号検査装置であって、
前記所定の重み付け係数が最初の桁から、奇数、0、偶数、0の繰り返しである場合に、前記所定の値を5を除く奇数とする、
番号検査装置。
The number inspection device according to claim 2 ,
When the predetermined weighting coefficient is an odd number, 0, even number, 0 repetition from the first digit, the predetermined value is an odd number excluding 5,
Number inspection device.
請求項に記載の番号検査装置であって、
前記所定の重み付け係数が請求項3ないし10のいずれにも該当しない場合に、前記所定の値を奇数とする、
番号検査装置。
The number inspection device according to claim 2 ,
When the predetermined weighting coefficient does not correspond to any of claims 3 to 10 , the predetermined value is an odd number.
Number inspection device.
請求項1ないし11のいずれか一項に記載の番号検査装置であって、
前記所定の値を、前記情報数字を入力するための入力機器における各数字の入力用キーどうしの距離に基づき決定する、
番号検査装置。
The number inspection device according to any one of claims 1 to 11 ,
The predetermined value is determined based on a distance between input keys for each number in an input device for inputting the information number.
Number inspection device.
検査数字分離手段が、検査数字を含む番号を、前記検査数字と情報数字とに分離する検査数字分離工程と、
基本検査数字導出手段が、前記情報数字に基づき基本検査数字を導出する基本検査数字導出工程と、
派生検査数字導出手段が、前記情報数字に基づき、前記基本検査数字とは異なる派生検査数字を導出する派生検査数字導出工程と、
番号検査手段が、前記検査数字が、前記基本検査数字および前記派生検査数字のいずれかに等しいか否かを検査する番号検査工程と、
を備え、
前記派生検査数字導出工程は、前記基本検査数字に、前記基本検査数字に応じて変動する所定の値を加えて、前記派生検査数字を導出する、
番号検査方法。
A test digit separating step, wherein the test digit separating means separates the number including the test digit into the test digit and the information digit;
A basic inspection number deriving means for deriving a basic inspection number based on the information number;
Derived test number derivation means for deriving a derived test number different from the basic test number based on the information number,
A number inspection step for inspecting whether or not the inspection number is equal to either the basic inspection number or the derived inspection number;
With
The derived check digit deriving step adds a predetermined value that varies according to the basic check digit to the basic check digit to derive the derived check digit.
Number inspection method.
検査数字を含む番号を、前記検査数字と情報数字とに分離する検査数字分離処理と、
前記情報数字に基づき基本検査数字を導出する基本検査数字導出処理と、
前記情報数字に基づき、前記基本検査数字とは異なる派生検査数字を導出する派生検査数字導出処理と、
前記検査数字が、前記基本検査数字および前記派生検査数字のいずれかに等しいか否かを検査する番号検査処理と、
をコンピュータに実行させるためのプログラムであって、
前記派生検査数字導出処理は、前記基本検査数字に、前記基本検査数字に応じて変動する所定の値を加えて、前記派生検査数字を導出する、
プログラム。
Inspection number separation processing for separating the number including the inspection number into the inspection number and the information number;
A basic inspection number derivation process for deriving a basic inspection number based on the information number;
Derived test number derivation processing for deriving a derived test number different from the basic check number based on the information number;
A number inspection process for inspecting whether the inspection number is equal to either the basic inspection number or the derived inspection number;
A program for causing a computer to execute
The derivation check digit derivation process derives the derivation check digit by adding a predetermined value that varies according to the basic check digit to the basic check digit.
program.
検査数字を含む番号を、前記検査数字と情報数字とに分離する検査数字分離処理と、
前記情報数字に基づき基本検査数字を導出する基本検査数字導出処理と、
前記情報数字に基づき、前記基本検査数字とは異なる派生検査数字を導出する派生検査数字導出処理と、
前記検査数字が、前記基本検査数字および前記派生検査数字のいずれかに等しいか否かを検査する番号検査処理と、
をコンピュータに実行させるためのプログラムを記録したコンピュータによって読み取り可能な記録媒体であって、
前記派生検査数字導出処理は、前記基本検査数字に、前記基本検査数字に応じて変動する所定の値を加えて、前記派生検査数字を導出する、
記録媒体。
Inspection number separation processing for separating the number including the inspection number into the inspection number and the information number;
A basic inspection number derivation process for deriving a basic inspection number based on the information number;
Derived test number derivation processing for deriving a derived test number different from the basic check number based on the information number;
A number inspection process for inspecting whether the inspection number is equal to either the basic inspection number or the derived inspection number;
A computer-readable recording medium storing a program for causing a computer to execute
The derivation check digit derivation process derives the derivation check digit by adding a predetermined value that varies according to the basic check digit to the basic check digit.
recoding media.
JP2004237694A 2004-08-17 2004-08-17 Number generating apparatus, number inspection apparatus, method, program, and recording medium Expired - Fee Related JP3905901B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004237694A JP3905901B2 (en) 2004-08-17 2004-08-17 Number generating apparatus, number inspection apparatus, method, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004237694A JP3905901B2 (en) 2004-08-17 2004-08-17 Number generating apparatus, number inspection apparatus, method, program, and recording medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2006331741A Division JP4069143B2 (en) 2006-12-08 2006-12-08 Number generating apparatus, number inspection apparatus, method, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2006059401A JP2006059401A (en) 2006-03-02
JP3905901B2 true JP3905901B2 (en) 2007-04-18

Family

ID=36106759

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004237694A Expired - Fee Related JP3905901B2 (en) 2004-08-17 2004-08-17 Number generating apparatus, number inspection apparatus, method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP3905901B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012137217A1 (en) * 2011-04-07 2012-10-11 Infosys Limited System and method for generating an account number automatically
JP6064385B2 (en) * 2012-06-25 2017-01-25 沖電気工業株式会社 Trading device

Also Published As

Publication number Publication date
JP2006059401A (en) 2006-03-02

Similar Documents

Publication Publication Date Title
US8838549B2 (en) Detecting duplicate records
US7672833B2 (en) Method and apparatus for automatic entity disambiguation
CN104169909B (en) Context resolution device and context resolution method
KR100911762B1 (en) Address standardization system and method
US20060173924A1 (en) Calculating the quality of a data record
JP3905901B2 (en) Number generating apparatus, number inspection apparatus, method, program, and recording medium
US7894360B2 (en) Trouble-factor detecting device, trouble-factor detecting method, and computer product
Mistry et al. Document understanding for healthcare referrals
JP4069143B2 (en) Number generating apparatus, number inspection apparatus, method, program, and recording medium
JP7592414B2 (en) Named entity classification device and named entity classification method
JP4069144B2 (en) Error detection rate deriving device, method, program, and recording medium
JP3905902B2 (en) Error detection deterioration number deriving device, method, program, and recording medium
JP2012181605A (en) Data analysis support device and program
US20240303726A1 (en) An apparatus, method and computer program product for identifying a validation check for a set of numbers
TW497048B (en) Information processing system
CN109829769B (en) Method and system for electronic invoice checking
Goyal Duplicate record identification in bibliographic databases
Siddharth Error detection in numeric codes
CN101882148B (en) Method and system thereof for automatically identifying Uyghur in web page
JP2010211256A (en) Formal name determination system and program
US20220253529A1 (en) Information processing apparatus, information processing method, and computer readable medium
JP5384060B2 (en) Insider verification device, insider verification method and program thereof
Kaspříková The Data Analysis of Library Services in Regions of the Czech Republic: Library Services in Regions of the Czech Republic
JPH11352985A (en) Voice recognition device
KR101425392B1 (en) Method and Apparatus for providing bill counting history information

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061101

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061208

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070112

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130119

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20180119

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees