JP6938952B2 - Mobile terminal device and serial code extraction program - Google Patents
Mobile terminal device and serial code extraction program Download PDFInfo
- Publication number
- JP6938952B2 JP6938952B2 JP2017032032A JP2017032032A JP6938952B2 JP 6938952 B2 JP6938952 B2 JP 6938952B2 JP 2017032032 A JP2017032032 A JP 2017032032A JP 2017032032 A JP2017032032 A JP 2017032032A JP 6938952 B2 JP6938952 B2 JP 6938952B2
- Authority
- JP
- Japan
- Prior art keywords
- serial code
- unit
- image data
- mobile terminal
- terminal device
- 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
Links
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Character Input (AREA)
Description
本発明は、移動端末装置、シリアルコード抽出用プログラム及びサーバ装置に関する。 The present invention relates to a mobile terminal device, a serial code extraction program, and a server device.
従来、例えば、シリアルコードを含む画像をCCD(Charge-Coupled Device)カメラで撮影して画像データを取得し、取得した画像データ内のシリアルコードをOCR(Optical Character Recognition)で認識する技術がある(例えば、特許文献1参照)。
しかしながら、この特許文献1に記載の技術では、シリアルコードの画像データに、シリアルコード周辺の数字や文字等も混じり込むと、シリアルコードだけでなくこれらの数字や文字等も認識されるため、シリアルコードを適切に抽出することが困難であった。
Conventionally, for example, there is a technique of capturing an image including a serial code with a CCD (Charge-Coupled Device) camera to acquire image data, and recognizing the serial code in the acquired image data by OCR (Optical Character Recognition) (OCR (Optical Character Recognition)). For example, see Patent Document 1).
However, in the technique described in
本発明は、上記のような点に着目し、シリアルコードを適切に抽出可能な移動端末装置、シリアルコード抽出用プログラム及びサーバ装置を提供することを目的とする。 Focusing on the above points, an object of the present invention is to provide a mobile terminal device, a serial code extraction program, and a server device capable of appropriately extracting a serial code.
上記課題を解決するために、本発明の一態様は、(a)予め定められたシリアルコードのフォーマット情報を記憶している情報記憶部と、(b)シリアルコードを含む画像を撮影して画像データを取得する撮影部と、(c)撮影部で取得した画像データから、情報記憶部が記憶しているフォーマット情報に合致する部分をシリアルコードとして抽出するシリアルコード抽出部と、を備える移動通信端末であることを要旨とする。 In order to solve the above problems, one aspect of the present invention is to (a) an information storage unit that stores predetermined serial code format information, and (b) an image including an image including the serial code. Mobile communication including a photographing unit for acquiring data and (c) a serial code extracting unit for extracting a part matching the format information stored in the information storage unit as a serial code from the image data acquired by the photographing unit. The gist is that it is a terminal.
本発明のさらに他の態様は、移動端末装置を、(a)撮影部で取得した画像データを取得する画像データ取得部、及び、(b)取得した画像データから、移動端末装置の情報記憶部が記憶している予め定められたシリアルコードのフォーマット情報に合致する部分を、シリアルコードとして抽出するシリアルコード抽出部として機能させるシリアルコード抽出用プログラムであることを要旨とする。 In still another aspect of the present invention, the mobile terminal device is (a) an image data acquisition unit that acquires image data acquired by the photographing unit, and (b) an information storage unit of the mobile terminal device from the acquired image data. The gist is that it is a serial code extraction program that functions as a serial code extraction unit that extracts a part that matches the predetermined serial code format information stored in the data as a serial code.
本発明のさらに他の態様は、(a)予め定められた複数のシリアルコードを記憶しているコード記憶部と、(b)移動端末装置から送信されるシリアルコードを受信するコード受信部と、(c)コード受信部で受信したシリアルコードが、コード記憶部が記憶している複数のシリアルコードのいずれかに合致しているかを判定するコード判定部と、(d)コード判定部で合致していると判定された場合にのみ、予め定められた所定の動作を行う所定動作実行部と、を備えるサーバ装置であることを要旨とする。 Yet another aspect of the present invention includes (a) a code storage unit that stores a plurality of predetermined serial codes, and (b) a code receiving unit that receives a serial code transmitted from a mobile terminal device. (C) A code determination unit that determines whether the serial code received by the code receiving unit matches any of a plurality of serial codes stored in the code storage unit, and (d) a code determination unit that matches. The gist is that the server device includes a predetermined operation execution unit that performs a predetermined predetermined operation only when it is determined to be the same.
本発明によれば、画像データにシリアルコード以外の数字や文字等が混じり込んでいても、シリアルコードを適切に抽出可能な移動端末装置、シリアルコード抽出用プログラム及びサーバ装置を提供することができる。 According to the present invention, it is possible to provide a mobile terminal device, a serial code extraction program, and a server device capable of appropriately extracting a serial code even if numbers and characters other than the serial code are mixed in the image data. ..
以下、本発明の実施形態を図面に基づき説明する。
本実施形態では、本発明を、商品に付されたシリアルコードを用いて行われ、商品の販売を促進するための販促キャンペーンを補助するキャンペーン補助システムに適用した。
なお、以下に示す実施形態は、本発明の技術的思想を具体化するための装置や方法を例示するものであって、本発明の技術的思想は、構成部品の形状、構造、及び配置等を下記のものに特定するものでない。本発明の技術的思想は、特許請求の範囲に記載された請求項が規定する技術的範囲内において、種々の変更を加えることができる。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
In the present embodiment, the present invention is applied to a campaign assistance system that assists a sales promotion campaign for promoting sales of a product, which is performed by using a serial code attached to the product.
The embodiments shown below exemplify devices and methods for embodying the technical idea of the present invention, and the technical idea of the present invention includes the shape, structure, arrangement, and the like of components. Is not specified as the following. The technical idea of the present invention may be modified in various ways within the technical scope specified by the claims stated in the claims.
(構成)
図1に示すように、キャンペーン補助システム1は、移動端末装置2と、OCRサーバ装置3と、サーバ装置(以下、「キャンペーンサーバ装置」とも呼ぶ)4とを備える。移動端末装置2、OCRサーバ装置3、及びキャンペーンサーバ装置4は、携帯電話網やインターネット等を用い、互いに各種データを送受信可能な通信路5を確立している。
移動端末装置2は、販促キャンペーンの応募者が所有する端末装置である。例えば、スマートフォンを採用できる。移動端末装置2は、図2に示すように、OCRサーバ装置3とプロセッサ24との間やキャンペーンサーバ装置4とプロセッサ24との間のデータの送受信を可能とするデータ送受信部20と、移動端末装置2の背面方向を撮影して画像データを取得する撮影部21(例えば、CCDカメラ)と、プロセッサ24からの命令を基に画像を表示する画像表示部22(例えば、タッチパネル付き液晶ディスプレイ)とを備える。また、予め定められたシリアルコードのフォーマット情報を記憶している情報記憶部23と、これら各部20〜23を用いプログラムに従って各種演算処理を行うプロセッサ24と、を備える。データ送受信部20、撮影部21、画像表示部22、情報記憶部23、及びプロセッサ24は、互いに各種データ授受可能にバス25で接続されている。
(composition)
As shown in FIG. 1, the campaign
The
ここで、予め定められたシリアルコードのフォーマット情報としては、例えば、シリアルコードの桁数、シリアルコードの行数、シリアルコードに用いられる記号の種類(数字、アルファベット)を採用できる。図3の例では、予め定められたシリアルコードのフォーマット情報として、シリアルコードの桁数が7、シリアルコードの行数が2、シリアルコードに用いられる記号の種類が1〜9の数字であることを表すものが用いられている。
また、プロセッサ24は、図4に示すように、画像データ取得部24a、シリアルコード抽出部24b、シリアルコード送信部24c、及び表示制御部24dとして移動端末装置2を機能させる。また、シリアルコード抽出部24bは、画像データ送信部24e、記号群受信部24f、及び抽出実行部24gとして移動端末装置2を機能させる。
Here, as the predetermined serial code format information, for example, the number of digits of the serial code, the number of lines of the serial code, and the type of symbol (number, alphabet) used for the serial code can be adopted. In the example of FIG. 3, the predetermined serial code format information is that the number of digits of the serial code is 7, the number of lines of the serial code is 2, and the types of symbols used in the serial code are
Further, as shown in FIG. 4, the
OCRサーバ装置3は、インターネット上でOCR処理のサービスを提供するサーバ装置である。例えば、Google社のCloud Vision APIを用いたサーバ装置を採用できる。OCRサーバ装置3は、図5に示すように、移動端末装置2とOCRサーバ装置3との間のデータの送受信を可能とするデータ送受信部30と、OCR処理に用いられる各種情報を記憶している情報記憶部31と、データ送受信部30及び情報記憶部31を用いプログラムに従って各種演算処理を行うプロセッサ32と、を備える。データ送受信部30、情報記憶部31、及びプロセッサ32は、互いに各種データ授受可能にバス33で接続されている。また、プロセッサ32は、図6に示すように、画像データ受信部32a、OCR処理実行部32b及び記号群送信部32cとして機能する。
The OCR server device 3 is a server device that provides an OCR processing service on the Internet. For example, a server device using Google's Cloud Vision API can be adopted. As shown in FIG. 5, the OCR server device 3 stores a data transmission /
キャンペーンサーバ装置4は、シリアルコードの判定等の各種サービスを提供するサーバ装置である。キャンペーンサーバ装置4は、図7に示すように、移動端末装置2とキャンペーンサーバ装置4との間のデータの送受信を可能とするデータ送受信部40と、予め定められた複数のシリアルコードを記憶しているコード記憶部41と、移動端末装置2のユーザに対応づけてポイントを記憶するポイント記憶部42と、データ送受信部40、コード記憶部41及びポイント記憶部42を用いプログラムに従って各種演算処理を行うプロセッサ43と、を備える。予め定められた複数のシリアルコードとしては、正規のシリアルコードを用いる。また、コード記憶部41は、図8に示すように、複数のシリアルコード(正規のシリアルコード)の各々に対応させて、各シリアルコードが使用されたか否かを表すフラグを記憶している。図8の例では、フラグが立てられた場合にフラグのフィールド値を「1」とし、フラグが立てられていない場合にフラグのフィールド値を「0」としている。また、ポイント記憶部42は、図9に示すように、複数のユーザのユーザIDの各々に対応させて、各ユーザに付与されたポイントを記憶している。データ送受信部30、コード記憶部41、ポイント記憶部42及びプロセッサ43は、互いに各種データ授受可能にバス44で接続されている。また、プロセッサ43は、図10に示すように、コード受信部43a、コード判定部43b、所定動作実行部43c、不正コード報知信号送信部43d、使用済みコード報知信号送信部43e及びフラグ設定部43fとして機能する。
The campaign server device 4 is a server device that provides various services such as determination of a serial code. As shown in FIG. 7, the campaign server device 4 stores a data transmission /
(シリアルコード抽出処理)
次に、プロセッサ24が実行するシリアルコード抽出処理について説明する。シリアルコード抽出処理は、図11(a)に示すように、キャンペーン応募用のWEBページが画像表示部22に表示され、表示されたWEBページの「シリアルコードを撮影して入力」の文字へのタッチ操作が画像表示部22(タッチパネル)で検出されると実行される。
図12に示すように、まずステップS101では、画像データ取得部24aが、撮影部21を起動させ、移動端末装置2の背面方向を撮影可能な状態とする。これにより、移動端末装置2のユーザ、つまり、シリアルコードの入力を行う人物は、移動端末装置2の背面方向をシリアルコードに向けて、画像表示部22をタッチ操作することで、図11(b)に示すように、シリアルコードが撮影されて画像データを取得する。そして、画像データが取得されると、画像データ取得部24aが、取得された画像データを取得する。図11(b)の例では、画像データには、シリアルコード周辺の数字や文字等も映っている。
(Serial code extraction process)
Next, the serial code extraction process executed by the
As shown in FIG. 12, first, in step S101, the image
続いてステップS102に移行して、画像データ送信部24eが、ステップS101で取得した画像データをデータ送受信部20を介してOCRサーバ装置3に送信する。これにより、OCRサーバ装置3は、送信された画像データにOCR処理を実行し、図13に示すように、画像データが含む文字、数字等の各種記号からなる記号群を抽出する。図13の例では、記号群には、シリアルコードとともに周辺の数字や文字も混じっている。
続いてステップS103に移行して、記号群受信部24fが、OCRサーバ装置3から抽出結果(記号群)が送信されるまで待機状態とする。そして、記号群が送信されると、記号群受信部24fが、送信された記号群をデータ送受信部20を介して受信する。
Subsequently, in step S102, the image
Subsequently, the process proceeds to step S103, and the symbol
続いてステップS104に移行して、抽出実行部24gが、ステップS103で受信した記号群のうちに、情報記憶部23が記憶しているフォーマット情報に合致する部分を、シリアルコードとして抽出する。これにより、図14に示すように、OCRサーバ装置3で抽出された記号群のうちから、シリアルコードの部分が抽出される。図14の例では、図3に示したフォーマット情報を基に、図13に示した記号群から7桁で且つ2行の数字列「6885394 7550180」が抽出されている。それゆえ、画像データにシリアルコード以外の記号群が紛れ込んでいても、シリアルコードを適切に抽出できる。
Subsequently, in step S104, the extraction execution unit 24g extracts a portion of the symbol group received in step S103 that matches the format information stored in the
続いてステップS105に移行して、シリアルコード送信部24cが、ステップS104で抽出したシリアルコードをデータ送受信部20を介してキャンペーンサーバ装置4に送信する。キャンペーンサーバ装置4に送信するシリアルコードには、ユーザIDを付加しておく。これにより、キャンペーンサーバ装置4は、送信されたシリアルコードを基に、シリアルコードの判定やポイント加算等、販促キャンペーンのための動作を行う。
続いてステップS106に移行して、表示制御部24dは、キャンペーンサーバ装置4から信号が送信されるまで待機状態とする。信号としては、例えば、不正なシリアルコードであることを報知する信号、使用済みのシリアルコードであることを報知する信号、蓄積ポイントを報知する信号がある。そして、信号が送信されると、表示制御部24dが、送信された信号をデータ送受信部20を介して受信し、図11(c)〜(e)に示すように、受信した信号に応じた画像を画像表示部22に表示させた後、このシリアルコード抽出処理を終了する。図11(c)の例では、画像表示部22には、不正なシリアルコードであることを報知する画像が表示されており、図11(d)の例では、画像表示部22には、使用済みのシリアルコードであることを報知する画像が表示されており、図11(e)の例では、画像表示部22には、蓄積ポイントを報知する画像が表示されている。
Subsequently, in step S105, the serial
Subsequently, the process proceeds to step S106, and the
(記号群抽出処理)
次に、OCRサーバ装置3が実行する記号群抽出処理について説明する。
記号群抽出処理は、移動端末装置2から画像データが送信されると実行される。
図15に示すように、まず、ステップS201では、画像データ受信部32aが、移動端末装置2から送信される画像データをデータ送受信部30を介して受信する。
続いてステップS202に移行して、OCR処理実行部32bが、ステップS201で受信した画像データにOCR処理を実行し、図11(b)、図13に示すように、画像データが含む記号群を抽出する。OCR処理では、記号群は、テキスト形式で抽出する。
続いてステップS203に移行して、記号群送信部32cが、ステップS202で抽出した記号群をデータ送受信部30を介して画像データの送信元の移動端末装置2に送信した後、この記号群抽出処理を終了する。これにより、移動端末装置2は、図14に示すように、受信した記号群(テキスト)のうちから、シリアルコードの部分を抽出する。
(Symbol group extraction process)
Next, the symbol group extraction process executed by the OCR server device 3 will be described.
The symbol group extraction process is executed when image data is transmitted from the mobile
As shown in FIG. 15, first, in step S201, the image
Subsequently, in step S202, the OCR
Subsequently, in step S203, the symbol
(ポイント付与処理)
次に、キャンペーンサーバ装置4が実行するポイント付与処理について説明する。
ポイント付与処理は、移動端末装置2からシリアルコードが送信されると実行される。
図16に示すように、まず、ステップS301では、コード受信部43aが、移動端末装置2から送信されるシリアルコードをデータ送受信部40を介して受信する。
続いてステップS302に移行して、コード判定部43bが、ステップS301で受信したシリアルコードが、コード記憶部41が記憶している複数のシリアルコード、つまり、正規のシリアルコードのいずれかに合致しているかを判定する。そして、いずれかに合致していると判定した場合には(Yes)、正規のシリアルコードであると判定して、ステップS304に移行する。一方、いずれにも合致していないと判定した場合には(No)、正規のシリアルコードではないと判定して、ステップS303に移行する。
(Point award processing)
Next, the point awarding process executed by the campaign server device 4 will be described.
The point awarding process is executed when the serial code is transmitted from the mobile
As shown in FIG. 16, first, in step S301, the
Subsequently, in step S302, the
ステップS303では、不正コード報知信号送信部43dが、不正なシリアルコードであることを報知する信号をデータ送受信部40を介してシリアルコードの送信元の移動端末装置2に送信した後、このポイント付与処理を終了する。これにより、後述する「予め定められた所定の動作」、つまり、ポイントの加算や蓄積ポイントの報告を行わない。
一方、ステップS304では、コード判定部43bが、図8に示すように、コード記憶部41が記憶しているフィールド値を参照し、ステップS302で合致すると判定されたシリアルコードに対して、シリアルコードが使用されたことを示すフラグが立てられているかを(フィールド値が「1」であるかを)判定する。そして、フラグが立てられていないと判定した場合には(Yes)、使用済みのシリアルコードではないと判定して、ステップS305に移行する。一方、フラグが立てられていると判定した場合には(No)、使用済みのシリアルコードであると判定して、ステップS306に移行する。
In step S303, after the invalid code notification
On the other hand, in step S304, as shown in FIG. 8, the
ステップS305では、使用済みコード報知信号送信部43eが、使用済みのシリアルコードであることを報知する信号をデータ送受信部40を介してシリアルコードの送信元の移動端末装置2に送信した後、このポイント付与処理を終了する。これにより、後述する「予め定められた所定の動作」、つまり、蓄積ポイントの演算や報告等を行わない。
一方、ステップS306では、フラグ設定部43fが、コード記憶部41が記憶している複数のシリアルコードのうち、ステップS302で合致していると判定されたシリアルコードに対して、そのシリアルコードが使用されたことを示すフラグを立てる。具体的には、図8に示すように、コード記憶部41が記憶しているレコードのうちから、ステップS302で合致していると判定されたシリアルコード(ステップS301で受信したシリアルコード)に対応するレコードの「フラグ」のフィールド値を「1」に変更する。
In step S305, the used code notification
On the other hand, in step S306, the
続いてステップS307に移行して、所定動作実行部43cが、図9に示すように、ポイント記憶部42が記憶しているポイントのうち、ステップS301で受信したシリアルコードに付加されているユーザIDが対応づけられているポイント、つまり、移動端末装置2のユーザに対応づけて記憶されているポイントに、予め定められた所定のポイント(例えば、10ポイント)を加算する。そして、加算後のポイントを報知する信号をデータ送受信部40を介してシリアルコードの送信元の移動端末装置2に送信した後、このポイント付与処理を終了する。
Subsequently, in step S307, as shown in FIG. 9, the predetermined
(動作その他)
次に、本実施形態のキャンペーン補助システム1の動作を説明する。
まず、移動端末装置2のユーザが、移動端末装置2を操作し、図11(a)に示すように、キャンペーン応募用のWEBページにアクセスし、画像表示部22に表示された「シリアルコードを撮影して入力」の文字をタッチ操作したとする。すると、図17に示すように、移動端末装置2が、撮影部21を起動させ、移動端末装置2の背面方向を撮影可能な状態となる(ステップS401)。続いて、移動端末装置2のユーザ、つまりシリアルコードの入力を行う人物が、撮影部21の背面方向をシリアルコードに向け、画像表示部22をタッチ操作したとする。すると、移動端末装置2が、図11(b)に示すように、シリアルコードを含む画像を撮影して画像データを取得し(ステップS402)、取得した画像データをOCRサーバ装置3に送信する(ステップS403)。図11(b)の例では、画像データには、シリアルコードとともに周辺の数字や文字等も映っている。
(Operation and others)
Next, the operation of the campaign assist
First, the user of the mobile
移動端末装置2から画像データが送信されると、OCRサーバ装置3が、送信された画像データを受信し(ステップS404)、受信した画像データにOCR処理を行って画像データが含む記号群を抽出する(ステップS405)。これにより、図13に示すように、シリアルコードとともに周辺の文字、数字等の各種記号からなる記号群が抽出される。続いて、OCRサーバ装置3が、抽出した記号群(シリアルコード+その他の数字や文字等のデータ)を画像データの送信元の移動端末装置2に送信する(ステップS406)。
OCRサーバ装置3から記号群が送信されると、移動端末装置2が、送信された記号群のうちに、情報記憶部23が記憶しているフォーマット情報に合致する部分をシリアルコードとして抽出する(ステップS407)。図14の例では、フォーマット情報として、図3の7桁で且つ2行の数字列を表すもの用いた場合、図13の記号群から「6885394 7550180」がシリアルコードとして抽出される。続いて、移動端末装置2が、抽出されたシリアルコードをキャンペーンサーバ装置4に送信する(ステップS408)。その際、シリアルコードには、ユーザID(例えば、「0001」)を付加しておく。
When the image data is transmitted from the mobile
When the symbol group is transmitted from the OCR server device 3, the mobile
このように、本実施形態に係る移動端末装置2によれば、OCRサーバ装置3で抽出された記号群のうちから、シリアルコードの部分が抽出される。それゆえ、画像データにシリアルコード以外の記号群が紛れ込んでいても、シリアルコードを適切に抽出できる。
移動端末装置2からシリアルコードが送信されると、キャンペーンサーバ装置4が、送信されたシリアルコードを受信し(ステップS409)、受信したシリアルコードが、コード記憶部41が記憶している複数のシリアルコードのいずれかに合致しているかを判定する(ステップS410)。図8の例では、コード記憶部41に「6885394 7550180」が正規のシリアルコードとして記憶されているため、受信したシリアルコードが、コード記憶部41に記憶されているシリアルコードと合致していると判定される。続いて、キャンペーンサーバ装置4が、コード記憶部41が記憶しているフィールド値を参照し、合致すると判定されたシリアルコードに対して、シリアルコードが使用されたことを示すフラグが立てられているかを判定する(ステップS411)。図9の例では、コード記憶部41に記憶されているシリアルコード「6885394 7550180」に対応するレコードの「フラグ」のフィールド値が「0」であるため、フラグが立てられてなく、使用済みのシリアルコードではないと判定される。続いて、キャンペーンサーバ装置4が、コード記憶部41が記憶している複数のシリアルコードのうち、合致していると判定されたシリアルコードに対して、そのシリアルコードが使用されたことを示すフラグを立てる(フィールド「フラグ」のフィールド値を「0」から「1」に変更する)。
As described above, according to the mobile
When the serial code is transmitted from the mobile
続いて、キャンペーンサーバ装置4が、ポイント記憶部42が記憶しているポイントのうち、受信したシリアルコードに付加されているユーザIDが対応づけられているポイント、つまり移動端末装置2のユーザに対応づけて記憶されているポイントに所定のポイント(10ポイント)を加算する(ステップS412)。図9の例では、ポイント記憶部42に記憶されているユーザID「0001」に対応するレコードのポイントのフィールド値「100」に10ポイントが加算されるため、ポイントのフィールド値が「110」に書き換えられる。続いて、キャンペーンサーバ装置4が、加算後のポイントを報知する信号をシリアルコードの送信元の移動端末装置2に送信する(ステップS413)。
キャンペーンサーバ装置4から信号が送信されると、移動端末装置2が、送信された信号を基にポイントを報知する画像を画像表示部22に表示させる(ステップS414)。
このように、本実施形態に係るキャンペーン補助システム1によれば、商品に付されたシリアルコードを用いて行われ、商品の販売を促進するための販促キャンペーンを補助することができ、シリアルコードが付与された商品の購買を促進させることができる。
Subsequently, the campaign server device 4 corresponds to the points stored in the
When a signal is transmitted from the campaign server device 4, the mobile
As described above, according to the
(本実施形態の効果)
(1)本実施形態に係る移動端末装置2では、撮影部21で取得した画像データから、情報記憶部23が記憶しているフォーマット情報に合致する部分をシリアルコードとして抽出するようにした。そのため、画像データにシリアルコード以外の数字や文字などが混じり込んでいても、シリアルコードを適切に抽出することができる。
(2)また、本実施形態に係る移動端末装置2では、撮影部21で取得した画像データを、OCR処理を行って画像データが含む記号群を抽出するOCRサーバ装置3に送信し、OCRサーバ装置3から、抽出された記号群を受信するようにした。そのため、移動端末装置2の処理負荷を低減でき、処理能力の低い装置で移動端末装置2を実現できる。
(Effect of this embodiment)
(1) In the mobile
(2) Further, in the mobile
(3)また、本実施形態に係る移動端末装置2では、フォーマット情報として、シリアルコードの桁数を含むものを用いるようにした。そのため、画像データが含む記号群のうちから、シリアルコードを比較的容易に抽出することができる。
(4)また、本実施形態に係る移動端末装置2では、フォーマット情報として、シリアルコードの行数を含むものを用いるようにした。そのため、画像データが含む記号群のうちから、シリアルコードを比較的容易に抽出することができる。
(5)また、本実施形態に係る移動端末装置2では、フォーマット情報として、シリアルコードに用いられる記号の種類を含むものを用いるようにした。そのため、画像データが含む記号群のうちから、シリアルコードを比較的容易に抽出することができる。
(3) Further, in the mobile
(4) Further, in the mobile
(5) Further, in the mobile
(6)また、本実施形態に係るシリアルコード抽出方法は、撮影部21で取得した画像データを移動端末装置2が取得するステップと、移動端末装置2が、取得した画像データから、移動端末装置2の情報記憶部23が記憶している予め定められたシリアルコードのフォーマット情報に合致する部分を、シリアルコードとして抽出するステップと、を含むようにした。そのため、画像データにシリアルコード以外の数字や文字などが混じり込んでいても、シリアルコードを適切に抽出することができる。
(7)また、本実施形態に係るシリアルコード抽出用プログラムは、移動端末装置2を、撮影部21で取得した画像データを取得する画像データ取得部24a、及び、取得した画像データから、移動端末装置2の情報記憶部23が記憶している予め定められたシリアルコードのフォーマット情報に合致する部分を、シリアルコードとして抽出するシリアルコード抽出部24bとして機能させるようにした。そのため、画像データにシリアルコード以外の数字や文字などが混じり込んでいても、シリアルコードを適切に抽出することができる。
(6) Further, in the serial code extraction method according to the present embodiment, the step of acquiring the image data acquired by the photographing
(7) Further, in the serial code extraction program according to the present embodiment, the mobile
(8)また、本実施形態に係るキャンペーンサーバ装置4は、移動端末装置2から送信されるシリアルコードを受信し、受信したシリアルコードが、コード記憶部41が記憶している複数のシリアルコードのいずれかに合致しているかを判定し、合致していると判定された場合にのみ、予め定められた所定の動作を行うようにした。これにより、不正なシリアルコードが送信された場合には、所定の動作(ポイントの付与等)が行われずに済む。
(9)また、本実施形態に係るキャンペーンサーバ装置4は、コード判定部43bで合致していないと判定された場合に、不正なシリアルコードであることを報知する信号を移動端末装置2に送信するようにした。これにより、不正なシリアルコードであることを、シリアルコードの送信元の移動端末装置2のユーザに知らせることができる。
(8) Further, the campaign server device 4 according to the present embodiment receives the serial code transmitted from the mobile
(9) Further, when the
(10)また、本実施形態に係るキャンペーンサーバ装置4は、受信したシリアルコードに合致すると判定されたコード記憶部41が記憶しているシリアルコードにフラグが立てられていると判定した場合、所定の動作(ポイントの付与)を行わないようにした。これにより、使用済みのシリアルコードが送信された場合に、所定の動作が行われずに済む。
(11)また、本実施形態に係るキャンペーンサーバ装置4は、コード判定部43bでフラグが立てられていると判定された場合に、使用済みのシリアルコードであることを報知する信号を移動端末装置2に送信するようにした。これにより、使用済みのシリアルコードであることを、送信元の移動端末装置2のユーザに知らせることができる。
(10) Further, when the campaign server device 4 according to the present embodiment determines that the serial code stored in the
(11) Further, the campaign server device 4 according to the present embodiment sends a signal to notify that the serial code has been used when the
(12)また、本実施形態に係るキャンペーンサーバ装置4は、所定の動作として、移動端末装置2のユーザに対応付けて記憶されているポイントに予め定められた所定のポイントを加算するようにした。これにより、シリアルコードの送付の動機づけを与えることができ、シリアルコードが付与された商品の購買を促進させることができる。
(13)なお、本実施形態では、キャンペーンサーバ装置4が、所定の動作として、ポイントの加算を行う例を示したが、他の構成を採用することもできる。例えば、所定の動作として、コード受信部43aで受信したシリアルコードに基づき当たり抽選を行うようにしてもよい。具体的には、例えば、シリアルコードを受信するたびに乱数値を取得し、取得した乱数値が予め定められた所定値である場合には当たりとし、所定値ではない場合には外れとする。また、例えば、シリアルコードに「当たり」または「外れ」のいずれかを対応づけておき、シリアルコードを受信するたびに「当たり」のシリアルコードであるかを判定するようにしてもよい。これにより、当たりを引くことを目的として、シリアルコードの送付の動機づけを与え、シリアルコードが付与された商品の購買を促進できる。
(12) Further, the campaign server device 4 according to the present embodiment adds a predetermined predetermined point to the points stored in association with the user of the mobile
(13) In the present embodiment, the campaign server device 4 shows an example in which points are added as a predetermined operation, but other configurations may be adopted. For example, as a predetermined operation, a winning lottery may be performed based on the serial code received by the
(14)また、本実施形態に係る所定動作実行方法は、移動端末装置2から送信されるシリアルコードをキャンペーンサーバ装置4が受信するステップと、キャンペーンサーバ装置4が、受信したシリアルコードが予め定められた複数のシリアルコードのいずれかに合致しているかを判定するステップと、キャンペーンサーバ装置4が、合致していると判定された場合にのみ、予め定められた所定の動作を行うステップと、を含むようにした。これにより、不正なシリアルコードが送信された場合には、所定の動作が行われずに済む。
(15)また、本実施形態に係る所定動作実行用プログラムは、キャンペーンサーバ装置4を、移動端末装置2から送信されるシリアルコードを受信するコード受信部43aと、受信したシリアルコードが、予め定められた複数のシリアルコードのいずれかに合致しているかを判定するコード判定部43bと、合致していると判定された場合にのみ、予め定められた所定の動作を行う所定動作実行部43cとして機能させるようにした。これにより、不正なシリアルコードが送信された場合には、所定の動作が行われずに済む。
(14) Further, in the predetermined operation execution method according to the present embodiment, the step of receiving the serial code transmitted from the mobile
(15) Further, in the predetermined operation execution program according to the present embodiment, the campaign server device 4 is predetermined by the
(変形例)
(1)なお、本実施形態では、OCR処理をOCRサーバ装置3で実行する例を示したが、他の構成を採用してもよい。例えば、移動端末装置2で実行する構成としてもよい。
(Modification example)
(1) Although the example in which the OCR process is executed by the OCR server device 3 is shown in the present embodiment, another configuration may be adopted. For example, it may be configured to be executed by the mobile
1 キャンペーン補助システム、2 移動端末装置、3 OCRサーバ装置、4 キャンペーンサーバ装置、5 通信路、20 データ送受信部、21 撮影部、22 画像表示部、23 情報記憶部、24 プロセッサ、24a 画像データ取得部、24b シリアルコード抽出部、24c シリアルコード送信部、24d 表示制御部、24e 画像データ送信部、24f 記号群受信部、24g 抽出実行部、25 バス、30 データ送受信部、31 情報記憶部、32 プロセッサ、32a 画像データ受信部、32b OCR処理実行部、32c 記号群送信部、33 バス、40 データ送受信部、41 コード記憶部、42 ポイント記憶部、43 プロセッサ、43a コード受信部、43b コード判定部、43c 所定動作実行部、43d 不正コード報知信号送信部、43e 使用済みコード報知信号送信部、43f フラグ設定部、44 バス 1 Campaign auxiliary system, 2 Mobile terminal device, 3 OCR server device, 4 Campaign server device, 5 Communication path, 20 Data transmission / reception unit, 21 Imaging unit, 22 Image display unit, 23 Information storage unit, 24 Processor, 24a Image data acquisition Unit, 24b serial code extraction unit, 24c serial code transmission unit, 24d display control unit, 24e image data transmission unit, 24f symbol group reception unit, 24g extraction execution unit, 25 bus, 30 data transmission / reception unit, 31 information storage unit, 32 Processor, 32a image data receiver, 32b OCR processing execution unit, 32c symbol group transmission unit, 33 bus, 40 data transmission / reception unit, 41 code storage unit, 42 point storage unit, 43 processor, 43a code receiver unit, 43b code determination unit , 43c Predetermined operation execution unit, 43d Illegal code notification signal transmission unit, 43e Used code notification signal transmission unit, 43f flag setting unit, 44 bus
Claims (4)
シリアルコードを含む画像を撮影して画像データを取得する撮影部と、
前記撮影部で取得した画像データから、前記情報記憶部が記憶しているフォーマット情報に合致する部分をシリアルコードとして抽出するシリアルコード抽出部と、を備え、
前記フォーマット情報は、シリアルコードの行数及び各行の桁数を含むことを特徴とする移動端末装置。 An information storage unit that stores predetermined serial code format information,
A shooting unit that shoots an image including a serial code and acquires image data,
A serial code extraction unit that extracts a portion matching the format information stored in the information storage unit as a serial code from the image data acquired by the photographing unit is provided .
The format information is a mobile terminal device including the number of lines of a serial code and the number of digits of each line.
前記撮影部で取得した画像データを、該画像データにOCR処理を行って該画像データが含む記号群を抽出するOCRサーバ装置に送信する画像データ送信部と、
前記OCRサーバ装置から、抽出された記号群を受信する記号群受信部と、
前記記号群受信部で受信した記号群のうち、前記情報記憶部が記憶しているフォーマット情報に合致する部分をシリアルコードとして抽出する抽出実行部と、を備えることを特徴とする請求項1に記載の移動端末装置。 The serial code extraction unit
An image data transmission unit that transmits the image data acquired by the imaging unit to an OCR server device that performs OCR processing on the image data and extracts a symbol group included in the image data.
A symbol group receiving unit that receives the symbol group extracted from the OCR server device, and
The first aspect of claim 1 is provided with an extraction execution unit that extracts a portion of the symbol group received by the symbol group receiving unit that matches the format information stored in the information storage unit as a serial code. The mobile terminal device described.
撮影部で取得した画像データを取得する画像データ取得部、
及び、取得した画像データから、前記移動端末装置の情報記憶部が記憶している予め定められたシリアルコードのフォーマット情報に合致する部分を、シリアルコードとして抽出するシリアルコード抽出部として機能させるとともに、
前記フォーマット情報は、シリアルコードの行数及び各行の桁数を含むことを特徴とするシリアルコード抽出用プログラム。 Mobile terminal device,
Image data acquisition unit that acquires image data acquired by the shooting unit,
And, from the acquired image data, a portion-information storage unit of the mobile terminal apparatus meets a predetermined format information of serial codes stored, to function as a serial code extraction unit that extracts as a serial code Rutotomoni ,
The format information is a serial code extraction program characterized by including the number of lines of the serial code and the number of digits of each line.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2017032032A JP6938952B2 (en) | 2017-02-23 | 2017-02-23 | Mobile terminal device and serial code extraction program |
| JP2021030760A JP7103459B2 (en) | 2017-02-23 | 2021-02-26 | system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2017032032A JP6938952B2 (en) | 2017-02-23 | 2017-02-23 | Mobile terminal device and serial code extraction program |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021030760A Division JP7103459B2 (en) | 2017-02-23 | 2021-02-26 | system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2018136830A JP2018136830A (en) | 2018-08-30 |
| JP6938952B2 true JP6938952B2 (en) | 2021-09-22 |
Family
ID=63366928
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2017032032A Active JP6938952B2 (en) | 2017-02-23 | 2017-02-23 | Mobile terminal device and serial code extraction program |
| JP2021030760A Active JP7103459B2 (en) | 2017-02-23 | 2021-02-26 | system |
Family Applications After (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021030760A Active JP7103459B2 (en) | 2017-02-23 | 2021-02-26 | system |
Country Status (1)
| Country | Link |
|---|---|
| JP (2) | JP6938952B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR102146088B1 (en) * | 2018-09-13 | 2020-08-19 | 삼육대학교산학협력단 | User Authentication System using OCR |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2014160409A (en) * | 2013-02-20 | 2014-09-04 | Jalux:Kk | Mile awarding support system, mile awarding support method, and mile awarding support program |
| JP6527410B2 (en) * | 2015-07-06 | 2019-06-05 | 株式会社日立システムズ | Character recognition device, character recognition method, and program |
-
2017
- 2017-02-23 JP JP2017032032A patent/JP6938952B2/en active Active
-
2021
- 2021-02-26 JP JP2021030760A patent/JP7103459B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP7103459B2 (en) | 2022-07-20 |
| JP2021103531A (en) | 2021-07-15 |
| JP2018136830A (en) | 2018-08-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9588957B2 (en) | Dictionary update method, dictionary update system, and dictionary update program | |
| CN110503023A (en) | Living body detection method and device, electronic device and storage medium | |
| CN111368578A (en) | Information processing method and electronic equipment | |
| US12573048B2 (en) | Disarranged-image processing method, device and storage medium | |
| CN103179246A (en) | System and method of anti-spoofing notification based on cell-phone message contents | |
| CN107730260B (en) | Method, equipment and terminal for realizing two-dimensional code payment | |
| WO2020063115A1 (en) | Graphic coding display method and apparatus | |
| JP7103459B2 (en) | system | |
| US10104091B2 (en) | Authenticating apparatus, authenticating system and storage medium | |
| CN107168536A (en) | Test question searching method, test question searching device and electronic terminal | |
| JP6372396B2 (en) | Information transmission system | |
| CN113128244A (en) | Scanning method and device and electronic equipment | |
| JP6428152B2 (en) | Portrait right protection program, information communication device, and portrait right protection method | |
| CN110971820B (en) | Photographing method, photographing device, mobile terminal and computer readable storage medium | |
| CN107203964A (en) | Image processing method and device | |
| JP2012226085A (en) | Electronic apparatus, control method and control program | |
| US20200012855A1 (en) | Operation assistance apparatus, operation assistance method, and computer readable recording medium | |
| CN106254953B (en) | A kind of image display method and device, picture receive terminal | |
| JP6558145B2 (en) | Information processing terminal, information processing system, processing method thereof, and program | |
| CN109447621A (en) | Method of payment and equipment | |
| JP5223739B2 (en) | Portable character recognition device, character recognition program, and character recognition method | |
| CN113888764A (en) | Information processing apparatus, information processing system, non-transitory computer-readable medium, and information processing method | |
| JP6431960B2 (en) | Information processing apparatus, information processing system, and information processing program | |
| JP7316082B2 (en) | Server device, information system, information processing method, and program | |
| CN111784427A (en) | Product information processing method, device and storage medium based on electronic shelf |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200123 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210120 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210202 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210226 |
|
| 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: 20210803 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210816 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6938952 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |