JP6637202B2 - Detection device, detection method, and program - Google Patents

Detection device, detection method, and program Download PDF

Info

Publication number
JP6637202B2
JP6637202B2 JP2019010846A JP2019010846A JP6637202B2 JP 6637202 B2 JP6637202 B2 JP 6637202B2 JP 2019010846 A JP2019010846 A JP 2019010846A JP 2019010846 A JP2019010846 A JP 2019010846A JP 6637202 B2 JP6637202 B2 JP 6637202B2
Authority
JP
Japan
Prior art keywords
light
detection
light emitting
unit
pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2019010846A
Other languages
Japanese (ja)
Other versions
JP2019091484A (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.)
NEC Platforms Ltd
Original Assignee
NEC Platforms Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Platforms Ltd filed Critical NEC Platforms Ltd
Priority to JP2019010846A priority Critical patent/JP6637202B2/en
Publication of JP2019091484A publication Critical patent/JP2019091484A/en
Application granted granted Critical
Publication of JP6637202B2 publication Critical patent/JP6637202B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Conveying Record Carriers (AREA)

Description

本発明は、物体の検出に関し、特に、カード挿入口の異物を検出する検出装置、検出方法、及び、プログラムに関する。   The present invention relates to object detection, and more particularly, to a detection device, a detection method, and a program for detecting a foreign substance in a card insertion slot.

ATM(Automated Teller Machine)又はCD(Cash Dispenser)などの自動取引機が、広く活用されている。自動取引機は、カード(例えば、磁気的に情報を記憶する磁気カード)に書き込まれた情報を用いて利用者の認証を実行している。   Automatic transaction machines such as ATMs (Automated Teller Machines) or CDs (Cash Dispensers) are widely used. The automatic transaction machine authenticates a user using information written on a card (for example, a magnetic card that magnetically stores information).

近年、カードに書き込まれた情報を不正に窃取する犯罪、いわゆるスキミング犯罪が、社会問題となっている。   In recent years, crimes that illegally steal information written on cards, so-called skimming crimes, have become a social problem.

スキミングを実行しようとする不正者は、ATM又はCD等のカード挿入口に、カードに記録されている情報を読み取る機器(スキミング機器又はスキミングユニット)を装着する。そこで、スキミングに対処するための検出装置は、カード挿入口における、不正な機器(ユニット)の装着を、監視又は検出する(例えば、特許文献1及び2を参照)。このような検出装置は、スキミング機器を検出する検出器として、例えば、赤外線センサを用いる。   An unauthorized person who intends to perform skimming attaches a device (skimming device or skimming unit) for reading information recorded on a card to a card insertion slot such as an ATM or a CD. Therefore, a detection device for dealing with skimming monitors or detects the installation of an unauthorized device (unit) at the card insertion slot (for example, see Patent Documents 1 and 2). Such a detecting device uses, for example, an infrared sensor as a detector for detecting skimming equipment.

検出装置は、できる限り不正な機器(スキミングユニット)を検出できることが望ましい。そのため、検出装置は、検出精度が高く、検出範囲が広いことが望ましい。   It is desirable that the detection device can detect an unauthorized device (skimming unit) as much as possible. Therefore, it is desirable that the detection device has a high detection accuracy and a wide detection range.

