JP2012053597A - Merchandise information processing device, program and settlement device - Google Patents

Merchandise information processing device, program and settlement device Download PDF

Info

Publication number
JP2012053597A
JP2012053597A JP2010194730A JP2010194730A JP2012053597A JP 2012053597 A JP2012053597 A JP 2012053597A JP 2010194730 A JP2010194730 A JP 2010194730A JP 2010194730 A JP2010194730 A JP 2010194730A JP 2012053597 A JP2012053597 A JP 2012053597A
Authority
JP
Japan
Prior art keywords
information
product
code
encryption
key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010194730A
Other languages
Japanese (ja)
Other versions
JP5235209B2 (en
Inventor
Tomonari Kakino
友成 柿野
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.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
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 Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2010194730A priority Critical patent/JP5235209B2/en
Publication of JP2012053597A publication Critical patent/JP2012053597A/en
Application granted granted Critical
Publication of JP5235209B2 publication Critical patent/JP5235209B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To prevent information code of temporary registration information passed from a preprocessing system to a settlement device from being altered.SOLUTION: A merchandise information processing device includes a reading control part 61a for reading a merchandise code of a merchandise, a temporary registration information generation part 61b for generating merchandise information including at least the merchandise code read by the reading control part 61a as temporary registration information, an encryption part 61c for encrypting the temporary registration information generated by the temporary registration information generation part 61b by a specified encrypting system, an information code generation part 61d for generating information code through coding the temporary registration information encrypted by the encryption part 61c by a specified coding system, and an output control part 61e for outputting the information code generated by the information code generation part 61d.

Description

本発明の実施形態は、商品情報処理装置、プログラム、および決済装置に関する。   Embodiments described herein relate generally to a commodity information processing apparatus, a program, and a settlement apparatus.

従来、POS端末とは別の装置で購入予定の商品が仮登録(カウント)され、その仮登録内容に対応した仮登録情報の情報コードが2次元コードとして紙片に印字され、POS端末でその情報コードが読み取られて決済等の処理が行われるシステムが知られている。   Conventionally, a product to be purchased is provisionally registered (counted) by a device different from the POS terminal, and an information code of provisional registration information corresponding to the provisional registration content is printed on a piece of paper as a two-dimensional code. A system in which a code is read and processing such as settlement is performed is known.

この種のシステムでは、仮登録情報の情報コードの改竄を抑制することが望ましい。   In this type of system, it is desirable to suppress falsification of the information code of temporary registration information.

本発明の実施形態にかかる商品情報処理装置にあっては、商品の商品コードを読み取る読取制御部と、少なくとも前記読取制御部で読み取られた前記商品コードを含む商品の情報を仮登録情報として生成する仮登録情報生成部と、前記仮登録情報生成部で生成された前記仮登録情報を所定の暗号化方式で暗号化する暗号化部と、前記暗号化部で暗号化された前記仮登録情報を所定の符号化方式で符号化して情報コードを生成する情報コード生成部と、前記情報コード生成部で生成された前記情報コードを出力する出力制御部と、を備えたことを特徴の一つとする。   In the product information processing apparatus according to the embodiment of the present invention, a read control unit that reads a product code of a product, and information on a product including at least the product code read by the read control unit is generated as temporary registration information A temporary registration information generating unit, an encryption unit that encrypts the temporary registration information generated by the temporary registration information generation unit using a predetermined encryption method, and the temporary registration information encrypted by the encryption unit And an output control unit for outputting the information code generated by the information code generation unit, and an output control unit for outputting the information code generated by the information code generation unit. To do.

図1は、本発明の第1実施形態にかかる商品情報処理装置を含む商品販売情報処理システムの概略構成の一例を示す図である。FIG. 1 is a diagram showing an example of a schematic configuration of a merchandise sales information processing system including a merchandise information processing apparatus according to the first embodiment of the present invention. 図2は、本発明の第1実施形態にかかる商品情報処理装置としての携帯端末の一構成例を示す斜視図である。FIG. 2 is a perspective view showing a configuration example of a mobile terminal as the product information processing apparatus according to the first embodiment of the present invention. 図3は、図2の携帯端末を別の角度から見た斜視図である。FIG. 3 is a perspective view of the mobile terminal of FIG. 2 viewed from another angle. 図4は、図2の携帯端末のキー部の概略構成を示す平面図である。FIG. 4 is a plan view showing a schematic configuration of a key portion of the mobile terminal of FIG. 図5は、本発明の第1実施形態にかかる商品情報処理装置としての携帯端末の一例を示すブロック図である。FIG. 5 is a block diagram showing an example of a portable terminal as the product information processing apparatus according to the first embodiment of the present invention. 図6は、本発明の第1実施形態にかかる商品情報処理装置としての携帯端末のCPUの一例を示すブロック図である。FIG. 6 is a block diagram illustrating an example of a CPU of a mobile terminal as the product information processing apparatus according to the first embodiment of the present invention. 図7は、本発明の第1実施形態にかかる商品販売情報処理システムに含まれる決済装置の一例を示すブロック図である。FIG. 7 is a block diagram showing an example of a settlement apparatus included in the merchandise sales information processing system according to the first embodiment of the present invention. 図8は、第1実施形態にかかる商品販売情報処理システムでの鍵の受け渡し、事前処理、および決済の手順を示す概念図である。FIG. 8 is a conceptual diagram showing a procedure of key delivery, pre-processing, and settlement in the merchandise sales information processing system according to the first embodiment. 図9は、第1実施形態にかかる商品販売情報処理システムで用いられる購入予定商品情報の概略構成の一例を示す概念図である。FIG. 9 is a conceptual diagram showing an example of a schematic configuration of purchase planned product information used in the product sales information processing system according to the first embodiment. 図10は、第2実施形態にかかる商品販売情報処理システムでの鍵の受け渡し、事前処理、および決済の手順を示す概念図である。FIG. 10 is a conceptual diagram showing a procedure of key delivery, pre-processing, and settlement in the merchandise sales information processing system according to the second embodiment. 図11は、第3実施形態にかかる商品販売情報処理システムでの鍵の受け渡し、事前処理、および決済の手順を示す概念図である。FIG. 11 is a conceptual diagram showing a procedure of key delivery, pre-processing, and settlement in the merchandise sales information processing system according to the third embodiment. 図12は、第4実施形態にかかる商品販売情報処理システムでの鍵の受け渡し、事前処理、および決済の手順を示す概念図である。FIG. 12 is a conceptual diagram showing a procedure of key delivery, pre-processing, and settlement in the merchandise sales information processing system according to the fourth embodiment. 図13は、第5実施形態にかかる商品販売情報処理システムでの鍵の受け渡し、事前処理、および決済の手順を示す概念図である。FIG. 13 is a conceptual diagram showing a procedure of key delivery, pre-processing, and settlement in the merchandise sales information processing system according to the fifth embodiment.

以下、本発明の実施形態について図面を参照しながら詳細に説明する。なお、以下の複数の実施形態には、同様の構成要素が含まれている。よって、以下では、それら同様の構成要素には共通の符号が付与され、重複する説明が省略される。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. Note that similar components are included in the following embodiments. Therefore, below, the same code | symbol is provided to those similar components, and the overlapping description is abbreviate | omitted.

<第1実施形態>
図1に示すように、本実施形態では、商品販売情報処理システム1は、店舗システムとして構成され、ストアサーバ2とPOS(Point Of Sales)端末3とを含んでいる。ストアサーバ2とPOS端末3とは、LAN(Local Area Network)等の電気通信回線4を介して電気的に接続されている。
<First Embodiment>
As shown in FIG. 1, in this embodiment, the merchandise sales information processing system 1 is configured as a store system, and includes a store server 2 and a POS (Point Of Sales) terminal 3. The store server 2 and the POS terminal 3 are electrically connected via an electric communication line 4 such as a LAN (Local Area Network).

また、本実施形態の商品販売情報処理システム1には、事前処理システム5が含まれている。事前処理システム5は、比較的容易に使用場所を変更できる可搬型の装置で構成され、商品情報処理装置としての携帯端末6と、携帯プリンタ7とを有している。通信装置8と携帯端末6の間、ならびに携帯端末6と携帯プリンタ7との間では、無線(例えば、無線LANや赤外線通信等)によって通信が行われる。なお、事前処理システム5は、計量器等の他の装置を含む構成であってもよい。また、携帯端末6は、プリンタを含む端末として構成することもできる。   In addition, the product sales information processing system 1 of the present embodiment includes a pre-processing system 5. The pre-processing system 5 is composed of a portable device that can change the place of use relatively easily, and includes a portable terminal 6 as a product information processing device and a portable printer 7. Communication is performed between the communication device 8 and the portable terminal 6 and between the portable terminal 6 and the portable printer 7 by wireless (for example, wireless LAN, infrared communication, etc.). The preprocessing system 5 may be configured to include other devices such as a measuring instrument. The portable terminal 6 can also be configured as a terminal including a printer.

事前処理システム5は、客が購入しようとする商品(購入予定商品)を仮登録(カウント)することができる。したがって、例えば、夕方の混雑時など、POS端末3の前で多数の客が待機しているような状況では、オペレータが、事前処理システム5を用いて購入予定商品の仮登録作業を予め済ませておくことで、POS端末3では、仮登録の内容を示す仮登録情報(購入予定商品情報)を利用し、オペレータによる購入予定商品の登録作業を省略できる。よって、POS端末3での処理時間を短縮して、客の待ち時間を減らすことができる。POS端末3は、決済装置に相当する。また、本実施形態では、事前処理システム5は、可搬型の装置によって構成されているため、オペレータは、一時的な事前処理システム5の準備や撤収を比較的簡単に行うことができる。なお、POS端末3は、購入予定商品の登録機能も有しているため、事前処理システム5で仮登録されていない購入予定商品の登録も行うことができるし、事前処理システム5で仮登録できなかった商品の登録を行ったり、事前処理システム5で仮登録済みであるものの何らかの不都合が生じた場合に、購入予定商品の登録をやり直したりすることもできる。   The pre-processing system 5 can tentatively register (count) a product (scheduled purchase product) that a customer intends to purchase. Therefore, for example, in a situation where many customers are waiting in front of the POS terminal 3 such as in the evening crowded, the operator uses the pre-processing system 5 to preliminarily register the products to be purchased. Thus, the POS terminal 3 can use the temporary registration information (scheduled purchase product information) indicating the contents of the temporary registration to omit the registration work of the planned purchase product by the operator. Therefore, the processing time at the POS terminal 3 can be shortened and the waiting time of the customer can be reduced. The POS terminal 3 corresponds to a payment apparatus. Moreover, in this embodiment, since the pre-processing system 5 is comprised by the portable apparatus, the operator can perform preparation and withdrawal of the temporary pre-processing system 5 comparatively easily. Since the POS terminal 3 also has a function of registering a purchase planned product, it is possible to register a purchase planned product that has not been provisionally registered in the preprocessing system 5, and can be provisionally registered in the preprocessing system 5. It is also possible to register a product that has not been registered, or to register a product to be purchased again when some inconvenience occurs although provisional registration has already been performed in the preprocessing system 5.

本実施形態では、事前処理システム5で仮登録した購入予定商品の内容は、媒体(例えば紙片等)に記録された情報コード(例えば、1次元コード、2次元コード等)を介して、POS端末3に伝達される。すなわち、事前処理システム5は、購入予定商品を仮登録する機能と、その内容を示す情報コードを媒体に出力する機能とを、有する。紙片を媒体とする場合、購入予定商品を仮登録する機能は携帯端末6が担い、情報コードを紙片に印字出力する機能は携帯プリンタ7が担う。例えば、客は、事前処理システム5で仮登録済みの購入予定商品とともに紙片(レシート)を持ってPOS端末3へ行き、紙片をPOS端末3のオペレータへ渡す。POS端末3は、オペレータの操作にしたがって、紙片に印字された情報コードを読み取って、購入予定商品の内容を読み込み、当該購入予定商品の販売登録処理や決済処理等を行う。   In the present embodiment, the content of the product scheduled for purchase temporarily registered by the pre-processing system 5 is sent to the POS terminal via an information code (for example, one-dimensional code, two-dimensional code) recorded on a medium (for example, a piece of paper). 3 is transmitted. That is, the pre-processing system 5 has a function of temporarily registering a product scheduled for purchase and a function of outputting an information code indicating the content to a medium. When using a piece of paper as a medium, the portable terminal 6 is responsible for the function of temporarily registering the product to be purchased, and the portable printer 7 is responsible for the function of printing out the information code on the piece of paper. For example, the customer goes to the POS terminal 3 with a piece of paper (receipt) together with the product to be purchased that has been provisionally registered in the pre-processing system 5, and passes the piece of paper to the operator of the POS terminal 3. The POS terminal 3 reads the information code printed on the piece of paper in accordance with the operation of the operator, reads the contents of the product planned for purchase, and performs sales registration processing and settlement processing for the product planned for purchase.

上述したように、本実施形態では、携帯端末6は、オペレータ(店員等)に操作される携帯型の情報処理端末として構成されている。携帯端末6は、図2,3に示すように、略直方体の外観を呈しており、オペレータが片手で操作できるように構成されている。   As described above, in the present embodiment, the mobile terminal 6 is configured as a mobile information processing terminal operated by an operator (such as a store clerk). As shown in FIGS. 2 and 3, the mobile terminal 6 has a substantially rectangular parallelepiped appearance and is configured so that an operator can operate it with one hand.

携帯端末6は、外郭をなす筐体6aを有している。図2に示すように、筐体6aの正面側には、液晶ディスプレイ等のディスプレイ6bや、キー部6c等が設けられている。一方、図3に示すように、筐体6aの裏面側には、スキャナ6dや、バッテリ6e等が設けられている。なお、スキャナ6dは、凹部6fの奥側に配置されている。また、図2,3に示すように、筐体6aの左右両側面の中央部には、トリガスイッチ6g,6hが設けられている。オペレータは、これらトリガスイッチ6g,6hを操作することで、スキャナ6dによる商品コード(商品に付与された情報コード)の読み取りの開始あるいは停止を指示することができる。また、筐体6aの左側面の下部には、第一の無線通信インタフェース(I/F)62e(図5参照)の投受光窓6iが設けられている。   The portable terminal 6 has a housing 6a that forms an outer shell. As shown in FIG. 2, a display 6b such as a liquid crystal display, a key portion 6c, and the like are provided on the front side of the housing 6a. On the other hand, as shown in FIG. 3, a scanner 6d, a battery 6e, and the like are provided on the back side of the housing 6a. The scanner 6d is disposed on the back side of the recess 6f. As shown in FIGS. 2 and 3, trigger switches 6g and 6h are provided at the central portions of the left and right side surfaces of the housing 6a. The operator can instruct to start or stop reading of the product code (information code given to the product) by the scanner 6d by operating these trigger switches 6g and 6h. In addition, a light projecting / receiving window 6i of a first wireless communication interface (I / F) 62e (see FIG. 5) is provided at the lower part of the left side surface of the housing 6a.

バッテリ6eは、筐体6aの裏面の下部に着脱自在に装着されている。オペレータは、筐体6aの右側面の下部に設けられたリリーススイッチ6jを操作することで、バッテリ6eを筐体6aから取り外すことができる。携帯端末6は、このバッテリ6eの電力によって動作する。   The battery 6e is detachably attached to the lower part of the back surface of the housing 6a. The operator can remove the battery 6e from the housing 6a by operating a release switch 6j provided at the lower part of the right side surface of the housing 6a. The portable terminal 6 operates with the power of the battery 6e.

キー部6cは、図4に示すように、「0」〜「9」の値数キーや小数点キーを含むテンキー6c1や、エンターキー6c2、バックスペースキー6c3、クリアキー6c4、シフトキー6c5、電源キー6c6、第一のマジックキー6c7、第二のマジックキー6c8等を有している。   As shown in FIG. 4, the key unit 6c includes a numeric key 6c1 including a value number key of “0” to “9” and a decimal point key, an enter key 6c2, a backspace key 6c3, a clear key 6c4, a shift key 6c5, a power key. 6c6, first magic key 6c7, second magic key 6c8, and the like.

スキャナ6dは、商品コード(例えば、バーコード等の一次元コードや二次元コード等)を光学的に読み取る。各商品には、例えば、商品識別情報としての商品コードが、バーコードの形態で付されている。   The scanner 6d optically reads a product code (for example, a one-dimensional code such as a barcode or a two-dimensional code). For example, a product code as product identification information is attached to each product in the form of a barcode.

また、携帯端末6は、図5に示すように、CPU(Central Processing Unit)61や、ROM(Read Only Memory)62a、RAM(Random Access Memory)62b、NVRAM(Non Volatile Ram)62c、時計部62d、第一の無線通信インタフェース(I/F)62e、第二の無線通信インタフェース(I/F)62f、スキャナコントローラ62g、ディスプレイコントローラ62h、キーコントローラ62i等を備えている。これら各構成要素は、アドレスバス、データバス等のバスライン62jを介して相互に電気的に接続されている。   As shown in FIG. 5, the portable terminal 6 includes a CPU (Central Processing Unit) 61, a ROM (Read Only Memory) 62a, a RAM (Random Access Memory) 62b, an NVRAM (Non Volatile Ram) 62c, and a clock unit 62d. , A first wireless communication interface (I / F) 62e, a second wireless communication interface (I / F) 62f, a scanner controller 62g, a display controller 62h, a key controller 62i, and the like. These constituent elements are electrically connected to each other via a bus line 62j such as an address bus or a data bus.

CPU61は、ROM62a等に記憶されたコンピュータ読み取り可能な各種プログラムを実行することにより、携帯端末6を制御する。ROM62aは、CPU61が実行する各種データや、各種プログラム(BIOS(Basic Input Output System)プログラム、アプリケーションプログラム、デバイスドライバプログラム等)等を記憶する。RAM62bは、CPU61が各種プログラムを実行する際に一時的にデータやプログラムを記憶する。NVRAM62cは、電源がオフされた状態でも、後述する鍵(データ)等の各種データを記憶することができる。   The CPU 61 controls the portable terminal 6 by executing various computer-readable programs stored in the ROM 62a or the like. The ROM 62a stores various data executed by the CPU 61, various programs (BIOS (Basic Input Output System) program, application program, device driver program, etc.) and the like. The RAM 62b temporarily stores data and programs when the CPU 61 executes various programs. The NVRAM 62c can store various data such as a key (data) described later even when the power is turned off.

本実施形態では、携帯端末6用のプログラムに、スキャナコントローラ62gおよびスキャナ6dを制御して商品コードを読み取るモジュールや、仮登録情報としての購入予定商品情報を生成するモジュール、購入予定商品情報を所定の暗号化方式で暗号化するモジュール、暗号化された購入予定商品情報を符号化して情報コードを生成するモジュール、情報コードを出力するモジュール、暗号化および復号に使用する鍵(データ)を生成するモジュール等が含まれる。よって、携帯端末6のCPU61は、プログラムにしたがって、図6に示すように、読取制御部61aや、情報生成部61b、暗号化部61c、情報コード生成部(符号化部)61d、出力制御部61e、鍵生成部61f等として動作する。情報生成部61bは、仮登録情報生成部に相当する。   In the present embodiment, a program for the portable terminal 6 includes a module for reading the product code by controlling the scanner controller 62g and the scanner 6d, a module for generating purchase planned product information as temporary registration information, and purchase planned product information. A module that encrypts data using the encryption method, a module that encodes encrypted product information to be purchased and generates an information code, a module that outputs an information code, and a key (data) used for encryption and decryption Module etc. are included. Therefore, according to the program, the CPU 61 of the mobile terminal 6 performs a reading control unit 61a, an information generation unit 61b, an encryption unit 61c, an information code generation unit (encoding unit) 61d, and an output control unit as shown in FIG. 61e, the key generation unit 61f, and the like. The information generation unit 61b corresponds to a temporary registration information generation unit.

また、図5に示す時計部62dは、現在の日時を計時する。第一の無線通信インタフェース62eは、携帯プリンタ7とのデータ通信を制御する。第二の無線通信インタフェース62fは、通信装置8とのデータ通信を制御する。これらの通信方式としては、種々の方式を採用することができる。   Further, the clock unit 62d shown in FIG. 5 measures the current date and time. The first wireless communication interface 62 e controls data communication with the portable printer 7. The second wireless communication interface 62f controls data communication with the communication device 8. As these communication methods, various methods can be adopted.

スキャナコントローラ62gは、スキャナ6dで読み取られたデータの信号を受け取ってCPU61に送る。ディスプレイコントローラ62hは、ディスプレイ6bを制御して、CPU61から受け取ったデータに対応した画像(文字、数字等も含む)を表示させる。キーコントローラ62iは、キー部6cやトリガスイッチ6g,6hから出力される信号を受け取ってCPU61へ送る。   The scanner controller 62g receives a data signal read by the scanner 6d and sends it to the CPU 61. The display controller 62h controls the display 6b to display an image (including characters and numbers) corresponding to the data received from the CPU 61. The key controller 62 i receives signals output from the key unit 6 c and the trigger switches 6 g and 6 h and sends them to the CPU 61.

携帯プリンタ7は、携帯端末6から受け取ったデータを用紙に印字する。携帯プリンタ7は、例えば、用紙ロールから引き出された帯状用紙に印字するサーマルプリンタとして構成することができる。携帯プリンタ7には、カッタ(図示せず)が設けられており、オペレータは、データが印字された帯状用紙をカッタで切ることで、画像がプリントされた紙片を得ることができる。また、携帯プリンタ7が、帯状用紙を切断する機能を備えることもできる。本実施形態では、この携帯プリンタ7で、上述したように携帯端末6で仮登録された購入予定商品を示すデータが符号化された情報コード(例えば二次元コード)が印字された紙片10(図8等参照)が作成される。   The portable printer 7 prints data received from the portable terminal 6 on paper. The portable printer 7 can be configured as, for example, a thermal printer that prints on a belt-like paper drawn from a paper roll. The portable printer 7 is provided with a cutter (not shown), and an operator can obtain a piece of paper on which an image is printed by cutting the strip-shaped paper on which data is printed with the cutter. Further, the portable printer 7 can also have a function of cutting the belt-like paper. In the present embodiment, the portable printer 7 is a piece of paper 10 on which an information code (for example, a two-dimensional code) in which data indicating a product to be purchased temporarily registered in the portable terminal 6 is encoded as described above is printed (see FIG. 8) is created.

また、図7に示すように、POS端末3は、CPU(Central Processing Unit)31や、ROM(Read Only Memory)32a、RAM(Random Access Memory)32b、時計部32c、I/O(Input/Output)ポート32d、ネットワークインタフェース32g、キーボードコントローラ32h、タッチパネルコントローラ32i、ディスプレイコントローラ32j、プリンタコントローラ32k、スキャナコントローラ32m,32n、記憶装置コントローラ32p等を備えている。そして、図7に示すように、これら各構成要素は、アドレスバス、データバス等のバスライン32qを介して相互に接続されている。   7, the POS terminal 3 includes a CPU (Central Processing Unit) 31, a ROM (Read Only Memory) 32a, a RAM (Random Access Memory) 32b, a clock unit 32c, an I / O (Input / Output). ) Port 32d, network interface 32g, keyboard controller 32h, touch panel controller 32i, display controller 32j, printer controller 32k, scanner controllers 32m and 32n, storage device controller 32p, and the like. As shown in FIG. 7, these components are connected to each other via a bus line 32q such as an address bus or a data bus.

