Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6938952B2 - Mobile terminal device and serial code extraction program - Google Patents
[go: Go Back, main page]

JP6938952B2 - Mobile terminal device and serial code extraction program - Google Patents

Mobile terminal device and serial code extraction program Download PDF

Info

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
Application number
JP2017032032A
Other languages
Japanese (ja)
Other versions
JP2018136830A (en
Inventor
猛 成▲瀬▼
猛 成▲瀬▼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toppan Inc
Original Assignee
Toppan Inc
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 Toppan Inc filed Critical Toppan Inc
Priority to JP2017032032A priority Critical patent/JP6938952B2/en
Publication of JP2018136830A publication Critical patent/JP2018136830A/en
Priority to JP2021030760A priority patent/JP7103459B2/en
Application granted granted Critical
Publication of JP6938952B2 publication Critical patent/JP6938952B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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 Patent Document 1, when numbers and characters around the serial code are mixed in the image data of the serial code, not only the serial code but also these numbers and characters are recognized. It was difficult to properly extract the code.

特開2015−233212号公報JP-A-2015-233212

本発明は、上記のような点に着目し、シリアルコードを適切に抽出可能な移動端末装置、シリアルコード抽出用プログラム及びサーバ装置を提供することを目的とする。 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. ..

実施形態に係るキャンペーン実施用システムの構成を表す構成図である。It is a block diagram which shows the structure of the campaign execution system which concerns on embodiment. 移動通信端末の内部構成を表すブロック図である。It is a block diagram which shows the internal structure of a mobile communication terminal. シリアルコードのフォーマット情報を表す図である。It is a figure which shows the format information of a serial code. 移動端末装置で実現される機能構成を表すブロック図である。It is a block diagram which shows the functional structure realized by the mobile terminal apparatus. OCRサーバ装置の内部構成を表すブロック図である。It is a block diagram which shows the internal structure of an OCR server apparatus. OCRサーバ装置で実現される機能構成を表すブロック図である。It is a block diagram which shows the functional structure realized by the OCR server apparatus. キャンペーンサーバ装置の内部構成を表すブロック図である。It is a block diagram which shows the internal structure of a campaign server device. コード記憶部が記憶しているシリアルコードとフラグとを表す図である。It is a figure which shows the serial code and the flag which the code storage part stores. ポイント記憶部が記憶しているポイントとユーザIDとを表す図である。It is a figure which shows the point stored in the point storage part, and the user ID. キャンペーンサーバ装置で実現される機能構成を表すブロック図である。It is a block diagram which shows the functional structure realized by a campaign server device. 画像表示部に表示される画像を表す図である。It is a figure which shows the image which is displayed on the image display part. シリアルコード抽出処理を表すフローチャートである。It is a flowchart which shows the serial code extraction process. OCRサーバ装置で抽出される記号群を表す図である。It is a figure which shows the symbol group extracted by the OCR server apparatus. 記号群から抽出されるシリアルコードを表す図である。It is a figure which shows the serial code extracted from the symbol group. 記号群抽出処理を表すフローチャートである。It is a flowchart which shows the symbol group extraction process. ポイント付与処理を表すフローチャートである。It is a flowchart which shows the point giving process. キャンペーン補助システム1の動作を表すタイミングチャートである。It is a timing chart which shows the operation of the campaign assist system 1.

以下、本発明の実施形態を図面に基づき説明する。
本実施形態では、本発明を、商品に付されたシリアルコードを用いて行われ、商品の販売を促進するための販促キャンペーンを補助するキャンペーン補助システムに適用した。
なお、以下に示す実施形態は、本発明の技術的思想を具体化するための装置や方法を例示するものであって、本発明の技術的思想は、構成部品の形状、構造、及び配置等を下記のものに特定するものでない。本発明の技術的思想は、特許請求の範囲に記載された請求項が規定する技術的範囲内において、種々の変更を加えることができる。
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 auxiliary system 1 includes a mobile terminal device 2, an OCR server device 3, and a server device (hereinafter, also referred to as “campaign server device”) 4. The mobile terminal device 2, the OCR server device 3, and the campaign server device 4 have established a communication path 5 capable of transmitting and receiving various data to and from each other using a mobile phone network, the Internet, or the like.
The mobile terminal device 2 is a terminal device owned by an applicant for a sales promotion campaign. For example, a smartphone can be adopted. As shown in FIG. 2, the mobile terminal device 2 includes a data transmission / reception unit 20 capable of transmitting / receiving data between the OCR server device 3 and the processor 24 and between the campaign server device 4 and the processor 24, and a mobile terminal. An imaging unit 21 (for example, a CCD camera) that photographs the back direction of the device 2 to acquire image data, and an image display unit 22 (for example, a liquid crystal display with a touch panel) that displays an image based on a command from the processor 24. To be equipped. Further, it includes an information storage unit 23 that stores predetermined serial code format information, and a processor 24 that performs various arithmetic processes according to a program using each of these units 20 to 23. The data transmission / reception unit 20, the photographing unit 21, the image display unit 22, the information storage unit 23, and the processor 24 are connected to each other by a bus 25 so that various data can be exchanged.

ここで、予め定められたシリアルコードのフォーマット情報としては、例えば、シリアルコードの桁数、シリアルコードの行数、シリアルコードに用いられる記号の種類(数字、アルファベット)を採用できる。図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 numbers 1 to 9. Is used.
Further, as shown in FIG. 4, the processor 24 causes the mobile terminal device 2 to function as an image data acquisition unit 24a, a serial code extraction unit 24b, a serial code transmission unit 24c, and a display control unit 24d. Further, the serial code extraction unit 24b causes the mobile terminal device 2 to function as an image data transmission unit 24e, a symbol group reception unit 24f, and an extraction execution unit 24g.

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 / reception unit 30 that enables data transmission / reception between the mobile terminal device 2 and the OCR server device 3 and various information used for OCR processing. It includes an information storage unit 31 and a processor 32 that uses the data transmission / reception unit 30 and the information storage unit 31 to perform various arithmetic processes according to a program. The data transmission / reception unit 30, the information storage unit 31, and the processor 32 are connected to each other by a bus 33 so that various data can be exchanged. Further, as shown in FIG. 6, the processor 32 functions as an image data receiving unit 32a, an OCR processing executing unit 32b, and a symbol group transmitting unit 32c.

キャンペーンサーバ装置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 / reception unit 40 that enables data transmission / reception between the mobile terminal device 2 and the campaign server device 4, and a plurality of predetermined serial codes. The code storage unit 41, the point storage unit 42 that stores points in association with the user of the mobile terminal device 2, the data transmission / reception unit 40, the code storage unit 41, and the point storage unit 42 are used to perform various arithmetic processes according to a program. The processor 43 is provided. A regular serial code is used as the plurality of predetermined serial codes. Further, as shown in FIG. 8, the code storage unit 41 stores a flag indicating whether or not each serial code has been used in correspondence with each of the plurality of serial codes (regular serial codes). In the example of FIG. 8, the field value of the flag is set to "1" when the flag is set, and the field value of the flag is set to "0" when the flag is not set. Further, as shown in FIG. 9, the point storage unit 42 stores the points given to each user in correspondence with each of the user IDs of the plurality of users. The data transmission / reception unit 30, the code storage unit 41, the point storage unit 42, and the processor 43 are connected to each other by a bus 44 so that various data can be exchanged. Further, as shown in FIG. 10, the processor 43 includes a code receiving unit 43a, a code determining unit 43b, a predetermined operation executing unit 43c, an invalid code notification signal transmitting unit 43d, a used code notification signal transmitting unit 43e, and a flag setting unit 43f. Functions as.

(シリアルコード抽出処理)
次に、プロセッサ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 processor 24 will be described. In the serial code extraction process, as shown in FIG. 11A, the WEB page for campaign application is displayed on the image display unit 22, and the characters "capture and input the serial code" on the displayed WEB page are displayed. It is executed when the touch operation is detected by the image display unit 22 (touch panel).
As shown in FIG. 12, first, in step S101, the image data acquisition unit 24a activates the photographing unit 21 so that the back direction of the mobile terminal device 2 can be photographed. As a result, the user of the mobile terminal device 2, that is, the person who inputs the serial code, directs the back direction of the mobile terminal device 2 toward the serial code and touch-operates the image display unit 22 to operate FIG. 11 (b). ), The serial code is taken and the image data is acquired. Then, when the image data is acquired, the image data acquisition unit 24a acquires the acquired image data. In the example of FIG. 11B, numbers and characters around the serial code are also reflected in the image data.

続いてステップS102に移行して、画像データ送信部24eが、ステップS101で取得した画像データをデータ送受信部20を介してOCRサーバ装置3に送信する。これにより、OCRサーバ装置3は、送信された画像データにOCR処理を実行し、図13に示すように、画像データが含む文字、数字等の各種記号からなる記号群を抽出する。図13の例では、記号群には、シリアルコードとともに周辺の数字や文字も混じっている。
続いてステップS103に移行して、記号群受信部24fが、OCRサーバ装置3から抽出結果(記号群)が送信されるまで待機状態とする。そして、記号群が送信されると、記号群受信部24fが、送信された記号群をデータ送受信部20を介して受信する。
Subsequently, in step S102, the image data transmission unit 24e transmits the image data acquired in step S101 to the OCR server device 3 via the data transmission / reception unit 20. As a result, the OCR server device 3 executes OCR processing on the transmitted image data, and as shown in FIG. 13, extracts a symbol group consisting of various symbols such as characters and numbers included in the image data. In the example of FIG. 13, the symbols are mixed with peripheral numbers and characters as well as the serial code.
Subsequently, the process proceeds to step S103, and the symbol group receiving unit 24f is put into a standby state until the extraction result (symbol group) is transmitted from the OCR server device 3. Then, when the symbol group is transmitted, the symbol group receiving unit 24f receives the transmitted symbol group via the data transmitting / receiving unit 20.

続いてステップ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 information storage unit 23 as a serial code. As a result, as shown in FIG. 14, the serial code portion is extracted from the symbol group extracted by the OCR server device 3. In the example of FIG. 14, a 7-digit and 2-line number string “6885394 7550180” is extracted from the symbol group shown in FIG. 13 based on the format information shown in FIG. Therefore, even if a symbol group other than the serial code is mixed in the image data, the serial code can be appropriately extracted.

続いてステップ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 code transmission unit 24c transmits the serial code extracted in step S104 to the campaign server device 4 via the data transmission / reception unit 20. A user ID is added to the serial code transmitted to the campaign server device 4. As a result, the campaign server device 4 performs operations for the sales promotion campaign, such as determination of the serial code and point addition, based on the transmitted serial code.
Subsequently, the process proceeds to step S106, and the display control unit 24d is put into a standby state until a signal is transmitted from the campaign server device 4. Examples of the signal include a signal for notifying that the serial code is invalid, a signal for notifying that the serial code is used, and a signal for notifying the storage point. Then, when the signal is transmitted, the display control unit 24d receives the transmitted signal via the data transmission / reception unit 20, and responds to the received signal as shown in FIGS. 11C to 11E. After displaying the image on the image display unit 22, the serial code extraction process is terminated. In the example of FIG. 11 (c), the image display unit 22 displays an image notifying that the serial code is invalid, and in the example of FIG. 11 (d), the image display unit 22 is used. An image notifying that the serial code has been completed is displayed, and in the example of FIG. 11E, an image notifying the accumulation point is displayed on the image display unit 22.

(記号群抽出処理)
次に、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 terminal device 2.
As shown in FIG. 15, first, in step S201, the image data receiving unit 32a receives the image data transmitted from the mobile terminal device 2 via the data transmitting / receiving unit 30.
Subsequently, in step S202, the OCR processing execution unit 32b executes OCR processing on the image data received in step S201, and as shown in FIGS. 11B and 13, the symbol group included in the image data is displayed. Extract. In the OCR process, the symbol group is extracted in a text format.
Subsequently, in step S203, the symbol group transmission unit 32c transmits the symbol group extracted in step S202 to the mobile terminal device 2 of the image data transmission source via the data transmission / reception unit 30, and then the symbol group extraction. End the process. As a result, the mobile terminal device 2 extracts the serial code portion from the received symbol group (text) as shown in FIG.

(ポイント付与処理)
次に、キャンペーンサーバ装置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 terminal device 2.
As shown in FIG. 16, first, in step S301, the code receiving unit 43a receives the serial code transmitted from the mobile terminal device 2 via the data transmitting / receiving unit 40.
Subsequently, in step S302, the code determination unit 43b matches the serial code received in step S301 with a plurality of serial codes stored in the code storage unit 41, that is, one of the regular serial codes. Determine if it is. Then, if it is determined that any of the above is met (Yes), it is determined that the serial code is legitimate, and the process proceeds to step S304. On the other hand, if it is determined that none of them match (No), it is determined that the serial code is not a legitimate serial code, and the process proceeds to step S303.

ステップS303では、不正コード報知信号送信部43dが、不正なシリアルコードであることを報知する信号をデータ送受信部40を介してシリアルコードの送信元の移動端末装置2に送信した後、このポイント付与処理を終了する。これにより、後述する「予め定められた所定の動作」、つまり、ポイントの加算や蓄積ポイントの報告を行わない。
一方、ステップS304では、コード判定部43bが、図8に示すように、コード記憶部41が記憶しているフィールド値を参照し、ステップS302で合致すると判定されたシリアルコードに対して、シリアルコードが使用されたことを示すフラグが立てられているかを(フィールド値が「1」であるかを)判定する。そして、フラグが立てられていないと判定した場合には(Yes)、使用済みのシリアルコードではないと判定して、ステップS305に移行する。一方、フラグが立てられていると判定した場合には(No)、使用済みのシリアルコードであると判定して、ステップS306に移行する。
In step S303, after the invalid code notification signal transmission unit 43d transmits a signal notifying that the serial code is invalid to the mobile terminal device 2 that transmits the serial code via the data transmission / reception unit 40, this point is given. End the process. As a result, the "predetermined predetermined operation" described later, that is, the addition of points and the reporting of accumulated points are not performed.
On the other hand, in step S304, as shown in FIG. 8, the code determination unit 43b refers to the field value stored in the code storage unit 41, and refers to the serial code determined to match in step S302 with respect to the serial code. Determines if a flag has been set to indicate that has been used (whether the field value is "1"). Then, if it is determined that the flag is not set (Yes), it is determined that the serial code is not used, and the process proceeds to step S305. On the other hand, if it is determined that the flag is set (No), it is determined that the serial code has been used, and the process proceeds to step S306.

ステップS305では、使用済みコード報知信号送信部43eが、使用済みのシリアルコードであることを報知する信号をデータ送受信部40を介してシリアルコードの送信元の移動端末装置2に送信した後、このポイント付与処理を終了する。これにより、後述する「予め定められた所定の動作」、つまり、蓄積ポイントの演算や報告等を行わない。
一方、ステップS306では、フラグ設定部43fが、コード記憶部41が記憶している複数のシリアルコードのうち、ステップS302で合致していると判定されたシリアルコードに対して、そのシリアルコードが使用されたことを示すフラグを立てる。具体的には、図8に示すように、コード記憶部41が記憶しているレコードのうちから、ステップS302で合致していると判定されたシリアルコード(ステップS301で受信したシリアルコード)に対応するレコードの「フラグ」のフィールド値を「1」に変更する。
In step S305, the used code notification signal transmission unit 43e transmits a signal notifying that the serial code is used to the mobile terminal device 2 that transmits the serial code via the data transmission / reception unit 40, and then this is performed. End the point granting process. As a result, the "predetermined predetermined operation" described later, that is, the calculation and reporting of the accumulation points are not performed.
On the other hand, in step S306, the flag setting unit 43f uses the serial code for the serial code determined to match in step S302 among the plurality of serial codes stored in the code storage unit 41. Set a flag to indicate that it has been done. Specifically, as shown in FIG. 8, it corresponds to the serial code (serial code received in step S301) determined to match in step S302 from the records stored in the code storage unit 41. Change the field value of "Flag" of the record to be recorded to "1".

続いてステップS307に移行して、所定動作実行部43cが、図9に示すように、ポイント記憶部42が記憶しているポイントのうち、ステップS301で受信したシリアルコードに付加されているユーザIDが対応づけられているポイント、つまり、移動端末装置2のユーザに対応づけて記憶されているポイントに、予め定められた所定のポイント(例えば、10ポイント)を加算する。そして、加算後のポイントを報知する信号をデータ送受信部40を介してシリアルコードの送信元の移動端末装置2に送信した後、このポイント付与処理を終了する。 Subsequently, in step S307, as shown in FIG. 9, the predetermined operation execution unit 43c adds the user ID added to the serial code received in step S301 among the points stored in the point storage unit 42. Is associated with, that is, a predetermined predetermined point (for example, 10 points) is added to the point stored in association with the user of the mobile terminal device 2. Then, after transmitting a signal for notifying the added points to the mobile terminal device 2 of the serial code transmission source via the data transmission / reception unit 40, the point awarding process is terminated.

(動作その他)
次に、本実施形態のキャンペーン補助システム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 system 1 of the present embodiment will be described.
First, the user of the mobile terminal device 2 operates the mobile terminal device 2, accesses the WEB page for campaign application as shown in FIG. 11A, and displays the "serial code" displayed on the image display unit 22. It is assumed that the characters "shoot and input" are touch-operated. Then, as shown in FIG. 17, the mobile terminal device 2 activates the photographing unit 21 and is ready to photograph the back direction of the mobile terminal device 2 (step S401). Subsequently, it is assumed that the user of the mobile terminal device 2, that is, the person who inputs the serial code, directs the back direction of the photographing unit 21 toward the serial code and touches the image display unit 22. Then, as shown in FIG. 11B, the mobile terminal device 2 captures an image including the serial code, acquires image data (step S402), and transmits the acquired image data to the OCR server device 3 ( Step S403). In the example of FIG. 11B, the image data shows the peripheral numbers and characters as well as the serial code.

移動端末装置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 terminal device 2, the OCR server device 3 receives the transmitted image data (step S404), performs OCR processing on the received image data, and extracts a symbol group included in the image data. (Step S405). As a result, as shown in FIG. 13, a symbol group consisting of various symbols such as surrounding characters and numbers is extracted together with the serial code. Subsequently, the OCR server device 3 transmits the extracted symbol group (serial code + other data such as numbers and characters) to the mobile terminal device 2 that is the source of the image data (step S406).
When the symbol group is transmitted from the OCR server device 3, the mobile terminal device 2 extracts a portion of the transmitted symbol group that matches the format information stored in the information storage unit 23 as a serial code ( Step S407). In the example of FIG. 14, when the format information of 7 digits in FIG. 3 and representing the number string of 2 lines is used, "6885394 7550180" is extracted as a serial code from the symbol group of FIG. Subsequently, the mobile terminal device 2 transmits the extracted serial code to the campaign server device 4 (step S408). At that time, a user ID (for example, "0001") is added to the serial code.

このように、本実施形態に係る移動端末装置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 terminal device 2 according to the present embodiment, the serial code portion is extracted from the symbol group extracted by the OCR server device 3. Therefore, even if a symbol group other than the serial code is mixed in the image data, the serial code can be appropriately extracted.
When the serial code is transmitted from the mobile terminal device 2, the campaign server device 4 receives the transmitted serial code (step S409), and the received serial code is a plurality of serials stored in the code storage unit 41. It is determined whether any of the codes is matched (step S410). In the example of FIG. 8, since "6885394 7550180" is stored as a regular serial code in the code storage unit 41, it is assumed that the received serial code matches the serial code stored in the code storage unit 41. It is judged. Subsequently, whether the campaign server device 4 refers to the field value stored in the code storage unit 41 and sets a flag indicating that the serial code has been used for the serial code determined to match. Is determined (step S411). In the example of FIG. 9, since the field value of the "flag" of the record corresponding to the serial code "6885394 7550180" stored in the code storage unit 41 is "0", the flag is not set and it is used. It is determined that it is not a serial code. Subsequently, the campaign server device 4 indicates that the serial code has been used for the serial code determined to match among the plurality of serial codes stored in the code storage unit 41. (Change the field value of the field "flag" from "0" to "1").

続いて、キャンペーンサーバ装置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 point storage unit 42 to which the user ID added to the received serial code is associated, that is, the user of the mobile terminal device 2. A predetermined point (10 points) is added to the points stored separately (step S412). In the example of FIG. 9, since 10 points are added to the point field value "100" of the record corresponding to the user ID "0001" stored in the point storage unit 42, the point field value becomes "110". Can be rewritten. Subsequently, the campaign server device 4 transmits a signal for notifying the points after addition to the mobile terminal device 2 that is the source of the serial code (step S413).
When a signal is transmitted from the campaign server device 4, the mobile terminal device 2 causes the image display unit 22 to display an image that notifies the point based on the transmitted signal (step S414).
As described above, according to the campaign assistance system 1 according to the present embodiment, the serial code can be used to assist the sales promotion campaign for promoting the sales of the product, and the serial code can be used. It is possible to promote the purchase of the granted product.

(本実施形態の効果)
(1)本実施形態に係る移動端末装置2では、撮影部21で取得した画像データから、情報記憶部23が記憶しているフォーマット情報に合致する部分をシリアルコードとして抽出するようにした。そのため、画像データにシリアルコード以外の数字や文字などが混じり込んでいても、シリアルコードを適切に抽出することができる。
(2)また、本実施形態に係る移動端末装置2では、撮影部21で取得した画像データを、OCR処理を行って画像データが含む記号群を抽出するOCRサーバ装置3に送信し、OCRサーバ装置3から、抽出された記号群を受信するようにした。そのため、移動端末装置2の処理負荷を低減でき、処理能力の低い装置で移動端末装置2を実現できる。
(Effect of this embodiment)
(1) In the mobile terminal device 2 according to the present embodiment, a portion matching the format information stored in the information storage unit 23 is extracted as a serial code from the image data acquired by the photographing unit 21. Therefore, even if numbers and characters other than the serial code are mixed in the image data, the serial code can be appropriately extracted.
(2) Further, in the mobile terminal device 2 according to the present embodiment, the image data acquired by the photographing unit 21 is transmitted to the OCR server device 3 that performs OCR processing to extract the symbol group included in the image data, and is transmitted to the OCR server. The extracted symbol group is received from the device 3. Therefore, the processing load of the mobile terminal device 2 can be reduced, and the mobile terminal device 2 can be realized by a device having a low processing capacity.

(3)また、本実施形態に係る移動端末装置2では、フォーマット情報として、シリアルコードの桁数を含むものを用いるようにした。そのため、画像データが含む記号群のうちから、シリアルコードを比較的容易に抽出することができる。
(4)また、本実施形態に係る移動端末装置2では、フォーマット情報として、シリアルコードの行数を含むものを用いるようにした。そのため、画像データが含む記号群のうちから、シリアルコードを比較的容易に抽出することができる。
(5)また、本実施形態に係る移動端末装置2では、フォーマット情報として、シリアルコードに用いられる記号の種類を含むものを用いるようにした。そのため、画像データが含む記号群のうちから、シリアルコードを比較的容易に抽出することができる。
(3) Further, in the mobile terminal device 2 according to the present embodiment, the format information including the number of digits of the serial code is used. Therefore, the serial code can be relatively easily extracted from the symbol group included in the image data.
(4) Further, in the mobile terminal device 2 according to the present embodiment, the format information including the number of lines of the serial code is used. Therefore, the serial code can be relatively easily extracted from the symbol group included in the image data.
(5) Further, in the mobile terminal device 2 according to the present embodiment, the format information including the type of the symbol used for the serial code is used. Therefore, the serial code can be relatively easily extracted from the symbol group included in the image data.

(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 unit 21 by the mobile terminal device 2 and the mobile terminal device 2 from the acquired image data are used. A step of extracting a portion corresponding to the predetermined serial code format information stored in the information storage unit 23 of 2 as a serial code is included. Therefore, even if numbers and characters other than the serial code are mixed in the image data, the serial code can be appropriately extracted.
(7) Further, in the serial code extraction program according to the present embodiment, the mobile terminal device 2 is used as a mobile terminal from the image data acquisition unit 24a for acquiring the image data acquired by the photographing unit 21 and the acquired image data. The portion of the device 2 that matches the predetermined serial code format information stored in the information storage unit 23 is made to function as the serial code extraction unit 24b that extracts the serial code. Therefore, even if numbers and characters other than the serial code are mixed in the image data, the serial code can be appropriately extracted.

(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 terminal device 2, and the received serial code is a plurality of serial codes stored in the code storage unit 41. It is determined whether any of them matches, and only when it is determined that they match, a predetermined predetermined operation is performed. As a result, when an invalid serial code is transmitted, it is not necessary to perform a predetermined operation (giving points, etc.).
(9) Further, when the code determination unit 43b determines that the campaign server device 4 according to the present embodiment does not match, the campaign server device 4 transmits a signal notifying that the serial code is invalid to the mobile terminal device 2. I tried to do it. As a result, it is possible to notify the user of the mobile terminal device 2 from which the serial code is transmitted that the serial code is invalid.

(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 code storage unit 41 determined to match the received serial code is flagged, it is predetermined. The operation (giving points) of is not performed. As a result, when the used serial code is transmitted, the predetermined operation is not performed.
(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 code determination unit 43b determines that the flag has been set. I tried to send to 2. As a result, it is possible to notify the user of the mobile terminal device 2 of the transmission source that the serial code has been used.

(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 terminal device 2 as a predetermined operation. .. This can motivate the sending of the serial code and promote the purchase of the product to which the serial code is attached.
(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 code receiving unit 43a. Specifically, for example, a random number value is acquired each time a serial code is received, and if the acquired random number value is a predetermined predetermined value, it is a hit, and if it is not a predetermined value, it is a loss. Further, for example, the serial code may be associated with either "hit" or "missing", and each time the serial code is received, it may be determined whether the serial code is a "hit" serial code. This can motivate the sending of the serial code for the purpose of winning, and promote the purchase of the product to which the serial code is attached.

(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 terminal device 2 by the campaign server device 4 and the serial code received by the campaign server device 4 are predetermined. A step of determining whether or not the serial code matches any of the plurality of serial codes, a step of performing a predetermined predetermined operation only when the campaign server device 4 is determined to match, and a step of performing a predetermined operation. Was made to include. As a result, when an invalid serial code is transmitted, it is possible to avoid performing a predetermined operation.
(15) Further, in the predetermined operation execution program according to the present embodiment, the campaign server device 4 is predetermined by the code receiving unit 43a for receiving the serial code transmitted from the mobile terminal device 2 and the received serial code. As a code determination unit 43b that determines whether or not the serial code matches any of the plurality of serial codes, and as a predetermined operation execution unit 43c that performs a predetermined predetermined operation only when it is determined that the serial codes match. Made it work. As a result, when an invalid serial code is transmitted, it is possible to avoid performing a predetermined operation.

(変形例)
(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 terminal device 2.

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.
前記フォーマット情報は、更に、シリアルコードに用いられる記号の種類を含むことを特徴とする請求項1または2に記載の移動端末装置。 It said format information further mobile terminal device according to claim 1 or 2, characterized in that it comprises a kind of symbols used in the serial code. 移動端末装置を、
撮影部で取得した画像データを取得する画像データ取得部、
及び、取得した画像データから、前記移動端末装置の情報記憶部が記憶している予め定められたシリアルコードのフォーマット情報に合致する部分を、シリアルコードとして抽出するシリアルコード抽出部として機能させるとともに、
前記フォーマット情報は、シリアルコードの行数及び各行の桁数を含むことを特徴とするシリアルコード抽出用プログラム。
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.
JP2017032032A 2017-02-23 2017-02-23 Mobile terminal device and serial code extraction program Active JP6938952B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

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