しかし、検出装置が設置される環境には、検出装置の検出性能に影響を与える要因が存在している。このような要因には、光に関連する要因(例えば、太陽光及び照明など外乱光)、受光部分に関連する要因(例えば、ほこり又は汚れ)、及び、カード挿入口の近傍の関連するよう要因(例えば、虫、利用者、又は、利用者の持ち物)などがある。   However, in an environment where the detection device is installed, there are factors that affect the detection performance of the detection device. Such factors include factors related to light (for example, disturbance light such as sunlight and lighting), factors related to the light receiving portion (for example, dust or dirt), and factors related to the vicinity of the card insertion slot. (For example, an insect, a user, or a user's belongings).

検出精度又は検出範囲を向上させるために検出装置の検出器の検出感度を向上させると、検出装置は、上記の要因の影響を受けやすくなってしまう。   If the detection sensitivity of the detector of the detection device is improved to improve the detection accuracy or the detection range, the detection device is likely to be affected by the above factors.

そこで、特許文献1及び特許文献2のように、いろいろな方法が、用いられている。   Therefore, various methods are used, as in Patent Literature 1 and Patent Literature 2.

特許文献1に記載の技術は、カード挿入口の上下に異物センサを設けて、検出精度を向上している。   The technology described in Patent Document 1 improves detection accuracy by providing foreign matter sensors above and below a card insertion slot.

また、特許文献2に記載の技術は、格子状パターンの光線を照射して、反射光を赤外線監視カメラで撮影する。   Further, the technique described in Patent Document 2 irradiates a light beam in a lattice pattern and captures reflected light with an infrared monitoring camera.

特開2010−250711号公報JP 2010-250711 A 特開2008−027259号公報JP 2008-027259 A

しかし、特許文献1に記載の異物センサは、カード挿入口の近傍の限られた位置しか検出できない。つまり、特許文献1に記載の技術は、異物を検出できる範囲が狭いという問題点があった。   However, the foreign matter sensor described in Patent Document 1 can detect only a limited position near the card insertion slot. That is, the technique described in Patent Document 1 has a problem that the range in which foreign matter can be detected is narrow.

また、特許文献2に記載の技術は、格子状のパターンの光線を所定の範囲に照射することが必要である。光線を格子状のパターンに照射するためには、所定の範囲に絞りこめる光線を発光する光源(例えば、レーザー光源)及び絞り込むための光学機器が必要である。また、光線を格子状のパターンに照射するためには、ポリゴンミラーなどの高精度な光学機器が必要である。つまり、特許文献2に記載技術は、高機能及び高精度な光学設備(以下、高度な光学機器と呼ぶ)が必要であるという問題点があった。   In addition, the technique described in Patent Document 2 needs to irradiate a predetermined pattern with a light beam having a lattice pattern. In order to irradiate a light beam on a lattice-like pattern, a light source (for example, a laser light source) that emits a light beam that is narrowed down to a predetermined range and an optical device for narrowing down the light are required. In addition, in order to irradiate a light beam on a lattice-like pattern, a high-precision optical device such as a polygon mirror is required. That is, the technology described in Patent Document 2 has a problem that high-performance and high-precision optical equipment (hereinafter, referred to as advanced optical equipment) is required.

本発明の目的は、上記問題点を解決し、高度な光学機器を必要としないで、カード挿入口に設けられた機器の検出範囲及び検出精度を向上させる検出装置、検出方法、及び、プログラムを提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems, and to provide a detection device, a detection method, and a program for improving the detection range and detection accuracy of a device provided in a card insertion slot without requiring an advanced optical device. To provide.

本発明の一形態における検出装置は、第1の検出光を発光する第1の発光手段と、カードを挿入するためのカード挿入口に対して第1の発光手段の反対側に設けられた第2の検出光を発光する第2の発光手段と、第1の発光手段及び第2の発光手段から所定の距離離れた位置に設置されて、第1の検出光及び第2の検出光を検出する検出手段と、第1の発光手段及び第2の発光手段をそれぞれの所定のパターンを用いて発光させ、検出手段を用いて第1の検出光のパターン及び第2の検出光のパターンを取得し、第1の検出光のパターン及び第2の検出光のパターンと、発光させるためのパターンとが一致するか否かを判定し、第1の検出光のパターン又は第2の検出光のパターンの少なくとも1つが、発光させるためのパターンと一致しない場合に、第1の発光手段及び第2の発光手段が発光していないときの所定の位置の色情報を取得し、取得した色情報と予め保存しておいた色情報とが一致するか否かを判定し、色情報が一致した場合に異物が取り付けられていると判定する判定手段とを含む。   A detection device according to an embodiment of the present invention includes a first light emitting unit that emits first detection light, and a first light emitting unit that is provided on a side opposite to the first light emitting unit with respect to a card insertion slot for inserting a card. A second light-emitting unit that emits the second detection light, and a second light-emitting unit that is installed at a predetermined distance from the first light-emitting unit and the second light-emitting unit to detect the first detection light and the second detection light Detecting means, and the first light emitting means and the second light emitting means emit light using respective predetermined patterns, and the first detecting light pattern and the second detecting light pattern are obtained using the detecting means. Then, it is determined whether or not the pattern of the first detection light and the pattern of the second detection light match the pattern for emitting light, and the pattern of the first detection light or the pattern of the second detection light is determined. At least one of the patterns does not match the pattern for emitting light. In this case, the color information at a predetermined position when the first light emitting unit and the second light emitting unit do not emit light is acquired, and whether the acquired color information matches the color information stored in advance is determined. Determining means for determining whether a foreign object is attached when the color information matches.

本発明の一形態における検出方法は、第1の検出光を発光する第1の発光手段と、カードを挿入するためのカード挿入口に対して第1の発光手段の反対側に設けられた第2の検出光を発光する第2の発光手段と、第1の発光手段及び第2の発光手段から所定の距離離れた位置に設置されて、第1の検出光及び第2の検出光を検出する検出手段とを含む検出装置において、第1の発光手段及び第2の発光手段をそれぞれの所定のパターンを用いて発光させ、検出手段を用いて第1の検出光のパターン及び第2の検出光のパターンを取得し、第1の検出光のパターン及び第2の検出光のパターンと、発光させるためのパターンとが一致するか否かを判定し、第1の検出光のパターン又は第2の検出光のパターンの少なくとも1つが、発光させるためのパターンと一致しない場合に、第1の発光手段及び第2の発光手段が発光していないときの所定の位置の色情報を取得し、取得した色情報と予め保存しておいた色情報とが一致するか否かを判定し、色情報が一致した場合に異物が取り付けられていると判定する。   A detection method according to an embodiment of the present invention includes a first light emitting unit that emits first detection light, and a first light emitting unit that is provided on a side opposite to the first light emitting unit with respect to a card insertion slot for inserting a card. A second light-emitting unit that emits the second detection light, and a second light-emitting unit that is installed at a predetermined distance from the first light-emitting unit and the second light-emitting unit to detect the first detection light and the second detection light The first light emitting means and the second light emitting means emit light using respective predetermined patterns, and the first detecting light pattern and the second detection light are detected using the detecting means. A light pattern is obtained, and it is determined whether the first detection light pattern and the second detection light pattern match the pattern for emitting light, and the first detection light pattern or the second detection light pattern is determined. At least one of the detection light patterns If the pattern does not match, the color information at a predetermined position when the first light emitting means and the second light emitting means do not emit light is acquired, and the acquired color information and the color information stored in advance are acquired. Are determined to match, and if the color information matches, it is determined that a foreign object is attached.

本発明の一形態におけるプログラムは、第1の検出光を発光する第1の発光手段と、カードを挿入するためのカード挿入口に対して第1の発光手段の反対側に設けられた第2の検出光を発光する第2の発光手段と、第1の発光手段及び第2の発光手段から所定の距離離れた位置に設置されて、第1の検出光及び第2の検出光を検出する検出手段とを含む検出装置であるコンピュータに、第1の発光手段及び第2の発光手段をそれぞれの所定のパターンを用いて発光させる処理と、検出手段を用いて第1の検出光のパターン及び第2の検出光のパターンを取得する処理と、第1の検出光のパターン及び第2の検出光のパターンと、発光させるためのパターンとが一致するか否かを判定する処理と、第1の検出光のパターン又は第2の検出光のパターンの少なくとも1つが、発光させるためのパターンと一致しない場合に、第1の発光手段及び第2の発光手段が発光していないときの所定の位置の色情報を取得する処理と、取得した色情報と予め保存しておいた色情報とが一致するか否かを判定する処理と、色情報が一致した場合に異物が取り付けられていると判定する処理とを実行させる。   A program according to an embodiment of the present invention includes a first light emitting unit that emits first detection light, and a second light emitting unit that is provided on a side opposite to the first light emitting unit with respect to a card insertion slot for inserting a card. A second light-emitting unit that emits the first detection light and a first light-emitting unit and a second light-emitting unit that are located at a predetermined distance from the second light-emitting unit to detect the first detection light and the second detection light Processing for causing a computer, which is a detection device including a detection unit, to emit light using the first light-emitting unit and the second light-emitting unit using respective predetermined patterns; A process of acquiring a pattern of the second detection light, a process of determining whether the pattern of the first detection light and the pattern of the second detection light match the pattern for emitting light, Pattern of the second detection light or the pattern of the second detection light A process of acquiring color information at a predetermined position when the first light emitting means and the second light emitting means do not emit light when at least one of the patterns does not match the pattern for emitting light; A process for determining whether or not the color information matches the color information stored in advance, and a process for determining that a foreign substance is attached when the color information matches, are executed.

本発明に基づけば、高度な光学機器を必要としないで、カード挿入口に設けられた機器の検出範囲及び検出精度を向上させるとの効果を奏することができる。   ADVANTAGE OF THE INVENTION According to this invention, the effect of improving the detection range and the detection accuracy of the apparatus provided in the card insertion slot can be achieved without requiring advanced optical equipment.

図1は、本発明における第1の実施形態に係る検出装置の構成の一例を示す図である。FIG. 1 is a diagram illustrating an example of the configuration of the detection device according to the first embodiment of the present invention. 図2は、第1の実施形態に係る検出装置の構成の一例を示す断面図である。FIG. 2 is a cross-sectional view illustrating an example of a configuration of the detection device according to the first embodiment. 図3は、第1の実施形態に係る検出装置の構成の一例を示すブロック図である。FIG. 3 is a block diagram illustrating an example of a configuration of the detection device according to the first embodiment. 図4は、第1の実施形態に係る判定部の詳細な構成を含む検出装置の構成の一例を示すブロック図である。FIG. 4 is a block diagram illustrating an example of a configuration of the detection device including a detailed configuration of the determination unit according to the first embodiment. 図5は、第1の実施形態に係る検出装置の動作の一例を示すフローチャートである。FIG. 5 is a flowchart illustrating an example of the operation of the detection device according to the first embodiment. 図6は、第1の実施形態に係る発光部の別の構成の一例を示す図である。FIG. 6 is a diagram illustrating an example of another configuration of the light emitting unit according to the first embodiment. 図7は、第1の実施形態に係る検出装置の別の構成の一例を示すブロック図である。FIG. 7 is a block diagram illustrating an example of another configuration of the detection device according to the first embodiment. 図8は、第1の実施形態に係る検出装置の別の構成の一例を示すブロック図である。FIG. 8 is a block diagram illustrating an example of another configuration of the detection device according to the first embodiment.

次に、本発明の実施形態について図面を参照して説明する。   Next, an embodiment of the present invention will be described with reference to the drawings.

なお、各図面は、本発明の実施形態を説明するためのものである。ただし、本発明は、各図面の記載に限られるわけではない。また、各図面の同様の構成には、同じ番号を付し、その繰り返しの説明を、省略する場合がある。   Each drawing is for describing an embodiment of the present invention. However, the present invention is not limited to the description of each drawing. In addition, the same reference numerals are given to the same components in each drawing, and the repeated description thereof may be omitted.

また、以下の説明に用いる図面において、本発明の説明に関係しない部分の構成については、記載を省略し、図示しない場合もある。   In addition, in the drawings used in the following description, the configuration of a portion that is not relevant to the description of the present invention is omitted and may not be illustrated.

なお、本発明の実施形態は、カードを挿入するカード挿入口の近傍に設置された異物を検出する。そのため、本実施形態は、カード挿入口に挿入されるカードについては、特に制限はない。例えば、本実施形態のカードは、表面、裏面、両面、又は、内部に磁気ストライプを含む磁気カードでもよい。あるいは、本実施形態のカードは、電気的に情報を読み書きするIC(Integrated Circuit)カードでもよい。あるいは、本実施形態のカードは、片面全体に磁気の記録面を有するカード(例えば、磁気式の切符)でもよい。つまり、以下の説明において、カードとは、略平面形状の物体で、表面又は内部に情報を記憶している物体である。   Note that the embodiment of the present invention detects a foreign substance installed near the card insertion slot for inserting a card. Therefore, in the present embodiment, there is no particular limitation on the card inserted into the card insertion slot. For example, the card of the present embodiment may be a magnetic card including a magnetic stripe on the front surface, the back surface, both surfaces, or inside. Alternatively, the card of the present embodiment may be an IC (Integrated Circuit) card for electrically reading and writing information. Alternatively, the card of the present embodiment may be a card having a magnetic recording surface on one entire surface (for example, a magnetic ticket). That is, in the following description, a card is an object having a substantially planar shape, and an object that stores information on its surface or inside.

<第1の実施形態>
まず、本発明における第1の実施形態に係る検出装置100の構成について説明する。
<First embodiment>
First, the configuration of the detection device 100 according to the first embodiment of the present invention will be described.

(構成の説明)
図1は、第1の実施形態に係る検出装置100の構成の一例を示す図である。
(Description of configuration)
FIG. 1 is a diagram illustrating an example of a configuration of the detection device 100 according to the first embodiment.

図1に示すように、検出装置100は、カード挿入口30と、発光部40と、発光部50と、検出部60とを含む。なお、後ほど説明する通り、検出装置100は、図1には図示しない判定部20を含む。また、発光部40及び発光部50を区別する場合、それぞれを、第1の発光部及び第2の発光部と呼ぶ。また、後ほど説明するように、検出部60は、発光部40及び発光部50が発光した光を検出する。そのため、発光部40が発光した光及び発光部50が発光した光を、それぞれ、第1の検出光及び第2の検出光と呼ぶ。   As shown in FIG. 1, the detection device 100 includes a card insertion slot 30, a light emitting unit 40, a light emitting unit 50, and a detecting unit 60. As will be described later, the detection device 100 includes a determination unit 20 not shown in FIG. When the light emitting unit 40 and the light emitting unit 50 are distinguished from each other, they are referred to as a first light emitting unit and a second light emitting unit, respectively. Further, as described later, the detection unit 60 detects light emitted by the light emitting unit 40 and the light emitting unit 50. Therefore, the light emitted by the light emitting unit 40 and the light emitted by the light emitting unit 50 are referred to as first detection light and second detection light, respectively.

カード挿入口30は、カード10を挿入するための開口部である。   The card insertion slot 30 is an opening for inserting the card 10.

発光部40及び発光部50は、後ほど説明する通り、判定部20に制御されて、所定のパターンで発光する。ただし、発光部40及び発光部50は、検出部60が検出できる光を発光できればよい。そのため、発光部40及び発光部50は、特別な光学機器を必要としない。例えば、発光部40及び発光部50は、発光ダイオード(LED:Light Emitting Diode)でもよい。   The light emitting unit 40 and the light emitting unit 50 emit light in a predetermined pattern under the control of the determination unit 20, as described later. However, the light emitting unit 40 and the light emitting unit 50 only need to emit light that can be detected by the detection unit 60. Therefore, the light emitting unit 40 and the light emitting unit 50 do not require a special optical device. For example, the light emitting unit 40 and the light emitting unit 50 may be light emitting diodes (LEDs).

なお、発光部40及び発光部50は、利用者の誤認を避けるため、人が認識できない光(例えば、赤外線)を発光することが望ましい。これは、スキミング機器を設置しようとする不正者に、検出装置100が設置されていることを気づかせないためである。ただし、発光部40及び発光部50は、可視光を発光してもよい。   It is desirable that the light emitting unit 40 and the light emitting unit 50 emit light (for example, infrared light) that cannot be recognized by a person in order to avoid erroneous recognition by the user. This is to prevent an unauthorized person who intends to install skimming equipment from noticing that the detection device 100 is installed. However, the light emitting unit 40 and the light emitting unit 50 may emit visible light.

検出部60は、発光部40及び発光部50が発光した光を検出する。より具体的には、検出部60は、後ほど説明するように、判定部20において発光部40及び発光部50の発光パターンを認識できる程度に光を検出できればよい。例えば、判定部20が、発光部40及び発光部50における発光状態及び消灯状態を基にパターンを検出できる場合、検出部60は、発光部40及び発光部50の発光状態及び消灯状態を検出できればよい。そのため、検出部60は、高精度な光学系を必要としない。検出部60は、例えば、イメージセンサ又はCCD(Charge Coupled Device)カメラモジュールである。   The detection unit 60 detects light emitted by the light emitting units 40 and 50. More specifically, the detection unit 60 only needs to detect light to such an extent that the determination unit 20 can recognize the light emission patterns of the light emitting units 40 and 50, as described later. For example, when the determination unit 20 can detect the pattern based on the light emitting state and the light-off state in the light emitting unit 40 and the light emitting unit 50, if the detecting unit 60 can detect the light emitting state and the light off state of the light emitting unit 40 and the light emitting unit 50, Good. Therefore, the detection unit 60 does not require a high-precision optical system. The detection unit 60 is, for example, an image sensor or a CCD (Charge Coupled Device) camera module.

そして、発光部40、発光部50、及び、検出部60は、以下で説明する位置に配置されている。   The light emitting unit 40, the light emitting unit 50, and the detecting unit 60 are arranged at positions described below.

発光部40と発光部50とは、カード挿入口30を挟む位置に配置される。つまり、発光部40と発光部50とは、カード挿入口30に対して、対向した位置に配置される。これは、不正な機器(スキミング機器)が、カード挿入口30のどちらの側に設置されても、検出可能とするためである。   The light emitting unit 40 and the light emitting unit 50 are arranged at positions sandwiching the card insertion slot 30. That is, the light emitting unit 40 and the light emitting unit 50 are arranged at positions facing the card insertion slot 30. This is to make it possible to detect an unauthorized device (skimming device) on either side of the card insertion slot 30.

検出部60は、カード挿入口30に対して、発光部40又は発光部50のいずれか一方と同じ側で、発光部40及び発光部50から所定の距離離れた位置に配置される。ここで、所定の距離とは、異物が設置されると想定される範囲を含む距離である。このように、検出部60は、発光部40及び発光部50と所定の距離離れているため、検出装置100は、広い検出範囲を実現できる。   The detection unit 60 is arranged on the same side of either the light emitting unit 40 or the light emitting unit 50 with respect to the card insertion slot 30 and at a predetermined distance from the light emitting unit 40 and the light emitting unit 50. Here, the predetermined distance is a distance including a range in which a foreign substance is assumed to be installed. As described above, since the detection unit 60 is separated from the light emitting unit 40 and the light emitting unit 50 by a predetermined distance, the detection device 100 can realize a wide detection range.

さらに、検出部60は、カード挿入口30に挟んで配置される発光部40又は発光部50に対して、次のような位置に配置させる。   Further, the detecting unit 60 is arranged at the following position with respect to the light emitting unit 40 or the light emitting unit 50 arranged between the card insertion openings 30.

一例として、検出部60が、発光部40と同じ側に配置されたとする。この場合、検出部60は、次のような位置に配置させる。すなわち、検出部60は、発光部40が発光する光を検出できる位置に配置される。さらに、検出部60は、カード10がカード挿入口30に挿入されていない場合に、発光部50が発光する光を検出でき、カード10がカード挿入口30に挿入されている場合に、発光部50が発光する光を検出できない位置に配置される。   As an example, it is assumed that the detection unit 60 is arranged on the same side as the light emitting unit 40. In this case, the detection unit 60 is arranged at the following position. That is, the detection unit 60 is arranged at a position where the light emitted by the light emitting unit 40 can be detected. Further, the detection unit 60 can detect light emitted from the light emitting unit 50 when the card 10 is not inserted into the card insertion slot 30, and detect the light emitted by the light emitting unit 50 when the card 10 is inserted into the card insertion slot 30. 50 is disposed at a position where the emitted light cannot be detected.

そのため、検出部60は、異物がない限り、発光部40が発光する光を検出できる。また、検出部60は、カード10がカード挿入口30に挿入されていない場合、異物がない限り、発光部50が発光する光を検出できる。ただし、検出部60は、カード10がカード挿入口30に挿入されている場合、発光部50が発光する光を検出できない。   Therefore, the detecting unit 60 can detect the light emitted by the light emitting unit 40 as long as there is no foreign matter. In addition, when the card 10 is not inserted into the card insertion slot 30, the detecting unit 60 can detect the light emitted by the light emitting unit 50 unless there is a foreign substance. However, when the card 10 is inserted into the card insertion slot 30, the detection unit 60 cannot detect the light emitted by the light emitting unit 50.

ただし、検出部60は、カード10の位置に関係なく発光部50が発光する光を検出できる位置に配置されてもよい。   However, the detection unit 60 may be arranged at a position where the light emitted by the light emitting unit 50 can be detected regardless of the position of the card 10.

また、図1において、検出装置100が、発光部40、発光部50、及び、検出部60を、それぞれ1つ含むとして示しているが、これは、一例である。検出装置100は、発光部40、発光部50、及び、検出部60のいずれか、又は、全てを複数含んでもよい。   Further, in FIG. 1, the detection device 100 is illustrated as including one light emitting unit 40, one light emitting unit 50, and one detection unit 60, but this is an example. The detection device 100 may include a plurality of any or all of the light emitting unit 40, the light emitting unit 50, and the detecting unit 60.

例えば、検出装置100は、カード挿入口30の左右の各端部の近傍を挟むように、二組の発光部40、発光部50及び検出部60を含んでもよい。   For example, the detection device 100 may include two sets of the light-emitting unit 40, the light-emitting unit 50, and the detection unit 60 so as to sandwich the vicinity of each of the left and right ends of the card insertion slot 30.

あるいは、検出装置100は、発光部40が発光する光と発光部50が発光する光とを、異なる検出部60を用いて検出してもよい。ただし、この場合でも、発光部50を検出する検出部60は、カード10が挿入されていない場合に、発光部50が発光する光を検出でき、カード10が挿入されている場合に、発光部50が発光する光を検出できない位置に配置される。   Alternatively, the detection device 100 may detect the light emitted by the light emitting unit 40 and the light emitted by the light emitting unit 50 using different detecting units 60. However, even in this case, the detection unit 60 that detects the light emitting unit 50 can detect the light emitted by the light emitting unit 50 when the card 10 is not inserted, and can detect the light emitted by the light emitting unit 50 when the card 10 is inserted. 50 is disposed at a position where the emitted light cannot be detected.

なお、発光部40、発光部50及び検出部60は、次に説明する位置に配置されることが望ましい。   Note that the light emitting unit 40, the light emitting unit 50, and the detecting unit 60 are desirably arranged at positions described below.

検出装置100が、磁気ストライプを含むカード10を用いる場合、スキミング機器は、カード挿入口30の周辺(近傍)で、カード10が搬送されるときに磁気ストライプが通過する位置に配置される。このように配置されたスキミング機器を検出するため、発光部40及び発光部50は、カード挿入口30におけるカード10の磁気ストライプが通過する位置を挟むように配置されることが望ましい。そして、検出部60は、カード10の磁気ストライプが通過する位置の異物を検出できる位置に配置されることが望ましい。   When the detection device 100 uses the card 10 including a magnetic stripe, the skimming device is arranged around (near) the card insertion slot 30 at a position where the magnetic stripe passes when the card 10 is transported. In order to detect the skimming device arranged as described above, it is desirable that the light emitting unit 40 and the light emitting unit 50 be arranged so as to sandwich a position in the card insertion slot 30 through which the magnetic stripe of the card 10 passes. Then, it is desirable that the detection unit 60 is arranged at a position where the foreign matter at a position where the magnetic stripe of the card 10 passes can be detected.

また、図1は、カード挿入口30を水平に示しているが、これは例示である。検出装置100は、カード挿入口30を垂直方向に設けてもよい。その場合、発光部40、発光部50、及び、検出部60は、カード挿入口30を挟むように、水平方向に並んで配置されてもよい。   Although FIG. 1 shows the card insertion slot 30 horizontally, this is an example. In the detection device 100, the card insertion slot 30 may be provided in the vertical direction. In that case, the light emitting unit 40, the light emitting unit 50, and the detecting unit 60 may be arranged in a horizontal direction so as to sandwich the card insertion slot 30.

以下の本実施形態の説明では、一例として、図1に示すように、検出装置100が、発光部40、発光部50及び検出部60を、それぞれ1つ含むとして説明する。   In the following description of the present embodiment, as an example, as illustrated in FIG. 1, the detection device 100 will be described as including one light emitting unit 40, one light emitting unit 50, and one detection unit 60.

図2は、検出装置100の図1におけるA−A断面図である。   FIG. 2 is a sectional view of the detection device 100 taken along line AA in FIG.

図2に示す検出装置100は、図1に示す構成に加え、搬送部80を含む。図2において、図1に示した構成には同じ番号を付して、その詳細な説明を省略する。そのため、以下では、搬送部80について説明する。   The detection device 100 illustrated in FIG. 2 includes a transport unit 80 in addition to the configuration illustrated in FIG. 2, the same reference numerals are given to the components shown in FIG. 1, and detailed description thereof will be omitted. Therefore, the transport unit 80 will be described below.

搬送部80は、カード10を自動的に搬送する。例えば、検出装置100は、次のように動作する。検出装置100は、図示しないカード10の挿入位置を検出する挿入センサを含む。そして、検出装置100は、挿入センサを基に、カード10が、搬送部80を用いて搬送できる位置までが挿入されたことを検出すると、搬送部80を用いて、カード10を搬送する。なお、搬送部80は、例えば、ローラである。   The transport unit 80 automatically transports the card 10. For example, the detection device 100 operates as follows. The detection device 100 includes an insertion sensor that detects an insertion position of the card 10 (not shown). When detecting that the card 10 has been inserted to a position where the card 10 can be transported using the transport unit 80 based on the insertion sensor, the detection device 100 transports the card 10 using the transport unit 80. The transport unit 80 is, for example, a roller.

図3は、第1の実施形態に係る検出装置100の構成の一例を示すブロック図である。   FIG. 3 is a block diagram illustrating an example of a configuration of the detection device 100 according to the first embodiment.

図3に示す検出装置100は、既に説明した通り、図1に示す構成に加え、異物の有無を判定する判定部20を含む。図1に示した構成には同じ番号を付して、その詳細な説明を省略する。そのため、以下では、判定部20について説明する。   As described above, the detection device 100 illustrated in FIG. 3 includes the determination unit 20 that determines the presence or absence of a foreign substance, in addition to the configuration illustrated in FIG. The same reference numerals are given to the components shown in FIG. 1 and their detailed description is omitted. Therefore, the determination unit 20 will be described below.

判定部20は、発光部40及び発光部50を所定のパターンで発光させる。ここで、所定のパターンは、特に制限はない。例えば、判定部20は、複数のパターンを保持し、その中からパターンを選択し、選択したパターンを用いてもよい。   The determination unit 20 causes the light emitting unit 40 and the light emitting unit 50 to emit light in a predetermined pattern. Here, the predetermined pattern is not particularly limited. For example, the determination unit 20 may hold a plurality of patterns, select a pattern from among them, and use the selected pattern.

なお、パターンとは、判定部20が、発光部40及び発光部50の発光及び消灯させるパターンである。より詳細には、パターンは、発光時間と消灯時間との組合せであり、1つ又は複数の発光時間と消灯時間とを含む。   Note that the pattern is a pattern in which the determination unit 20 causes the light emitting unit 40 and the light emitting unit 50 to emit light and turn off the light. More specifically, the pattern is a combination of a light-emitting time and a light-off time, and includes one or more light-emitting times and a light-off time.

なお、判定部20は、発光部40又は発光部50の発光パターンとして、発光時間と消灯時間に限らす、発光色又は発光強度を変えてもよい。この場合、検出部60は、発光部40及び発光部50が発光する光の色又は光強度を検出できることが望ましい。   In addition, the determination unit 20 may change the emission color or the emission intensity as the emission pattern of the light emitting unit 40 or the light emitting unit 50, not limited to the emission time and the extinguishing time. In this case, it is desirable that the detection unit 60 can detect the color or light intensity of the light emitted by the light emitting unit 40 and the light emitting unit 50.

以下、色及び光強度の変更を含めパターンと呼ぶ。   Hereinafter, a pattern including a change in color and light intensity is referred to as a pattern.

ただし、判定部20が用いるパターンは、スキミング機器に予測される可能性が低いことが望ましい。そのため、判定部20は、ランダムパターンを用いて、発光部40及び発光部50を発光させることが望ましい。ここで、ランダムパターンとは、過去の発光パターンから、次の発光パターンを推測できないパターンである。つまり、ランダムパターンとは、スキミング機器などの他の機器が推測できないパターンである。   However, it is desirable that the pattern used by the determination unit 20 has a low possibility of being predicted by the skimming device. Therefore, it is desirable that the determination unit 20 causes the light emitting unit 40 and the light emitting unit 50 to emit light using a random pattern. Here, the random pattern is a pattern in which the next light emission pattern cannot be estimated from the past light emission pattern. That is, a random pattern is a pattern that cannot be estimated by other devices such as skimming devices.

そのため、判定部20は、例えば、図示しない、ランダムパターン発生部を含み、ランダムパターン発生部が発生したパターンを用いて、発光部40及び発光部50を発光させてもよい。あるいは、判定部20は、図示しない擬似乱数発生回路を含み、擬似乱数発生回路が発生した乱数を基に発光パターンの発光時間と消灯時間とを決定してもよい。あるいは、判定部20は、予め、複数のランダムパターンを保持しておき、擬似乱数を用いて、保持したランダムパターンから発光パターンを選択してもよい。以下、これらの動作をまとめて、「ランダムパターンの選択」と呼ぶ。   Therefore, the determination unit 20 may include, for example, a random pattern generation unit (not shown), and cause the light emitting unit 40 and the light emitting unit 50 to emit light using a pattern generated by the random pattern generation unit. Alternatively, the determination unit 20 may include a pseudo random number generation circuit (not shown), and determine the light emission time and the light off time of the light emission pattern based on the random number generated by the pseudo random number generation circuit. Alternatively, the determination unit 20 may hold a plurality of random patterns in advance, and select a light emitting pattern from the held random patterns using a pseudo random number. Hereinafter, these operations are collectively referred to as “random pattern selection”.

そして、判定部20は、発光部40及び発光部50が発光したときに検出部60を用いて検出したパターン(検出結果)を基に、スキミング機器などの異物の有無を判定する。より具体的には、判定部20は、発光部40及び発光部50を発光させるときに用いたパターンと、検出部60を用いて認識したパターンとが一致しないときに、異物があると判定する。   Then, the determination unit 20 determines the presence or absence of a foreign object such as a skimming device based on a pattern (detection result) detected by using the detection unit 60 when the light emitting units 40 and 50 emit light. More specifically, the determining unit 20 determines that there is a foreign substance when the pattern used when the light emitting units 40 and 50 emit light does not match the pattern recognized using the detecting unit 60. .

さらに、判定部20は、発光部40及び発光部50が発光していないときの検出部60の検出した所定の位置の色に関する情報(色情報)を基に、異物の種別を判定する。ここで、色情報とは、後ほど説明する色差を計算するための情報である。そのため、検出装置100は、判定に用いる色差を基に色情報を決定すればよい。   Further, the determination unit 20 determines the type of the foreign object based on information (color information) on the color at the predetermined position detected by the detection unit 60 when the light emitting unit 40 and the light emitting unit 50 do not emit light. Here, the color information is information for calculating a color difference described later. Therefore, the detection device 100 may determine the color information based on the color difference used for the determination.

次に、図面を参照して、判定部20のさらに説明する。   Next, the determination unit 20 will be further described with reference to the drawings.

図4は、判定部20のより詳細な構成の一例を含む検出装置100の構成の一例を示すブロック図である。図4において、図3と同じ構成には、同じ符号を付してある。そのため、同じ構成の詳細な説明を省略する。   FIG. 4 is a block diagram illustrating an example of a configuration of the detection device 100 including an example of a more detailed configuration of the determination unit 20. 4, the same components as those in FIG. 3 are denoted by the same reference numerals. Therefore, detailed description of the same configuration is omitted.

判定部20は、駆動部240と、駆動部250と、認識部260と、制御部270とを含む。駆動部240及び駆動部250を区別する場合、以下、それぞれ、第1の駆動部及び第2の駆動部と呼ぶ。   The determination unit 20 includes a driving unit 240, a driving unit 250, a recognition unit 260, and a control unit 270. In the case where the driving unit 240 and the driving unit 250 are distinguished from each other, they are hereinafter referred to as a first driving unit and a second driving unit, respectively.

駆動部240は、制御部270の制御を基に、発光部40を駆動する。つまり、駆動部240は、制御部270の指示を基に、制御部270が選択したパターンを用いて発光部40を発光させる。なお、駆動部240は、発光部40が発光する光を直接的に制御してもよい。あるいは、駆動部240は、間接的に発光部40の発光を制御してもよい。例えば、発光部40が、LED及び液晶シャッターを含む場合、駆動部240は、液晶シャッターを制御して、発光部40が発光する光を制御してもよい。   The drive unit 240 drives the light emitting unit 40 based on the control of the control unit 270. That is, the driving unit 240 causes the light emitting unit 40 to emit light using the pattern selected by the control unit 270 based on the instruction of the control unit 270. The driving unit 240 may directly control the light emitted by the light emitting unit 40. Alternatively, the driving section 240 may indirectly control the light emission of the light emitting section 40. For example, when the light emitting unit 40 includes an LED and a liquid crystal shutter, the driving unit 240 may control the light emitted by the light emitting unit 40 by controlling the liquid crystal shutter.

駆動部250は、制御部270の制御を基に、発光部50を駆動する。つまり、駆動部250は、制御部270の指示を基に、制御部270が選択したパターンを用いて発光部50を発光させる。なお、駆動部250は、駆動部240と同様に、発光部50を、直接的又は間接的に制御してもよい。   The driving unit 250 drives the light emitting unit 50 based on the control of the control unit 270. That is, the driving unit 250 causes the light emitting unit 50 to emit light using the pattern selected by the control unit 270 based on the instruction of the control unit 270. Note that the driving unit 250 may directly or indirectly control the light emitting unit 50 in the same manner as the driving unit 240.

なお、判定部20が、発光部40及び発光部50を、同時に同じパターンで発光させる場合、判定部20は、駆動部240又は駆動部250のいずれか1つを用いて、発光部40及び発光部50を発光させてもよい。その場合、判定部20は、駆動部240又は駆動部250のいずれか1つを含まなくてもよい。   When the determination unit 20 causes the light emitting unit 40 and the light emitting unit 50 to emit light simultaneously in the same pattern, the determination unit 20 uses one of the driving unit 240 and the driving unit 250 to emit the light emitting unit 40 and the light emitting unit 50. The unit 50 may emit light. In that case, the determination unit 20 may not include any one of the driving unit 240 and the driving unit 250.

認識部260は、制御部270の制御を基に、検出部60が検出した信号から、制御部270が判定に用いる情報を認識又は抽出する。すなわち、認識部260は、検出部60の検出結果を基に、発光部40及び発光部50の発光パターンを認識する。さらに、認識部260は、検出部60の検出結果を基に、制御部270が用いる所定の位置の色情報を抽出する。なお、この色情報は、可視光範囲の色に限る必要はない。例えば、この色情報は、赤外線帯域を含んでもよい。   The recognition unit 260 recognizes or extracts information used for the determination by the control unit 270 from the signal detected by the detection unit 60 based on the control of the control unit 270. That is, the recognition unit 260 recognizes the light emission patterns of the light emitting units 40 and 50 based on the detection result of the detection unit 60. Further, the recognition unit 260 extracts color information of a predetermined position used by the control unit 270 based on the detection result of the detection unit 60. The color information need not be limited to colors in the visible light range. For example, the color information may include an infrared band.

制御部270は、上記の各構成を制御し、判定部20の全体の動作を制御する。さらに、制御部270は、後ほど説明するように、上記の各構成を制御して、カード挿入口30の近傍の異物の有無及び異物の種類を判定する。   The control unit 270 controls each of the above components, and controls the entire operation of the determination unit 20. Further, the control unit 270 controls each of the above-described components to determine the presence / absence of a foreign substance and the type of the foreign substance near the card insertion slot 30 as described later.

(動作の説明)
次に、第1の実施形態に係る検出装置100の動作について、図面を参照して説明する。
(Description of operation)
Next, the operation of the detection device 100 according to the first embodiment will be described with reference to the drawings.

図5は、第1の実施形態に係る検出装置100の動作の一例を示すフローチャートである。なお、以下の動作の説明において、特に説明しない限り、動作の主体は、判定部20の制御部270である。   FIG. 5 is a flowchart illustrating an example of the operation of the detection device 100 according to the first embodiment. In the following description of the operation, the subject of the operation is the control unit 270 of the determination unit 20 unless otherwise specified.

制御部270は、予め、認識部260が、検出部60の検出範囲の所定の場所(位置)において認識した色の情報(色情報)を保存しておく。以下、ここで保存した色情報を「初期色情報」と呼ぶ。   The control unit 270 stores, in advance, information (color information) of the color recognized by the recognition unit 260 at a predetermined location (position) in the detection range of the detection unit 60. Hereinafter, the color information stored here is referred to as “initial color information”.

例えば、制御部270は、次のようにして初期色情報を保存する。最初に検出装置100が設置された時に、制御部270は、認識部260に、スキミング機器が装着される可能性が高いカード挿入口30の近傍で、発光部40及び発光部50とは異なる位置の色情報の取得を指示する。認識部260は、指示を基に、検出部60を用いて色情報を認識し、制御部270に送信する。制御部270は、初期色情報として、受信した色情報を保存する。ただし、制御部270は、上記動作に基づかず、色情報を保存してもよい。例えば、制御部270は、予め、検出装置100の設計情報を基に算出された初期色情報を保存してもよい。   For example, the control unit 270 stores the initial color information as follows. When the detection device 100 is first installed, the control unit 270 sets the recognition unit 260 to a position different from the light emitting unit 40 and the light emitting unit 50 in the vicinity of the card insertion slot 30 where the skimming device is likely to be mounted. To acquire the color information of. The recognition unit 260 recognizes the color information using the detection unit 60 based on the instruction, and transmits the color information to the control unit 270. The control unit 270 stores the received color information as initial color information. However, the control unit 270 may store the color information without being based on the above operation. For example, the control unit 270 may store in advance the initial color information calculated based on the design information of the detection device 100.

また、制御部270は、初期色情報として、1か所ではなく複数の位置の色情報を保存してもよい。   Further, the control unit 270 may store color information at a plurality of positions instead of one position as the initial color information.

次に、検出装置100の具体的な動作の詳細について説明する。ただし、以下の動作の初期状態では、発光部40及び発光部50は、消灯しているとする。   Next, the details of the specific operation of the detection device 100 will be described. However, in the initial state of the following operation, it is assumed that the light emitting unit 40 and the light emitting unit 50 are turned off.

まず、判定部20の制御部270は、発光部40及び発光部50を発光させるために、ランダムパターンを選択する(ステップS101)。   First, the control unit 270 of the determination unit 20 selects a random pattern to cause the light emitting unit 40 and the light emitting unit 50 to emit light (step S101).

次に、制御部270は、選択されたランダムパターンと一致するように、駆動部240及び駆動部250を用いて、発光部40及び発光部50を発光させる(ステップS102)。   Next, the control unit 270 causes the light emitting unit 40 and the light emitting unit 50 to emit light by using the driving unit 240 and the driving unit 250 so as to match the selected random pattern (step S102).

そして、制御部270は、検出部60及び認識部260を用いて、発光部40及び発光部50の発光パターンの取得する(ステップS103)。より詳細には、検出装置100は、次のように動作する。制御部270は、認識部260に、検出部60を用いた発光パターンの検出を指示する。この指示を基に、認識部260は、検出部60を用いて、発光部40及び発光部50に発光パターンを認識する。そして、認識部260は、認識結果として、発光パターンを制御部270に送信する。   Then, the control unit 270 uses the detection unit 60 and the recognition unit 260 to acquire the light emission patterns of the light emitting units 40 and 50 (step S103). More specifically, the detection device 100 operates as follows. The control unit 270 instructs the recognition unit 260 to detect the light emission pattern using the detection unit 60. Based on this instruction, the recognition unit 260 uses the detection unit 60 to recognize the light emitting patterns of the light emitting units 40 and 50. Then, the recognition unit 260 transmits the light emission pattern to the control unit 270 as a recognition result.

なお、認識部260又は検出部60が、発光部40及び発光部50を区別して認識できない場合、制御部270は、発光部40及び発光部50それぞれを個別に制御して、ステップS102とステップS103とを実行すればよい。発光部40と発光部50とを別に発光させる場合、制御部270は、発光部40及び発光部50を、異なる発光パターンを用いて発光させてもよい。   If the recognition unit 260 or the detection unit 60 cannot distinguish and recognize the light emitting unit 40 and the light emitting unit 50, the control unit 270 controls each of the light emitting unit 40 and the light emitting unit 50 individually, and performs steps S102 and S103. And execute it. When the light emitting unit 40 and the light emitting unit 50 emit light separately, the control unit 270 may cause the light emitting unit 40 and the light emitting unit 50 to emit light using different light emitting patterns.

次に、制御部270は、発光部40及び発光部50それぞれについて、ステップS101で選択したパターンと、ステップS103で取得したパターンとが一致しているか否かを判定する(ステップS104)。   Next, the control unit 270 determines whether the pattern selected in step S101 matches the pattern acquired in step S103 for each of the light emitting units 40 and 50 (step S104).

なお、カード10が、カード挿入口30に挿入されている場合、検出部60は、発光部50の光を検出できない。例えば、搬送部80が動作中の場合、検出部60は、発光部50の光を検出できない。ただし、検出装置100は、既に説明した通り、図示しない挿入センサを基に、搬送部80を制御している。したがって、制御部270は、挿入センサなどを基に、カード10がカード挿入口30に挿入されている否かを判定できる。   When the card 10 is inserted into the card insertion slot 30, the detecting unit 60 cannot detect the light from the light emitting unit 50. For example, when the transport unit 80 is operating, the detection unit 60 cannot detect the light of the light emitting unit 50. However, the detection device 100 controls the transport unit 80 based on an insertion sensor (not shown) as described above. Therefore, the control unit 270 can determine whether or not the card 10 is inserted into the card insertion slot 30 based on an insertion sensor or the like.

そこで、カード10がカード挿入口30に挿入されている場合、制御部270は、カード10がカード挿入口30に完全に挿入された後、又は、カード10がカード挿入口30から取り出された後に、検出部60を用いて発光部50の光を検出すればよい。   Therefore, when the card 10 is inserted into the card insertion slot 30, the control unit 270 determines whether the card 10 is completely inserted into the card insertion slot 30 or after the card 10 is removed from the card insertion slot 30. The light from the light emitting unit 50 may be detected using the detection unit 60.

発光部40及び発光部50ともパターンが一致した場合(ステップS104でYes)、制御部270は、ステップS101に戻る。つまり、制御部270は、異物がないと判定する。   When the patterns of the light emitting unit 40 and the light emitting unit 50 match (Yes in step S104), the control unit 270 returns to step S101. That is, control unit 270 determines that there is no foreign matter.

発光部40又は発光部50に少なくともどちらかのパターンが一致しない場合(ステップS104でNo)、制御部270は、ステップS105に進む。発光部40又は発光部50の少なくともどちらかのパターンが一致しない場合、カード挿入口30の上側又は下側の少なくともどちらかに、光を遮る物、光を発する物、又は、光を反射する物が存在する可能性がある。つまり、発光部40又は発光部50の少なくともどちらかのパターンが一致しない場合、カード挿入口30の周辺に異物がある可能性がある。そのため、制御部270は、次の判定に進む。   If at least one of the patterns does not match the light emitting unit 40 or the light emitting unit 50 (No in step S104), the control unit 270 proceeds to step S105. When the pattern of at least one of the light emitting unit 40 and the light emitting unit 50 does not match, at least one of the upper side and the lower side of the card insertion slot 30, an object that blocks light, emits light, or reflects light. May exist. That is, when the pattern of at least one of the light emitting unit 40 and the light emitting unit 50 does not match, there is a possibility that a foreign matter is present around the card insertion slot 30. Therefore, control unit 270 proceeds to the next determination.

このように、ステップS104の判定は、異物の有無の判定である。   Thus, the determination in step S104 is a determination of the presence or absence of a foreign substance.

ここで、スキミング機器は、一般的に、不正を発見されないようにするため、発見されにくいように作成される。つまり、スキミング機器は、カード挿入口30の周辺と同色とされている可能性が高い。そこで、検出装置100は、次に説明するように、色情報を基に、異物が、不正な異物か否かを判定する。   Here, the skimming device is generally created so as not to be found in order to prevent fraud from being found. That is, there is a high possibility that the skimming device has the same color as the periphery of the card insertion slot 30. Therefore, the detection device 100 determines whether the foreign matter is an illegal foreign matter based on the color information, as described below.

パターンが一致しない場合(ステップS104でNo)、制御部270は、初期色情報を取得した位置における現在の色情報を取得する(ステップS105)。制御部270は、初期色情報を取得した時と同様な動作を基に、認識部260に色情報の取得を指示すればよい。なお、制御部270は、色情報の取得を、ステップS103の発光パターンを取得と同時又は並行して認識部260に指示してもよい。ただし、制御部270は、発光部40及び発光部50が発光していない時の色情報を取得する。これは、制御部270が、初期色情報と、ステップS105で取得する色情報とを比較するためである。以下、ステップS105で取得した色情報を「検出色情報」と呼ぶ。   If the patterns do not match (No in step S104), control unit 270 acquires the current color information at the position where the initial color information was acquired (step S105). The control unit 270 may instruct the recognition unit 260 to acquire the color information based on the same operation as when the initial color information is acquired. Note that the control unit 270 may instruct the recognition unit 260 to acquire the color information at the same time or in parallel with the acquisition of the light emission pattern in step S103. However, the control unit 270 acquires color information when the light emitting unit 40 and the light emitting unit 50 do not emit light. This is because the control unit 270 compares the initial color information with the color information acquired in step S105. Hereinafter, the color information acquired in step S105 is referred to as “detected color information”.

制御部270は、初期色情報と、検出色情報とが一致するか否かを判定する(ステップS106)。なお、検出装置100の環境は、変化する。例えば、早朝と昼とでは、明るさが異なる。また、晴天時と雨天時では、明るさが異なる。そのため、制御部270は、初期色情報と、検出色情報との一致の判定として、初期色情報と検出色情報との差異(色差)の絶対値が、所定の閾値以下であるか否かを判定する。さらに、制御部270は、認識部260と検出部60とを用いて、環境光を検出し、検出色情報を補正してもよい。なお、本実施形態が用いる色差は、特に制限はない。例えば、制御部270は、色差として、明度又は色相の値の差を用いてもよい。あるいは、制御部270は、L表色系における色差である「ΔEab=((ΔL+(Δa+(Δb1/2」を用いてもよい。 The control unit 270 determines whether the initial color information matches the detected color information (Step S106). Note that the environment of the detection device 100 changes. For example, the brightness differs between early morning and noon. In addition, the brightness differs between fine weather and rainy weather. Therefore, the control unit 270 determines whether or not the absolute value of the difference (color difference) between the initial color information and the detected color information is equal to or less than a predetermined threshold as a determination of the match between the initial color information and the detected color information. judge. Further, control unit 270 may detect environmental light and correct detected color information using recognition unit 260 and detection unit 60. The color difference used in the present embodiment is not particularly limited. For example, the control unit 270 may use a difference in lightness or hue value as the color difference. Alternatively, the control unit 270 uses “ΔE * ab = ((ΔL * ) 2 + (Δa * ) 2 + (Δb * ) 2 ) 1/2 ” which is a color difference in the L * a * b * color system. You may.

色情報が一致しない場合(ステップS106でNo)、制御部270は、ステップS101に戻る。つまり、制御部270は、明らかに異なる色の場合、不正な異物ではないと判定する。   When the color information does not match (No in Step S106), the control unit 270 returns to Step S101. That is, the control unit 270 determines that the color is not an illegal foreign substance when the color is clearly different.

色情報が一致した場合(ステップS106でYes)、制御部270は、悪意の異物(例えば、スキミング機器に関連する異物)であると判定する。そして、制御部270は、所定の装置(例えば、警報装置)に、異物の検出を通知する(ステップS107)。   If the color information matches (Yes in Step S106), the control unit 270 determines that the foreign object is a malicious foreign object (for example, a foreign object related to skimming equipment). Then, the control unit 270 notifies a predetermined device (for example, an alarm device) of the detection of the foreign matter (step S107).

このように、ステップS106の判定は、異物の種類の判定である。   Thus, the determination in step S106 is a determination of the type of foreign matter.

なお、検出装置100は、判定を安全側に持っていくため、ステップS104においてパターンが一致しないと判定した場合(ステップS104でNo)に、ステップ107に進むように動作してもよい。この場合に、ステップS104で一致したと判定した場合(ステップS104でYes)、検出装置100は、ステップS105に進む。   Note that the detection device 100 may operate to proceed to step 107 when it is determined that the patterns do not match in step S104 (No in step S104) in order to bring the determination to the safe side. In this case, if it is determined in step S104 that they match (Yes in step S104), the detection device 100 proceeds to step S105.

(効果の説明)
次に、本実施形態の効果について説明する。
(Explanation of effect)
Next, effects of the present embodiment will be described.

これまでの説明のとおり、第1の実施形態に係る検出装置100は、カード挿入口30の近傍における機器の検出範囲を向上させるとの効果を得ることができる。   As described above, the detection device 100 according to the first embodiment can obtain the effect of improving the detection range of the device near the card insertion slot 30.

その理由は、次のとおりである。   The reason is as follows.

検出装置100は、カード挿入口30を挟むように発光部40及び発光部50を配置する。そして、検出装置100は、検出部60を、カード挿入口30に対して、発光部40又は発光部50のいずれか1つと同じ側で、発光部40及び発光部50から所定の距離離れた位置に配置する。そのため、検出装置100の判定部20は、発光部40及び発光部50から検出部60までの範囲の機器を検出できる。つまり、検出装置100は、カード挿入口30から所定の距離離れた異物を検出できる。このような構成を基に、検出装置100は、カード挿入口30の近傍における検出範囲を向上できるためである。   The detecting device 100 arranges the light emitting unit 40 and the light emitting unit 50 so as to sandwich the card insertion slot 30. Then, the detecting device 100 moves the detecting unit 60 to the card insertion slot 30 on the same side as either the light emitting unit 40 or the light emitting unit 50 and at a predetermined distance from the light emitting unit 40 and the light emitting unit 50. To place. Therefore, the determination unit 20 of the detection device 100 can detect devices in the range from the light emitting unit 40 and the light emitting unit 50 to the detecting unit 60. That is, the detection device 100 can detect a foreign substance that is separated from the card insertion slot 30 by a predetermined distance. This is because the detection device 100 can improve the detection range in the vicinity of the card insertion slot 30 based on such a configuration.

さらに、検出装置100は、検出精度を向上させるとの効果を奏することができる。   Further, the detection device 100 can provide an effect of improving detection accuracy.

その理由は、次のとおりである。   The reason is as follows.

判定部20は、発光部40及び発光部50を、推測できないパターン(例えば、ランダムパターン)を基に発光させる。そのため、スキミング機器などの不正な異物は、検出装置100の検出のための発光を模倣できない。そして、検出装置100は、検出部60が検出したパターンと、発光部40及び発光部50を発光させたパターンとを比較する。つまり、検出装置100は、スキミング機器では模倣できないパターンを基に、異物を検出できるためである。   The determination unit 20 causes the light emitting unit 40 and the light emitting unit 50 to emit light based on a pattern (for example, a random pattern) that cannot be estimated. Therefore, an illegal foreign substance such as a skimming device cannot imitate light emission for detection by the detection device 100. Then, the detection device 100 compares the pattern detected by the detection unit 60 with the pattern in which the light emitting unit 40 and the light emitting unit 50 emit light. That is, the detection device 100 can detect a foreign substance based on a pattern that cannot be imitated by a skimming device.

さらに、検出装置100は、カード挿入口30に近傍の色情報の変化の有無を判定する。そのため、検出装置100は、カード挿入口30の近傍における、虫などの不正でない異物を検出できる。つまり、検出装置100は、不正の異物の検出精度を向上できるためである。   Further, the detection device 100 determines whether there is a change in color information near the card insertion slot 30. Therefore, the detection device 100 can detect non-illegal foreign substances such as insects near the card insertion slot 30. That is, this is because the detection device 100 can improve the detection accuracy of an illegal foreign substance.

また、検出装置100は、高精度の光学機器を必要としない。   Further, the detection device 100 does not require high-precision optical equipment.

その理由は、次のとおりである。   The reason is as follows.

発光部40及び発光部50は、検出部60に届く光を発光できればよい。また、検出部60は、光の有無を判定できればよい。そのため、検出装置100は、発光部40、発光部50、及び、検出部60に、高精度な光学機器を必要としないためである。   The light emitting unit 40 and the light emitting unit 50 only need to be able to emit light reaching the detection unit 60. The detection unit 60 only needs to be able to determine the presence or absence of light. Therefore, the detection device 100 does not require high-precision optical devices for the light emitting unit 40, the light emitting unit 50, and the detecting unit 60.

[変形例]
次に、第1の実施形態の変形例について説明する。
[Modification]
Next, a modification of the first embodiment will be described.

[変形例1]
検出部60は、必ずしも、検出機器100に含まれる必要はない。検出部60は、検出装置100の外部の機器でもよい。
[Modification 1]
The detection unit 60 does not necessarily need to be included in the detection device 100. The detection unit 60 may be a device external to the detection device 100.

図7は、本変形例の一例を示す図である。   FIG. 7 is a diagram illustrating an example of the present modification.

図7に示す検出装置101は、検出装置100における検出部60に換えて、外部の検出部70を含む。ここで、検出部70は、例えば、一般的に防犯に用いられる箱型又はドーム型のカメラである。なお、検出部70は、有線に限らず、無線を介して検出装置101に接続してもよい。   The detecting device 101 shown in FIG. 7 includes an external detecting unit 70 in place of the detecting unit 60 in the detecting device 100. Here, the detection unit 70 is, for example, a box-type or dome-type camera generally used for crime prevention. Note that the detection unit 70 is not limited to a wired connection, and may be connected to the detection device 101 via wireless.

検出部70は、検出部60と同様の機能を実現する。そのため、変形例1に係る検出装置101は、検出装置100と同様の効果を奏することができる。   The detection unit 70 implements the same function as the detection unit 60. Therefore, the detection device 101 according to the first modification can achieve the same effect as the detection device 100.

さらに、本変形例は、検出範囲のさらなる拡大、及び、検出部70の設定レイアウトの自由度が向上するとの効果を奏することができる。   Further, the present modification can provide the effect of further expanding the detection range and improving the degree of freedom of the setting layout of the detection unit 70.

その理由は、検出部70が、検出装置101と異なる位置に設定可能なためである。   The reason is that the detection unit 70 can be set at a position different from that of the detection device 101.

[変形例2]
発光部40又は発光部50は、いずれか又は両方が、複数の発光体(発光素子)を含んでもよい。
[Modification 2]
Either or both of the light emitting unit 40 and the light emitting unit 50 may include a plurality of light emitters (light emitting elements).

図6は、複数の発光体を含む発光部41及び発光部51の一例を示す図である。発光部41及び発光部51は、それぞれ、複数の発光体401及び発光体501を含む。   FIG. 6 is a diagram illustrating an example of the light emitting unit 41 and the light emitting unit 51 including a plurality of light emitters. The light emitting unit 41 and the light emitting unit 51 include a plurality of light emitters 401 and light emitters 501, respectively.

発光体401及び発光体501は、例えば、LEDなどの発光素子である。   The light emitter 401 and the light emitter 501 are, for example, light emitting elements such as LEDs.

検出装置100及び検出装置101(以下、まとめて検出装置100と呼ぶ)は、発光部40及び/又は発光部50に換えて、発光部41及び/又は発光部51を含んでもよい。   The detection device 100 and the detection device 101 (hereinafter, collectively referred to as the detection device 100) may include the light emitting unit 41 and / or the light emitting unit 51 instead of the light emitting unit 40 and / or the light emitting unit 50.

なお、発光部41及び発光部51のように複数の発光体を含む場合、判定部20は、同時に発光させる発光体の数を変更してもよい。つまり、判定部20は、発光体の数をパターンに含ませてもよい。   When a plurality of light emitters are included like the light emitting unit 41 and the light emitting unit 51, the determination unit 20 may change the number of light emitters that emit light at the same time. That is, the determination unit 20 may include the number of light emitters in the pattern.

本変形例は、上記の第1の実施形態の効果に加え、スキミング機器が小型化された場合でも、検出できるとの効果を奏することができる。また、本変形例は、さらに広い範囲でスキミング機器を検出できるとの効果を奏することができる。   The present modified example has an effect of being able to detect even when the skimming device is downsized, in addition to the effect of the first embodiment. Further, the present modified example has an effect that skimming devices can be detected in a wider range.

その理由は、発光部41及び発光部51が、複数の発光体401及び発光体501を含むため、検出部60が、より詳細な検出結果を出力できるである。   The reason is that the light emitting unit 41 and the light emitting unit 51 include the plurality of light emitting bodies 401 and the light emitting bodies 501, so that the detecting unit 60 can output a more detailed detection result.

また、本変形例は、汚れに強いとの効果を奏することができる。   Further, the present modification can provide an effect of being resistant to dirt.

その理由は、発光部41及び発光部51は、複数の発光体401及び発光体501を含むため、発光体401及び発光体501の一部が汚れても、検出部60は、発光部41及び発光部51が発光する光を検出できるためである。   The reason is that the light-emitting unit 41 and the light-emitting unit 51 include the plurality of light-emitting bodies 401 and the light-emitting bodies 501. Therefore, even if a part of the light-emitting body 401 and the light-emitting body 501 becomes dirty, the detection unit 60 sets This is because the light emitted by the light emitting unit 51 can be detected.

[変形例3]
なお、ここまで説明した検出装置100は、次のように構成される。
[Modification 3]
Note that the detection device 100 described so far is configured as follows.

例えば、検出装置100の各構成部は、ハードウェア回路で構成されてもよい。   For example, each component of the detection device 100 may be configured by a hardware circuit.

また、検出装置100は、各構成部が、ネットワークを介して接続した複数の装置を用いて、構成されてもよい。   Further, the detection device 100 may be configured using a plurality of devices in which each component is connected via a network.

また、検出装置100は、複数の構成部を1つのハードウェアで構成してもよい。   Further, in the detection device 100, a plurality of components may be configured by one piece of hardware.

また、検出装置100の判定部20は、CPU(Central Processing Unit)と、ROM(Read Only Memory)と、RAM(Random Access Memory)とを含むコンピュータ装置として実現してもよい。検出装置100の判定部20は、上記構成に加え、さらに、入出力接続回路(IOC:Input / Output Circuit)と、ポートインターフェース回路(PIC:Port Interface Circuit)とを含むコンピュータ装置として実現してもよい。   In addition, the determination unit 20 of the detection device 100 may be realized as a computer device including a CPU (Central Processing Unit), a ROM (Read Only Memory), and a RAM (Random Access Memory). The determination unit 20 of the detection device 100 may be realized as a computer device including an input / output connection circuit (IOC) and a port interface circuit (PIC) in addition to the above configuration. Good.

図8は、本変形例に係る判定部600の構成の一例を示すブロック図である。   FIG. 8 is a block diagram illustrating an example of a configuration of the determination unit 600 according to the present modification.

判定部600は、CPU610と、ROM620と、RAM630と、内部記憶装置640と、IOC650と、PIC680とを含み、コンピュータ装置を構成している。   The determination unit 600 includes a CPU 610, a ROM 620, a RAM 630, an internal storage device 640, an IOC 650, and a PIC 680, and forms a computer device.

CPU610は、ROM620からプログラムを読み込む。そして、CPU610は、読み込んだプログラムに基づいて、RAM630と、内部記憶装置640と、IOC650と、PIC680とを制御する。そして、CPU610を含むコンピュータは、これらの構成を制御し、図3及び図4に示す判定部20としての各機能を実現する。   CPU 610 reads a program from ROM 620. Then, the CPU 610 controls the RAM 630, the internal storage device 640, the IOC 650, and the PIC 680 based on the read program. Then, the computer including the CPU 610 controls these components, and realizes each function as the determination unit 20 illustrated in FIGS.

CPU610は、各機能を実現する際に、RAM630又は内部記憶装置640を、プログラムの一時記憶として使用してもよい。   When realizing each function, the CPU 610 may use the RAM 630 or the internal storage device 640 as temporary storage of a program.

また、CPU610は、コンピュータで読み取り可能にプログラムを記憶した記憶媒体700が含むプログラムを、図示しない記憶媒体読み取り装置を用いて読み込んでもよい。あるいは、CPU610は、PIC680を介して、図示しない外部の装置からプログラムを受け取り、RAM630に保存して、保存したプログラムを基に動作してもよい。   In addition, the CPU 610 may use a storage medium reading device (not shown) to read a program included in the storage medium 700 that stores the program in a computer-readable manner. Alternatively, the CPU 610 may receive a program from an external device (not shown) via the PIC 680, store the program in the RAM 630, and operate based on the stored program.

ROM620は、CPU610が実行するプログラム及び固定的なデータを記憶する。ROM620は、例えば、P−ROM(Programmable-ROM)又はフラッシュROMである。   The ROM 620 stores programs executed by the CPU 610 and fixed data. The ROM 620 is, for example, a P-ROM (Programmable-ROM) or a flash ROM.

RAM630は、CPU610が実行するプログラム及びデータを一時的に記憶する。RAM630は、例えば、D−RAM(Dynamic-RAM)である。   RAM 630 temporarily stores programs and data executed by CPU 610. The RAM 630 is, for example, a D-RAM (Dynamic-RAM).

内部記憶装置640は、判定部600が長期的に保存するデータ及びプログラムを記憶する。また、内部記憶装置640は、CPU610の一時記憶装置として動作してもよい。内部記憶装置640は、例えば、ハードディスク装置、光磁気ディスク装置、SSD(Solid State Drive)又はディスクアレイ装置である。   The internal storage device 640 stores data and programs stored by the determination unit 600 for a long term. Further, the internal storage device 640 may operate as a temporary storage device of the CPU 610. The internal storage device 640 is, for example, a hard disk device, a magneto-optical disk device, an SSD (Solid State Drive), or a disk array device.

ここで、ROM620と内部記憶装置640は、不揮発性(non-transitory)の記憶媒体である。一方、RAM630は、揮発性(transitory)の記憶媒体である。そして、CPU610は、ROM620、内部記憶装置640、又は、RAM630に記憶されているプログラムを基に動作可能である。つまり、CPU610は、不揮発性記憶媒体又は揮発性記憶媒体を用いて動作可能である。   Here, the ROM 620 and the internal storage device 640 are non-transitory storage media. On the other hand, the RAM 630 is a volatile storage medium. The CPU 610 is operable based on a program stored in the ROM 620, the internal storage device 640, or the RAM 630. That is, the CPU 610 can operate using a nonvolatile storage medium or a volatile storage medium.

IOC650は、CPU610と、入力機器660及び表示機器670とのデータを仲介する。IOC650は、例えば、IOインターフェースカード又はUSB(Universal Serial Bus)カードである。   The IOC 650 mediates data between the CPU 610 and the input device 660 and the display device 670. The IOC 650 is, for example, an IO interface card or a USB (Universal Serial Bus) card.

入力機器660は、検出装置100の操作者からの入力指示を受け取る機器である。入力機器660は、例えば、キーボード、マウス又はタッチパネルである。   The input device 660 is a device that receives an input instruction from an operator of the detection device 100. The input device 660 is, for example, a keyboard, a mouse, or a touch panel.

表示機器670は、検出装置100の操作者に情報を表示する機器である。表示機器670は、例えば、液晶ディスプレイである。例えば、表示機器670は、ステップS107における異物の検出の通知を表示してもよい。   The display device 670 is a device that displays information to an operator of the detection device 100. The display device 670 is, for example, a liquid crystal display. For example, the display device 670 may display a notification of detection of a foreign substance in step S107.

PIC680は、バス又は信号線を介して他の構成(例えば、発光部40、発光部50、及び、検出部60)とのデータのやり取りを中継する。つまり、PIC680は、駆動部240、駆動部250、及び、認識部260の一部として動作する。PIC680は、例えば、PCI(Peripheral Component Interface)カード、NIC(Network Interface Circuit)カード、又は、LAN(Local Area Network)カードである。あるいは、PIC680は、並列入出力回路(PIO:Parallel Input Output circuit)、AD/DA(Analog Digital / Digital Analog)変換器である。   The PIC 680 relays data exchange with other components (for example, the light emitting unit 40, the light emitting unit 50, and the detecting unit 60) via a bus or a signal line. That is, the PIC 680 operates as a part of the driving unit 240, the driving unit 250, and the recognition unit 260. The PIC 680 is, for example, a PCI (Peripheral Component Interface) card, a NIC (Network Interface Circuit) card, or a LAN (Local Area Network) card. Alternatively, the PIC 680 is a parallel input / output circuit (PIO: Parallel Input Output circuit) and an AD / DA (Analog Digital / Digital Analog) converter.

このように構成された判定部600は、図3及び4に示される判定部20と同様の効果を得ることができる。   The determining unit 600 configured as described above can obtain the same effect as the determining unit 20 shown in FIGS.

その理由は、判定部600のCPU610が、プログラムに基づいて判定部20と同様の機能を実現できるためである。   The reason is that the CPU 610 of the determination unit 600 can realize the same function as the determination unit 20 based on a program.

<第2の実施形態>
検出装置100は、図5を参照して説明した判定に加え、さらに判定動作を含んでもよい。
<Second embodiment>
The detection device 100 may further include a determination operation in addition to the determination described with reference to FIG.

そこで、第2の実施形態として、追加となる判定について説明する、
なお、第2の実施形態の構成は、図1に示す検出装置100及び図7に示す検出装置101と同様である。そのため、第2の実施形態に構成についての説明を省略する。以下、図7に示す検出装置101を参照して説明する。ただし、本実施形態は、図8に示すコンピュータを用いて構成されてもよい。
Therefore, as a second embodiment, an additional determination will be described.
Note that the configuration of the second embodiment is the same as the detection device 100 shown in FIG. 1 and the detection device 101 shown in FIG. Therefore, the description of the configuration in the second embodiment is omitted. Hereinafter, description will be made with reference to the detection device 101 shown in FIG. However, the present embodiment may be configured using the computer shown in FIG.

また、第2の実施形態に係る検出装置101の動作は、追加となる判定の除き、第1の実施形態の同様である。そのため、第1の実施形態と同様の動作の説明を省略し、本実施形態に特有の動作について説明する。なお、第2の実施形態に係る検出装置101は、以下で説明する判定を、第1の実施形態位における判定動作と独立に実行してもよく、組み合わせて実行してもよい。   The operation of the detection device 101 according to the second embodiment is the same as that of the first embodiment except for additional determination. Therefore, the description of the same operation as in the first embodiment will be omitted, and the operation unique to the present embodiment will be described. Note that the detection device 101 according to the second embodiment may perform the determination described below independently of the determination operation in the first embodiment, or may perform the determination in combination.

本実施形態に係る検出装置101は、検出部70を用いて、所定の位置におけるカード10の形状を基に異物を判定する。ここで所定の位置とは、例えば、カード10がカード挿入口30から所定の長さ挿入された位置である。検出装置101は、既に説明した図示しない挿入センサを用いて、所定の位置を検出してもよい。   The detection device 101 according to the present embodiment uses the detection unit 70 to determine foreign matter based on the shape of the card 10 at a predetermined position. Here, the predetermined position is, for example, a position where the card 10 is inserted from the card insertion slot 30 for a predetermined length. The detection device 101 may detect a predetermined position using the insertion sensor (not shown) described above.

より詳細には、検出装置101は、次のように動作する。   More specifically, the detection device 101 operates as follows.

まず、判定部20の制御部270は、予め(例えば、検出装置101の設置時)、検出部70及び認識部260を用いて、所定の位置におけるカード10の形状(例えば、図7に示す長さ(L)と幅(W))を測定し、保存する。以下、この時の形状を「初期形状」と呼ぶ。   First, the control unit 270 of the determination unit 20 uses the detection unit 70 and the recognition unit 260 in advance (for example, when the detection device 101 is installed) to determine the shape of the card 10 at a predetermined position (for example, the length shown in FIG. 7). (L) and width (W)) are measured and stored. Hereinafter, the shape at this time is referred to as an “initial shape”.

なお、認識部260は、一般的な画像処理を用いてカード10の形状を測定してもよい。例えば、認識部260は、検出部70が検出した画像情報の色情報を基に、カード10の形状を測定してもよい。   Note that the recognition unit 260 may measure the shape of the card 10 using general image processing. For example, the recognition unit 260 may measure the shape of the card 10 based on the color information of the image information detected by the detection unit 70.

ただし、検出装置100は、測定の基づかずに初期形状を保存してもよい。例えば、検出装置100は、検出装置100の設計仕様を基に算出された所定の位置における計算上のカード10の形状の値を保存してもよい。   However, the detection device 100 may store the initial shape without based on the measurement. For example, the detection device 100 may store a calculated value of the shape of the card 10 at a predetermined position calculated based on the design specification of the detection device 100.

そして、検出装置101の制御部270は、カード10が所定の位置に挿入された時に、検出部70と認識部260とを用いて、カード10の形状を測定する。以下、この時の形状を「検出形状」と呼ぶ。なお、検出装置100は、カード10の毎回の挿入時ではなく、所定の回数ごとに形状を測定してもよい。   Then, the control unit 270 of the detection device 101 measures the shape of the card 10 using the detection unit 70 and the recognition unit 260 when the card 10 is inserted into a predetermined position. Hereinafter, the shape at this time is referred to as a “detected shape”. Note that the detection device 100 may measure the shape every predetermined number of times instead of every time the card 10 is inserted.

そして、制御部270は、初期形状と検出形状とが一致するか否かを判定する。この判定として、制御部270は、初期形状と検出形状との差が、所定の範囲に含まれるか否かを判定する。   Then, control unit 270 determines whether or not the initial shape and the detected shape match. As this determination, control unit 270 determines whether or not the difference between the initial shape and the detected shape falls within a predetermined range.

形状が一致した場合、制御部270は、異物がないと判定する。   If the shapes match, control unit 270 determines that there is no foreign substance.

一方、形状が一致しない場合、制御部270は、異物があると判定する。   On the other hand, if the shapes do not match, control unit 270 determines that there is a foreign substance.

このように、本実施形態は、第1の実施形態の効果に加え、異物の検出精度を向上するとの効果を奏することができる。   As described above, the present embodiment can achieve the effect of improving the detection accuracy of foreign matter, in addition to the effect of the first embodiment.

その理由は、本実施形態の判定部20は、検出部70及び認識部260を用いて、所定位置におけるカード10の形状を基に、異物を検出できるためである。   The reason is that the determination unit 20 of the present embodiment can detect foreign matter based on the shape of the card 10 at a predetermined position using the detection unit 70 and the recognition unit 260.

10 カード
20 判定部
30 カード挿入口
40 発光部
41 発光部
50 発光部
51 発光部
60 検出部
70 検出部
80 搬送部
100 検出装置
101 検出装置
240 駆動部
250 駆動部
260 認識部
270 制御部
401 発光体
501 発光体
600 判定部
610 CPU
620 ROM
630 RAM
640 内部記憶装置
650 IOC
660 入力機器
670 表示機器
680 PIC
700 記憶媒体
DESCRIPTION OF SYMBOLS 10 Card 20 Judgment part 30 Card insertion slot 40 Light emission part 41 Light emission part 50 Light emission part 51 Light emission part 60 Detection part 70 Detection part 80 Transport part 100 Detection device 101 Detection device 240 Drive part 250 Drive part 260 Recognition part 270 Control part 401 Light emission Body 501 Light-emitting body 600 Judgment unit 610 CPU
620 ROM
630 RAM
640 Internal storage device 650 IOC
660 Input device 670 Display device 680 PIC
700 storage medium

Claims (8)

第1の検出光を発光する第1の発光手段と、
カードを挿入するためのカード挿入口に対して前記第1の発光手段の反対側に設けられた第2の検出光を発光する第2の発光手段と、
前記第1の発光手段及び前記第2の発光手段から所定の距離離れた位置に設置されて、前記第1の検出光及び前記第2の検出光を検出する検出手段と、
前記第1の発光手段及び前記第2の発光手段をそれぞれの所定のパターンを用いて発光させ、前記検出手段を用いて前記第1の検出光のパターン及び前記第2の検出光のパターンを取得し、前記第1の検出光のパターン及び前記第2の検出光のパターンと、前記発光させるためのパターンとが一致するか否かを判定し、前記第1の検出光のパターン又は前記第2の検出光のパターンの少なくとも1つが、前記発光させるためのパターンと一致しない場合に、前記第1の発光手段及び前記第2の発光手段が発光していないときの所定の位置の色情報を取得し、前記取得した色情報と予め保存しておいた色情報とが一致するか否かを判定し、前記色情報が一致した場合に異物が取り付けられていると判定する判定手段と
を含む検出装置。
First light emitting means for emitting first detection light;
A second light emitting unit that emits second detection light provided on a side opposite to the first light emitting unit with respect to a card insertion slot for inserting a card;
A detecting unit that is installed at a position separated by a predetermined distance from the first light emitting unit and the second light emitting unit and detects the first detection light and the second detection light;
The first light emitting means and the second light emitting means are caused to emit light using respective predetermined patterns, and the pattern of the first detection light and the pattern of the second detection light are obtained using the detection means. Then, it is determined whether or not the pattern of the first detection light and the pattern of the second detection light coincide with the pattern for emitting light, and the pattern of the first detection light or the second When at least one of the detection light patterns does not match the pattern for causing light emission, color information at a predetermined position when the first light emitting means and the second light emitting means do not emit light is obtained. A determination unit that determines whether the acquired color information matches the color information stored in advance, and determines that a foreign object is attached when the color information matches. apparatus.
前記判定手段が、
前記第1の発光手段及び前記第2の発光手段の前記それぞれの所定のパターンを用いて発光させる駆動手段と、
前記検出手段を用いて前記第1の検出光のパターン及び前記第2の検出光のパターン及び色情報を認識する認識手段と、
前記駆動手段及び前記認識手段を制御して前記判定を実行する制御手段とを含む
請求項1記載の検出装置。
The determining means includes:
Driving means for emitting light using the respective predetermined patterns of the first light emitting means and the second light emitting means;
Recognition means for recognizing the pattern of the first detection light and the pattern and color information of the second detection light using the detection means,
The detection device according to claim 1, further comprising: a control unit that controls the driving unit and the recognition unit to execute the determination.
前記判定手段が、
前記検出手段を用いて
前記カード挿入口の所定の位置に挿入されたカードの形状を計測し、
前記計測した形状と予め保持している初期形状とを基に、異物の有無を判定する
請求項1又は2に記載の検出装置。
The determining means includes:
Using the detecting means, measure the shape of the card inserted into a predetermined position of the card insertion slot,
The detection device according to claim 1, wherein the presence or absence of a foreign object is determined based on the measured shape and an initial shape held in advance.
前記第1の発光手段又は前記第2の発光手段の少なくとも1つが、複数の発光体を含む
請求項1ないし3のいずれか1項に記載の検出装置。
The detection device according to any one of claims 1 to 3, wherein at least one of the first light emitting unit or the second light emitting unit includes a plurality of light emitters.
前記検出手段が、
検出装置に接続された外部の装置である
請求項1ないし4のいずれか1項に記載の検出装置。
The detecting means,
The detection device according to any one of claims 1 to 4, wherein the detection device is an external device connected to the detection device.
前記判定手段が、
前記第1の発光手段及び前記第2の発光手段を異なるランダムパターンを用いて発光させる
請求項1ないし5のいずれか1項に記載の検出装置。
The determining means includes:
The detection device according to any one of claims 1 to 5, wherein the first light emitting means and the second light emitting means emit light using different random patterns.
第1の検出光を発光する第1の発光手段と、
カードを挿入するためのカード挿入口に対して前記第1の発光手段の反対側に設けられた第2の検出光を発光する第2の発光手段と、
前記第1の発光手段及び前記第2の発光手段から所定の距離離れた位置に設置されて、前記第1の検出光及び前記第2の検出光を検出する検出手段と
を含む検出装置が、
前記第1の発光手段及び前記第2の発光手段をそれぞれの所定のパターンを用いて発光させ、
前記検出手段を用いて前記第1の検出光のパターン及び前記第2の検出光のパターンを取得し、
前記第1の検出光のパターン及び前記第2の検出光のパターンと、前記発光させるためのパターンとが一致するか否かを判定し、
前記第1の検出光のパターン又は前記第2の検出光のパターンの少なくとも1つが、前記発光させるためのパターンと一致しない場合に、前記第1の発光手段及び前記第2の発光手段が発光していないときの所定の位置の色情報を取得し、
前記取得した色情報と予め保存しておいた色情報とが一致するか否かを判定し、
前記色情報が一致した場合に異物が取り付けられていると判定する
検出方法。
First light emitting means for emitting first detection light;
A second light emitting unit that emits second detection light provided on a side opposite to the first light emitting unit with respect to a card insertion slot for inserting a card;
A detection unit that is installed at a position separated by a predetermined distance from the first light emitting unit and the second light emitting unit, and that detects the first detection light and the second detection light;
Causing the first light emitting means and the second light emitting means to emit light using respective predetermined patterns,
Using the detection means to obtain a pattern of the first detection light and a pattern of the second detection light,
It is determined whether or not the pattern of the first detection light and the pattern of the second detection light match the pattern for emitting light,
When at least one of the pattern of the first detection light or the pattern of the second detection light does not match the pattern for emitting light, the first light emitting means and the second light emitting means emit light. To obtain the color information of the predetermined position when not
Determine whether the obtained color information matches the color information stored in advance,
A detection method for determining that a foreign object is attached when the color information matches.
第1の検出光を発光する第1の発光手段と、
カードを挿入するためのカード挿入口に対して前記第1の発光手段の反対側に設けられた第2の検出光を発光する第2の発光手段と、
前記第1の発光手段及び前記第2の発光手段から所定の距離離れた位置に設置されて、前記第1の検出光及び前記第2の検出光を検出する検出手段と
を含む検出装置であるコンピュータに、
前記第1の発光手段及び前記第2の発光手段をそれぞれの所定のパターンを用いて発光させる処理と、
前記検出手段を用いて前記第1の検出光のパターン及び前記第2の検出光のパターンを取得する処理と、
前記第1の検出光のパターン及び前記第2の検出光のパターンと、前記発光させるためのパターンとが一致するか否かを判定する処理と、
前記第1の検出光のパターン又は前記第2の検出光のパターンの少なくとも1つが、前記発光させるためのパターンと一致しない場合に、前記第1の発光手段及び前記第2の発光手段が発光していないときの所定の位置の色情報を取得する処理と、
前記取得した色情報と予め保存しておいた色情報とが一致するか否かを判定する処理と、
前記色情報が一致した場合に異物が取り付けられていると判定する処理と
を実行させるプログラム。
First light emitting means for emitting first detection light;
A second light emitting unit that emits second detection light provided on a side opposite to the first light emitting unit with respect to a card insertion slot for inserting a card;
A detection unit that is installed at a position separated by a predetermined distance from the first light emitting unit and the second light emitting unit, and that detects the first detection light and the second detection light. On the computer,
Processing of causing the first light emitting means and the second light emitting means to emit light using respective predetermined patterns;
A process of acquiring the pattern of the first detection light and the pattern of the second detection light using the detection unit;
A process of determining whether the pattern of the first detection light and the pattern of the second detection light match the pattern for emitting light,
When at least one of the pattern of the first detection light or the pattern of the second detection light does not match the pattern for emitting light, the first light emitting means and the second light emitting means emit light. Processing for acquiring color information at a predetermined position when the color information is not
A process of determining whether the acquired color information matches the color information stored in advance,
And a process for determining that a foreign object is attached when the color information matches.
JP2019010846A 2019-01-25 2019-01-25 Detection device, detection method, and program Active JP6637202B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019010846A JP6637202B2 (en) 2019-01-25 2019-01-25 Detection device, detection method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019010846A JP6637202B2 (en) 2019-01-25 2019-01-25 Detection device, detection method, and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2015064159A Division JP6475055B2 (en) 2015-03-26 2015-03-26 Detection device, detection method, and program

Publications (2)

Publication Number Publication Date
JP2019091484A JP2019091484A (en) 2019-06-13
JP6637202B2 true JP6637202B2 (en) 2020-01-29

Family

ID=66836546

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019010846A Active JP6637202B2 (en) 2019-01-25 2019-01-25 Detection device, detection method, and program

Country Status (1)

Country Link
JP (1) JP6637202B2 (en)

Also Published As

Publication number Publication date
JP2019091484A (en) 2019-06-13

Similar Documents

Publication Publication Date Title
CN107820617B (en) Fingerprint identification method and device and terminal equipment
ES2243362T3 (en) OPTOELECTRONIC DEVICE FOR INTRUSES ALARM.
CN102422328B (en) Method for a banknote detector device, and a banknote detector device
KR100582045B1 (en) Apparatus and method for the optical detection of multiple items on a platform
KR101033428B1 (en) Position detection apparatus using area image sensor
US7900840B2 (en) Methods and apparatus for directing bar code positioning for imaging scanning
US20070131850A1 (en) Method and apparatus for detecting objects using structured light patterns
US9934421B1 (en) Optical spoof detection
US8953045B2 (en) Automated teller machine comprising at least one camera to detect manipulation attempts
KR102074857B1 (en) Proximity sensor and proximity sensing method using design vision sensor
US8400266B2 (en) Monitoring device, monitoring method, and monitoring program
JP2023528391A (en) Barcode reader with 3D camera
TW200837662A (en) Heat-ray sensor
JP6475055B2 (en) Detection device, detection method, and program
US10380408B2 (en) Method of detecting fraud
WO2016001689A1 (en) Portable identity document verification apparatus
US20130011015A1 (en) Biometric authenticaton device, biometric authentication program, and biometric authentication method
JP6637202B2 (en) Detection device, detection method, and program
CN103196837B (en) Image-type device and method for quantitative determination of infrared reflectivity and transmissivity
US20060163029A1 (en) Method and device for testing coins
US20110228354A1 (en) Form reading device and form detecting method
US10740996B2 (en) Apparatus and method for checking the authenticity of a security element
JP5763967B2 (en) Ticket gate system
EP3467794A1 (en) Paper sheet information collection device and paper sheet information collection method
US20240054300A1 (en) Foreign matter detection device, card reader, foreign matter detection method and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190125

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191115

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191219

R150 Certificate of patent or registration of utility model

Ref document number: 6637202

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150