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
JP6433232B2 - Method, apparatus and program - Google Patents
[go: Go Back, main page]

JP6433232B2 - Method, apparatus and program - Google Patents

Method, apparatus and program Download PDF

Info

Publication number
JP6433232B2
JP6433232B2 JP2014208295A JP2014208295A JP6433232B2 JP 6433232 B2 JP6433232 B2 JP 6433232B2 JP 2014208295 A JP2014208295 A JP 2014208295A JP 2014208295 A JP2014208295 A JP 2014208295A JP 6433232 B2 JP6433232 B2 JP 6433232B2
Authority
JP
Japan
Prior art keywords
frame
code
information
display unit
output
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.)
Expired - Fee Related
Application number
JP2014208295A
Other languages
Japanese (ja)
Other versions
JP2016081082A (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.)
Kyodo Printing Co Ltd
Original Assignee
Kyodo Printing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyodo Printing Co Ltd filed Critical Kyodo Printing Co Ltd
Priority to JP2014208295A priority Critical patent/JP6433232B2/en
Publication of JP2016081082A publication Critical patent/JP2016081082A/en
Application granted granted Critical
Publication of JP6433232B2 publication Critical patent/JP6433232B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、方法、装置及びプログラムに関する。   The present invention relates to a method, an apparatus, and a program.

従来、二次元コードが用いられている。二次元コードは、一次元コードと比較して、狭い面積に多くの情報を持つことができ、物品管理や、携帯電話を用いたウェブ誘導など、様々な用途で広く活用されている。   Conventionally, a two-dimensional code is used. The two-dimensional code can have more information in a narrow area than the one-dimensional code, and is widely used in various applications such as article management and web guidance using a mobile phone.

通常、二次元コードは、二進コードで表されるデータをセル化して、二次元のマトリックス状にパターンとして配置しており、コード内の座標を再現するための位置検出パターンと、データ部を有する。データ部は、更に、フォーマット情報、及び誤り訂正符号等と、セグメントを含む実データ部を有する。   Usually, a two-dimensional code is a cell in which data expressed by a binary code is arranged as a pattern in a two-dimensional matrix, and a position detection pattern for reproducing coordinates in the code and a data part are arranged. Have. The data portion further includes format information, error correction codes, and the like, and an actual data portion including a segment.

二次元コードを暗号化することによって、二次元コードに含まれる多くの機密情報を安全に保持することが提案されている。   It has been proposed that a large amount of confidential information contained in a two-dimensional code is securely held by encrypting the two-dimensional code.

特開2002−176509号公報JP 2002-176509 A

暗号化された二次元コードは、暗号化された情報を復号することにより、暗号化された情報が読み出される。   From the encrypted two-dimensional code, the encrypted information is read out by decrypting the encrypted information.

例えば、暗号化された二次元コードと共に、二次元コード化された復号鍵を作成し、二次元コード化された復号鍵を用いて、二次元コードに暗号化された情報を復号することがある。   For example, a two-dimensional encoded decryption key may be created together with the encrypted two-dimensional code, and the information encrypted into the two-dimensional code may be decrypted using the two-dimensional encoded decryption key. .

上述したように、二次元コードは、二進コードで表される情報をセル化したパターンを用いて形成されるので、外観からでは、二次元コードが有する情報を認識することはできない。さらに暗号化された二次元コードであれば、二次元コードが有する情報を解析装置で読み取ったとしても、二次元コードが有する情報を認識することは不可能といってもよい。   As described above, since the two-dimensional code is formed using a pattern obtained by cellizing information represented by the binary code, the information included in the two-dimensional code cannot be recognized from the appearance. Furthermore, if the encrypted two-dimensional code is used, it may be impossible to recognize the information included in the two-dimensional code even if the information included in the two-dimensional code is read by the analyzer.

一方、暗号化された二次元コードと、この二次元コードを復号するための二次元コード化された復号鍵とが撮像された画像を解析して、暗号化された情報を復号する処理を行う場合、暗号化された二次元コードと、この二次元コードを復号するための二次元コード化された復号鍵とを撮像しているのか否かということについて、ユーザに対して認識できる情報を与えることによって、二次元コードの解析処理におけるユーザの操作性を向上することが考えられる。   On the other hand, the encrypted two-dimensional code and the two-dimensional coded decryption key for decrypting the two-dimensional code are analyzed to analyze the image and decrypt the encrypted information. In this case, information that can be recognized is given to the user as to whether or not the encrypted two-dimensional code and the two-dimensional coded decryption key for decrypting the two-dimensional code are being imaged. Thus, it is conceivable to improve the user operability in the two-dimensional code analysis process.

本明細書では、上述した課題を解決し得る方法、装置及びプログラムを提供することを課題とする。   This specification makes it a subject to provide the method, apparatus, and program which can solve the subject mentioned above.

本明細書に開示する方法によれば、複数の二次元コードそれぞれが、所定の二次元コードと関連づけられており表示部に表示される枠内に位置するか又は上記枠と重なって位置するように撮像された画像を解析して、各上記枠に、関連づけられている上記所定の二次元コードが位置する場合には、ユーザが認識可能な第1の情報を、上記表示部又は出力部を用いて出力し、各上記枠に、関連づけられている上記所定の二次元コードが位置していない場合には、ユーザが認識可能な第2の情報を、上記表示部又は上記出力部を用いて出力することを、演算部が実行する。   According to the method disclosed in the present specification, each of a plurality of two-dimensional codes is associated with a predetermined two-dimensional code and is positioned within a frame displayed on the display unit or overlaps the frame. When the predetermined two-dimensional code associated with each frame is located, the first information that can be recognized by the user is displayed on the display unit or the output unit. When the predetermined two-dimensional code associated with each frame is not located, the second information that can be recognized by the user is displayed using the display unit or the output unit. The calculation unit executes the output.

また、本明細書に開示する装置によれば、表示部と、複数の二次元コードそれぞれが、所定の二次元コードと関連づけられており上記表示部に表示される枠内に位置するか又は上記枠と重なって位置するように撮像された画像を解析する演算部であって、各上記枠に、関連づけられている上記所定の二次元コードが位置する場合には、ユーザが認識可能な第1の情報を、上記表示部を用いて出力し、各上記枠に、関連づけられている上記所定の二次元コードが位置していない場合には、ユーザが認識可能な第2の情報を、上記表示部を用いて出力する演算部と、を備える。   Further, according to the apparatus disclosed in the present specification, each of the display unit and the plurality of two-dimensional codes is associated with a predetermined two-dimensional code and is located within a frame displayed on the display unit, or A calculation unit that analyzes an image captured so as to overlap with a frame, and when the predetermined two-dimensional code associated with each frame is positioned, a first recognizable by the user Is output using the display unit, and when the predetermined two-dimensional code associated with each frame is not located, the second information that can be recognized by the user is displayed on the display. And a calculation unit that outputs using the unit.

更に、本明細書に開示するプログラムによれば、複数の二次元コードそれぞれが、所定の二次元コードと関連づけられており表示部に表示される枠内に位置するか又は上記枠と重なって位置するように撮像された画像を解析し、各上記枠に、関連づけられている上記所定の二次元コードが位置する場合には、ユーザが認識可能な第1の情報を表示部又は出力部を用いて出力し、各上記枠に、関連づけられている上記所定の二次元コードが位置していない場合には、ユーザが認識可能な第2の情報を上記表示部又は上記出力部を用いて出力することをコンピュータに実行させる。   Furthermore, according to the program disclosed in the present specification, each of the plurality of two-dimensional codes is associated with a predetermined two-dimensional code and is located within a frame displayed on the display unit or overlaps with the frame. If the predetermined two-dimensional code associated with each frame is located, the display unit or the output unit uses the first information that can be recognized by the user. When the predetermined two-dimensional code associated with each frame is not located, the second information that can be recognized by the user is output using the display unit or the output unit. Let the computer do that.

本明細書に開示する方法によれば、表示部に表示された各枠に、関連づけられている所定の二次元コードが位置するのか否かについて、ユーザが認識可能となる。   According to the method disclosed in the present specification, the user can recognize whether or not a predetermined two-dimensional code associated with each frame displayed on the display unit is located.

また、本明細書に開示する装置によれば、表示部に表示された各枠に、関連づけられている所定の二次元コードが位置するのか否かについて、ユーザが認識可能となる。   Moreover, according to the apparatus disclosed in this specification, the user can recognize whether or not a predetermined two-dimensional code associated with each frame displayed on the display unit is located.

更に、本明細書に開示するプログラムによれば、表示部に表示された各枠に、関連づけられている所定の二次元コードが位置するのか否かについて、ユーザが認識可能となる。   Furthermore, according to the program disclosed in this specification, the user can recognize whether or not a predetermined two-dimensional code associated with each frame displayed on the display unit is located.

本明細書に開示する解析装置の一実施形態を示す図である。It is a figure which shows one Embodiment of the analyzer disclosed in this specification. 暗号情報コード及び復号鍵コードを示す図である。It is a figure which shows an encryption information code and a decryption key code. 暗号情報コードのデータ部及び復号鍵コードのデータ部を説明する図である。It is a figure explaining the data part of an encryption information code, and the data part of a decryption key code. 解析装置の動作を説明するフローチャートで説明である。It is description with the flowchart explaining operation | movement of an analyzer. 解析装置の動作例1を示す図である。It is a figure which shows the operation example 1 of an analyzer. 暗号情報コードが枠K1内に位置するように、復号鍵コードが枠K2内に位置するように、撮像された状態を示す。An imaged state is shown such that the decryption key code is positioned within the frame K2 so that the encryption information code is positioned within the frame K1. 暗号情報コードが枠K1と重なって位置するように、復号鍵コードが枠K2と重なって位置するように、撮像された状態を示す。An imaged state is shown such that the encryption key code is positioned so as to overlap with the frame K1, and the decryption key code is positioned so as to overlap with the frame K2. 解析装置の動作例2を示す図である。It is a figure which shows the operation example 2 of an analyzer. 解析装置の動作例3を示す図である。It is a figure which shows the operation example 3 of an analyzer. 解析装置の変型例1を示す図である。It is a figure which shows the modification example 1 of an analyzer. 解析装置の変型例2を示す図である。It is a figure which shows the modification 2 of an analyzer. 解析装置の変型例3を示す図である。It is a figure which shows the modification 3 of an analyzer. 他の実施形態を示す図である。It is a figure which shows other embodiment.

以下、本明細書で開示する解析装置の好ましい一実施形態を、図を参照して説明する。但し、本発明の技術範囲はそれらの実施形態に限定されず、特許請求の範囲に記載された発明とその均等物に及ぶものである。   Hereinafter, a preferred embodiment of the analysis device disclosed in the present specification will be described with reference to the drawings. However, the technical scope of the present invention is not limited to these embodiments, but extends to the invention described in the claims and equivalents thereof.

図1は、本明細書に開示する解析装置の一実施形態を示す図である。   FIG. 1 is a diagram illustrating an embodiment of an analysis device disclosed in this specification.

本実施形態の解析装置10は、互いに関連する情報を有する複数の二次元コードそれぞれが、所定の二次元コードと関連づけられており表示部に表示される枠内に位置するか又は枠と重なって位置するように撮像された画像を解析する。解析装置10は、各枠に、関連づけられている所定の二次元コードが位置する場合には、ユーザが認識可能な第1の情報を、表示部14又は出力部15を用いて出力する。一方、解析装置10は、各枠に、関連づけられている所定の二次元コードが位置していない場合には、ユーザが認識可能な第2の情報を、表示部14又は出力部15を用いて出力する。   In the analysis device 10 of the present embodiment, each of a plurality of two-dimensional codes having information related to each other is associated with a predetermined two-dimensional code and is located within a frame displayed on the display unit or overlaps the frame. The image captured so as to be positioned is analyzed. The analysis device 10 outputs the first information that can be recognized by the user using the display unit 14 or the output unit 15 when a predetermined two-dimensional code associated with each frame is located in each frame. On the other hand, when a predetermined two-dimensional code associated with each frame is not located in each frame, the analysis device 10 uses the display unit 14 or the output unit 15 to display second information that can be recognized by the user. Output.

次に、解析装置10について、以下に詳細に説明する。   Next, the analysis device 10 will be described in detail below.

解析装置10は、演算部11と、記憶部12と、操作部13と、表示部14と、出力部15と、通信部16と、撮像部17を有する。   The analysis device 10 includes a calculation unit 11, a storage unit 12, an operation unit 13, a display unit 14, an output unit 15, a communication unit 16, and an imaging unit 17.

演算部11は、記憶部12に予め記憶されている所定のプログラムに従い、解析装置10の各要素の制御及び各種処理を行い、処理中に生じるデータを一時的に保存するために記憶部12を利用する。   The calculation unit 11 controls each element of the analysis device 10 and performs various processes according to a predetermined program stored in advance in the storage unit 12, and stores the storage unit 12 to temporarily store data generated during the process. Use.

記憶部12は、1次記憶装置及び2次記憶装置を有していても良い。また、記憶部12は、所定のプログラムを記憶する記憶媒体12aを読み出し可能なドライブを有していても良い。   The storage unit 12 may include a primary storage device and a secondary storage device. The storage unit 12 may include a drive that can read the storage medium 12a that stores a predetermined program.

操作部13は、解析装置10のユーザ等によって操作されて、各種の情報を入力する。操作部13としては、例えば、タッチパネルを用いることができる。演算部11は、操作部13から入力された各種の情報を用いて、各種処理を行う。   The operation unit 13 is operated by a user or the like of the analysis apparatus 10 and inputs various types of information. As the operation unit 13, for example, a touch panel can be used. The calculation unit 11 performs various processes using various types of information input from the operation unit 13.

表示部14は、演算部11に制御されて、各種の情報を表示する。表示部14としては、例えば、液晶パネルを用いることができる。   The display unit 14 is controlled by the calculation unit 11 and displays various types of information. For example, a liquid crystal panel can be used as the display unit 14.

出力部15は、演算部11に制御されて、音又は振動等のユーザが認識可能な情報を出力する。   The output unit 15 is controlled by the calculation unit 11 and outputs information that can be recognized by the user, such as sound or vibration.

通信部16は、演算部11に制御されて、撮像部17が撮像した画像のデータを入力する。また、通信部16は、外部のネットワークを介して、他の装置との間で画像等のデータの送受信を行うことができる。   The communication unit 16 is controlled by the calculation unit 11 and inputs image data captured by the imaging unit 17. The communication unit 16 can transmit and receive data such as images to and from other apparatuses via an external network.

撮像部17は、通信部16を介して、演算部11により制御されて、複数の二次元コードを撮像する。撮像部17としては、例えば、CCD、又はCMOS画像化素子等を用いることができる。   The imaging unit 17 is controlled by the calculation unit 11 via the communication unit 16 and images a plurality of two-dimensional codes. As the imaging unit 17, for example, a CCD, a CMOS imaging element, or the like can be used.

解析装置10としては、例えば、多機能型携帯電話機、タブレット端末、ノート型パーソナルコンピュータ等を用いることができる。   As the analysis apparatus 10, for example, a multifunctional mobile phone, a tablet terminal, a notebook personal computer, or the like can be used.

本実施形態では、複数の二次元コードは、所定の情報が暗号鍵を用いて暗号化された暗号情報を含む二次元コードである暗号情報コード20と、この暗号情報コード20を復号する復号鍵を含む二次元コードである復号鍵コード30である。   In the present embodiment, the plurality of two-dimensional codes include an encryption information code 20 which is a two-dimensional code including encryption information obtained by encrypting predetermined information using an encryption key, and a decryption key for decrypting the encryption information code 20. The decryption key code 30 is a two-dimensional code including

図2は、暗号情報コード及び復号鍵コードを示す図である。   FIG. 2 is a diagram showing an encryption information code and a decryption key code.

暗号情報コード20及び復号鍵コード30は、二進コードで表されるデータをセル化して、二次元のマトリックス状にパターンとして配置した二次元コードであり、例えば3個又は4個以上の異なる位置検出パターンを備える。位置検出パターンは、コード内の座標を決定するために用いられる。図2に示す例では、各コードは、4個の異なる位置検出パターンを備える。暗号情報コード20及び復号鍵コード30は、例えば、紙に印刷された状態、又は液晶パネルに表示される状態で、出力媒体に配置され得る。   The encryption information code 20 and the decryption key code 30 are two-dimensional codes in which data represented by a binary code is cellized and arranged as a pattern in a two-dimensional matrix. For example, three or four or more different positions A detection pattern is provided. The position detection pattern is used to determine coordinates in the code. In the example shown in FIG. 2, each code includes four different position detection patterns. The encryption information code 20 and the decryption key code 30 can be arranged on the output medium in a state of being printed on paper or displayed on a liquid crystal panel, for example.

具体的には、暗号情報コード20は、4個の位置検出パターン21a〜21dと、4個の位置検出パターン21a〜21dに囲まれたデータ部22と、暗号情報等のデータが含まれない非記憶部23を有する。非記憶部23は、データ部22としては認識されない。   Specifically, the encryption information code 20 includes four position detection patterns 21a to 21d, a data portion 22 surrounded by the four position detection patterns 21a to 21d, and non-contained data such as encryption information. A storage unit 23 is included. The non-storage unit 23 is not recognized as the data unit 22.

図2に示す例では、暗号情報コード20の非記憶部23には、暗号情報コード20が暗号化された暗号情報を含むことを示す鍵穴の絵柄24が配置される。なお、暗号情報コード20は、非記憶部23を有していなくてもよい。   In the example illustrated in FIG. 2, the non-storage unit 23 of the encryption information code 20 is provided with a keyhole pattern 24 indicating that the encryption information code 20 includes encrypted encryption information. The encryption information code 20 may not include the non-storage unit 23.

復号鍵コード30は、4個の位置検出パターン31a〜31dと、4個の位置検出パターン31a〜31dに囲まれたデータ部32と、復号鍵等のデータが含まれない非記憶部33を有する。非記憶部33は、データ部32としては認識されない。   The decryption key code 30 includes four position detection patterns 31a to 31d, a data portion 32 surrounded by the four position detection patterns 31a to 31d, and a non-storage portion 33 that does not include data such as a decryption key. . The non-storage unit 33 is not recognized as the data unit 32.

図2に示す例では、復号鍵コード30の非記憶部33には、復号鍵コード30が復号鍵を含むことを示す鍵の絵柄34が配置される。なお、復号鍵コード30は、非記憶部を有していなくてもよい。   In the example shown in FIG. 2, a key pattern 34 indicating that the decryption key code 30 includes a decryption key is arranged in the non-storage unit 33 of the decryption key code 30. Note that the decryption key code 30 may not have a non-storage unit.

図3は、暗号情報コード及び復号鍵コードのデータ部を説明する図である。   FIG. 3 is a diagram for explaining the data portion of the encryption information code and the decryption key code.

暗号情報コード20のデータ部は、メッセージ及びメッセージを修飾するヘッダを含むセグメントを有する。データ部は、1つ又は複数のセグメントを有し得る。   The data part of the cryptographic information code 20 has a segment including a message and a header that modifies the message. The data portion may have one or more segments.

メッセージは、例えば、暗号情報コード20が暗号化された情報を含むコードであることを示す識別子、所定の情報が暗号化された暗号情報、最初のブロックに使用される初期化ベクトル、メッセージを認証するための短い情報である第1メッセージ認証符号等を含む。   The message is, for example, an identifier indicating that the encrypted information code 20 is a code including encrypted information, encrypted information obtained by encrypting predetermined information, an initialization vector used for the first block, and authenticating the message. A first message authentication code or the like, which is short information.

ヘッダは、例えば、メッセージ種類、メッセージサイズ、暗号情報コード20が暗号化された情報を含むコードであることを示す暗号情報フラグ等を含み得る。   The header may include, for example, a message type, a message size, an encryption information flag indicating that the encryption information code 20 is a code including encrypted information, and the like.

また、暗号情報コード20のデータ部は、誤り訂正符号、及びコードに関する情報を含むフォーマット情報部を有する。   The data portion of the encryption information code 20 has an error correction code and a format information portion that includes information related to the code.

暗号情報コード20のデータ部の各情報は、二進コードに変換されている。   Each piece of information in the data portion of the encryption information code 20 is converted into a binary code.

復号鍵コード30のデータ部は、メッセージ及びメッセージを修飾するヘッダを含むセグメントを有する。データ部は、1つ又は複数のセグメントを有し得る。   The data part of the decryption key code 30 has a segment including a message and a header that modifies the message. The data portion may have one or more segments.

メッセージは、例えば、復号鍵コード30が復号鍵を含むコードであることを示す識別子、復号鍵等を含む。   The message includes, for example, an identifier indicating that the decryption key code 30 is a code including a decryption key, a decryption key, and the like.

ヘッダは、例えば、メッセージ種類、メッセージサイズ、復号鍵コード30が復号鍵を含むコードであることを示す復号鍵フラグ、鍵データ長等を含み得る。   The header may include, for example, a message type, a message size, a decryption key flag indicating that the decryption key code 30 is a code including a decryption key, a key data length, and the like.

また、復号鍵コード30のデータ部は、誤り訂正符号、及びコードに関する情報を含むフォーマット情報部を有する。   Further, the data part of the decryption key code 30 has an error correction code and a format information part including information on the code.

復号鍵コード30のデータ部の各情報は、二進コードに変換されている。   Each information in the data part of the decryption key code 30 is converted into a binary code.

次に、解析装置の動作例1〜動作例3を、図4に示すフローチャートを参照しながら、以下に説明する。   Next, operation examples 1 to 3 of the analysis apparatus will be described below with reference to the flowchart shown in FIG.

以下の説明は、上述した解析装置が多機能型携帯電話機である場合の動作例である。   The following description is an operation example when the above-described analyzing apparatus is a multi-function mobile phone.

まず、動作例1の説明を、以下に行う。   First, the operation example 1 will be described below.

ユーザは、ステップS10において、図5に示すように、解析装置40の撮像ボタン42(操作部13に対応)を押して、図示しないカメラ(撮像部17に対応)を用いて、2つのコードそれぞれを、表示部41に表示される枠K1及び枠K2に位置するように撮像する。撮像された画像は、記憶部12に記憶される。   In step S10, as shown in FIG. 5, the user presses the imaging button 42 (corresponding to the operation unit 13) of the analysis device 40, and uses the camera (corresponding to the imaging unit 17) (not shown) to respectively code the two codes. Then, imaging is performed so as to be positioned in the frame K1 and the frame K2 displayed on the display unit 41. The captured image is stored in the storage unit 12.

動作例1では、画像として撮像される2つのコードは、暗号情報コード20、及び暗号情報コード20を復号する復号鍵を含む復号鍵コード30である。   In the operation example 1, the two codes captured as an image are the encryption information code 20 and the decryption key code 30 including the decryption key for decrypting the encryption information code 20.

図6は、暗号情報コードが枠K1内に位置するように、復号鍵コードが枠K2内に位置するように、撮像された状態を示す。   FIG. 6 shows a state where the image is captured so that the encryption key code is positioned within the frame K1 and the decryption key code is positioned within the frame K2.

また、図7、暗号情報コードが枠K1と重なって位置するように、復号鍵コードが枠K2と重なって位置するように、撮像された状態を示す。   FIG. 7 shows a state where the image is captured so that the encryption key code is positioned so as to overlap the frame K1, and the decryption key code is positioned so as to overlap the frame K2.

解析装置10は、枠K1内に位置するか、又は、枠K1に一部が重なって位置するコードを、枠K1に位置するコードとして認識する。同様に、解析装置10は、枠K2内に位置するか、又は、枠K2に一部が重なって位置するコードを、枠K2に位置するコードとして認識する。   The analysis device 10 recognizes a code that is located within the frame K1 or that partially overlaps the frame K1 as a code that is located in the frame K1. Similarly, the analysis device 10 recognizes a code that is located in the frame K2 or partially overlapped with the frame K2 as a code that is located in the frame K2.

枠K1は、暗号情報コードと関連づけられている。具体的には、枠K1は、暗号情報コードのデータ部が有する識別子又は暗号情報フラグに対して関連付けられることができる。   The frame K1 is associated with the encryption information code. Specifically, the frame K1 can be associated with an identifier or an encryption information flag included in the data portion of the encryption information code.

枠K2は、復号鍵コードと関連づけられている。具体的には、枠K2は、復号鍵コードのデータ部が有する識別子又は復号鍵フラグに対して関連付けられることができる。   The frame K2 is associated with the decryption key code. Specifically, the frame K2 can be associated with an identifier or a decryption key flag included in the data part of the decryption key code.

コードを撮像する状態において、解析装置40の表示部41には、枠K1及び枠K2が、黒色に表示されている。   In a state where the code is imaged, the frame K1 and the frame K2 are displayed in black on the display unit 41 of the analysis device 40.

動作例1では、撮像される2つのコードは暗号情報コード20及び復号鍵コード30なので、暗号情報コード20は、暗号情報コードと関連づけられており表示部41に表示される枠K1内に位置するか又は枠K1と重なって位置するように撮像され、復号鍵コード30は、復号鍵コードと関連づけられており表示部41に表示される枠K2内に位置するか又は枠K2と重なって位置するように撮像される。   In the operation example 1, since the two codes to be captured are the encryption information code 20 and the decryption key code 30, the encryption information code 20 is associated with the encryption information code and located within the frame K1 displayed on the display unit 41. The decryption key code 30 is associated with the decryption key code and is located within the frame K2 displayed on the display unit 41, or is located so as to overlap the frame K2. As shown in FIG.

次に、解析装置40は、記憶部12に記憶された画像を解析する。   Next, the analysis device 40 analyzes the image stored in the storage unit 12.

解析装置40は、枠K1に位置するコードの位置検出パターンに基づいて、枠K1に位置するコードのデータ部の位置を求める。そして、解析装置40は、データ部に含まれる識別子又はフラグの情報を取り出す。また、解析装置40は、暗号情報コード20から暗号情報及び第1メッセージ認証符号を取り出す。   The analysis device 40 obtains the position of the data portion of the code located in the frame K1 based on the position detection pattern of the code located in the frame K1. And the analysis apparatus 40 takes out the information of the identifier or flag contained in a data part. Further, the analysis device 40 extracts the encryption information and the first message authentication code from the encryption information code 20.

同様に、解析装置40は、枠K2に位置するコードの位置検出パターンに基づいて、枠K2に位置するコードのデータ部の位置を求める。そして、解析装置40は、データ部に含まれる識別子又はフラグの情報を取り出す。また、解析装置40は、復号鍵コード30から復号鍵を取り出す。   Similarly, the analysis device 40 obtains the position of the data portion of the code located in the frame K2 based on the position detection pattern of the code located in the frame K2. And the analysis apparatus 40 takes out the information of the identifier or flag contained in a data part. Further, the analysis device 40 extracts the decryption key from the decryption key code 30.

暗号情報コード20及び復号鍵コード30は、誤り訂正符号を有しているので、コードが汚れていても、所定の汚れであれば、汚れの影響を取り除いて、コードに含まれている情報を取り出すことができる。   Since the encryption information code 20 and the decryption key code 30 have error correction codes, even if the code is dirty, if the code is dirty, the influence of the dirt is removed and the information contained in the code is removed. It can be taken out.

そして、解析装置40は、復号鍵コード30から取り出された復号鍵を用いて、暗号情報コード20から取り出された暗号情報を復号し、暗号情報が復号された復号情報を作成する。更に、解析装置40は、復号鍵及び復号情報を用いて、第2メッセージ認証符号を作成する。   Then, the analysis device 40 uses the decryption key extracted from the decryption key code 30 to decrypt the encryption information extracted from the encryption information code 20, and creates decryption information obtained by decrypting the encryption information. Furthermore, the analysis device 40 creates a second message authentication code using the decryption key and the decryption information.

次に、ステップS14において、解析装置40は、枠K1内に位置するか又は枠K1と重なって位置するコードが、枠K1と関連付けられている暗号情報コードであるか否かを判断する。また、解析装置10は、枠K2内に位置するか又は枠K2と重なって位置するコードが、枠K2と関連付けられている復号鍵コードであるか否かを判断する。各枠に、関連づけられている所定の二次元コードが位置する場合には、ステップS16へ進む。一方、2つの枠の何れか一方でも、関連づけられている所定の二次元コードが位置していない場合には、ステップS22へ進む。ステップS22へ進む場合の動作は、後述する動作例3において説明する。   Next, in step S14, the analysis device 40 determines whether or not the code located in the frame K1 or overlapping the frame K1 is an encryption information code associated with the frame K1. Further, the analysis device 10 determines whether or not the code that is located within the frame K2 or overlapped with the frame K2 is a decryption key code that is associated with the frame K2. If a predetermined two-dimensional code associated with each frame is located, the process proceeds to step S16. On the other hand, if the predetermined two-dimensional code associated with any one of the two frames is not located, the process proceeds to step S22. The operation when proceeding to step S22 will be described in an operation example 3 described later.

動作例1では、枠K1には、枠K1と関連付けられている暗号情報コードが位置しており、枠K2には、枠K2と関連付けられている復号鍵コードが位置しているので、ステップS16へ進む。   In the operation example 1, since the encryption information code associated with the frame K1 is located in the frame K1, and the decryption key code associated with the frame K2 is located in the frame K2, step S16. Proceed to

次に、ステップS16において、解析装置40は、暗号情報コード20のデータ部に含まれる第1メッセージ認証符号と、上述したステップS12で作成された第2メッセージ認証符号とが一致するか否かを判断する。第1メッセージ認証符号と第2メッセージ認証符号とが一致する場合には、復号鍵コード30が暗号情報コード20に対応する復号鍵を含むので、2つのコードが、所定の関係を有すると判断されて、ステップS18へ進む。一方、一致しない場合には、ステップS24へ進む。ステップS24へ進む場合の動作は、後述する動作例2において説明する。   Next, in step S16, the analysis device 40 determines whether or not the first message authentication code included in the data portion of the encryption information code 20 matches the second message authentication code created in step S12 described above. to decide. If the first message authentication code and the second message authentication code match, the decryption key code 30 includes the decryption key corresponding to the encryption information code 20, so that it is determined that the two codes have a predetermined relationship. Then, the process proceeds to step S18. On the other hand, if they do not match, the process proceeds to step S24. The operation when proceeding to step S24 will be described in an operation example 2 described later.

動作例1では、暗号情報コード20の暗号情報は、復号鍵コード30の復号鍵を用いて暗号化されており、第1メッセージ認証符号と第2メッセージ認証符号とが一致するので、2つのコードが所定の関係を有すると判断されて、ステップS18へ進む。   In the operation example 1, the encryption information of the encryption information code 20 is encrypted using the decryption key of the decryption key code 30, and the first message authentication code and the second message authentication code match, so two codes Are determined to have a predetermined relationship, the process proceeds to step S18.

次に、ステップS18において、解析装置40は、ユーザが認識可能な情報として、表示部41に表示される枠K1及び枠K2の色を、黒色から緑色へ変化させて、枠K1及び枠K2を表示部41に表示する。ユーザは、枠K1及び枠K2の色が緑色に変化することを視認することにより、各枠に、関連づけられている所定の二次元コードが位置するように撮像されたことを認識できる。   Next, in step S18, the analysis device 40 changes the color of the frame K1 and the frame K2 displayed on the display unit 41 from black to green as information that can be recognized by the user, and sets the frame K1 and the frame K2. It is displayed on the display unit 41. By visually recognizing that the color of the frame K1 and the frame K2 changes to green, the user can recognize that the image is captured so that a predetermined two-dimensional code associated with each frame is located.

次に、ステップS20において、解析装置40は、復号鍵コード30を用いて、暗号情報コード20を復号し、復号された復号情報を、表示部14に出力する。図5に示す例では、「復号成功、暗号情報は「abc」です」という表示が、表示部41に表示される。又は、同様の内容を、図示しない出力部を用いて、音声で出力しても良い。或いは、復号情報がURLである場合は、ウェブ誘導を行っても良い。   Next, in step S <b> 20, the analysis device 40 decrypts the encryption information code 20 using the decryption key code 30, and outputs the decrypted decryption information to the display unit 14. In the example illustrated in FIG. 5, a display “Successful decryption, encryption information is“ abc ”” is displayed on the display unit 41. Or you may output the same content by an audio | voice using the output part which is not shown in figure. Alternatively, when the decryption information is a URL, web guidance may be performed.

以上が、動作例1の説明である。   The above is the description of the first operation example.

次に、解析装置の動作例2を、図4に示すフローチャート及び図8を参照しながら、以下に説明する。   Next, an operation example 2 of the analysis apparatus will be described below with reference to the flowchart shown in FIG. 4 and FIG.

動作例2では、画像として撮像される2つのコードは、暗号情報コード20、及び復号鍵コード30であるが、復号鍵コード30が含む復号鍵は、暗号情報コード20を復号する復号鍵ではないので、暗号情報コード20が含む暗号情報を正しく復号できない。   In the operation example 2, the two codes captured as an image are the encryption information code 20 and the decryption key code 30, but the decryption key included in the decryption key code 30 is not a decryption key for decrypting the encryption information code 20. Therefore, the encryption information included in the encryption information code 20 cannot be correctly decrypted.

まず、ステップS10において、ユーザは、図8に示すように、解析装置40の撮像ボタン42(操作部13に対応)を押して、図示しないカメラ(撮像部17に対応)を用いて、2つのコードそれぞれを、表示部41に表示される枠K1及び枠K2に位置するように撮像する。撮像された画像は、記憶部12に記憶される。   First, in step S10, as shown in FIG. 8, the user presses the imaging button 42 (corresponding to the operation unit 13) of the analyzing apparatus 40, and uses a two-code code (corresponding to the imaging unit 17). Each is imaged so that it may be located in the frame K1 displayed on the display part 41, and the frame K2. The captured image is stored in the storage unit 12.

枠K1は、暗号情報コードと関連づけられている。具体的には、枠K1は、暗号情報コードのデータ部が有する識別子又は暗号情報フラグに対して関連付けられることができる。   The frame K1 is associated with the encryption information code. Specifically, the frame K1 can be associated with an identifier or an encryption information flag included in the data portion of the encryption information code.

枠K2は、復号鍵コードと関連づけられている。具体的には、枠K2は、復号鍵コードのデータ部が有する識別子又は復号鍵フラグに対して関連付けられることができる。   The frame K2 is associated with the decryption key code. Specifically, the frame K2 can be associated with an identifier or a decryption key flag included in the data part of the decryption key code.

コードを撮像する状態において、解析装置40の表示部41では、枠K1及び枠K2は、黒色に表示されている。   In the state where the code is imaged, the frame K1 and the frame K2 are displayed in black on the display unit 41 of the analysis device 40.

動作例2でも、撮像される2つのコードは、暗号情報コード20及び復号鍵コード30なので、暗号情報コード20は、暗号情報コードと関連づけられており表示部41に表示される枠K1内に位置するか又は枠K1と重なって位置するように撮像され、復号鍵コード30は、復号鍵コードと関連づけられており表示部41に表示される枠K2内に位置するか又は枠K2と重なって位置するように撮像される。   Also in the operation example 2, since the two codes to be captured are the encryption information code 20 and the decryption key code 30, the encryption information code 20 is associated with the encryption information code and is positioned within the frame K1 displayed on the display unit 41. Or the decryption key code 30 is associated with the decryption key code and is located in the frame K2 displayed on the display unit 41 or overlapped with the frame K2. Images are taken as if

解析装置40は、枠K1に位置するコードの位置検出パターンに基づいて、枠K1に位置するコードのデータ部の位置を求める。そして、解析装置40は、データ部に含まれる識別子又はフラグの情報を取り出す。また、解析装置40は、暗号情報コード20から暗号情報及び第1メッセージ認証符号を取り出す。   The analysis device 40 obtains the position of the data portion of the code located in the frame K1 based on the position detection pattern of the code located in the frame K1. And the analysis apparatus 40 takes out the information of the identifier or flag contained in a data part. Further, the analysis device 40 extracts the encryption information and the first message authentication code from the encryption information code 20.

同様に、解析装置40は、枠K2に位置するコードの位置検出パターンに基づいて、枠K2に位置するコードのデータ部の位置を求める。そして、解析装置40は、データ部に含まれる識別子又はフラグの情報を取り出す。また、解析装置40は、復号鍵コード30から復号鍵を取り出す。   Similarly, the analysis device 40 obtains the position of the data portion of the code located in the frame K2 based on the position detection pattern of the code located in the frame K2. And the analysis apparatus 40 takes out the information of the identifier or flag contained in a data part. Further, the analysis device 40 extracts the decryption key from the decryption key code 30.

そして、解析装置40は、復号鍵コード30から取り出された復号鍵を用いて、暗号情報コード20から取り出された暗号情報を復号し、暗号情報が復号された復号情報を作成する。更に、解析装置40は、復号鍵及び復号情報を用いて、第2メッセージ認証符号を作成する。   Then, the analysis device 40 uses the decryption key extracted from the decryption key code 30 to decrypt the encryption information extracted from the encryption information code 20, and creates decryption information obtained by decrypting the encryption information. Furthermore, the analysis device 40 creates a second message authentication code using the decryption key and the decryption information.

次に、ステップS14において、解析装置40は、枠K1内に位置するか又は枠K1と重なって位置するコードが、枠K1と関連付けられている暗号情報コードであるか否かを判断する。また、解析装置10は、枠K2内に位置するか又は枠K2と重なって位置するコードが、枠K2と関連付けられている復号鍵コードであるか否かを判断する。各枠に、関連づけられている所定の二次元コードが位置する場合には、ステップS16へ進む。一方、各枠の何れか一方でも、関連づけられている所定の二次元コードが位置していない場合には、ステップS22へ進む。ステップS22へ進む場合の動作は、後述する動作例3において説明する。   Next, in step S14, the analysis device 40 determines whether or not the code located in the frame K1 or overlapping the frame K1 is an encryption information code associated with the frame K1. Further, the analysis device 10 determines whether or not the code that is located within the frame K2 or overlapped with the frame K2 is a decryption key code that is associated with the frame K2. If a predetermined two-dimensional code associated with each frame is located, the process proceeds to step S16. On the other hand, if the predetermined two-dimensional code associated with any one of the frames is not located, the process proceeds to step S22. The operation when proceeding to step S22 will be described in an operation example 3 described later.

動作例2でも、枠K1には、枠K1と関連付けられている暗号情報コード20が位置しており、枠K2には、枠K2と関連付けられている復号鍵コード30が位置しているので、ステップS16へ進む。   Also in the operation example 2, the encryption information code 20 associated with the frame K1 is located in the frame K1, and the decryption key code 30 associated with the frame K2 is located in the frame K2. Proceed to step S16.

次に、ステップS16において、解析装置40は、暗号情報コード20のデータ部に含まれる第1メッセージ認証符号と、第2メッセージ認証符号とが一致するか否かを判断する。   Next, in step S16, the analysis device 40 determines whether or not the first message authentication code and the second message authentication code included in the data portion of the encryption information code 20 match.

動作例2では、復号鍵コード30から取り出された復号鍵は、暗号情報コード20の暗号情報を正しく復号できないので、第1メッセージ認証符号と、第2メッセージ認証符号とは一致しないため、ステップS24へ進む。   In the operation example 2, since the decryption key extracted from the decryption key code 30 cannot correctly decrypt the encryption information of the encryption information code 20, the first message authentication code and the second message authentication code do not match. Proceed to

次に、ステップS24において、解析装置40は、ユーザが認識可能な情報として、表示部41に表示される枠K1及び枠K2の色を、黒色から青色へ変化させて、枠K1及び枠K2を表示部41に表示する。ユーザは、枠K1及び枠K2の色が青色に変化することを視認することにより、各枠に、関連づけられている所定の二次元コードが位置するように撮像されてはいるものの、復号鍵コード30が含む復号鍵は、暗号情報コード20を復号する復号鍵ではないので、暗号情報コード20が含む暗号情報を正しく復号できないことを認識できる。   Next, in step S24, the analysis device 40 changes the color of the frame K1 and the frame K2 displayed on the display unit 41 from black to blue as information that can be recognized by the user, so that the frame K1 and the frame K2 are changed. It is displayed on the display unit 41. Although the user visually recognizes that the color of the frames K1 and K2 changes to blue, the image is captured so that a predetermined two-dimensional code associated with each frame is positioned, but the decryption key code is displayed. Since the decryption key included in 30 is not a decryption key for decrypting the encryption information code 20, it can be recognized that the encryption information included in the encryption information code 20 cannot be correctly decrypted.

次に、ステップS26において、解析装置40は、図8に示すように、第1メッセージ認証符号と第2メッセージ認証符号とが一致しないので、コードが認証されないため、「認証されないので復号できません」という表示を、表示部41に出力する。又は、同様の内容を、図示しない出力部を用いて、音声で出力しても良い。   Next, in step S26, since the first message authentication code and the second message authentication code do not match with each other as shown in FIG. 8, the analysis device 40 says that the code is not authenticated, and thus “cannot be decrypted because it is not authenticated”. The display is output to the display unit 41. Or you may output the same content by an audio | voice using the output part which is not shown in figure.

以上が、動作例2の説明である。   The above is the description of the operation example 2.

次に、解析装置の動作例3を、図4に示すフローチャート及び図9を参照しながら、以下に説明する。   Next, an operation example 3 of the analysis apparatus will be described below with reference to the flowchart shown in FIG. 4 and FIG.

動作例3では、画像として撮像される2つのコードは、暗号情報コード20、及び復号鍵コードとは異なるコード35である。   In the operation example 3, the two codes captured as an image are the encryption information code 20 and the code 35 different from the decryption key code.

まず、ステップS10において、ユーザは、図9に示すように、解析装置40の撮像ボタン42(操作部13に対応)を押して、図示しないカメラ(撮像部17に対応)を用いて、2つのコードそれぞれを、表示部41に表示される枠K1及び枠K2に位置するように撮像する。撮像された画像は、記憶部12に記憶される。   First, in step S10, as shown in FIG. 9, the user presses the imaging button 42 (corresponding to the operation unit 13) of the analysis device 40, and uses a camera (corresponding to the imaging unit 17) (not shown) to generate two codes. Each is imaged so that it may be located in the frame K1 displayed on the display part 41, and the frame K2. The captured image is stored in the storage unit 12.

枠K1は、暗号情報コードと関連づけられている。具体的には、枠K1は、例えば、暗号情報コードのデータ部が有する識別子又は暗号情報フラグに対して関連付けられることができる。   The frame K1 is associated with the encryption information code. Specifically, the frame K1 can be associated with, for example, an identifier or an encryption information flag included in the data portion of the encryption information code.

枠K2は、復号鍵コードと関連づけられている。具体的には、枠K2は、復号鍵コードのデータ部が有する識別子又は復号鍵フラグに対して関連付けられることができる。   The frame K2 is associated with the decryption key code. Specifically, the frame K2 can be associated with an identifier or a decryption key flag included in the data part of the decryption key code.

コードを撮像する状態において、解析装置40の表示部41では、枠K1及び枠K2は、黒色に表示されている。   In the state where the code is imaged, the frame K1 and the frame K2 are displayed in black on the display unit 41 of the analysis device 40.

動作例3では、暗号情報コード20は、暗号情報コードと関連づけられており表示部41に表示される枠K1内に位置するか又は枠K1と重なって位置するように撮像され、コード35は、復号鍵コードと関連づけられており表示部41に表示される枠K2内に位置するか又は枠K2と重なって位置するように撮像される。   In the operation example 3, the encryption information code 20 is associated with the encryption information code and is imaged so as to be positioned within the frame K1 displayed on the display unit 41 or overlap the frame K1, and the code 35 is The image is captured so as to be associated with the decryption key code and positioned within the frame K2 displayed on the display unit 41 or overlapped with the frame K2.

解析装置40は、枠K1に位置するコードの位置検出パターンに基づいて、枠K1に位置するコードのデータ部の位置を求める。そして、解析装置40は、データ部に含まれる識別子又はフラグの情報を取り出す。また、解析装置40は、暗号情報コード20から暗号情報及び第1メッセージ認証符号を取り出す。   The analysis device 40 obtains the position of the data portion of the code located in the frame K1 based on the position detection pattern of the code located in the frame K1. And the analysis apparatus 40 takes out the information of the identifier or flag contained in a data part. Further, the analysis device 40 extracts the encryption information and the first message authentication code from the encryption information code 20.

同様に、解析装置40は、枠K2に位置するコードの位置検出パターンに基づいて、枠K2に位置するコードのデータ部の位置を求める。そして、解析装置40は、データ部に含まれる識別子又はフラグの情報を取り出す。   Similarly, the analysis device 40 obtains the position of the data portion of the code located in the frame K2 based on the position detection pattern of the code located in the frame K2. And the analysis apparatus 40 takes out the information of the identifier or flag contained in a data part.

次に、ステップS14において、解析装置40は、枠K1内に位置するか又は枠K1と重なって位置するコードが、枠K1と関連付けられている暗号情報コードであるか否かを判断する。また、解析装置10は、枠K2内に位置するか又は枠K2と重なって位置するコードが、枠K2と関連付けられている復号鍵コードであるか否かを判断する。   Next, in step S14, the analysis device 40 determines whether or not the code located in the frame K1 or overlapping the frame K1 is an encryption information code associated with the frame K1. Further, the analysis device 10 determines whether or not the code that is located within the frame K2 or overlapped with the frame K2 is a decryption key code that is associated with the frame K2.

動作例3では、枠K1に位置するコードは、枠K1と関連付けられている暗号情報コードであるが、枠K2に位置するコードは、枠K2と関連付けられている復号鍵コードではない。そこで、次に、ステップS22へ進む。   In the operation example 3, the code located in the frame K1 is an encryption information code associated with the frame K1, but the code located in the frame K2 is not a decryption key code associated with the frame K2. Therefore, the process proceeds to step S22.

次に、ステップS22において、解析装置40は、ユーザが認識可能な情報として、表示部41に表示される枠K1の色を、黒色から青色へ変化させ、表示部41に表示される枠K2の色を、黒色から赤色へ変化させて、枠K1及び枠K2を表示部41に表示する。ユーザは、枠K1の色が青色に変化することを視認することにより、枠K1枠に、関連づけられている所定の二次元コードが位置するように撮像されてはいることを認識するが、枠K2の色が赤色に変化することを視認することにより、枠K2枠には、関連づけられている所定の二次元コードが位置するように撮像されていないことが認識できる。このようにして、ユーザは、枠それぞれに、関連づけられている所定の二次元コードが位置していないことを認識できる。   Next, in step S22, the analysis device 40 changes the color of the frame K1 displayed on the display unit 41 from black to blue as information that can be recognized by the user, and changes the color of the frame K2 displayed on the display unit 41. The color is changed from black to red, and the frame K1 and the frame K2 are displayed on the display unit 41. By visually recognizing that the color of the frame K1 changes to blue, the user recognizes that the image is captured so that the predetermined two-dimensional code associated with the frame K1 is positioned. By visually recognizing that the color of K2 changes to red, it can be recognized that the frame K2 is not imaged so that a predetermined two-dimensional code associated therewith is positioned. In this way, the user can recognize that the predetermined two-dimensional code associated with each frame is not located.

また、ステップS22において、解析装置40は、表示部41に表示される枠K1及び枠K2の色を、黒色から黒色へ変化させて、即ち、枠の色を変えないまま、枠K1及び枠K2を表示部41に表示してもよい。ユーザは、枠K1及び枠K2の色が黒色の状態で変化しないことを視認することにより、各枠に、関連づけられている所定の二次元コードが位置していないことを認識できる。   In step S22, the analysis device 40 changes the color of the frame K1 and the frame K2 displayed on the display unit 41 from black to black, that is, without changing the color of the frame, the frame K1 and the frame K2. May be displayed on the display unit 41. By visually recognizing that the colors of the frames K1 and K2 do not change in a black state, the user can recognize that the predetermined two-dimensional code associated with each frame is not located.

以上が、動作例3の説明である。   The above is the description of the operation example 3.

上述した実施形態の解析装置10によれば、表示部に表示された各枠に、関連づけられている所定の二次元コードが位置するのか否かについて、ユーザが認識可能となるので、二次元コードの解析処理におけるユーザの操作性が向上する。   According to the analysis device 10 of the above-described embodiment, the user can recognize whether or not a predetermined two-dimensional code associated with each frame displayed on the display unit is positioned. The user operability in the analysis process is improved.

上述した各動作例の説明では、ユーザが認識可能な情報が枠の色であったが、ユーザが認識可能な情報であれば、他の情報を用いてもよい。以下、ユーザが認識可能な情報の他の例を、変形例1〜3として説明する。   In the description of each operation example described above, the information that can be recognized by the user is the color of the frame, but other information may be used as long as the information can be recognized by the user. Hereinafter, other examples of information that can be recognized by the user will be described as modified examples 1 to 3.

図10は、解析装置の変型例1を示す図である。   FIG. 10 is a diagram illustrating a modified example 1 of the analysis apparatus.

変形例1では、解析装置40は、上述したステップS18、S22又はS24において、ユーザが認識可能な情報として、音を、出力部(図示せず)を用いて出力する。ステップS18、S22又はS24では、それぞれ異なる音を出力して、複数の二次元コードが所定の関係を有するのか、又は、複数の二次元コードが所定の関係を有さないのか、又は、各枠に関連づけられている所定の二次元コードが位置しているのか否かについて、ユーザが認識できるようにすることが好ましい。   In the first modification, the analysis device 40 outputs sound as information that can be recognized by the user using an output unit (not shown) in the above-described step S18, S22, or S24. In steps S18, S22, or S24, different sounds are output, and a plurality of two-dimensional codes have a predetermined relationship, or a plurality of two-dimensional codes do not have a predetermined relationship, or each frame It is preferable that the user can recognize whether or not a predetermined two-dimensional code associated with is located.

図11は、解析装置の変型例2を示す図である。   FIG. 11 is a diagram illustrating a modification example 2 of the analysis apparatus.

変形例2では、解析装置40は、上述したステップS18、S22又はS24において、ユーザが認識可能な情報として、振動を、出力部(図示せず)を用いて出力する。ステップS18、S22又はS24では、それぞれ異なる振動を出力して、複数の二次元コードが所定の関係を有するのか、又は、複数の二次元コードが所定の関係を有さないのか、又は、各枠に関連づけられている所定の二次元コードが位置しているのか否かについて、ユーザが認識できるようにすることが好ましい。   In the modified example 2, the analysis device 40 outputs vibration as information that can be recognized by the user using an output unit (not shown) in the above-described step S18, S22, or S24. In steps S18, S22, or S24, different vibrations are output, and a plurality of two-dimensional codes have a predetermined relationship, or a plurality of two-dimensional codes do not have a predetermined relationship, or each frame It is preferable that the user can recognize whether or not a predetermined two-dimensional code associated with is located.

図12は、解析装置の変型例3を示す図である。   FIG. 12 is a diagram illustrating a third modification of the analysis apparatus.

変形例3では、解析装置40は、上述したステップS18、S22又はS24において、ユーザが認識可能な情報として、表示部41に表示される情報を、表示部41を用いて出力する。ステップS18、S22又はS24では、それぞれ異なる情報を表示して、複数の二次元コードが所定の関係を有するのか、又は、複数の二次元コードが所定の関係を有さないのか、又は、各枠に関連づけられている所定の二次元コードが位置しているのか否かについて、ユーザが認識できるようにすることが好ましい。例えば、ステップS18において、解析装置40は、表示部41に、「復号成功、暗号情報は「abc」です」という表示を、表示部41に表示することにより、複数の二次元コードが所定の関係を有することを、ユーザに認識させてもよい。この場合には、ステップS20の処理を省略してもよい。   In the third modification, the analysis device 40 outputs information displayed on the display unit 41 as information that can be recognized by the user in the above-described step S18, S22, or S24. In steps S18, S22, or S24, different information is displayed, and a plurality of two-dimensional codes have a predetermined relationship, or a plurality of two-dimensional codes do not have a predetermined relationship, or each frame It is preferable that the user can recognize whether or not a predetermined two-dimensional code associated with is located. For example, in step S <b> 18, the analysis device 40 displays on the display unit 41 a message “Successfully decrypted, encryption information is“ abc ”” on the display unit 41. The user may be made aware of having In this case, the process of step S20 may be omitted.

上述した実施形態及び変形例では、表示部に表示される枠K1は、暗号情報コードと関連付けられており、枠K2は、復号鍵コードと関連づけられていたが、表示部に表示される各枠が関連づけられる二次元コードは、これらに限定されるものではない。   In the embodiment and the modification described above, the frame K1 displayed on the display unit is associated with the encryption information code, and the frame K2 is associated with the decryption key code, but each frame displayed on the display unit. However, the two-dimensional code associated with is not limited to these.

また、本明細書において、複数の二次元コードそれぞれが、所定の関係を有するとは、一の二次元コードが有する一の情報と、一の情報と対応するか又は一の情報と共に使用される他の情報を他の二次元コードが有しているような関係をいう。   Further, in this specification, that each of a plurality of two-dimensional codes has a predetermined relationship means that one piece of information that one piece of two-dimensional code has corresponds to one piece of information or is used together with one piece of information. A relationship that other two-dimensional codes have other information.

以下、図13を参照して、表示部に表示される各枠が関連づけられる二次元コードの他の例、及び複数の二次元コードそれぞれが所定の関係を有する他の例を、図13を参照しながら説明する。   Hereinafter, referring to FIG. 13, refer to FIG. 13 for another example of a two-dimensional code associated with each frame displayed on the display unit and another example in which each of a plurality of two-dimensional codes has a predetermined relationship. While explaining.

図13は、他の実施形態を示す図である。   FIG. 13 is a diagram showing another embodiment.

以下に示す実施形態では、荷物を預かる荷物預かり所において、二次元コードを用いて、荷物が管理される場合の例を説明する。   In the embodiment described below, an example will be described in which luggage is managed using a two-dimensional code in a luggage storage where luggage is deposited.

荷物を預かる荷物預かり所において、預けられる荷物には、荷物を識別する荷物札50が付されて管理される。また、荷物預かり所に荷物を預けた者には、荷物を預けたことを示す預かり証52が渡される。   In the luggage storage where the luggage is deposited, the luggage to be deposited is managed with a luggage tag 50 for identifying the luggage. Also, a receipt 52 indicating that the baggage has been deposited is given to the person who has deposited the baggage at the luggage storage.

荷物札50には、荷物を識別する番号と、荷物を識別する番号を含む情報を有する二次元コード51が印刷される。   On the luggage tag 50, a two-dimensional code 51 having a number for identifying the package and information including the number for identifying the package is printed.

預かり証52には、荷物を識別する番号と、荷物を識別する番号を含む情報を有する二次元コード53が印刷される。   On the deposit card 52, a two-dimensional code 53 having a number for identifying the package and information including the number for identifying the package is printed.

預かり証52の荷物を識別する番号は、荷物に付された荷物札50の荷物を識別する番号と同じである。   The number for identifying the package on the receipt 52 is the same as the number for identifying the package on the package tag 50 attached to the package.

荷物を預けた者が、荷物を受け取る時には、預かり証52を、荷物預かり所の係の者に渡す。   When the person who checked the luggage receives the luggage, he / she gives the receipt 52 to the person in charge at the luggage storage.

荷物預かり所の係の者は、荷物札の二次元コード51が、解析装置の表示部に表示される荷物札の二次元コードと関連付けられている枠に位置するように、且つ、預かり証52の二次元コード53が、預かり証荷物札の二次元コードと関連付けられている枠に位置するように画像を撮像する。   The person in charge of the luggage storage area checks that the two-dimensional code 51 of the luggage tag is positioned in a frame associated with the two-dimensional code of the luggage tag displayed on the display unit of the analyzer, and the receipt 52 The two-dimensional code 53 is imaged so as to be positioned in a frame associated with the two-dimensional code of the checked baggage tag.

解析装置は、各枠に、関連づけられている所定の二次元コードが位置しており、且つ、荷物札50の二次元コード51が有する荷物を識別する番号と、預かり証52の二次元コード53が有する荷物を識別する番号とが一致する場合には、荷物預かり所の係の者が認識可能な情報を、表示部又は出力部を用いて出力する。   In the analysis device, a predetermined two-dimensional code associated with each frame is located in each frame, and the number for identifying the package included in the two-dimensional code 51 of the package tag 50 and the two-dimensional code 53 of the custody 52 If the number of the baggage that the baggage has matches, the information that can be recognized by the person in charge at the baggage storage is output using the display unit or output unit.

なお、各枠に、関連づけられている所定の二次元コードが位置していても、荷物札50の二次元コード51が有する荷物を識別する番号と、預かり証52の二次元コード53が有する荷物を識別する番号とが一致しない場合には、解析装置は、関連づけられている所定の二次元コードが位置しているが荷物を識別する番号が一致しないことを、荷物預かり所の係の者が認識可能な情報として、表示部又は出力部を用いて出力する。   Even if a predetermined two-dimensional code associated therewith is located in each frame, the number identifying the package included in the two-dimensional code 51 of the package tag 50 and the package included in the two-dimensional code 53 of the custody 52 If the number that identifies the package does not match, the analyzer checks that the associated two-dimensional code is located but the number that identifies the package does not match, As recognizable information, it outputs using a display part or an output part.

また、解析装置は、枠それぞれに、関連づけられている所定の二次元コードが位置していない場合には、枠それぞれに、関連づけられている所定の二次元コードが位置していないことをユーザが認識可能な情報を、表示部又は出力部を用いて出力する。   In addition, when the predetermined two-dimensional code associated with each frame is not located, the analysis device confirms that the predetermined two-dimensional code associated with each frame is not located. Recognizable information is output using a display unit or an output unit.

このように、荷物預かり所の係の者は、荷物の正当な持ち主が受け取りに来たことが確認できた場合には、預かった荷物を、荷物を預けた者へ返却する。   As described above, when the person in charge at the luggage storage room can confirm that the proper owner of the luggage has arrived, the stored luggage is returned to the person who checked the luggage.

本発明では、上述した実施形態の方法、装置及びプログラムは、本発明の趣旨を逸脱しない限り適宜変更が可能である。また、一の実施形態が有する構成要件は、他の実施形態にも適宜適用することができる。   In the present invention, the method, apparatus, and program of the above-described embodiment can be appropriately changed without departing from the gist of the present invention. In addition, the configuration requirements of one embodiment can be applied to other embodiments as appropriate.

例えば、上述した実施形態では、2つの二次元コードそれぞれが、所定の二次元コードと関連づけられており表示部に表示される枠に位置するように撮像されていたが、3つ以上の二次元コードそれぞれが、所定の二次元コードと関連づけられており表示部に表示される枠に位置するように撮像されていてもよい。また、3つ以上の二次元コードが、所定の関係を有していてもよい。   For example, in the above-described embodiment, each of the two two-dimensional codes is imaged so as to be associated with a predetermined two-dimensional code and positioned in a frame displayed on the display unit. Each code may be imaged so as to be associated with a predetermined two-dimensional code and positioned in a frame displayed on the display unit. Three or more two-dimensional codes may have a predetermined relationship.

解析装置10は、撮像部17を用いて撮像された画像を解析していたが、解析装置10は、複数の二次元コードそれぞれが、所定の二次元コードと関連づけられており表示部に表示される枠内に位置するか又は枠と重なって位置するように撮像された画像を、外部から入力して、入力した画像を解析してもよい。   The analysis device 10 has analyzed the image captured using the imaging unit 17. However, the analysis device 10 displays a plurality of two-dimensional codes in association with a predetermined two-dimensional code and displayed on the display unit. An image captured so as to be located within or overlapping the frame may be input from the outside, and the input image may be analyzed.

10 解析装置
11 演算部
12 記憶部
13 操作部
14 表示部
15 出力部
16 通信部
17 撮像部
20 暗号情報コード
21a〜21d 位置検出パターン
22 データ部
30 復号鍵コード
31a〜31d 位置検出パターン
32 データ部
35 コード
40 解析装置 (多機能型携帯電話機)
41 表示部
42 撮像ボタン
K1 コード枠
K2 鍵枠
50 荷物札
51 二次元コード
52 預かり証
53 二次元コード
DESCRIPTION OF SYMBOLS 10 Analysis apparatus 11 Calculation part 12 Storage part 13 Operation part 14 Display part 15 Output part 16 Communication part 17 Imaging part 20 Encryption information code 21a-21d Position detection pattern 22 Data part 30 Decryption key code 31a-31d Position detection pattern 32 Data part 35 code 40 analyzer (multi-function mobile phone)
41 Display unit 42 Imaging button K1 Code frame K2 Key frame 50 Luggage tag 51 Two-dimensional code 52 Deposit card 53 Two-dimensional code

Claims (9)

複数の二次元コードそれぞれが、所定の二次元コードと関連づけられており表示部に表示される枠内に位置するか又は前記枠と重なって位置するように撮像された画像を解析して、
各前記枠に、関連づけられている前記所定の二次元コードが位置する場合には、ユーザが認識可能な第1の情報を、前記表示部又は出力部を用いて出力し、
各前記枠に、関連づけられている前記所定の二次元コードが位置していない場合には、ユーザが認識可能な第2の情報を、前記表示部又は前記出力部を用いて出力することを、演算部が実行する方法。
Each of the plurality of two-dimensional codes is associated with a predetermined two-dimensional code, and the image captured so as to be positioned within the frame displayed on the display unit or overlapped with the frame is analyzed,
When the predetermined two-dimensional code associated with each frame is located, the first information that can be recognized by the user is output using the display unit or the output unit,
When the predetermined two-dimensional code associated with each frame is not located, the second information that can be recognized by the user is output using the display unit or the output unit. The method executed by the calculation unit.
前記演算部は、
前記複数の二次元コードが所定の関係を有する場合には、前記第1の情報の代わりに、ユーザが認識可能な第3の情報を、前記表示部又は前記出力部を用いて出力する請求項1に記載の方法。
The computing unit is
When the plurality of two-dimensional codes have a predetermined relationship, the display unit or the output unit outputs third information that can be recognized by the user instead of the first information. The method according to 1.
前記第1の情報又は前記第2の情報、枠の色であり、前記画像を表示している前記表示部を用いて出力される請求項1又は2に記載の方法。   The method according to claim 1, wherein the first information or the second information is a color of a frame, and is output using the display unit displaying the image. 前記第1の情報又は前記第2の情報は、音であり、前記出力部を用いて出力される請求項1又は2に記載の方法。   The method according to claim 1 or 2, wherein the first information or the second information is a sound and is output using the output unit. 前記第1の情報又は前記第2の情報は、前記表示部に表示される情報であり、前記表示部を用いて出力される請求項1又は2に記載の方法。   The method according to claim 1 or 2, wherein the first information or the second information is information displayed on the display unit, and is output using the display unit. 前記第1の情報又前記第2の情報は、振動であり、前記出力部を用いて出力される請求項1に記載の方法。 The method according to claim 1, wherein the first information or the second information is vibration and is output using the output unit. 表示部と、
複数の二次元コードそれぞれが、所定の二次元コードと関連づけられており前記表示部に表示される枠内に位置するか又は前記枠と重なって位置するように撮像された画像を解析する演算部であって、
各前記枠に、関連づけられている前記所定の二次元コードが位置する場合には、ユーザが認識可能な第1の情報を、前記表示部を用いて出力し、
各前記枠に、関連づけられている前記所定の二次元コードが位置していない場合には、ユーザが認識可能な第2の情報を、前記表示部を用いて出力する演算部と、
を備える装置。
A display unit;
An arithmetic unit that analyzes an image captured so that each of a plurality of two-dimensional codes is associated with a predetermined two-dimensional code and is located within a frame displayed on the display unit or overlaps the frame. Because
When the predetermined two-dimensional code associated with each frame is located, the first information recognizable by the user is output using the display unit,
When the predetermined two-dimensional code associated with each frame is not located, a calculation unit that outputs second information that can be recognized by the user using the display unit;
A device comprising:
出力部を備え、
前記演算部は、
各前記枠に、関連づけられている前記所定の二次元コードが位置する場合には、ユーザが認識可能な第1の情報を前記表示部又は前記出力部を用いて出力し、
各前記枠に、関連づけられている前記所定の二次元コードが位置していない場合には、ユーザが認識可能な第2の情報を前記表示部又は前記出力部を用いて出力する請求項7に記載の装置。
With an output section,
The computing unit is
When the predetermined two-dimensional code associated with each frame is located, the first information recognizable by the user is output using the display unit or the output unit,
The second information recognizable by the user is output using the display unit or the output unit when the predetermined two-dimensional code associated with each frame is not located. The device described.
複数の二次元コードそれぞれが、所定の二次元コードと関連づけられており表示部に表示される枠内に位置するか又は前記枠と重なって位置するように撮像された画像を解析し、
各前記枠に、関連づけられている前記所定の二次元コードが位置する場合には、ユーザが認識可能な第1の情報を表示部又は出力部を用いて出力し、
各前記枠に、関連づけられている前記所定の二次元コードが位置していない場合には、ユーザが認識可能な第2の情報を前記表示部又は前記出力部を用いて出力することをコンピュータに実行させるプログラム。
Each of the plurality of two-dimensional codes is associated with a predetermined two-dimensional code, and an image captured so as to be positioned within the frame displayed on the display unit or overlapped with the frame is analyzed,
When the predetermined two-dimensional code associated with each frame is located, the first information recognizable by the user is output using the display unit or the output unit,
When the predetermined two-dimensional code associated with each frame is not located, the second information that can be recognized by the user is output to the computer using the display unit or the output unit. The program to be executed.
JP2014208295A 2014-10-09 2014-10-09 Method, apparatus and program Expired - Fee Related JP6433232B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014208295A JP6433232B2 (en) 2014-10-09 2014-10-09 Method, apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014208295A JP6433232B2 (en) 2014-10-09 2014-10-09 Method, apparatus and program

Publications (2)

Publication Number Publication Date
JP2016081082A JP2016081082A (en) 2016-05-16
JP6433232B2 true JP6433232B2 (en) 2018-12-05

Family

ID=55956263

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014208295A Expired - Fee Related JP6433232B2 (en) 2014-10-09 2014-10-09 Method, apparatus and program

Country Status (1)

Country Link
JP (1) JP6433232B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020057856A (en) 2018-09-28 2020-04-09 ブラザー工業株式会社 Multifunction machine and image recording device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4192847B2 (en) * 2004-06-16 2008-12-10 カシオ計算機株式会社 Code reader and program
JP2006139349A (en) * 2004-11-10 2006-06-01 Nikon Corp Information transmission device, information reception device, and information transmission device
JP6090997B2 (en) * 2013-05-07 2017-03-08 株式会社ウェルキャット Bar code symbol reading apparatus and bar code symbol reading method

Also Published As

Publication number Publication date
JP2016081082A (en) 2016-05-16

Similar Documents

Publication Publication Date Title
EP3001637B1 (en) Methods and devices for authorizing operation
US9530134B2 (en) Authentication on mobile device using two-dimensional code
US9575700B2 (en) Image forming apparatus and method of cloning using mobile device
US8774412B2 (en) Verification method and system
US8868927B1 (en) Method and apparatus for secure data input and output
US20150154598A1 (en) Secure Interaction with Input Devices
US11057214B2 (en) Authentication apparatus using visual cryptography and method thereof
CN105554908A (en) Method, master device, slave device and system for achieving code scanning automatic bluetooth connection
KR20260042300A (en) Digital identity management device
WO2015058658A1 (en) Text encryption and interaction method, encryption method and apparatus, and decryption method and apparatus
JP6541311B2 (en) Decryption system, program and method using cryptographic information code
JP6433232B2 (en) Method, apparatus and program
JP6332952B2 (en) Decoding method, program and system
JP6164079B2 (en) Information terminal and information terminal system
JP5363134B2 (en) Portable wireless communication terminal, authentication system, portable wireless communication terminal authentication method, portable wireless communication terminal authentication program
JP2019213627A (en) Endoscope apparatus, function restricting method, and function restricting program
KR20130140926A (en) System and method for processing scanned images
JP2012054743A (en) Wireless lan setting system, method and program
US7823779B2 (en) Complimentary optical image and radio frequency signal processing
EP3249499A1 (en) Method and device for providing a trusted environment for executing an analogue-digital signature
JP2013206026A (en) Printing system
WO2017130711A1 (en) Electronic signature management system
CN103971046A (en) Decryption method and device
JP6248483B2 (en) Authentication system, information processing apparatus, and authentication program
CN106569756A (en) Method and device for copy false proofing

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170901

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180531

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180612

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180622

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181106

R150 Certificate of patent or registration of utility model

Ref document number: 6433232

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees