[go: up one dir, main page]

JP2011048599A - Symbol reading device and program - Google Patents

Symbol reading device and program Download PDF

Info

Publication number
JP2011048599A
JP2011048599A JP2009196161A JP2009196161A JP2011048599A JP 2011048599 A JP2011048599 A JP 2011048599A JP 2009196161 A JP2009196161 A JP 2009196161A JP 2009196161 A JP2009196161 A JP 2009196161A JP 2011048599 A JP2011048599 A JP 2011048599A
Authority
JP
Japan
Prior art keywords
angle
unit
base point
handy terminal
limit
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.)
Granted
Application number
JP2009196161A
Other languages
Japanese (ja)
Other versions
JP5413057B2 (en
Inventor
Toru Kitagawa
徹 北川
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2009196161A priority Critical patent/JP5413057B2/en
Publication of JP2011048599A publication Critical patent/JP2011048599A/en
Application granted granted Critical
Publication of JP5413057B2 publication Critical patent/JP5413057B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

【課題】シンボルの読み取り精度を高めることである。
【解決手段】ハンディターミナル1は、シンボルをスキャンするスキャナ部16と、3次元の加速度を検出する加速度センサと、情報をユーザに通知する表示部14及びブザーと、スキャナ部16によりシンボルをスキャンさせてデコードするとともに、シンボル読み取りに適切な自装置の傾き角度である基点角度を取得し、加速度センサにより検出された加速度を用いて自装置の傾き角度を装置角度として算出し、前記基点角度と前記装置角度との差分が限界角度を超えているか否かを判別し、前記差分が前記限界角度を超えている場合に、限界角度を超えている旨を表示部14及びブザーに通知させる制御部と、を備える。
【選択図】図1
A symbol reading accuracy is improved.
A handy terminal includes a scanner unit that scans a symbol, an acceleration sensor that detects three-dimensional acceleration, a display unit and a buzzer that notify a user of information, and a scanner unit that scans the symbol. The base point angle, which is an inclination angle of the own device suitable for symbol reading, is calculated using the acceleration detected by the acceleration sensor, and the inclination angle of the own device is calculated as the device angle. A control unit that determines whether or not a difference from the device angle exceeds a limit angle, and that notifies the display unit 14 and the buzzer that the limit angle is exceeded when the difference exceeds the limit angle; .
[Selection] Figure 1

Description

本発明は、シンボル読取装置及びプログラムに関する。   The present invention relates to a symbol reader and a program.

従来、商品等に付されたシンボルとしてのバーコードを読み取るバーコード読取装置(スキャナ)が知られている。バーコード読取装置としては、スーパーマーケット、コンビニエンスストア、個人商店、倉庫等において使用され、バーコード読取機能を有するハンディターミナル等の機器が知られている。   Conventionally, a barcode reader (scanner) that reads a barcode as a symbol attached to a product or the like is known. As bar code readers, devices such as handy terminals that are used in supermarkets, convenience stores, private stores, warehouses, etc. and have a bar code reading function are known.

バーコード読取装置としては、バーコードをスキャンする場合において、バーコードに対するバーコード読取装置の相対角度(傾き角度)を得るために、傾き(傾斜)センサを備えるものがあった。例えば、傾斜センサにより得られた自装置の傾き角度により自装置の状態を推定し、推定した状態に応じて、露光時間、アンプの利得、焦点距離、照明の明るさの読み取り制御条件や、2値化アルゴリズム、デコードするコード種を適切なものに切り替えるバーコード読取装置が知られている(例えば、特許文献1参照)。   Some barcode readers include a tilt (tilt) sensor in order to obtain a relative angle (tilt angle) of the barcode reader with respect to the barcode when scanning the barcode. For example, the state of the own apparatus is estimated from the inclination angle of the own apparatus obtained by the tilt sensor, and according to the estimated state, the reading control condition of exposure time, amplifier gain, focal length, illumination brightness, 2 There is known a bar code reading device that switches a value algorithm and a code type to be decoded to an appropriate one (for example, see Patent Document 1).

特開2006−309412号公報JP 2006-309212 A

上記傾き角度に応じて読み取り制御条件等を切り替えるバーコード読取装置を含む従来のバーコード読取装置において、バーコードに対するバーコード読取装置の傾き角度には、限界角度があった。ユーザがこの限界角度よりもきつい傾き角度でバーコードの読み取りを行おうとすると、読み取りに失敗したり、誤読が発生する危険性があった。しかし、この限界角度は、一般的には理解されていない。このため、ユーザは、この限界角度を意識せずにバーコード読取装置を使用していることが多かった。   In a conventional barcode reader including a barcode reader that switches reading control conditions and the like according to the inclination angle, the inclination angle of the barcode reader with respect to the barcode has a limit angle. When the user tries to read a barcode at a tilt angle that is tighter than the limit angle, there is a risk that reading will fail or misreading may occur. However, this critical angle is not generally understood. For this reason, the user often uses the barcode reader without being aware of the limit angle.

そのため、バーコードに対してバーコード読取装置を傾けすぎた状態で読取が行われていることがあった。このような原因により、バーコードの誤読が発生することがあるが、ユーザは傾き角度が限界角度よりもきついために失敗しているとは気が付かないため、読み取り精度を改善できなかった。   For this reason, there are cases where reading is performed with the bar code reader tilted too much with respect to the bar code. Due to such a cause, misreading of the barcode may occur, but the user cannot realize that the tilt angle is tighter than the limit angle and thus fails, so the reading accuracy cannot be improved.

本発明の課題は、シンボルの読み取り精度を高めることである。   An object of the present invention is to improve symbol reading accuracy.

上記課題を解決するために、請求項1に記載の発明のシンボル読取装置は、
シンボルをスキャンするスキャナ部と、
3次元の加速度を検出する加速度センサと、
情報をユーザに通知する通知部と、
シンボル読み取りに適切な自装置の傾き角度である基点角度を取得し、前記加速度センサにより検出された加速度を用いて自装置の傾き角度を装置角度として算出し、前記装置角度と前記基点角度との差分が限界角度を超えているか否かを判別し、前記差分が前記限界角度を超えている場合に、限界角度を超えている旨を前記通知部に通知させる制御部と、を備える。
In order to solve the above problem, a symbol reading apparatus according to claim 1 is provided.
A scanner unit for scanning symbols;
An acceleration sensor for detecting three-dimensional acceleration;
A notification unit for notifying the user of information;
A base point angle that is a tilt angle of the own device suitable for symbol reading is acquired, and the tilt angle of the own device is calculated as a device angle using the acceleration detected by the acceleration sensor, and the device angle and the base point angle are calculated. A control unit that determines whether or not the difference exceeds a limit angle and, when the difference exceeds the limit angle, notifies the notification unit that the limit angle is exceeded.

請求項2に記載の発明は、請求項1に記載のシンボル読取装置において、
前記通知部は、表示部、音出力部及び光点灯部の少なくとも一つを有し、
前記制御部は、前記差分が前記限界角度を超えている場合に、限界角度を超えている旨を、前記表示部による色表示と、前記表示部によるメッセージ表示と、前記音出力部による音出力と、前記光点灯部による光点灯との少なくとも一つにより、前記通知部に通知させる。
A second aspect of the present invention provides the symbol reading apparatus according to the first aspect,
The notification unit includes at least one of a display unit, a sound output unit, and a light lighting unit,
When the difference exceeds the limit angle, the control unit indicates that the limit angle is exceeded, a color display by the display unit, a message display by the display unit, and a sound output by the sound output unit. And at least one of light lighting by the light lighting unit, the notification unit is notified.

請求項3に記載の発明は、請求項1又は2に記載のシンボル読取装置において、
前記制御部は、前記加速度センサにより検出された加速度データを用いて自装置の傾き角度を基点角度として算出して取得する。
The invention described in claim 3 is the symbol reading apparatus according to claim 1 or 2,
The said control part calculates and acquires the inclination angle of an own apparatus as a base point angle using the acceleration data detected by the said acceleration sensor.

請求項4に記載の発明のプログラムは、
シンボル読取装置に搭載されたコンピュータを、
シンボルをスキャンするスキャナ部、
3次元の加速度を検出する加速度センサ、
情報をユーザに通知する通知部、
シンボル読み取りに適切な自装置の傾き角度である基点角度を取得し、前記加速度センサにより検出された加速度を用いて自装置の傾き角度を装置角度として算出し、前記装置角度と前記基点角度との差分が限界角度を超えているか否かを判別し、前記差分が前記限界角度を超えている場合に、限界角度を超えている旨を前記通知部に通知させる制御部、
として機能させる。
The program of the invention described in claim 4 is:
The computer installed in the symbol reader
A scanner unit for scanning symbols,
An acceleration sensor for detecting three-dimensional acceleration,
A notification unit for notifying the user of information,
A base point angle that is a tilt angle of the own device suitable for symbol reading is acquired, and the tilt angle of the own device is calculated as a device angle using the acceleration detected by the acceleration sensor, and the device angle and the base point angle are calculated. A controller that determines whether or not a difference exceeds a limit angle, and when the difference exceeds the limit angle, a control unit that notifies the notification unit that the limit angle is exceeded;
To function as.

本発明によれば、ユーザが限界角度内でシンボルを読み取らせることができ、シンボルの読み取り精度を高めることができる。   According to the present invention, a user can read a symbol within a limit angle, and the symbol reading accuracy can be improved.

本発明に係る実施の形態のハンディターミナルによるバーコードの読み取りを示す斜視図である。It is a perspective view which shows reading of the barcode by the handy terminal of embodiment which concerns on this invention. ハンディターミナルの機能構成を示すブロック図である。It is a block diagram which shows the function structure of a handy terminal. 基点角度の相対位置関係のハンディターミナル及びバーコードの上面図である。It is a top view of the handy terminal and the barcode of the relative position relationship of the base point angle. 基点角度の相対位置関係のハンディターミナル及びバーコードの第1の側面図である。It is the 1st side view of a handy terminal and bar code of relative position relation of a base point angle. 基点角度の相対位置関係のハンディターミナル及びバーコードの第2の側面図である。It is the 2nd side view of a handy terminal and bar code of relative position relation of a base point angle. 基点角度のハンディターミナルにおける3軸の傾き角度を示す斜視図である。It is a perspective view which shows the inclination angle of 3 axes | shafts in the handy terminal of a base point angle. 基点角度から傾けたハンディターミナルの3軸の傾き角度を示す斜視図である。It is a perspective view which shows the inclination angle of 3 axes | shafts of the handy terminal inclined from the base point angle. スキャン教示処理を示すフローチャートである。It is a flowchart which shows a scan teaching process. 第1のスキャン実行処理を示すフローチャートである。It is a flowchart which shows a 1st scan execution process. 基点角度入力処理を示すフローチャートである。It is a flowchart which shows a base angle input process. 第2のスキャン実行処理を示すフローチャートである。It is a flowchart which shows a 2nd scan execution process.

以下、添付図面を参照して本発明に係る実施の形態及び変形例を順に詳細に説明する。なお、本発明は、図示例に限定されるものではない。   DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments and modifications according to the present invention will be described in detail with reference to the accompanying drawings. The present invention is not limited to the illustrated example.

図1〜図9を参照して、本発明に係る実施の形態を説明する。先ず、図1及び図2を参照して、本実施の形態の装置構成を説明する。本実施の形態は、シンボルとして、1つの一次元バーパターンからなる一次元バーコードを読み取る構成である。先ず、図1〜図3を参照して、本実施の形態の装置構成を説明する。図1に、本実施の形態のハンディターミナル1によるバーコード30の読み取りを示す。図2に、ハンディターミナル1の機能構成を示す。   An embodiment according to the present invention will be described with reference to FIGS. First, the apparatus configuration of the present embodiment will be described with reference to FIGS. 1 and 2. The present embodiment is configured to read a one-dimensional barcode consisting of one one-dimensional bar pattern as a symbol. First, the device configuration of the present embodiment will be described with reference to FIGS. FIG. 1 shows reading of a barcode 30 by the handy terminal 1 of the present embodiment. FIG. 2 shows a functional configuration of the handy terminal 1.

本実施の形態のシンボル読取装置としてのハンディターミナル1は、コンビニエンスストア、スーパーマーケット、個人商店等の小売業の店舗等において使用され、商品等に付されたシンボルとしての1次元バーコードを読み取る機能を有する携帯端末である。   The handy terminal 1 as a symbol reading device of the present embodiment has a function of reading a one-dimensional bar code as a symbol attached to a product etc., which is used in a retail store such as a convenience store, a supermarket, and a private store. It is the portable terminal which has.

図1に示すように、ハンディターミナル1は、例えば、1次元バーコードであるバーコード30を読み取る。バーコード30は、バーコード紙面40に印刷されているものとする。ハンディターミナル1は、ケース2と、トリガキー12Aと、各種キー12Bと、表示部14と、スキャナ部16と、を備える。   As shown in FIG. 1, the handy terminal 1 reads, for example, a barcode 30 that is a one-dimensional barcode. It is assumed that the barcode 30 is printed on the barcode paper surface 40. The handy terminal 1 includes a case 2, a trigger key 12 </ b> A, various keys 12 </ b> B, a display unit 14, and a scanner unit 16.

ケース2は、ハンディターミナル1の本体ケースであり、(略)直方体の形状を有する。ケース2の正面を正面2Aとする。ケース2の長手方向の先端側の側面に、バーコード30を読み取るスキャナ部16が設けられている。スキャナ部16は、読み取り方向がケース2の正面2Aの長手方向に平行な方向に設けられているものとする。   The case 2 is a main body case of the handy terminal 1 and has a (substantially) rectangular parallelepiped shape. The front of case 2 is referred to as front 2A. A scanner unit 16 that reads the barcode 30 is provided on the side surface of the case 2 on the front end side in the longitudinal direction. It is assumed that the scanner unit 16 is provided in a direction parallel to the longitudinal direction of the front surface 2 </ b> A of the case 2.

トリガキー12Aは、ケース2の正面2Aに設けられ、スキャナ部16によるバーコードのスキャン実行のためのトリガキーである。各種キー12Bは、ケース2の正面2Aに設けられ、文字、数字等の入力キーや、各種機能キー等を含む。表示部14は、ケース2の正面2Aに設けられ、各種表示情報を表示する。   The trigger key 12 </ b> A is provided on the front surface 2 </ b> A of the case 2 and is a trigger key for executing barcode scanning by the scanner unit 16. The various keys 12B are provided on the front surface 2A of the case 2 and include input keys such as letters and numbers, various function keys, and the like. The display unit 14 is provided on the front surface 2A of the case 2 and displays various display information.

バーコード30の長手方向の中央における重力方向の軸を軸aとする。また、軸aに垂直な、バーコード30の短手方向の中央における水平方向の軸を軸bとする。また、スキャナ部16の読み取り範囲の中心に位置し且つ読み取り方向の軸を軸eとする。   The axis in the gravity direction at the center in the longitudinal direction of the barcode 30 is defined as an axis a. A horizontal axis perpendicular to the axis a and in the center in the short direction of the barcode 30 is defined as an axis b. In addition, the axis in the reading range of the scanner unit 16 and the axis in the reading direction is defined as an axis e.

次いで、図2を参照して、ハンディターミナル1の内部の機能構成を説明する。図2に示すように、ハンディターミナル1は、制御部としてのCPU11と、操作部12と、RAM(Random Access Memory)13と、通知部(表示部)としての表示部14と、ROM(Read Only Memory)15と、スキャナ部16と、フラッシュメモリ17と、I/F(Inter Face)部18と、加速度センサ19と、通知部(音出力部)としてのブザー20と、通知部(光点灯部)としてのLED(Light Emitting Diode)21と、電源部22と、を備える。ハンディターミナル1の各部は、バス23を介して接続されている。   Next, the internal functional configuration of the handy terminal 1 will be described with reference to FIG. As shown in FIG. 2, the handy terminal 1 includes a CPU 11 as a control unit, an operation unit 12, a RAM (Random Access Memory) 13, a display unit 14 as a notification unit (display unit), and a ROM (Read Only). Memory) 15, scanner unit 16, flash memory 17, I / F (Inter Face) unit 18, acceleration sensor 19, buzzer 20 as a notification unit (sound output unit), and notification unit (lighting unit) ) As a light emitting diode (LED) 21 and a power supply unit 22. Each part of the handy terminal 1 is connected via a bus 23.