CPU31は、ROM32a等に記憶されたコンピュータ読み取り可能な各種プログラムを実行することにより、POS端末3を制御する。ROM32aは、CPU31が実行する各種データや、各種プログラム(BIOSプログラム、アプリケーションプログラム、デバイスドライバプログラム等)等を記憶する。RAM32bは、CPU31が各種プログラムを実行する際に一時的にデータやプログラムを記憶する。   The CPU 31 controls the POS terminal 3 by executing various computer-readable programs stored in the ROM 32a or the like. The ROM 32a stores various data executed by the CPU 31, various programs (BIOS program, application program, device driver program, etc.) and the like. The RAM 32b temporarily stores data and programs when the CPU 31 executes various programs.

本実施形態では、POS端末3用のプログラムに、暗号化および復号に使用する鍵(データ)を生成するモジュール、情報コードを読み取るモジュール、情報コードを所定の符号化形式で復号(デコード)するモジュール、復号(デコード)された情報を所定の暗号化形式で復号(デクリプション)するモジュール等が含まれる。よって、POS端末3のCPU31は、プログラムにしたがって、鍵生成部31a、第一の復号(デコード)部31b、第二の復号部(デクリプション)部31c、等として動作する。また、POS端末3のCPU31は、プログラムにしたがって、情報コードを読み取る読取部や、情報コードを生成する情報コード生成部(符号化部)、印字を制御する印字制御部、販売登録部、決済部等(図示せず)としても動作する。   In this embodiment, a module for generating a key (data) used for encryption and decryption, a module for reading an information code, and a module for decrypting (decoding) an information code in a predetermined encoding format in the program for the POS terminal 3 And a module for decrypting (decrypting) the decrypted information in a predetermined encryption format. Therefore, the CPU 31 of the POS terminal 3 operates as a key generation unit 31a, a first decryption unit 31b, a second decryption unit (decryption) unit 31c, and the like according to the program. In addition, the CPU 31 of the POS terminal 3 includes a reading unit that reads an information code according to a program, an information code generation unit (encoding unit) that generates an information code, a print control unit that controls printing, a sales registration unit, and a settlement unit. Etc. (not shown).

また、時計部32cは、現在の日時を計時する。I/Oポート32dは、モードスイッチ32eからのモード選択信号を入力するとともにドロワ(図示せず)の引出しを自動開放させるドロワ開放装置32fに信号を出力する。ネットワークインタフェース(I/F)32gは、電気通信回線4等を通じて接続される他の装置とのデータ通信を制御する。キーボードコントローラ32hは、キーボード33aから操作キーに対応したキー信号を受け取ってCPU31に送る。タッチパネルコントローラ32iは、客用のディスプレイ33cを制御して、CPU31から受け取ったデータに対応した画像等を表示させるとともに、ディスプレイ33cに設けられたタッチパネルセンサ33bからの信号を受け取ってCPU31に送る。ディスプレイコントローラ32jは、オペレータ用のディスプレイ33dを制御して、CPU31から受け取ったデータに対応した画像等を表示させる。プリンタコントローラ32kは、レシート/ジャーナル(R/J)プリンタ33eを制御してCPU31から供給されるデータをもとにレシート印字及びジャーナル印字を行わせる。スキャナコントローラ32m,32nは、バーコードスキャナ33fあるいはCCDスキャナ33gが読み取ったデータの信号を受け取ってCPU31へ送る。   Further, the clock unit 32c measures the current date and time. The I / O port 32d inputs a mode selection signal from the mode switch 32e and outputs a signal to a drawer opening device 32f that automatically opens a drawer (not shown). The network interface (I / F) 32g controls data communication with other devices connected through the telecommunication line 4 or the like. The keyboard controller 32h receives a key signal corresponding to the operation key from the keyboard 33a and sends it to the CPU 31. The touch panel controller 32 i controls the customer display 33 c to display an image corresponding to the data received from the CPU 31, and receives a signal from the touch panel sensor 33 b provided on the display 33 c and sends it to the CPU 31. The display controller 32j controls the operator display 33d to display an image or the like corresponding to the data received from the CPU 31. The printer controller 32k controls the receipt / journal (R / J) printer 33e to perform receipt printing and journal printing based on data supplied from the CPU 31. The scanner controllers 32m and 32n receive data signals read by the barcode scanner 33f or the CCD scanner 33g and send them to the CPU 31.

記憶装置コントローラ32pは、CPU31からの指示信号に基づいて不揮発性の記憶部としての記憶装置33hに対するデータの書き込みおよび読み出しを制御する。記憶装置33hは、OS(Operating System)プログラムや、アプリケーションプログラム、デバイスドライバプログラム等の他、各種のデータを記憶する。   The storage device controller 32p controls writing and reading of data to and from the storage device 33h as a nonvolatile storage unit based on an instruction signal from the CPU 31. The storage device 33h stores various data in addition to an OS (Operating System) program, an application program, a device driver program, and the like.

上述したように、本実施形態にかかる商品販売情報処理システム1では、図8に示すように、事前処理システム5(携帯プリンタ7)で、仮登録された購入予定商品を示す購入予定商品情報9が符号化された情報コード(例えば二次元コード)10aが印字された紙片10が作成される。ここで、本実施形態では、事前処理システム5で購入予定商品情報9を所定の暗号化方式で暗号化した上で符号化して情報コード10aを作成することで、情報コード10aの改竄を抑制することができる。すなわち、POS端末3では、情報コード10aを、所定の符号化形式で復号(デコード)し、所定の暗号化形式で復号(デクリプション)して、購入予定商品情報9を得るので、所定の暗号化形式で復号(デクリプション)した際に、正しい情報が得られなかった情報コード10aを、誤った情報コード10aとして取り扱うことができる。   As described above, in the product sales information processing system 1 according to the present embodiment, as shown in FIG. 8, the purchase planned product information 9 indicating the purchase planned product temporarily registered in the preprocessing system 5 (mobile printer 7). A piece of paper 10 on which an information code (for example, a two-dimensional code) 10a is encoded is created. Here, in this embodiment, the pre-processing system 5 encrypts the planned purchase product information 9 with a predetermined encryption method, encodes it, and creates the information code 10a, thereby suppressing falsification of the information code 10a. be able to. That is, in the POS terminal 3, the information code 10a is decrypted (decoded) in a predetermined encoding format and decrypted (decrypted) in a predetermined encrypted format to obtain the product information 9 to be purchased. The information code 10a for which correct information was not obtained when decrypted (decryption) in the encrypted format can be handled as an incorrect information code 10a.

図8に示すように、本実施形態では、POS端末3と事前処理システム5とで共有される共通鍵(データ)を用いた共通鍵暗号方式が用いられる。まず、POS端末3のCPU31が、鍵生成部31aとして動作し、共通鍵を生成する(ステップS111)。次に、CPU31は、印字制御部として動作し、R/Jプリンタ33eに、共通鍵を符号化した情報コード(例えば一次元コード)11aが印字された紙片11を出力させる(ステップS112)。次に、事前処理システム5の携帯端末6のCPU61が、読取制御部61aとして動作し、スキャナ6dを制御して、紙片11に印字された情報コード11aを読み取る(ステップS113)。携帯端末6のCPU61は、情報コード11aを復号化(デコード)して、共通鍵を得ることができる。共通鍵は、POS端末3および事前処理システム5の記憶部(記憶装置33hやNVRAM62c等)に記憶される。共通鍵の情報コード11aが印字された紙片11は、信頼性が確立された状態で、事前処理システム5へ渡される。なお、共通鍵は、信頼性を向上させる観点からは、時限データとするのが好適である。具体的には、例えば、共通鍵を、業務開始前等に毎日作成し直したり、事前処理システム5を常時使わない場合には、事前処理システム5を使用する度に使用前に作成したりするのが好適である。   As shown in FIG. 8, in this embodiment, a common key cryptosystem using a common key (data) shared between the POS terminal 3 and the preprocessing system 5 is used. First, the CPU 31 of the POS terminal 3 operates as the key generation unit 31a and generates a common key (step S111). Next, the CPU 31 operates as a print control unit, and causes the R / J printer 33e to output the paper piece 11 on which an information code (for example, a one-dimensional code) 11a obtained by encoding a common key is printed (step S112). Next, the CPU 61 of the portable terminal 6 of the preprocessing system 5 operates as the reading control unit 61a, controls the scanner 6d, and reads the information code 11a printed on the paper piece 11 (step S113). The CPU 61 of the portable terminal 6 can obtain the common key by decoding (decoding) the information code 11a. The common key is stored in the storage unit (storage device 33h, NVRAM 62c, etc.) of the POS terminal 3 and the preprocessing system 5. The paper piece 11 on which the common key information code 11a is printed is delivered to the preprocessing system 5 in a state where the reliability is established. The common key is preferably timed data from the viewpoint of improving reliability. Specifically, for example, the common key is recreated every day before the start of business, or when the preprocessing system 5 is not always used, it is created before use every time the preprocessing system 5 is used. Is preferred.

そして、購入予定商品の仮登録に際し、事前処理システム5では、まず、携帯端末6のCPU61が、読取制御部61aとして動作してスキャナ6dを制御し、購入予定商品の商品コードを読み取る(ステップS121)。次に、CPU61は、情報生成部61bとして動作し、図9に示すように、通し番号(No.)や、読み取られた商品コード、数量、付加情報を含む購入予定商品情報9(平文)を生成する(ステップS122)。購入予定商品情報9は、例えば、複数の商品のそれぞれについての通し番号や、商品コード、数量、付加情報等が、所定の順序(例えば、読み取られた順序)に羅列されたデータであることができる。付加情報は、例えば、割引情報や、ポイント情報等である。また、付加情報や数値は、キー部6cの操作によっても、入力することができる。また、購入予定商品情報9は、商品の数や、購入予定商品情報9のデータサイズ、購入予定商品情報9の作成時刻、購入予定商品情報9の有効期限等を含むヘッダ情報を有することができる。購入予定商品情報9の有効期限(例えば20分)が設定された場合、POS端末3は、有効期限を過ぎた購入予定商品情報9を無効として、取り扱わない。   When provisionally registering a product to be purchased, in the pre-processing system 5, first, the CPU 61 of the mobile terminal 6 operates as the reading control unit 61a to control the scanner 6d to read the product code of the product to be purchased (step S121). ). Next, the CPU 61 operates as the information generation unit 61b, and generates purchase planned product information 9 (plain text) including a serial number (No.), the read product code, quantity, and additional information as shown in FIG. (Step S122). The purchase planned product information 9 may be data in which serial numbers, product codes, quantities, additional information, etc. for each of a plurality of products are listed in a predetermined order (for example, read order). . The additional information is, for example, discount information or point information. Additional information and numerical values can also be input by operating the key portion 6c. Further, the planned purchase product information 9 can have header information including the number of products, the data size of the planned purchase product information 9, the creation time of the planned purchase product information 9, the expiration date of the planned purchase product information 9, and the like. . When the expiration date (for example, 20 minutes) of the purchase planned product information 9 is set, the POS terminal 3 invalidates the purchase planned product information 9 that has passed the expiration date and does not handle it.

次に、事前処理システム5では、携帯端末6のCPU61が、暗号化部61cとして動作し、共通鍵(データ)を用いて、購入予定商品情報9(平文)を、所定の暗号化形式で暗号化する(ステップS123)。次に、CPU61は、情報コード生成部61dとして動作し、暗号化された購入予定商品情報9を、所定の符号化形式で符号化して、情報コード10aを生成する(ステップS124)。次に、CPU61は、出力制御部61eとして動作し、携帯プリンタ7に、情報コード10aを含むデータを印字(出力)させる(ステップS125)。なお、携帯端末6がストアサーバ2等と通信することにより、CPU61が、購入予定商品の合計金額を算出し、携帯プリンタ7を制御して、紙片10に印字させることができる。客は、このようして作成された紙片10を、かご等に入れられた購入予定商品(実物)とともに、POS端末3へ持って行く。   Next, in the pre-processing system 5, the CPU 61 of the mobile terminal 6 operates as the encryption unit 61 c and encrypts the planned purchase product information 9 (plain text) using a common key (data) in a predetermined encryption format. (Step S123). Next, the CPU 61 operates as the information code generation unit 61d, encodes the encrypted purchase planned product information 9 in a predetermined encoding format, and generates the information code 10a (step S124). Next, the CPU 61 operates as the output control unit 61e, and causes the portable printer 7 to print (output) data including the information code 10a (step S125). When the mobile terminal 6 communicates with the store server 2 or the like, the CPU 61 can calculate the total price of the products scheduled for purchase and control the mobile printer 7 to print on the piece of paper 10. The customer brings the piece of paper 10 thus created to the POS terminal 3 together with the product to be purchased (actual) put in a basket or the like.

POS端末3では、CPU31が、CCDスキャナ33gを制御して紙片10に印字された情報コード10aを読み取る。そして、CPU31は、第一の復号部31bとして動作し、読み取った情報コード10aを復号(デコード)する(ステップS126)。次に、CPU31は、第二の復号部31cとして動作し、共通鍵(データ)を用いて復号(デコード)されたデータを復号(デクリプション)して、購入予定商品情報9(平文)を得る(ステップS127)。次に、CPU31は、購入予定商品情報9に基づいて、販売登録(本登録)や決済等を実行する(ステップS128)。   In the POS terminal 3, the CPU 31 controls the CCD scanner 33g to read the information code 10a printed on the piece of paper 10. Then, the CPU 31 operates as the first decoding unit 31b, and decodes (decodes) the read information code 10a (step S126). Next, the CPU 31 operates as the second decryption unit 31c, decrypts (decrypts) the data decrypted using the common key (data), and obtains the purchase planned product information 9 (plain text). (Step S127). Next, the CPU 31 executes sales registration (main registration), settlement, etc. based on the purchase planned product information 9 (step S128).

このように、POS端末3では、情報コード10aを、所定の符号化形式で復号(デコード)し、所定の暗号化形式で復号(デクリプション)して、購入予定商品情報9を得る。よって、事前処理システム5(携帯端末6)で、符号化する購入予定商品情報9について、有効な正しい共通鍵(データ)を用いて暗号化がなされていなかった場合には、ステップS126で得られたデータが解読不能なデータとなる。   Thus, in the POS terminal 3, the information code 10a is decoded (decoded) in a predetermined encoding format, and is decrypted (decrypted) in a predetermined encrypted format to obtain the purchase planned product information 9. Therefore, if the pre-processing system 5 (portable terminal 6) does not encrypt the purchase planned product information 9 to be encoded by using a valid correct common key (data), it is obtained in step S126. The data becomes undecipherable data.

したがって、本実施形態によれば、仮登録情報としての購入予定商品情報9が暗号化した後に符号化されるので、仮登録情報が平文のまま符号化された情報コードが受け渡しされる場合に比べて、紙片10や情報コード10aの改竄を抑制することができる。   Therefore, according to the present embodiment, since the purchase planned product information 9 as temporary registration information is encoded and then encoded, it is compared with a case where an information code encoded with the temporary registration information in plain text is delivered. Thus, falsification of the paper piece 10 and the information code 10a can be suppressed.

<第2実施形態>
図10に示す本実施形態でも、上記第1実施形態と同様の構成のPOS端末3Aと上記第1実施形態と同様の構成の事前処理システム5Aとで共有される共通鍵(データ)を用いた共通鍵暗号方式が用いられる。ただし、本実施形態では、POS端末3Aではなく、事前処理システム5Aで共通鍵(データ)が生成される。すなわち、まず、事前処理システム5Aの携帯端末6のCPU61が、鍵生成部61fとして動作し、共通鍵を生成する(ステップS211)。次に、CPU61は、出力制御部61eとして動作し、携帯プリンタ7に、共通鍵を符号化した情報コード(例えば一次元コード)11aが印字された紙片11を出力させる(ステップS212)。次に、POS端末3AのCPU31が、CCDスキャナ33gを制御して紙片11に印字された情報コード11aを読み取る(ステップS213)。CPU31は、情報コード11aを復号化(デコード)して、共通鍵を得ることができる。共通鍵は、POS端末3Aおよび事前処理システム5Aの記憶部(記憶装置33hやNVRAM62c等)に記憶される。共通鍵の情報コード11aが印字された紙片11は、信頼性が確立された状態で、POS端末3Aへ渡される。
Second Embodiment
In this embodiment shown in FIG. 10 as well, a common key (data) shared between the POS terminal 3A having the same configuration as that of the first embodiment and the preprocessing system 5A having the same configuration as that of the first embodiment is used. A common key cryptosystem is used. However, in the present embodiment, the common key (data) is generated not by the POS terminal 3A but by the pre-processing system 5A. That is, first, the CPU 61 of the portable terminal 6 of the pre-processing system 5A operates as the key generation unit 61f and generates a common key (step S211). Next, the CPU 61 operates as the output control unit 61e, and causes the portable printer 7 to output the paper piece 11 on which an information code (for example, a one-dimensional code) 11a obtained by encoding a common key is printed (step S212). Next, the CPU 31 of the POS terminal 3A controls the CCD scanner 33g to read the information code 11a printed on the paper piece 11 (step S213). The CPU 31 can decrypt (decode) the information code 11a to obtain a common key. The common key is stored in the storage unit (storage device 33h, NVRAM 62c, etc.) of the POS terminal 3A and the preprocessing system 5A. The piece of paper 11 on which the common key information code 11a is printed is delivered to the POS terminal 3A in a state where the reliability is established.

また、事前処理システム5Aでの購入予定商品の仮登録から、POS端末3Aでの販売登録、決済処理までの流れは、上記第1実施形態と全く同様である。以上の構成によっても、上記第1実施形態と同様の効果を得ることができる。   The flow from provisional purchase product purchase registration in the pre-processing system 5A to sales registration and settlement processing in the POS terminal 3A is exactly the same as in the first embodiment. Also with the above configuration, the same effect as in the first embodiment can be obtained.

<第3実施形態>
図11に示す本実施形態では、上記第1実施形態と同様の構成のPOS端末3Bと上記第1実施形態と同様の構成の事前処理システム5Bとで共有される公開鍵(データ)を用いた公開鍵暗号方式が用いられる。すなわち、まず、POS端末3BのCPU31が、鍵生成部31aとして動作し、所定の公開鍵暗号化方式の鍵生成アルゴリズムによってペアをなす公開鍵および秘密鍵を生成する(ステップS311)。次に、CPU31は、印字制御部として動作し、R/Jプリンタ33eに、公開鍵を符号化した情報コード(例えば一次元コード)11aが印字された紙片11を出力させる(ステップS312)。次に、事前処理システム5Bの携帯端末6のCPU61が、読取制御部61aとして動作し、スキャナ6dを制御して、紙片11に印字された情報コード11aを読み取る(ステップS313)。携帯端末6のCPU61は、情報コード11aを復号化(デコード)して、公開鍵を得ることができる。公開鍵は、POS端末3Bおよび事前処理システム5Bの記憶部(記憶装置33hやNVRAM62c等)に記憶される。また、秘密鍵は、POS端末3Bの記憶部(記憶装置33h等)に記憶される。公開鍵の情報コード11aが印字された紙片11は、信頼性が確立された状態で、事前処理システム5Bへ渡される。公開鍵は、信頼性を向上させる観点からは、時限データとするのが好適である。例えば、公開鍵を、毎日業務開始前等に作成し直したり、事前処理システム5Bを常時使わない場合には、事前処理システム5Bを使用する度に使用前に作成したりするのが好適である。
<Third Embodiment>
In the present embodiment shown in FIG. 11, a public key (data) shared between the POS terminal 3B having the same configuration as that of the first embodiment and the pre-processing system 5B having the same configuration as that of the first embodiment is used. Public key cryptography is used. That is, first, the CPU 31 of the POS terminal 3B operates as the key generation unit 31a, and generates a public key and a secret key that are paired by a key generation algorithm of a predetermined public key encryption method (step S311). Next, the CPU 31 operates as a print control unit, and causes the R / J printer 33e to output the paper piece 11 on which an information code (for example, a one-dimensional code) 11a obtained by encoding a public key is printed (step S312). Next, the CPU 61 of the portable terminal 6 of the pre-processing system 5B operates as the reading control unit 61a, controls the scanner 6d, and reads the information code 11a printed on the paper piece 11 (step S313). The CPU 61 of the portable terminal 6 can obtain the public key by decrypting (decoding) the information code 11a. The public key is stored in the storage unit (storage device 33h, NVRAM 62c, etc.) of the POS terminal 3B and the preprocessing system 5B. The secret key is stored in the storage unit (storage device 33h or the like) of the POS terminal 3B. The paper piece 11 on which the information code 11a of the public key is printed is delivered to the preprocessing system 5B with the reliability established. The public key is preferably timed data from the viewpoint of improving reliability. For example, it is preferable that the public key is recreated every day before the start of business, or when the preprocessing system 5B is not always used, it is created before use every time the preprocessing system 5B is used. .

また、事前処理システム5Bでの購入予定商品の仮登録から、POS端末3Bでの販売登録、決済処理までの流れについては、事前処理システム5Bでは、ステップS123での暗号化に公開鍵が用いられ、POS端末3Bでは、ステップS127の復号(デクリプション)で秘密鍵が用いられる点を除いては、上記第1および第2実施形態と全く同様である。以上の構成によっても、上記第1および第2実施形態と同様の効果を得ることができる。また、公開鍵で暗号化された情報は、秘密鍵でしか復号(デクリプション)できないため、本実施形態によれば、購入予定商品情報9の機密性をより高めることができるという利点もある。   In addition, regarding the flow from provisional purchase product purchase registration in the preprocessing system 5B to sales registration and settlement processing in the POS terminal 3B, the preprocessing system 5B uses a public key for encryption in step S123. The POS terminal 3B is exactly the same as the first and second embodiments except that the secret key is used in the decryption (decryption) in step S127. Also with the above configuration, the same effects as those of the first and second embodiments can be obtained. In addition, since the information encrypted with the public key can be decrypted (decrypted) only with the secret key, according to the present embodiment, there is an advantage that the confidentiality of the commodity information 9 to be purchased can be further increased.

<第4実施形態>
図12に示す本実施形態では、上記第1〜第3実施形態と同様の構成のPOS端末3Cと上記第1〜第3実施形態と同様の構成の事前処理システム5Cとで共有される共通鍵(データ)を用いた共通鍵暗号方式が用いられる。また、事前処理システム5Cで共通鍵(データ)が生成される点で、上記第2実施形態と同じである。しかし、本実施形態では、事前処理システム5Cでは、共通鍵が公開鍵で暗号化された暗号化共通鍵がPOS端末3Cへ送られる点が、上記第2実施形態と相違している。すなわち、本実施形態では、ハイブリッド暗号方式が採用されている。
<Fourth embodiment>
In the present embodiment shown in FIG. 12, a common key shared by the POS terminal 3C having the same configuration as that of the first to third embodiments and the preprocessing system 5C having the same configuration as that of the first to third embodiments. A common key cryptosystem using (data) is used. Further, the second embodiment is the same as the second embodiment in that a common key (data) is generated by the pre-processing system 5C. However, in this embodiment, the preprocessing system 5C is different from the second embodiment in that an encrypted common key obtained by encrypting a common key with a public key is sent to the POS terminal 3C. That is, in this embodiment, a hybrid encryption method is adopted.

本実施形態では、まず、POS端末3CのCPU31が、鍵生成部31aとして動作し、所定の公開鍵暗号化方式の鍵生成アルゴリズムによって公開鍵および秘密鍵を生成する(ステップS411)。次に、CPU31は、印字制御部として動作し、R/Jプリンタ33eに、公開鍵を符号化した情報コード(例えば一次元コード)11aが印字された紙片11を出力させる(ステップS412)。次に、事前処理システム5Bの携帯端末6のCPU61が、読取制御部61aとして動作し、スキャナ6dを制御して、紙片11に印字された情報コード11aを読み取る(ステップS413)。携帯端末6のCPU61は、情報コード11aを復号化(デコード)して、公開鍵を得ることができる。公開鍵は、POS端末3Cおよび事前処理システム5Cの記憶部(記憶装置33hやNVRAM62c等)に記憶される。また、秘密鍵は、POS端末3Cの記憶部(記憶装置33h等)に記憶される。   In the present embodiment, first, the CPU 31 of the POS terminal 3C operates as the key generation unit 31a, and generates a public key and a secret key by a key generation algorithm of a predetermined public key encryption method (step S411). Next, the CPU 31 operates as a print control unit, and causes the R / J printer 33e to output the paper piece 11 on which an information code (for example, a one-dimensional code) 11a obtained by encoding a public key is printed (step S412). Next, the CPU 61 of the portable terminal 6 of the pre-processing system 5B operates as the reading control unit 61a, controls the scanner 6d, and reads the information code 11a printed on the paper piece 11 (step S413). The CPU 61 of the portable terminal 6 can obtain the public key by decrypting (decoding) the information code 11a. The public key is stored in the storage unit (storage device 33h, NVRAM 62c, etc.) of the POS terminal 3C and the preprocessing system 5C. The secret key is stored in the storage unit (storage device 33h or the like) of the POS terminal 3C.

事前処理システム5Cの携帯端末6のCPU61は、共通鍵を生成する。そして、CPU61が、鍵生成部61fとして動作し、共通鍵を公開鍵で暗号化して暗号化共通鍵を生成する(ステップS414)。次に、CPU61は、出力制御部61eとして動作し、携帯プリンタ7に、暗号化共通鍵を符号化した情報コード(例えば一次元コード)12aが印字された紙片12を出力させる(ステップS415)。次に、POS端末3CのCPU31が、CCDスキャナ33gを制御して紙片12に印字された情報コード12aを読み取る(ステップS416)。CPU31は、情報コード12aを秘密鍵で復号(デクリプション)して、正しい共通鍵を得ることができる(ステップS417)。共通鍵は、POS端末3Cおよび事前処理システム5Cの記憶部(記憶装置33hやNVRAM62c等)に記憶される。公開鍵の情報コード11aが印字された紙片11は、信頼性が確立された状態で、事前処理システム5Cへ渡され、暗号化共通鍵の情報コード12aが印字された紙片12は、信頼性が確立された状態で、POS端末3Cへ渡される。なお、情報コード12aは、情報コード10aとともに、紙片10に印字してもよい。   The CPU 61 of the portable terminal 6 of the preprocessing system 5C generates a common key. Then, the CPU 61 operates as the key generation unit 61f, and encrypts the common key with the public key to generate an encrypted common key (step S414). Next, the CPU 61 operates as the output control unit 61e, and causes the portable printer 7 to output a piece of paper 12 on which an information code (for example, a one-dimensional code) 12a obtained by encoding an encrypted common key is printed (step S415). Next, the CPU 31 of the POS terminal 3C controls the CCD scanner 33g to read the information code 12a printed on the paper piece 12 (step S416). The CPU 31 can decrypt (decrypt) the information code 12a with the secret key to obtain a correct common key (step S417). The common key is stored in the storage unit (storage device 33h, NVRAM 62c, etc.) of the POS terminal 3C and the preprocessing system 5C. The paper piece 11 on which the public key information code 11a is printed is passed to the pre-processing system 5C in a state where the reliability is established, and the paper piece 12 on which the encryption common key information code 12a is printed is reliable. In the established state, it is passed to the POS terminal 3C. The information code 12a may be printed on the piece of paper 10 together with the information code 10a.

また、事前処理システム5Cでの購入予定商品の仮登録から、POS端末3Cでの販売登録、決済処理までの流れについては、上記第1実施形態と全く同様である。よって、以上の構成によっても、上記第1実施形態と同様の効果を得ることができる。また、公開鍵で暗号化された情報は、秘密鍵でしか復号(デクリプション)できないため、本実施形態によれば、共通鍵の機密性をより高めることができ、紙片10や情報コード10aの改竄をより一層抑制することができる。   Further, the flow from provisional purchase product purchase registration in the pre-processing system 5C to sales registration and settlement processing in the POS terminal 3C is exactly the same as in the first embodiment. Therefore, the same effects as those of the first embodiment can be obtained by the above configuration. Also, since the information encrypted with the public key can only be decrypted (decrypted) with the private key, according to the present embodiment, the confidentiality of the common key can be further increased, and the pieces of paper 10 and information code 10a Tampering can be further suppressed.

また、本実施形態では、公開鍵を示す情報コード11aおよび暗号化共通鍵を示す情報コード12aの情報コードの方式を異ならせておくのが好適である。これにより、事前処理システム5CあるいはPOS端末3Cが、公開鍵と暗号化共通鍵とを取り違えるのを抑制することができる。   In the present embodiment, it is preferable that the information codes of the information code 11a indicating the public key and the information code 12a indicating the encryption common key are different. Thereby, it is possible to prevent the preprocessing system 5C or the POS terminal 3C from mistaking the public key and the encrypted common key.

<第5実施形態>
図13に示す本実施形態では、上記第1実施形態と同様の構成のPOS端末3Dと上記第1実施形態と同様の構成の事前処理システム5Dとで共有される公開鍵(データ)を用いた公開鍵暗号方式が用いられる。ただし、本実施形態では、上記第3実施形態とは異なり、POS端末3Dではなく、事前処理システム5Dで公開鍵および秘密鍵(データ)が生成される。すなわち、まず、事前処理システム5Dの携帯端末6のCPU61が、鍵生成部61fとして動作し、所定の公開鍵暗号化方式の鍵生成アルゴリズムによって公開鍵および秘密鍵を生成する(ステップS511)。次に、CPU61は、出力制御部61eとして動作し、携帯プリンタ7に、公開鍵を符号化した情報コード(例えば一次元コード)11aが印字された紙片11を出力させる(ステップS512)。次に、POS端末3DのCPU31が、CCDスキャナ33gを制御して紙片11に印字された情報コード11aを読み取る(ステップS513)。CPU31は、情報コード11aを復号化(デコード)して、公開鍵を得ることができる。公開鍵は、POS端末3Dおよび事前処理システム5Dの記憶部(記憶装置33hやNVRAM62c等)に記憶される。公開鍵の情報コード11aが印字された紙片11は、信頼性が確立された状態で、POS端末3Dへ渡される。なお、情報コード11aは、情報コード10aとともに、紙片10に印字してもよい。
<Fifth Embodiment>
In the present embodiment shown in FIG. 13, a public key (data) shared between the POS terminal 3D having the same configuration as that of the first embodiment and the pre-processing system 5D having the same configuration as that of the first embodiment is used. Public key cryptography is used. However, in the present embodiment, unlike the third embodiment, the public key and the secret key (data) are generated not by the POS terminal 3D but by the preprocessing system 5D. That is, first, the CPU 61 of the portable terminal 6 of the pre-processing system 5D operates as the key generation unit 61f, and generates a public key and a secret key by a key generation algorithm of a predetermined public key encryption method (step S511). Next, the CPU 61 operates as the output control unit 61e, and causes the portable printer 7 to output a piece of paper 11 on which an information code (for example, a one-dimensional code) 11a encoded with a public key is printed (step S512). Next, the CPU 31 of the POS terminal 3D controls the CCD scanner 33g to read the information code 11a printed on the paper piece 11 (step S513). The CPU 31 can decrypt (decode) the information code 11a to obtain a public key. The public key is stored in the storage unit (storage device 33h, NVRAM 62c, etc.) of the POS terminal 3D and the preprocessing system 5D. The paper piece 11 on which the public key information code 11a is printed is delivered to the POS terminal 3D in a state where the reliability is established. The information code 11a may be printed on the piece of paper 10 together with the information code 10a.

また、事前処理システム5Dでの購入予定商品の仮登録から、POS端末3Dでの販売登録、決済処理までの流れについては、事前処理システム5Dでは、ステップS123での暗号化に秘密鍵が用いられ、POS端末3Dでは、ステップS127の復号(デクリプション)で公開鍵が用いられる点を除いては、上記第1〜第4実施形態と全く同様である。以上の構成によっても、上記第1〜第4実施形態と同様の効果を得ることができる。   In addition, regarding the flow from provisional purchase product purchase registration in the pre-processing system 5D to sales registration and settlement processing in the POS terminal 3D, the pre-processing system 5D uses a secret key for encryption in step S123. The POS terminal 3D is exactly the same as the first to fourth embodiments except that the public key is used in the decryption (decryption) in step S127. Also with the above configuration, the same effects as those of the first to fourth embodiments can be obtained.

また、秘密鍵で暗号化された情報は、公開鍵でしか復号(デクリプション)できない。よって、POS端末3Dが、ステップS127で、予めステップS513を経て保持している正しい事前処理システム5Dの公開鍵(データ)で復号することで、第三者による事前処理システム5Dへのなりすましを抑制することができる。POS端末3Dに対応する事前処理システム5Dが複数あるときは、POS端末3Dは、複数の公開鍵(データ)を保有しており、それら複数の公開鍵を順次適用して復号(デクリプション)し、解釈可能な平文に復号(デクリプション)できた仮登録情報を有効なものとして採用する。   Also, information encrypted with the private key can only be decrypted (decrypted) with the public key. Therefore, the POS terminal 3D suppresses impersonation of the preprocessing system 5D by a third party by decrypting with the public key (data) of the correct preprocessing system 5D previously held through step S513 in step S127. can do. When there are a plurality of preprocessing systems 5D corresponding to the POS terminal 3D, the POS terminal 3D has a plurality of public keys (data), and sequentially decrypts (decrypts) the plurality of public keys. Temporary registration information that can be decrypted (decrypted) into plain text that can be interpreted is adopted as valid.

以上、本発明の好適な実施形態について説明したが、本発明は上記実施形態には限定されず、種々の変形が可能である。例えば、商品販売情報処理システムは、上記実施形態の事前処理システムに替えて、プリンタを含む商品情報処理装置としての事前処理装置を含む構成とすることができる。また、上記実施形態では、決済装置と事前処理システムとの間の鍵(データ)の受け渡しは、紙片に印字された情報コードを介して行われたが、例えば、オペレータが事前処理システムの携帯端末を決済装置の設置場所へ持って行くなどして、信頼性が確立された状態で、無線あるいは有線の通信を介して行うことができる。また、携帯端末および決済装置の一方のディスプレイに表示された情報コードを他方のスキャナで読み取ることで、鍵(データ)を受け渡すことができる。また、購入予定商品情報は、合計金額を含む情報としてもよい。また、仮登録情報の一部に、商品の仮登録を行う商品情報処理装置に固有の秘密鍵で暗号化したデータ(例えばディジタル署名データ等)を含ませてもよい。その場合、決済装置は、商品情報処理装置の公開鍵でデータを復号(デクリプション)することで、正しいデータを得ることができるので、これにより、第三者による商品情報処理装置のなりすましを抑制することができる。さらに、商品情報処理装置は、当該商品情報処理装置の秘密鍵で暗号化したデータを含む仮登録情報を、決済装置の公開鍵で暗号化した上で、符号化して情報コードを生成してもよい。その場合、仮登録情報の機密性も高めることができる。また、各構成要素(商品販売処理システム、事前処理システム、商品情報処理装置、プリンタ、決済装置、紙片等)のスペック(方式や、構造、形状、大きさ、配置、位置、個数等)は、適宜に変更して実施することができる。   The preferred embodiments of the present invention have been described above. However, the present invention is not limited to the above embodiments, and various modifications can be made. For example, the merchandise sales information processing system may include a preprocessing device as a merchandise information processing device including a printer, instead of the preprocessing system of the above embodiment. In the above embodiment, the key (data) is transferred between the settlement apparatus and the preprocessing system via an information code printed on a piece of paper. Can be carried out via wireless or wired communication in a state where reliability is established, for example, by taking it to the place where the settlement apparatus is installed. Further, the key (data) can be delivered by reading the information code displayed on one display of the portable terminal and the settlement apparatus with the other scanner. Further, the purchase planned product information may be information including the total amount. Further, data (for example, digital signature data) encrypted with a secret key unique to the product information processing apparatus that temporarily registers the product may be included in a part of the temporary registration information. In that case, the payment device can obtain correct data by decrypting the data with the public key of the product information processing device, thereby preventing spoofing of the product information processing device by a third party. can do. Further, the merchandise information processing apparatus may encrypt the temporary registration information including the data encrypted with the secret key of the merchandise information processing apparatus with the public key of the settlement apparatus and generate the information code by encoding the temporary registration information. Good. In that case, the confidentiality of temporary registration information can be improved. In addition, the specifications (method, structure, shape, size, arrangement, position, number, etc.) of each component (product sales processing system, pre-processing system, product information processing device, printer, payment device, paper piece, etc.) It can be implemented with appropriate changes.

上記実施形態によれば、仮登録情報の情報コードの改竄を抑制することができる。   According to the embodiment, falsification of the information code of temporary registration information can be suppressed.

1 商品販売情報処理システム
3 POS端末(決済装置)
5 事前処理システム
6 携帯端末(商品情報処理装置)
6d スキャナ
9 購入予定商品情報(仮登録情報)
61a 読取制御部
61b 情報生成部(仮登録情報生成部)
61c 暗号化部
61d 情報コード生成部
61e 出力制御部
1 Product sales information processing system 3 POS terminal (settlement device)
5 Pre-processing system 6 Mobile terminal (product information processing device)
6d Scanner 9 Purchased product information (temporary registration information)
61a Reading control unit 61b Information generation unit (temporary registration information generation unit)
61c Encryption unit 61d Information code generation unit 61e Output control unit

特開2004−102423JP 2004-102423 A

Claims (7)

商品の商品コードを読み取る読取制御部と、
少なくとも前記読取制御部で読み取られた前記商品コードを含む商品の情報を仮登録情報として生成する仮登録情報生成部と、
前記仮登録情報生成部で生成された前記仮登録情報を所定の暗号化方式で暗号化する暗号化部と、
前記暗号化部で暗号化された前記仮登録情報を所定の符号化方式で符号化して情報コードを生成する情報コード生成部と、
前記情報コード生成部で生成された前記情報コードを出力する出力制御部と、
を備えたことを特徴とする商品情報処理装置。
A reading control unit for reading the product code of the product;
A provisional registration information generating unit that generates information on a product including at least the product code read by the reading control unit as temporary registration information;
An encryption unit that encrypts the temporary registration information generated by the temporary registration information generation unit using a predetermined encryption method;
An information code generation unit that generates an information code by encoding the temporary registration information encrypted by the encryption unit using a predetermined encoding method;
An output control unit that outputs the information code generated by the information code generation unit;
A product information processing apparatus comprising:
前記暗号化部は、出力された前記情報コードを読み取って決済処理を実行する決済装置との間で共有された共通鍵を用いて暗号化処理を実行することを特徴とする請求項1に記載の商品情報処理装置。   The said encryption part performs an encryption process using the common key shared between the payment apparatuses which read the output said information code and perform a payment process, The Claim 1 characterized by the above-mentioned. Product information processing equipment. 前記暗号化部は、出力された前記情報コードを読み取って決済処理を実行する決済装置に固有の秘密鍵に対応した公開鍵を用いて暗号化処理を実行することを特徴とする請求項1に記載の商品情報処理装置。   The encryption unit performs encryption processing by using a public key corresponding to a secret key unique to a payment apparatus that reads the output information code and executes payment processing. The product information processing apparatus described. 前記暗号化部は、出力された前記情報コードを読み取って決済処理を実行する決済装置に固有の秘密鍵に対応した公開鍵を用いて暗号化されて前記決済装置との間で共有された共通鍵を用いて、暗号化処理を実行することを特徴とする請求項1に記載の商品情報処理装置。   The encryption unit reads the output information code and executes a payment process. The encryption unit is encrypted using a public key corresponding to a secret key unique to the payment apparatus and shared with the payment apparatus. The product information processing apparatus according to claim 1, wherein encryption processing is executed using a key. 前記暗号化部は、前記商品情報処理装置に固有であって対応する公開鍵が生成された秘密鍵を用いて暗号化処理を実行することを特徴とする請求項1に記載の商品情報処理装置。   The product information processing apparatus according to claim 1, wherein the encryption unit performs encryption processing using a secret key that is unique to the product information processing apparatus and for which a corresponding public key is generated. . コンピュータを、請求項1〜5のうちいずれか一つに記載の商品情報処理装置の前記読取制御部、前記仮登録情報生成部、前記暗号化部、前記情報コード生成部、および前記出力制御部として機能させることを特徴とするプログラム。   The computer includes the reading control unit, the provisional registration information generation unit, the encryption unit, the information code generation unit, and the output control unit of the commodity information processing apparatus according to any one of claims 1 to 5. A program characterized by functioning as 請求項1〜5のうちいずれか一つに記載の商品情報処理装置で出力された情報コードを読み取って決済処理を実行する決済装置。   A settlement apparatus that executes a settlement process by reading the information code output by the product information processing apparatus according to claim 1.
JP2010194730A 2010-08-31 2010-08-31 Product information processing system and product sales information processing method Expired - Fee Related JP5235209B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010194730A JP5235209B2 (en) 2010-08-31 2010-08-31 Product information processing system and product sales information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010194730A JP5235209B2 (en) 2010-08-31 2010-08-31 Product information processing system and product sales information processing method

Publications (2)

Publication Number Publication Date
JP2012053597A true JP2012053597A (en) 2012-03-15
JP5235209B2 JP5235209B2 (en) 2013-07-10

Family

ID=45906859

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010194730A Expired - Fee Related JP5235209B2 (en) 2010-08-31 2010-08-31 Product information processing system and product sales information processing method

Country Status (1)

Country Link
JP (1) JP5235209B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09307542A (en) * 1996-03-15 1997-11-28 Sony Corp Data transmitter and data transmission method
JP2006128985A (en) * 2004-10-28 2006-05-18 Matsushita Electric Ind Co Ltd Communication device, secret information sharing system, secret information sharing method, and program
JP2007028286A (en) * 2005-07-19 2007-02-01 Ricoh Co Ltd Network device
JP2009166462A (en) * 2008-01-21 2009-07-30 Tohoku Ricoh Co Ltd Safe environment regulating and managing method and safe environment regulating and managing system for image forming apparatus
JP2010020477A (en) * 2008-07-09 2010-01-28 Toshiba Tec Corp Store settlement system, handy terminal used by the same system, and store settlement method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09307542A (en) * 1996-03-15 1997-11-28 Sony Corp Data transmitter and data transmission method
JP2006128985A (en) * 2004-10-28 2006-05-18 Matsushita Electric Ind Co Ltd Communication device, secret information sharing system, secret information sharing method, and program
JP2007028286A (en) * 2005-07-19 2007-02-01 Ricoh Co Ltd Network device
JP2009166462A (en) * 2008-01-21 2009-07-30 Tohoku Ricoh Co Ltd Safe environment regulating and managing method and safe environment regulating and managing system for image forming apparatus
JP2010020477A (en) * 2008-07-09 2010-01-28 Toshiba Tec Corp Store settlement system, handy terminal used by the same system, and store settlement method

Also Published As

Publication number Publication date
JP5235209B2 (en) 2013-07-10

Similar Documents

Publication Publication Date Title
EP2600281B1 (en) Reading an optical code with authenticatable information
US20150254640A1 (en) Method and apparatus for digital currency paper wallet
US20130262314A1 (en) Encrypted payment image
WO2007116888A1 (en) Display device, data processing method and data processing system using the display device
KR101589045B1 (en) system and method for managing store using QR code
JP2006229852A (en) Product authentication system, server, program, and recording medium
JP6213124B2 (en) Order system in stores
US9250116B2 (en) Apparatus, method and system for generating an optical code with authenticatable information
JP2015171105A (en) Settlement terminal
JP5204174B2 (en) Product sales system, product information processing device, program, and settlement device
JP5920148B2 (en) Confirmation system
JP2004280775A (en) Two-dimensional bar code, and method and system for settlement utilizing mobile synchronization
JP5235209B2 (en) Product information processing system and product sales information processing method
KR102464357B1 (en) Apparatus for generating barcode using homomorphic encryption and Method thereof
KR101983680B1 (en) System, an apparatus and a method for transmitting and receiving information using quick response code
JP2015041313A (en) Selling information registration processing device and selling information registration processing program
JP2009059186A (en) Data management device and program
JP2013131232A (en) Commodity sales system and program
JP2013084032A (en) Credit card settlement system and settlement method
JP2013084032A5 (en)
JP6136688B2 (en) Information code utilization system and information code reader
JP2015152996A (en) Printer and control method of the same
JP6837742B2 (en) Pass ticket judgment system, ticket issuing machine, fare calculator and pass ticket judgment method
JP6022004B2 (en) Product sales system, product information processing apparatus and program
JP2014049070A (en) Application system, application method, and application program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120813

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120828

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121026

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121225

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130225

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130325

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160405

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees