JP2012027558A - Two-dimensional code and individual authentication system using two-dimensional code - Google Patents

Two-dimensional code and individual authentication system using two-dimensional code Download PDF

Info

Publication number
JP2012027558A
JP2012027558A JP2010163272A JP2010163272A JP2012027558A JP 2012027558 A JP2012027558 A JP 2012027558A JP 2010163272 A JP2010163272 A JP 2010163272A JP 2010163272 A JP2010163272 A JP 2010163272A JP 2012027558 A JP2012027558 A JP 2012027558A
Authority
JP
Japan
Prior art keywords
pattern
area
dimensional code
user
cells
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.)
Pending
Application number
JP2010163272A
Other languages
Japanese (ja)
Inventor
Yutaka Itazaki
裕 板崎
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.)
REALSOFT Inc
Original Assignee
REALSOFT 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 REALSOFT Inc filed Critical REALSOFT Inc
Priority to JP2010163272A priority Critical patent/JP2012027558A/en
Priority to CN201110149662.1A priority patent/CN102243714B/en
Publication of JP2012027558A publication Critical patent/JP2012027558A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a two-dimensional code and an individual authentication technique for displaying a two-dimensional code pattern including an arbitrary clear image and preventing spoofing when a third person uses a mobile terminal.SOLUTION: The two-dimensional code includes M×N (M and N are integers of 4 or larger) cells. In the M×N pattern, a P×Q (P and Q are integers satisfying 2≤P<M and 2≤Q<N, respectively) area is formed. The area is defined as a second area, and the other area is defined as a first area. First information is expressed by cells substantially belonging to the first area, and second information is expressed by cells substantially belonging to the second area. A user ID and an arbitrary image such as an advertisement are displayed in the first and second areas, respectively. After that, a pattern of an input PIN code is displayed in the second area, and read to identify the ID and the PIN code.

Description

本発明は、2次元コードおよび該2次元コードを利用して個人を認証または技術に関する。   The present invention relates to a two-dimensional code and an individual authentication or technique using the two-dimensional code.

従来より、各種の情報を埋め込むことができる2次元コードが知られている。例えば、特許文献1に記載のQRコード(登録商標)や、特許文献2に記載の色彩や濃淡を利用したコードなどである。また、2次元コード画像と任意の画像を合成する技術として、特許文献3に記載の技術がある。さらに、2次元コードを顧客を特定する会員証のように使用する技術として、非特許文献1に記載のものがある。   Conventionally, two-dimensional codes capable of embedding various types of information are known. For example, it is a QR code (registered trademark) described in Patent Document 1 or a code using colors and shades described in Patent Document 2. As a technique for synthesizing a two-dimensional code image and an arbitrary image, there is a technique described in Patent Document 3. Further, as a technique for using a two-dimensional code like a membership card for identifying a customer, there is one described in Non-Patent Document 1.

特開平7−254037号公報JP-A-7-254037 特開2001−319200号公報JP 2001-319200 A 特開2006−304247号公報JP 2006-304247 A

http://www.jeness.co.jp/2005data/html/mycode_3.htmlhttp://www.jeness.co.jp/2005data/html/mycode_3.html

特許文献1や2に記載のコードは、装飾性に乏しく、任意の画像を含めることはできない。特許文献3に記載の技術では、QRコードに任意画像を重ねることができるが、階調が制限されるため、鮮明な画像を表示することができない。   The codes described in Patent Documents 1 and 2 have poor decorativeness and cannot include arbitrary images. With the technique described in Patent Document 3, an arbitrary image can be superimposed on a QR code, but since the gradation is limited, a clear image cannot be displayed.

非特許文献1の技術によれば、携帯端末の中に会員証が存在するかのように取り扱うことはできる。しかし、その携帯端末を他人が使用してその本人に成りすますことが可能であり、セキュリティ上の問題がある。   According to the technology of Non-Patent Document 1, it can be handled as if a membership card exists in a portable terminal. However, it is possible for another person to use the portable terminal and impersonate the person himself, and there is a security problem.

本発明は、2次元コードパターンの中に任意の鮮明な画像を含めて表示することができ、さらに携帯端末等を他人が使用してその本人に成りすますことを防止できるような2次元コードおよび個人認証の技術を提供することを目的とする。   The present invention can display an arbitrary clear image in a two-dimensional code pattern, and can further prevent other people from using a mobile terminal or the like to impersonate the person. And to provide personal authentication technology.

上記目的を達成するため、請求項1に係る発明は、M行×N列(MとNはそれぞれ4以上の整数)のセルからなる2次元コードであって、前記M行×N列のパターンの内部にP行×Q列(PとQは、それぞれ、2≦P<M、2≦Q<Nなる整数)の領域を設け、該領域を第2領域、該領域以外の領域を第1領域と呼ぶとき、ほぼ第1領域に属するセルを用いて第1の情報を表現し、ほぼ第2領域に属するセルを用いて第2の情報を表現することを特徴とする。   To achieve the above object, the invention according to claim 1 is a two-dimensional code composed of cells of M rows × N columns (M and N are integers of 4 or more, respectively), and the pattern of the M rows × N columns Is provided with an area of P rows × Q columns (P and Q are integers of 2 ≦ P <M and 2 ≦ Q <N, respectively), the area is the second area, and the other areas are the first area. When referred to as a region, the first information is expressed by using cells substantially belonging to the first region, and the second information is expressed by using cells substantially belonging to the second region.

請求項2に係る発明は、請求項1に記載の2次元コードを利用してユーザの認証を行う個人認証システムであって、ユーザが使用する端末と、コンピュータと、管理サーバとを備え、前記端末と前記管理サーバとは所定のネットワーク経由で接続可能であり、前記コンピュータと前記管理サーバとは所定のネットワーク経由で接続可能であり、前記端末は、表示手段と、ユーザを特定するIDを格納した記憶手段と、前記記憶手段に格納されているIDを表す第1領域のパターンを生成する手段と、前記第1領域に前記IDを表すパターンを配置し、前記第2領域に所定の画像を配置した2次元コードを前記表示手段に表示する第1のパターン表示手段と、暗証番号を入力する手段と、入力された暗証番号を表す第2領域のパターンを生成する手段と、前記第1のパターン表示手段により表示された2次元コードの第2領域の画像を、前記暗証番号を表すパターンに置き換えて、再表示する第2のパターン表示手段とを備え、前記コンピュータは、前記端末の第2のパターン表示手段により表示された2次元コードを画像読み取りする読み取り手段と、読み取った2次元コードパターンから前記IDおよび暗証番号を抽出する手段と、抽出したIDおよび暗証番号を前記管理サーバに送信する手段と、前記管理サーバから送信されるチェック結果を受信する手段とを備え、前記管理サーバは、各ユーザのIDと暗証番号とを格納したユーザデータベースと、前記コンピュータから送信されるIDおよび暗証番号を受信する手段と、受信したIDと暗証番号が前記ユーザデータベースに登録されているものと一致するか否かをチェックする手段と、前記チェック結果を前記コンピュータに返信する手段とを備えることを特徴とする。   The invention according to claim 2 is a personal authentication system for authenticating a user using the two-dimensional code according to claim 1, and includes a terminal used by the user, a computer, and a management server, The terminal and the management server can be connected via a predetermined network, the computer and the management server can be connected via a predetermined network, and the terminal stores display means and an ID for identifying a user Storage means, means for generating a pattern of the first area representing the ID stored in the storage means, a pattern representing the ID in the first area, and a predetermined image in the second area. A first pattern display means for displaying the arranged two-dimensional code on the display means, a means for inputting a personal identification number, and a pattern of a second area representing the inputted personal identification number are generated. And a second pattern display means for replacing the image of the second area of the two-dimensional code displayed by the first pattern display means with a pattern representing the personal identification number and redisplaying the computer. Comprises: a reading means for reading an image of the two-dimensional code displayed by the second pattern display means of the terminal; a means for extracting the ID and password from the read two-dimensional code pattern; and the extracted ID and password And a means for receiving a check result transmitted from the management server. The management server stores a user database storing IDs and passwords of each user, and the computer. Means for receiving transmitted ID and password, and received ID and password are stored in the user database. Means for checking whether or not match those that are registered, characterized in that it comprises a means for returning the check result to the computer.

請求項3に係る発明は、請求項1に記載の2次元コードを利用してユーザの認証を行う個人認証システムであって、ユーザが使用する端末と、コンピュータと、管理サーバとを備え、前記端末と前記管理サーバとは所定のネットワーク経由で接続可能であり、前記コンピュータと前記管理サーバとは所定のネットワーク経由で接続可能であり、前記端末は、表示手段と、ユーザを特定するIDを格納した記憶手段と、前記記憶手段に格納されているIDを表す第1領域のパターンを生成する手段と、前記第1領域に前記IDを表すパターンを配置し、前記第2領域に所定の画像を配置した2次元コードを前記表示手段に表示する第1のパターン表示手段と、暗証番号を入力する手段と、入力された暗証番号を表す第2領域のパターンを生成する手段と、前記第1のパターン表示手段により表示された2次元コードの第2領域の画像を、前記暗証番号を表すパターンに置き換えて、再表示する第2のパターン表示手段とを備え、前記コンピュータは、前記端末の第2のパターン表示手段により表示された2次元コードを画像読み取りする読み取り手段と、読み取った2次元コードパターンの画像データを前記管理サーバに送信する手段と、前記管理サーバから送信されるチェック結果を受信する手段とを備え、前記管理サーバは、各ユーザのIDと暗証番号とを格納したユーザデータベースと、前記コンピュータから送信される画像データを受信する手段と、受信した画像データから前記IDおよび暗証番号を抽出する手段と、抽出したIDと暗証番号が前記ユーザデータベースに登録されているものと一致するか否かをチェックする手段と、前記チェック結果を前記コンピュータに返信する手段とを備えることを特徴とする。   An invention according to claim 3 is a personal authentication system that authenticates a user using the two-dimensional code according to claim 1, and includes a terminal used by the user, a computer, and a management server, The terminal and the management server can be connected via a predetermined network, the computer and the management server can be connected via a predetermined network, and the terminal stores display means and an ID for identifying a user Storage means, means for generating a pattern of the first area representing the ID stored in the storage means, a pattern representing the ID in the first area, and a predetermined image in the second area. A first pattern display means for displaying the arranged two-dimensional code on the display means, a means for inputting a personal identification number, and a pattern of a second area representing the inputted personal identification number are generated. And a second pattern display means for replacing the image of the second area of the two-dimensional code displayed by the first pattern display means with a pattern representing the personal identification number and redisplaying the computer. Includes: a reading unit that reads an image of the two-dimensional code displayed by the second pattern display unit of the terminal; a unit that transmits image data of the read two-dimensional code pattern to the management server; and a transmission from the management server. Means for receiving the check result, and the management server stores a user database storing each user's ID and password, means for receiving image data transmitted from the computer, and received image data. Means for extracting the ID and PIN from the list, and the extracted ID and PIN are registered in the user database. It means for checking whether or not consistent with what is characterized by comprising a means for returning the check result to the computer.

請求項4に係る発明は、請求項2または3に記載の個人認証システムにおいて、前記第1領域中の一部分のセルを、前記暗証番号を表すために利用し、前記第2領域のパターンを生成する手段は、入力された暗証番号を表す第2領域のパターンに加えて、前記第1領域中の一部分のセルのパターンを生成し、前記第2のパターン表示手段は、前記第2領域の画像を前記暗証番号を表すパターンに置き換えるとともに、前記第1領域中の一部分のセルのパターンも前記生成したパターンに置き換えることを特徴とする。   The invention according to claim 4 is the personal authentication system according to claim 2 or 3, wherein a part of the cells in the first area is used to represent the personal identification number to generate a pattern of the second area. Means for generating a pattern of a part of the cells in the first area in addition to the pattern of the second area representing the inputted personal identification number, and the second pattern display means is configured to generate an image of the second area. Is replaced with the pattern representing the personal identification number, and the pattern of a part of the cells in the first region is also replaced with the generated pattern.

請求項5に係る発明は、請求項2から4の何れか1つに記載の個人認証システムにおいて、前記第1領域のパターンは、前記IDを表すパターンと、そのパターンのパリティを表すパターンとを含むことを特徴とする。   The invention according to claim 5 is the personal authentication system according to any one of claims 2 to 4, wherein the pattern of the first area includes a pattern indicating the ID and a pattern indicating the parity of the pattern. It is characterized by including.

請求項6に係る発明は、請求項2から5の何れか1つに記載の個人認証システムにおいて、前記第2領域および前記一部分のセルのパターンは、前記暗証番号を表すパターンと、そのパターンのパリティを表すパターンとを含むことを特徴とする。   According to a sixth aspect of the present invention, in the personal authentication system according to any one of the second to fifth aspects, the pattern of the second area and the part of the cells includes a pattern representing the personal identification number and a pattern of the pattern. And a pattern representing parity.

本発明によれば、簡単な構成の2次元コードを用いて、ユーザを特定するIDに加えて暗証番号を表現することができ、これによりサーバに登録されたIDおよび暗証番号と照合できるので、セキュリティ上安全を保つことができ成りすましを防止できる。また、ユーザが暗証番号を入力する前には、該暗証番号を表すパターンを表示する領域に、任意の画像を表示させることができるので、例えば広告情報やユーザが選択した所望の画像などを鮮明に表示させることができ、2次元コードとしては非常に使い勝手がよい。   According to the present invention, a two-dimensional code having a simple configuration can be used to express a personal identification number in addition to an ID for identifying a user, and thus can be collated with an ID and personal identification number registered in the server. Security can be kept safe and spoofing can be prevented. In addition, before the user inputs the password, an arbitrary image can be displayed in the area where the pattern representing the password is displayed. For example, advertisement information or a desired image selected by the user can be clearly displayed. The two-dimensional code is very convenient to use.

本発明の実施形態に係るシステムの全体構成図1 is an overall configuration diagram of a system according to an embodiment of the present invention. ユーザデータベースの内容例を示す図The figure which shows the example contents of the user database アプリ起動時およびユーザ登録時の画面表示例を示す図The figure which shows the example of a screen display at the time of application starting and user registration ポイント加算処理時の画面表示例を示す図Diagram showing a screen display example during point addition processing クーポン使用処理時の画面表示例を示す図The figure which shows the example of a screen display at the time of coupon use processing コードパターンの説明図Illustration of code pattern ユーザ登録処理の手順を示すフローチャートFlow chart showing the procedure of user registration processing ポイント加算処理の手順を示すフローチャートFlow chart showing the procedure of point addition processing クーポン使用処理の手順を示すフローチャートThe flowchart which shows the procedure of coupon use processing コードパターンの変形例を示す図The figure which shows the modification of the code pattern

以下、図面を用いて本発明の実施の形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明に係る一実施形態であるシステムの全体構成を示す。本システムは、大きくは、ユーザが持つ携帯端末101、ユーザの登録やポイントの管理を行う管理サーバ102、およびポイントを与えたりクーポンの受付けを行う店側PC(パーソナルコンピュータ)103を備える。携帯端末101と管理サーバ102は携帯端末のネットワークやインターネットなどを介して接続可能である。管理サーバ102と店側PC103は専用回線やインターネットなどを介して接続可能である。   FIG. 1 shows the overall configuration of a system according to an embodiment of the present invention. This system generally includes a portable terminal 101 owned by a user, a management server 102 that performs user registration and point management, and a store-side PC (personal computer) 103 that provides points and accepts coupons. The portable terminal 101 and the management server 102 can be connected via a portable terminal network, the Internet, or the like. The management server 102 and the store side PC 103 can be connected via a dedicated line or the Internet.

ユーザは、携帯端末101から管理サーバ102に接続し、所定のアプリケーション(以下、単に「アプリ」と言う)を管理サーバ102からダウンロードして携帯端末101にインストールする。管理サーバ102のアプリ・インストール処理部121は、携帯端末101へのアプリのインストール処理を実行する。当該アプリの機能や動作手順については後述する。インストールの後、ユーザは、携帯端末101で当該アプリを起動し、ユーザ登録処理を行う。管理サーバ102の登録処理部122は、携帯端末101内のアプリと協働してユーザ登録処理を実行する。ユーザ登録処理は、管理サーバ102のユーザ・データベース(DB)125に、当該ユーザに対応するレコードを確保し、当該ユーザの名称などを格納するとともに、当該ユーザが持つポイントやクーポンの使用実績を管理できるようにする処理である。   The user connects to the management server 102 from the mobile terminal 101, downloads a predetermined application (hereinafter simply referred to as “application”) from the management server 102, and installs it on the mobile terminal 101. The application / installation processing unit 121 of the management server 102 executes an application installation process on the mobile terminal 101. The function and operation procedure of the application will be described later. After installation, the user activates the application on the mobile terminal 101 and performs user registration processing. The registration processing unit 122 of the management server 102 executes user registration processing in cooperation with the application in the mobile terminal 101. The user registration process secures a record corresponding to the user in the user database (DB) 125 of the management server 102, stores the name of the user, and manages the points and coupons used by the user. It is a process to enable it.

ユーザ登録を行った後、ユーザは、例えば所定の店で買い物などを行うことによりポイント(いわゆるポイントサービスのポイント)を溜めることができる。具体的には、所定の店で買い物などをした際に、携帯端末101で上述のアプリを起動し、メニューから「2.ポイント加算」を選択し、暗証番号を入力すると、携帯端末101の画面105上にそのユーザを特定するIDと暗証番号を示す2次元コードパターンが表示されるので、そのパターンを店側PC103に接続されている2次元コードリーダ104に読み取らせる。店側PC103のポイント加算受付部131は、携帯端末101に表示された2次元コードパターンの画像読み取りを行い、読み取ったデータからIDと暗証番号を抽出し、抽出したIDと暗証番号を管理サーバ102に送信する。管理サーバ102のポイント処理部123は、ユーザDB125を参照して、送られてきた暗証番号が正しいかをチェックし、正しければ当該IDに対応するポイントに所定値を加算する処理を行う。これにより、ユーザDB125上で管理されている当該IDのユーザのポイントへの加算が行われる。   After performing user registration, the user can collect points (so-called point service points) by shopping at a predetermined store, for example. Specifically, when shopping at a predetermined store or the like, the above-described application is started on the mobile terminal 101, “2. Add point” is selected from the menu, and a personal identification number is entered, the screen of the mobile terminal 101 is displayed. Since a two-dimensional code pattern indicating the ID and password for identifying the user is displayed on 105, the two-dimensional code reader 104 connected to the store side PC 103 is made to read the pattern. The point addition receiving unit 131 of the store side PC 103 reads an image of the two-dimensional code pattern displayed on the portable terminal 101, extracts an ID and a password from the read data, and uses the extracted ID and password to the management server 102. Send to. The point processing unit 123 of the management server 102 refers to the user DB 125 to check whether the transmitted personal identification number is correct, and if it is correct, performs a process of adding a predetermined value to the point corresponding to the ID. Thereby, addition to the user's point of the said ID managed on user DB125 is performed.

ユーザ登録を行った後、ユーザは、例えば所定の店で買い物などを行う際にクーポンを使用することができる。本実施形態では、クーポンは3桁の数値から構成されるものとする。例えば雑誌や広告チラシなどの各種の媒体にクーポンの3桁の数値を記載しておき、ユーザがこのクーポンを使用して買い物をする場合に適宜割引きなどのサービスを提供する。具体的には、まずユーザは、携帯端末101で上述のアプリを起動し、メニューから「3.クーポン使用」を選択する。次に画面105上にクーポンNo.の入力画面が表示されるので、ユーザは、雑誌などに記載されている3桁のクーポンNo.を入力する。すると画面105上に、そのユーザを特定するIDとクーポンNo.を示す2次元コードパターンが表示されるので、そのパターンを店側PC103に接続されている2次元コードリーダ104に読み取らせる。店側PC103のクーポン受付部132は、携帯端末101に表示された2次元コードパターンの画像読み取りを行い、読み取ったデータからIDとクーポンNo.を抽出し、抽出したIDとクーポンNo.を管理サーバ102に送信する。管理サーバ102のクーポン処理部124は、当該IDのユーザが当該クーポンNo.のクーポンを使用したという使用実績をユーザDB125に格納する。これにより、ユーザDB125上で、各ユーザのクーポンの使用実績を管理することができる。   After the user registration, the user can use the coupon when shopping at a predetermined store, for example. In this embodiment, a coupon shall be comprised from a 3-digit numerical value. For example, a three-digit numerical value of a coupon is described in various media such as a magazine and an advertisement flyer, and a service such as a discount is provided as appropriate when the user uses the coupon for shopping. Specifically, the user first activates the above-described application on the portable terminal 101 and selects “3. Use coupon” from the menu. Next, a coupon number is displayed on the screen 105. Is displayed, the user can enter the three-digit coupon No. described in a magazine or the like. Enter. Then, an ID for identifying the user and a coupon number are displayed on the screen 105. Is displayed, and the two-dimensional code reader 104 connected to the store-side PC 103 is caused to read the pattern. The coupon reception unit 132 of the store side PC 103 reads an image of the two-dimensional code pattern displayed on the mobile terminal 101, and the ID and coupon No. are read from the read data. , And the extracted ID and coupon No. Is transmitted to the management server 102. The coupon processing unit 124 of the management server 102 indicates that the user with the ID has the coupon No. The usage record that the coupon was used is stored in the user DB 125. Thereby, the usage record of each user's coupon can be managed on user DB125.

なお、店側PC103には、ポイント加算のためのパターン読み取りか、クーポン受付のためのパターン読み取りかを区別するための、不図示の切り替えスイッチが設けられているものとする。また、店側PC103を、ポイント加算用のPCとクーポン受付用のPCに分けて構成してもよい。   It is assumed that the store-side PC 103 is provided with a changeover switch (not shown) for distinguishing between pattern reading for point addition and pattern reading for coupon reception. Further, the store side PC 103 may be divided into a point addition PC and a coupon reception PC.

図2は、ユーザDB125の内容例を示す。「ID」は各ユーザに割り当てる識別子であり、後述する所定範囲内の数値で割り当てるものとする。「ユーザ名」は、対応するIDを割り当てたユーザの名称であり、この欄にNULLが設定されているレコードは、そのIDにユーザが割り当てられていない(空き)ことを表す。なお、ここではユーザ名のみを図示したが、ユーザの住所や連絡先などのユーザに関する種々の情報を保持するようにしてもよい。「携帯端末固有情報」は、そのユーザが本システムへの接続に使用する携帯端末101を特定する固有情報である。「暗証番号」は、当該ユーザがユーザ登録の際に指定した10進数の3桁の数値である。「ポイント」は、当該ユーザのポイント値である。「クーポン使用実績」は、当該ユーザがどのクーポンをいつどれだけ使用したかなどを示す使用実績を記録する。   FIG. 2 shows an example of the contents of the user DB 125. “ID” is an identifier assigned to each user, and is assigned by a numerical value within a predetermined range described later. “User name” is the name of the user to whom the corresponding ID is assigned, and a record in which NULL is set in this field indicates that no user is assigned to the ID (empty). Although only the user name is illustrated here, various information related to the user such as the user's address and contact information may be held. “Portable terminal unique information” is unique information that identifies the portable terminal 101 used by the user for connection to the system. The “password” is a decimal three-digit value designated by the user at the time of user registration. “Point” is the point value of the user. “Coupon usage record” records a usage record indicating which coupon the user has used and how much.

図3〜図5に、本システムにおいて携帯端末101に表示する画面の例を示す。携帯端末101には、上述のアプリが既にインストールされているものとする。   3 to 5 show examples of screens displayed on the portable terminal 101 in this system. It is assumed that the above-described application is already installed in the mobile terminal 101.

図3(a)は、アプリ起動時に表示されるメニュー画面301を示す。選択肢として、「1.ユーザ登録」、「2.ポイント加算」、「3.クーポン使用」、および「4.その他」が表示されている。ユーザは、まず「1.ユーザ登録」を行う必要がある。   FIG. 3A shows a menu screen 301 displayed when the application is activated. As options, “1. User registration”, “2. Point addition”, “3. Coupon use”, and “4. Other” are displayed. The user must first perform “1. User registration”.

図3(b)は、図3(a)で「1.ユーザ登録」を選択した場合に表示されるユーザ登録画面302を示す。ユーザは、氏名入力欄303に氏名を入力し、暗証番号入力欄304に10進の3桁の暗証番号(そのユーザが任意に決定した番号)を入力し、その他必要な情報を入力してOKボタン305を押す。これにより、入力された情報が携帯端末101から管理サーバ102に送信され、管理サーバ102側で登録処理部122によるユーザ登録処理が行われ、そのユーザに割り当てられたIDが管理サーバ102から当該携帯端末101に返送される。当該携帯端末101のアプリは、そのIDを、アプリ管理下の所定の記憶領域(電源をオフしてもデータが消去されない記憶領域)に自IDとして記憶する。なお、キャンセルボタン306により、ユーザ登録をキャンセルすることもできる。   FIG. 3B shows a user registration screen 302 displayed when “1. User registration” is selected in FIG. The user inputs his / her name in the name input field 303, inputs a decimal three-digit password (a number arbitrarily determined by the user) in the password input field 304, and inputs other necessary information, and then OK. Press the button 305. As a result, the input information is transmitted from the portable terminal 101 to the management server 102, user registration processing is performed by the registration processing unit 122 on the management server 102 side, and an ID assigned to the user is transferred from the management server 102 to the portable server Returned to the terminal 101. The application of the mobile terminal 101 stores the ID as its own ID in a predetermined storage area under application management (a storage area in which data is not erased even when the power is turned off). Note that user registration can be canceled by a cancel button 306.

図4(a)は、図3(a)で「2.ポイント加算」を選択した場合に表示されるポイント加算画面401を示す。402は2次元コードパターンを示し、ここでは7×7の49個のセルでコードパターンが構成されるものとする。このコードパターン402の中央部の3×3=9個分のセルに相当する領域403を第2領域と呼び、その外側の40個のセル部分を第1領域と呼ぶ。メニュー画面から「2.ポイント加算」を選択した直後(すなわち図4(a)の状態)では、第1領域には当該ユーザのIDを示すパターン(後に詳しく説明する)が表示され、第2領域403には所定の画像が表示される。第2領域403に表示される画像は、例えば、初めからアプリに組み込んでおいた画像(広告など)でもよいし、当該ユーザが設定した画像でもよい。また、所定のURLから自動的に取得した画像でもよい。ユーザが暗証番号入力領域404に10進数で3桁の暗証番号(0〜9の1桁の数や10〜99の2桁の数も上位に0があるものとして暗証番号に利用可能とする)を入力すると、図4(b)に示すように、第2領域が、当該暗証番号をコード化したパターンに置き換えられて再表示される(後述するが、厳密には図6(a)のセル76も暗証番号を示すためのセルであるので、このセル76についても再表示される)。これにより、コードパターン406は、第1領域(厳密には第1領域からセル76を除いた部分)がIDを示し、第2領域(およびセル76)が暗証番号を示すものとなる。暗証番号入力領域407には、3桁の暗証番号が入力されたことを示すアスタリスクが表示されている。図4(b)のように携帯端末101に表示されたコードパターン406は、店側PC103に接続されている2次元コードリーダ104により読み取られ、これ以降、店側PC103のポイント加算受付部131および管理サーバ102のポイント処理部123による処理で当該ユーザのポイント加算が行われる。   FIG. 4A shows a point addition screen 401 displayed when “2. Add point” is selected in FIG. Reference numeral 402 denotes a two-dimensional code pattern. Here, the code pattern is composed of 49 cells of 7 × 7. An area 403 corresponding to 3 × 3 = 9 cells in the center of the code pattern 402 is referred to as a second area, and 40 cell portions outside the area are referred to as a first area. Immediately after “2. Add point” is selected from the menu screen (that is, in the state of FIG. 4A), a pattern indicating the ID of the user (described in detail later) is displayed in the first area, and the second area A predetermined image is displayed in 403. The image displayed in the second area 403 may be, for example, an image (such as an advertisement) incorporated in the application from the beginning, or an image set by the user. Alternatively, an image automatically acquired from a predetermined URL may be used. The user enters the PIN number input area 404 with a three-digit PIN number (one digit number from 0 to 9 and two digit numbers from 10 to 99 can be used for the PIN number assuming that the upper digit is 0) 4 (b), the second area is replaced with a pattern obtained by coding the personal identification number and redisplayed (to be described later, strictly speaking, the cell shown in FIG. 6 (a)). Since 76 is also a cell for indicating a personal identification number, this cell 76 is also displayed again). Thereby, in the code pattern 406, the first area (strictly, the part excluding the cell 76 from the first area) indicates the ID, and the second area (and the cell 76) indicates the personal identification number. In the personal identification number input area 407, an asterisk indicating that a three-digit personal identification number has been input is displayed. The code pattern 406 displayed on the portable terminal 101 as shown in FIG. 4B is read by the two-dimensional code reader 104 connected to the store side PC 103, and thereafter, the point addition receiving unit 131 of the store side PC 103 and The point addition of the user is performed by the processing by the point processing unit 123 of the management server 102.

なお、ユーザ登録時にユーザ自らが設定した暗証番号(図3(b)で入力領域304に設定した番号)は、管理サーバ102に送られてデータベース125に格納されて管理されるが、その暗証番号は携帯端末101内には保持されない。図4(a)で入力領域404に入力する番号は、ユーザがその時点で暗証番号であると考えている3桁の数値に過ぎず、入力された数値が正しい暗証番号か否かのチェックは携帯端末101では行われない。入力領域404に入力された数値に対応するパターンを第2領域に表示するだけである。   The password set by the user himself at the time of user registration (the number set in the input area 304 in FIG. 3B) is sent to the management server 102 and stored and managed in the database 125. Is not held in the portable terminal 101. The number input in the input area 404 in FIG. 4A is only a three-digit numerical value that the user thinks is a personal identification number at that time, and whether or not the inputted numerical value is a correct personal identification number is checked. It is not performed in the portable terminal 101. Only the pattern corresponding to the numerical value input in the input area 404 is displayed in the second area.

図5(a)は、図3(a)で「3.クーポン使用」を選択した場合に表示されるクーポン使用画面501を示す。502はクーポンNo.入力領域であり、いまユーザが「123」と入力したところを示している。OKボタン503で入力したクーポンNo.を確定し、キャンセルボタン504でキャンセルすることができる。OKボタン503が押されると、図5(b)に示すようなコードパターン506が表示される。507は、ユーザにより入力されたクーポンNo.である。コードパターン506は、第1領域(厳密には第1領域からセル76を除いた部分)が当該ユーザのIDを示し、第2領域(およびセル76)が入力されたクーポンNo.を示すものである。図5(b)のように携帯端末101に表示されたコードパターン506は、店側PC103に接続されている2次元コードリーダ104により読み取られ、これ以降、店側PC103のクーポン受付部132および管理サーバ102のクーポン処理部124による処理で当該ユーザのクーポン処理が行われる。   FIG. 5A shows a coupon use screen 501 displayed when “3. Use coupon” is selected in FIG. 502 is a coupon number. This is an input area, and shows the place where the user has input “123”. The coupon No. input with the OK button 503 is displayed. Can be confirmed and canceled by a cancel button 504. When the OK button 503 is pressed, a code pattern 506 as shown in FIG. 5B is displayed. 507 is a coupon number entered by the user. It is. In the code pattern 506, the first area (strictly, the part excluding the cell 76 from the first area) indicates the ID of the user, and the coupon No. in which the second area (and the cell 76) is input. Is shown. The code pattern 506 displayed on the mobile terminal 101 as shown in FIG. 5B is read by the two-dimensional code reader 104 connected to the store side PC 103, and thereafter, the coupon reception unit 132 and the management of the store side PC 103 are managed. The coupon processing of the user is performed by the processing by the coupon processing unit 124 of the server 102.

図6は、本実施形態のシステムで利用する7×7セルの2次元コードパターンの説明図である。図6(a)は、7×7セルの2次元コードパターンの全体図を示す。各セルには行列番号を記載した。行列番号は、各セルを特定する2桁の数値であり、十の桁で行位置、一の桁で列位置を示す。例えばセル32は、3行目かつ2列目のセルを示す。セルには、以下のタイプのセルが存在する。第1はデコードパターン特定セルであり、図のセル11,17,71,77(4隅のセル)である。第2はデータ&パリティセルであり、図のセル12〜16,21〜27,31,32,36,37,41,42,46,47,51,52,56,57,61〜67,72〜75である。第3は特定番号表示用セルであり、セル33〜35,43〜45,53〜55(中央部の3×3のセル)とセル76である。デコードパターン特定セルとデータ&パリティセルと特定番号表示用セルのうちのセル76は、上述の第1領域に相当する。第1領域のデコードパターン特定セルとデータ&パリティセルは、ユーザのIDを表現するために利用される。特定番号表示用セルのうちのセル33〜35,43〜45,53〜55は、上述の第2領域に相当する。第2領域のセルとセル76は、暗証番号やクーポンNo.を表現するために利用される。各セルは、黒または白で表示するものとし、黒のセルは2進数の“1”を表し、白のセルは2進数の“0”を表すものとする。なお、実際には黒く塗りつぶさなくても、白以外で表示されていれば“1”と解釈する。   FIG. 6 is an explanatory diagram of a two-dimensional code pattern of 7 × 7 cells used in the system of this embodiment. FIG. 6A shows an overall view of a two-dimensional code pattern of 7 × 7 cells. A matrix number was written in each cell. The matrix number is a two-digit numerical value that identifies each cell, and indicates a row position with ten digits and a column position with one digit. For example, the cell 32 indicates a cell in the third row and the second column. There are the following types of cells. The first is a decode pattern specifying cell, which is cell 11, 17, 71, 77 (cells at four corners) in the figure. The second is a data & parity cell, and cells 12 to 16, 21 to 27, 31, 32, 36, 37, 41, 42, 46, 47, 51, 52, 56, 57, 61 to 67, 72 in the figure. ~ 75. The third is a specific number display cell, which is the cells 33 to 35, 43 to 45, 53 to 55 (3 × 3 cells in the center) and the cell 76. The cell 76 among the decode pattern specific cell, the data & parity cell, and the specific number display cell corresponds to the first area. The decode pattern specific cell and the data & parity cell in the first area are used to express the user ID. Of the specific number display cells, the cells 33 to 35, 43 to 45, and 53 to 55 correspond to the above-described second region. The cell and the cell 76 in the second area are a PIN number or coupon No. Used to express Each cell is displayed in black or white. The black cell represents a binary number “1” and the white cell represents a binary number “0”. Note that even if it is not actually painted black, it is interpreted as “1” if it is displayed in a color other than white.

図6(a)の7×7セルのコードパターンについて、例えば図4(b)や図5(b)のように表示されたコードパターン406,506を2次元コードリーダ104で読み取り、該コードパターンからIDや暗証番号などを抽出する場合を例として、コードパターンの構成の詳細を説明する。   For the 7 × 7 cell code pattern of FIG. 6A, for example, the code patterns 406 and 506 displayed as shown in FIG. 4B and FIG. 5B are read by the two-dimensional code reader 104, and the code pattern is read. The configuration of the code pattern will be described in detail by taking as an example the case of extracting an ID or a password from the ID.

図6(b)は、2次元コードパターンのタイプを示す。本実施形態では、3つのタイプがある。セル11,17,71が黒で、セル77が白の場合、タイプ1である。セル11,17,71が白で、セル77が黒の場合、タイプ2である。セル11,71が黒で、セル17,77が白の場合、タイプ3である。2次元コードリーダ104でパターンを読み取ったとき、そのパターンの矩形の4隅のセルの黒/白を判別することで上記タイプを特定する。特に、パターンを読み取ったとき、そのパターンの画像が回転方向にどれだけずれていても、デコードパターンのタイプと、左上のセル11の位置を特定することができる。4隅のセルのうち、3つが黒ならタイプ1、1つが黒ならタイプ2、2つが黒ならタイプ3と決定できるからである。なお、4隅のセルの黒/白の組み合わせは、上記のタイプ1〜3以外は無いので、そのようなパターンが検出された場合はエラーとする。   FIG. 6B shows the type of two-dimensional code pattern. In this embodiment, there are three types. If cells 11, 17, 71 are black and cell 77 is white, it is type 1. If cells 11, 17, 71 are white and cell 77 is black, it is type 2. If cells 11 and 71 are black and cells 17 and 77 are white, it is type 3. When the pattern is read by the two-dimensional code reader 104, the type is specified by determining the black / white of the cells at the four corners of the rectangle of the pattern. In particular, when a pattern is read, the type of the decode pattern and the position of the upper left cell 11 can be specified no matter how much the pattern image is displaced in the rotation direction. This is because, among the cells at the four corners, it can be determined that if 3 are black, it is type 1; Since there are no combinations of black / white in the four corner cells other than the above types 1 to 3, an error occurs when such a pattern is detected.

読み取ったパターンのタイプを決定した後、当該読み取ったパターンのデータ&パリティセルからデータ(黒または白に応じた“1”または“0”)を取り出す。タイプ1の場合は、7×7のパターンのデータ&パリティセルを、その行列番号の昇順に取り出して、6×6のデータ&パリティセルに再配置する。図6(c)はタイプ1の場合の取り出し方を示し、図6(d)は取り出して再配置した6×6のセル(ただし図6(d)でセル66は利用しないセルであるので空白とした)からなるデータ&パリティセルを示す。図6(c)の上段のセルの並び601は、図6(a)のパターンの各セルを行列番号の昇順に並べたものである。図6(c)の中段のセルの並び602は、図6(d)の再配置したパターンの各セルを行列番号の昇順に並べたものである。上段のセルの並び601から下側のセルの並び602への矢印は、そのセルの表すデータ(“1”または“0”)を取り出して図6(d)の各セルに再配置する様子を示す。タイプ1であるので、図6(a)の各セルが行列番号の昇順に取り出されて再配置されている。   After determining the type of the read pattern, data (“1” or “0” corresponding to black or white) is taken out from the data & parity cell of the read pattern. In the case of type 1, data and parity cells having a 7 × 7 pattern are extracted in ascending order of their matrix numbers and rearranged in 6 × 6 data and parity cells. FIG. 6 (c) shows how to take out in the case of type 1, and FIG. 6 (d) shows a 6 × 6 cell taken out and rearranged (however, since cell 66 in FIG. 6 (d) is a cell not used), it is blank. The data & parity cell consisting of An upper cell arrangement 601 in FIG. 6C is obtained by arranging the cells of the pattern in FIG. 6A in ascending order of matrix numbers. The cell arrangement 602 in the middle stage of FIG. 6C is an arrangement of the cells of the rearranged pattern of FIG. 6D in ascending order of the matrix numbers. The arrow from the upper cell array 601 to the lower cell array 602 indicates that the data (“1” or “0”) represented by the cell is extracted and rearranged in each cell in FIG. Show. Since it is type 1, each cell in FIG. 6A is taken out and rearranged in ascending order of the matrix number.

タイプ2の場合、図6(a)のパターンのデータ&パリティセルから行列番号の降順に取り出すので、図6(c)の上段のセルの並び601の「11,12,13,…,77」を、降順の並び「77,76,75,…,12,11」に置き換えてデータを取り出せばよい。タイプ3は、昇順と降順を交互に取り出すので、図6(c)の上段のセルの並び601を、「11,77,12,76,13,75,…,42,46,43,45,44」の並びに置き換えてデータを取り出せばよい。   In the case of type 2, since the data & parity cells in the pattern of FIG. 6A are extracted in descending order of the matrix number, “11, 12, 13,..., 77” in the upper cell array 601 of FIG. Is replaced with “77, 76, 75,..., 12, 11” in descending order to retrieve the data. In type 3, since the ascending order and descending order are alternately extracted, the upper cell array 601 in FIG. 6C is changed to “11, 77, 12, 76, 13, 75,..., 42, 46, 43, 45, The data can be extracted by replacing the "44" line.

タイプ1〜3の何れの場合も、図6(c)の中段のセルの並び602のようにデータ&パリティセルのデータを再配置することで、図6(d)の6×6セルのパターンが得られる。この6×6のパターンでは、図に示すように、セル11が224、セル12が223、…、セル55が20の位置のビットデータ(“1”または“0”)をそれぞれ表し、これにより各ビットデータを並べて25ビットのデータを表現できる。図6(d)のセル16,26,36,46,56は、それぞれ横軸のパリティ(同じ行の5ビットのデータのパリティ)を示す。セル61,62,63,64,65は縦軸方向のパリティ(同じ列の5ビットのデータのパリティ)を示す。本実施形態では、パリティは奇数パリティ(oddパリティ)とする。例えば、データの設定時には、パリティセル16は、データセル11〜15のうちビット“1”であるセルが奇数個なら“0”を、データセル11〜15のうちビット“1”であるセルが偶数個なら“1”を、設定する。縦方向のパリティも同様である。パリティチェックの際は、データセルとパリティセルとを合わせてビット“1”のセルの数が奇数ならOKとし、偶数ならエラーとする。 In any case of types 1 to 3, the data & parity cell data is rearranged as shown in the middle cell array 602 in FIG. 6C, so that the 6 × 6 cell pattern in FIG. Is obtained. In the pattern of the 6 × 6, as shown in FIG represents cell 11 2 24, cell 12 2 23, ..., the position of the cell 55 2 0 bit data ( "1" or "0"), respectively Thus, each bit data can be arranged to express 25-bit data. Each of the cells 16, 26, 36, 46, and 56 in FIG. 6D shows a parity on the horizontal axis (parity of 5-bit data in the same row). Cells 61, 62, 63, 64, and 65 indicate parity in the vertical axis direction (parity of 5-bit data in the same column). In the present embodiment, the parity is odd parity (odd parity). For example, when data is set, the parity cell 16 is “0” if the number of cells having the bit “1” among the data cells 11 to 15 is an odd number, and the cell having the bit “1” among the data cells 11 to 15. If the number is even, set “1”. The same applies to the parity in the vertical direction. In the parity check, if the number of cells having bit “1” in combination with the data cell and the parity cell is an odd number, it is determined to be OK, and if it is an even number, an error is determined.

再配置した図6(d)の6×6セルのパターンにより、0〜225−1の範囲(すなわち、10進表記で0〜33,554,431)の数値を表現できる。この25ビットデータの最上位に、デコードパターンのタイプに対応する2ビットデータ(タイプ1のときは“00”、タイプ2のときは“01”、タイプ3のときは“10”)を付加することで、10進で0〜100,663,295(=225×3−1)の範囲の数値を表現できる。この範囲の数値を、ユーザのIDとして利用する。結果として、225×3=100,663,296通りのIDを利用できる。 By the rearranged 6 × 6 cell pattern in FIG. 6D, numerical values in the range of 0 to 2 25 −1 (that is, 0 to 33,554,431 in decimal notation) can be expressed. 2-bit data (“00” for type 1, “01” for type 2 and “10” for type 3) corresponding to the decoding pattern type is added to the top of the 25-bit data. Thus, a numerical value in the range of 0 to 100,663,295 (= 2 25 × 3-1) can be expressed in decimal. The numerical value in this range is used as the user ID. As a result, 2 25 × 3 = 100,663,296 IDs can be used.

図6(e)は、図6(a)のコードパターンの特定番号表示用セルからデータを取り出して再配置した暗証パターンセルを示す。第2領域のセル33〜35,43〜45,53〜55から取り出す部分は3×3セルであるので、再配置後も図6(e)のように11からの行列番号を付けた。S1と符号を付けたセルは、第1領域に含まれるセルであるが、IDを表すためには使用されないセルを暗証番号やクーポンNo.を表すために流用するセルであり、第2領域から離れた位置にあるので、別にS1の符号を付けた。図6(c)の下段のセルの並び603は、図6(e)の暗証パターンセルを行列番号の昇順(セルS1は後ろに付けた)に並べたものである。上段のセルの並び601から下段のセルの並び603への矢印は、そのセルの表すデータ(“1”または“0”)を取り出して図6(e)の各暗証パターンセルに再配置する様子を示す。タイプ1であるので、図6(a)の各セルが行列番号の昇順に取り出されて再配置されている。   FIG. 6 (e) shows a password pattern cell in which data is extracted from the specific number display cell of the code pattern of FIG. 6 (a) and rearranged. Since the portions taken out from the cells 33 to 35, 43 to 45, and 53 to 55 in the second region are 3 × 3 cells, the matrix numbers from 11 are assigned even after rearrangement as shown in FIG. The cell labeled S1 is a cell included in the first area, but a cell that is not used to represent the ID is a code number or coupon number. Since the cell is diverted to represent, and is located away from the second region, the symbol S1 is attached separately. The cell arrangement 603 in the lower part of FIG. 6C is an arrangement of the code pattern cells of FIG. 6E in ascending order of the matrix number (cell S1 is appended). An arrow from the upper cell array 601 to the lower cell array 603 indicates that the data (“1” or “0”) represented by the cell is taken out and rearranged in each password pattern cell in FIG. Indicates. Since it is type 1, each cell in FIG. 6A is taken out and rearranged in ascending order of the matrix number.

タイプ2の場合、図6(c)の上段のセルの並び601が「77,76,75,…,12,11」に置き換わるので、図6(a)のセル55,54,53,45,44,43,35,34,33,12から取り出した各データが、順に、図6(e)の暗証パターンセル11〜13,21〜23,31〜33,S1に再配置される。タイプ3の場合、図6(c)の上段のセルの並び601が「11,77,12,76,13,75,…,42,46,43,45,44」に置き換わるので、図6(a)のセル22,66,23,63,26,62,32,56,33,45から取り出した各データが、順に、図6(e)の暗証パターンセル11〜13,21〜23,31〜33,S1に再配置される。   In the case of type 2, since the upper cell array 601 in FIG. 6C is replaced with “77, 76, 75,..., 12, 11”, the cells 55, 54, 53, 45, FIG. Each data taken out from 44, 43, 35, 34, 33, 12 is sequentially rearranged in the personal identification pattern cells 11-13, 21-23, 31-33, S1 of FIG. In the case of type 3, the upper cell array 601 in FIG. 6C is replaced with “11, 77, 12, 76, 13, 75,..., 42, 46, 43, 45, 44”. Each data taken out from the cells 22, 66, 23, 63, 26, 62, 32, 56, 33, 45 of a) is sequentially converted into the code pattern cells 11-13, 21-23, 31 of FIG. To 33, S1.

以上のように得られる図6(e)の暗証パターンセルは、図に示すように、セル11〜33が順に28、29、…、20の位置のビットデータをそれぞれ表し、さらにセルS1が29の位置のビットデータを表すので、これらのビットデータを並べて10ビットのデータを表現できる。10ビットであるので、数値としては10進表記で0〜1023を表現できるが、暗証番号としては10進表記で3桁まで(すなわち、0〜999)を利用する。 The security pattern cell shown in FIG. 6 (e) obtained as described above, as shown in FIG, 2 8, 2 9 cells 11-33 are in order, ... represent 2 0 position bit data, respectively, further cell since S1 is representative of the bit data of the positions of 2 9, it can represent 10-bit data as a series of these bit data. Since it is 10 bits, 0 to 1023 can be expressed as a numerical value in decimal notation, but up to 3 digits (that is, 0 to 999) are used as a personal identification number in decimal notation.

上記の説明では、主としてコードパターンからIDと暗証番号を抽出する例で説明したが、暗証番号の代わりにクーポンNo.を抽出する場合も同様である。また、逆にID(10進の0〜100,663,295の数値)と暗証番号またはクーポンNo.(10進の0〜999の数値)から図6(a)のコードパターンを作成する場合は、以下のようにすればよい。   In the above description, the example in which the ID and the password are extracted mainly from the code pattern has been described. The same applies when extracting. On the contrary, the ID (decimal values of 0 to 100, 663, 295) and the secret code or coupon No. When the code pattern of FIG. 6A is created from (decimal values of 0 to 999), the following may be performed.

まず、IDを27ビットの2進データとし、最上位の2ビットを取り出し、それが“00”ならタイプ1、“01”ならタイプ2、“10”ならタイプ3と決定する。決定されたタイプに応じて、デコードパターン特定セルである図6(a)のセル11,17,71,77の白/黒を決定する。次に、IDの下位の25ビットデータから、図6(d)の対応関係で6×6セルのパターンのセル11〜15,21〜25,31〜35,41〜45,51〜55の“1”または“0”(黒または白)を決定し、さらにこれらのセルの横軸パリティと縦軸パリティを求め、セル16,26,36,46,56,61〜65を決定する。次に、暗証番号またはクーポンNo.を10ビットの2進データとし、該10ビットデータから、図6(e)に示す対応関係で暗証パターンセル11〜13,21〜23,31〜33,S1の“1”または“0”(黒または白)を決定する。以上でIDと暗証番号(またはクーポンNo)に応じて図6(d)の6×6のパターンと図6(e)の暗証パターンセルの各セルの黒/白が決定できたので、タイプ1の場合は、図6(c)の矢印を反対に辿って、中段の6×6のパターンのセルの並び602と下段の暗証パターンセルの並び603から、上段の7×7のパターンの各セルの黒/白を決定する。タイプ2や3の場合は、上段のセルの並び601をタイプに応じた並びにしてやればよい。   First, the ID is 27-bit binary data, and the most significant 2 bits are extracted. If it is “00”, it is determined as type 1; According to the determined type, white / black of the cells 11, 17, 71 and 77 of FIG. Next, from the low-order 25-bit data of the ID, the cells 11 to 15, 21 to 25, 31 to 35, 41 to 45, and 51 to 55 of the 6 × 6 cell pattern in correspondence with FIG. 1 "or" 0 "(black or white) is determined, and further, the horizontal axis parity and the vertical axis parity of these cells are obtained, and the cells 16, 26, 36, 46, 56, 61 to 65 are determined. Next, a PIN or coupon No. Is 10-bit binary data, and from the 10-bit data, “1” or “0” (1) or “0” ( Black or white). As described above, the black / white of each cell of the 6 × 6 pattern in FIG. 6D and the password pattern cell in FIG. 6E can be determined according to the ID and the password (or coupon number). In the case of FIG. 6C, the arrows in FIG. 6C are traced in the opposite direction, and each cell in the upper 7 × 7 pattern is obtained from the cell array 602 in the middle 6 × 6 pattern and the code pattern cell in the lower 603. Determine black / white. In the case of type 2 or 3, the upper row of cells 601 may be arranged in accordance with the type.

次に、図3(a)のメニュー画面301で「1.ユーザ登録」を選択した場合の処理を説明する。図7は、ユーザ登録の処理手順を示すフローチャートである。左側に携帯端末101のアプリでの処理手順を示し、右側に管理サーバ102の登録処理部122の処理手順を示す。   Next, a process when “1. User registration” is selected on the menu screen 301 of FIG. FIG. 7 is a flowchart showing a user registration processing procedure. The processing procedure of the application of the mobile terminal 101 is shown on the left side, and the processing procedure of the registration processing unit 122 of the management server 102 is shown on the right side.

ステップ701で、携帯端末101から管理サーバ102に接続要求を送信し、管理サーバ102側では、ステップ711でその接続要求を受け付ける。ステップ712で、管理サーバ102から登録画面を送信し、携帯端末101側では、ステップ702でその登録画面を表示する。上述の図3(b)で説明した画面が登録画面である。ステップ703で、登録画面上で氏名や暗証番号などの登録情報を入力し、OKボタン305をオンすると、ステップ704で、入力された登録情報と当該携帯端末101を特定する固有情報を管理サーバ102へ送信する。   In step 701, a connection request is transmitted from the portable terminal 101 to the management server 102, and the management server 102 accepts the connection request in step 711. In step 712, a registration screen is transmitted from the management server 102, and on the mobile terminal 101 side, the registration screen is displayed in step 702. The screen described with reference to FIG. 3B is a registration screen. In step 703, registration information such as a name and a password is entered on the registration screen, and when the OK button 305 is turned on, in step 704, the input registration information and unique information for identifying the portable terminal 101 are entered into the management server 102. Send to.

管理サーバ102側では、ステップ713でそれらのデータを受信し、ステップ714で受信した登録情報が適正なものであるかチェックする。適正なものであれば、ステップ715で、ユーザDB125を参照して空きのID(上述した範囲内の数値)を取得する。ステップ716で、当該IDと対応させて登録情報をユーザDB125へ格納する。ステップ717で、当該IDを携帯端末101に送信する。携帯端末101では、ステップ705で当該IDを受信し、ステップ706で当該IDをアプリ管理下の所定の記憶領域に格納する。ステップ707で登録終了のメッセージを表示して処理を終了する。   On the management server 102 side, these data are received in step 713, and it is checked whether the registration information received in step 714 is appropriate. If it is appropriate, in step 715, the user DB 125 is referred to and an empty ID (a numerical value within the above-described range) is acquired. In step 716, the registration information is stored in the user DB 125 in association with the ID. In step 717, the ID is transmitted to the mobile terminal 101. In the portable terminal 101, the ID is received in step 705, and the ID is stored in a predetermined storage area under application management in step 706. In step 707, a registration completion message is displayed and the process is terminated.

図3(a)のメニュー画面301で「2.ポイント加算」を選択した場合の処理を説明する。図8は、ポイント加算の処理手順を示すフローチャートである。左側に携帯端末101のアプリでの処理手順を示し、真ん中に店側PC103のポイント加算受付部131の処理手順を示し、右側に管理サーバ102のポイント処理部123の処理手順を示す。   A process when “2. Add point” is selected on the menu screen 301 in FIG. FIG. 8 is a flowchart showing a point addition processing procedure. The processing procedure of the application of the mobile terminal 101 is shown on the left side, the processing procedure of the point addition receiving unit 131 of the store side PC 103 is shown in the middle, and the processing procedure of the point processing unit 123 of the management server 102 is shown on the right side.

携帯端末101は、ステップ801で、上記所定の記憶領域に格納されている自IDに応じた2次元コードパターンを生成する。この時点では、暗証番号は入力されておらず、IDのみに応じたパターンを生成するので、図6(a)の第1領域の各セルの白/黒が決定される。セル76は白としておく。ステップ802で、その2次元コードパターンの中央部分に表示する画像を決定する。上述したように、この画像としては、予めアプリケーションに広告用の画像などを組み込んでおいて利用してもよいし、ユーザが設定できるようにしてもよい。また、所定のサイトに自動的に当該画像を取得しに行ってもよい。ステップ803では、ステップ801で生成した2次元コードパターンの中央部分の第2領域に、ステップ802で決定した画像を組み込み、表示する。ステップ804で暗証番号入力エリアを表示する。これにより、図4(a)のような画面が表示される。ステップ805で、暗証番号入力エリア404に暗証番号の入力を受け付け、ステップ806で入力された暗証番号に基づき、2次元コードの第2領域およびセル76の白/黒を決定し、パターンを生成する。ステップ807で、生成した第2領域およびセル76のパターンを組み込んだ2次元コードパターンの全体を表示する。これにより、図4(b)のような画面が表示される。   In step 801, the portable terminal 101 generates a two-dimensional code pattern corresponding to its own ID stored in the predetermined storage area. At this time, the password is not input, and a pattern corresponding to only the ID is generated. Therefore, white / black of each cell in the first area in FIG. 6A is determined. The cell 76 is white. In step 802, an image to be displayed in the central portion of the two-dimensional code pattern is determined. As described above, as this image, an advertisement image or the like may be incorporated in the application in advance, and the image may be set by the user. Alternatively, the image may be automatically acquired at a predetermined site. In step 803, the image determined in step 802 is incorporated and displayed in the second region at the center of the two-dimensional code pattern generated in step 801. In step 804, a password input area is displayed. Thereby, a screen as shown in FIG. 4A is displayed. In step 805, input of a personal identification number is received in the personal identification number input area 404, and based on the personal identification number input in step 806, the second area of the two-dimensional code and white / black of the cell 76 are determined, and a pattern is generated. . In step 807, the entire two-dimensional code pattern incorporating the generated second region and the pattern of the cell 76 is displayed. Thereby, a screen as shown in FIG. 4B is displayed.

ユーザは、図4(b)のように表示された2次元コードパターン406を、店側PC103の2次元コードリーダ104で読み取らせる。店側PC103のポイント加算受付部131は、ステップ811で、当該2次元コードパターンを画像情報として読み取り、ステップ812で図6で説明したような再配置処理を行い、読み取った2次元コードパターンの画像からID(27ビットデータ)と暗証番号(10ビットデータ)を抽出する。ステップ813で、抽出したIDおよび暗証番号を管理サーバ102に送信する。   The user causes the two-dimensional code reader 104 of the store side PC 103 to read the two-dimensional code pattern 406 displayed as shown in FIG. The point addition receiving unit 131 of the store-side PC 103 reads the two-dimensional code pattern as image information in step 811, performs the rearrangement processing as described in FIG. 6 in step 812, and reads the image of the read two-dimensional code pattern. ID (27-bit data) and password (10-bit data) are extracted. In step 813, the extracted ID and password are transmitted to the management server 102.

管理サーバ102のポイント処理部123では、ステップ821でそのデータを受信し、ステップ822でユーザDB125を参照して当該IDに対応する正しい暗証番号が入力されているかをチェックする。チェックがOKであるときは、その旨を店側PC103に送信するとともに、ステップ823で当該IDに対応するポイントを所定数加算する。暗証番号が正しくない場合は、ステップ822でその旨を店側PC103に送信し、ポイントの加算は行わない。   In step 821, the point processing unit 123 of the management server 102 receives the data, and in step 822, refers to the user DB 125 to check whether the correct password corresponding to the ID is input. If the check is OK, a message to that effect is transmitted to the store side PC 103 and a predetermined number of points corresponding to the ID are added in step 823. If the personal identification number is not correct, in step 822 that fact is transmitted to the store side PC 103 and no points are added.

店側PC103では、ステップ814でチェック結果を受信し、チェックOKなら、ステップ817で「ポイント加算されました」のメッセージ表示を行い、終了する。暗証番号が異なる場合は、ステップ816で、「暗証番号が異なります」のメッセージ表示を行い、終了する。   The shop side PC 103 receives the check result in step 814. If the check is OK, in step 817, the message “Points added” is displayed and the process ends. If the passwords are different, a message “The password is different” is displayed in step 816 and the process is terminated.

以上のようにして、正しい暗証番号を入力した場合のみポイント加算が為されるようにできる。もし他人が携帯端末101を利用してポイント加算を行おうとしても、暗証番号が不明であるので本人に成りすますことはできない。   As described above, points can be added only when a correct password is input. If another person tries to add points using the mobile terminal 101, the personal identification number is unknown, so the person cannot be impersonated.

図3(a)のメニュー画面301で「3.クーポン使用」を選択した場合の処理を説明する。図9は、クーポン使用の処理手順を示すフローチャートである。左側に携帯端末101のアプリでの処理手順を示し、真ん中に店側PC103のクーポン受付部132の処理手順を示し、右側に管理サーバ102のクーポン処理部124の処理手順を示す。   A process when “3. Coupon use” is selected on the menu screen 301 of FIG. FIG. 9 is a flowchart showing a processing procedure for using a coupon. The processing procedure of the application of the mobile terminal 101 is shown on the left side, the processing procedure of the coupon reception unit 132 of the store side PC 103 is shown in the middle, and the processing procedure of the coupon processing unit 124 of the management server 102 is shown on the right side.

携帯端末101は、ステップ901で、図5(a)で説明したクーポン使用画面501を表示する。ステップ902で、画面501のクーポンNo.入力領域502への入力(クーポンNo.は10進3桁の数値)とOKボタン503のオン操作を受け付ける。ステップ903で、所定の記憶領域に格納されている自IDに応じた2次元コードパターン(第1領域部分)を生成する。次に、ステップ904で、入力されたクーポンNo.に基づき、第2領域とセル76のパターンを生成する。ステップ905で、生成した第2領域とセル76のパターンを、自IDに応じた2次元コードパターンに組み込んで表示する。これにより、図5(b)のような画面が表示される。   In step 901, the portable terminal 101 displays the coupon usage screen 501 described with reference to FIG. In step 902, the coupon No. on the screen 501 is displayed. An input to the input area 502 (coupon No. is a decimal three-digit numerical value) and an ON operation of the OK button 503 are accepted. In step 903, a two-dimensional code pattern (first area portion) corresponding to the self ID stored in a predetermined storage area is generated. Next, in step 904, the entered coupon No. Based on the above, a pattern of the second region and the cell 76 is generated. In step 905, the pattern of the generated second area and cell 76 is incorporated into a two-dimensional code pattern corresponding to its own ID and displayed. Thereby, a screen as shown in FIG. 5B is displayed.

ユーザは、図5(b)のように表示された2次元コードパターン506を、店側PC103に接続された2次元コードリーダ104で読み取らせる。店側PC103のクーポン受付部132は、ステップ911で、当該2次元コードパターンを画像情報として読み取り、ステップ912で図6で説明したような再配置処理を行い、読み取った2次元コードパターンの画像からID(27ビットデータ)とクーポンNo.(10ビットデータ)を抽出する。ステップ913で、抽出したIDおよび暗証番号を管理サーバ102に送信する。   The user reads the two-dimensional code pattern 506 displayed as shown in FIG. 5B with the two-dimensional code reader 104 connected to the store side PC 103. In step 911, the coupon reception unit 132 of the store side PC 103 reads the two-dimensional code pattern as image information, performs a rearrangement process as described in FIG. 6 in step 912, and uses the read two-dimensional code pattern image. ID (27-bit data) and coupon No. (10-bit data) is extracted. In step 913, the extracted ID and password are transmitted to the management server 102.

管理サーバ102のクーポン処理部124では、ステップ921でそのデータを受信し、ステップ922で、ユーザDB125内の当該IDに対応する領域に、そのクーポンNo.の使用実績を格納する。ステップ923では、確認メッセージを店側PC103に送信する。   The coupon processing unit 124 of the management server 102 receives the data in step 921, and in step 922, the coupon No. is stored in the area corresponding to the ID in the user DB 125. Stores the usage record of. In step 923, a confirmation message is transmitted to the store side PC 103.

店側PC103では、ステップ914でその確認メッセージを受信し、ステップ915でクーポン使用実績を格納した旨のメッセージ表示を行って、処理を終了する。クーポン使用実績がDBに登録されたことを知って、店側ではそのクーポンに応じて割引サービスなどを行う。   The shop side PC 103 receives the confirmation message in step 914, displays a message indicating that the coupon usage record is stored in step 915, and ends the process. Knowing that the coupon usage record has been registered in the DB, the store provides a discount service in accordance with the coupon.

以上のようにして、各ユーザ毎に、クーポンの使用実績(どのクーポンをいつ使用したか)を集計することができる。これにより、当該ユーザの消費行動などが分析でき、店側の販売戦略に役立てることができる。   As described above, the usage records of coupons (which coupons were used when) can be aggregated for each user. Thereby, the consumption behavior of the user can be analyzed, which can be used for the sales strategy on the store side.

なお、上記実施形態のポイント加算処理では、ユーザのポイントに所定値を加算すると説明したが、実際は購入した商品の料金に応じたポイントが与えられることが多いので、加算するポイントの値を店側PC103で入力し、その値だけ加算するようにするとよい。   In addition, in the point addition process of the said embodiment, although it demonstrated that a predetermined value was added to a user's point, since the point according to the charge of the purchased goods is actually given in many cases, the value of the point to add is the store side. It is good to input with PC103 and to add only the value.

また、図9ではクーポン使用時の動作手順を説明したが、この動作に入る前の段階で、図8のステップ801〜807,811〜815,821〜822と同様の処理を行い、ユーザのIDと暗証番号をユーザDBの登録情報と照合してからクーポン使用を認めるようにすれば、クーポンを使用しようとする者の成りすましを防止できる。   Further, although the operation procedure when using the coupon has been described with reference to FIG. 9, in the stage before entering this operation, the same processing as in steps 801 to 807, 811 to 815, 821 to 822 in FIG. If the use of the coupon is allowed after the password is checked against the registered information in the user DB, impersonation of the person who intends to use the coupon can be prevented.

上記実施形態では、店側PCで、読み取った画像からIDと暗証番号(クーポンNo)を抽出したが、画像データをそのまま管理サーバに送信し、管理サーバ側で抽出を行っても良い。   In the above embodiment, the store side PC extracts the ID and password (coupon number) from the read image. However, the image data may be transmitted to the management server as it is and extracted on the management server side.

上記実施形態では、データ&パリティセルで25ビットデータ(0〜225−1)を表現し、パターンのタイプに応じて上位2ビットを付加して、27ビットデータ(0〜225×3−1)を表現したが、タイプに応じた範囲の拡張の方式はこれに限らない。例えば、データ&パリティセルにより10進表記で0〜33,554,431の数値を表現できるので、この数値の小数点以上9桁目(億の単位)にタイプを示す1〜3を付加することで拡張した範囲をユーザのIDとして利用するようにしてもよい。 In the above embodiment, 25-bit data (0 to 2 25 −1) is expressed by the data & parity cell, the upper 2 bits are added according to the pattern type, and 27-bit data (0 to 2 25 × 3- Although 1) is expressed, the method of extending the range according to the type is not limited to this. For example, since a numerical value of 0 to 33,554,431 can be expressed in decimal notation by a data & parity cell, 1 to 3 indicating the type are added to the ninth digit (billion units) beyond the decimal point of this numerical value. The expanded range may be used as the user ID.

また、上記実施形態では、図6(a)に示した7×7セルのパターンで中央の3×3セルの部分を第2領域とする例を説明したが、パターンの全体の大きさと第2領域の大きさはこれに限らない。一般的には、全体がM行×N列(MとNはそれぞれ4以上の整数)のセルからなる2次元コードで、その内部のP行×Q列(PとQは、それぞれ、2≦P<M、2≦Q<Nなる整数)の領域を第2領域とできる。第2領域の位置は、パターン内部のどこでもよい。例えば、端に寄せて第2領域を確保してもよい。   In the above embodiment, the example in which the central 3 × 3 cell portion is the second region in the 7 × 7 cell pattern shown in FIG. 6A has been described. The size of the area is not limited to this. Generally, it is a two-dimensional code consisting of cells of M rows × N columns (M and N are integers of 4 or more), and P rows × Q columns (P and Q are 2 ≦ The region of P <M, 2 ≦ Q <N) can be the second region. The position of the second region may be anywhere within the pattern. For example, the second region may be secured near the end.

図10(a)は、パターンの全体を8×8セルで構成する例を示す。1001は、8×8セルのパターンを示す。4隅のセル1,8,57,64はデコードパターン特定セルである。セル2〜7,9〜18,23〜26,31〜34,39〜42,47〜56,58〜60はデータ&パリティセルである。1002は、これらのデータ&パリティセルを6×7セルに再配置したパターンを示す。セル9,16,31,42,53は横軸パリティ、セル54〜60は縦軸パリティを示す。なお、セル61はここでは未使用だが、横軸パリティおよび縦軸パリティのビットデータに対するパリティとして使用してもよい。セル19〜22,27〜30,35〜38,43〜46,62,63は特定番号表示用セルであり、暗証番号等に利用する。そのうちセル19〜22,27〜30,35〜38,43〜46は16ビットデータで暗証番号等を表すために利用し、セル62,63は該データのパリティとして利用する。セル19〜22,27〜30,35〜38,43〜46の部分を第2領域とし、それ以外の部分を第1領域とすればよい。   FIG. 10A shows an example in which the entire pattern is composed of 8 × 8 cells. Reference numeral 1001 denotes an 8 × 8 cell pattern. The cells 1, 8, 57, and 64 at the four corners are decode pattern specific cells. Cells 2-7, 9-18, 23-26, 31-34, 39-42, 47-56, 58-60 are data & parity cells. Reference numeral 1002 denotes a pattern in which these data & parity cells are rearranged into 6 × 7 cells. Cells 9, 16, 31, 42, and 53 indicate horizontal parity, and cells 54 to 60 indicate vertical parity. The cell 61 is not used here, but may be used as parity for bit data of horizontal-axis parity and vertical-axis parity. Cells 19 to 22, 27 to 30, 35 to 38, 43 to 46, 62, and 63 are specific number display cells, and are used for passwords and the like. Among them, the cells 19 to 22, 27 to 30, 35 to 38, and 43 to 46 are used for representing a personal identification number or the like with 16-bit data, and the cells 62 and 63 are used as a parity of the data. The portions of the cells 19 to 22, 27 to 30, 35 to 38, and 43 to 46 may be the second region, and the other portions may be the first region.

図10(a)のパターンによれば、データ&パリティセルで230×3=3,221,225,472通りのデータ(3倍しているのは、上記実施形態と同様に3つのタイプ別に表現できるからである)を表現でき、暗証番号等のために特定番号表示用セルで216=65,536通りのデータ(パリティ付き)を表現できる。 According to the pattern of FIG. 10 (a), 2 30 × 3 = 3, 221, 225, 472 kinds of data (three times as in the above embodiment) for each data / parity cell. 2 16 = 65,536 kinds of data (with parity) can be expressed in a specific number display cell for a secret number or the like.

図10(b)は、パターンの全体を9×9セルで構成する例を示す。1011は、9×9セルのパターンを示す。4隅のセル1,9,73,81はデコードパターン特定セルである。セル2〜8,10〜20,26〜29,35〜38,44〜47,53〜56,62〜72,74〜78はデータ&パリティセルである。1012は、これらのデータ&パリティセルを7×7セルに再配置したパターンを示す。セル8,16,29,47,64,71は横軸パリティ、セル72,74〜78は縦軸パリティを示す。なお、セル79,80はここでは未使用だが、横軸パリティおよび縦軸パリティのビットデータに対するパリティとして使用してもよい。セル21〜25,30〜34,39〜43,48〜52,57〜61は特定番号表示用セルであり、暗証番号等に利用する。そのうちセル21〜24,30〜33,39〜42,48〜51は16ビットデータで暗証番号等を表すために利用する。セル25,34,43,52は横軸パリティ、セル57〜60は縦軸パリティとして利用する。セル61はこれらの横軸パリティおよび縦軸パリティのビットデータに対するパリティとして利用する。セル21〜25,30〜34,39〜43,48〜52,57〜61の部分を第2領域とし、それ以外の部分を第1領域とすればよい。   FIG. 10B shows an example in which the entire pattern is composed of 9 × 9 cells. Reference numeral 1011 denotes a 9 × 9 cell pattern. The four corner cells 1, 9, 73, 81 are decode pattern specific cells. Cells 2-8, 10-20, 26-29, 35-38, 44-47, 53-56, 62-72, 74-78 are data & parity cells. Reference numeral 1012 denotes a pattern in which these data & parity cells are rearranged into 7 × 7 cells. Cells 8, 16, 29, 47, 64, and 71 indicate horizontal parity, and cells 72 and 74 to 78 indicate vertical parity. The cells 79 and 80 are not used here, but may be used as parity for bit data of horizontal-axis parity and vertical-axis parity. Cells 21 to 25, 30 to 34, 39 to 43, 48 to 52, and 57 to 61 are specific number display cells, and are used for passwords and the like. Of these cells, cells 21 to 24, 30 to 33, 39 to 42, and 48 to 51 are used to represent a personal identification number or the like with 16-bit data. Cells 25, 34, 43, and 52 are used as horizontal axis parity, and cells 57 to 60 are used as vertical axis parity. The cell 61 is used as parity for the bit data of the horizontal axis parity and the vertical axis parity. The portions of the cells 21 to 25, 30 to 34, 39 to 43, 48 to 52, and 57 to 61 may be the second region, and the other portions may be the first region.

図10(b)のパターンによれば、データ&パリティセルで236×3=206,158,430,208通りのデータを表現でき、暗証番号等のために特定番号表示用セルで216=65,536通りのデータ(縦横パリティ付き)を表現できる。 According to the pattern of FIG. 10B, 2 36 × 3 = 206, 158, 430, 208 data can be expressed by the data & parity cell, and 2 16 = 2 by the specific number display cell for the password. 65,536 types of data (with vertical and horizontal parity) can be expressed.

なお、上記実施形態では、アプリ・インストール処理部121、登録処理部122、ポイント処理部123、およびクーポン処理部124を1つの管理サーバ102内に配置したが、任意の処理部を別のサーバで構成することもできる。例えば、アプリのダウンロードは別のサーバにより行うようにしてもよい。また、上記実施形態では、ポイント加算のサービスを例に説明したが、本発明は、例えば携帯端末を用いた決済等における個人認証に利用することも可能である。   In the above-described embodiment, the application / installation processing unit 121, the registration processing unit 122, the point processing unit 123, and the coupon processing unit 124 are arranged in one management server 102. It can also be configured. For example, the application may be downloaded by another server. In the above embodiment, the point addition service has been described as an example. However, the present invention can also be used for personal authentication in, for example, payment using a mobile terminal.

101…携帯端末、102…管理サーバ、103…店側PC(パーソナルコンピュータ)、104…2次元コードリーダ、105…携帯端末の画面、121…アプリ・インストール処理部、122…登録処理部、123…ポイント処理部、124…クーポン処理部、125…ユーザDB、131…ポイント加算受付部、132…クーポン受付部。   DESCRIPTION OF SYMBOLS 101 ... Portable terminal, 102 ... Management server, 103 ... Store side PC (personal computer), 104 ... Two-dimensional code reader, 105 ... Screen of portable terminal, 121 ... Application installation processing part, 122 ... Registration processing part, 123 ... Point processing unit, 124 ... coupon processing unit, 125 ... user DB, 131 ... point addition receiving unit, 132 ... coupon receiving unit.

Claims (6)

M行×N列(MとNはそれぞれ4以上の整数)のセルからなる2次元コードであって、
前記M行×N列のパターンの内部にP行×Q列(PとQは、それぞれ、2≦P<M、2≦Q<Nなる整数)の領域を設け、該領域を第2領域、該領域以外の領域を第1領域と呼ぶとき、ほぼ第1領域に属するセルを用いて第1の情報を表現し、ほぼ第2領域に属するセルを用いて第2の情報を表現することを特徴とする2次元コード。
A two-dimensional code consisting of cells of M rows × N columns (M and N are each integers of 4 or more),
An area of P rows × Q columns (P and Q are integers of 2 ≦ P <M and 2 ≦ Q <N, respectively) is provided in the M row × N column pattern, and the region is a second region, When a region other than the region is referred to as a first region, the first information is expressed using cells belonging to the first region, and the second information is expressed using cells belonging to the second region. Characteristic two-dimensional code.
請求項1に記載の2次元コードを利用してユーザの認証を行う個人認証システムであって、
ユーザが使用する端末と、コンピュータと、管理サーバとを備え、
前記端末と前記管理サーバとは所定のネットワーク経由で接続可能であり、前記コンピュータと前記管理サーバとは所定のネットワーク経由で接続可能であり、
前記端末は、
表示手段と、
ユーザを特定するIDを格納した記憶手段と、
前記記憶手段に格納されているIDを表す第1領域のパターンを生成する手段と、
前記第1領域に前記IDを表すパターンを配置し、前記第2領域に所定の画像を配置した2次元コードを前記表示手段に表示する第1のパターン表示手段と、
暗証番号を入力する手段と、
入力された暗証番号を表す第2領域のパターンを生成する手段と、
前記第1のパターン表示手段により表示された2次元コードの第2領域の画像を、前記暗証番号を表すパターンに置き換えて、再表示する第2のパターン表示手段と
を備え、
前記コンピュータは、
前記端末の第2のパターン表示手段により表示された2次元コードを画像読み取りする読み取り手段と、
読み取った2次元コードパターンから前記IDおよび暗証番号を抽出する手段と、
抽出したIDおよび暗証番号を前記管理サーバに送信する手段と、
前記管理サーバから送信されるチェック結果を受信する手段と
を備え、
前記管理サーバは、
各ユーザのIDと暗証番号とを格納したユーザデータベースと、
前記コンピュータから送信されるIDおよび暗証番号を受信する手段と、
受信したIDと暗証番号が前記ユーザデータベースに登録されているものと一致するか否かをチェックする手段と、
前記チェック結果を前記コンピュータに返信する手段と
を備えることを特徴とする個人認証システム。
A personal authentication system for authenticating a user using the two-dimensional code according to claim 1,
A terminal used by a user, a computer, and a management server;
The terminal and the management server can be connected via a predetermined network, and the computer and the management server can be connected via a predetermined network,
The terminal
Display means;
Storage means for storing an ID for identifying a user;
Means for generating a pattern of a first area representing an ID stored in the storage means;
First pattern display means for displaying on the display means a two-dimensional code in which a pattern representing the ID is arranged in the first area and a predetermined image is arranged in the second area;
A means of entering a personal identification number;
Means for generating a pattern of the second region representing the input personal identification number;
A second pattern display means for replacing the image of the second area of the two-dimensional code displayed by the first pattern display means with a pattern representing the personal identification number, and re-displaying,
The computer
Reading means for reading an image of the two-dimensional code displayed by the second pattern display means of the terminal;
Means for extracting the ID and password from the read two-dimensional code pattern;
Means for transmitting the extracted ID and password to the management server;
Means for receiving a check result transmitted from the management server,
The management server
A user database storing each user's ID and PIN;
Means for receiving an ID and a personal identification number transmitted from the computer;
Means for checking whether or not the received ID and personal identification number match those registered in the user database;
And a means for returning the check result to the computer.
請求項1に記載の2次元コードを利用してユーザの認証を行う個人認証システムであって、
ユーザが使用する端末と、コンピュータと、管理サーバとを備え、
前記端末と前記管理サーバとは所定のネットワーク経由で接続可能であり、前記コンピュータと前記管理サーバとは所定のネットワーク経由で接続可能であり、
前記端末は、
表示手段と、
ユーザを特定するIDを格納した記憶手段と、
前記記憶手段に格納されているIDを表す第1領域のパターンを生成する手段と、
前記第1領域に前記IDを表すパターンを配置し、前記第2領域に所定の画像を配置した2次元コードを前記表示手段に表示する第1のパターン表示手段と、
暗証番号を入力する手段と、
入力された暗証番号を表す第2領域のパターンを生成する手段と、
前記第1のパターン表示手段により表示された2次元コードの第2領域の画像を、前記暗証番号を表すパターンに置き換えて、再表示する第2のパターン表示手段と
を備え、
前記コンピュータは、
前記端末の第2のパターン表示手段により表示された2次元コードを画像読み取りする読み取り手段と、
読み取った2次元コードパターンの画像データを前記管理サーバに送信する手段と、
前記管理サーバから送信されるチェック結果を受信する手段と
を備え、
前記管理サーバは、
各ユーザのIDと暗証番号とを格納したユーザデータベースと、
前記コンピュータから送信される画像データを受信する手段と、
受信した画像データから前記IDおよび暗証番号を抽出する手段と、
抽出したIDと暗証番号が前記ユーザデータベースに登録されているものと一致するか否かをチェックする手段と、
前記チェック結果を前記コンピュータに返信する手段と
を備えることを特徴とする個人認証システム。
A personal authentication system for authenticating a user using the two-dimensional code according to claim 1,
A terminal used by a user, a computer, and a management server;
The terminal and the management server can be connected via a predetermined network, and the computer and the management server can be connected via a predetermined network,
The terminal
Display means;
Storage means for storing an ID for identifying a user;
Means for generating a pattern of a first area representing an ID stored in the storage means;
First pattern display means for displaying on the display means a two-dimensional code in which a pattern representing the ID is arranged in the first area and a predetermined image is arranged in the second area;
A means of entering a personal identification number;
Means for generating a pattern of the second region representing the input personal identification number;
A second pattern display means for replacing the image of the second area of the two-dimensional code displayed by the first pattern display means with a pattern representing the personal identification number, and re-displaying,
The computer
Reading means for reading an image of the two-dimensional code displayed by the second pattern display means of the terminal;
Means for transmitting the read two-dimensional code pattern image data to the management server;
Means for receiving a check result transmitted from the management server,
The management server
A user database storing each user's ID and PIN;
Means for receiving image data transmitted from the computer;
Means for extracting the ID and password from the received image data;
Means for checking whether or not the extracted ID and personal identification number match those registered in the user database;
And a means for returning the check result to the computer.
請求項2または3に記載の個人認証システムにおいて、
前記第1領域中の一部分のセルを、前記暗証番号を表すために利用し、
前記第2領域のパターンを生成する手段は、入力された暗証番号を表す第2領域のパターンに加えて、前記第1領域中の一部分のセルのパターンを生成し、
前記第2のパターン表示手段は、前記第2領域の画像を前記暗証番号を表すパターンに置き換えるとともに、前記第1領域中の一部分のセルのパターンも前記生成したパターンに置き換える
ことを特徴とする個人認証システム。
In the personal authentication system according to claim 2 or 3,
Utilizing a portion of the cells in the first region to represent the personal identification number;
The means for generating the pattern of the second area generates a pattern of a part of cells in the first area in addition to the pattern of the second area representing the input password.
The second pattern display means replaces the image of the second area with a pattern representing the personal identification number, and also replaces the pattern of a part of cells in the first area with the generated pattern. Authentication system.
請求項2から4の何れか1つに記載の個人認証システムにおいて、
前記第1領域のパターンは、前記IDを表すパターンと、そのパターンのパリティを表すパターンとを含むことを特徴とする個人認証システム。
In the personal authentication system according to any one of claims 2 to 4,
The personal authentication system according to claim 1, wherein the pattern of the first area includes a pattern representing the ID and a pattern representing the parity of the pattern.
請求項2から5の何れか1つに記載の個人認証システムにおいて、
前記第2領域および前記一部分のセルのパターンは、前記暗証番号を表すパターンと、そのパターンのパリティを表すパターンとを含むことを特徴とする個人認証システム。
In the personal authentication system according to any one of claims 2 to 5,
The pattern of the second area and the part of cells includes a pattern representing the personal identification number and a pattern representing the parity of the pattern.
JP2010163272A 2010-07-20 2010-07-20 Two-dimensional code and individual authentication system using two-dimensional code Pending JP2012027558A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2010163272A JP2012027558A (en) 2010-07-20 2010-07-20 Two-dimensional code and individual authentication system using two-dimensional code
CN201110149662.1A CN102243714B (en) 2010-07-20 2011-05-25 Coding system of two-dimensional code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010163272A JP2012027558A (en) 2010-07-20 2010-07-20 Two-dimensional code and individual authentication system using two-dimensional code

Publications (1)

Publication Number Publication Date
JP2012027558A true JP2012027558A (en) 2012-02-09

Family

ID=44961762

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010163272A Pending JP2012027558A (en) 2010-07-20 2010-07-20 Two-dimensional code and individual authentication system using two-dimensional code

Country Status (2)

Country Link
JP (1) JP2012027558A (en)
CN (1) CN102243714B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103036902A (en) * 2012-12-26 2013-04-10 百度在线网络技术(北京)有限公司 Login control method and login control system based on two-dimension code
CN103297231A (en) * 2012-03-01 2013-09-11 盛大计算机(上海)有限公司 Identity authentication method and system
JP2017027253A (en) * 2015-07-17 2017-02-02 東芝テック株式会社 Electronic receipt system, server device, and program
JP2017126360A (en) * 2013-01-23 2017-07-20 株式会社デンソーウェーブ Information code creation method, information code, information code reading device, and information code use system
US10062022B2 (en) 2012-12-19 2018-08-28 Denso Wave Incorporated Information code, information code producing method, information code reader, and system which uses information code
JP2018190445A (en) * 2018-07-19 2018-11-29 東芝テック株式会社 Electronic receipt system, server device, and program
US10147028B2 (en) 2014-10-07 2018-12-04 Denso Wave Incorporated Method and apparatus for producing information code having an image display region with a code figure
JP2019169185A (en) * 2019-06-06 2019-10-03 東芝テック株式会社 Electronic receipt system, server device and program of the same, and processing method of electronic receipt information
JP2019185824A (en) * 2019-07-23 2019-10-24 東芝テック株式会社 Information terminal, program therefor, and display control method
JP2019207725A (en) * 2019-07-23 2019-12-05 東芝テック株式会社 Server device, program therefor, receipt data processing method, and receipt data processing system
JP2019220228A (en) * 2019-10-02 2019-12-26 東芝テック株式会社 Information terminal and program thereof, and display control method
JP2019220227A (en) * 2019-10-02 2019-12-26 東芝テック株式会社 Server device, program therefor, receipt data processing method, and receipt data processing system
JP2020053106A (en) * 2020-01-09 2020-04-02 東芝テック株式会社 Server device and program thereof, and method for processing receipt data
JP2020201991A (en) * 2019-04-10 2020-12-17 ソノー電機工業株式会社 Two-dimensional code, recognition processing program, recognition processing device, and recognition processing method
CN113011542A (en) * 2019-12-21 2021-06-22 深圳市帕尔卡科技有限公司 Encryption method, identification method and identification device of two-dimensional code

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102592156A (en) * 2012-01-14 2012-07-18 上海宏蝠网络有限公司 Information interaction method and system thereof with application of two-dimension codes
CN103067371A (en) * 2012-12-24 2013-04-24 广州杰赛科技股份有限公司 Cloud terminal identity authentication method and system
CN103914720B (en) * 2013-01-08 2017-06-27 广州宽度信息技术有限公司 A kind of image in 2 D code encryption system and image in 2 D code generation method
CN103997406B (en) * 2013-02-20 2019-02-12 北京京东尚科信息技术有限公司 Identity identifying method and device based on two dimensional code
CN104243400B (en) * 2013-06-07 2018-12-11 腾讯科技(深圳)有限公司 The account and password loaming method and system of website
CN104283685A (en) * 2013-07-11 2015-01-14 北京千橡网景科技发展有限公司 Method and system for logging in to electronic account
CN104954191B (en) * 2014-03-27 2019-04-19 腾讯科技(深圳)有限公司 The method and system that network communication data is counted
CN104091189A (en) * 2014-05-07 2014-10-08 范京龙 Coding and decoding methods for micro-window color two-dimension code
DE102014220808B4 (en) * 2014-10-14 2016-05-19 Siemens Aktiengesellschaft Method and device for logging in medical devices
CN104320703A (en) * 2014-10-30 2015-01-28 深圳市同洲电子股份有限公司 Method, device and system for logging in intelligent television terminal
CN105007155B (en) 2015-07-28 2017-12-08 福建联迪商用设备有限公司 Quick Response Code mask encryption and decryption approaches and system
CN105205693A (en) * 2015-08-28 2015-12-30 深圳市前海安测信息技术有限公司 Discount-based promotion system and method of online-to-offline health service product
CN108510327A (en) * 2018-03-29 2018-09-07 广东顺德云证物联网科技有限公司 Discount coupon generation method and system
CN108960365A (en) * 2018-06-28 2018-12-07 睿思易(成都)科技有限责任公司 A kind of data integration method and system based on two dimensional code
CN109344941B (en) * 2018-09-03 2021-11-30 佛山科学技术学院 Big data secure sharing method and device
CN109446792A (en) * 2018-12-25 2019-03-08 广东浪潮大数据研究有限公司 A kind of BIOS coding/decoding method, device and server system
CN110263598A (en) * 2019-07-02 2019-09-20 北京慧眼智行科技有限公司 A kind of recognition methods of non-public algorithm coding, apparatus and system
CN112422491A (en) * 2020-05-08 2021-02-26 上海幻电信息科技有限公司 Encryption and decryption method for digital codes, server and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000148922A (en) * 1998-09-03 2000-05-30 Denso Corp Two-dimensional code, method for reading two- dimensional code, method for generating two-dimensional code and recording medium
JP2004171073A (en) * 2002-11-18 2004-06-17 Canon Electronics Inc Two-dimensional code reading device
JP2004206674A (en) * 2002-10-29 2004-07-22 Denso Corp Two-dimensional code and formation structure thereof
JP2004238965A (en) * 2003-02-07 2004-08-26 Denso Wave Inc Electric lock control system
JP2009259187A (en) * 2008-03-28 2009-11-05 Denso Wave Inc Information code, method for generating information code, and display method for information code

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006048390A (en) * 2004-08-05 2006-02-16 Dainippon Printing Co Ltd Method and system for authenticating two-dimensional code user
CN1845166A (en) * 2006-03-25 2006-10-11 福建新大陆电脑股份有限公司 Application method for two-dimension code and mobile phone in exchange system
CN101206722A (en) * 2006-12-19 2008-06-25 北京昆仑亿发科技发展有限公司 Two-dimensional code being prone to reading identification
CN100568803C (en) * 2007-06-08 2009-12-09 黄晖 A kind of 2 D code verification method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000148922A (en) * 1998-09-03 2000-05-30 Denso Corp Two-dimensional code, method for reading two- dimensional code, method for generating two-dimensional code and recording medium
JP2004206674A (en) * 2002-10-29 2004-07-22 Denso Corp Two-dimensional code and formation structure thereof
JP2004171073A (en) * 2002-11-18 2004-06-17 Canon Electronics Inc Two-dimensional code reading device
JP2004238965A (en) * 2003-02-07 2004-08-26 Denso Wave Inc Electric lock control system
JP2009259187A (en) * 2008-03-28 2009-11-05 Denso Wave Inc Information code, method for generating information code, and display method for information code

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297231A (en) * 2012-03-01 2013-09-11 盛大计算机(上海)有限公司 Identity authentication method and system
US10062022B2 (en) 2012-12-19 2018-08-28 Denso Wave Incorporated Information code, information code producing method, information code reader, and system which uses information code
CN103036902B (en) * 2012-12-26 2016-06-15 百度在线网络技术(北京)有限公司 Log-in control method and system based on Quick Response Code
CN103036902A (en) * 2012-12-26 2013-04-10 百度在线网络技术(北京)有限公司 Login control method and login control system based on two-dimension code
JP2017126360A (en) * 2013-01-23 2017-07-20 株式会社デンソーウェーブ Information code creation method, information code, information code reading device, and information code use system
US10147028B2 (en) 2014-10-07 2018-12-04 Denso Wave Incorporated Method and apparatus for producing information code having an image display region with a code figure
JP2017027253A (en) * 2015-07-17 2017-02-02 東芝テック株式会社 Electronic receipt system, server device, and program
JP2018190445A (en) * 2018-07-19 2018-11-29 東芝テック株式会社 Electronic receipt system, server device, and program
JP2020201991A (en) * 2019-04-10 2020-12-17 ソノー電機工業株式会社 Two-dimensional code, recognition processing program, recognition processing device, and recognition processing method
JP2019169185A (en) * 2019-06-06 2019-10-03 東芝テック株式会社 Electronic receipt system, server device and program of the same, and processing method of electronic receipt information
JP2019207725A (en) * 2019-07-23 2019-12-05 東芝テック株式会社 Server device, program therefor, receipt data processing method, and receipt data processing system
JP2019185824A (en) * 2019-07-23 2019-10-24 東芝テック株式会社 Information terminal, program therefor, and display control method
JP2019220228A (en) * 2019-10-02 2019-12-26 東芝テック株式会社 Information terminal and program thereof, and display control method
JP2019220227A (en) * 2019-10-02 2019-12-26 東芝テック株式会社 Server device, program therefor, receipt data processing method, and receipt data processing system
CN113011542A (en) * 2019-12-21 2021-06-22 深圳市帕尔卡科技有限公司 Encryption method, identification method and identification device of two-dimensional code
JP2020053106A (en) * 2020-01-09 2020-04-02 東芝テック株式会社 Server device and program thereof, and method for processing receipt data
JP2021101393A (en) * 2020-01-09 2021-07-08 東芝テック株式会社 Information terminal and program thereof and display control method
JP7097474B2 (en) 2020-01-09 2022-07-07 東芝テック株式会社 Information terminal and its program and display control method
JP7394182B2 (en) 2020-01-09 2023-12-07 東芝テック株式会社 Information terminal, its program, and display control method

Also Published As

Publication number Publication date
CN102243714A (en) 2011-11-16
CN102243714B (en) 2015-01-21

Similar Documents

Publication Publication Date Title
JP2012027558A (en) Two-dimensional code and individual authentication system using two-dimensional code
TWI776084B (en) Two-dimensional code provision, verification method and device
US20190188682A1 (en) Mobile image payment system using sound-based codes
US20060293929A1 (en) Electronic-ticket service system based on color-scale-code image recognition
US8967480B2 (en) System and method for processing funds transfer between entities based on received optical machine readable image information
CN104040567B (en) Certified products authenticating tag, utilize the certified products certification terminal of this label, certified products authenticating tag output device, certified products Verification System and method
WO2014098130A1 (en) Information code, information code generation method, information code reader device, and information code usage system
CN105512881A (en) Method and terminal for completing payment on the basis of two-dimensional code
CN107392583B (en) Two-dimensional code graphic data generation method and device
CN106384143B (en) Dynamic electronic two-dimensional code generation method and identification method
CN115885287A (en) Multi-part code system
CN105719144A (en) Food safety tracing method and food safety tracing system based on two-dimensional code
JP6394725B2 (en) Information code generation method, information code, information code reader, and information code utilization system
GB2423853A (en) An electronic ticketing system in which colour barcodes are displayed on mobile comunication devices
CN104751352A (en) Business processing method and device, terminal and server
US20120197688A1 (en) Systems and Methods for Verifying Ownership of Printed Matter
KR20150003914A (en) Method and system for authentication and payment by using portable terminal
JP4063845B2 (en) Two-dimensional code transmission method, system, and portable terminal
US20230134627A1 (en) Two-dimensional barcodes for greater storage capacity
US20220318536A1 (en) Qr ent. (entertainment) ware
CN101611419A (en) Be used to create code grid and with its method and apparatus that sends to portable communication device
JP2006259947A (en) Information processing method for printing payment slip
JP2007293508A (en) Attendance management system, path code issuing device, attendance circumstance judging device and program
KR20200111043A (en) System and method for mobile payment
JP7302124B2 (en) Electronic ticket presentation system, electronic ticket presentation program, and electronic ticket presentation method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130524

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140526

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140530

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20141006