JP7631063B2 - Product sales data processing system, product sales data processing device and control program therefor, and product sales data processing method - Google Patents
Product sales data processing system, product sales data processing device and control program therefor, and product sales data processing method Download PDFInfo
- Publication number
- JP7631063B2 JP7631063B2 JP2021050396A JP2021050396A JP7631063B2 JP 7631063 B2 JP7631063 B2 JP 7631063B2 JP 2021050396 A JP2021050396 A JP 2021050396A JP 2021050396 A JP2021050396 A JP 2021050396A JP 7631063 B2 JP7631063 B2 JP 7631063B2
- Authority
- JP
- Japan
- Prior art keywords
- discount
- preferential
- group
- product
- rank
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Cash Registers Or Receiving Machines (AREA)
Description
本発明の実施形態は、商品販売データ処理システム、商品販売データ処理装置及びその制御プログラム、並びに商品販売データ処理方法に関する。 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 retail stores, such as department stores and chain stores, rank their members according to preferential ranks that correspond to the usage of the store. For example, a preferential rank is given to a member based on the cumulative purchase amount of products purchased at the store. The unit price of products, discount rate, etc. are set for each preferential rank.
Such retail stores handle multiple product groups (food, clothing, daily necessities, home appliances, etc.). For this reason, there is variation in the product groups of the products purchased by members, for example, food may be purchased frequently but daily necessities may be purchased infrequently. However, with a single preferential rank given to a member, it is not possible to set a high discount rate for food that is purchased frequently and a low discount rate for daily necessities that are purchased infrequently. Therefore, it is desirable to establish a system in which preferential ranks are set for multiple preferential groups for each member and benefits are granted according to the preferential rank.
本発明の実施形態が解決しようとする課題は、会員毎に複数の優待グループ毎の優待ランクを設定し、その優待ランクに応じて特典を付与することができる商品販売データ処理システム、商品販売データ処理装置及びその制御プログラム、並びに商品販売データ処理方法を提供しようとするものである。 The problem that the embodiments of the present invention aim to solve is to provide a product sales data processing system, a product sales data processing device and its control program, and a product sales data processing method that can set a preferential rank for each of multiple preferential groups for each member and grant benefits according to the preferential rank.
一実施形態において、商品販売データ処理システムは、第1記憶手段と、第2記憶手段と、第3記憶手段と、受付手段と、第1取得手段と、第2取得手段と、第3取得手段と、処理手段と、を具備する。第1記憶手段は、2種類以上の優待割引グループにそれぞれ対応して、優待ランク別の割引率を記憶する。第2記憶手段は、各会員を識別する会員識別コードにそれぞれ対応して、優待割引グループ毎の優待ランクを記憶する。第3記憶手段は、優待割引が適用される各商品に対応して、いずれかの優待割引グループを記憶する。受付手段は、会員が買い上げる商品の入力を受け付ける。第1取得手段は、受付手段で入力を受け付けた商品に対応して記憶されている優待割引グループを第3記憶手段から取得する。第2取得手段は、受付手段で入力を受け付けた商品を買い上げる会員の会員識別コードに対応して記憶されている優待ランクを第2記憶手段から取得する。第3取得手段は、第1取得手段で取得した優待割引グループに対応して第1記憶手段で記憶されている優待ランク別の割引率の中から、第2取得手段で取得した優待ランクの割引率を取得する。処理手段は、第3取得手段で取得した割引率により受付手段で入力を受け付けた商品の販売データを割引処理する。 In one embodiment, the product sales data processing system includes a first storage means, a second storage means, a third storage means, a reception means, a first acquisition means, a second acquisition means, a third acquisition means, and a processing means. The first storage means stores discount rates by preferential rank corresponding to two or more types of preferential discount groups. The second storage means stores preferential ranks 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 a preferential discount is applied. The reception means accepts input of a product to be purchased by a member. The first acquisition means acquires from the third storage means the preferential discount group stored in correspondence with the product whose input has been accepted by the reception means. The second acquisition means acquires from the second storage means the preferential rank stored in correspondence with the member identification code of the member who will purchase the product whose input has been accepted by the reception means. The third acquisition means acquires the discount rate for the preferential rank acquired by the second acquisition means from the discount rates for the preferential ranks stored in the first storage means corresponding to the preferential discount group acquired by the first acquisition means. The processing means performs discount processing on the sales data of the product inputted and accepted by the acceptance means, using the discount rate acquired by the third acquisition means.
以下、各実施形態について、図面を用いて説明する。 Each embodiment will be explained 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 product sales data processing system S according to the present embodiment.
The product sales data processing system S includes a member server 10, a store server 20, and a payment machine 30. The member server 10, the store server 20, and the payment 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 about members of the store in which the product sales data processing system S has been installed, and executes various information processing related to the members. The store server 20 is a computer that manages information about products sold in the store in which the product sales data processing system S has been installed, and executes various information processing related to the products. The payment machine 30 is a device that enables a store clerk or a member to perform the payment for purchased products. There is no particular limit to the number of payment machines 30.
図2は、会員サーバ10の要部回路構成を示すブロック図である。会員サーバ10は、プロセッサ11、メインメモリ12、補助記憶デバイス13、通信インターフェース14及びシステム伝送路15を備えている。システム伝送路15は、アドレスバス、データバス、制御信号線等を含む。会員サーバ10は、システム伝送路15に、プロセッサ11、メインメモリ12、補助記憶デバイス13及び通信インターフェース14を接続する。会員サーバ10では、プロセッサ11、メインメモリ12及び補助記憶デバイス13と、これらを接続するシステム伝送路15とによってコンピュータが構成される。 Figure 2 is a block diagram showing the main circuit configuration of the member server 10. The member server 10 comprises a processor 11, a main memory 12, an auxiliary storage device 13, a communication interface 14, and a system transmission path 15. The system transmission path 15 includes an address bus, a data bus, control signal lines, etc. The member server 10 connects the processor 11, main memory 12, auxiliary storage device 13, and communication interface 14 to the system transmission path 15. In the member server 10, a computer is made up of the processor 11, main memory 12, auxiliary storage device 13, and the system transmission path 15 that connects them.
プロセッサ11は、上記コンピュータの中枢部分に相当する。プロセッサ11は、オペレーティングシステム又はアプリケーションプログラムに従って、会員サーバ10としての各種の機能を実現するべく各部を制御する。プロセッサ11は、例えばCPU(Central Processing Unit)である。 The processor 11 corresponds to the central part of the computer. The processor 11 controls each part to realize various functions of the member server 10 according to an operating system or application programs. 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 storage portion of the computer. The 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 the non-volatile memory area. The main memory 12 stores data required for the processor 11 to execute processes for controlling each part in the volatile memory area. The main memory 12 also uses the volatile memory area as a work area where data is appropriately rewritten by the processor 11. The non-volatile memory area is, for example, ROM (Read Only Memory). The volatile memory area is, for example, 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 memory portion of the computer. As the auxiliary storage device 13, for example, well-known storage devices such as an EEPROM (registered trademark) (Electric Erasable Programmable Read-Only Memory), a HDD (Hard Disc Drive), or an SSD (Solid State Drive) are used alone or in combination. The auxiliary storage device 13 stores data used by the processor 11 when performing various processes, and data generated by the processes in 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 configured as above stores a member database 131 in the auxiliary storage device 13. The member database 131 stores member data records 1311 (see FIG. 3) that describe 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 a member data record 1311 stored in the member database 131. As shown in Fig. 3, the member data record 1311 stores member data created for each member. The member data record 1311 includes items such as a member ID, name, gender, email address, cumulative purchase amount of group 1, cumulative purchase amount of group 2, and preferential rank. Note that the items related to a member are not limited to the above items.
The member ID is a member identification code that identifies each member. The group 1 cumulative purchase amount is the total amount of products belonging to the preferential discount group 1 that the member purchased at the store. The preferential discount group 1 is one of the groups to which products that are subject to preferential discounts belong, which are preset by the store. The preferential discount group 1 will be simply referred to as group 1 below. The group 2 cumulative purchase amount is the total amount of products belonging to the preferential discount group 2 that the member purchased at the store. The preferential discount group 2 is one of the groups to which products that are subject to preferential discounts belong, which are preset by the store. The preferential discount group 2 will be simply referred to as group 2 below. The preferential rank is composed of a group 1 rank and a group 2 rank. The group 1 rank is a rank that is determined based on the group 1 cumulative purchase amount. The group 1 rank is ranked from rank "0" to rank "p". The rank "p" is any integer equal to or greater than 1. Rank "0" is set when there is no group 1 cumulative purchase amount or when the group 1 cumulative purchase amount does not satisfy a predetermined condition preset by the store. When there is a group 1 cumulative purchase amount and it satisfies a predetermined condition preset by the store, one of ranks from rank "1" to rank "p" is set. The higher the group 1 cumulative purchase amount, the higher the group 1 rank. The group 2 rank is a rank determined based on the group 2 cumulative purchase amount. The group 2 rank is ranked from rank "0" to rank "q". Rank "q" is an arbitrary integer of 1 or more. Rank "0" is set when there is no group 2 cumulative purchase amount or when the group 2 cumulative purchase amount does not satisfy a predetermined condition preset by the store. When there is a group 2 cumulative purchase amount and it satisfies a predetermined condition preset by the store, one of ranks from rank "1" to rank "q" is set. The higher the group 2 cumulative purchase amount, the higher the group 2 rank. In this way, ranks are set for each group for the members.
本実施形態では、優待ランクは、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 number. The tens digit number indicates the group 1 rank. The ones digit number indicates the group 2 rank. For example, if the preferential rank is preferential rank "12", this means that the group 1 rank is "1" and the group 2 rank is "2". For example, if the preferential rank is preferential rank "03", this means that the group 1 rank is "0" and the group 2 rank is "3". For example, if the preferential rank is preferential rank "20", this 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 means that stores the preferential rank for each preferential discount group in correspondence with the member identification code, i.e., member ID, that identifies each member. The second storage means can be referred to as a second storage unit.
図4は、店舗サーバ20の要部回路構成を示すブロック図である。店舗サーバ20は、プロセッサ21、メインメモリ22、補助記憶デバイス23、通信インターフェース24及びシステム伝送路25を備えている。システム伝送路25は、アドレスバス、データバス、制御信号線等を含む。店舗サーバ20は、システム伝送路25に、プロセッサ21、メインメモリ22、補助記憶デバイス23及び通信インターフェース24を接続する。店舗サーバ20では、プロセッサ21、メインメモリ22及び補助記憶デバイス23と、これらを接続するシステム伝送路25とによってコンピュータが構成される。 Figure 4 is a block diagram showing the main circuit configuration of the store server 20. The store server 20 is equipped with a processor 21, a main memory 22, an auxiliary storage device 23, a communication interface 24, and a system transmission path 25. The system transmission path 25 includes an address bus, a data bus, a control signal line, etc. The store server 20 connects the processor 21, the main memory 22, the auxiliary storage device 23, and the communication interface 24 to the system transmission path 25. In the store server 20, a computer is formed by the processor 21, the main memory 22, the auxiliary storage device 23, and the system transmission path 25 that connects them.
プロセッサ21は、上記コンピュータの中枢部分に相当する。プロセッサ21は、オペレーティングシステム又はアプリケーションプログラムに従って、店舗サーバ20としての各種の機能を実現するべく各部を制御する。プロセッサ21は、例えばCPUである。 The processor 21 corresponds to the central part of the computer. The processor 21 controls each part to realize various functions of the store server 20 according to an operating system or application programs. 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 storage portion of the computer. The 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 the non-volatile memory area. The main memory 22 stores data required for the processor 21 to execute processes for controlling each part in the volatile memory area. The main memory 22 also uses the volatile memory area as a work area where data is appropriately rewritten by the processor 21. The non-volatile memory area is, for example, a ROM. The 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 memory portion of the computer. As the auxiliary storage device 23, for example, well-known storage devices such as EEPROM, HDD, or SSD are used alone or in combination. The auxiliary storage device 23 stores data used by the processor 21 when performing various processes, and data generated by the processes in 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を参照)を記憶している。 A store server 20 configured as described above stores an item master file 231 (see Figure 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. 5, the single item data record 2311 stores single item data generated for each single item. The single item data record 2311 includes items such as a single item code, a classification code, a product name, and a unit price. Note that the items related to a single item are not limited to the above items.
The item code is a unique identification code set for each item. An item is one item of a product. Many products are given a product barcode, which is a barcode of the item code of the product. The category code is an identification code that indicates the category to which the product identified by the corresponding item code belongs. The category is the type of product. Examples of categories include food, clothing, daily necessities, and home appliances. Food may also be further subdivided into categories such as fresh food, processed food, beverages, and sweets. The same applies to clothing, daily necessities, and home appliances. A unique category code is set in advance for each category. 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 explanation of FIG.
The store server 20 configured as above uses a part of the volatile memory area in the main memory 22 as an area for the linking table 221 (see FIG. 6), the group 1 table 222 (see FIG. 7), and the group 2 table 223 (see FIG. 8). The store server 20 forms the linking table 221, the group 1 table 222, and the group 2 table 223 in this area.
図6は、紐づけテーブル221の一例を示す模式図である。図6に示すように、紐づけテーブル221は、分類コードに対応して優待割引グループを記述したデータテーブルである。優待割引グループには、グループ1又はグループ2が記述される。商品に対応した分類コードがグループ1に属する場合、優待割引グループにはグループ1が記述される。商品に対応した分類コードがグループ2に属する場合、優待割引グループにはグループ2が記述される。 Figure 6 is a schematic diagram showing an example of the linking table 221. As shown in Figure 6, the linking table 221 is a data table that describes preferential discount groups corresponding to classification codes. Group 1 or group 2 is described as the preferential discount group. If the classification code corresponding to the product belongs to group 1, group 1 is described as the preferential discount group. If the classification code corresponding to the product belongs to group 2, group 2 is described as 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. In other words, the third storage means has a function of storing the linking table 221. The third storage means can be referred to as a third storage unit.
図7は、グループ1テーブル222の一例を示す模式図である。図7に示すように、グループ1テーブル222は、グループ1ランクに対応してグループ1割引率を記述したデータテーブルである。グループ1割引率は、対応するグループ1ランク“1”からランク“p”までの会員に対してグループ1に属する商品を販売するときの割引率である。グループ1ランクが高くなるほど、グループ1割引率は大きくなる。 Figure 7 is a schematic diagram showing an example of the group 1 table 222. As shown in Figure 7, the group 1 table 222 is a data table that describes the group 1 discount rate corresponding to the group 1 rank. The group 1 discount rate is the discount rate when selling products belonging to group 1 to members with the corresponding group 1 ranks from "1" to "p". The higher the group 1 rank, the larger the group 1 discount rate.
図8は、グループ2テーブル223の一例を示す模式図である。図8に示すように、グループ2テーブル223は、グループ2ランクに対応してグループ2割引率を記述したデータテーブルである。グループ2割引率は、対応するグループ2ランク“1” から“q”までの会員に対してグループ2に属する商品を販売するときの割引率である。グループ2ランクが高くなるほど、グループ2割引率は大きくなる。 Figure 8 is a schematic diagram showing an example of the group 2 table 223. As shown in Figure 8, the group 2 table 223 is a data table that describes the group 2 discount rate corresponding to the group 2 rank. The group 2 discount rate is the discount rate when selling products belonging to group 2 to members with the corresponding group 2 ranks "1" to "q". The higher the group 2 rank, the larger 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 a first storage means that stores discount rates by preferential rank, corresponding to two or more preferential discount groups. The first storage means can be referred to as a first storage unit.
図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のコンピュータが構成される。 Figure 9 is a block diagram showing the main circuit configuration of the accounting machine 30. The accounting machine 30 includes a processor 311, a main memory 312, an auxiliary storage device 313, a clock 314, a change machine interface 315, a communication interface 316, a touch panel 317, a scanner 318, a printer 319, a reader 320, and a system transmission path 321. The system transmission path 321 includes an address bus, a data bus, a control signal line, and the like. The system transmission path 321 interconnects the processor 311 with the main memory 312, the auxiliary storage device 313, the clock 314, the change machine interface 315, the communication interface 316, the touch panel 317, the scanner 318, the printer 319, and the reader 320. The processor 311, the main memory 312, and the auxiliary storage device 313 are connected by the system transmission path 321 to form a computer for the accounting machine 30.
プロセッサ311は、上記コンピュータの中枢部分に相当する。プロセッサ311は、オペレーティングシステム又はアプリケーションプログラムに従って、会計機30としての各種の機能を実現するべく各部を制御する。プロセッサ311は、例えばCPUである。 The processor 311 corresponds to the central 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 an application program. The processor 311 is, for example, a CPU.
メインメモリ312は、上記コンピュータの主記憶部分に相当する。メインメモリ312は、不揮発性のメモリ領域と揮発性のメモリ領域とを含む。メインメモリ312は、不揮発性のメモリ領域ではオペレーティングシステム又はアプリケーションプログラムを記憶する。メインメモリ312は、プロセッサ311が各部を制御するための処理を実行する上で必要なデータを不揮発性又は揮発性のメモリ領域で記憶する場合もある。メインメモリ312は、揮発性のメモリ領域を、プロセッサ311によってデータが適宜書き換えられるワークエリアとして使用する。不揮発性のメモリ領域は、例えばROMである。揮発性のメモリ領域は、例えばRAMである。 Main memory 312 corresponds to the main storage portion of the computer. Main memory 312 includes a nonvolatile memory area and a volatile memory area. Main memory 312 stores an operating system or application programs in the nonvolatile memory area. Main memory 312 may also store data required for processor 311 to execute processes for controlling each part in a nonvolatile or volatile memory area. Main memory 312 uses the volatile memory area as a work area where data is appropriately rewritten by processor 311. The nonvolatile memory area is, for example, ROM. The volatile memory area is, for example, 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, the auxiliary storage device 313 can be an EEPROM, HDD, or SSD. The auxiliary storage device 313 stores data used by the processor 311 when performing various processes, data created by the processes in the processor 311, etc. The auxiliary storage device 313 may also store the application programs described above.
メインメモリ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 that describe the information processing executed by the accounting machine 30. There are no particular limitations on the method for installing the control programs into the main memory 312 or the auxiliary storage device 313. The control programs can be installed into the main memory 312 or the auxiliary storage device 313 by recording them on a removable recording medium, or by distributing the control programs by communication via a network. The recording medium can be in any form, such as a CD-ROM or memory card, as long as it can store the programs and is readable by the device.
時計314は、会計機30の時刻情報源として機能する。プロセッサ311は、時計314によって計時される時刻情報を基に、現在の日付及び時間を計時する。 The clock 314 functions as a time information source for the accounting device 30. The processor 311 keeps track of the current date and time based on the time information kept by the clock 314.
釣銭機インターフェース315は、自動釣銭機との間でデータ通信を行う。釣銭機インターフェース315は、自動釣銭機から投入金額のデータ、貨幣収納枚数のデータ等を受信する。釣銭機インターフェース315は、釣銭データを自動釣銭機へと送信する。 The change machine interface 315 communicates data with the automatic change machine. The change machine interface 315 receives data on the amount inserted, the number of stored coins, etc. from the automatic change machine. The change machine interface 315 transmits the change data to the automatic change machine.
通信インターフェース316は、通信ネットワーク40に接続される。通信インターフェース316は、通信ネットワーク40を介して接続される他の機器との間で通信プロトコルに従いデータ通信を行う。 The communication interface 316 is connected to the communication network 40. The communication interface 316 performs data communication with other devices connected via the communication network 40 in accordance with a communication protocol.
タッチパネル317は、会計機30の入力デバイスと表示デバイスとを兼ね備えた機器である。タッチパネル317は、表示された画像に対するタッチ位置を検出し、そのタッチ位置情報をプロセッサ311に出力する。 The touch panel 317 is a device that serves as both an input device and a display device for the accounting machine 30. The touch panel 317 detects the touch position on the displayed image and outputs the touch position information to the processor 311.
スキャナ318は、バーコードシンボル及びQRコード(登録商標)等のコードシンボルを読み取り、読み取ったデータをプロセッサ311に出力する読取装置の一例である。スキャナ318は、レーザ光の走査によりコードシンボルを読み取るタイプであってもよいし、撮像デバイスで撮像した画像からコードシンボルを読み取るタイプであってもよい。 Scanner 318 is an example of a reading device that reads code symbols such as barcode symbols and QR codes (registered trademark) and outputs the read data to processor 311. Scanner 318 may be a type that reads code symbols by scanning with laser light, or a type that reads code symbols from images captured by an imaging device.
プリンタ319は、レシート用紙に対して各種の文字列又は画像等を印刷することにより、レシートを発行する。この種のプリンタ319としては、例えばサーマルプリンタ又はドットインパクトプリンタ等を利用できる。プリンタ319は、会計機30の印刷デバイスとして機能する。 The printer 319 issues receipts by printing various characters or images on receipt paper. This type of printer 319 may be, for example, a thermal printer or a dot-matrix printer. The printer 319 functions as a printing device for the 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 if the recording medium is a magnetic card, and is an IC card reader if the recording medium is a contact IC card. In the case of a non-contact IC card or a recording medium that uses RFID (Radio Frequency Identification) such as a smartphone, an RFID reader is used as the reader 320.
かかる構成の会計機30は、メインメモリ312における揮発性のメモリ領域の一部を取引メモリ3121(図10を参照)の領域とする。会計機30は、この領域に、取引メモリ3121を形成する。 The accounting machine 30 configured as described above uses a portion of the volatile memory area in the main memory 312 as the transaction memory 3121 (see FIG. 10). The accounting machine 30 forms the 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と関連付けて作成される。 Figure 10 is a schematic diagram showing an example of the transaction memory 3121. The transaction memory 3121 stores data related to commercial transactions with members. The data related to commercial transactions includes sales data of purchased products, such as single item code, product name, unit price, purchase number, purchase amount, preferential discount group, group 1 discount amount, group 2 discount amount, etc. The purchase number is the number of purchases of the product identified by the single item code, and the purchase amount is the amount obtained by multiplying the unit price and the purchase number. The preferential discount group is the group to which the product identified by the single item code belongs. For example, if the purchased product belongs to group 1, "1" is set. If the purchased product belongs to group 2, "2" is set. If the purchased product does not belong to any group, "0" is set. 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 amount and the group 1 discount rate. If the purchased item does not belong to group 1, or if the purchased item belongs to group 1 but the member's group 1 rank is "0", a NULL value is set for the group 1 discount amount. The group 2 discount amount is a discount amount calculated based on the group 2 discount rate corresponding to the group 2 rank in group 2 table 223. The group 2 discount amount is the purchase amount multiplied by the group 2 discount rate. If the purchased item does not belong to group 2, or if the purchased item belongs to group 2 but the member's group 2 rank is "0", a NULL value is set for the group 2 discount amount. Transaction memory 3121 is created in association with a member ID.
プロセッサ311は、受付手段3111、第1取得手段3112、第2取得手段3113、第3取得手段3114、処理手段3115及び出力手段3116としての機能を有する。受付手段3111は、会員が買い上げる商品の入力を受け付ける機能である。 The processor 311 has the functions of a reception means 3111, a first acquisition means 3112, a second acquisition means 3113, a third acquisition means 3114, a processing means 3115, and an output means 3116. The reception means 3111 has a function of accepting input of products to be purchased by a member.
第1取得手段3112は、受付手段3111で入力を受け付けた商品に対応して記憶されている優待割引グループを第3記憶手段、つまりは紐づけテーブル221から取得する機能である。 The first acquisition means 3112 is a function that acquires the preferential discount group stored in correspondence with the product whose input has been accepted by the acceptance means 3111 from the third storage means, i.e., the linking table 221.
第2取得手段3113は、受付手段3111で入力を受け付けた商品を買い上げる会員IDに対応して記憶されている優待ランクを第2記憶手段、つまりは会員データベース131から取得する機能である。 The second acquisition means 3113 is a function that acquires the preferential rank stored in correspondence with the member ID who purchases the product whose input has been accepted by the acceptance means 3111 from the second storage means, i.e., the member database 131.
第3取得手段3114は、第1取得手段3112で取得した優待割引グループに対応して第1記憶手段、つまりはグループ1テーブル222及びグループ2テーブル223で記憶されている優待ランク別の割引率の中から、第2取得手段3113で取得した優待ランクの割引率を取得する機能である。 The third acquisition means 3114 is a function for acquiring the discount rate of the preferential rank acquired by the second acquisition means 3113 from among the discount rates by preferential 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 acquired by the first acquisition means 3112.
処理手段3115は、第3取得手段3114で取得した割引率により受付手段3111で入力を受け付けた商品の販売データを割引処理する機能である。 The processing means 3115 is a function that performs discount processing on the sales data of the product input received by the reception means 3111 using the discount rate obtained by the third acquisition means 3114.
出力手段3116は、処理手段3115で割引処理された商品の販売データとともに、当該商品に対応して記憶されている優待割引グループを特定する情報を出力する機能である。 The output means 3116 is a function that outputs information identifying the preferential discount group stored in association with the product, along with the sales data of the product that has been discounted by the processing means 3115.
図11及び図12は、会計機30におけるプロセッサ311が制御プログラムに従って実行する要部制御手順を示す流れ図である。図13及び図14は会員サーバ10におけるプロセッサ11が制御プログラムに従って実行する要部制御手順を示す流れ図である。 Figures 11 and 12 are flow charts showing the main control procedures executed by the processor 311 in the accounting machine 30 according to a control program. Figures 13 and 14 are flow charts showing the main control procedures executed by the processor 11 in the member server 10 according to a control program.
以下、これらの流れ図を用いて、商品販売データ処理システムSの主要な動作について説明する。なお、以下に説明する動作は一例である。同様な結果が得られるのであれば、その手順は特に限定されるものではない。 The main operations of the product sales data processing system S will be explained below using these flow charts. Note that the operations explained below are just an example. As long as similar results are obtained, the procedure is not particularly limited.
はじめに、店舗にある会計機30を立ち上げると、プロセッサ311は、図11の流れ図に示す手順の情報処理を開始する。
なお、本実施形態では、会計機30は、第1取得手段3112の機能により紐づけテーブル221を店舗サーバ20から予め取得して、メインメモリ312における揮発性のメモリ領域の一部に紐づけテーブル221を記憶しているものとする。また会計機30は、グループ1テーブル222及びグループ2テーブル223を店舗サーバ20から予め取得して、メインメモリ312における揮発性のメモリ領域の一部にグループ1テーブル222及びグループ2テーブル223を記憶しているものとする。
First, when the payment machine 30 in the store is started up, the processor 311 starts information processing according to the procedure shown in the flowchart of FIG.
In this embodiment, the payment device 30 acquires the linking table 221 in advance from the store server 20 using the function of the first acquisition means 3112, and stores the linking table 221 in part of the volatile memory area in the main memory 312. The payment device 30 also acquires the group 1 table 222 and the group 2 table 223 in advance from the store server 20, and stores the group 1 table 222 and the group 2 table 223 in part of the volatile memory area in the main memory 312.
購買者である会員は、買物を終えると、会計のために会計場に行く。会員は、自身の会員IDが記録された会員カードを所持している。プロセッサ311は、ACT1としてスキャナ318又はリーダ320で会員カードのデータが読み取られるのを待ち受ける。会員カードのデータが読み取られた場合、プロセッサ311は、ACT1においてYESと判定し、ACT2へと進む。 When a purchaser, who is a member, finishes shopping, he or she goes to the checkout area to pay. The member has a member card on which his or her member ID is recorded. In ACT1, the processor 311 waits for the data on the member card to be read by the scanner 318 or the reader 320. If the data on the member card has been read, the processor 311 judges YES in ACT1 and proceeds to ACT2.
プロセッサ311は、ACT2として会員コマンドを会員サーバ10宛に送信するように通信インターフェース316を制御する。この制御により、通信インターフェース316は会員コマンドを送信する。会員コマンドには、スキャナ318又はリーダ320で読み取られた会員カードの会員IDが含まれる。 The processor 311 controls the communication interface 316 to send a membership command to the member server 10 in ACT 2. This control causes the communication interface 316 to send the membership command. The membership command includes the member ID of the member card read by the scanner 318 or the reader 320.
会員コマンドを受信した会員サーバ10のプロセッサ11は、図13の流れ図に示す手順のコマンド受信処理を開始する。 When the processor 11 of the member server 10 receives the member command, it starts the command reception process according to the procedure shown in the flow chart of FIG. 13.
プロセッサ11は、ACT31として会員コマンドから会員IDを検出する。そしてプロセッサ11は、ACT32としてその会員IDで識別される会員の認証を行う。具体的にはプロセッサ11は、その会員IDを含む会員データレコード1311が会員データベース131に存在するか否かを確認する。 In ACT 31, the processor 11 detects the member ID from the member command. Then, in ACT 32, the processor 11 authenticates the member identified by the member ID. Specifically, the processor 11 checks whether a member data record 1311 including the member ID exists in the 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 judges NO in ACT 32 and proceeds to ACT 33. In ACT 33, the processor 11 controls the communication interface 14 to send a denial response command to the accounting machine 30. This control causes the communication interface 14 to send the denial response command. The denial response command is received by the accounting machine 30 via the communication network 40.
該当する会員データレコード1311が会員データベース131に存在する場合、プロセッサ11は、ACT32においてYESと判定し、ACT34へと進む。プロセッサ11は、ACT34として該当する会員データレコード1311に記憶されている優待ランクを取得する。 If the corresponding member data record 1311 exists in the member database 131, the processor 11 judges YES in ACT 32 and proceeds to ACT 34. The processor 11 obtains the preferential rank stored in the corresponding member data record 1311 in ACT 34.
プロセッサ11は、ACT35として会計機30に承認応答コマンドを送信するように通信インターフェース14を制御する。この制御により、通信インターフェース14から承認応答コマンドが送信される。承認応答コマンドは、通信ネットワーク40を介して会計機30で受信される。承認応答コマンドには、会員IDと、優待ランクとが含まれる。 The processor 11 controls the communication interface 14 to send an approval response command to the accounting machine 30 as ACT 35. This control causes the approval response command to be sent from the communication interface 14. The approval response command is received by the accounting machine 30 via the communication 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 receives the member command sends 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 has finished sending either response command, it ends the member command reception process.
図11の説明に戻る。
ACT2において会員コマンドの送信を制御した会計機30のプロセッサ311は、ACT3として会員サーバ10からの承認応答コマンドを待ち受ける。会員サーバ10から否認応答コマンドを受信した場合、プロセッサ311は、ACT3においてNOと判定し、ACT1に戻る。
Returning to the explanation of FIG.
In ACT 3, the processor 311 of the payment device 30 that controlled the transmission of the member command in ACT 2 waits for an approval response command from the member server 10. If a rejection response command is received from the member server 10, the processor 311 judges NO in ACT 3 and returns to ACT 1.
会員サーバ10から承認応答コマンドを受信した場合、プロセッサ311は、ACT3においてYESと判定し、ACT4へと進む。プロセッサ311は、ACT4として第2取得手段3113の機能により承認応答コマンドに含まれている優待ランクをメインメモリ312に記憶する。またプロセッサ311は、承認応答コマンドに含まれている会員IDをメインメモリ312に記憶する。 If an approval response command is received from the member server 10, the processor 311 determines YES in ACT 3 and proceeds to ACT 4. In ACT 4, the processor 311 uses the function of the second acquisition means 3113 to store the preferential rank included in the approval response command in the main memory 312. The processor 311 also stores the member ID included in the approval response command in the main memory 312.
プロセッサ211は、ACT5としてタッチパネル317に購買登録画面を表示させる。購買登録画面には、購買登録された商品の商品名及び購買金額と合計金額とを表示するための領域が形成される。 In ACT 5, the processor 211 causes the touch panel 317 to display a purchase registration screen. The purchase registration screen has an area for displaying the product name, purchase price, and total price of the product that has been registered for purchase.
プロセッサ311は、ACT6として受付手段3111の機能により購買登録が行われたか否かを確認する。具体的には、スキャナ318によって購買商品のバーコードが読み取られるか、タッチパネル317からの信号によりバーコード無し商品のボタンがタッチされたことを検知すると、プロセッサ311は、購買商品が登録されたと認識する。 In ACT 6, the processor 311 checks whether a purchase registration has been performed using the function of the reception means 3111. Specifically, when the barcode of the purchased item is read by the scanner 318, or when a signal from the touch panel 317 detects that a button for an item without a barcode has been touched, the processor 311 recognizes that the purchased item has been registered.
購買登録が行われた場合、プロセッサ311は、ACT6においてYESと判定し、図12のACT8へと進む。 If a purchase registration has been made, the processor 311 determines YES in ACT 6 and proceeds to ACT 8 in FIG. 12.
プロセッサ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 item code in ACT 8. The processor 311 queries the store server 20 for the single item data record 2311 using the single item code in ACT 9. In response to this query, the store server 20 extracts the single item data record 2311 in which the queried single item code is stored from the single item master file 231, and transmits the single item data record 2311 to the accounting machine 30. Then, the processor 311 waits to receive the single item data record 2311 in ACT 10. If the single item data record 2311 is received, the processor 311 determines YES in ACT 10 and proceeds to ACT 11.
プロセッサ311は、ACT11として単品データレコード2311に記憶された単品コードと同一行に記述された分類コードが紐づけテーブル221に存在するか否かを確認する。分類コードが紐づけテーブル221に存在しない場合、プロセッサ311は、ACT11においてNOと判定し、ACT17へと進む。 In ACT 11, the processor 311 checks whether a classification code written in the same row as the single item code stored in the single item data record 2311 exists in the linking table 221. If the classification code does not exist in the linking table 221, the processor 311 judges NO in ACT 11 and proceeds to ACT 17.
プロセッサ311は、ACT17として取引メモリ3121に販売データを書き込む。この場合、分類コードが紐づけテーブル221に存在しないため、その購買商品は優待割引グループに属さない商品である。したがって、取引メモリ3121の優待割引グループには“0”がセットされる。なお、グループ1割引額及びグループ2割引額にはNULL値がセットされる。 The processor 311 writes the sales data to the transaction memory 3121 in ACT 17. In this case, since the classification code does not exist in the linking table 221, the purchased item is a product that does not belong to a preferential discount group. Therefore, the preferential discount group in the transaction memory 3121 is set to "0". In addition, the group 1 discount amount and group 2 discount amount are set to NULL values.
プロセッサ311は、ACT18として購買登録画面を更新する。すなわちプロセッサ311は、購買登録された商品の商品名、単価、点数及び購買金額が追加され、合計金額に購買金額が加算されるように、購買登録画面を更新する。そしてプロセッサ311は、図11のACT6に戻る。 The processor 311 updates the purchase registration screen in ACT 18. That is, the processor 311 updates the purchase registration screen so that the product name, unit price, number of items, and purchase amount of the product registered for purchase are added, and the purchase amount is added to the total amount. The processor 311 then returns to ACT 6 of FIG. 11.
分類コードが紐づけテーブル221に存在する場合、プロセッサ311は、ACT11においてYESと判定し、ACT12へと進む。プロセッサ311は、ACT12としてその分類コードに対応した優待割引グループがグループ1であるか否かを確認する。 If the classification code exists in the linking table 221, the processor 311 determines YES in ACT 11 and proceeds to ACT 12. In ACT 12, the processor 311 checks whether the preferential discount group corresponding to the classification code is Group 1.
優待割引グループがグループ1である場合、プロセッサ311は、ACT12においてYESと判定し、ACT14へと進む。プロセッサ311は、ACT14としてメインメモリ312に記憶された優待ランクのグループ1ランクがランク“1”からランク“p”までのいずれかが設定されているか否かを確認する。 If the preferential discount group is group 1, the processor 311 judges YES in ACT 12 and proceeds to ACT 14. In ACT 14, the processor 311 checks whether the group 1 rank of the preferential rank stored in the main memory 312 is set to any of 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 ranks "1" to "p" is not set, i.e., if the group 1 rank is rank "0", the processor 311 judges NO in ACT 14 and proceeds to ACT 17. The processor 311 writes the sales data to the 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". 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 ACT 18, and returns to ACT 6 of FIG. 11.
ランク“1”からランク“p”までのいずれかが設定されている場合、プロセッサ311は、ACT14においてYESと判定し、ACT15へと進む。プロセッサ311は、ACT15として第3取得手段3114の機能によりグループ1テーブル222を検索してそのグループ1ランクに対応したグループ1割引率を取得する。 If any of ranks "1" to "p" is set, the processor 311 judges YES in ACT 14 and proceeds to ACT 15. In ACT 15, the processor 311 searches the group 1 table 222 using the function of the third acquisition means 3114 to acquire the group 1 discount rate corresponding to the group 1 rank.
プロセッサ311は、ACT16として処理手段3115の機能によりそのグループ1割引率を基にグループ1割引額を算出する。 In ACT 16, the processor 311 calculates the group 1 discount amount based on the group 1 discount rate using the function of the processing means 3115.
プロセッサ311は、ACT17して取引メモリ3121に販売データを書き込む。この場合、優待割引グループがグループ1であるため、取引メモリ3121の優待割引グループには“1”がセットされる。グループ1割引額にはACT16の処理で算出されたグループ1割引額が書き込まれる。なお、グループ2割引額にはNULL値がセットされる。 The processor 311 writes the sales data to the 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 to the group 1 discount amount. Note that a NULL value is set to the group 2 discount amount.
プロセッサ311は、ACT18として購買登録画面を更新する。すなわちプロセッサ11は、購買登録された商品の商品名、単価、点数、購買金額及びグループ1割引額が追加され、合計金額に、購買金額からグループ1割引額を減算した金額が加算されるように、購買登録画面を更新する。そしてプロセッサ311は、図11のACT6に戻る。 The processor 311 updates the purchase registration screen in ACT 18. That is, the processor 11 updates the purchase registration screen so that the product name, unit price, number of items, purchase amount, and group 1 discount amount of the product registered for purchase are added, and the total amount is added to the amount obtained by subtracting the group 1 discount amount from the purchase amount. The processor 311 then returns to ACT 6 of FIG. 11.
優待割引グループがグループ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 judges NO in ACT 12 and proceeds to ACT 13. In ACT 13, the processor 311 checks whether any of ranks "1" to "q" is set as the group 2 rank.
ランク“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 ranks "1" to "q" has not been set, i.e., if the group 2 rank is rank "0", the processor 311 judges NO in ACT 13 and proceeds to ACT 17. The processor 311 writes the sales data to the transaction memory 3121 in ACT 17. In this case, since the preferential discount group is group 2, the preferential discount group in the transaction memory 3121 is set to "2". 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 ACT 18, and returns to ACT 6 of FIG. 11.
ランク“1”からランク“q”までのいずれかが設定されている場合、プロセッサ311は、ACT13においてYESと判定し、ACT19へと進む。プロセッサ311は、ACT19として第3取得手段3114の機能によりグループ2テーブル223を検索してそのグループ2ランクに対応したグループ2割引率を取得する。プロセッサ311は、ACT20として処理手段3115の機能によりそのグループ2割引率を基にグループ2割引額を算出する。 If any of ranks "1" to "q" is set, the processor 311 judges YES in ACT 13 and proceeds to ACT 19. In ACT 19, the processor 311 searches the group 2 table 223 using the function of the third acquisition means 3114 to acquire the group 2 discount rate corresponding to that group 2 rank. In ACT 20, the processor 311 calculates the group 2 discount amount based on the group 2 discount rate using the function of the processing means 3115.
プロセッサ311は、ACT17として取引メモリ3121に販売データを書き込む。この場合、優待割引グループがグループ2であるため、取引メモリ3121の優待割引グループには“2”がセットされる。グループ2割引額にはACT21の処理で算出されたグループ2割引額が書き込まれる。なお、グループ1割引額にはNULL値がセットされる。 In ACT 17, the processor 311 writes the sales data to the transaction memory 3121. In this case, since the preferential discount group is group 2, the preferential discount group in the transaction memory 3121 is set to "2." The group 2 discount amount calculated in the processing of ACT 21 is written to the group 2 discount amount. Note that a NULL value is set to the group 1 discount amount.
プロセッサ311は、ACT18として購買登録画面を更新する。すなわちプロセッサ11は、購買登録された商品の商品名、単価、点数、購買金額及びグループ2割引額が追加され、合計金額に、購買金額からグループ2割引額を減算した金額が加算されるように、購買登録画面を更新する。そしてプロセッサ311は、図11のACT6に戻る。 The processor 311 updates the purchase registration screen in ACT 18. That is, the processor 11 updates the purchase registration screen so that the product name, unit price, number of items, purchase amount, and group 2 discount amount of the product registered for purchase are added, and the total amount is added to the amount obtained by subtracting the group 2 discount amount from the purchase amount. The processor 311 then returns to ACT 6 of FIG. 11.
購買登録が行われていない場合、プロセッサ311は、ACT6においてNOと判定し、ACT7へと進む。プロセッサ311は、ACT7として購買登録を完了したか否かを確認する。具体的には、タッチパネル317からの信号により小計ボタンがタッチされたことを検知すると、プロセッサ311は、購買登録が完了されたと認識する。購買登録を完了していない場合、プロセッサ311は、ACT7においてNOと判定し、ACT6に戻る。すなわちプロセッサ311は、ACT6乃至ACT7の待ち受け状態に戻る。 If purchase registration has not been completed, processor 311 judges NO in ACT 6 and proceeds to ACT 7. In ACT 7, processor 311 checks whether purchase registration has been completed. Specifically, when processor 311 detects that the subtotal button has been touched by a signal from touch panel 317, processor 311 recognizes that purchase registration has been completed. If purchase registration has not been completed, processor 311 judges NO in ACT 7 and returns to ACT 6. That is, processor 311 returns to the standby state of ACT 6 to ACT 7.
購買登録を完了した場合、プロセッサ311は、ACT7においてYESと判定し、ACT21へと進む。プロセッサ311は、ACT21として取引メモリ3121を基にグループ1累計購買金額及びグループ2累計購買金額を算出する。グループ1累計購買金額は、取引メモリ3121の優待割引グループに“1”がセットされた購買商品それぞれの購買金額を合計した金額である。グループ2累計購買金額は、取引メモリ3121の優待割引グループに“2”がセットされた購買商品それぞれの購買金額を合計した金額である。そしてプロセッサ311は、グループ1累計購買金額及びグループ2累計購買金額をメインメモリ312に記憶する。 If the purchase registration is completed, the processor 311 judges YES in ACT 7 and proceeds to ACT 21. In ACT 21, the processor 311 calculates the group 1 cumulative purchase amount and the group 2 cumulative purchase amount based on the transaction memory 3121. The group 1 cumulative purchase amount is the total purchase amount of each purchased item whose preferential discount group in the transaction memory 3121 is set to "1". The group 2 cumulative purchase amount is the total purchase amount of each purchased item whose preferential discount group in the transaction memory 3121 is set to "2". Then, the processor 311 stores the group 1 cumulative purchase amount and the group 2 cumulative purchase amount in the main memory 312.
プロセッサ311は、ACT22としてタッチパネル317に決済画面を表示させる。決済画面には、例えば購買登録された商品の合計金額が表示される。 At ACT 22, the processor 311 causes the touch panel 317 to display a payment screen. The payment screen displays, for example, the total price of the products registered for purchase.
プロセッサ311は、ACT23として決済処理を実行する。決済処理については、周知の処理であるため詳細な説明は省略する。 The processor 311 executes the payment process as ACT 23. The payment process is a well-known process, so a detailed explanation is omitted.
プロセッサ311は、ACT24として出力手段3116の機能によりプリンタ319を制御してレシート100(図15を参照)を発行させる。 As ACT24, the processor 311 controls the printer 319 using the function of the output means 3116 to print a receipt 100 (see Figure 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 a receipt 100. As shown in FIG. 15, the receipt 100 prints the itemized information and accounting information of the purchased item. If there is a purchased item to which a preferential discount has been applied, the itemized information further displays an image of a mark M indicating that the purchased item belongs to group 1 or group 2, a group 1 discount amount or group 2 discount amount, a group 1 discount rate or group 2 discount rate, and text data explaining the mark M. The mark M is a figure for identifying the preferential discount group to which the purchased item to which the preferential discount has been applied belongs. The mark M is information for identifying the 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, since the product BBB is a purchased item belonging to group 1, a circle mark is displayed as the mark M. In addition, the group 1 discount amount calculated based on the group 1 discount rate of 4 percent is displayed. Since the product EEE is a purchased item belonging to group 2, a diamond mark is displayed as the mark M. In addition, the group 2 discount amount calculated based on the group 2 discount rate of 3 percent is displayed. Since product KKK is a purchased product to which no preferential discount is applied, the mark M, discount amount, and discount rate are not displayed. Note that the content and image of the text data displayed in FIG. 15 are examples.
図11の説明に戻る。
プロセッサ311は、ACT25として更新コマンドを会員サーバ10宛に送信するように通信インターフェース316を制御する。この制御により、通信インターフェース316は更新コマンドを送信する。更新コマンドには、会員IDと、メインメモリ312に記憶されたグループ1累計購買金額及びグループ2累計購買金額が含まれる。
Returning to the explanation of FIG.
The processor 311 controls the communication interface 316 to send an update command to the member server 10 in ACT 25. This control causes the communication interface 316 to send the 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の流れ図に示す手順のコマンド受信処理を開始する。 When the processor 11 of the member server 10 receives the update command, it starts the command reception process shown in the flow chart of FIG. 14.
プロセッサ11は、ACT41として更新コマンドから会員IDを検出する。そしてプロセッサ11は、ACT42としてその会員IDに対応した会員データレコード1311を抽出する。 In ACT 41, the processor 11 detects the member ID from the update command. Then, in ACT 42, the processor 11 extracts the member data record 1311 that corresponds to the member ID.
プロセッサ11は、ACT43として会員データレコード1311を更新する。具体的には、会員データレコード1311のグループ1累計購買金額に、更新コマンドに含まれているグループ1累計購買金額を加算して、新たに算出されたグループ1累計購買金額に更新する。また会員データレコード1311のグループ2累計購買金額に、更新コマンドに含まれているグループ2累計購買金額を加算して、新たに算出されたグループ2累計購買金額に更新する。以上で、プロセッサ11は、更新コマンド受信処理を終了する。 In ACT 43, the processor 11 updates the member data record 1311. Specifically, the processor 11 adds the group 1 cumulative purchase amount included in the update command to the group 1 cumulative purchase amount in the member data record 1311, updating it to the newly calculated group 1 cumulative purchase amount. The processor 11 also adds the group 2 cumulative purchase amount included in the update command to the group 2 cumulative purchase amount in the member data record 1311, updating it to the newly calculated group 2 cumulative purchase amount. 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 such a product sales data processing system S, first, when the member ID of the member card is read by the scanner 318 or the reader 320, the member's preferential rank is obtained. When a purchase registration is performed, if a classification code corresponding to the single item code of the purchased product exists in the linking table 221, it is confirmed whether the preferential discount group corresponding to the classification code is group 1 or group 2. If it is group 1 and any of ranks "1" to "p" is set as the group 1 rank, the group 1 discount rate corresponding to that group 1 rank is obtained from the group 1 table 222. 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 of ranks "1" to "q" is set as the group 2 rank, the group 2 discount rate corresponding to that group 2 rank is obtained from the group 2 table 223. Then, the group 2 discount amount is calculated based on the group 2 discount rate. Therefore, it is possible to set preferential ranks for multiple preferential groups for each member and apply preferential discounts according to the preferential ranks.
また、優待割引が適用された購買商品がある場合、レシート100には、マークMと、割引額と、割引率と、マークMを説明するテキストデータとがさらに表示される。したがって、会員は割引処理された購買商品の販売データとともに、マークMにより当該購買商品が属する優待割引グループを確認することができる。 In addition, if a purchase includes an item to which a preferential discount has been applied, the receipt 100 further displays mark M, the discount amount, the discount rate, and text data explaining mark M. Therefore, the member can check the sales data of the discounted purchased item as well as the preferential discount group to which the purchased item belongs by using mark M.
以上、商品販売データ処理システム、商品販売データ処理装置及びその制御プログラム並びに商品販売データ処理方法の実施形態について説明したが、かかる実施形態はこれに限定されるものではない。 The above describes embodiments of the product sales data processing system, the product sales data processing device and its control program, and the product sales data processing method, but 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 groups may be of two or more types and are not limited to group 1 and group 2.
前記実施形態では、優待ランクは、優待ランク“12”のように、2桁の数値として、十の位の数値がグループ1ランクを示し、一の位の数値がグループ2ランクを示すことを例示した。優待ランクは、2桁の数値に限定されない。例えばグループ1ランクとして優待ランク“1”とグループ2ランクとして優待ランク“2”とのように、優待割引グループ毎に独立してもよい。 In the above embodiment, the preferential rank is exemplified as a two-digit number, such as preferential rank "12," where the tens digit indicates group 1 rank and the ones digit indicates group 2 rank. The preferential rank is not limited to a two-digit number. For example, the preferential rank may be independent for each preferential discount group, such as preferential rank "1" as group 1 rank and preferential rank "2" as group 2 rank.
前記実施形態では、優待ランクは、グループ1累計購買金額とグループ2累計購買金額とに基づいて決定されるランクであることを例示した。例えば優待ランクは、店舗で購買した購買商品全ての累計購買金額に対する、グループ1累計購買金額の割合及びグループ2累計購買金額の割合それぞれに基づいて決定されてもよい。 In the above embodiment, the preferential rank is exemplified as a rank determined based on the cumulative purchase amount of group 1 and the cumulative purchase amount of group 2. For example, the preferential rank may be determined based on the ratio of the cumulative purchase amount of group 1 and the ratio of the cumulative purchase amount of group 2 to the cumulative purchase amount of all purchased products at the store.
前記実施形態では、分類コードは、商品が属する分類を表す識別コードであることを例示した。例えば分類コードの下位コードとして中分類コード、小分類コード等を設定してもよい。例えば衣料品の場合、男性用又は女性用の衣料品に細分化したものを中分類コードとして設定し、男性用の衣料品をさらに男性用上着等に細分化したものを小分類コードとして設定してもよい。この場合、紐づけテーブル221は、中分類コード又は小分類コードに対応して優待割引グループを記述してもよい。 In the above embodiment, the classification code is an identification code that indicates the classification to which the product belongs. For example, a medium classification code, a small classification code, etc. may be set as a sub-code of the classification code. For example, in the case of clothing, a classification code may be set that is subdivided into men's or women's clothing, and a classification code may be set that is further subdivided into men's jackets, etc. In this case, the linking table 221 may describe a preferential discount group corresponding to the medium classification code or 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 described that the accounting machine 30 acquires the linking table 221, the group 1 table 222, and the group 2 table 223 in advance from the store server 20. 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. In addition, for example, the accounting machine 30 may acquire the single item master file 231 in advance from the store server 20.
前記実施形態では、店舗サーバ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 a portion of the volatile memory area in the main memory 22 of the store server 20. For example, the linking table 221, the group 1 table 222, and the group 2 table 223 may be formed in a portion of the volatile memory area in the main memory 312 of the accounting machine 30.
前記実施形態では、レシート100が発行されることを説明した。例えば電子レシートサービスに登録している会員は、その会員の所有するスマートフォン等のモバイル端末でレシートの画像データを取得できるように設定してもよい。 In the above embodiment, a receipt 100 is issued. For example, a member who is registered with an electronic receipt service may set up a mobile device such as a smartphone owned by the member so that image data of the receipt can be obtained.
前記実施形態では、特典は優待割引であることを例示した。例えば特典は、サービスポイントの倍率アップ、クーポン券等でもよい。 In the above embodiment, the benefit is exemplified as a preferential discount. For example, the benefit may be an increased service point multiplier, a coupon, etc.
この他、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態及びその変形は、発明の範囲に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。
なお、以下に本願の出願当初の特許請求の範囲の記載を付記する。
[C1]
2種類以上の優待割引グループにそれぞれ対応して、優待ランク別の割引率を記憶する第1記憶手段と、
各会員を識別する会員識別コードにそれぞれ対応して、優待割引グループ毎の優待ランクを記憶する第2記憶手段と、
優待割引が適用される各商品に対応して、いずれかの優待割引グループを記憶する第3記憶手段と、
前記会員が買い上げる商品の入力を受け付ける受付手段と、
前記受付手段で入力を受け付けた商品に対応して記憶されている優待割引グループを前記第3記憶手段から取得する第1取得手段と、
前記受付手段で入力を受け付けた商品を買い上げる会員の会員識別コードに対応して記憶されている優待ランクを前記第2記憶手段から取得する第2取得手段と、
前記第1取得手段で取得した前記優待割引グループに対応して前記第1記憶手段で記憶されている優待ランク別の割引率の中から、前記第2取得手段で取得した前記優待ランクの割引率を取得する第3取得手段と、
前記第3取得手段で取得した前記割引率により前記受付手段で入力を受け付けた商品の販売データを割引処理する処理手段と、
を具備する商品販売データ処理システム。
[C2]
前記処理手段で割引処理された前記商品の販売データとともに、当該商品に対応して記憶されている優待割引グループを特定する情報を出力する出力手段、
をさらに具備する[C1]記載の前記商品販売データ処理システム。
[C3]
2種類以上の優待割引グループにそれぞれ対応して、優待ランク別の割引率を記憶する第1記憶手段と、各会員を識別する会員識別コードにそれぞれ対応して、優待割引グループ毎の優待ランクを記憶する第2記憶手段と、優待割引が適用される各商品に対応して、いずれかの優待割引グループを記憶する第3記憶手段とを備えた商品販売データ処理装置であって、
前記会員が買い上げる商品の入力を受け付ける受付手段と、
前記受付手段で入力を受け付けた商品に対応して記憶されている優待割引グループを前記第3記憶手段から取得する第1取得手段と、
前記受付手段で入力を受け付けた商品を買い上げる会員の会員識別コードに対応して記憶されている優待ランクを前記第2記憶手段から取得する第2取得手段と、
前記第1取得手段で取得した前記優待割引グループに対応して前記第1記憶手段で記憶されている優待ランク別の割引率の中から、前記第2取得手段で取得した前記優待ランクの割引率を取得する第3取得手段と、
前記第3取得手段で取得した前記割引率により前記受付手段で入力を受け付けた商品の販売データを割引処理する処理手段と、
を具備する商品販売データ処理装置。
[C4]
2種類以上の優待割引グループにそれぞれ対応して、優待ランク別の割引率を記憶する第1記憶部と、各会員を識別する会員識別コードにそれぞれ対応して、優待割引グループ毎の優待ランクを記憶する第2記憶部と、優待割引が適用される各商品に対応して、いずれかの優待割引グループを記憶する第3記憶部とを備えた商品販売データ処理装置が、
前記会員が買い上げる商品の入力を受け付け、
入力を受け付けた前記商品に対応して記憶されている優待割引グループを前記第3記憶部から取得し、
入力を受け付けた前記商品を買い上げる会員の会員識別コードに対応して記憶されている優待ランクを前記第2記憶部から取得し、
取得した前記優待割引グループに対応して前記第1記憶部で記憶されている優待ランク別の割引率の中から、取得した前記優待ランクの割引率を取得し、
取得した前記割引率により入力を受け付けた前記商品の販売データを割引処理する、商品販売データ処理方法。
[C5]
商品販売データ処理装置のコンピュータを、
2種類以上の優待割引グループにそれぞれ対応して、優待ランク別の割引率を記憶する第1記憶手段、
各会員を識別する会員識別コードにそれぞれ対応して、優待割引グループ毎の優待ランクを記憶する第2記憶手段、
優待割引が適用される各商品に対応して、いずれかの優待割引グループを記憶する第3記憶手段、
前記会員が買い上げる商品の入力を受け付ける受付手段、
前記受付手段で入力を受け付けた商品に対応して記憶されている優待割引グループを前記第3記憶手段から取得する第1取得手段、
前記受付手段で入力を受け付けた商品を買い上げる会員の会員識別コードに対応して記憶されている優待ランクを前記第2記憶手段から取得する第2取得手段、
前記第1取得手段で取得した前記優待割引グループに対応して前記第1記憶手段で記憶されている優待ランク別の割引率の中から、前記第2取得手段で取得した前記優待ランクの割引率を取得する第3取得手段、及び、
前記第3取得手段で取得した前記割引率により前記受付手段で入力を受け付けた商品の販売データを割引処理する処理手段、
として機能させるための制御プログラム。
Although several other embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included within the scope of the invention and the scope of the invention and its equivalents described in the claims.
In addition, the claims as originally filed of this application are set forth below.
[C1]
a first storage means for storing discount rates by preferential rank corresponding to each of two or more preferential discount groups;
A second storage means for storing a preferential rank for each preferential discount group in correspondence with a member identification code for identifying each member;
a third storage means for storing any one of the preferential discount groups corresponding to each product to which the preferential discount is applied;
A receiving means for receiving an input of a product to be purchased by the member;
a first acquisition means for acquiring from the third storage means a special discount group stored in association with the product inputted by the reception means;
a second acquisition means for acquiring from the second storage means a preferential rank stored in correspondence with a member identification code of a member who purchases the product whose input has been accepted by the acceptance means;
a third acquisition means for acquiring a discount rate for the preferential rank acquired by the second acquisition means from discount rates for the preferential ranks stored in the first storage means in correspondence with the preferential discount group acquired by the first acquisition means;
a processing means for performing discount processing on the sales data of the product inputted and accepted by the accepting means, based on the discount rate acquired by the third acquiring means;
A product sales data processing system comprising:
[C2]
an output means for outputting information specifying a special discount group stored in association with the product together with the sales data of the product discounted by the processing means;
The product sales data processing system according to [C1] further comprises:
[C3]
A product sales data processing device comprising: a first storage means for storing discount rates by preferential ranks corresponding to two or more types of preferential discount groups; a second storage means for storing preferential ranks for each preferential discount group corresponding to a member identification code that identifies each member; and a third storage means for storing one of the preferential discount groups corresponding to each product to which a preferential discount is applied,
A receiving means for receiving an input of a product to be purchased by the member;
a first acquisition means for acquiring from the third storage means a special discount group stored in association with the product inputted by the reception means;
a second acquisition means for acquiring from the second storage means a preferential rank stored in correspondence with a member identification code of a member who purchases the product whose input has been accepted by the acceptance means;
a third acquisition means for acquiring a discount rate for the preferential rank acquired by the second acquisition means from discount rates for the preferential ranks stored in the first storage means in correspondence with the preferential discount group acquired by the first acquisition means;
a processing means for performing discount processing on the sales data of the product inputted and accepted by the accepting means, based on the discount rate acquired by the third acquiring means;
A product sales data processing device comprising:
[C4]
A product sales data processing device includes a first memory section for storing discount rates by preferential rank corresponding to two or more types of preferential discount groups, a second memory section for storing preferential ranks for each preferential discount group corresponding to a member identification code that identifies each member, and a third memory section for storing any one of the preferential discount groups corresponding to each product to which a preferential discount is applied,
Accepting input of the product to be purchased by said member;
Obtaining from the third storage unit a special discount group stored in association with the product whose input has been accepted;
obtain from the second storage unit a preferential rank stored in correspondence with a member identification code of a member who purchases the product whose input has been accepted;
Obtaining a discount rate for the obtained preferential rank from discount rates for each preferential rank stored in the first storage unit corresponding to the obtained preferential discount group;
The merchandise sales data processing method includes discount processing the merchandise sales data inputted and accepted based on the obtained discount rate.
[C5]
A computer of a product sales data processing device,
a first storage means for storing discount rates by preferential rank corresponding to each of two or more preferential discount groups;
a second storage means for storing a preferential rank for each preferential discount group in correspondence with a member identification code for identifying each member;
a third storage means for storing any one of the preferential discount groups corresponding to each product to which the preferential discount is applied;
A receiving means for receiving input of products to be purchased by said member;
a first acquisition means for acquiring from said third storage means a special discount group stored in correspondence with the product inputted and accepted by said acceptance means;
a second acquisition means for acquiring from the second storage means a preferential rank stored in correspondence with a member identification code of a member who purchases the product whose input has been accepted by the acceptance means;
a third acquisition means for acquiring a discount rate for the preferential rank acquired by the second acquisition means from discount rates for the preferential ranks stored in the first storage means in correspondence with the preferential discount group acquired by the first acquisition means; and
a processing means for performing discount processing on the sales data of the product inputted and accepted by the accepting means, based on the discount rate acquired by the third acquiring means;
A control program that functions as a
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 mass 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...product 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記憶手段と、
優待割引が適用される各商品に対応して、いずれかの優待割引グループを記憶する第3記憶手段と、
前記会員が買い上げる商品の入力を受け付ける受付手段と、
前記受付手段で入力を受け付けた商品に対応して記憶されている優待割引グループを前記第3記憶手段から取得する第1取得手段と、
前記受付手段で入力を受け付けた商品を買い上げる会員の会員識別コードに対応して記憶されている優待ランクを前記第2記憶手段から取得する第2取得手段と、
前記第1取得手段で取得した前記優待割引グループに対応して前記第1記憶手段で記憶されている優待ランク別の割引率の中から、前記第2取得手段で取得した前記優待ランクの割引率を取得する第3取得手段と、
前記第3取得手段で取得した前記割引率により前記受付手段で入力を受け付けた商品の販売データを割引処理する処理手段と、
を具備する商品販売データ処理システム。 a first storage means for storing discount rates by preferential rank corresponding to each of two or more preferential discount groups;
A second storage means for storing a preferential rank for each preferential discount group in correspondence with a member identification code for identifying each member;
a third storage means for storing any one of the preferential discount groups corresponding to each product to which the preferential discount is applied;
A receiving means for receiving an input of a product to be purchased by the member;
a first acquisition means for acquiring from the third storage means a special discount group stored in association with the product inputted by the reception means;
a second acquisition means for acquiring from the second storage means a preferential rank stored in correspondence with a member identification code of a member who purchases the product whose input has been accepted by the acceptance means;
a third acquisition means for acquiring a discount rate for the preferential rank acquired by the second acquisition means from discount rates for the preferential ranks stored in the first storage means in correspondence with the preferential discount group acquired by the first acquisition means;
a processing means for performing discount processing on the sales data of the product inputted and accepted by the accepting means, based on the discount rate acquired by the third acquiring means;
A product sales data processing system comprising:
をさらに具備する請求項1記載の前記商品販売データ処理システム。 an output means for outputting information specifying a special discount group stored in association with the product together with the sales data of the product discounted by the processing means;
2. The product sales data processing system according to claim 1, further comprising:
前記会員が買い上げる商品の入力を受け付ける受付手段と、
前記受付手段で入力を受け付けた商品に対応して記憶されている優待割引グループを前記第3記憶手段から取得する第1取得手段と、
前記受付手段で入力を受け付けた商品を買い上げる会員の会員識別コードに対応して記憶されている優待ランクを前記サーバから取得する第2取得手段と、
前記第1取得手段で取得した前記優待割引グループに対応して前記第1記憶手段で記憶されている優待ランク別の割引率の中から、前記第2取得手段で取得した前記優待ランクの割引率を取得する第3取得手段と、
前記第3取得手段で取得した前記割引率により前記受付手段で入力を受け付けた商品の販売データを割引処理する処理手段と、
を具備する商品販売データ処理装置。 A product sales data processing device comprising: a communication means for performing data communication with a server having a second storage means for storing a preferential rank for each preferential discount group, each corresponding to a member identification code that identifies each member; a first storage means for storing a discount rate for each preferential rank , each corresponding to two or more preferential discount groups; and a third storage means for storing one of the preferential discount groups, each corresponding to each product to which a preferential discount is applied,
A receiving means for receiving an input of a product to be purchased by the member;
a first acquisition means for acquiring from the third storage means a special discount group stored in association with the product inputted by the reception means;
a second acquiring means for acquiring from the server a preferential rank stored in correspondence with a member identification code of a member who purchases the product whose input has been accepted by the accepting means;
a third acquisition means for acquiring a discount rate for the preferential rank acquired by the second acquisition means from discount rates for the preferential ranks stored in the first storage means in correspondence with the preferential discount group acquired by the first acquisition means;
a processing means for performing discount processing on the sales data of the product inputted and accepted by the accepting means, based on the discount rate acquired by the third acquiring means;
A product sales data processing device comprising:
前記会員が買い上げる商品の入力を受け付け、
入力を受け付けた前記商品に対応して記憶されている優待割引グループを前記第3記憶部から取得し、
入力を受け付けた前記商品を買い上げる会員の会員識別コードに対応して記憶されている優待ランクを前記サーバから取得し、
取得した前記優待割引グループに対応して前記第1記憶部で記憶されている優待ランク別の割引率の中から、取得した前記優待ランクの割引率を取得し、
取得した前記割引率により入力を受け付けた前記商品の販売データを割引処理する、商品販売データ処理方法。 a communication unit for performing data communication with a server having a second storage unit for storing a preferential rank for each preferential discount group corresponding to a member identification code for identifying each member; a first storage unit for storing a discount rate for each preferential rank corresponding to two or more preferential discount groups; and a third storage unit for storing one of the preferential discount groups corresponding to each product to which a preferential discount is applied;
Accepting input of the product to be purchased by said member;
Obtaining from the third storage unit a special discount group stored in association with the product whose input has been accepted;
obtain from the server a special rank stored in correspondence with a member identification code of the member who purchases the product whose input has been accepted;
Obtaining a discount rate for the obtained preferential rank from discount rates for each preferential rank stored in the first storage unit corresponding to the obtained preferential discount group;
The merchandise sales data processing method includes discount processing the merchandise sales data inputted and accepted based on the obtained discount rate.
各会員を識別する会員識別コードにそれぞれ対応して、優待割引グループ毎の優待ランクを記憶する第2記憶手段を備えたサーバとデータ通信を行う通信手段、
2種類以上の優待割引グループにそれぞれ対応して、優待ランク別の割引率を記憶する第1記憶手段、
優待割引が適用される各商品に対応して、いずれかの優待割引グループを記憶する第3記憶手段、
前記会員が買い上げる商品の入力を受け付ける受付手段、
前記受付手段で入力を受け付けた商品に対応して記憶されている優待割引グループを前記第3記憶手段から取得する第1取得手段、
前記受付手段で入力を受け付けた商品を買い上げる会員の会員識別コードに対応して記憶されている優待ランクを前記サーバから取得する第2取得手段、
前記第1取得手段で取得した前記優待割引グループに対応して前記第1記憶手段で記憶されている優待ランク別の割引率の中から、前記第2取得手段で取得した前記優待ランクの割引率を取得する第3取得手段、及び、
前記第3取得手段で取得した前記割引率により前記受付手段で入力を受け付けた商品の販売データを割引処理する処理手段、
として機能させるための制御プログラム。
A computer of a product sales data processing device,
a communication means for performing data communication with a server having a second storage means for storing a preferential rank for each preferential discount group in correspondence with each member identification code for identifying each member;
a first storage means for storing discount rates by preferential rank corresponding to each of two or more preferential discount groups ;
a third storage means for storing any one of the preferential discount groups corresponding to each product to which the preferential discount is applied;
A receiving means for receiving input of products to be purchased by said member;
a first acquisition means for acquiring from said third storage means a special discount group stored in correspondence with the product inputted and accepted by said acceptance means;
a second acquiring means for acquiring from the server a preferential rank stored in correspondence with a member identification code of a member who purchases the product whose input has been accepted by the accepting means;
a third acquisition means for acquiring a discount rate for the preferential rank acquired by the second acquisition means from discount rates for the preferential ranks stored in the first storage means in correspondence with the preferential discount group acquired by the first acquisition means; and
a processing means for performing discount processing on the sales data of the product inputted and accepted by the accepting means, based on the discount rate acquired by the third acquiring means;
A control program that functions as a
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 JP2022148643A (en) | 2022-10-06 |
| JP7631063B2 true 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)
| 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 |
-
2021
- 2021-03-24 JP JP2021050396A patent/JP7631063B2/en active Active
Patent Citations (2)
| 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 |
|---|---|
| JP2022148643A (en) | 2022-10-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3872455B2 (en) | Inventory management computer system and method | |
| US6292786B1 (en) | Method and system for generating incentives based on substantially real-time product purchase information | |
| US7464050B1 (en) | Method and system for facilitating consumer purchases | |
| JP7387860B2 (en) | Product data processing device, control program, product sales system | |
| JP7521026B2 (en) | Product sales data processing device and control program | |
| BG98172A (en) | Method and device for selective distribition of chits for price rebates | |
| KR102590290B1 (en) | Accounts processing system, coupon management device and control program therefor | |
| JP2018132826A (en) | Coupon issue system | |
| JP7631063B2 (en) | Product sales data processing system, product sales data processing device and control program therefor, and product sales data processing method | |
| JP2004054434A (en) | Product purchase information providing method, purchase information providing system and receipt | |
| KR20020051090A (en) | System and method for managing selling information using bar code and storage media having a program source thereof | |
| JP2022053850A (en) | Information processing device and control program thereof | |
| CN114792261A (en) | Information processing apparatus, information processing system, and storage medium | |
| JP5459758B2 (en) | Receipt / Receipt Issuing System, Issuing Method, Receipt / Receipt Issuing Program, and Program Recording Medium | |
| KR20090001684A (en) | Card payment system reflecting the event | |
| US20200387882A1 (en) | Commodity sales data processing apparatus, control method therefor, and display control method thereof | |
| JP7336560B2 (en) | Product data processor, program | |
| JP2020021306A (en) | Individual commodity management system, individual commodity management device, and program thereof | |
| JP7097474B2 (en) | Information terminal and its program and display control method | |
| JP7041233B2 (en) | Product data processing equipment, programs | |
| JP7356848B2 (en) | Product information processing device and product information processing program | |
| KR20030069962A (en) | The method and system for the credit-card has buying information | |
| JP6530537B2 (en) | Electronic receipt system, server device and program thereof | |
| JP2025138275A (en) | Transaction processing device and information processing program | |
| JP2002342840A (en) | Point management device |
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 |