CPU11は、ハンディターミナル1の各部を制御する。CPU11は、ROM15に記憶されているシステムプログラム及びアプリケーションプログラムのうち、指定されたプログラムを読み出してRAM13に展開し、RAM13に展開されたプログラムとの協働で、各種処理を実行する。   The CPU 11 controls each part of the handy terminal 1. The CPU 11 reads a designated program from among the system programs and application programs stored in the ROM 15, expands it in the RAM 13, and executes various processes in cooperation with the program expanded in the RAM 13.

CPU11は、スキャン教示プログラム151に従い、スキャン教示の際に、スキャナ部16によりバーコードをスキャンさせてデコードするとともに、バーコード読み取りに適切な基点角度を取得し、加速度センサ19により検出された加速度データを用いて自装置の装置角度を算出し、基点角度と装置角度との差分が限界角度を超えているか否かを判別する。そして、CPU11は、前記差分が限界角度を超えている場合に、限界角度を超えている旨を、ブザー20及び表示部14により出力する。   In accordance with the scan teaching program 151, the CPU 11 scans and decodes the barcode by the scanner unit 16 during the scan teaching, acquires a base point angle suitable for barcode reading, and acquires acceleration data detected by the acceleration sensor 19. Is used to calculate the device angle of the device itself and determine whether or not the difference between the base point angle and the device angle exceeds the limit angle. Then, when the difference exceeds the limit angle, the CPU 11 outputs, to the effect that the limit angle is exceeded, by the buzzer 20 and the display unit 14.

