[go: up one dir, main page]

JP2022148643A - Commodity sales data processing system, commodity sales data processing device and control program therefor, and commodity sales data processing method - Google Patents

Commodity sales data processing system, commodity sales data processing device and control program therefor, and commodity sales data processing method Download PDF

Info

Publication number
JP2022148643A
JP2022148643A JP2021050396A JP2021050396A JP2022148643A JP 2022148643 A JP2022148643 A JP 2022148643A JP 2021050396 A JP2021050396 A JP 2021050396A JP 2021050396 A JP2021050396 A JP 2021050396A JP 2022148643 A JP2022148643 A JP 2022148643A
Authority
JP
Japan
Prior art keywords
discount
preferential
group
rank
obtaining
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
JP2021050396A
Other languages
Japanese (ja)
Other versions
JP7631063B2 (en
Inventor
綾子 三島
Ayako Mishima
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 JP2021050396A priority Critical patent/JP7631063B2/en
Publication of JP2022148643A publication Critical patent/JP2022148643A/en
Application granted granted Critical
Publication of JP7631063B2 publication Critical patent/JP7631063B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

To set a courtesy rank for each of a plurality of courtesy groups for each member and provide a privilege in accordance with the courtesy rank.SOLUTION: First storage means stores discount rates for courtesy ranks that respectively correspond to two or more courtesy discount groups. Second storage means stores a courtesy rank for each of the courtesy discount groups that each correspond to a member identification code for identifying each member. Third storage means stores any of the courtesy discount groups in correspondence to each commodity to which a courtesy discount is applied. Receiving means receives input of a commodity to be purchased by the member. First acquisition means acquires a courtesy discount group corresponding to the commodity. Second acquisition means acquires a courtesy rank corresponding to the member identification code of the member who purchases the commodity. Third acquisition means acquires a discount rate for the courtesy rank from the discount rates for courtesy ranks corresponding to the courtesy discount group. Processing means subjects sales data on the commodity to discount processing at the discount rate.SELECTED DRAWING: Figure 12

Description

本発明の実施形態は、商品販売データ処理システム、商品販売データ処理装置及びその制御プログラム、並びに商品販売データ処理方法に関する。 The embodiments of the present invention relate to a product sales data processing system, a product sales data processing device and its control program, and a product sales data processing method.

百貨店、チェーンストア等の比較的規模が大きい小売店の中には、店舗の利用状況に応じた優待ランクによって会員をランク分けしているところがある。例えば優待ランクは、店舗で購入した購買商品の累計購買金額を基に、複数のランクの中の1つが会員に付与される。そして優待ランク毎に商品の単価、割引率等が設定される。
このような小売店は、複数の商品グループ(食品、衣料品、日用品、家電製品等)を取り扱う。このため、例えば食品の購入頻度は高いが、日用品の購入頻度は少ない等、会員が購入する購買商品の商品グループにばらつきが生じる。しかしながら、会員に付与された1つの優待ランクでは、例えば購入頻度の高い食品には割引率を高く設定し、購入頻度の少ない日用品には割引率を低く設定する等の対応ができない。したがって、会員毎に複数の優待グループ毎の優待ランクを設定し、その優待ランクに応じて特典を付与する仕組みの構築が望まれている。
Some relatively large-scale retail stores such as department stores and chain stores rank members according to preferential treatment ranks according to store usage. For example, one of a plurality of ranks is given to the member based on the cumulative purchase price of the purchased products purchased at the store. A product unit price, a discount rate, and the like are set for each preferential treatment rank.
Such retail stores handle multiple product groups (food, clothing, daily necessities, home appliances, etc.). For this reason, the commodity groups of the purchased commodities purchased by the members vary, for example, foods are purchased frequently, but daily necessities are purchased less frequently. However, with one preferential rank given to a member, it is not possible to set a high discount rate for foods that are frequently purchased and a low discount rate for daily necessities that are purchased infrequently. Therefore, it is desired to construct a system in which a preferential treatment rank is set for each of a plurality of preferential treatment groups for each member and a privilege is given according to the preferential treatment rank.

特開2012-221014号公報JP 2012-221014 A

本発明の実施形態が解決しようとする課題は、会員毎に複数の優待グループ毎の優待ランクを設定し、その優待ランクに応じて特典を付与することができる商品販売データ処理システム、商品販売データ処理装置及びその制御プログラム、並びに商品販売データ処理方法を提供しようとするものである。 The problem to be solved by the embodiments of the present invention is a product sales data processing system and a product sales data processing system, which can set a preferential treatment rank for each of a plurality of preferential treatment groups for each member, and grant a privilege according to the preferential treatment rank. An object of the present invention is to provide a processing device, its control program, and a merchandise sales data processing method.

一実施形態において、商品販売データ処理システムは、第1記憶手段と、第2記憶手段と、第3記憶手段と、受付手段と、第1取得手段と、第2取得手段と、第3取得手段と、処理手段と、を具備する。第1記憶手段は、2種類以上の優待割引グループにそれぞれ対応して、優待ランク別の割引率を記憶する。第2記憶手段は、各会員を識別する会員識別コードにそれぞれ対応して、優待割引グループ毎の優待ランクを記憶する。第3記憶手段は、優待割引が適用される各商品に対応して、いずれかの優待割引グループを記憶する。受付手段は、会員が買い上げる商品の入力を受け付ける。第1取得手段は、受付手段で入力を受け付けた商品に対応して記憶されている優待割引グループを第3記憶手段から取得する。第2取得手段は、受付手段で入力を受け付けた商品を買い上げる会員の会員識別コードに対応して記憶されている優待ランクを第2記憶手段から取得する。第3取得手段は、第1取得手段で取得した優待割引グループに対応して第1記憶手段で記憶されている優待ランク別の割引率の中から、第2取得手段で取得した優待ランクの割引率を取得する。処理手段は、第3取得手段で取得した割引率により受付手段で入力を受け付けた商品の販売データを割引処理する。 In one embodiment, a merchandise sales data processing system includes first storage means, second storage means, third storage means, acceptance means, first acquisition means, second acquisition means, and third acquisition means. and processing means. The first storage means stores a discount rate for each preferential treatment rank corresponding to each of two or more kinds of preferential treatment discount groups. The second storage means stores a preferential treatment rank for each preferential discount group corresponding to a member identification code that identifies each member. The third storage means stores one of the preferential discount groups corresponding to each product to which the preferential discount is applied. The receiving means receives input of products to be purchased by the member. The first acquiring means acquires from the third storing means a preferential discount group stored corresponding to the product whose input is accepted by the accepting means. The second acquisition means acquires from the second storage means the preferential treatment rank stored corresponding to the member identification code of the member who purchases the product whose input is accepted by the acceptance means. A third obtaining means obtains a discount for the preferential treatment rank obtained by the second obtaining means from among the discount rates for each preferential treatment rank stored in the first storage means corresponding to the preferential treatment discount group obtained by the first obtaining means. get rate. The processing means discounts the sales data of the product whose input is received by the receiving means using the discount rate obtained by the third obtaining means.

一実施形態に係る商品販売データ処理システムの概略構成を示す模式図。1 is a schematic diagram showing a schematic configuration of a product sales data processing system according to one embodiment; FIG. 会員サーバの要部回路構成を示すブロック図。FIG. 2 is a block diagram showing the main circuit configuration of the member server; 会員データベースに保存される会員データレコードのデータ構造を示す模式図。Schematic diagram showing the data structure of a member data record stored in a member database. 店舗サーバの要部回路構成を示すブロック図。The block diagram which shows the principal part circuit structure of a store server. 単品マスタファイルに保存される単品データレコードのデータ構造を示す模式図。4 is a schematic diagram showing the data structure of a single item data record saved in a single item master file; FIG. 紐づけテーブルの一例を示す模式図。4 is a schematic diagram showing an example of an association table; FIG. グループ1テーブルの一例を示す模式図。4 is a schematic diagram showing an example of a group 1 table; FIG. グループ2テーブルの一例を示す模式図。4 is a schematic diagram showing an example of a group 2 table; FIG. 会計機の要部回路構成を示すブロック図。FIG. 2 is a block diagram showing the main circuit configuration of the accounting machine; 取引メモリの一例を示す模式図。The schematic diagram which shows an example of transaction memory. 会計機におけるプロセッサの要部制御手順を示す流れ図。4 is a flow chart showing a control procedure of a main part of a processor in an accounting machine; 会計機におけるプロセッサの要部制御手順を示す流れ図。4 is a flow chart showing a control procedure of a main part of a processor in an accounting machine; 会員サーバにおけるプロセッサの要部制御手順を示す流れ図。4 is a flow chart showing a main part control procedure of a processor in a member server; 会員サーバにおけるプロセッサの要部制御手順を示す流れ図。4 is a flow chart showing a main part control procedure of a processor in a member server; レシートの一例を示す模式図。Schematic diagram showing an example of a receipt.

以下、各実施形態について、図面を用いて説明する。 Each embodiment will be described below with reference to the drawings.

図1は、本実施形態に係る商品販売データ処理システムSの概略構成を示す模式図である。
商品販売データ処理システムSは、会員サーバ10、店舗サーバ20及び会計機30を含む。会員サーバ10、店舗サーバ20及び会計機30は、LAN(Local Area Network)等の通信ネットワーク40に接続されている。会員サーバ10は、商品販売データ処理システムSが導入された店舗の会員に関する情報を管理し、その会員に係わる種々の情報処理を実行するコンピュータである。店舗サーバ20は、商品販売データ処理システムSが導入された店舗で販売される商品に関する情報を管理し、その商品に係わる種々の情報処理を実行するコンピュータである。会計機30は、購買商品の会計を店員若しくは会員が行うことを可能とした機器である。会計機30の台数は、特に制限されない。
FIG. 1 is a schematic diagram showing a schematic configuration of a merchandise sales data processing system S according to this embodiment.
Merchandise sales data processing system S includes member server 10 , store server 20 and checkout machine 30 . The member server 10, store server 20, and accounting machine 30 are connected to a communication network 40 such as a LAN (Local Area Network). The member server 10 is a computer that manages information relating to members of a store in which the product sales data processing system S has been introduced, and executes various information processing relating to the members. The store server 20 is a computer that manages information related to products sold at stores where the product sales data processing system S is introduced, and executes various information processing related to the products. The checkout machine 30 is a device that enables a store clerk or a member to pay for purchased products. The number of accounting machines 30 is not particularly limited.

図2は、会員サーバ10の要部回路構成を示すブロック図である。会員サーバ10は、プロセッサ11、メインメモリ12、補助記憶デバイス13、通信インターフェース14及びシステム伝送路15を備えている。システム伝送路15は、アドレスバス、データバス、制御信号線等を含む。会員サーバ10は、システム伝送路15に、プロセッサ11、メインメモリ12、補助記憶デバイス13及び通信インターフェース14を接続する。会員サーバ10では、プロセッサ11、メインメモリ12及び補助記憶デバイス13と、これらを接続するシステム伝送路15とによってコンピュータが構成される。 FIG. 2 is a block diagram showing the main circuit configuration of the member server 10. As shown in FIG. Member server 10 includes processor 11 , main memory 12 , auxiliary storage device 13 , communication interface 14 and system transmission path 15 . The system transmission line 15 includes an address bus, a data bus, control signal lines and the like. Member server 10 connects processor 11 , main memory 12 , auxiliary storage device 13 and communication interface 14 to system transmission line 15 . In the member server 10, a computer is composed of a processor 11, a main memory 12, an auxiliary storage device 13, and a system transmission line 15 connecting them.

プロセッサ11は、上記コンピュータの中枢部分に相当する。プロセッサ11は、オペレーティングシステム又はアプリケーションプログラムに従って、会員サーバ10としての各種の機能を実現するべく各部を制御する。プロセッサ11は、例えばCPU(Central Processing Unit)である。 The processor 11 corresponds to the central portion of the computer. The processor 11 controls each part to implement various functions of the member server 10 according to an operating system or application program. The processor 11 is, for example, a CPU (Central Processing Unit).

メインメモリ12は、上記コンピュータの主記憶部分に相当する。メインメモリ12は、不揮発性のメモリ領域及び揮発性のメモリ領域を含む。メインメモリ12は、不揮発性のメモリ領域ではオペレーティングシステム又はアプリケーションプログラムを記憶する。メインメモリ12は、プロセッサ11が各部を制御するための処理を実行する上で必要なデータを揮発性のメモリ領域で記憶する。またメインメモリ12は、揮発性のメモリ領域を、プロセッサ11によってデータが適宜書き換えられるワークエリアとして使用する。不揮発性のメモリ領域は、例えばROM(Read Only Memory)である。揮発性のメモリ領域は、例えばRAM(Random Access Memory)である。 The main memory 12 corresponds to the main memory portion of the computer. Main memory 12 includes a non-volatile memory area and a volatile memory area. The main memory 12 stores an operating system or application programs in a non-volatile memory area. The main memory 12 stores, in a volatile memory area, data necessary for the processor 11 to execute processing for controlling each unit. Also, the main memory 12 uses a volatile memory area as a work area in which data is appropriately rewritten by the processor 11 . The non-volatile memory area is, for example, ROM (Read Only Memory). A volatile memory area is, for example, a RAM (Random Access Memory).

補助記憶デバイス13は、上記コンピュータの補助記憶部分に相当する。補助記憶デバイス13としては、例えばEEPROM(登録商標)(Electric Erasable Programmable Read-Only Memory)、HDD(Hard Disc Drive)又はSSD(Solid State Drive)等の周知の記憶デバイスを単独で、あるいは複数組み合わせて用いられる。補助記憶デバイス13は、プロセッサ11が各種の処理を行う上で使用するデータや、プロセッサ11での処理によって生成されたデータを保存する。補助記憶デバイス13は、アプリケーションプログラムを記憶する場合もある。 The auxiliary storage device 13 corresponds to the auxiliary storage portion of the computer. As the auxiliary storage device 13, for example, known storage devices such as EEPROM (registered trademark) (Electric Erasable Programmable Read-Only Memory), HDD (Hard Disc Drive) or SSD (Solid State Drive) may be used alone or in combination. Used. The auxiliary storage device 13 stores data used by the processor 11 in performing various processes and data generated by the processes performed by the processor 11 . The auxiliary storage device 13 may also store application programs.

通信インターフェース14は、通信ネットワーク40を介して接続された他の機器とデータ通信を行うための回路である。 The communication interface 14 is a circuit for performing data communication with other devices connected via the communication network 40 .

かかる構成の会員サーバ10は、補助記憶デバイス13において、会員データベース131を記憶している。会員データベース131は、会員毎に会員データを記述した会員データレコード1311(図3を参照)を保存する。 The member server 10 having such a configuration stores a member database 131 in the auxiliary storage device 13 . The member database 131 stores a member data record 1311 (see FIG. 3) describing member data for each member.

図3は、会員データベース131に保存される会員データレコード1311のデータ構造を示す模式図である。図3に示すように、会員データレコード1311は、会員毎に作成される会員データを保存する。会員データレコード1311は、会員ID、氏名、性別、メールアドレス、グループ1累計購買金額、グループ2累計購買金額、優待ランク等の項目を含む。なお、会員に係る項目は、上記の項目に限定されない。
会員IDは、各会員を識別する会員識別コードである。グループ1累計購買金額は、会員が店舗で購買した優待割引グループ1に属する商品の合計金額である。優待割引グループ1は、店舗により予め設定された、優待割引の対象となる商品が属するグループの1つである。優待割引グループ1は、以下では、単にグループ1と称する。グループ2累計購買金額は、会員が店舗で購買した優待割引グループ2に属する商品の合計金額である。優待割引グループ2は、店舗により予め設定された、優待割引の対象となる商品が属するグループの1つである。優待割引グループ2は、以下では、単にグループ2と称する。優待ランクは、グループ1ランクとグループ2ランクとから構成される。グループ1ランクは、グループ1累計購買金額に基づいて決定されるランクである。グループ1ランクは、ランク“0”からランク“p”までランク分けされている。ランク“p”は、1以上の任意の整数である。ランク“0”は、グループ1累計購買金額が存在しない、又はグループ1累計購買金額が店舗により予め設定された所定の条件を満たさない場合に設定される。グループ1累計購買金額が存在し、予め設定された所定の条件を満たす場合には、ランク“1”からランク“p”までのいずれか1つのランクが設定される。グループ1累計購買金額が高くなるほど、グループ1ランクは高くなる。グループ2ランクは、グループ2累計購買金額に基づいて決定されるランクである。グループ2ランクは、ランク“0”からランク“q”までランク分けされている。ランク“q”は、1以上の任意の整数である。ランク“0”は、グループ2累計購買金額が存在しない、又はグループ2累計購買金額が店舗により予め設定された所定の条件を満たさない場合に設定される。グループ2累計購買金額が存在し、予め設定された所定の条件を満たす場合には、ランク“1”からランク“q”までのいずれか1つのランクが設定される。グループ2累計購買金額が高くなるほど、グループ2ランクは高くなる。このように会員には、グループ毎のランクが設定される。
FIG. 3 is a schematic diagram showing the data structure of the member data record 1311 stored in the member database 131. As shown in FIG. As shown in FIG. 3, member data record 1311 stores member data created for each member. The member data record 1311 includes items such as member ID, name, sex, mail address, group 1 cumulative purchase amount, group 2 cumulative purchase amount, and preferential treatment rank. Items related to members are not limited to the above items.
The member ID is a member identification code that identifies each member. The group 1 accumulated purchase amount is the total amount of the products belonging to the preferential discount group 1 purchased by the member at the store. The preferential discount group 1 is one of the groups preset by the store to which the products subject to the preferential discount belong. Preferential discount group 1 will be simply referred to as group 1 below. The group 2 accumulated purchase amount is the total amount of goods belonging to the preferential discount group 2 purchased by the member at the store. The preferential discount group 2 is one of the groups preset by the store to which the products subject to the preferential discount belong. The preferential discount group 2 is hereinafter simply referred to as group 2. The preferential treatment rank is composed of a group 1 rank and a group 2 rank. The group 1 rank is a rank determined based on the group 1 cumulative purchase amount. Group 1 ranks are ranked from rank "0" to rank "p". The rank "p" is any integer greater than or equal to 1. A rank of "0" is set when the group 1 total purchase amount does not exist or when the group 1 total purchase amount does not satisfy a predetermined condition preset by the store. If the group 1 cumulative purchase amount exists and a predetermined condition is satisfied, one of the ranks from "1" to "p" is set. The higher the Group 1 accumulated purchase amount, the higher the Group 1 rank. The group 2 rank is a rank determined based on the group 2 cumulative purchase amount. Group 2 ranks are ranked from rank "0" to rank "q". The rank "q" is any integer greater than or equal to 1. Rank "0" is set when the group 2 cumulative purchase amount does not exist or when the group 2 cumulative purchase amount does not satisfy a predetermined condition preset by the store. If the group 2 cumulative purchase amount exists and a predetermined condition is satisfied, any one rank from rank "1" to rank "q" is set. The higher the group 2 accumulated purchase amount, the higher the group 2 rank. In this way, members are assigned ranks for each group.

本実施形態では、優待ランクは、2桁の数値とする。十の位の数値は、グループ1ランクを示す。一の位の数値は、グループ2ランクを示す。例えば優待ランクが優待ランク“12”である場合、グループ1ランクは“1”であり、グループ2ランクは“2”であることを意味する。例えば優待ランクが優待ランク“03”である場合、グループ1ランクは“0”であり、グループ2ランクは“3”であることを意味する。例えば優待ランクが優待ランク“20”である場合、グループ1ランクは“2”であり、グループ2ランクは“0”であることを意味する。 In this embodiment, the preferential rank is a two-digit numerical value. The tens digit indicates the Group 1 rank. Numbers in ones place indicate Group 2 rank. For example, if the preferential rank is "12", it means that the group 1 rank is "1" and the group 2 rank is "2". For example, if the preferential rank is "03", it means that the group 1 rank is "0" and the group 2 rank is "3". For example, if the preferential rank is "20", it means that the group 1 rank is "2" and the group 2 rank is "0".

このように、会員データベース131は、各会員を識別する会員識別コードすなわち会員IDにそれぞれ対応して、優待割引グループ毎の優待ランクを記憶する第2記憶手段として機能する。第2記憶手段は、第2記憶部と言い換えることができる。 In this way, the member database 131 functions as a second storage unit that stores the preferential treatment rank for each preferential discount group in correspondence with the member identification code that identifies each member, that is, the member ID. The second storage means can be rephrased as a second storage section.

図4は、店舗サーバ20の要部回路構成を示すブロック図である。店舗サーバ20は、プロセッサ21、メインメモリ22、補助記憶デバイス23、通信インターフェース24及びシステム伝送路25を備えている。システム伝送路25は、アドレスバス、データバス、制御信号線等を含む。店舗サーバ20は、システム伝送路25に、プロセッサ21、メインメモリ22、補助記憶デバイス23及び通信インターフェース24を接続する。店舗サーバ20では、プロセッサ21、メインメモリ22及び補助記憶デバイス23と、これらを接続するシステム伝送路25とによってコンピュータが構成される。 FIG. 4 is a block diagram showing the main circuit configuration of the store server 20. As shown in FIG. The store server 20 includes a processor 21 , main memory 22 , auxiliary storage device 23 , communication interface 24 and system transmission line 25 . The system transmission line 25 includes an address bus, a data bus, control signal lines and the like. The store server 20 connects a processor 21 , a main memory 22 , an auxiliary storage device 23 and a communication interface 24 to a system transmission line 25 . In the shop server 20, a computer is constituted by a processor 21, a main memory 22, an auxiliary storage device 23, and a system transmission line 25 connecting them.

プロセッサ21は、上記コンピュータの中枢部分に相当する。プロセッサ21は、オペレーティングシステム又はアプリケーションプログラムに従って、店舗サーバ20としての各種の機能を実現するべく各部を制御する。プロセッサ21は、例えばCPUである。 The processor 21 corresponds to the central portion of the computer. The processor 21 controls each part to realize various functions as the shop server 20 according to an operating system or application program. The processor 21 is, for example, a CPU.

メインメモリ22は、上記コンピュータの主記憶部分に相当する。メインメモリ22は、不揮発性のメモリ領域及び揮発性のメモリ領域を含む。メインメモリ22は、不揮発性のメモリ領域ではオペレーティングシステム又はアプリケーションプログラムを記憶する。メインメモリ22は、プロセッサ21が各部を制御するための処理を実行する上で必要なデータを揮発性のメモリ領域で記憶する。またメインメモリ22は、揮発性のメモリ領域を、プロセッサ21によってデータが適宜書き換えられるワークエリアとして使用する。不揮発性のメモリ領域は、例えばROMである。揮発性のメモリ領域は、例えばRAMである。 The main memory 22 corresponds to the main memory portion of the computer. Main memory 22 includes a non-volatile memory area and a volatile memory area. The main memory 22 stores an operating system or application programs in a non-volatile memory area. The main memory 22 stores data necessary for the processor 21 to execute processing for controlling each unit in a volatile memory area. Also, the main memory 22 uses a volatile memory area as a work area in which data is appropriately rewritten by the processor 21 . The non-volatile memory area is, for example, ROM. A volatile memory area is, for example, a RAM.

補助記憶デバイス23は、上記コンピュータの補助記憶部分に相当する。補助記憶デバイス23としては、例えばEEPROM、HDD又はSSD等の周知の記憶デバイスを単独で、あるいは複数組み合わせて用いられる。補助記憶デバイス23は、プロセッサ21が各種の処理を行う上で使用するデータや、プロセッサ21での処理によって生成されたデータを保存する。補助記憶デバイス23は、アプリケーションプログラムを記憶する場合もある。 The auxiliary storage device 23 corresponds to the auxiliary storage portion of the computer. As the auxiliary storage device 23, well-known storage devices such as EEPROM, HDD, SSD, etc. are used singly or in combination. The auxiliary storage device 23 stores data used by the processor 21 for various processes and data generated by the processes performed by the processor 21 . The auxiliary storage device 23 may also store application programs.

通信インターフェース24は、通信ネットワーク40を介して接続された他の機器とデータ通信を行うための回路である。 The communication interface 24 is a circuit for performing data communication with other devices connected via the communication network 40 .

かかる構成の店舗サーバ20は、補助記憶デバイス23において、単品マスタファイル231(図5を参照)を記憶している。 The store server 20 having such a configuration stores a single-item master file 231 (see FIG. 5) in the auxiliary storage device 23 .

図5は、単品マスタファイル231に保存される単品データレコード2311のデータ構造を示す模式図である。図5に示すように、単品データレコード2311は、単品毎に生成される単品データを保存する。単品データレコード2311は、単品コード、分類コード、商品名、単価等の項目を含む。なお、単品に係る項目は、上記の項目に限定されない。
単品コードは、単品毎に設定される一意の識別コードである。単品は、商品の1品目である。多くの商品には、その商品の単品コードをバーコード化した商品バーコードが付されている。分類コードは、対応する単品コードで識別される商品が属する分類を表す識別コードである。分類は、商品の種類である。分類には、例えば食品、衣料品、日用品、家電製品等がある。さらに分類は、食品を細分化して例えば生鮮食品、加工食品、飲料、菓子等でもよい。衣料品、日用品、家電製品等についても同様である。各分類には、予め一意の分類コードが設定されている。単価は、その商品の1点当たりの金額である。
FIG. 5 is a schematic diagram showing the data structure of the single item data record 2311 stored in the single item master file 231. As shown in FIG. As shown in FIG. 5, the single item data record 2311 stores single item data generated for each single item. The item data record 2311 includes items such as item code, category code, product name, and unit price. Note that the items related to single items are not limited to the above items.
The item code is a unique identification code set for each item. A single item is one item of a product. Many products have a product barcode obtained by converting the single product code of the product into a barcode. The classification code is an identification code representing the classification to which the product identified by the corresponding single item code belongs. Classification is the type of product. Classifications include, for example, food, clothing, daily necessities, home electric appliances, and the like. Furthermore, the classification may be subdivided into foods such as fresh foods, processed foods, beverages, confectionery, and the like. The same applies to clothing, daily necessities, home electric appliances, and the like. A unique classification code is set in advance for each classification. The unit price is the amount per item of the product.

図4の説明に戻る。
かかる構成の店舗サーバ20は、メインメモリ22における揮発性のメモリ領域の一部を紐づけテーブル221(図6を参照)、グループ1テーブル222(図7を参照)及びグループ2テーブル223(図8を参照)の領域とする。店舗サーバ20は、この領域に、紐づけテーブル221、グループ1テーブル222及びグループ2テーブル223を形成する。
Returning to the description of FIG.
The store server 20 having such a configuration stores a part of the volatile memory area in the main memory 22 as a linking table 221 (see FIG. 6), a group 1 table 222 (see FIG. 7), and a group 2 table 223 (see FIG. 8). (see ). The store server 20 forms a linking table 221, a group 1 table 222 and a group 2 table 223 in this area.

図6は、紐づけテーブル221の一例を示す模式図である。図6に示すように、紐づけテーブル221は、分類コードに対応して優待割引グループを記述したデータテーブルである。優待割引グループには、グループ1又はグループ2が記述される。商品に対応した分類コードがグループ1に属する場合、優待割引グループにはグループ1が記述される。商品に対応した分類コードがグループ2に属する場合、優待割引グループにはグループ2が記述される。 FIG. 6 is a schematic diagram showing an example of the linking table 221. As shown in FIG. As shown in FIG. 6, the linking table 221 is a data table describing preferential discount groups corresponding to classification codes. Group 1 or group 2 is described in the preferential discount group. If the classification code corresponding to the product belongs to group 1, group 1 is described in the preferential discount group. If the classification code corresponding to the product belongs to group 2, group 2 is described in the preferential discount group.

第3記憶手段は、優待割引が適用される各商品に対応して、いずれかの優待割引グループを記憶する。すなわち第3記憶手段は、紐づけテーブル221を記憶する機能である。第3記憶手段は、第3記憶部と言い換えることができる。 The third storage means stores one of the preferential discount groups corresponding to each product to which the preferential discount is applied. That is, the third storage means has a function of storing the linking table 221 . The third storage means can be rephrased as a third storage section.

図7は、グループ1テーブル222の一例を示す模式図である。図7に示すように、グループ1テーブル222は、グループ1ランクに対応してグループ1割引率を記述したデータテーブルである。グループ1割引率は、対応するグループ1ランク“1”からランク“p”までの会員に対してグループ1に属する商品を販売するときの割引率である。グループ1ランクが高くなるほど、グループ1割引率は大きくなる。 FIG. 7 is a schematic diagram showing an example of the group 1 table 222. As shown in FIG. As shown in FIG. 7, the group 1 table 222 is a data table describing the group 1 discount rate corresponding to the group 1 rank. The group 1 discount rate is a discount rate when products belonging to group 1 are sold to corresponding members of group 1 rank "1" to rank "p". The higher the Group 1 rank, the greater the Group 1 discount rate.

図8は、グループ2テーブル223の一例を示す模式図である。図8に示すように、グループ2テーブル223は、グループ2ランクに対応してグループ2割引率を記述したデータテーブルである。グループ2割引率は、対応するグループ2ランク“1” から“q”までの会員に対してグループ2に属する商品を販売するときの割引率である。グループ2ランクが高くなるほど、グループ2割引率は大きくなる。 FIG. 8 is a schematic diagram showing an example of the group 2 table 223. As shown in FIG. As shown in FIG. 8, the group 2 table 223 is a data table describing the group 2 discount rate corresponding to the group 2 rank. The group 2 discount rate is a discount rate when products belonging to group 2 are sold to members of corresponding group 2 ranks "1" to "q". The higher the Group 2 rank, the greater the Group 2 discount rate.

このように、グループ1テーブル222及びグループ2テーブル223は、2種類以上の優待割引グループにそれぞれ対応して、優待ランク別の割引率を記憶する第1記憶手段として機能する。第1記憶手段は、第1記憶部と言い換えることができる。 In this way, the group 1 table 222 and the group 2 table 223 function as first storage means for storing discount rates for each preferential treatment rank corresponding to two or more kinds of preferential discount groups. The first storage means can be rephrased as a first storage section.

図9は、会計機30の要部回路構成を示すブロック図である。会計機30は、プロセッサ311、メインメモリ312、補助記憶デバイス313、時計314、釣銭機インターフェース315、通信インターフェース316、タッチパネル317、スキャナ318、プリンタ319、リーダ320及びシステム伝送路321を備える。システム伝送路321は、アドレスバス、データバス、制御信号線等を含む。システム伝送路321は、プロセッサ311と、メインメモリ312、補助記憶デバイス313、時計314、釣銭機インターフェース315、通信インターフェース316、タッチパネル317、スキャナ318、プリンタ319及びリーダ320を相互に接続する。プロセッサ311、メインメモリ312及び補助記憶デバイス313がシステム伝送路321で接続されることにより、会計機30のコンピュータが構成される。 FIG. 9 is a block diagram showing the essential circuitry of the accounting machine 30. As shown in FIG. The accounting machine 30 includes a processor 311 , main memory 312 , auxiliary storage device 313 , clock 314 , change machine interface 315 , communication interface 316 , touch panel 317 , scanner 318 , printer 319 , reader 320 and system transmission line 321 . The system transmission line 321 includes an address bus, a data bus, control signal lines and the like. A system transmission line 321 interconnects the processor 311 , main memory 312 , auxiliary storage device 313 , clock 314 , change dispenser interface 315 , communication interface 316 , touch panel 317 , scanner 318 , printer 319 and reader 320 . The computer of the accounting machine 30 is configured by connecting the processor 311 , main memory 312 and auxiliary storage device 313 via a system transmission line 321 .

プロセッサ311は、上記コンピュータの中枢部分に相当する。プロセッサ311は、オペレーティングシステム又はアプリケーションプログラムに従って、会計機30としての各種の機能を実現するべく各部を制御する。プロセッサ311は、例えばCPUである。 The processor 311 corresponds to the core part of the computer. The processor 311 controls each part to realize various functions of the accounting machine 30 according to an operating system or application program. Processor 311 is, for example, a CPU.

メインメモリ312は、上記コンピュータの主記憶部分に相当する。メインメモリ312は、不揮発性のメモリ領域と揮発性のメモリ領域とを含む。メインメモリ312は、不揮発性のメモリ領域ではオペレーティングシステム又はアプリケーションプログラムを記憶する。メインメモリ312は、プロセッサ311が各部を制御するための処理を実行する上で必要なデータを不揮発性又は揮発性のメモリ領域で記憶する場合もある。メインメモリ312は、揮発性のメモリ領域を、プロセッサ311によってデータが適宜書き換えられるワークエリアとして使用する。不揮発性のメモリ領域は、例えばROMである。揮発性のメモリ領域は、例えばRAMである。 The main memory 312 corresponds to the main memory portion of the computer. Main memory 312 includes a non-volatile memory area and a volatile memory area. Main memory 312 stores an operating system or application programs in a non-volatile memory area. The main memory 312 may store data necessary for the processor 311 to control each part in a non-volatile or volatile memory area. The main memory 312 uses a volatile memory area as a work area in which data is appropriately rewritten by the processor 311 . The non-volatile memory area is, for example, ROM. A volatile memory area is, for example, a RAM.

補助記憶デバイス313は、上記コンピュータの補助記憶部分に相当する。例えばEEPROM、HDD、あるいはSSD等が補助記憶デバイス313となり得る。補助記憶デバイス313は、プロセッサ311が各種の処理を行う上で使用するデータ、プロセッサ311での処理によって作成されたデータ等を保存する。補助記憶デバイス313は、上記のアプリケーションプログラムを記憶する場合もある。 The auxiliary storage device 313 corresponds to the auxiliary storage portion of the computer. For example, an EEPROM, HDD, SSD, or the like can be the auxiliary storage device 313 . The auxiliary storage device 313 stores data used when the processor 311 performs various types of processing, data created by processing in the processor 311, and the like. Auxiliary storage device 313 may store the above application programs.

メインメモリ312又は補助記憶デバイス313に記憶されるアプリケーションプログラムには、会計機30で実行される情報処理に関して記述した制御プログラムが含まれる。制御プログラムをメインメモリ312又は補助記憶デバイス313にインストールする方法は特に限定されるものではない。リムーバブルな記録媒体に制御プログラムを記録して、あるいはネットワークを介した通信により制御プログラムを配信して、メインメモリ312又は補助記憶デバイス313にインストールすることができる。記録媒体は、CD-ROM,メモリカード等のようにプログラムを記憶でき、かつ装置が読み取り可能であれば、その形態は問わない。 The application programs stored in the main memory 312 or the auxiliary storage device 313 include control programs describing information processing executed by the accounting machine 30 . A method for installing the control program in the main memory 312 or the auxiliary storage device 313 is not particularly limited. The control program can be recorded on a removable recording medium, or distributed via communication via a network, and installed in the main memory 312 or the auxiliary storage device 313 . The recording medium may be of any form, such as CD-ROM, memory card, etc., as long as it can store the program and can be read by the device.

時計314は、会計機30の時刻情報源として機能する。プロセッサ311は、時計314によって計時される時刻情報を基に、現在の日付及び時間を計時する。 Clock 314 functions as a time information source for accounting machine 30 . The processor 311 clocks the current date and time based on the time information clocked by the clock 314 .

釣銭機インターフェース315は、自動釣銭機との間でデータ通信を行う。釣銭機インターフェース315は、自動釣銭機から投入金額のデータ、貨幣収納枚数のデータ等を受信する。釣銭機インターフェース315は、釣銭データを自動釣銭機へと送信する。 The change machine interface 315 performs data communication with the automatic change machine. The change dispenser interface 315 receives data on the amount of money inserted, data on the number of stored coins, and the like from the automatic change dispenser. The change machine interface 315 transmits change data to the automatic change machine.

通信インターフェース316は、通信ネットワーク40に接続される。通信インターフェース316は、通信ネットワーク40を介して接続される他の機器との間で通信プロトコルに従いデータ通信を行う。 Communication interface 316 is connected to communication network 40 . Communication interface 316 performs data communication according to a communication protocol with other devices connected via communication network 40 .

タッチパネル317は、会計機30の入力デバイスと表示デバイスとを兼ね備えた機器である。タッチパネル317は、表示された画像に対するタッチ位置を検出し、そのタッチ位置情報をプロセッサ311に出力する。 The touch panel 317 is a device that serves both as an input device and a display device for the checkout machine 30 . Touch panel 317 detects a touch position on the displayed image and outputs the touch position information to processor 311 .

スキャナ318は、バーコードシンボル及びQRコード(登録商標)等のコードシンボルを読み取り、読み取ったデータをプロセッサ311に出力する読取装置の一例である。スキャナ318は、レーザ光の走査によりコードシンボルを読み取るタイプであってもよいし、撮像デバイスで撮像した画像からコードシンボルを読み取るタイプであってもよい。 The scanner 318 is an example of a reading device that reads code symbols such as bar code symbols and QR codes (registered trademark) and outputs the read data to the processor 311 . The scanner 318 may be of a type that reads code symbols by scanning with laser light, or may be of a type that reads code symbols from an image captured by an imaging device.

プリンタ319は、レシート用紙に対して各種の文字列又は画像等を印刷することにより、レシートを発行する。この種のプリンタ319としては、例えばサーマルプリンタ又はドットインパクトプリンタ等を利用できる。プリンタ319は、会計機30の印刷デバイスとして機能する。 The printer 319 issues a receipt by printing various character strings, images, or the like on receipt paper. As this type of printer 319, for example, a thermal printer, a dot impact printer, or the like can be used. Printer 319 functions as a printing device for accounting machine 30 .

リーダ320は、記録媒体に記録されたデータを読み取り、読み取ったデータをプロセッサ311に出力する。リーダ320は、記録媒体が磁気カードの場合には磁気カードリーダであり、接触式ICカードの場合にはICカードリーダである。非接触式ICカード又はスマートフォン等のようにRFID(Radio Frequency Identification)を使用した記録媒体の場合には、RFIDリーダがリーダ320として使用される。 The reader 320 reads data recorded on the recording medium and outputs the read data to the processor 311 . The reader 320 is a magnetic card reader when the recording medium is a magnetic card, and is an IC card reader when the recording medium is a contact IC card. In the case of a recording medium using RFID (Radio Frequency Identification) such as a non-contact IC card or smart phone, an RFID reader is used as the reader 320 .

かかる構成の会計機30は、メインメモリ312における揮発性のメモリ領域の一部を取引メモリ3121(図10を参照)の領域とする。会計機30は、この領域に、取引メモリ3121を形成する。 In the accounting machine 30 having such a configuration, part of the volatile memory area in the main memory 312 is used as an area for the transaction memory 3121 (see FIG. 10). Accounting machine 30 forms transaction memory 3121 in this area.

図10は、取引メモリ3121の一例を示す模式図である。取引メモリ3121は、会員との商取引に関するデータを記憶する。商取引に関するデータは、購買商品の販売データ、例えば単品コード、商品名、単価、購買点数、購買金額、優待割引グループ、グループ1割引額、グループ2割引額等を含む。購買点数は、その単品コードで識別される商品の購買数であり、購買金額は、単価と購買点数とを乗算した金額である。優待割引グループは、その単品コードで識別される商品が属するグループである。例えば購買商品がグループ1に属する場合、“1”がセットされる。購買商品がグループ2に属する場合、“2”がセットされる。購買商品がいずれかのグループにも属さない場合、“0”がセットされる。グループ1割引額は、グループ1テーブル222におけるグループ1ランクに対応したグループ1割引率を基に算出された割引額である。グループ1割引額は、購買金額とグループ1割引率とを乗算した金額である。購買商品がグループ1に属さない場合、又は購買商品がグループ1に属するが会員のグループ1ランクが“0”である場合、グループ1割引額にはNULL値がセットされる。グループ2割引額は、グループ2テーブル223におけるグループ2ランクに対応したグループ2割引率を基に算出された割引額である。グループ2割引額は、購買金額とグループ2割引率とを乗算した金額である。購買商品がグループ2に属さない場合、又は購買商品がグループ2に属するが会員のグループ2ランクが“0”である場合、グループ2割引額にはNULL値がセットされる。取引メモリ3121は、会員IDと関連付けて作成される。 FIG. 10 is a schematic diagram showing an example of the transaction memory 3121. As shown in FIG. Transaction memory 3121 stores data relating to commercial transactions with members. The data related to commercial transactions include sales data of purchased products, such as single product code, product name, unit price, number of purchases, purchase price, preferential discount group, group 1 discount, group 2 discount, and the like. The number of purchases is the number of purchases of the product identified by the item code, and the purchase amount is the amount obtained by multiplying the unit price by the number of purchases. A preferential discount group is a group to which the product identified by the single product code belongs. For example, if the purchased product belongs to group 1, "1" is set. If the purchased item belongs to group 2, "2" is set. A "0" is set if the purchased item does not belong to any group. The group 1 discount amount is a discount amount calculated based on the group 1 discount rate corresponding to the group 1 rank in the group 1 table 222 . The group 1 discount amount is the amount obtained by multiplying the purchase price by the group 1 discount rate. If the purchased product does not belong to group 1, or if the purchased product belongs to group 1 but the member's group 1 rank is "0", the group 1 discount amount is set to NULL. The group 2 discount amount is a discount amount calculated based on the group 2 discount rate corresponding to the group 2 rank in the group 2 table 223 . The group 2 discount amount is the amount obtained by multiplying the purchase price by the group 2 discount rate. If the purchased product does not belong to Group 2, or if the purchased product belongs to Group 2 but the member's Group 2 rank is "0", the Group 2 discount amount is set to NULL. Transaction memory 3121 is created in association with the member ID.

プロセッサ311は、受付手段3111、第1取得手段3112、第2取得手段3113、第3取得手段3114、処理手段3115及び出力手段3116としての機能を有する。受付手段3111は、会員が買い上げる商品の入力を受け付ける機能である。 The processor 311 has functions as a reception unit 3111 , a first acquisition unit 3112 , a second acquisition unit 3113 , a third acquisition unit 3114 , a processing unit 3115 and an output unit 3116 . The receiving unit 3111 is a function of receiving input of products purchased by members.

第1取得手段3112は、受付手段3111で入力を受け付けた商品に対応して記憶されている優待割引グループを第3記憶手段、つまりは紐づけテーブル221から取得する機能である。 The first acquisition unit 3112 has a function of acquiring the preferential discount group stored corresponding to the product whose input is received by the reception unit 3111 from the third storage unit, that is, the linkage table 221 .

第2取得手段3113は、受付手段3111で入力を受け付けた商品を買い上げる会員IDに対応して記憶されている優待ランクを第2記憶手段、つまりは会員データベース131から取得する機能である。 The second obtaining means 3113 has a function of obtaining, from the second storage means, that is, the member database 131, the preferential treatment rank stored corresponding to the ID of the member who purchases the product whose input is received by the receiving means 3111 .

第3取得手段3114は、第1取得手段3112で取得した優待割引グループに対応して第1記憶手段、つまりはグループ1テーブル222及びグループ2テーブル223で記憶されている優待ランク別の割引率の中から、第2取得手段3113で取得した優待ランクの割引率を取得する機能である。 The third obtaining means 3114 obtains the discount rate for each preferential treatment rank stored in the first storage means, that is, the group 1 table 222 and the group 2 table 223 corresponding to the preferential discount group obtained by the first obtaining means 3112. It is a function to acquire the discount rate of the preferential treatment rank acquired by the second acquiring means 3113 from among them.

処理手段3115は、第3取得手段3114で取得した割引率により受付手段3111で入力を受け付けた商品の販売データを割引処理する機能である。 The processing unit 3115 has a function of discounting the sales data of the product whose input is received by the receiving unit 3111 using the discount rate obtained by the third obtaining unit 3114 .

出力手段3116は、処理手段3115で割引処理された商品の販売データとともに、当該商品に対応して記憶されている優待割引グループを特定する情報を出力する機能である。 The output unit 3116 has a function of outputting the sales data of the product discounted by the processing unit 3115 and the information specifying the preferential discount group stored corresponding to the product.

図11及び図12は、会計機30におけるプロセッサ311が制御プログラムに従って実行する要部制御手順を示す流れ図である。図13及び図14は会員サーバ10におけるプロセッサ11が制御プログラムに従って実行する要部制御手順を示す流れ図である。 11 and 12 are flowcharts showing main control procedures executed by the processor 311 in the accounting machine 30 according to the control program. 13 and 14 are flowcharts showing main control procedures executed by the processor 11 in the member server 10 according to the control program.

以下、これらの流れ図を用いて、商品販売データ処理システムSの主要な動作について説明する。なお、以下に説明する動作は一例である。同様な結果が得られるのであれば、その手順は特に限定されるものではない。 The main operations of the product sales data processing system S will be described below using these flow charts. Note that the operation described below is an example. The procedure is not particularly limited as long as similar results can be obtained.

はじめに、店舗にある会計機30を立ち上げると、プロセッサ311は、図11の流れ図に示す手順の情報処理を開始する。
なお、本実施形態では、会計機30は、第1取得手段3112の機能により紐づけテーブル221を店舗サーバ20から予め取得して、メインメモリ312における揮発性のメモリ領域の一部に紐づけテーブル221を記憶しているものとする。また会計機30は、グループ1テーブル222及びグループ2テーブル223を店舗サーバ20から予め取得して、メインメモリ312における揮発性のメモリ領域の一部にグループ1テーブル222及びグループ2テーブル223を記憶しているものとする。
First, when the checkout machine 30 in the store is started up, the processor 311 starts information processing according to the procedure shown in the flow chart of FIG.
In this embodiment, the accounting machine 30 acquires the linking table 221 in advance from the store server 20 by the function of the first acquiring unit 3112 and stores the linking table 221 in a part of the volatile memory area in the main memory 312. 221 is stored. Also, the accounting machine 30 acquires the group 1 table 222 and the group 2 table 223 from the store server 20 in advance, and stores the group 1 table 222 and the group 2 table 223 in a part of the volatile memory area in the main memory 312. shall be

購買者である会員は、買物を終えると、会計のために会計場に行く。会員は、自身の会員IDが記録された会員カードを所持している。プロセッサ311は、ACT1としてスキャナ318又はリーダ320で会員カードのデータが読み取られるのを待ち受ける。会員カードのデータが読み取られた場合、プロセッサ311は、ACT1においてYESと判定し、ACT2へと進む。 When the member who is the purchaser finishes shopping, he or she goes to the checkout counter to checkout. A member possesses a membership card in which his or her member ID is recorded. The processor 311 waits for the membership card data to be read by the scanner 318 or the reader 320 as ACT1. If the membership card data has been read, the processor 311 determines YES in ACT1 and proceeds to ACT2.

プロセッサ311は、ACT2として会員コマンドを会員サーバ10宛に送信するように通信インターフェース316を制御する。この制御により、通信インターフェース316は会員コマンドを送信する。会員コマンドには、スキャナ318又はリーダ320で読み取られた会員カードの会員IDが含まれる。 The processor 311 controls the communication interface 316 to transmit the member command to the member server 10 as ACT2. This control causes communication interface 316 to transmit a member command. The membership command includes the membership ID of the membership card read by scanner 318 or reader 320 .

会員コマンドを受信した会員サーバ10のプロセッサ11は、図13の流れ図に示す手順のコマンド受信処理を開始する。 Upon receiving the member command, the processor 11 of the member server 10 starts command reception processing of the procedure shown in the flow chart of FIG.

プロセッサ11は、ACT31として会員コマンドから会員IDを検出する。そしてプロセッサ11は、ACT32としてその会員IDで識別される会員の認証を行う。具体的にはプロセッサ11は、その会員IDを含む会員データレコード1311が会員データベース131に存在するか否かを確認する。 The processor 11 detects the member ID from the member command as ACT31. Then, the processor 11 authenticates the member identified by the member ID as ACT32. Specifically, processor 11 checks whether member data record 1311 containing the member ID exists in member database 131 .

該当する会員データレコード1311が会員データベース131に存在しない場合、プロセッサ11は、ACT32においてNOと判定し、ACT33へと進む。プロセッサ11は、ACT33として会計機30に否認応答コマンドを送信するように通信インターフェース14を制御する。この制御により、通信インターフェース14から否認応答コマンドが送信される。否認応答コマンドは、通信ネットワーク40を介して会計機30で受信される。 If the corresponding member data record 1311 does not exist in the member database 131, the processor 11 determines NO in ACT32 and proceeds to ACT33. Processor 11 controls communication interface 14 to send a negative response command to accounting machine 30 as ACT 33 . A denial response command is transmitted from the communication interface 14 by this control. The deny response command is received at accounting machine 30 via communication network 40 .

該当する会員データレコード1311が会員データベース131に存在する場合、プロセッサ11は、ACT32においてYESと判定し、ACT34へと進む。プロセッサ11は、ACT34として該当する会員データレコード1311に記憶されている優待ランクを取得する。 If the applicable member data record 1311 exists in member database 131, processor 11 determines YES in ACT32 and proceeds to ACT34. Processor 11 obtains the preferential rank stored in the applicable member data record 1311 as ACT34.

プロセッサ11は、ACT35として会計機30に承認応答コマンドを送信するように通信インターフェース14を制御する。この制御により、通信インターフェース14から承認応答コマンドが送信される。承認応答コマンドは、通信ネットワーク40を介して会計機30で受信される。承認応答コマンドには、会員IDと、優待ランクとが含まれる。 Processor 11 controls communication interface 14 to send an authorization response command to accounting machine 30 as ACT 35 . This control causes the communication interface 14 to transmit an approval response command. The authorization response command is received at accounting machine 30 via communications network 40 . The approval response command includes the member ID and the preferential rank.

このように、会員コマンドを受信した会員サーバ10は、その会員コマンド送信元の会計機30に対し、ACT33又はACT35において否認又は承認応答コマンドを送信する。プロセッサ11は、いずれかの応答コマンドを送信し終えると、会員コマンド受信処理を終了する。 In this way, the member server 10 that has received the member command transmits a denial or approval response command in ACT 33 or ACT 35 to the accounting machine 30 that sent the member command. When the processor 11 finishes sending any response command, it ends the member command reception process.

図11の説明に戻る。
ACT2において会員コマンドの送信を制御した会計機30のプロセッサ311は、ACT3として会員サーバ10からの承認応答コマンドを待ち受ける。会員サーバ10から否認応答コマンドを受信した場合、プロセッサ311は、ACT3においてNOと判定し、ACT1に戻る。
Returning to the description of FIG.
The processor 311 of the accounting machine 30 that has controlled transmission of the member command in ACT2 waits for an approval response command from the member server 10 in ACT3. When receiving a denial response command from the member server 10, the processor 311 determines NO in ACT3 and returns to ACT1.

会員サーバ10から承認応答コマンドを受信した場合、プロセッサ311は、ACT3においてYESと判定し、ACT4へと進む。プロセッサ311は、ACT4として第2取得手段3113の機能により承認応答コマンドに含まれている優待ランクをメインメモリ312に記憶する。またプロセッサ311は、承認応答コマンドに含まれている会員IDをメインメモリ312に記憶する。 When receiving an approval response command from the member server 10, the processor 311 determines YES in ACT3 and proceeds to ACT4. The processor 311 stores the preferential rank included in the approval response command in the main memory 312 by the function of the second obtaining means 3113 as ACT4. Processor 311 also stores the member ID included in the approval response command in main memory 312 .

プロセッサ211は、ACT5としてタッチパネル317に購買登録画面を表示させる。購買登録画面には、購買登録された商品の商品名及び購買金額と合計金額とを表示するための領域が形成される。 The processor 211 causes the touch panel 317 to display a purchase registration screen as ACT5. The purchase registration screen has an area for displaying the product name, purchase price, and total price of the product registered for purchase.

プロセッサ311は、ACT6として受付手段3111の機能により購買登録が行われたか否かを確認する。具体的には、スキャナ318によって購買商品のバーコードが読み取られるか、タッチパネル317からの信号によりバーコード無し商品のボタンがタッチされたことを検知すると、プロセッサ311は、購買商品が登録されたと認識する。 The processor 311 confirms whether or not purchase registration has been performed by the function of the reception means 3111 in ACT6. Specifically, when the scanner 318 reads the barcode of the purchased product or detects that the button for the product without a barcode is touched by a signal from the touch panel 317, the processor 311 recognizes that the purchased product has been registered. do.

購買登録が行われた場合、プロセッサ311は、ACT6においてYESと判定し、図12のACT8へと進む。 If purchase registration has been performed, the processor 311 determines YES in ACT6 and proceeds to ACT8 in FIG.

プロセッサ311は、ACT8として単品コードを検出する。プロセッサ311は、ACT9としてその単品コードで店舗サーバ20に単品データレコード2311を問い合わせる。この問い合わせにより、店舗サーバ20は、問い合わせのあった単品コードが記憶された単品データレコード2311を単品マスタファイル231から抽出し、会計機30へ単品データレコード2311を送信する。しかしてプロセッサ311は、ACT10として単品データレコード2311を受信するのを待ち受ける。単品データレコード2311を受信した場合、プロセッサ311は、ACT10においてYESと判定し、ACT11へと進む。 The processor 311 detects the single product code as ACT8. The processor 311 inquires of the store server 20 about the single item data record 2311 using the single item code as ACT9. In response to this inquiry, the shop server 20 extracts from the single item master file 231 the single item data record 2311 in which the inquired single item code is stored, and transmits the single item data record 2311 to the accounting machine 30 . Processor 311 thus waits to receive item data record 2311 as ACT10. If the single item data record 2311 is received, the processor 311 determines YES in ACT10 and proceeds to ACT11.

プロセッサ311は、ACT11として単品データレコード2311に記憶された単品コードと同一行に記述された分類コードが紐づけテーブル221に存在するか否かを確認する。分類コードが紐づけテーブル221に存在しない場合、プロセッサ311は、ACT11においてNOと判定し、ACT17へと進む。 The processor 311 confirms whether or not the classification code described in the same line as the single item code stored in the single item data record 2311 as ACT11 exists in the linking table 221 . If the classification code does not exist in the linking table 221, the processor 311 determines NO in ACT11 and proceeds to ACT17.

プロセッサ311は、ACT17として取引メモリ3121に販売データを書き込む。この場合、分類コードが紐づけテーブル221に存在しないため、その購買商品は優待割引グループに属さない商品である。したがって、取引メモリ3121の優待割引グループには“0”がセットされる。なお、グループ1割引額及びグループ2割引額にはNULL値がセットされる。 Processor 311 writes the sales data to transaction memory 3121 as ACT17. In this case, since the classification code does not exist in the linking table 221, the purchased product does not belong to the preferential discount group. Therefore, "0" is set in the preferential discount group of the transaction memory 3121. FIG. A NULL value is set for the group 1 discount amount and the group 2 discount amount.

プロセッサ311は、ACT18として購買登録画面を更新する。すなわちプロセッサ311は、購買登録された商品の商品名、単価、点数及び購買金額が追加され、合計金額に購買金額が加算されるように、購買登録画面を更新する。そしてプロセッサ311は、図11のACT6に戻る。 The processor 311 updates the purchase registration screen as ACT18. That is, the processor 311 updates the purchase registration screen so that the product name, unit price, points, and purchase price of the product registered for purchase are added, and the purchase price is added to the total price. Processor 311 then returns to ACT 6 of FIG.

分類コードが紐づけテーブル221に存在する場合、プロセッサ311は、ACT11においてYESと判定し、ACT12へと進む。プロセッサ311は、ACT12としてその分類コードに対応した優待割引グループがグループ1であるか否かを確認する。 If the classification code exists in the linking table 221, the processor 311 determines YES in ACT11 and proceeds to ACT12. The processor 311 confirms whether or not the preferential discount group corresponding to the classification code is Group 1 in ACT12.

優待割引グループがグループ1である場合、プロセッサ311は、ACT12においてYESと判定し、ACT14へと進む。プロセッサ311は、ACT14としてメインメモリ312に記憶された優待ランクのグループ1ランクがランク“1”からランク“p”までのいずれかが設定されているか否かを確認する。 If the preferential discount group is Group 1, the processor 311 determines YES in ACT12 and proceeds to ACT14. The processor 311 confirms whether or not the group 1 rank of the preferential ranks stored in the main memory 312 as ACT14 is set to any one of the ranks "1" to "p".

ランク“1”からランク“p”までのいずれかが設定されていない場合すなわちグループ1ランクがランク“0”である場合、プロセッサ311は、ACT14においてNOと判定し、ACT17へと進む。プロセッサ311は、ACT17として取引メモリ3121に販売データを書き込む。この場合、優待割引グループがグループ1であるため、取引メモリ3121の優待割引グループには“1”がセットされる。グループ1ランクがランク“0”であるため、グループ1割引額にはNULL値がセットされる。なお、グループ2割引額にはNULL値がセットされる。その後、プロセッサ311は、ACT18として購買登録画面を更新し、図11のACT6に戻る。 If any of rank “1” to rank “p” is not set, that is, if the group 1 rank is rank “0”, the processor 311 determines NO in ACT14 and proceeds to ACT17. Processor 311 writes the sales data to transaction memory 3121 as ACT17. In this case, since the preferential discount group is group 1, the preferential discount group in the transaction memory 3121 is set to "1". Since the group 1 rank is rank "0", the group 1 discount amount is set to a NULL value. Note that the group 2 discount amount is set to a NULL value. After that, the processor 311 updates the purchase registration screen in ACT18 and returns to ACT6 in FIG.

ランク“1”からランク“p”までのいずれかが設定されている場合、プロセッサ311は、ACT14においてYESと判定し、ACT15へと進む。プロセッサ311は、ACT15として第3取得手段3114の機能によりグループ1テーブル222を検索してそのグループ1ランクに対応したグループ1割引率を取得する。 If any of rank “1” to rank “p” is set, the processor 311 determines YES in ACT14 and proceeds to ACT15. The processor 311 searches the group 1 table 222 by the function of the third obtaining means 3114 as ACT 15 and obtains the group 1 discount rate corresponding to the group 1 rank.

プロセッサ311は、ACT16として処理手段3115の機能によりそのグループ1割引率を基にグループ1割引額を算出する。 The processor 311 calculates the group 1 discount amount based on the group 1 discount rate by the function of the processing means 3115 as ACT16.

プロセッサ311は、ACT17して取引メモリ3121に販売データを書き込む。この場合、優待割引グループがグループ1であるため、取引メモリ3121の優待割引グループには“1”がセットされる。グループ1割引額にはACT16の処理で算出されたグループ1割引額が書き込まれる。なお、グループ2割引額にはNULL値がセットされる。 Processor 311 writes sales data to transaction memory 3121 in ACT 17 . In this case, since the preferential discount group is group 1, the preferential discount group in the transaction memory 3121 is set to "1". The group 1 discount amount calculated in the processing of ACT 16 is written in the group 1 discount amount. Note that the group 2 discount amount is set to a NULL value.

プロセッサ311は、ACT18として購買登録画面を更新する。すなわちプロセッサ11は、購買登録された商品の商品名、単価、点数、購買金額及びグループ1割引額が追加され、合計金額に、購買金額からグループ1割引額を減算した金額が加算されるように、購買登録画面を更新する。そしてプロセッサ311は、図11のACT6に戻る。 The processor 311 updates the purchase registration screen as ACT18. That is, the processor 11 adds the product name, unit price, points, purchase price, and group 1 discount amount of the product registered for purchase, and adds the amount obtained by subtracting the group 1 discount amount from the purchase price to the total price. , update the purchase registration screen. Processor 311 then returns to ACT 6 of FIG.

優待割引グループがグループ1でない場合、優待割引グループはグループ2である。よってプロセッサ311は、優待割引グループがグループ1でない場合、ACT12においてNOと判定し、ACT13へと進む。プロセッサ311は、ACT13としてグループ2ランクとしてランク“1”からランク“q”までのいずれかが設定されているか否かを確認する。 If the preferential discount group is not group 1, the preferential discount group is group 2. Therefore, if the preferential discount group is not Group 1, the processor 311 determines NO in ACT12 and proceeds to ACT13. The processor 311 confirms whether or not any one of the ranks "1" to "q" is set as the group 2 rank in ACT13.

ランク“1”からランク“q”までのいずれかが設定されていない場合すなわちグループ2ランクがランク“0”である場合、プロセッサ311は、ACT13においてNOと判定し、ACT17へと進む。プロセッサ311は、ACT17として取引メモリ3121に販売データを書き込む。この場合、優待割引グループがグループ2であるため、取引メモリ3121の優待割引グループには“2”がセットされる。グループ2ランクがランク“0”であるため、グループ2割引額にはNULL値がセットされる。なお、グループ1割引額にはNULL値がセットされる。その後、プロセッサ311は、ACT18として購買登録画面を更新し、図11のACT6に戻る。 If any of rank “1” to rank “q” is not set, that is, if the group 2 rank is rank “0”, processor 311 determines NO in ACT13 and proceeds to ACT17. Processor 311 writes the sales data to transaction memory 3121 as ACT17. In this case, since the preferential discount group is group 2, "2" is set in the preferential discount group of the transaction memory 3121. FIG. Since the group 2 rank is rank "0", the group 2 discount amount is set to a NULL value. Note that the group 1 discount amount is set to a NULL value. After that, the processor 311 updates the purchase registration screen in ACT18 and returns to ACT6 in FIG.

ランク“1”からランク“q”までのいずれかが設定されている場合、プロセッサ311は、ACT13においてYESと判定し、ACT19へと進む。プロセッサ311は、ACT19として第3取得手段3114の機能によりグループ2テーブル223を検索してそのグループ2ランクに対応したグループ2割引率を取得する。プロセッサ311は、ACT20として処理手段3115の機能によりそのグループ2割引率を基にグループ2割引額を算出する。 If any of rank “1” to rank “q” is set, the processor 311 determines YES in ACT13 and proceeds to ACT19. The processor 311 searches the group 2 table 223 by the function of the third obtaining means 3114 as ACT 19 and obtains the group 2 discount rate corresponding to the group 2 rank. The processor 311 calculates the group 2 discount amount based on the group 2 discount rate by the function of the processing means 3115 as ACT 20 .

プロセッサ311は、ACT17として取引メモリ3121に販売データを書き込む。この場合、優待割引グループがグループ2であるため、取引メモリ3121の優待割引グループには“2”がセットされる。グループ2割引額にはACT21の処理で算出されたグループ2割引額が書き込まれる。なお、グループ1割引額にはNULL値がセットされる。 Processor 311 writes the sales data to transaction memory 3121 as ACT17. In this case, since the preferential discount group is group 2, "2" is set in the preferential discount group of the transaction memory 3121. FIG. The group 2 discount amount calculated in the processing of ACT 21 is written in the group 2 discount amount. Note that the group 1 discount amount is set to a NULL value.

プロセッサ311は、ACT18として購買登録画面を更新する。すなわちプロセッサ11は、購買登録された商品の商品名、単価、点数、購買金額及びグループ2割引額が追加され、合計金額に、購買金額からグループ2割引額を減算した金額が加算されるように、購買登録画面を更新する。そしてプロセッサ311は、図11のACT6に戻る。 The processor 311 updates the purchase registration screen as ACT18. That is, the processor 11 adds the product name, unit price, points, purchase price, and group 2 discount of the product registered for purchase, and adds the amount obtained by subtracting the group 2 discount from the purchase price to the total price. , update the purchase registration screen. Processor 311 then returns to ACT 6 of FIG.

購買登録が行われていない場合、プロセッサ311は、ACT6においてNOと判定し、ACT7へと進む。プロセッサ311は、ACT7として購買登録を完了したか否かを確認する。具体的には、タッチパネル317からの信号により小計ボタンがタッチされたことを検知すると、プロセッサ311は、購買登録が完了されたと認識する。購買登録を完了していない場合、プロセッサ311は、ACT7においてNOと判定し、ACT6に戻る。すなわちプロセッサ311は、ACT6乃至ACT7の待ち受け状態に戻る。 If purchase registration has not been performed, the processor 311 determines NO in ACT6 and proceeds to ACT7. The processor 311 confirms whether or not purchase registration has been completed as ACT7. Specifically, when the processor 311 detects that the subtotal button has been touched by a signal from the touch panel 317, the processor 311 recognizes that purchase registration has been completed. If the purchase registration has not been completed, the processor 311 determines NO in ACT7 and returns to ACT6. That is, the processor 311 returns to the standby state of ACT6 to ACT7.

購買登録を完了した場合、プロセッサ311は、ACT7においてYESと判定し、ACT21へと進む。プロセッサ311は、ACT21として取引メモリ3121を基にグループ1累計購買金額及びグループ2累計購買金額を算出する。グループ1累計購買金額は、取引メモリ3121の優待割引グループに“1”がセットされた購買商品それぞれの購買金額を合計した金額である。グループ2累計購買金額は、取引メモリ3121の優待割引グループに“2”がセットされた購買商品それぞれの購買金額を合計した金額である。そしてプロセッサ311は、グループ1累計購買金額及びグループ2累計購買金額をメインメモリ312に記憶する。 If the purchase registration has been completed, the processor 311 determines YES in ACT7 and proceeds to ACT21. The processor 311 calculates the group 1 accumulated purchase amount and the group 2 accumulated purchase amount based on the transaction memory 3121 as ACT21. The group 1 cumulative purchase amount is the amount obtained by totaling the purchase amounts of the purchased products for which "1" is set in the preferential discount group of the transaction memory 3121 . The group 2 cumulative purchase amount is the amount obtained by totaling the purchase amounts of the purchased products for which “2” is set in the preferential discount group of the transaction memory 3121 . The processor 311 then stores the group 1 cumulative purchase amount and the group 2 cumulative purchase amount in the main memory 312 .

プロセッサ311は、ACT22としてタッチパネル317に決済画面を表示させる。決済画面には、例えば購買登録された商品の合計金額が表示される。 The processor 311 causes the touch panel 317 to display a payment screen as ACT22. The payment screen displays, for example, the total price of the products registered for purchase.

プロセッサ311は、ACT23として決済処理を実行する。決済処理については、周知の処理であるため詳細な説明は省略する。 The processor 311 executes settlement processing as ACT23. Since the settlement process is a well-known process, detailed description thereof will be omitted.

プロセッサ311は、ACT24として出力手段3116の機能によりプリンタ319を制御してレシート100(図15を参照)を発行させる。 The processor 311 controls the printer 319 by the function of the output means 3116 as ACT24 to issue the receipt 100 (see FIG. 15).

図15は、レシート100の一例を示す模式図である。図15に示すように、レシート100には、購買商品の明細情報及び会計情報が印字される。優待割引が適用された購買商品がある場合、購買商品の明細情報には、その購買商品がグループ1又はグループ2に属する商品であることを示すマークMの画像と、グループ1割引額又はグループ2割引額と、グループ1割引率又はグループ2割引率と、マークMを説明するテキストデータとがさらに表示される。マークMは、優待割引が適用された購買商品が属する優待割引グループを特定するための図形である。マークMは、優待割引グループを特定する情報である。マークMは、図形に限定されず、各優待割引グループを識別できるものであればよい。図15の場合は、商品BBBはグループ1に属する購買商品であるため、マークMとして丸マークが表示される。またグループ1割引率である4パーセントを基に算出されたグループ1割引額が表示される。商品EEEはグループ2に属する購買商品であるため、マークMとして菱形マークが表示される。またグループ2割引率である3パーセントを基に算出されたグループ2割引額が表示される。商品KKKは優待割引が適用されない購買商品であるため、マークMと、割引額と、割引率とは表示されない。なお、図15に表示されているテキストデータの内容及び画像は一例である。 FIG. 15 is a schematic diagram showing an example of the receipt 100. As shown in FIG. As shown in FIG. 15, the receipt 100 is printed with detailed information and accounting information of the purchased product. When there is a purchased product to which a preferential discount is applied, the detailed information of the purchased product includes an image of a mark M indicating that the purchased product belongs to Group 1 or Group 2, and the Group 1 discount amount or Group 2 The discount amount, the group 1 discount rate or the group 2 discount rate, and text data describing the mark M are also displayed. The mark M is a figure for specifying the preferential discount group to which the purchased product to which the preferential discount is applied belongs. The mark M is information specifying a preferential discount group. The mark M is not limited to a figure, and may be anything that can identify each preferential discount group. In the case of FIG. 15, the product BBB is a purchased product belonging to group 1, so a circle mark is displayed as the mark M. In FIG. A group 1 discount amount calculated based on the group 1 discount rate of 4% is also displayed. Since the product EEE is a purchased product belonging to group 2, a diamond mark is displayed as the mark M. Also displayed is the Group 2 discount calculated based on the Group 2 discount rate of 3%. Since the product KKK is a purchased product to which the preferential discount is not applied, the mark M, discount amount, and discount rate are not displayed. Note that the contents of the text data and the image displayed in FIG. 15 are examples.

図11の説明に戻る。
プロセッサ311は、ACT25として更新コマンドを会員サーバ10宛に送信するように通信インターフェース316を制御する。この制御により、通信インターフェース316は更新コマンドを送信する。更新コマンドには、会員IDと、メインメモリ312に記憶されたグループ1累計購買金額及びグループ2累計購買金額が含まれる。
Returning to the description of FIG.
The processor 311 controls the communication interface 316 to transmit the update command to the member server 10 as ACT25. This control causes the communication interface 316 to send an update command. The update command includes the member ID and the group 1 cumulative purchase amount and group 2 cumulative purchase amount stored in the main memory 312 .

更新コマンドを受信した会員サーバ10のプロセッサ11は、図14の流れ図に示す手順のコマンド受信処理を開始する。 Upon receiving the update command, the processor 11 of the member server 10 starts command reception processing of the procedure shown in the flow chart of FIG.

プロセッサ11は、ACT41として更新コマンドから会員IDを検出する。そしてプロセッサ11は、ACT42としてその会員IDに対応した会員データレコード1311を抽出する。 The processor 11 detects the member ID from the update command as ACT41. The processor 11 then extracts the member data record 1311 corresponding to the member ID as ACT42.

プロセッサ11は、ACT43として会員データレコード1311を更新する。具体的には、会員データレコード1311のグループ1累計購買金額に、更新コマンドに含まれているグループ1累計購買金額を加算して、新たに算出されたグループ1累計購買金額に更新する。また会員データレコード1311のグループ2累計購買金額に、更新コマンドに含まれているグループ2累計購買金額を加算して、新たに算出されたグループ2累計購買金額に更新する。以上で、プロセッサ11は、更新コマンド受信処理を終了する。 Processor 11 updates membership data record 1311 as ACT 43 . Specifically, the group 1 cumulative purchase amount included in the update command is added to the group 1 cumulative purchase amount of the member data record 1311 to update the newly calculated group 1 cumulative purchase amount. Also, the group 2 total purchase price included in the update command is added to the group 2 total purchase price of the member data record 1311 to update the newly calculated group 2 total purchase price. With this, the processor 11 ends the update command reception process.

このような商品販売データ処理システムSであれば、まず会員カードの会員IDがスキャナ318又はリーダ320で読み取られると、会員の優待ランクが取得される。購買登録が行われると、その購買商品の単品コードに対応した分類コードが紐づけテーブル221に存在する場合、分類コードに対応した優待割引グループがグループ1であるか、グループ2であるかが確認される。グループ1であって、グループ1ランクとしてランク“1”からランク“p”までのいずれかが設定されている場合には、グループ1テーブル222からそのグループ1ランクに対応したグループ1割引率が取得される。そしてグループ1割引率を基にグループ1割引額が算出される。一方、分類コードに対応した優待割引グループがグループ2であって、グループ2ランクとしてランク“1”からランク“q”までのいずれかが設定されている場合には、グループ2テーブル223からそのグループ2ランクに対応したグループ2割引率が取得される。そしてグループ2割引率を基にグループ2割引額が算出される。したがって、会員毎に複数の優待グループ毎の優待ランクを設定し、その優待ランクに応じた優待割引の適用が可能となる。 In the merchandise sales data processing system S as described above, when the member ID of the member card is read by the scanner 318 or the reader 320, the preferential rank of the member is acquired. When the purchase registration is performed, if the classification code corresponding to the single item code of the purchased product exists in the linkage table 221, it is confirmed whether the preferential discount group corresponding to the classification code is group 1 or group 2. be done. If it is Group 1 and any one of Rank "1" to Rank "p" is set as the Group 1 rank, the Group 1 discount rate corresponding to the Group 1 rank is obtained from the Group 1 table 222. be done. Then, the group 1 discount amount is calculated based on the group 1 discount rate. On the other hand, if the preferential discount group corresponding to the classification code is group 2 and any one of the ranks "1" to "q" is set as the group 2 rank, the group 2 table 223 Group 2 discount rates corresponding to the 2 ranks are obtained. Then, the group 2 discount amount is calculated based on the group 2 discount rate. Therefore, it is possible to set a preferential treatment rank for each of a plurality of preferential treatment groups for each member, and apply a preferential treatment discount according to the preferential treatment rank.

また、優待割引が適用された購買商品がある場合、レシート100には、マークMと、割引額と、割引率と、マークMを説明するテキストデータとがさらに表示される。したがって、会員は割引処理された購買商品の販売データとともに、マークMにより当該購買商品が属する優待割引グループを確認することができる。 In addition, when there is a purchased product to which a preferential discount is applied, the receipt 100 further displays a mark M, a discount amount, a discount rate, and text data explaining the mark M. Therefore, the member can confirm the discounted sales data of the purchased product and the special discount group to which the purchased product belongs by means of the mark M.

以上、商品販売データ処理システム、商品販売データ処理装置及びその制御プログラム並びに商品販売データ処理方法の実施形態について説明したが、かかる実施形態はこれに限定されるものではない。 Although the embodiments of the merchandise sales data processing system, the merchandise sales data processing device, the control program thereof, and the merchandise sales data processing method have been described above, the embodiments are not limited to these.

前記実施形態では、優待割引グループは、グループ1及びグループ2の2種類を例示した。優待割引グループは、2種類以上であればよく、グループ1及びグループ2に限定されない。 In the above embodiment, two types of preferential discount groups, group 1 and group 2, are exemplified. The preferential discount group is not limited to group 1 and group 2 as long as there are two or more types.

前記実施形態では、優待ランクは、優待ランク“12”のように、2桁の数値として、十の位の数値がグループ1ランクを示し、一の位の数値がグループ2ランクを示すことを例示した。優待ランクは、2桁の数値に限定されない。例えばグループ1ランクとして優待ランク“1”とグループ2ランクとして優待ランク“2”とのように、優待割引グループ毎に独立してもよい。 In the above embodiment, the preferential rank is a two-digit numerical value, such as the preferential rank "12", in which the tens digit indicates the group 1 rank and the ones digit indicates the group 2 rank. did. The preferential rank is not limited to a two-digit numerical value. For example, the group 1 rank may have a preferential treatment rank of "1" and the group 2 rank may have a preferential treatment rank of "2".

前記実施形態では、優待ランクは、グループ1累計購買金額とグループ2累計購買金額とに基づいて決定されるランクであることを例示した。例えば優待ランクは、店舗で購買した購買商品全ての累計購買金額に対する、グループ1累計購買金額の割合及びグループ2累計購買金額の割合それぞれに基づいて決定されてもよい。 In the above embodiment, the preferential rank is a rank determined based on the group 1 cumulative purchase amount and the group 2 cumulative purchase amount. For example, the preferential rank may be determined based on the ratio of the group 1 cumulative purchase amount and the ratio of the group 2 cumulative purchase amount to the cumulative purchase amount of all purchased products purchased at the store.

前記実施形態では、分類コードは、商品が属する分類を表す識別コードであることを例示した。例えば分類コードの下位コードとして中分類コード、小分類コード等を設定してもよい。例えば衣料品の場合、男性用又は女性用の衣料品に細分化したものを中分類コードとして設定し、男性用の衣料品をさらに男性用上着等に細分化したものを小分類コードとして設定してもよい。この場合、紐づけテーブル221は、中分類コード又は小分類コードに対応して優待割引グループを記述してもよい。 In the above embodiment, the classification code is an identification code representing the classification to which the product belongs. For example, a middle classification code, a small classification code, etc. may be set as subordinate codes of the classification code. For example, in the case of clothing, subdivided men's or women's clothing is set as a middle classification code, and men's clothing is further subdivided into men's outerwear, etc., and set as a minor classification code. You may In this case, the linking table 221 may describe the preferential discount group corresponding to the middle classification code or the small classification code.

前記実施形態では、会計機30は、紐づけテーブル221、グループ1テーブル222及びグループ2テーブル223を店舗サーバ20から予め取得することを説明した。例えば会計機30は、店舗サーバ20から必要に応じて紐づけテーブル221、グループ1テーブル222又はグループ2テーブル223を取得してもよい。また例えば会計機30は、単品マスタファイル231を店舗サーバ20から予め取得してもよい。 In the above embodiment, it has been explained that the accounting machine 30 acquires the linking table 221, the group 1 table 222 and the group 2 table 223 from the shop server 20 in advance. For example, the accounting machine 30 may acquire the linking table 221, the group 1 table 222, or the group 2 table 223 from the store server 20 as necessary. Further, for example, the checkout machine 30 may acquire the single-item master file 231 from the shop server 20 in advance.

前記実施形態では、店舗サーバ20のメインメモリ22における揮発性のメモリ領域の一部に紐づけテーブル221、グループ1テーブル222及びグループ2テーブル223を形成することを説明した。例えば会計機30のメインメモリ312における揮発性のメモリ領域の一部に紐づけテーブル221、グループ1テーブル222及びグループ2テーブル223を形成してもよい。 In the above embodiment, it has been described that the linking table 221, the group 1 table 222 and the group 2 table 223 are formed in part of the volatile memory area in the main memory 22 of the shop server 20. FIG. For example, the linking table 221, the group 1 table 222 and the group 2 table 223 may be formed in part of the volatile memory area in the main memory 312 of the accounting machine 30. FIG.

前記実施形態では、レシート100が発行されることを説明した。例えば電子レシートサービスに登録している会員は、その会員の所有するスマートフォン等のモバイル端末でレシートの画像データを取得できるように設定してもよい。 In the above embodiment, it has been described that the receipt 100 is issued. For example, a member who has registered for an electronic receipt service may be set so that the image data of the receipt can be obtained by a mobile terminal such as a smartphone owned by the member.

前記実施形態では、特典は優待割引であることを例示した。例えば特典は、サービスポイントの倍率アップ、クーポン券等でもよい。 In the said embodiment, the privilege was illustrated as a preferential discount. For example, the privilege may be an increased service point multiplier, a coupon, or the like.

この他、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態及びその変形は、発明の範囲に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Additionally, while several embodiments of the invention have been described, these embodiments have been presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and modifications can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope of the invention, and are included in the scope of the invention described in the claims and equivalents thereof.

10…会員サーバ、11,21,311…プロセッサ、12,22,312…メインメモリ、13,23,313…補助記憶デバイス、14,24,316…通信インターフェース、15,25,321…システム伝送路、20…店舗サーバ、30…会計機、40…通信ネットワーク、131…会員データベース、221…紐づけテーブル、222…グループ1テーブル、223…グループ2テーブル、231…単品マスタファイル、314…時計、315…釣銭機インターフェース、317…タッチパネル、318…スキャナ、319…プリンタ、320…リーダ、1311…会員データレコード、2311…単品データレコード、3121…取引メモリ、S…商品販売データ処理システム、3111…受付手段、3112…第1取得手段、3113…第2取得手段、3114…第3取得手段、3115…処理手段、3116…出力手段。 10 Member server 11, 21, 311 Processor 12, 22, 312 Main memory 13, 23, 313 Auxiliary storage device 14, 24, 316 Communication interface 15, 25, 321 System transmission path , 20...Store server 30...Accounting machine 40...Communication network 131...Member database 221...Linking table 222...Group 1 table 223...Group 2 table 231...Single item master file 314...Clock 315 ... change machine interface, 317 ... touch panel, 318 ... scanner, 319 ... printer, 320 ... reader, 1311 ... member data record, 2311 ... single item data record, 3121 ... transaction memory, S ... merchandise sales data processing system, 3111 ... reception means , 3112 ... first acquisition means, 3113 ... second acquisition means, 3114 ... third acquisition means, 3115 ... processing means, 3116 ... output means.

Claims (5)

2種類以上の優待割引グループにそれぞれ対応して、優待ランク別の割引率を記憶する第1記憶手段と、
各会員を識別する会員識別コードにそれぞれ対応して、優待割引グループ毎の優待ランクを記憶する第2記憶手段と、
優待割引が適用される各商品に対応して、いずれかの優待割引グループを記憶する第3記憶手段と、
前記会員が買い上げる商品の入力を受け付ける受付手段と、
前記受付手段で入力を受け付けた商品に対応して記憶されている優待割引グループを前記第3記憶手段から取得する第1取得手段と、
前記受付手段で入力を受け付けた商品を買い上げる会員の会員識別コードに対応して記憶されている優待ランクを前記第2記憶手段から取得する第2取得手段と、
前記第1取得手段で取得した前記優待割引グループに対応して前記第1記憶手段で記憶されている優待ランク別の割引率の中から、前記第2取得手段で取得した前記優待ランクの割引率を取得する第3取得手段と、
前記第3取得手段で取得した前記割引率により前記受付手段で入力を受け付けた商品の販売データを割引処理する処理手段と、
を具備する商品販売データ処理システム。
a first storage means for storing discount rates by preferential treatment rank corresponding to two or more kinds of preferential treatment discount groups;
a second storage means for storing a preferential treatment rank for each preferential discount group corresponding to a member identification code that identifies each member;
a third storage means for storing one of the preferential discount groups corresponding to each product to which the preferential discount is applied;
receiving means for receiving input of products to be purchased by the member;
a first obtaining means for obtaining, from the third storage means, a preferential discount group stored corresponding to the product whose input is received by the receiving means;
a second obtaining means for obtaining, from the second storage means, the preferential treatment rank stored corresponding to the member identification code of the member who purchases the product whose input is received by the receiving means;
The discount rate for the preferential treatment rank obtained by the second obtaining means from among the discount rates for each preferential treatment rank stored in the first storage means corresponding to the preferential treatment discount group obtained by the first obtaining means. a third acquisition means for acquiring
processing means for discounting the sales data of the product whose input is received by the receiving means, using the discount rate obtained by the third obtaining means;
A merchandise sales data processing system comprising:
前記処理手段で割引処理された前記商品の販売データとともに、当該商品に対応して記憶されている優待割引グループを特定する情報を出力する出力手段、
をさらに具備する請求項1記載の前記商品販売データ処理システム。
output means for outputting information specifying a preferential discount group stored corresponding to the product together with the sales data of the product discounted by the processing means;
2. The merchandise sales data processing system according to claim 1, further comprising:
2種類以上の優待割引グループにそれぞれ対応して、優待ランク別の割引率を記憶する第1記憶手段と、各会員を識別する会員識別コードにそれぞれ対応して、優待割引グループ毎の優待ランクを記憶する第2記憶手段と、優待割引が適用される各商品に対応して、いずれかの優待割引グループを記憶する第3記憶手段とを備えた商品販売データ処理装置であって、
前記会員が買い上げる商品の入力を受け付ける受付手段と、
前記受付手段で入力を受け付けた商品に対応して記憶されている優待割引グループを前記第3記憶手段から取得する第1取得手段と、
前記受付手段で入力を受け付けた商品を買い上げる会員の会員識別コードに対応して記憶されている優待ランクを前記第2記憶手段から取得する第2取得手段と、
前記第1取得手段で取得した前記優待割引グループに対応して前記第1記憶手段で記憶されている優待ランク別の割引率の中から、前記第2取得手段で取得した前記優待ランクの割引率を取得する第3取得手段と、
前記第3取得手段で取得した前記割引率により前記受付手段で入力を受け付けた商品の販売データを割引処理する処理手段と、
を具備する商品販売データ処理装置。
First storage means for storing a discount rate for each preferential treatment rank corresponding to each of two or more kinds of preferential discount groups, and preferential treatment rank for each preferential discount group corresponding to each member identification code for identifying each member A merchandise sales data processing device comprising a second storage means for storing and a third storage means for storing any preferential discount group corresponding to each merchandise to which a preferential discount is applied,
receiving means for receiving input of products to be purchased by the member;
a first obtaining means for obtaining, from the third storage means, a preferential discount group stored corresponding to the product whose input is received by the receiving means;
a second obtaining means for obtaining, from the second storage means, the preferential treatment rank stored corresponding to the member identification code of the member who purchases the product whose input is received by the receiving means;
The discount rate for the preferential treatment rank obtained by the second obtaining means from among the discount rates for each preferential treatment rank stored in the first storage means corresponding to the preferential treatment discount group obtained by the first obtaining means. a third acquisition means for acquiring
processing means for discounting the sales data of the product whose input is received by the receiving means, using the discount rate obtained by the third obtaining means;
A merchandise sales data processing device comprising:
2種類以上の優待割引グループにそれぞれ対応して、優待ランク別の割引率を記憶する第1記憶部と、各会員を識別する会員識別コードにそれぞれ対応して、優待割引グループ毎の優待ランクを記憶する第2記憶部と、優待割引が適用される各商品に対応して、いずれかの優待割引グループを記憶する第3記憶部とを備えた商品販売データ処理装置が、
前記会員が買い上げる商品の入力を受け付け、
入力を受け付けた前記商品に対応して記憶されている優待割引グループを前記第3記憶部から取得し、
入力を受け付けた前記商品を買い上げる会員の会員識別コードに対応して記憶されている優待ランクを前記第2記憶部から取得し、
取得した前記優待割引グループに対応して前記第1記憶部で記憶されている優待ランク別の割引率の中から、取得した前記優待ランクの割引率を取得し、
取得した前記割引率により入力を受け付けた前記商品の販売データを割引処理する、
商品販売データ処理方法。
A first storage unit for storing discount rates by preferential treatment rank corresponding to each of two or more kinds of preferential discount groups, and a preferential treatment rank for each preferential discount group corresponding to each member identification code for identifying each member. A commodity sales data processing device comprising a second storage section for storing and a third storage section for storing one of the preferential discount groups corresponding to each commodity to which the preferential discount is applied,
Receiving input of products to be purchased by the member,
Acquiring from the third storage unit a preferential discount group stored corresponding to the product whose input is accepted;
obtaining from the second storage unit a preferential treatment rank stored in correspondence with the member identification code of the member who purchases the product whose input is received;
obtaining the discount rate for the obtained preferential treatment rank from among the discount rates for each preferential treatment rank stored in the first storage unit corresponding to the obtained preferential treatment discount group;
discounting the sales data of the product for which the input is accepted using the acquired discount rate;
Merchandise sales data processing method.
商品販売データ処理装置のコンピュータを、
2種類以上の優待割引グループにそれぞれ対応して、優待ランク別の割引率を記憶する第1記憶手段、
各会員を識別する会員識別コードにそれぞれ対応して、優待割引グループ毎の優待ランクを記憶する第2記憶手段、
優待割引が適用される各商品に対応して、いずれかの優待割引グループを記憶する第3記憶手段、
前記会員が買い上げる商品の入力を受け付ける受付手段、
前記受付手段で入力を受け付けた商品に対応して記憶されている優待割引グループを前記第3記憶手段から取得する第1取得手段、
前記受付手段で入力を受け付けた商品を買い上げる会員の会員識別コードに対応して記憶されている優待ランクを前記第2記憶手段から取得する第2取得手段、
前記第1取得手段で取得した前記優待割引グループに対応して前記第1記憶手段で記憶されている優待ランク別の割引率の中から、前記第2取得手段で取得した前記優待ランクの割引率を取得する第3取得手段、及び、
前記第3取得手段で取得した前記割引率により前記受付手段で入力を受け付けた商品の販売データを割引処理する処理手段、
として機能させるための制御プログラム。
The computer of the product sales data processing device,
first storage means for storing discount rates by preferential treatment rank corresponding to two or more kinds of preferential treatment discount groups, respectively;
second storage means for storing a preferential treatment rank for each preferential discount group corresponding to a member identification code that identifies each member;
third storage means for storing one of the preferential discount groups corresponding to each product to which the preferential discount is applied;
Receiving means for receiving input of products to be purchased by the member;
a first obtaining means for obtaining, from the third storage means, a preferential discount group stored corresponding to the product whose input is received by the receiving means;
a second obtaining means for obtaining from the second storage means the preferential rank stored corresponding to the member identification code of the member who purchases the product whose input is received by the receiving means;
The discount rate for the preferential treatment rank obtained by the second obtaining means from among the discount rates for each preferential treatment rank stored in the first storage means corresponding to the preferential treatment discount group obtained by the first obtaining means. and a third acquisition means for acquiring
processing means for discounting the sales data of the product whose input is received by the receiving means using the discount rate obtained by the third obtaining means;
A control program for functioning as
JP2021050396A 2021-03-24 2021-03-24 Product sales data processing system, product sales data processing device and control program therefor, and product sales data processing method Active JP7631063B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021050396A JP7631063B2 (en) 2021-03-24 2021-03-24 Product sales data processing system, product sales data processing device and control program therefor, and product sales data processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021050396A JP7631063B2 (en) 2021-03-24 2021-03-24 Product sales data processing system, product sales data processing device and control program therefor, and product sales data processing method

Publications (2)

Publication Number Publication Date
JP2022148643A true JP2022148643A (en) 2022-10-06
JP7631063B2 JP7631063B2 (en) 2025-02-18

Family

ID=83463069

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021050396A Active JP7631063B2 (en) 2021-03-24 2021-03-24 Product sales data processing system, product sales data processing device and control program therefor, and product sales data processing method

Country Status (1)

Country Link
JP (1) JP7631063B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000149147A (en) * 1998-11-18 2000-05-30 Toshiba Tec Corp Product sales registration data processing device
JP2000251153A (en) * 1999-02-26 2000-09-14 Teraoka Seiko Co Ltd Sales data processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000149147A (en) * 1998-11-18 2000-05-30 Toshiba Tec Corp Product sales registration data processing device
JP2000251153A (en) * 1999-02-26 2000-09-14 Teraoka Seiko Co Ltd Sales data processor

Also Published As

Publication number Publication date
JP7631063B2 (en) 2025-02-18

Similar Documents

Publication Publication Date Title
JP3872455B2 (en) Inventory management computer system and method
JP7189038B2 (en) Product data processing device and control program
JP2022003594A (en) Settlement device and program therefor
US11288651B2 (en) Commodity sales data processing apparatus and control program
JP6251146B2 (en) Checkout system, settlement apparatus and control program thereof
KR20220146311A (en) Accounts processing system, coupon management device and control program therefor
JP6682603B2 (en) Payment device and its control program
JP7340712B2 (en) Payment device and its control program
JP2023101588A (en) Electronic receipt system, server device and its program
JP7631063B2 (en) Product sales data processing system, product sales data processing device and control program therefor, and product sales data processing method
CN114792261A (en) Information processing apparatus, information processing system, and storage medium
JPH0589372A (en) Processor for product sales data
JP2022053850A (en) Information processing device and control program thereof
JP7175667B2 (en) Individual item management system, individual item management device and its program
JP6977125B2 (en) Checkout system, payment device and its control program
JP7336560B2 (en) Product data processor, program
JP7326049B2 (en) Coupon issuing system, coupon management device and its control program
JP6783913B2 (en) Product registration device and its control program
JP7483512B2 (en) Payment device and program
JP6867520B2 (en) Server device and its program, receipt data processing method
JP2010198551A (en) Merchandise sales system
JP6530537B2 (en) Electronic receipt system, server device and program thereof
JP2006039619A (en) Commodity sales data processor
US20200387882A1 (en) Commodity sales data processing apparatus, control method therefor, and display control method thereof
KR100712320B1 (en) Server for selecting merchants for communities

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20230104

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240122

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240920

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20241001

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20241126

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250205

R150 Certificate of patent or registration of utility model

Ref document number: 7631063

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150