JP6964480B2 - Product sales data processing equipment, input equipment and programs - Google Patents

Product sales data processing equipment, input equipment and programs Download PDF

Info

Publication number
JP6964480B2
JP6964480B2 JP2017197190A JP2017197190A JP6964480B2 JP 6964480 B2 JP6964480 B2 JP 6964480B2 JP 2017197190 A JP2017197190 A JP 2017197190A JP 2017197190 A JP2017197190 A JP 2017197190A JP 6964480 B2 JP6964480 B2 JP 6964480B2
Authority
JP
Japan
Prior art keywords
data processing
power supply
operation mode
input device
product sales
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
Application number
JP2017197190A
Other languages
Japanese (ja)
Other versions
JP2019070976A (en
Inventor
克行 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2017197190A priority Critical patent/JP6964480B2/en
Publication of JP2019070976A publication Critical patent/JP2019070976A/en
Application granted granted Critical
Publication of JP6964480B2 publication Critical patent/JP6964480B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Cash Registers Or Receiving Machines (AREA)
  • Power Sources (AREA)

Description

本発明の実施形態は、商品販売データ処理装置、入力装置及びプログラムに関する。 An embodiment of the present invention relates to a product sales data processing device, an input device, and a program.

従来、スーパーマーケット等の小売店では、POS(Point Of Sales)端末等の商品販売データ処理装置が使用されている。店員等のユーザは、商品販売データ処理装置に設けられたキーボード等の入力装置を操作することで、客が購入する商品の登録や決済処理等の商品販売データ処理を行っている。 Conventionally, in retail stores such as supermarkets, product sales data processing devices such as POS (Point Of Sales) terminals have been used. A user such as a clerk operates an input device such as a keyboard provided in the product sales data processing device to process the product sales data such as registration of products purchased by the customer and payment processing.

また、近時では、キーボードと表示器とを一体的に備えた入力装置が存在している。係る入力装置は、商品販売データ処理装置の周辺機器として動作することで、商品販売データ処理装置に対する情報の入力と出力とを行う。 Further, recently, there is an input device having an integrated keyboard and display. The input device operates as a peripheral device of the product sales data processing device to input and output information to the product sales data processing device.

ところで、商品販売データ処理装置では、停電発生時のデータ損失を防ぐため、二次電池等の内部電源を備えるものが存在する。この商品販売データ処理装置では、停電が発生すると電源を内部電源に切り替え、データの退避等を行った後シャットダウンすることでデータの損失を防いでいる。しかしながら、シャットダウン処理の後では、内部電源の電池残量が残っていても、商品販売データ処理装置で商品販売データ処理を実行することができず、店頭販売を継続することが困難であった。 By the way, some product sales data processing devices are provided with an internal power source such as a secondary battery in order to prevent data loss in the event of a power failure. In this product sales data processing device, when a power failure occurs, the power supply is switched to the internal power supply, data is saved, and then shut down to prevent data loss. However, after the shutdown process, even if the battery level of the internal power supply remains, the product sales data processing device cannot execute the product sales data processing, and it is difficult to continue the over-the-counter sales.

なお、従来、動作モードを切り替える切り替えキーを店員が操作することで、商品販売データ処理以外の業務処理と、商品販売データ処理とを切り替えて実行することが可能な携帯型の検品端末が提案されている。しかしながら、停電の発生時に検品端末を持ち出すことや切り替えキーを操作することは煩わしいという問題がある。 Conventionally, a portable inspection terminal has been proposed that allows a clerk to operate a switching key for switching an operation mode to switch between business processing other than product sales data processing and product sales data processing. ing. However, there is a problem that it is troublesome to take out the inspection terminal or operate the switching key when a power failure occurs.

本発明が解決しようとする課題は、停電発生時の店頭販売を支援することが可能な商品販売データ処理装置、入力装置及びプログラムを提供することである。 An object to be solved by the present invention is to provide a product sales data processing device, an input device, and a program capable of supporting over-the-counter sales in the event of a power failure.

実施形態の商品販売データ処理装置は、商品の販売に係るデータ処理を実行する商品販売データ処理装置であって、自装置に接続される周辺機器と協働して前記データ処理を実行する本体部と、前記周辺機器として動作する第1動作モードと、前記本体部とは独立して前記データ処理を実行可能な第2動作モードとを有する入力装置と、内部電源と、外部電源の電力を前記本体部及び前記入力装置に供給し、前記外部電源が停電したことを条件に、前記内部電源に切り替えて電力を供給する電力供給手段と、前記外部電源から前記内部電源に切り替わったことを条件に、前記本体部が保持する処理途中のデータを前記入力装置に送信し、前記本体部の動作を停止させる停電処理手段と、前記外部電源が非停電状態の間、前記入力装置を前記第1動作モードで動作させ、前記外部電源から前記内部電源に切り替わると、前記入力装置を前記第2動作モードで動作させて、前記処理途中のデータのデータ処理を引き継がせる動作モード切替手段と、を備える。 The product sales data processing device of the embodiment is a product sales data processing device that executes data processing related to product sales, and is a main body unit that executes the data processing in cooperation with a peripheral device connected to the own device. An input device having a first operation mode that operates as the peripheral device and a second operation mode that can execute the data processing independently of the main body, an internal power supply, and an external power supply. A power supply means that supplies power to the main body and the input device and supplies power by switching to the internal power supply on condition that the external power supply is cut off, and a condition that the external power supply is switched to the internal power supply. A power failure processing means for transmitting data in the process of being held by the main body to the input device to stop the operation of the main body, and the first operation of the input device while the external power supply is in a non-power failure state. is operated in mode, comprising the switches to the internal power supply from the external power source, the input device is operated in the second operation mode, and a operation mode switching means Ru take over data processing of the data of the intermediate processing ..

図1は、実施形態に係る商品販売データ処理装置を正面から見た斜視図である。FIG. 1 is a perspective view of the product sales data processing device according to the embodiment as viewed from the front. 図2は、実施形態に係る商品販売データ処理装置を背面から見た斜視図である。FIG. 2 is a perspective view of the product sales data processing device according to the embodiment as viewed from the back. 図3は、実施形態に係る商品販売データ処理装置の平面図である。FIG. 3 is a plan view of the product sales data processing device according to the embodiment. 図4は、実施形態に係る入力装置を正面から見た斜視図である。FIG. 4 is a perspective view of the input device according to the embodiment as viewed from the front. 図5は、実施形態に係る商品販売データ処理装置のハードウェア構成の一例を示す図である。FIG. 5 is a diagram showing an example of the hardware configuration of the product sales data processing device according to the embodiment. 図6は、実施形態に係る商品販売データ処理装置の機能構成の一例を示す図である。FIG. 6 is a diagram showing an example of the functional configuration of the product sales data processing device according to the embodiment. 図7は、実施形態の商品販売データ処理装置が停電発生時に実行する処理の一例を示すフローチャートである。FIG. 7 is a flowchart showing an example of processing executed by the product sales data processing device of the embodiment when a power failure occurs. 図8は、実施形態の商品販売データ処理装置が停電状態からの復帰時に実行する処理の一例を示すフローチャートである。FIG. 8 is a flowchart showing an example of processing executed by the product sales data processing device of the embodiment when returning from a power failure state.

以下、図面を参照して、実施形態に係る商品販売データ処理装置、入力装置及びプログラムについて説明する。なお、本実施形態では、スーパーマーケット等の小売店で使用されるPOS端末等に適用した例を説明するが、適用範囲はこれに限定されないものとする。 Hereinafter, the product sales data processing device, the input device, and the program according to the embodiment will be described with reference to the drawings. In this embodiment, an example of application to a POS terminal or the like used in a retail store such as a supermarket will be described, but the scope of application is not limited to this.

図1〜図3は、本実施形態に係る商品販売データ処理装置1の外観構成の一例を示す図である。ここで、図1は、商品販売データ処理装置1を正面から見た斜視図である。図2は、商品販売データ処理装置1を背面から見た斜視図である。図3は、商品販売データ処理装置1の平面図である。 1 to 3 are views showing an example of the appearance configuration of the product sales data processing device 1 according to the present embodiment. Here, FIG. 1 is a perspective view of the product sales data processing device 1 as viewed from the front. FIG. 2 is a perspective view of the product sales data processing device 1 as viewed from the back. FIG. 3 is a plan view of the product sales data processing device 1.

図1〜図3に示すように、商品販売データ処理装置1は、本体部10と、メイン表示器20と、プリンタ30と、入力装置40とを備える。 As shown in FIGS. 1 to 3, the product sales data processing device 1 includes a main body 10, a main display 20, a printer 30, and an input device 40.

本体部10は、薄型箱形状であり、商品販売データ処理装置1の背面側から正面側にかけて高さ方向の寸法が小さくなるように形成されている。本体部10は、後述するCPU11や内部電源17等を内部に備える。 The main body 10 has a thin box shape, and is formed so that the dimension in the height direction becomes smaller from the back side to the front side of the product sales data processing device 1. The main body 10 includes a CPU 11 and an internal power supply 17, which will be described later, inside.

本体部10の上面には、メイン表示器20とプリンタ30とが設けられる。メイン表示器20は、LCD(Liquid Crystal Display)等で構成される表示画面を有し、各種の画面を表示する。例えば、メイン表示器20は、商品販売データ処理装置1の操作に係る各種のGUIを表示する。なお、本実施形態では、メイン表示器20は、タッチパネルを搭載するものとするが、タッチパネルを非搭載としてもよい。 A main display 20 and a printer 30 are provided on the upper surface of the main body 10. The main display 20 has a display screen composed of an LCD (Liquid Crystal Display) or the like, and displays various screens. For example, the main display 20 displays various GUIs related to the operation of the product sales data processing device 1. In the present embodiment, the main display 20 is equipped with a touch panel, but the touch panel may not be mounted.

プリンタ30は、本体部10の幅方向において、メイン表示器20に隣接する位置に設置される。プリンタ30は、例えばサーマルプリンタであり、一取引(商品販売データ処理)の内訳を印字したレシートを発行口30aから発行する。レシートの発行口30aは、商品販売データ処理装置1の正面側に向けられる。 The printer 30 is installed at a position adjacent to the main display 20 in the width direction of the main body 10. The printer 30 is, for example, a thermal printer, and issues a receipt printed with a breakdown of one transaction (commodity sales data processing) from the issuing port 30a. The receipt issuing port 30a is directed to the front side of the product sales data processing device 1.

また、本体部10の上面には、入力装置40が設けられる。入力装置40は、メイン表示器20の前面側に設置され、ユーザからの操作入力を受け付ける。 An input device 40 is provided on the upper surface of the main body 10. The input device 40 is installed on the front side of the main display 20 and receives an operation input from the user.

図4は、入力装置40を正面から見た斜視図である。入力装置40は、キーボード41と、サブ表示器42と、カードリーダ43とを備える。キーボード41は、入力デバイスの一例であり、置数キーや取引の締めを指示する締めキー等の各種キーを備える。 FIG. 4 is a perspective view of the input device 40 as viewed from the front. The input device 40 includes a keyboard 41, a sub-display 42, and a card reader 43. The keyboard 41 is an example of an input device, and includes various keys such as a number key and a closing key for instructing closing of a transaction.

サブ表示器42は、表示デバイスの一例である。サブ表示器42は、LCD等で構成された表示画面を有し、各種の画面を表示する。例えば、サブ表示器42は、商品販売データ処理装置1の操作に係る各種のGUIを表示する。なお、本実施形態では、サブ表示器42は、タッチパネル(入力デバイス)を搭載するものとするが、タッチパネルを非搭載としてもよい。 The sub-display 42 is an example of a display device. The sub-display 42 has a display screen composed of an LCD or the like, and displays various screens. For example, the sub-display 42 displays various GUIs related to the operation of the product sales data processing device 1. In the present embodiment, the sub-display 42 is equipped with a touch panel (input device), but the touch panel may not be mounted.

カードリーダ43は、磁気カード等のカード媒体が保持する情報を読み取る装置である。例えば、カードリーダ43は、客に配布された会員カード等のカード媒体から、当該客を識別可能な識別情報を読み取る。また、カードリーダ43は、電子マネーカード等のカード媒体から、電子マネー決済に係る情報を読み取る。 The card reader 43 is a device that reads information held by a card medium such as a magnetic card. For example, the card reader 43 reads identification information that can identify the customer from a card medium such as a membership card distributed to the customer. Further, the card reader 43 reads information related to electronic money payment from a card medium such as an electronic money card.

上記したメイン表示器20、プリンタ30及び入力装置40は、本体部10の周辺機器として機能する。本体部10は、メイン表示器20、プリンタ30及び入力装置40と協働することで、商品の販売に係る商品販売データ処理を実行する。なお、メイン表示器20、プリンタ30及び入力装置40は、本体部10と一体的に設けられる構成としてもよいし、本体部10と着脱可能な構成としてもよい。 The main display 20, the printer 30, and the input device 40 described above function as peripheral devices of the main body 10. The main body 10 executes product sales data processing related to product sales in cooperation with the main display 20, the printer 30, and the input device 40. The main display 20, the printer 30, and the input device 40 may be provided integrally with the main body 10, or may be detachable from the main body 10.

また、本体部10の前面側(プリンタ30及び入力装置40の前面側)には、金銭等を一時的に載置することが可能な平面状の載置面10aが設けられている。具体的には、載置面10aは、本体部10の幅方向に亘って設けられ、プリンタ30及び入力装置40の配置レイアウトに沿ったL字型の形状を有する。なお、商品販売データ処理装置1を構成する各部の取り付け位置やレイアウトは、図1〜図3の例に限定されないものとする。また、商品販売データ処理装置1は、金銭を収納するドロワや自動釣銭機等の装置(周辺機器)を備えてもよい。 Further, on the front side of the main body 10 (the front side of the printer 30 and the input device 40), a flat mounting surface 10a on which money or the like can be temporarily placed is provided. Specifically, the mounting surface 10a is provided over the width direction of the main body portion 10 and has an L-shape along the layout of the printer 30 and the input device 40. The mounting positions and layouts of the parts constituting the product sales data processing device 1 are not limited to the examples of FIGS. 1 to 3. Further, the product sales data processing device 1 may include a device (peripheral device) such as a drawer for storing money or an automatic change machine.

次に、商品販売データ処理装置1のハードウェア構成について説明する。図5は、商品販売データ処理装置1のハードウェア構成の一例を示す図である。 Next, the hardware configuration of the product sales data processing device 1 will be described. FIG. 5 is a diagram showing an example of the hardware configuration of the product sales data processing device 1.

図5に示すように、商品販売データ処理装置1は、上述した本体部10、メイン表示器20、プリンタ30及び入力装置40を備える。メイン表示器20、プリンタ30及び入力装置40は、本体部10に接続される。メイン表示器20、プリンタ30及び入力装置40は、本体部10から供給される電力によって動作するとともに、本体部10によりその動作が制御される。 As shown in FIG. 5, the product sales data processing device 1 includes the main body 10, the main display 20, the printer 30, and the input device 40 described above. The main display 20, the printer 30, and the input device 40 are connected to the main body 10. The main display 20, the printer 30, and the input device 40 are operated by the electric power supplied from the main body 10, and the operation is controlled by the main body 10.

本体部10は、CPU(Central Processing Unit)11、ROM(Read Only Memory)12、RAM(Random Access Memory)13、記憶部14等のコンピュータ構成を備える。また、本体部10は、通信部15、電源供給部16及び内部電源17等を備える。 The main body 10 includes a computer configuration such as a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, and a storage unit 14. The main body 10 includes a communication unit 15, a power supply unit 16, an internal power supply 17, and the like.

CPU11は、ROM12や記憶部14に格納されたプログラムをRAM13に展開して実行することで、本体部10(商品販売データ処理装置1)の動作を統括的に制御する。ROM12は、各種プログラムやそれら各種プログラムの処理で用いられる各種データなどのファイルを記憶する。RAM13は、作業中のデータを一時記憶する。 The CPU 11 comprehensively controls the operation of the main body 10 (commodity sales data processing device 1) by expanding the program stored in the ROM 12 and the storage unit 14 into the RAM 13 and executing the program. The ROM 12 stores files such as various programs and various data used in the processing of the various programs. The RAM 13 temporarily stores the data being worked on.

記憶部14は、HDD(Hard Disk Drive)やSSD(Solid State Drive)等の不揮発性の記憶媒体を備えた記憶装置である。記憶部14は、OS(Operating System)等の各種のプログラムや、設定情報等の各種のデータファイルを記憶する。例えば、記憶部14は、販売の対象となる商品の種別毎に、当該商品を識別する商品コード、商品名、単価等を対応付けて登録した商品マスタ(図示せず)を記憶する。また、記憶部14は、商品販売データ処理の実行により取引毎に生成される販売データを記憶する。 The storage unit 14 is a storage device including a non-volatile storage medium such as an HDD (Hard Disk Drive) or an SSD (Solid State Drive). The storage unit 14 stores various programs such as an OS (Operating System) and various data files such as setting information. For example, the storage unit 14 stores a product master (not shown) registered in association with a product code, a product name, a unit price, etc. that identify the product for each type of product to be sold. In addition, the storage unit 14 stores sales data generated for each transaction by executing the product sales data processing.

通信部15は、有線通信規格又は無線通信規格に従って外部装置との間で通信を行うための通信インタフェースである。例えば、通信部15は、店舗内のネットワークに接続されるサーバ装置(店舗サーバ)との間で各種データの授受を行う。 The communication unit 15 is a communication interface for communicating with an external device according to a wired communication standard or a wireless communication standard. For example, the communication unit 15 exchanges various data with a server device (store server) connected to the network in the store.

電源供給部16は、内部電源17や、アダプタADを介して外部電源OPから供給される電力を、図示しない電力供給線を介して、商品販売データ処理装置1の各部に供給する。具体的には、電源供給部16は、電源を切り替えるための切替回路16aを有し、内部電源17及び外部電源OPの何れか一方から供給される電力を、商品販売データ処理装置1の各部に供給する。なお、電源供給部16は、後述する停電処理により本体部10がシャットダウンした場合であっても、入力装置40への電力供給が維持されるよう構成されているものとする。 The power supply unit 16 supplies the electric power supplied from the external power supply OP via the internal power supply 17 and the adapter AD to each unit of the product sales data processing device 1 via a power supply line (not shown). Specifically, the power supply unit 16 has a switching circuit 16a for switching the power supply, and supplies power supplied from either the internal power supply 17 or the external power supply OP to each part of the product sales data processing device 1. Supply. It is assumed that the power supply unit 16 is configured to maintain the power supply to the input device 40 even when the main body unit 10 is shut down due to a power failure process described later.

内部電源17は、バッテリや二次電池等の電源である。商品販売データ処理装置1では、外部電源OPに停電が発生した際に内部電源17を使用することで、本体部10を安全に終了(シャットダウン)させることが可能となっている。なお、内部電源17の容量は特に問わないものとするが、少なくとも後述する停電処理を実行することが可能な容量を有するものとする。 The internal power source 17 is a power source for a battery, a secondary battery, or the like. In the product sales data processing device 1, the main body 10 can be safely terminated (shut down) by using the internal power supply 17 when a power failure occurs in the external power supply OP. The capacity of the internal power supply 17 is not particularly limited, but at least it is assumed to have a capacity capable of executing the power failure processing described later.

一方、入力装置40は、上述したキーボード41、サブ表示器42及びカードリーダ43を備える。また、入力装置40は、CPU44、ROM45、RAM46及び記憶部47等のコンピュータ構成を備える。 On the other hand, the input device 40 includes the keyboard 41, the sub-display 42, and the card reader 43 described above. Further, the input device 40 includes a computer configuration such as a CPU 44, a ROM 45, a RAM 46, and a storage unit 47.

CPU44は、ROM45や記憶部47に格納されたプログラムをRAM46に展開して実行することで、入力装置40の動作を統括的に制御する。ROM45は、各種プログラムやそれら各種プログラムの処理で用いられる各種データなどのファイルを記憶する。RAM46は、作業中のデータを一時記憶する。 The CPU 44 comprehensively controls the operation of the input device 40 by expanding the program stored in the ROM 45 and the storage unit 47 into the RAM 46 and executing the program. The ROM 45 stores files such as various programs and various data used in the processing of the various programs. The RAM 46 temporarily stores the data being worked on.

記憶部47は、HDDやSSD等の不揮発性の記憶媒体を備えた記憶装置である。記憶部47は、CPU44が実行可能な各種プログラムや、設定情報等の各種のデータファイルを記憶する。例えば、記憶部47は、本体部10と同様の商品マスタ(図示せず)を記憶する。また、記憶部47は、商品販売データ処理の実行により取引毎に生成される販売データを記憶する。 The storage unit 47 is a storage device including a non-volatile storage medium such as an HDD or SSD. The storage unit 47 stores various programs that can be executed by the CPU 44 and various data files such as setting information. For example, the storage unit 47 stores a product master (not shown) similar to the main body unit 10. Further, the storage unit 47 stores the sales data generated for each transaction by executing the product sales data processing.

なお、入力装置40の消費電力は、本体部10や、入力装置40を除いた商品販売データ処理装置1全体の消費電力よりも小さいものとする。 The power consumption of the input device 40 is smaller than the power consumption of the main body 10 and the entire product sales data processing device 1 excluding the input device 40.

次に、商品販売データ処理装置1の機能構成について説明する。図6は、商品販売データ処理装置1の機能構成の一例を示す図である。 Next, the functional configuration of the product sales data processing device 1 will be described. FIG. 6 is a diagram showing an example of the functional configuration of the product sales data processing device 1.

本体部10は、CPU11と記憶部14等に記憶されたプログラムとの協働により実現される機能部として、第1表示制御部101と、第1データ処理部102と、停電検知部103と、電源切替部104と、停電処理部105とを備える。なお、停電検知部103及び電源切替部104は、CPU11と電源供給部16との協働により実現されてもよいし、電源供給部16が備えるハードウェアにより実現される構成としてもよい。 The main body 10 includes a first display control unit 101, a first data processing unit 102, a power failure detection unit 103, and other functional units realized by cooperation between the CPU 11 and a program stored in the storage unit 14 and the like. A power switching unit 104 and a power failure processing unit 105 are provided. The power failure detection unit 103 and the power switching unit 104 may be realized by the cooperation of the CPU 11 and the power supply unit 16, or may be realized by the hardware included in the power supply unit 16.

第1表示制御部101は、メイン表示器20に表示する画面を制御する。例えば、第1表示制御部101は、商品の登録開始を指示するための操作子や、登録終了を指示するための操作子を含んだ画面を表示させる。また、第1表示制御部101は、第1データ処理部102と協働することで、登録された商品の商品名や合計金額、支払金額等を、メイン表示器20に表示させる。 The first display control unit 101 controls the screen to be displayed on the main display 20. For example, the first display control unit 101 displays a screen including an operator for instructing the start of registration of a product and an operator for instructing the end of registration. In addition, the first display control unit 101 cooperates with the first data processing unit 102 to display the product name, total amount, payment amount, and the like of the registered products on the main display 20.

また、第1表示制御部101は、入力装置40の第2表示制御部402と協働することで、サブ表示器42に表示する画面を制御する。例えば、第1表示制御部101は、メイン表示器20に表示した内容に関係する操作画面をサブ表示器42に表示させる。 Further, the first display control unit 101 controls the screen to be displayed on the sub display 42 by cooperating with the second display control unit 402 of the input device 40. For example, the first display control unit 101 causes the sub display 42 to display an operation screen related to the content displayed on the main display 20.

第1データ処理部102は、商品の販売に係るデータ処理(商品販売データ処理)を実行する。具体的には、第1データ処理部102は、商品販売データ処理として、販売対象の商品を登録する販売登録処理と、登録した商品の決済を行う決済処理とを実行する。 The first data processing unit 102 executes data processing (product sales data processing) related to product sales. Specifically, the first data processing unit 102 executes a sales registration process for registering a product to be sold and a settlement process for settlement of the registered product as product sales data processing.

販売登録処理では、第1データ処理部102は、客が購入する商品を識別可能な商品コードの入力を受け付け、当該商品コードに対応する商品を商品マスタから特定する。そして、第1データ処理部102は、特定した商品の商品コードを、その商品の販売点数や金額等と関連付けてRAM13等に登録(格納)する。 In the sales registration process, the first data processing unit 102 accepts the input of a product code that can identify the product purchased by the customer, and identifies the product corresponding to the product code from the product master. Then, the first data processing unit 102 registers (stores) the product code of the specified product in the RAM 13 or the like in association with the number of points sold, the amount of money, or the like of the product.

なお、販売登録処理において、商品コードの入力方法は特に問わないものとする。例えば、第1データ処理部102は、入力装置40のキーボード41を介して商品コードの入力を受け付けてもよい。また、コードシンボルを読み取ることが可能なスキャナ装置や、RFIDタグを読み取ることが可能なリーダ装置を商品販売データ処理装置1に接続し、これらの装置(周辺機器)を介して商品コードが入力される構成としてもよい。この場合、第1データ処理部102は、商品に付されたコードシンボルやRFIDタグの読み取りによって得られた商品コードを入力データとして受け付ける。 In the sales registration process, the method of inputting the product code is not particularly limited. For example, the first data processing unit 102 may accept the input of the product code via the keyboard 41 of the input device 40. Further, a scanner device capable of reading a code symbol and a reader device capable of reading an RFID tag are connected to the product sales data processing device 1, and the product code is input via these devices (peripheral devices). It may be configured as such. In this case, the first data processing unit 102 accepts the product code obtained by reading the code symbol attached to the product or the RFID tag as input data.

また、決済処理では、第1データ処理部102は、販売登録処理で登録された各商品のデータに基づいて、当該商品の決済処理を実行する。具体的には、第1データ処理部102は、一取引で登録された各商品の合計金額を、客が支払った金額(支払金額)で決済する決済処理を実行する。なお、支払金額の支払い方法は特に問わず、現金決済であってもよいし電子マネー決済であってもよい。 Further, in the settlement process, the first data processing unit 102 executes the settlement process of the product based on the data of each product registered in the sales registration process. Specifically, the first data processing unit 102 executes a settlement process in which the total amount of each product registered in one transaction is settled at the amount paid by the customer (payment amount). The payment method of the payment amount is not particularly limited, and cash payment or electronic money payment may be used.

第1データ処理部102は、一取引分の商品販売データ処理が完了すると、その取引の内訳を示す販売データを記憶部14に格納する。販売データは、例えば、販売登録された各商品の商品コードや合計金額、客が支払った支払金額や釣り銭額、取引日時等を含む。また、第1データ処理部102は、取引の内訳をレシートとしてプリンタ30に印字させる。 When the product sales data processing for one transaction is completed, the first data processing unit 102 stores the sales data indicating the breakdown of the transaction in the storage unit 14. The sales data includes, for example, the product code and total amount of each product registered for sale, the payment amount and change amount paid by the customer, the transaction date and time, and the like. In addition, the first data processing unit 102 causes the printer 30 to print the details of the transaction as a receipt.

また、第1データ処理部102は、後述する停電の状態から復帰した際に、入力装置40から販売データを受信すると、その受信した販売データを記憶部14に格納する。 Further, when the first data processing unit 102 receives the sales data from the input device 40 when recovering from the power failure state described later, the first data processing unit 102 stores the received sales data in the storage unit 14.

停電検知部103は、外部電源OPの停電を検知する。具体的には、停電検知部103は、外部電源OPから供給される電力を監視し、電圧(又は電流)の値が所定の閾値を下回ると、停電発生として検知する。係る閾値は、例えば、商品販売データ処理装置1を正常に動作させるのに必要な電圧(又は電流)の値に基づき予め設定されている。 The power failure detection unit 103 detects a power failure of the external power supply OP. Specifically, the power failure detection unit 103 monitors the power supplied from the external power supply OP, and detects that a power failure has occurred when the voltage (or current) value falls below a predetermined threshold value. The threshold value is set in advance based on, for example, the value of the voltage (or current) required for the product sales data processing device 1 to operate normally.

電源切替部104は、停電検知部103による停電発生の検知に応じて、電力の供給元となる電源を、外部電源OPから内部電源17に切り替える。具体的には、電源切替部104は、停電が未発生の状態、つまり外部電源OPからの電力供給が正常な状態において、切替回路16aの接続先を外部電源OPとすることで、供給元の電源を外部電源OPとする。また、電源切替部104は、停電検知部103により停電の発生が検知されると、切替回路16aの接続先を内部電源17に切り替えることで、電力の供給元を内部電源17とする。 The power switching unit 104 switches the power supply source of power from the external power supply OP to the internal power supply 17 in response to the detection of the occurrence of a power failure by the power failure detection unit 103. Specifically, the power switching unit 104 sets the connection destination of the switching circuit 16a to the external power supply OP in a state where a power failure has not occurred, that is, in a state where the power supply from the external power supply OP is normal. The power supply is an external power supply OP. When the power failure detection unit 103 detects the occurrence of a power failure, the power supply switching unit 104 switches the connection destination of the switching circuit 16a to the internal power supply 17, so that the power supply source is the internal power supply 17.

さらに、電源切替部104は、外部電源OPが停電状態から復帰すると、切替回路16aの接続先を外部電源OPに切り替えることで、供給元の電源を外部電源OPに戻す。なお、停電検知部103及び電源切替部104は、電源供給部16(切替回路16a)とともに、電力供給手段の一例として機能する。 Further, when the external power supply OP recovers from the power failure state, the power supply switching unit 104 switches the connection destination of the switching circuit 16a to the external power supply OP to return the power supply source to the external power supply OP. The power failure detection unit 103 and the power switching unit 104 function together with the power supply unit 16 (switching circuit 16a) as an example of the power supply means.

停電処理部105は、停電処理手段及び動作モード切替手段の一例である。停電処理部105は、停電検知部103により停電の発生が検知されたことを条件に、本体部10の動作を停止させる停電処理を実行する。具体的には、停電処理部105は、停電検知部103により停電の発生が検知されると、動作モードの切り替えを指示する制御信号を入力装置40に送信し、停電処理を開始する。なお、停電処理部105は、電源切替部104により供給元の電源が内部電源17に切り替えられたことを条件に、上記の制御信号を入力装置40に送信する構成としてもよい。 The power failure processing unit 105 is an example of the power failure processing means and the operation mode switching means. The power failure processing unit 105 executes a power failure process for stopping the operation of the main body 10 on the condition that the power failure detection unit 103 detects the occurrence of a power failure. Specifically, when the power failure detection unit 103 detects the occurrence of a power failure, the power failure processing unit 105 transmits a control signal instructing the switching of the operation mode to the input device 40, and starts the power failure processing. The power failure processing unit 105 may be configured to transmit the above control signal to the input device 40 on condition that the power supply of the supply source is switched to the internal power supply 17 by the power supply switching unit 104.

停電処理部105は、停電処理を開始すると、RAM13が保持する取引途中のデータ等を記憶部14に退避させる。ここで、停電処理部105は、RAM13が保持する取引途中のデータを、動作モードの切り替え指示とともに入力装置40に送信してもよい。また、停電処理部105は、記憶部14に記憶されている商品マスタを、動作モードの切り替え指示とともに入力装置40に送信してもよい。 When the power failure processing is started, the power failure processing unit 105 saves the data or the like in the middle of the transaction held by the RAM 13 in the storage unit 14. Here, the power failure processing unit 105 may transmit the data in the middle of the transaction held by the RAM 13 to the input device 40 together with the operation mode switching instruction. Further, the power failure processing unit 105 may transmit the product master stored in the storage unit 14 to the input device 40 together with the operation mode switching instruction.

データの退避が完了すると、停電処理部105は、本体部10の動作を停止させるため本体部10をシャットダウンする。これにより、本体部10(メイン表示器20及びプリンタ30)は、動作を停止するため、商品販売データ処理装置1の電力消費量も低下する。 When the data saving is completed, the power failure processing unit 105 shuts down the main body 10 in order to stop the operation of the main body 10. As a result, the main body 10 (main display 20 and printer 30) stops operating, so that the power consumption of the product sales data processing device 1 also decreases.

なお、本体部10のシャットダウンが停電処理によるものか否かを識別可能とするため、停電処理部105は、停電処理を実行したことを示すフラグ情報(以下、停電フラグ)等を記憶部14に記憶する構成としてもよい。また、この構成を採用する場合、本体部10のCPU11は、停電状態から復帰後の本体部10の起動時に、停電フラグの有無を確認し、停電フラグが存在した場合に、動作モードの切り替えを指示する制御信号を入力装置40に送信してもよい。 In order to make it possible to identify whether or not the shutdown of the main body 10 is due to power failure processing, the power failure processing unit 105 stores flag information (hereinafter, power failure flag) or the like indicating that the power failure processing has been executed in the storage unit 14. It may be a configuration to be memorized. Further, when this configuration is adopted, the CPU 11 of the main body 10 confirms the presence or absence of the power failure flag when the main body 10 is started after returning from the power failure state, and if the power failure flag exists, the operation mode is switched. The instruction control signal may be transmitted to the input device 40.

一方、商品販売データ処理装置1の入力装置40は、CPU44と記憶部47等に記憶されたプログラムとの協働により実現される機能部として、動作モード切替部401と、第2表示制御部402と、第2データ処理部403と、復帰処理部404とを備える。 On the other hand, the input device 40 of the product sales data processing device 1 has an operation mode switching unit 401 and a second display control unit 402 as functional units realized by cooperation between the CPU 44 and the program stored in the storage unit 47 or the like. A second data processing unit 403 and a return processing unit 404 are provided.

動作モード切替部401は、動作モード切替手段の一例である。動作モード切替部401は、本体部10の状態に応じて、入力装置40の動作モードを切り替える。具体的には、動作モード切替部401は、外部電源OPから供給される電力により本体部10が動作している間、入力装置40をデバイスモードで動作させる。デバイスモードは、入力装置40を本体部10の周辺機器(入力・出力デバイス)として動作させるための動作モードであり、第1動作モードに対応する。デバイスモードでは、入力装置40は、キーボード41やサブ表示器42を介して受け付けた操作内容に応じた信号を、本体部10に伝送する。また、デバイスモードでは、入力装置40は、本体部10の第1表示制御部101から伝送される表示信号に応じた画面をサブ表示器42に表示する。 The operation mode switching unit 401 is an example of the operation mode switching means. The operation mode switching unit 401 switches the operation mode of the input device 40 according to the state of the main body unit 10. Specifically, the operation mode switching unit 401 operates the input device 40 in the device mode while the main body unit 10 is operated by the electric power supplied from the external power supply OP. The device mode is an operation mode for operating the input device 40 as a peripheral device (input / output device) of the main body 10, and corresponds to the first operation mode. In the device mode, the input device 40 transmits a signal according to the operation content received via the keyboard 41 or the sub-display 42 to the main body 10. Further, in the device mode, the input device 40 displays a screen corresponding to the display signal transmitted from the first display control unit 101 of the main body 10 on the sub display 42.

また、動作モード切替部401は、供給元の電源が内部電源17に切り替わると、入力装置40の動作モードをデバイスモードからスタンドアロンモードに切り替える。スタンドアロンモードは、本体部10から独立して動作することが可能な動作モードであり、第2動作モードに対応する。スタンドアロンモードでは、入力装置40は、後述する第2データ処理部403の機能により、入力装置40単体で商品販売データ処理を実行することが可能である。 Further, the operation mode switching unit 401 switches the operation mode of the input device 40 from the device mode to the stand-alone mode when the power supply of the supply source is switched to the internal power supply 17. The stand-alone mode is an operation mode capable of operating independently of the main body 10, and corresponds to the second operation mode. In the stand-alone mode, the input device 40 can execute the product sales data processing by the input device 40 alone by the function of the second data processing unit 403 described later.

なお、本実施形態では、本体部10から動作モードの切り替えが指示されたことを条件に、デバイスモードからスタンドアロンモードへの切り替えを行うものとするが、切り替えの条件はこれに限らないものとする。例えば、動作モード切替部401は、本体部10との通信が途絶えたことを条件に、つまり本体部10の動作が停止したことを条件に、スタンドアロンモードへの切り替えを行ってもよい。 In the present embodiment, the device mode is switched to the stand-alone mode on the condition that the operation mode is switched from the main body 10, but the switching condition is not limited to this. .. For example, the operation mode switching unit 401 may switch to the stand-alone mode on the condition that the communication with the main body unit 10 is interrupted, that is, on the condition that the operation of the main body unit 10 is stopped.

また、動作モード切替部401は、本体部10が外部電源OPからの供給電源で起動したことを確認すると、入力装置40の動作モードをスタンドアロンモードからデバイスモードに戻す。例えば、動作モード切替部401は、本体部10から動作モードの切り替えが指示されたことを条件に、スタンドアロンモードからデバイスモードへの切り替えを行う。なお、デバイスモードへの切り替えの条件はこれに限らないものとする。例えば、動作モード切替部401は、本体部10との通信が復帰したことを条件に、つまり本体部10が起動したことを条件に、デバイスモードへの切り替えを行ってもよい。また、キーボード41を介して所定の操作が行われたことを条件に、デバイスモードへの切り替えを行ってもよい。 Further, when the operation mode switching unit 401 confirms that the main body unit 10 is activated by the power supplied from the external power supply OP, the operation mode switching unit 401 returns the operation mode of the input device 40 from the stand-alone mode to the device mode. For example, the operation mode switching unit 401 switches from the stand-alone mode to the device mode on the condition that the operation mode switching is instructed by the main body unit 10. The conditions for switching to the device mode are not limited to this. For example, the operation mode switching unit 401 may switch to the device mode on the condition that the communication with the main body unit 10 is restored, that is, on the condition that the main body unit 10 is activated. Further, the device mode may be switched on condition that a predetermined operation is performed via the keyboard 41.

第2表示制御部402は、サブ表示器42に表示する画面を制御する。具体的には、第2表示制御部402は、デバイスモード下において、本体部10(第1表示制御部101)の制御に従い、商品販売データ処理に係る各種の画面をサブ表示器42に表示させる。また、第2表示制御部402は、スタンドアロンモード下において、第2データ処理部403と協働することで、商品販売データ処理に係る各種の画面をサブ表示器42に表示させる。なお、第2表示制御部402は、動作モード切替部401の切り替え動作に対応して、実行中の動作モードを表す情報をサブ表示器42に表示させてもよい。 The second display control unit 402 controls the screen to be displayed on the sub display 42. Specifically, the second display control unit 402 causes the sub-display 42 to display various screens related to product sales data processing in accordance with the control of the main body unit 10 (first display control unit 101) under the device mode. .. Further, the second display control unit 402 cooperates with the second data processing unit 403 in the stand-alone mode to display various screens related to the product sales data processing on the sub display 42. The second display control unit 402 may display information indicating the operating mode being executed on the sub-display 42 in response to the switching operation of the operation mode switching unit 401.

第2データ処理部403は、データ処理手段の一例であり、スタンドアロンモード下で有効化される機能部である。第2データ処理部403は、本体部10の第1データ処理部102と同様の機能を有し、上述した商品販売データ処理を実行する。つまり、スタンドアロンモードで動作する入力装置40では、第2データ処理部403の機能により、入力装置40単体で商品販売データ処理を実行することができる。なお、第2データ処理部403は、本体部10から取引途中のデータを受信した場合には、当該データに基づいて取引(商品販売データ処理)を引き継ぐものとする。また、第2データ処理部403は、本体部10から商品マスタを受信した場合には、当該商品マスタを記憶部47に記憶し、当該商品マスタに基づいて商品販売データ処理を実行するものとする。 The second data processing unit 403 is an example of the data processing means, and is a functional unit activated under the stand-alone mode. The second data processing unit 403 has the same function as the first data processing unit 102 of the main body unit 10, and executes the above-mentioned product sales data processing. That is, in the input device 40 that operates in the stand-alone mode, the product sales data processing can be executed by the input device 40 alone by the function of the second data processing unit 403. When the second data processing unit 403 receives data in the middle of a transaction from the main body unit 10, the second data processing unit 403 shall take over the transaction (commodity sales data processing) based on the data. Further, when the second data processing unit 403 receives the product master from the main body unit 10, the second data processing unit 403 stores the product master in the storage unit 47 and executes the product sales data processing based on the product master. ..

第2データ処理部403は、一取引分の商品販売データ処理が完了すると、第1データ処理部102と同様に、その取引の内訳を示す販売データを記憶部47に格納する。なお、販売データは、入力装置40で処理された取引であることを示すフラグ情報等を含んでもよい。 When the product sales data processing for one transaction is completed, the second data processing unit 403 stores the sales data indicating the breakdown of the transaction in the storage unit 47, similarly to the first data processing unit 102. The sales data may include flag information or the like indicating that the transaction has been processed by the input device 40.

なお、入力装置40単体で商品販売データ処理を実行する場合には、キーボード41を介して商品コードを入力することになるが、商品コードの入力方法はこれに限らないものとする。例えば、上述したスキャナ装置やリーダ装置等を接続することが可能なUSB(Universal Serial Bus)等のコネクタを入力装置40に設け、当該コネクタに接続された装置を介して商品コードを入力する構成としてもよい。この場合、スキャナ装置やリーダ装置は、コネクタから給電される電力を用いて駆動するバスパワー型の装置であることが好ましい。 When the product sales data processing is executed by the input device 40 alone, the product code is input via the keyboard 41, but the input method of the product code is not limited to this. For example, the input device 40 is provided with a connector such as USB (Universal Serial Bus) capable of connecting the above-mentioned scanner device, reader device, or the like, and the product code is input via the device connected to the connector. May be good. In this case, the scanner device and the reader device are preferably bus-powered devices that are driven by using the electric power supplied from the connector.

また、入力装置40単体で商品販売データ処理を実行する場合には、プリンタ30を使用できないためレシートの発行が不可となるが、例えば、以下に挙げる代替的な方法で対処してもよい。第2データ処理部403は、取引の内容を二次元コード化し、当該二次元コードをサブ表示器42に表示させる。そして、サブ表示器42に表示された二次元コードを、客が所持するスマートフォン等の携帯端末で読み取らせることで、紙のレシートの代わりに取引の内容を電子的に客に提供する。 Further, when the product sales data processing is executed by the input device 40 alone, the receipt cannot be issued because the printer 30 cannot be used. However, for example, the following alternative method may be used. The second data processing unit 403 converts the contents of the transaction into a two-dimensional code, and displays the two-dimensional code on the sub-display 42. Then, by having the customer read the two-dimensional code displayed on the sub-display 42 with a mobile terminal such as a smartphone owned by the customer, the contents of the transaction are electronically provided to the customer instead of the paper receipt.

また、他の方法としては、取引の際にカードリーダ43を介して客の識別情報が入力された場合には、当該識別情報を販売データに含めて記憶しておく。次いで、停電状態から回復後、入力装置40から本体部10に販売データを送信する。そして、本体部10のCPU11は、送信された販売データに含まれる識別情報に基づき、当該識別情報に対応付けて予め記憶された電子メールアドレス等の送信先に、販売データの内容を電子レシートとして送信する。 As another method, when the customer's identification information is input via the card reader 43 at the time of transaction, the identification information is included in the sales data and stored. Then, after recovering from the power failure state, the sales data is transmitted from the input device 40 to the main body 10. Then, the CPU 11 of the main body 10 sets the contents of the sales data as an electronic receipt to a destination such as an e-mail address stored in advance in association with the identification information based on the identification information included in the transmitted sales data. Send.

これにより、商品販売データ処理装置1では、停電発生により本体部10がシャットダウンした後であっても、入力装置40を用いて取引(商品販売データ処理)を行うことができる。また、本体部10を動作させるよりも、入力装置40を動作させた方が消費電力を抑えることができるため、商品販売データ処理をより長い時間継続させることができる。さらに、停電の発生により、本体部10での取引(商品販売データ処理)が中断された場合であっても、入力装置40で当該取引を引き継ぐことができるため、処理の円滑化を図ることができる。 As a result, the product sales data processing device 1 can perform a transaction (product sales data processing) using the input device 40 even after the main body 10 is shut down due to the occurrence of a power failure. Further, since the power consumption can be suppressed by operating the input device 40 rather than operating the main body 10, the product sales data processing can be continued for a longer time. Further, even if the transaction (commodity sales data processing) in the main body 10 is interrupted due to the occurrence of a power failure, the transaction can be taken over by the input device 40, so that the processing can be facilitated. can.

復帰処理部404は、本体部10が停電状態から復帰した際に、記憶部47に記憶された販売データを本体部10に送信する。具体的には、復帰処理部404は、本体部10が外部電源OPからの供給電源で起動したことを確認すると、記憶部47に記憶された販売データを本体部10に送信する。これにより、復帰処理部404は、入力装置40で実行された取引(商品販売データ処理)の販売データを、本体部10に集約させることができる。なお、復帰処理部404は、上記した動作モード切替部401と同様の方法(条件)で、本体部10が外部電源OPからの供給電源で起動したことを確認してもよい。 When the main body 10 recovers from the power failure state, the return processing unit 404 transmits the sales data stored in the storage 47 to the main body 10. Specifically, when the return processing unit 404 confirms that the main body unit 10 is activated by the power supply from the external power supply OP, the return processing unit 404 transmits the sales data stored in the storage unit 47 to the main body unit 10. As a result, the return processing unit 404 can aggregate the sales data of the transaction (commodity sales data processing) executed by the input device 40 into the main body unit 10. The return processing unit 404 may confirm that the main body 10 is started by the power supply from the external power supply OP by the same method (condition) as the operation mode switching unit 401 described above.

次に、図7及び図8を参照して、商品販売データ処理装置1の動作について説明する。 Next, the operation of the product sales data processing device 1 will be described with reference to FIGS. 7 and 8.

図7は、商品販売データ処理装置1が停電発生時に実行する処理の一例を示すフローチャートである。なお、本処理の前提として、商品販売データ処理装置1は外部電源OPから供給される電力により動作中であるとする。 FIG. 7 is a flowchart showing an example of processing executed by the product sales data processing device 1 when a power failure occurs. As a premise of this processing, it is assumed that the product sales data processing device 1 is operating by the electric power supplied from the external power supply OP.

本体部10の停電検知部103は、外部電源OPから供給される電力を監視し、停電が発生したか否かを判定する(ステップS11)。外部電源OPから供給される電力量が所定の閾値以上の場合、停電検知部103は、ステップS11を繰り返し実行する(ステップS11;No)。第1データ処理部102は、停電検知部103により停電発生が検知されるまでの間、商品販売データ処理を実行することができる。 The power failure detection unit 103 of the main body 10 monitors the power supplied from the external power supply OP and determines whether or not a power failure has occurred (step S11). When the amount of power supplied from the external power supply OP is equal to or greater than a predetermined threshold value, the power failure detection unit 103 repeatedly executes step S11 (step S11; No). The first data processing unit 102 can execute the product sales data processing until the power failure detection unit 103 detects the occurrence of a power failure.

外部電源OPから供給される電力量が閾値を下回ると、停電検知部103は、停電発生として検知する(ステップS11;Yes)。停電発生が検知されると、電源切替部104は、供給元の電源を外部電源OPから内部電源17に切り替える(ステップS12)。 When the amount of power supplied from the external power supply OP falls below the threshold value, the power failure detection unit 103 detects that a power failure has occurred (step S11; Yes). When the occurrence of a power failure is detected, the power supply switching unit 104 switches the power supply of the supply source from the external power supply OP to the internal power supply 17 (step S12).

続いて、停電処理部105は、動作モードの切り替えを入力装置40に指示した後(ステップS13)、停電処理を開始する。そして、停電処理部105は、RAM13上のデータを記憶部14に退避させ、本体部10をシャットダウンする(ステップS14)。なお、停電処理部105は、本体部10をシャットダウンする前に、記憶部14に停電フラグを記憶させる。 Subsequently, the power failure processing unit 105 starts the power failure processing after instructing the input device 40 to switch the operation mode (step S13). Then, the power failure processing unit 105 saves the data on the RAM 13 to the storage unit 14 and shuts down the main body unit 10 (step S14). The power failure processing unit 105 stores the power failure flag in the storage unit 14 before shutting down the main body unit 10.

一方、入力装置40は、本体部10から動作モードの切り替えが指示されるまでの間、デバイスモードで動作する(ステップS21→ステップS22;No)。本体部10から動作モードの切り替えが指示されると(ステップS22;Yes)、動作モード切替部401は、入力装置40の動作モードをデバイスモードからスタンドアロンモードに切り替える(ステップS23)。スタンドアロンモードへの切り替えに伴い、第2データ処理部403が有効化される(ステップS24)。ステップS24以降、入力装置40では、本体部10から独立して商品販売データ処理を実行することができる。 On the other hand, the input device 40 operates in the device mode until the main body 10 instructs the switching of the operation mode (step S21 → step S22; No). When the main body 10 instructs the switching of the operation mode (step S22; Yes), the operation mode switching unit 401 switches the operation mode of the input device 40 from the device mode to the stand-alone mode (step S23). With the switch to the stand-alone mode, the second data processing unit 403 is activated (step S24). After step S24, the input device 40 can execute the product sales data processing independently of the main body 10.

図8は、商品販売データ処理装置1が停電状態からの復帰時に実行する処理の一例を示すフローチャートである。なお、本処理の前提として、入力装置40はスタンドアロンモードで動作中であるとする。また、本処理では、停電発生時に記憶された停電フラグに基づき、本体部10から入力装置40に動作モードの切り替えを指示する例について説明する。 FIG. 8 is a flowchart showing an example of processing executed by the product sales data processing device 1 when returning from a power failure state. As a premise of this process, it is assumed that the input device 40 is operating in the stand-alone mode. Further, in this process, an example of instructing the input device 40 to switch the operation mode from the main body 10 based on the power failure flag stored when the power failure occurs will be described.

停電からの復帰後、本体部10が起動すると(ステップS31)、CPU11は、入力装置40に対し動作モードの切り替えを指示する(ステップS32)。なお、記憶部14に停電フラグが存在しない場合には、CPU11は、ステップS32、S33をスキップし、本処理を終了する。 When the main body 10 is activated after recovering from the power failure (step S31), the CPU 11 instructs the input device 40 to switch the operation mode (step S32). If the power failure flag does not exist in the storage unit 14, the CPU 11 skips steps S32 and S33 and ends this process.

一方、入力装置40は、本体部10から動作モードの切り替えが指示されるまでの間、スタンドアロンモードで動作する(ステップS41→ステップS42;No)。本体部10から動作モードの切り替えが指示されると(ステップS42;Yes)、復帰処理部404は、記憶部47に記憶されている販売データを本体部10に送信する(ステップS43)。 On the other hand, the input device 40 operates in the stand-alone mode until the main body 10 instructs the switching of the operation mode (step S41 → step S42; No). When the main body 10 instructs to switch the operation mode (step S42; Yes), the return processing unit 404 transmits the sales data stored in the storage unit 47 to the main body 10 (step S43).

続いて、動作モード切替部401は、入力装置40の動作モードをスタンドアロンモードからデバイスモードに切り替える(ステップS44)。デバイスモードへの切り替えに伴い、第2データ処理部403が無効化される(ステップS45)。 Subsequently, the operation mode switching unit 401 switches the operation mode of the input device 40 from the stand-alone mode to the device mode (step S44). With the switching to the device mode, the second data processing unit 403 is invalidated (step S45).

本体部10の第1データ処理部102は、入力装置40から販売データを受信すると、その販売データを記憶部14に格納する(ステップS33)。ステップS33以降、本体部10は、入力装置40と協働して商品販売データ処理を実行することができる。 When the first data processing unit 102 of the main body unit 10 receives the sales data from the input device 40, the first data processing unit 102 stores the sales data in the storage unit 14 (step S33). After step S33, the main body 10 can execute the product sales data processing in cooperation with the input device 40.

以上のように、商品販売データ処理装置1では、外部電源OPに停電が発生した場合に、内部電源17の電力を用いて本体部10を安全にシャットダウンさせることができるため、データの損失等を防ぐことができる。また、商品販売データ処理装置1では、停電の発生により本体部10がシャットダウンした後であっても、内部電源17の電力を用いて入力装置40で商品販売データ処理を実行することができる。したがって、商品販売データ処理装置1では、停電発生により本体部10がシャットダウンした後でも、商品販売データ処理を継続して行うことができるため、停電発生時の店頭販売を支援することができる。 As described above, in the product sales data processing device 1, when a power failure occurs in the external power supply OP, the main body 10 can be safely shut down by using the power of the internal power supply 17, so that data loss or the like can be caused. Can be prevented. Further, in the product sales data processing device 1, even after the main body 10 is shut down due to the occurrence of a power failure, the product sales data processing can be executed by the input device 40 using the power of the internal power source 17. Therefore, in the product sales data processing device 1, even after the main body 10 is shut down due to the occurrence of a power failure, the product sales data processing can be continuously performed, so that it is possible to support over-the-counter sales in the event of a power failure.

以上、本発明の実施形態を説明したが、上記の実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。上記の新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更、組み合わせを行うことができる。上記の実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although the embodiments of the present invention have been described above, the above-described embodiments are presented as examples and are not intended to limit the scope of the invention. The above-mentioned novel embodiment can be implemented in various other embodiments, and various omissions, replacements, changes, and combinations can be made without departing from the gist of the invention. The above-described embodiments and modifications thereof are included in the scope and gist of the invention, and are also included in the scope of the invention described in the claims and the equivalent scope thereof.

例えば、上記実施形態では、停電の発生(内部電源17への切り替え)に伴い、入力装置40をスタンドアロンモードに切り替える構成としたが、切り替えの要否をユーザに確認する構成としてもよい。この構成を採用する場合、例えば、停電処理部105又は動作モード切替部401は、スタンドアロンモードへの切り替えを確認する画面を、メイン表示器20又はサブ表示器42に表示させる。そして、停電処理部105又は動作モード切替部401は、ユーザが切り替えを指示する操作を行った場合に、動作モードの切り替えを入力装置40に指示したり、入力装置40をスタンドアロンモードに切り替えたりする。 For example, in the above embodiment, the input device 40 is switched to the stand-alone mode when a power failure occurs (switching to the internal power supply 17), but the user may be asked to confirm the necessity of the switching. When this configuration is adopted, for example, the power failure processing unit 105 or the operation mode switching unit 401 causes the main display 20 or the sub display 42 to display a screen for confirming the switching to the stand-alone mode. Then, the power failure processing unit 105 or the operation mode switching unit 401 instructs the input device 40 to switch the operation mode or switches the input device 40 to the stand-alone mode when the user performs an operation instructing the switching. ..

また、上記実施形態では、停電状態からの復帰時に入力装置40から本体部10に販売データを送信する構成としたが、入力装置40で取引途中のデータがRAM46に保持されている場合には、当該データも本体部10に送信する構成としてもよい。なお、本体部10の第1データ処理部102は、入力装置40から取引途中のデータを受信すると、当該データに基づいて取引(商品販売データ処理)を引き継ぐものとする。これにより、本体部10と入力装置40との間で、取引途中のデータを相互に引き継ぐことができるため、取引を円滑に進めることができる。 Further, in the above embodiment, the sales data is transmitted from the input device 40 to the main body 10 when returning from the power failure state, but when the input device 40 holds the data in the middle of the transaction in the RAM 46, The data may also be transmitted to the main body 10. When the first data processing unit 102 of the main body unit 10 receives data in the middle of a transaction from the input device 40, the first data processing unit 102 shall take over the transaction (commodity sales data processing) based on the data. As a result, the data in the middle of the transaction can be mutually inherited between the main body 10 and the input device 40, so that the transaction can proceed smoothly.

また、上記実施形態では、停電処理により本体部10がシャットダウンした後も、入力装置40を用いて商品販売データ処理を行うことができるが、入力装置40の動作時間は内部電源17の電池残量に依存する。そこで、内部電源17の電池切れによる入力装置40の強制終了を回避するため、入力装置40が動作可能な残り時間等をサブ表示器42に表示する構成としてもよい。この構成を採用する場合、例えば、入力装置40のCPU44は、電源供給部16と協働し内部電源17の電池残量から算出した残り時間や、内部電源17の電池容量に応じて予め設定された残り時間を、カウントダウンしながらサブ表示器42に表示させてもよい。また、残り時間がゼロに達するような場合には、CPU44は、RAM46上のデータを記憶部47に退避した後、入力装置40の動作を安全に停止させるものとする。 Further, in the above embodiment, the product sales data processing can be performed using the input device 40 even after the main body 10 is shut down due to the power failure processing, but the operating time of the input device 40 is the remaining battery level of the internal power supply 17. Depends on. Therefore, in order to avoid forced termination of the input device 40 due to the battery of the internal power supply 17, the sub-display 42 may be configured to display the remaining time during which the input device 40 can operate. When adopting this configuration, for example, the CPU 44 of the input device 40 is preset in cooperation with the power supply unit 16 according to the remaining time calculated from the remaining battery level of the internal power supply 17 and the battery capacity of the internal power supply 17. The remaining time may be displayed on the sub display 42 while counting down. When the remaining time reaches zero, the CPU 44 saves the data on the RAM 46 to the storage unit 47, and then safely stops the operation of the input device 40.

また、上記実施形態の各装置で実行されるプログラムは、当該装置が備える記憶媒体に予め組み込んで提供するが、これに限らないものとする。例えば、プログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。更に、記憶媒体は、コンピュータ或いは組み込みシステムと独立した媒体に限らず、LANやインターネット等により伝達されたプログラムをダウンロードして記憶又は一時記憶した記憶媒体も含まれる。 Further, the program executed by each device of the above-described embodiment is provided by incorporating it into a storage medium included in the device in advance, but the present invention is not limited to this. For example, the program is recorded on a computer-readable recording medium such as a CD-ROM, flexible disk (FD), CD-R, or DVD (Digital Versatile Disk) in an installable or executable format. It may be configured to provide. Further, the storage medium is not limited to a medium independent of a computer or an embedded system, but also includes a storage medium in which a program transmitted by a LAN, the Internet, or the like is downloaded and stored or temporarily stored.

また、上記実施形態の各装置で実行されるプログラムをインターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることで提供してもよいし、インターネット等のネットワーク経由で提供又は配布するように構成してもよい。 Further, the program executed by each device of the above embodiment may be stored on a computer connected to a network such as the Internet and provided by downloading via the network, or may be provided via a network such as the Internet. It may be configured to be distributed.

1 商品販売データ処理装置
10 本体部
20 メイン表示器
30 プリンタ
40 入力装置
41 キーボード
42 サブ表示器
43 カードリーダ
101 第1表示制御部
102 第1データ処理部
103 停電検知部
104 電源切替部
105 停電処理部
401 動作モード切替部
402 第2表示制御部
403 第2データ処理部
404 復帰処理部
1 Product sales data processing device 10 Main unit 20 Main display 30 Printer 40 Input device 41 Keyboard 42 Sub display 43 Card reader 101 1st display control unit 102 1st data processing unit 103 Power failure detection unit 104 Power switching unit 105 Power failure processing Unit 401 Operation mode switching unit 402 Second display control unit 403 Second data processing unit 404 Return processing unit

特開2013−54577号公報Japanese Unexamined Patent Publication No. 2013-54577

Claims (6)

商品の販売に係るデータ処理を実行する商品販売データ処理装置であって、
自装置に接続される周辺機器と協働して前記データ処理を実行する本体部と、
前記周辺機器として動作する第1動作モードと、前記本体部とは独立して前記データ処理を実行可能な第2動作モードとを有する入力装置と、
内部電源と、
外部電源の電力を前記本体部及び前記入力装置に供給し、前記外部電源が停電したことを条件に、前記内部電源に切り替えて電力を供給する電力供給手段と、
前記外部電源から前記内部電源に切り替わったことを条件に、前記本体部が保持する処理途中のデータを前記入力装置に送信し、前記本体部の動作を停止させる停電処理手段と、
前記外部電源が非停電状態の間、前記入力装置を前記第1動作モードで動作させ、前記外部電源から前記内部電源に切り替わると、前記入力装置を前記第2動作モードで動作させて、前記処理途中のデータのデータ処理を引き継がせる動作モード切替手段と、
を備える商品販売データ処理装置。
A product sales data processing device that executes data processing related to product sales.
The main unit that executes the data processing in cooperation with the peripheral devices connected to the own device,
An input device having a first operation mode that operates as the peripheral device and a second operation mode that can execute the data processing independently of the main body unit.
With internal power supply
A power supply means for supplying power to the main body and the input device and switching to the internal power supply to supply power on condition that the external power supply has a power failure.
On condition that the external power supply is switched to the internal power supply, the power failure processing means for transmitting the data in the process of being held by the main body to the input device and stopping the operation of the main body, and the power failure processing means.
While the external power supply is in a non-power failure state, the input device is operated in the first operation mode, and when the external power supply is switched to the internal power supply, the input device is operated in the second operation mode to perform the processing. and the operation mode switching means for Ru to take over the data processing in the middle of the data,
Product sales data processing device equipped with.
商品の販売に係るデータ処理を実行する商品販売データ処理装置であって、
周辺機器として動作する第1動作モードと、自装置とは独立して前記データ処理を実行可能な第2動作モードとを有する入力装置に接続され、前記第1動作モードで動作する前記入力装置と協働して前記データ処理を実行する本体部と、
内部電源と、
外部電源の電力を前記本体部及び前記入力装置に供給し、前記外部電源が停電したことを条件に、前記内部電源に切り替えて電力を供給する電力供給手段と、
前記外部電源から前記内部電源に切り替わったことを条件に、前記本体部が保持する処理途中のデータを前記入力装置に送信し、前記本体部の動作を停止させる停電処理手段と、
前記外部電源が非停電状態の間、前記入力装置を前記第1動作モードで動作させ、前記外部電源から前記内部電源に切り替わると、前記入力装置を前記第2動作モードに切り替えて、前記処理途中のデータのデータ処理を引き継がせる動作モード切替手段と、
を備える商品販売データ処理装置。
A product sales data processing device that executes data processing related to product sales.
An input device connected to an input device having a first operation mode that operates as a peripheral device and a second operation mode that can execute the data processing independently of the own device, and operates in the first operation mode. The main unit that collaborates to execute the data processing,
With internal power supply
A power supply means for supplying power to the main body and the input device and switching to the internal power supply to supply power on condition that the external power supply has a power failure.
On condition that the external power supply is switched to the internal power supply, the power failure processing means for transmitting the data in the process of being held by the main body to the input device and stopping the operation of the main body, and the power failure processing means.
When the input device is operated in the first operation mode while the external power supply is in a non-power failure state and the external power supply is switched to the internal power supply, the input device is switched to the second operation mode and the process is in progress. and the operation mode switching means for Ru to take over the data processing of data,
Product sales data processing device equipped with.
前記動作モード切替手段は、動作モードの切り替えを前記入力装置に指示することで、当該入力装置を前記第2動作モードに移行させる請求項2に記載の商品販売データ処理装置。 The product sales data processing device according to claim 2, wherein the operation mode switching means shifts the input device to the second operation mode by instructing the input device to switch the operation mode. 商品の販売に係るデータ処理を実行する商品販売データ処理装置に接続され、当該商品販売データ処理装置から供給される電力により動作する入力装置であって、
入力デバイスと、
表示デバイスと、
前記商品販売データ処理装置の状態に応じて、自装置の動作モードを、前記商品販売データ処理装置の周辺機器として動作する第1動作モードと、前記商品販売データ処理装置とは独立して前記データ処理を実行可能な第2動作モードとの何れか一方に切り替える動作モード切替手段と、
前記第2動作モードへの切り替え時に、前記商品販売データ処理装置が保持する処理途中のデータを前記商品販売データ処理装置から受信し、前記第2動作モードに切り替わったことを条件に、前記処理途中のデータのデータ処理を、前記入力デバイス及び前記表示デバイスを用いて実行するデータ処理手段と、
を備える入力装置。
An input device that is connected to a product sales data processing device that executes data processing related to product sales and operates by the power supplied from the product sales data processing device.
Input device and
Display device and
According to the state of the product sales data processing device, the operation mode of the own device is set to the first operation mode in which the operation mode operates as a peripheral device of the product sales data processing device, and the data is independent of the product sales data processing device. An operation mode switching means for switching to either one of the second operation modes in which processing can be executed, and
On the condition that when switching to the second operation mode, the data in the process of being held by the product sales data processing device is received from the product sales data processing device and the mode is switched to the second operation mode, the processing is in progress. and data processing means for data processing of the data, run using the input device and the display device,
An input device comprising.
前記動作モード切替手段は、前記商品販売データ処理装置から供給される電力の供給元となる電源が、外部電源から前記商品販売データ処理装置が保持する内部電源に切り替わったことを条件に、自装置の動作モードを前記第1動作モードから前記第2動作モードに切り替える請求項4に記載の入力装置。 The operation mode switching means is a self-device on condition that the power supply source of the electric power supplied from the product sales data processing device is switched from the external power source to the internal power source held by the product sales data processing device. The input device according to claim 4, wherein the operation mode of the above is switched from the first operation mode to the second operation mode. 周辺機器と協働して商品の販売に係るデータ処理を実行する本体部と、前記周辺機器として動作する第1動作モードと、前記本体部とは独立して前記データ処理を実行可能な第2動作モードとを有する入力装置と、内部電源とを備えた商品販売データ処理装置のコンピュータを、
外部電源の電力を前記本体部及び前記入力装置に供給し、前記外部電源が停電したことを条件に、前記内部電源に切り替えて電力を供給する電力供給手段と、
前記外部電源から前記内部電源に切り替わったことを条件に、前記本体部が保持する処理途中のデータを前記入力装置に送信し、前記本体部の動作を停止させる停電処理手段と、
前記外部電源が非停電状態の間、前記入力装置を前記第1動作モードで動作させ、前記外部電源から前記内部電源に切り替わると、前記入力装置を前記第2動作モードで動作させて、前記処理途中のデータのデータ処理を引き継がせる動作モード切替手段と、
して機能させるためのプログラム。
A main body that executes data processing related to product sales in cooperation with peripheral devices, a first operation mode that operates as the peripheral device, and a second that can execute the data processing independently of the main body. A computer of a product sales data processing device equipped with an input device having an operation mode and an internal power supply.
A power supply means for supplying power to the main body and the input device and switching to the internal power supply to supply power on condition that the external power supply has a power failure.
On condition that the external power supply is switched to the internal power supply, the power failure processing means for transmitting the data in the process of being held by the main body to the input device and stopping the operation of the main body, and the power failure processing means.
While the external power supply is in a non-power failure state, the input device is operated in the first operation mode, and when the external power supply is switched to the internal power supply, the input device is operated in the second operation mode to perform the processing. and the operation mode switching means for Ru to take over the data processing in the middle of the data,
A program to make it work.
JP2017197190A 2017-10-10 2017-10-10 Product sales data processing equipment, input equipment and programs Active JP6964480B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017197190A JP6964480B2 (en) 2017-10-10 2017-10-10 Product sales data processing equipment, input equipment and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017197190A JP6964480B2 (en) 2017-10-10 2017-10-10 Product sales data processing equipment, input equipment and programs

Publications (2)

Publication Number Publication Date
JP2019070976A JP2019070976A (en) 2019-05-09
JP6964480B2 true JP6964480B2 (en) 2021-11-10

Family

ID=66441190

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017197190A Active JP6964480B2 (en) 2017-10-10 2017-10-10 Product sales data processing equipment, input equipment and programs

Country Status (1)

Country Link
JP (1) JP6964480B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2889038B2 (en) * 1992-02-25 1999-05-10 シャープ株式会社 POS system
JPH08153278A (en) * 1994-11-30 1996-06-11 Tec Corp Commodity sales registering data processor
JP5779551B2 (en) * 2012-06-25 2015-09-16 京セラドキュメントソリューションズ株式会社 Electronics
EP2816516A1 (en) * 2013-06-19 2014-12-24 MY E.G. Services Berhad Universal sales data processing device
JP6166668B2 (en) * 2014-02-12 2017-07-19 東芝テック株式会社 Power supply control circuit and electronic device
JP6286379B2 (en) * 2015-02-10 2018-02-28 東芝テック株式会社 Merchandise sales data processing apparatus, data processing terminal and control program thereof, and station apparatus and control program thereof

Also Published As

Publication number Publication date
JP2019070976A (en) 2019-05-09

Similar Documents

Publication Publication Date Title
US10504097B2 (en) Commodity sales data processing apparatus and method for controlling executable job by the same
JP5788440B2 (en) Product sales data processing apparatus and control program
JP2015022359A (en) Commodity sales data processor, information terminal and control program
JP5372903B2 (en) Sales data processor
EP3637343A1 (en) Sales data processing apparatus
JP6964480B2 (en) Product sales data processing equipment, input equipment and programs
JP6226815B2 (en) Product sales data processing device, information terminal and control program
JP6293240B2 (en) Information terminal
JP5000461B2 (en) Product sales data processing device
JP2015032022A (en) Settlement terminal and program
EP3757953A1 (en) Wireless communication module and system
JP2013058097A (en) Article sale data processing apparatus
EP3432243A1 (en) Information processing apparatus and control method for an information processing apparatus
JP7297046B2 (en) mobile terminal
JP4910030B2 (en) Electronics
JP6563552B2 (en) Product sales data processing device, information terminal, and control program
JP6155372B2 (en) Information terminal
JP6333448B2 (en) Product sales data processing device, information terminal, and control program
JP2018026170A (en) Settlement terminal and program
JP6042503B2 (en) Information terminal
JP5379764B2 (en) Product sales data processing apparatus and program
JP6999440B2 (en) Product sales data processing equipment and programs
JP6159831B2 (en) Product sales data processing device, information terminal, and control program
JP2019179580A (en) Docking station
JP2019220197A (en) Settlement terminal, commodity sales data processing apparatus, program, and processing method of electric money

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200619

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210524

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210601

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210727

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211019

R150 Certificate of patent or registration of utility model

Ref document number: 6964480

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150