また、CPU11は、第1のスキャン実行プログラム152に従い、スキャナ部16によりバーコードをスキャンさせ、デコードして読み取る。   Further, the CPU 11 scans the barcode by the scanner unit 16 according to the first scan execution program 152, decodes and reads it.

操作部12は、トリガキー12A、各種キー12Bを含むキーパッドを備える。操作部12は、キーパッドの各キーの操作入力を受け付け、操作入力に応じた操作情報をCPU11に出力する。   The operation unit 12 includes a keypad including a trigger key 12A and various keys 12B. The operation unit 12 receives an operation input of each key on the keypad, and outputs operation information corresponding to the operation input to the CPU 11.

RAM13は、情報を一時的に記憶する揮発性のメモリである。RAM13は、各種データ及びプログラムを格納するワークエリアを有する。   The RAM 13 is a volatile memory that temporarily stores information. The RAM 13 has a work area for storing various data and programs.

表示部14は、LCD(Liquid Crystal Display)、ELD(Electro-Luminescent Display)等により構成される。表示部14は、CPU11から入力される表示情報に応じて各種表示を行う。また、表示部14は、カラー表示が可能な表示部、あるいはバックライトの色(赤色、青色等)を変更可能な表示部であるものとする。更に、表示部14は、CPU11の指示に応じて、メッセージ表示を行う。   The display unit 14 includes an LCD (Liquid Crystal Display), an ELD (Electro-Luminescent Display), or the like. The display unit 14 performs various displays according to display information input from the CPU 11. The display unit 14 is assumed to be a display unit capable of color display or a display unit capable of changing a backlight color (red, blue, etc.). Further, the display unit 14 displays a message in response to an instruction from the CPU 11.

ROM15は、読み出し専用の情報を記憶しているメモリである。ROM15には、スキャン教示プログラム151、第1のスキャン実行プログラム152、が記憶されている。   The ROM 15 is a memory that stores read-only information. The ROM 15 stores a scan teaching program 151 and a first scan execution program 152.

スキャナ部16は、シンボルとしてのバーコードをスキャンするレーザスキャナである。スキャナ部16は、例えば、発光部と、バイブレーションミラーと、受光部と、ゲイン部と、2値化部とを備える。スキャナ部16において、発光部から出射されたレーザ光は、バイブレーションミラーで反射されて左右に振られてバーコードに照射される。バーコードで反射されたレーザ光の反射光は、受光部で受光されて電気信号に変換される。この電気信号は、ゲイン部で増幅されて、2値化部で白のスペースと黒のバーとの長さの2値化データに変換されてCPU11に出力される。   The scanner unit 16 is a laser scanner that scans a barcode as a symbol. The scanner unit 16 includes, for example, a light emitting unit, a vibration mirror, a light receiving unit, a gain unit, and a binarization unit. In the scanner unit 16, the laser light emitted from the light emitting unit is reflected by the vibration mirror, is shaken to the left and right, and is applied to the barcode. The reflected light of the laser beam reflected by the barcode is received by the light receiving unit and converted into an electrical signal. This electric signal is amplified by the gain unit, converted into binary data of a length of white space and black bar by the binarization unit, and output to the CPU 11.

フラッシュメモリ17は、情報を読み書き自在に記憶する半導体メモリである。また、フラッシュメモリ17には、予め、ハンディターミナル1(ケース2)の限界角度(Xmax,Ymax,Zmax)が記憶されているものとする。限界角度(Xmax,Ymax,Zmax)は、詳細に後述される。   The flash memory 17 is a semiconductor memory that stores information in a readable and writable manner. In addition, it is assumed that limit angles (Xmax, Ymax, Zmax) of the handy terminal 1 (case 2) are stored in the flash memory 17 in advance. The limit angles (Xmax, Ymax, Zmax) will be described later in detail.

I/F部18は、所定の機器と接続可能であり、接続された機器との通信を介する接続部である。I/F部18は、例えば、ハンディターミナル1が載置されるクレードルに接続され、このクレードルを介して管理サーバ等の機器に通信接続される。   The I / F unit 18 is a connection unit that can be connected to a predetermined device and communicates with the connected device. For example, the I / F unit 18 is connected to a cradle on which the handy terminal 1 is placed, and is connected to a device such as a management server via the cradle.

加速度センサ19は、3次元の加速度センサである。加速度センサ19は、ハンディターミナル1(ケース2)に対応する3軸方向の加速度を検出して3軸方向の加速度データとしてCPU11に出力する。   The acceleration sensor 19 is a three-dimensional acceleration sensor. The acceleration sensor 19 detects triaxial acceleration corresponding to the handy terminal 1 (case 2) and outputs the acceleration data to the CPU 11 as triaxial acceleration data.

ブザー20は、CPU11の指示に応じて、音を出力する音出力部である。ブザー20は、後述する正常完了通知音、異常傾き検出音のように、異なる音を出力可能である。   The buzzer 20 is a sound output unit that outputs sound in response to an instruction from the CPU 11. The buzzer 20 can output different sounds such as a normal completion notification sound and an abnormal inclination detection sound described later.

LED21は、CPU11の指示に応じて、光を点灯、消灯、点滅する光出力部である。   The LED 21 is a light output unit that turns on, turns off, and blinks light according to instructions from the CPU 11.

電源部22は、ハンディターミナル1の各部に電源を供給する電源である。電源部22は、例えば、リチウム電池等の二次電池である。   The power source unit 22 is a power source that supplies power to each unit of the handy terminal 1. The power supply unit 22 is a secondary battery such as a lithium battery, for example.

次に、図3〜図9を参照して、ハンディターミナル1の動作を説明する。先ず、図3〜図7を参照して、ハンディターミナル1(ケース2)の傾き角度を説明する。図3に、基点角度の相対位置関係のハンディターミナル1及びバーコード30の上面構成を示す。図4に、基点角度の相対位置関係のハンディターミナル1及びバーコード30の正面2A長手方向側の側面構成を示す。図5に、基点角度の相対位置関係のハンディターミナル1及びバーコード30の正面2A後端側の側面構成を示す。図6に、基点角度のハンディターミナル1における3軸c、d、eの傾き角度を示す。図7に、基点角度から傾けたハンディターミナル1の3軸c、d、eの傾き角度を示す。   Next, the operation of the handy terminal 1 will be described with reference to FIGS. First, an inclination angle of the handy terminal 1 (case 2) will be described with reference to FIGS. FIG. 3 shows the upper surface configuration of the handy terminal 1 and the barcode 30 in the relative positional relationship of the base point angle. FIG. 4 shows a side configuration of the front terminal 2A in the longitudinal direction of the handy terminal 1 and the barcode 30 in the relative positional relationship of the base point angle. FIG. 5 shows a side configuration of the rear end side of the front surface 2 </ b> A of the handy terminal 1 and the barcode 30 in the relative positional relationship of the base point angle. FIG. 6 shows the inclination angles of the three axes c, d, e in the handy terminal 1 at the base point angle. FIG. 7 shows the inclination angles of the three axes c, d, and e of the handy terminal 1 inclined from the base point angle.

図1のハンディターミナル1及びバーコード30は、基準の傾き角度としての基点角度である相対位置関係の状態にあるものとする。ハンディターミナル1は、基点角度の状態でバーコード読取が行われるのが最良である。つまり、基点角度は、バーコード読み取りを行うと、読み取りの失敗及び誤読が最も少なくなる傾き角度である。   It is assumed that the handy terminal 1 and the barcode 30 in FIG. 1 are in a relative positional relationship that is a base point angle as a reference inclination angle. It is best that the handy terminal 1 performs bar code reading with the base point angle. That is, the base point angle is an inclination angle at which reading failure and misreading are minimized when barcode reading is performed.

基点角度の状態では、図3に示すように、ハンディターミナル1の軸eとバーコード30の軸bとの交わる角度が90度である。また、基点角度の状態では、図4に示すように、ハンディターミナル1の軸eとバーコード30の軸aとの交わる角度が90度である。また、基点角度の状態では、図5に示すように、バーコード30の軸aと軸bとの交わる角度が90度であり、軸aと軸bとの交点がハンディターミナル1の軸eと交わる。   In the state of the base point angle, as shown in FIG. 3, the angle at which the axis e of the handy terminal 1 and the axis b of the barcode 30 intersect is 90 degrees. In the state of the base point angle, as shown in FIG. 4, the angle at which the axis e of the handy terminal 1 and the axis a of the barcode 30 intersect is 90 degrees. In the state of the base point angle, as shown in FIG. 5, the angle at which the axis a and the axis b of the barcode 30 intersect is 90 degrees, and the intersection of the axis a and the axis b is the axis e of the handy terminal 1. Intersect.

図6に示すように、ハンディターミナル1の基点角度は、3つの軸c,d,eの周りの角度である基点角度(X,Y,Z)で表される。軸cは、ハンディターミナル1(ケース2)の正面2Aに垂直な軸である。Xは、軸cの周りのハンディターミナル1(ケース2)の回転角度である。また、Xは、バーコードの読み取り角度のピッチ角である。   As shown in FIG. 6, the base point angle of the handy terminal 1 is represented by a base point angle (X, Y, Z) that is an angle around three axes c, d, e. The axis c is an axis perpendicular to the front surface 2A of the handy terminal 1 (case 2). X is the rotation angle of the handy terminal 1 (case 2) around the axis c. X is the pitch angle of the barcode reading angle.

軸dは、ハンディターミナル1(ケース2)の正面2Aに平行で長手方向側の側面に垂直な軸である。Yは、軸dの周りのハンディターミナル1の回転角度である。また、Yは、バーコードの読み取り角度のスキュー角である。Zは、軸eの周りのハンディターミナル1(ケース2)の回転角度である。また、Zは、バーコードの読み取り角度のチルト角である。また、軸c,d,eは、一点で互いに直交している。   The axis d is an axis parallel to the front surface 2A of the handy terminal 1 (case 2) and perpendicular to the side surface on the longitudinal direction side. Y is the rotation angle of the handy terminal 1 around the axis d. Y is the skew angle of the barcode reading angle. Z is a rotation angle of the handy terminal 1 (case 2) around the axis e. Z is the tilt angle of the barcode reading angle. The axes c, d, and e are orthogonal to each other at one point.

図7を参照して、ハンディターミナル1(ケース2)を基点角度(X,Y,Z)から傾けた状態を考える。基点角度(X,Y,Z)から所定角度傾けた状態のハンディターミナル1における軸c,d,eの周りの傾き角度を装置角度(X’,Y’,Z’)として表す。装置角度(X’,Y’,Z’)は、X’=X+Xmove、Y’=Y+Ymove、Z’=Z+Zmoveで表される。但し、Xmoveは、装置角度X’と基点角度Xとの差分である。Ymoveは、装置角度Y’と基点角度Yとの差分である。Zmoveは、装置角度Z’と基点角度Zとの差分である。   Referring to FIG. 7, a state where the handy terminal 1 (case 2) is tilted from the base point angle (X, Y, Z) will be considered. The tilt angles around the axes c, d, e in the handy terminal 1 tilted by a predetermined angle from the base point angle (X, Y, Z) are represented as device angles (X ′, Y ′, Z ′). The device angle (X ′, Y ′, Z ′) is represented by X ′ = X + Xmove, Y ′ = Y + Ymove, Z ′ = Z + Zmove. Xmove is a difference between the device angle X ′ and the base point angle X. Ymove is the difference between the device angle Y ′ and the base point angle Y. Zmove is the difference between the device angle Z ′ and the base point angle Z.

また、限界角度(Xmax,Ymax,Zmax)が予め設定されている。限界角度(Xmax,Ymax,Zmax)は、ハンディターミナル1(ケース2)をこれを超えて傾けるとバーコードの読み取りが失敗する若しくは誤読が発生する、又はその可能性が高い、基点角度(X,Y,Z)からの装置角度(X’,Y’,Z’)の差分の角度である。   Further, limit angles (Xmax, Ymax, Zmax) are set in advance. The limit angles (Xmax, Ymax, Zmax) are the base point angles (X, X, X2), when the handy terminal 1 (case 2) is tilted beyond this, barcode reading fails or misreads, or is likely to occur. Y, Z) is the difference angle of the device angle (X ′, Y ′, Z ′).

次いで、図8及び図9を参照して、ハンディターミナル1で実行される処理を説明する。図8に、スキャン教示処理を示す。図9に、第1のスキャン実行処理を示す。   Next, processing executed in the handy terminal 1 will be described with reference to FIGS. 8 and 9. FIG. 8 shows the scan teaching process. FIG. 9 shows the first scan execution process.

図8を参照して、ハンディターミナル1で実行されるスキャン教示処理を説明する。スキャン教示処理は、ユーザに対してハンディターミナル1におけるバーコード読み取りの姿勢の教示を行い、基点角度と装置角度との差分が限界角度よりも大きく傾けると警告を行う処理である。予め、ハンディターミナル1がユーザに把持され基点角度の姿勢にされているものとする。また、ユーザから操作部12を介する入力に応じてスキャン教示を行うためのスキャン教示モードに設定されているものとする。通常のスキャン実行を行うためのスキャン実行モードでは、バーコードの読み取り(デコード)に成功すると終了するが、スキャン教示モードでは、バーコードの読み取り(デコード)に成功しても処理が継続される。   With reference to FIG. 8, the scan teaching process executed in the handy terminal 1 will be described. The scan teaching process is a process for teaching the user the posture for reading the barcode on the handy terminal 1 and giving a warning when the difference between the base point angle and the apparatus angle is tilted larger than the limit angle. In advance, it is assumed that the handy terminal 1 is held by the user and is in a base angle posture. In addition, it is assumed that the scan teaching mode for performing the scan teaching according to the input from the user via the operation unit 12 is set. In the scan execution mode for performing normal scan execution, the process ends when the barcode is successfully read (decoded). However, in the scan teaching mode, the process is continued even if the barcode is successfully read (decoded).

そして、ハンディターミナル1において、例えば、ユーザからのトリガキー12Aの押下入力が受け付けられたことをトリガとして、ROM15から読み出されて適宜RAM13に展開されたスキャン教示プログラム151とCPU11との協働で、スキャン教示処理が実行される。   In the handy terminal 1, for example, in response to a press input of the trigger key 12 </ b> A from the user being accepted as a trigger, the CPU 11 cooperates with the scan teaching program 151 read from the ROM 15 and appropriately expanded in the RAM 13. A scan teaching process is executed.

先ず、スキャナ部16によるバーコードスキャンが開始される(ステップS11)。ステップS11では、スキャナ部16における発光、レーザ光を左右に振ること、受光、電気信号の増幅及び2値化の一連の繰り返し動作が開始される。ユーザがトリガキー12Aを押し続ける間に、スキャン教示が行われるものとする。   First, barcode scanning by the scanner unit 16 is started (step S11). In step S11, a series of repetitive operations of light emission in the scanner unit 16, shaking the laser light to the left and right, light reception, amplification of electric signals, and binarization are started. It is assumed that scan teaching is performed while the user continues to press the trigger key 12A.

そして、加速度センサ19から3軸の加速度データが取得され、この加速度データに応じて、ハンディターミナル1(ケース2)の基点角度(X,Y,Z)が算出されて取得されRAM13に記憶される(ステップS12)。そして、トリガキー12Aが離された(押下されていない)か否かが判別される(ステップS13)。   Then, triaxial acceleration data is acquired from the acceleration sensor 19, and the base point angle (X, Y, Z) of the handy terminal 1 (case 2) is calculated and acquired according to the acceleration data and stored in the RAM 13. (Step S12). Then, it is determined whether or not the trigger key 12A has been released (not pressed) (step S13).

トリガキー12Aが離された場合(ステップS13;YES)、スキャン教示処理が終了する。トリガキー12Aが離されていない場合(ステップS13;NO)、スキャナ部16から2値化データが取得され、この2値化データを用いてデコードが実行される(ステップS14)。そして、加速度センサ19から3軸の加速度データが取得され、この加速度データに応じて、ハンディターミナル1(ケース2)の装置角度(X’,Y’,Z’)が算出されて取得されRAM13に記憶される(ステップS15)。   When the trigger key 12A is released (step S13; YES), the scan teaching process ends. If the trigger key 12A is not released (step S13; NO), the binarized data is acquired from the scanner unit 16, and decoding is executed using the binarized data (step S14). Then, triaxial acceleration data is acquired from the acceleration sensor 19, and the device angle (X ′, Y ′, Z ′) of the handy terminal 1 (case 2) is calculated and acquired according to the acceleration data, and is stored in the RAM 13. Stored (step S15).

そして、フラッシュメモリ17から限界角度Xmaxが読み出され、ステップS12,S15で取得されたX,X’を用いて、|X−X’|>Xmaxであるか否かが判別される(ステップS16)。|X’−X|>Xmaxでない場合(ステップS16;NO)、ピッチ角について基点角度からの差分が限界角度Xmaxを超えておらず、フラッシュメモリ17から限界角度Ymaxが読み出され、ステップS12,S15で取得されたY,Y’を用いて、|Y’−Y|>Ymaxであるか否かが判別される(ステップS17)。|Y’−Y|>Ymaxでない場合(ステップS17;NO)、スキュー角について基点角度からの差分が限界角度Ymaxを超えておらず、フラッシュメモリ17から限界角度Zmaxが読み出され、ステップS12,S15で取得されたZ,Z’を用いて、|Z’−Z|>Zmaxであるか否かが判別される(ステップS18)。   Then, the limit angle Xmax is read from the flash memory 17, and it is determined whether or not | X−X ′ |> Xmax by using X and X ′ acquired in steps S12 and S15 (step S16). ). If | X′−X |> Xmax is not satisfied (step S16; NO), the pitch angle difference from the base point angle does not exceed the limit angle Xmax, and the limit angle Ymax is read from the flash memory 17, and step S12, Whether or not | Y′−Y |> Ymax is determined using Y and Y ′ acquired in S15 (step S17). If | Y′−Y |> Ymax is not satisfied (step S17; NO), the difference from the base point angle with respect to the skew angle does not exceed the limit angle Ymax, and the limit angle Zmax is read from the flash memory 17, and step S12, Using Z and Z ′ acquired in S15, it is determined whether or not | Z′−Z |> Zmax (step S18).

|Z’−Z|>Zmaxでない場合(ステップS18;NO)、チルト角について基点角度からの差分が限界角度Zmaxを超えておらず、ステップS14で実行されたデコードが成功(OK)であるか否かが判別される(ステップS19)。デコードが失敗した場合(ステップS19;NO)、ステップS13に移行される。デコードが成功した場合(ステップS19;YES)、成功したデコードに対応するバーコードの読取結果が表示部14に青色で表示され(ステップS20)、ステップS13に移行される。この青色は、ハンディターミナル1(ケース)の傾きが正常である場合のデコード成功を示す色であるとする。また、この青色は、表示部14のメッセージの表示色又はバックライトの色である。   If | Z′−Z |> Zmax is not satisfied (step S18; NO), whether the difference from the base point angle with respect to the tilt angle does not exceed the limit angle Zmax, is the decoding executed in step S14 successful (OK)? It is determined whether or not (step S19). When decoding fails (step S19; NO), the process proceeds to step S13. If the decoding is successful (step S19; YES), the barcode reading result corresponding to the successful decoding is displayed in blue on the display unit 14 (step S20), and the process proceeds to step S13. It is assumed that the blue color indicates a successful decoding when the handy terminal 1 (case) has a normal inclination. Further, the blue color is a display color of the message on the display unit 14 or a backlight color.

|X’−X|>Xmaxである場合(ステップS16;YES)、ピッチ角について基点角度からの差分が限界角度Xmaxを超えており、ブザー20により異常傾き検出音が出力される(ステップS21)。この異常傾き検出音は、ハンディターミナル1(ケース2)の傾きが限界角度を超えたことを示す音である。|Y’−Y|>Ymaxである場合(ステップS17;YES)、スキュー角について基点角度からの差分が限界角度Zmaxを超えており、ステップS21に移行される。|Z’−Z|>Zmaxである場合(ステップS18;YES)、チルト角について基点角度からの差分が限界角度Zmaxを超えており、ステップS21に移行される。異常傾き検出音は、ピッチ角X’、スキュー角Y’、チルト角Z’の異常で共通の音としてもよく、どの角度の異常かを知らせるため、ピッチ角X’、スキュー角Y’、チルト角Z’の異常で互いに異なる音としてもよい。   If | X′−X |> Xmax (step S16; YES), the pitch angle difference from the base point angle exceeds the limit angle Xmax, and an abnormal inclination detection sound is output by the buzzer 20 (step S21). . This abnormal inclination detection sound is a sound indicating that the inclination of the handy terminal 1 (case 2) exceeds the limit angle. If | Y′−Y |> Ymax (step S17; YES), the difference between the skew angle and the base point angle exceeds the limit angle Zmax, and the process proceeds to step S21. If | Z′−Z |> Zmax (step S18; YES), the difference from the base point angle with respect to the tilt angle exceeds the limit angle Zmax, and the process proceeds to step S21. The abnormal tilt detection sound may be a common sound with abnormal pitch angle X ′, skew angle Y ′, and tilt angle Z ′, and pitch angle X ′, skew angle Y ′, tilt to indicate which angle is abnormal. The sounds may be different from each other due to an abnormality in the angle Z ′.

そして、ステップS14で実行されたデコードが成功(OK)であるか否かが判別される(ステップS22)。デコードが失敗した場合(ステップS22;NO)、ステップS13に移行される。デコードが成功した場合(ステップS22;YES)、成功したデコードに対応するバーコードの読取結果が表示部14に赤色で表示され(ステップS23)、ステップS13に移行される。この赤色は、ハンディターミナル1(ケース)の傾きが異常である場合のデコード成功を示す色であるとする。また、この赤色は、表示部14のメッセージの表示色又はバックライトの色である。   Then, it is determined whether or not the decoding executed in step S14 is successful (OK) (step S22). When decoding fails (step S22; NO), the process proceeds to step S13. If the decoding is successful (step S22; YES), the barcode reading result corresponding to the successful decoding is displayed in red on the display unit 14 (step S23), and the process proceeds to step S13. It is assumed that this red color is a color indicating successful decoding when the handy terminal 1 (case) has an abnormal inclination. The red color is a message display color or a backlight color of the display unit 14.

次いで、図9を参照して、ハンディターミナル1で実行される第1のスキャン実行処理を説明する。第1のスキャン実行処理は、スキャン教示処理によりユーザに適宜スキャンの教示が行われた後、実際にバーコード読み取りを実行する処理である。予め、ハンディターミナル1がユーザに把持され、ユーザから操作部12を介する入力に応じてスキャン実行モードに設定されているものとする。   Next, with reference to FIG. 9, the first scan execution process executed in the handy terminal 1 will be described. The first scan execution process is a process of actually executing barcode reading after the user is appropriately instructed by the scan teaching process. It is assumed that the handy terminal 1 is previously held by the user and set to the scan execution mode in accordance with an input from the user via the operation unit 12.

そして、ハンディターミナル1において、例えば、ユーザからのトリガキー12Aの押下入力が受け付けられたことをトリガとして、ROM15から読み出されて適宜RAM13に展開された第1のスキャン実行プログラム152とCPU11との協働で、第1のスキャン教示処理が実行される。   Then, in the handy terminal 1, for example, with the reception of a press input of the trigger key 12 </ b> A from the user as a trigger, the first scan execution program 152 read from the ROM 15 and appropriately expanded in the RAM 13 and the cooperation of the CPU 11. Thus, the first scan teaching process is executed.

先ず、スキャナ部16によるバーコードスキャンが開始される(ステップS31)。ユーザは、スキャン実行の間に、トリガキー12Aを押し続けるものとする。そして、トリガキー12Aが離された(押下されていない)か否かが判別される(ステップS32)。   First, barcode scanning by the scanner unit 16 is started (step S31). It is assumed that the user keeps pressing the trigger key 12A during the scan execution. Then, it is determined whether or not the trigger key 12A has been released (not pressed) (step S32).

トリガキー12Aが離された場合(ステップS32;YES)、第1のスキャン実行処理が終了する。トリガキー12Aが離されていない場合(ステップS32;NO)、スキャナ部16から2値化データが取得され、この2値化データを用いてデコードが実行される(ステップS33)。そして、ステップS33で実行されたデコードが成功(OK)であるか否かが判別される(ステップS34)。デコードが失敗した場合(ステップS34;NO)、ステップS32に移行される。   When the trigger key 12A is released (step S32; YES), the first scan execution process ends. If the trigger key 12A is not released (step S32; NO), the binarized data is acquired from the scanner unit 16, and decoding is executed using the binarized data (step S33). Then, it is determined whether or not the decoding executed in step S33 is successful (OK) (step S34). When decoding fails (step S34; NO), the process proceeds to step S32.

デコードが成功した場合(ステップS34;YES)、ブザー20により正常完了通知音が出力される(ステップS35)。この正常完了通知音は、デコードが成功して完了したことを示す音である。そして、成功したデコードに対応するバーコードの読取結果が表示部14に青色で表示され(ステップS36)、ステップS13に移行される。   When the decoding is successful (step S34; YES), the buzzer 20 outputs a normal completion notification sound (step S35). This normal completion notification sound is a sound indicating that decoding has been completed successfully. Then, the barcode reading result corresponding to the successful decoding is displayed in blue on the display unit 14 (step S36), and the process proceeds to step S13.

以上、本実施の形態によれば、ハンディターミナル1は、スキャン教示の際に、スキャナ部16によりシンボルをスキャンさせてデコードするとともに、バーコード読み取りに適切な基点角度(X,Y,Z)を取得し、加速度センサ19により検出された加速度データを用いて自装置の装置角度(X’,Y’,Z’)を算出し、基点角度(X,Y,Z)と装置角度(X’,Y’,Z’)との差分が限界角度(Xmax,Ymax,Zmax)を超えているか否かを判別する。そして、ハンディターミナル1は、前記差分が限界角度(Xmax,Ymax,Zmax)を超えている場合に、限界角度(Xmax,Ymax,Zmax)を超えている旨を、ブザー20及び表示部14により出力する。このため、ユーザが限界角度(Xmax,Ymax,Zmax)を超えている旨を確認できるので、ユーザがハンディターミナル1を動かして限界角度内でバーコードを読み取らせることができ、バーコードの読み取り精度を高めることができる。   As described above, according to the present embodiment, the handy terminal 1 scans and decodes the symbol by the scanner unit 16 and provides the base point angle (X, Y, Z) suitable for barcode reading at the time of scanning teaching. The apparatus angle (X ′, Y ′, Z ′) of the own apparatus is calculated using the acceleration data detected and detected by the acceleration sensor 19, and the base point angle (X, Y, Z) and the apparatus angle (X ′, It is determined whether or not the difference from Y ′, Z ′) exceeds the limit angle (Xmax, Ymax, Zmax). Then, when the difference exceeds the limit angle (Xmax, Ymax, Zmax), the handy terminal 1 outputs that the limit angle (Xmax, Ymax, Zmax) is exceeded by the buzzer 20 and the display unit 14. To do. For this reason, since it can be confirmed that the user has exceeded the limit angle (Xmax, Ymax, Zmax), the user can move the handy terminal 1 to read the barcode within the limit angle, and the barcode reading accuracy. Can be increased.

また、異常傾き時に、ブザー20により正常時の正常完了通知音と異なる異常傾き検出音を出力し、読取結果を表示部14に正常時の青色表示と異なる赤色表示する。このため、ユーザが限界角度(Xmax,Ymax,Zmax)を超えている旨を視覚及び聴覚を通じて確実に確認できる。   Further, at the time of abnormal inclination, the buzzer 20 outputs an abnormal inclination detection sound different from the normal completion notification sound at the normal time, and the reading result is displayed on the display unit 14 in red different from the normal blue display. For this reason, it can be confirmed through visual and auditory sense that the user exceeds the limit angle (Xmax, Ymax, Zmax).

また、ハンディターミナル1は、加速度センサ19により検出された加速度データを用いて基点角度を算出して設定する。このため、ユーザが任意の基点角度を設定できる。例えば、図3〜図5で説明した配置のバーコードと異なり、長手方向が水平面に対して平行でない配置のバーコードにも、基点角度を容易に合せて設定することができる。   The handy terminal 1 calculates and sets the base point angle using the acceleration data detected by the acceleration sensor 19. For this reason, the user can set an arbitrary base point angle. For example, unlike the barcodes of the arrangement described with reference to FIGS. 3 to 5, the base point angle can be easily set to a barcode having an arrangement whose longitudinal direction is not parallel to the horizontal plane.

また、ハンディターミナル1は、前記差分が限界角度(Xmax,Ymax,Zmax)を超えており且つデコードが成功した場合に、差分が限界角度を超えて且つデコードが成功した旨を読み取り結果とともに表示部14に赤色表示する。このため、差分が限界角度を超えて且つデコードが成功した場合に、ユーザがバーコードの誤読の可能性が高い旨を視覚を通じて確実に確認できる。   In addition, when the difference exceeds the limit angle (Xmax, Ymax, Zmax) and the decoding is successful, the handy terminal 1 displays that the difference exceeds the limit angle and the decoding is successful together with a reading result. 14 is displayed in red. For this reason, when the difference exceeds the limit angle and decoding is successful, the user can surely confirm visually that there is a high possibility that the barcode is misread.

(変形例)
図10及び図11を参照して、上記実施の形態の変形例を説明する。図10に、基点角度入力処理を示す。図11に、第2のスキャン実行処理を示す。
(Modification)
A modification of the above embodiment will be described with reference to FIGS. FIG. 10 shows the base point angle input process. FIG. 11 shows the second scan execution process.

上記実施の形態では、スキャン教示時に、ハンディターミナル1の基点角度と装置角度との差分が限界角度を超えたことをユーザに通知する構成であった。これに対し、本変形例では、スキャン実行時に、ハンディターミナル1の基点角度と装置角度との差分が限界角度を超えたことをユーザに通知する構成である。   In the embodiment described above, the user is notified that the difference between the base point angle of the handy terminal 1 and the device angle has exceeded the limit angle during scan teaching. On the other hand, this modification is configured to notify the user that the difference between the base point angle of the handy terminal 1 and the device angle has exceeded the limit angle at the time of scanning.

本変形例の装置構成は、上記実施の形態と同じくハンディターミナル1を用いた構成である。但し、ROM15には、スキャン教示プログラム151及び第1のスキャン実行プログラム152に代えて、後述する基点角度入力プログラム及び第2のスキャン実行プログラムが記憶されているものとする。また、各種キー12Bには、基点角度入力のトリガキーである基点角度入力キーが含まれているものとする。   The apparatus configuration of this modification is a configuration using the handy terminal 1 as in the above embodiment. However, it is assumed that the ROM 15 stores a reference angle input program and a second scan execution program, which will be described later, in place of the scan teaching program 151 and the first scan execution program 152. Also, it is assumed that the various keys 12B include a base point angle input key that is a trigger key for base point angle input.

次に、本変形例におけるハンディターミナル1の動作を説明する。先ず、図10を参照して、ハンディターミナル1で実行される基点角度入力処理を説明する。上記実施の形態では、基点角度(X,Y,Z)は、一時的にしか使用しないため、スキャン教示処理実行中に取得しRAM13に記憶されているものとした。これに対し、本変形例では、基点角度は一度入力したものを繰り返し使用するため、基点角度入力処理とスキャン実行処理は別々の処理にわかれている。本変形例の基点角度入力処理は、スキャン実行の前に、当該スキャン実行で用いる基点角度をユーザが入力して設定する処理である。   Next, the operation of the handy terminal 1 in this modification will be described. First, with reference to FIG. 10, the base point angle input process executed in the handy terminal 1 will be described. In the above embodiment, since the base point angle (X, Y, Z) is used only temporarily, it is acquired during execution of the scan teaching process and stored in the RAM 13. On the other hand, in this modification, since the base point angle once input is repeatedly used, the base point angle input process and the scan execution process are divided into separate processes. The base point angle input process of the present modification is a process in which the user inputs and sets the base point angle used for the scan execution before the scan execution.

予め、ハンディターミナル1がユーザに把持され、ユーザによりハンディターミナル1が所望の基点角度にしたい姿勢(傾き)にされているものとする。そして、ハンディターミナル1において、例えば、ユーザからの各種キー12Bの基点角度入力キーの押下入力が受け付けられたことをトリガとして、ROM15から読み出されて適宜RAM13に展開された基点角度入力プログラムとCPU11との協働で、基点角度入力処理が実行される。   It is assumed that the handy terminal 1 is gripped by the user in advance, and the handy terminal 1 is in a posture (tilt) desired to be a desired base point angle. Then, in the handy terminal 1, for example, when a pressing input of the base point angle input key of the various keys 12 </ b> B from the user is accepted, the base point angle input program read from the ROM 15 and appropriately expanded in the RAM 13 and the CPU 11 are triggered. The base point angle input process is executed in cooperation with.

先ず、加速度センサ19から3軸の加速度データが取得され、この加速度データに応じて、ハンディターミナル1(ケース2)の基点角度(X,Y,Z)が算出されて取得されてフラッシュメモリ17に記憶され(ステップS41)、基点角度入力処理が終了する。   First, triaxial acceleration data is acquired from the acceleration sensor 19, and the base point angle (X, Y, Z) of the handy terminal 1 (case 2) is calculated and acquired according to the acceleration data, and is stored in the flash memory 17. This is stored (step S41), and the base point angle input process ends.

次いで、図11を参照して、ハンディターミナル1で実行される第2のスキャン実行処理を説明する。第2のスキャン実行処理は、ハンディターミナル1の基点角度と装置角度との差分が限界角度を超えたことをユーザに通知するとともに、実際にバーコード読み取りを実行する処理である。予め、ハンディターミナル1がユーザに把持され、ユーザから操作部12を介する入力に応じてスキャン実行モードに設定されているものとする。   Next, with reference to FIG. 11, the second scan execution process executed in the handy terminal 1 will be described. The second scan execution process is a process of notifying the user that the difference between the base point angle of the handy terminal 1 and the device angle has exceeded the limit angle and actually executing the barcode reading. It is assumed that the handy terminal 1 is previously held by the user and set to the scan execution mode in accordance with an input from the user via the operation unit 12.

そして、ハンディターミナル1において、例えば、ユーザからのトリガキー12Aの押下入力が受け付けられたことをトリガとして、ROM15から読み出されて適宜RAM13に展開された第2のスキャン実行プログラムとCPU11との協働で、第1のスキャン実行処理が実行される。   Then, in the handy terminal 1, for example, in response to a press input of the trigger key 12 </ b> A from the user being received as a trigger, the second scan execution program read from the ROM 15 and appropriately expanded in the RAM 13 and the cooperation of the CPU 11. Thus, the first scan execution process is executed.

先ず、スキャナ部16によるバーコードスキャンが開始される(ステップS51)。ユーザは、スキャン実行の間に、トリガキー12Aを押し続けるものとする。そして、基点角度入力処理で記憶されたフラッシュメモリ17に記憶されている、ハンディターミナル1(ケース2)の基点角度(X,Y,Z)が読み出されて取得される(ステップS52)。   First, barcode scanning by the scanner unit 16 is started (step S51). It is assumed that the user keeps pressing the trigger key 12A during the scan execution. Then, the base point angle (X, Y, Z) of the handy terminal 1 (case 2) stored in the flash memory 17 stored in the base point angle input process is read and acquired (step S52).

ステップS53〜S60は、それぞれ順に、スキャン教示処理のステップS13〜S20と同様である。ステップS60の実行後、ブザー20により正常完了通知音が出力され(ステップS61)、第2のスキャン実行処理が終了する。ステップS62〜S64は、それぞれ順に、スキャン教示処理のステップS21〜S23と同様である。   Steps S53 to S60 are the same as steps S13 to S20 of the scan teaching process, respectively. After execution of step S60, the buzzer 20 outputs a normal completion notification sound (step S61), and the second scan execution process ends. Steps S62 to S64 are the same as steps S21 to S23 of the scan teaching process, respectively.

以上、本変形例によれば、上記実施の形態と同様に、スキャン実行の際に、ユーザが限界角度(Xmax,Ymax,Zmax)を超えている旨を確認できるので、ユーザがハンディターミナル1を動かして限界角度内でバーコードを読み取らせることができ、バーコードの読み取り精度を高めることができる。   As described above, according to the present modification, the user can confirm that the user exceeds the limit angle (Xmax, Ymax, Zmax) when executing the scan, as in the above embodiment. The barcode can be read within the limit angle by moving, and the barcode reading accuracy can be improved.

以上の説明では、本発明に係るプログラムのコンピュータ読み取り可能な媒体としてROM15を使用した例を開示したが、この例に限定されない。
その他のコンピュータ読み取り可能な媒体として、フラッシュメモリ17等の不揮発性メモリ、CD−ROM等の可搬型記録媒体を適用することが可能である。
また、本発明に係るプログラムのデータを通信回線を介して提供する媒体として、キャリアウエーブ(搬送波)も本発明に適用される。
In the above description, the example in which the ROM 15 is used as the computer-readable medium of the program according to the present invention is disclosed, but the present invention is not limited to this example.
As other computer-readable media, a non-volatile memory such as a flash memory 17 and a portable recording medium such as a CD-ROM can be applied.
A carrier wave is also applied to the present invention as a medium for providing program data according to the present invention via a communication line.

なお、上記実施の形態における記述は、本発明に係るシンボル読取装置及びプログラムの一例であり、これに限定されるものではない。   The description in the above embodiment is an example of the symbol reading apparatus and the program according to the present invention, and the present invention is not limited to this.

例えば、上記実施の形態及び変形例を適宜組み合わせる構成としてもよい。また、上記実施の形態及び変形例では、ハンディターミナル1(ケース2)の基点角度と装置角度との差分が限界角度を超えた異常傾き時に、異常傾き検出音を通知部としてのブザー20から出力し、同じく限界角度を超えずにデコードが成功して完了した場合に、正常完了通知音をブザー20から出力したが、これに限定されるものではない。例えば、通知部としての表示部14による表示、通知部としてのLED21による点灯、点滅の仕方、点灯色等を変更して、異常傾きの検出や、正常傾き時のデコードの正常完了をユーザに通知する構成としてもよい。   For example, the above embodiment and modifications may be combined as appropriate. Moreover, in the said embodiment and modification, the abnormal inclination detection sound is output from the buzzer 20 as a notification part at the time of the abnormal inclination when the difference of the base point angle of the handy terminal 1 (case 2) and the device angle exceeds the limit angle. When the decoding is successfully completed without exceeding the limit angle, the normal completion notification sound is output from the buzzer 20, but the present invention is not limited to this. For example, the display by the display unit 14 as a notification unit, the lighting by the LED 21 as a notification unit, the manner of blinking, the lighting color, etc. are changed to notify the user of abnormal inclination detection or normal completion of decoding at normal inclination. It is good also as composition to do.

また、上記実施の形態及び変形例では、ハンディターミナル1(ケース2)の基点角度と装置角度との差分が限界角度を超えた異常時に、読取結果を表示部14で青色表示し、同じく限界角度を超えずにデコードが成功して完了した場合に、読取結果を表示部14で赤色表示したが、これに限定されるものではない。例えば、表示色は、他の色でもよい。また、異常傾き時又は正常傾き時に、その旨のメッセージとともに読取結果を表示部14で表示する構成としてもよい。また、ハンディターミナル1が通知部(音出力部)としてのスピーカを備え、異常傾き時である旨とともに読取結果をスピーカで音声出力し、正常傾き時である旨とともに読取結果をスピーカで音声出力する構成としてもよい。また、上記の表示部14によるメッセージ表示、表示部14による色分け表示、ブザー20による音出力、LED21による点灯(点滅)、色分け点灯、スピーカによる音声出力等の少なくとも2つを組み合わせる構成としてもよい。   In the embodiment and the modification described above, when the difference between the base point angle of the handy terminal 1 (case 2) and the device angle exceeds the limit angle, the reading result is displayed in blue on the display unit 14, and the limit angle is also displayed. When the decoding is successful and completed without exceeding, the reading result is displayed in red on the display unit 14, but the present invention is not limited to this. For example, the display color may be another color. In addition, the reading result may be displayed on the display unit 14 together with a message to that effect during abnormal tilt or normal tilt. In addition, the handy terminal 1 includes a speaker as a notification unit (sound output unit), and outputs a reading result by a speaker along with an abnormal inclination, and outputs a reading result through a speaker along with a normal inclination. It is good also as a structure. Moreover, it is good also as a structure which combines at least 2 of the message display by said display part 14, the color-coded display by the display part 14, the sound output by the buzzer 20, lighting (flashing) by LED21, color-coded lighting, and the audio | voice output by a speaker.

また、上記実施の形態及び変形例では、基点角度をユーザ入力により自在に設定した構成であったが、これに限定されるものではない。例えば、バーコードの基点角度が常に決まっていれば、その基点角度が予め設定されてフラッシュメモリ17等に記憶されており、スキャン教示やスキャン実行の際に、基点角度の入力を行うことなく、フラッシュメモリ17等に記憶された基点角度が読み出されることとしてもよい。   Moreover, in the said embodiment and modification, although it was the structure which set the base point angle freely by user input, it is not limited to this. For example, if the base point angle of the barcode is always determined, the base point angle is set in advance and stored in the flash memory 17 or the like, and without inputting the base point angle at the time of scan teaching or scan execution, The base point angle stored in the flash memory 17 or the like may be read out.

また、上記実施の形態及び変形例では、ハンディターミナル1が、レーザスキャナであるスキャナ部16により、シンボルとして一次元バーコードを読み取る構成としたが、これに限定されるものではない。例えば、ハンディターミナル1が、イメージスキャナ等、他のスキャナ部を備る構成としてもよい。例えば、このイメージスキャナにより、一次元バーコードや、スタック型2次元コード、QRコード等の2次元コード等、他のシンボルを読み取る構成としてもよい。   Moreover, in the said embodiment and modification, although the handy terminal 1 was set as the structure which reads a one-dimensional barcode as a symbol by the scanner part 16 which is a laser scanner, it is not limited to this. For example, the handy terminal 1 may include another scanner unit such as an image scanner. For example, the image scanner may be configured to read other symbols such as a one-dimensional barcode, a two-dimensional code such as a stack type two-dimensional code, and a QR code.

また、上記各実施の形態では、シンボル読取装置としてハンディターミナルを用いる構成としたが、これに限定されるものではない。シンボル読取装置としては、携帯電話機、PHS(Personal Handyphone System)、PDA(Personal Digital Assistant)等、他のシンボル読取機能を有する装置を用いることとしてもよい。   In each of the above embodiments, the handy terminal is used as the symbol reading device. However, the present invention is not limited to this. As the symbol reading device, a device having another symbol reading function such as a mobile phone, a PHS (Personal Handyphone System), or a PDA (Personal Digital Assistant) may be used.

また、上記実施の形態及び変形例におけるハンディターミナル1の各構成要素の細部構成及び細部動作に関しては、本発明の趣旨を逸脱することのない範囲で適宜変更可能であることは勿論である。   In addition, it goes without saying that the detailed configuration and detailed operation of each component of the handy terminal 1 in the above-described embodiments and modifications can be appropriately changed without departing from the spirit of the present invention.

1 ハンディターミナル
2 ケース
2A 正面
11 CPU
12 操作部
12A トリガキー
12B 各種キー
13 RAM
14 表示部
15 ROM
16 スキャナ部
17 フラッシュメモリ
18 I/F部
19 加速度センサ
20 ブザー
21 LED
22 電源部
23 バス
1 Handy Terminal 2 Case 2A Front 11 CPU
12 Operation unit 12A Trigger key 12B Various keys 13 RAM
14 Display 15 ROM
16 Scanner unit 17 Flash memory 18 I / F unit 19 Acceleration sensor 20 Buzzer 21 LED
22 power supply 23 bus

Claims (5)

シンボルをスキャンするスキャナ部と、
3次元の加速度を検出する加速度センサと、
情報をユーザに通知する通知部と、
前記スキャナ部によりシンボルをスキャンさせてデコードするとともに、シンボル読み取りに適切な自装置の傾き角度である基点角度を取得し、前記加速度センサにより検出された加速度を用いて自装置の傾き角度を装置角度として算出し、前記基点角度と前記装置角度との差分が限界角度を超えているか否かを判別し、前記差分が前記限界角度を超えている場合に、限界角度を超えている旨を前記通知部に通知させる制御部と、を備えるシンボル読取装置。
A scanner unit for scanning symbols;
An acceleration sensor for detecting three-dimensional acceleration;
A notification unit for notifying the user of information;
The scanner unit scans and decodes the symbol, obtains a base point angle that is an inclination angle of the own apparatus suitable for symbol reading, and uses the acceleration detected by the acceleration sensor to determine the inclination angle of the own apparatus. To determine whether the difference between the base angle and the device angle exceeds a limit angle, and when the difference exceeds the limit angle, the notification that the limit angle is exceeded A symbol reading device.
前記通知部は、表示部、音出力部及び光点灯部の少なくとも一つを有し、
前記制御部は、前記差分が前記限界角度を超えている場合に、限界角度を超えている旨を、前記表示部による色表示と、前記表示部によるメッセージ表示と、前記音出力部による音出力と、前記光点灯部による光点灯との少なくとも一つにより、前記通知部に通知させる請求項1に記載のシンボル読取装置。
The notification unit includes at least one of a display unit, a sound output unit, and a light lighting unit,
When the difference exceeds the limit angle, the control unit indicates that the limit angle is exceeded, a color display by the display unit, a message display by the display unit, and a sound output by the sound output unit. The symbol reading apparatus according to claim 1, wherein the notification unit is notified by at least one of light lighting by the light lighting unit.
前記制御部は、前記加速度センサにより検出された加速度データを用いて自装置の傾き角度を基点角度として算出して取得する請求項1又は2に記載のシンボル読取装置。   The symbol reading device according to claim 1, wherein the control unit calculates and acquires the tilt angle of the device as a base point angle using acceleration data detected by the acceleration sensor. 前記制御部は、前記差分が限界角度を超えており且つ前記デコードが成功した場合に、前記差分が限界角度を超えて且つデコードが成功した旨を前記通知部に通知させる請求項1から3のいずれか一項に記載のシンボル読取装置。   The control unit, when the difference exceeds a limit angle and the decoding is successful, causes the notification unit to notify that the difference exceeds the limit angle and the decoding is successful. The symbol reading device according to any one of claims. シンボル読取装置に搭載されたコンピュータを、
シンボルをスキャンするスキャナ部、
3次元の加速度を検出する加速度センサ、
情報をユーザに通知する通知部、
前記スキャナ部によりシンボルをスキャンさせてデコードするとともに、シンボル読み取りに適切な自装置の傾き角度である基点角度を取得し、前記加速度センサにより検出された加速度を用いて自装置の傾き角度を装置角度として算出し、前記基点角度と前記装置角度との差分が限界角度を超えているか否かを判別し、前記差分が前記限界角度を超えている場合に、限界角度を超えている旨を前記通知部に通知させる制御部、
として機能させるためのプログラム。
The computer installed in the symbol reader
A scanner unit for scanning symbols,
An acceleration sensor for detecting three-dimensional acceleration,
A notification unit for notifying the user of information,
The scanner unit scans and decodes the symbol, obtains a base point angle that is an inclination angle of the own apparatus suitable for symbol reading, and uses the acceleration detected by the acceleration sensor to determine the inclination angle of the own apparatus. To determine whether the difference between the base angle and the device angle exceeds a limit angle, and when the difference exceeds the limit angle, the notification that the limit angle is exceeded Control unit to notify the unit,
Program to function as.
JP2009196161A 2009-08-27 2009-08-27 Portable terminal device and program Expired - Fee Related JP5413057B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009196161A JP5413057B2 (en) 2009-08-27 2009-08-27 Portable terminal device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009196161A JP5413057B2 (en) 2009-08-27 2009-08-27 Portable terminal device and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2013231638A Division JP5761307B2 (en) 2013-11-08 2013-11-08 Portable terminal device and program

Publications (2)

Publication Number Publication Date
JP2011048599A true JP2011048599A (en) 2011-03-10
JP5413057B2 JP5413057B2 (en) 2014-02-12

Family

ID=43834857

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009196161A Expired - Fee Related JP5413057B2 (en) 2009-08-27 2009-08-27 Portable terminal device and program

Country Status (1)

Country Link
JP (1) JP5413057B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016181286A (en) * 2016-06-29 2016-10-13 カシオ計算機株式会社 Portable terminal device and program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1185387A (en) * 1997-09-12 1999-03-30 Ricoh Co Ltd Posture input device, pen-type input device having posture input function, and pen-type input system having the pen-type input device
JP2000020199A (en) * 1998-07-03 2000-01-21 Nec Corp Portable information terminal and information collecting system using this
JP2006309412A (en) * 2005-04-27 2006-11-09 Denso Wave Inc Information code reading device
JP2008028728A (en) * 2006-07-21 2008-02-07 Fujifilm Corp Digital camera

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1185387A (en) * 1997-09-12 1999-03-30 Ricoh Co Ltd Posture input device, pen-type input device having posture input function, and pen-type input system having the pen-type input device
JP2000020199A (en) * 1998-07-03 2000-01-21 Nec Corp Portable information terminal and information collecting system using this
JP2006309412A (en) * 2005-04-27 2006-11-09 Denso Wave Inc Information code reading device
JP2008028728A (en) * 2006-07-21 2008-02-07 Fujifilm Corp Digital camera

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016181286A (en) * 2016-06-29 2016-10-13 カシオ計算機株式会社 Portable terminal device and program

Also Published As

Publication number Publication date
JP5413057B2 (en) 2014-02-12

Similar Documents

Publication Publication Date Title
US7090137B1 (en) Data collection device having visual display of feedback indicators and messages
US10810412B2 (en) Method, system and apparatus for gesture-based configuration of paired scanner
JP4460611B2 (en) Product registration system and method
JP2007207085A (en) Optical information reader
US20130221099A1 (en) Information processing device, information processing method and computer readable storage medium
CN108537078A (en) Reading device and portable terminal
JP5761307B2 (en) Portable terminal device and program
US7222790B2 (en) Apparatus for optically reading information
JP4968093B2 (en) Optical information reader
JP5413057B2 (en) Portable terminal device and program
US10565414B2 (en) Barcode reading device, control method and computer-readable storage medium
WO2001063546A1 (en) Bar code reading device and bar code reading method
US8757492B2 (en) Scanner device and computer program product
JP6052339B2 (en) Portable terminal device and program
JP5413006B2 (en) Portable terminal device and program
JP5233276B2 (en) Bar code reader and program
JP5240124B2 (en) Optical information reader
JP7492341B2 (en) Radio tag reader and program
JPH08263585A (en) Code reader
US8746567B2 (en) Barcode reader and computer program product
JP5780192B2 (en) Information code reader
JP4873312B2 (en) Optical information reader
JP5212389B2 (en) Optical information reader
JP2007004699A (en) Reader
JP2013206128A (en) Information code reader

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120628

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20120628

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130516

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130521

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130708

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130730

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130912

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131028

R150 Certificate of patent or registration of utility model

Ref document number: 5413057

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees