JP2019070976A - Commodity sales data processing device, input device, and program - Google Patents

Commodity sales data processing device, input device, and program Download PDF

Info

Publication number
JP2019070976A
JP2019070976A JP2017197190A JP2017197190A JP2019070976A JP 2019070976 A JP2019070976 A JP 2019070976A JP 2017197190 A JP2017197190 A JP 2017197190A JP 2017197190 A JP2017197190 A JP 2017197190A JP 2019070976 A JP2019070976 A JP 2019070976A
Authority
JP
Japan
Prior art keywords
data processing
power supply
operation mode
input device
sales data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017197190A
Other languages
Japanese (ja)
Other versions
JP6964480B2 (en
Inventor
克行 鈴木
Katsuyuki Suzuki
克行 鈴木
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

Abstract

To provide a commodity sales data processing device, an input device, and a program capable of supporting the over-the-counter sales at power failure.SOLUTION: The commodity sales data processing device executing data processing related to commodity sales, includes: a main body part executing the data processing in cooperation with peripheral devices connected to an own device; an input device having a first operation mode operating as the peripheral devices and a second operation mode capable of executing the data processing independently from the main body part; an internal power source; power supply means supplying power of an external power source to the main body part and the input device and supplying power by switching the external power source to the internal power source on condition that the external power source is interrupted; power failure processing means stopping the operation of the main body part on condition that the external power source is switched to the internal power source; and operation mode switching means for operating the input device in the first operation mode while the external power source is in a non-power failure state and operating the input device in the second operation mode when the external power source is switched to the internal power source.SELECTED DRAWING: Figure 6

Description

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

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

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

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

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

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

実施形態の商品販売データ処理装置は、商品の販売に係るデータ処理を実行する商品販売データ処理装置であって、自装置に接続される周辺機器と協働して前記データ処理を実行する本体部と、前記周辺機器として動作する第1動作モードと、前記本体部とは独立して前記データ処理を実行可能な第2動作モードとを有する入力装置と、内部電源と、外部電源の電力を前記本体部及び前記入力装置に供給し、前記外部電源が停電したことを条件に、前記内部電源に切り替えて電力を供給する電力供給手段と、前記外部電源から前記内部電源に切り替わったことを条件に、前記本体部の動作を停止させる停電処理手段と、前記外部電源が非停電状態の間、前記入力装置を前記第1動作モードで動作させ、前記外部電源から前記内部電源に切り替わると、前記入力装置を前記第2動作モードで動作させる動作モード切替手段と、を備える。   The commodity sales data processing apparatus according to the embodiment is a commodity sales data processing apparatus that executes data processing related to commodity sales, and a main unit that executes the data processing in cooperation with peripheral devices connected to the own apparatus. An input device having a first operation mode operating as the peripheral device, and a second operation mode capable of executing the data processing independently of the main body, an internal power supply, and an external power supply. Power supply means for supplying power to the main body and the input device, and switching to the internal power supply on condition that the external power supply fails, and on condition that the external power supply has been switched to the internal power supply Power failure processing means for stopping the operation of the main body, and operating the input device in the first operation mode while the external power supply is in a power failure state, and switching the external power supply to the internal power supply If that, and an operation mode switching means for operating at the input device and the second operation mode.

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

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

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

図1〜図3に示すように、商品販売データ処理装置1は、本体部10と、メイン表示器20と、プリンタ30と、入力装置40とを備える。   As shown in FIGS. 1 to 3, the commodity 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 portion 10 has a thin box shape, and is formed such that the dimension in the height direction decreases from the back side to the front side of the commodity sales data processing apparatus 1. The main unit 10 internally includes a CPU 11 and an internal power supply 17 described later.

本体部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 configured 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 commodity sales data processing apparatus 1. In the present embodiment, the main display 20 mounts the 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 on which a breakdown of one transaction (product sales data processing) is printed from the issue port 30a. The receipt issue port 30 a is directed to the front side of the commodity sales data processing apparatus 1.

また、本体部10の上面には、入力装置40が設けられる。入力装置40は、メイン表示器20の前面側に設置され、ユーザからの操作入力を受け付ける。   In addition, an input device 40 is provided on the upper surface of the main body unit 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 numeric 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 configured by an LCD or the like, and displays various screens. For example, the sub display 42 displays various GUIs related to the operation of the commodity sales data processing apparatus 1. In the present embodiment, the sub-display 42 mounts the 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 unit 10. The main body unit 10 cooperates with the main display 20, the printer 30, and the input device 40 to execute commodity sales data processing related to the commodity sales. The main display 20, the printer 30, and the input device 40 may be configured integrally with the main body 10, or may be removable 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 mounted is provided. Specifically, the mounting surface 10 a is provided across the width direction of the main body 10, and has an L-shaped shape along the layout of the printer 30 and the input device 40. In addition, the attachment position and layout of each part which comprise the goods sales data processing apparatus 1 shall not be limited to the example of FIGS. 1-3. Further, the commodity sales data processing apparatus 1 may be provided with an apparatus (peripheral device) such as a drawer or an automatic change machine for storing money.

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

図5に示すように、商品販売データ処理装置1は、上述した本体部10、メイン表示器20、プリンタ30及び入力装置40を備える。メイン表示器20、プリンタ30及び入力装置40は、本体部10に接続される。メイン表示器20、プリンタ30及び入力装置40は、本体部10から供給される電力によって動作するとともに、本体部10によりその動作が制御される。   As shown in FIG. 5, the commodity sales data processing apparatus 1 includes the main unit 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 unit 10. The main display 20, the printer 30, and the input device 40 operate by the power supplied from the main body unit 10, and the operations thereof are controlled by the main body unit 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 unit 10 includes computer configurations such as a central processing unit (CPU) 11, a read only memory (ROM) 12, a random access memory (RAM) 13, and a storage unit 14. Further, the main body unit 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 develops the program stored in the ROM 12 or the storage unit 14 in the RAM 13 and executes the program, thereby integrally controlling the operation of the main unit 10 (the commodity sales data processing apparatus 1). The ROM 12 stores files such as various programs and various data used in processing of the various programs. The RAM 13 temporarily stores data during work.

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

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

内部電源17は、バッテリや二次電池等の電源である。商品販売データ処理装置1では、外部電源OPに停電が発生した際に内部電源17を使用することで、本体部10を安全に終了(シャットダウン)させることが可能となっている。なお、内部電源17の容量は特に問わないものとするが、少なくとも後述する停電処理を実行することが可能な容量を有するものとする。   The internal power supply 17 is a power supply such as a battery or a secondary battery. In the commodity sales data processing apparatus 1, when the power failure occurs in the external power supply OP, the main body unit 10 can be safely shut down by using the internal power supply 17. The capacity of the internal power source 17 is not particularly limited, but at least has a capacity capable of executing a power failure process 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. The input device 40 also has 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 develops the program stored in the ROM 45 or the storage unit 47 in the RAM 46 and executes the program to centrally control the operation of the input device 40. The ROM 45 stores files such as various programs and various data used in processing of the various programs. The RAM 46 temporarily stores data during work.

記憶部47は、HDDやSSD等の不揮発性の記憶媒体を備えた記憶装置である。記憶部47は、CPU44が実行可能な各種プログラムや、設定情報等の各種のデータファイルを記憶する。例えば、記憶部47は、本体部10と同様の商品マスタ(図示せず)を記憶する。また、記憶部47は、商品販売データ処理の実行により取引毎に生成される販売データを記憶する。   The storage unit 47 is a storage device provided with a non-volatile storage medium such as an HDD or an 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 that of the main unit 10. In addition, the storage unit 47 stores sales data generated for each transaction by execution of the commodity sales data processing.

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

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

本体部10は、CPU11と記憶部14等に記憶されたプログラムとの協働により実現される機能部として、第1表示制御部101と、第1データ処理部102と、停電検知部103と、電源切替部104と、停電処理部105とを備える。なお、停電検知部103及び電源切替部104は、CPU11と電源供給部16との協働により実現されてもよいし、電源供給部16が備えるハードウェアにより実現される構成としてもよい。   The main body unit 10 is a functional unit realized by the cooperation of the CPU 11 and a program stored in the storage unit 14 or the like, the first display control unit 101, the first data processing unit 102, and the power failure detection unit 103; A power supply switching unit 104 and a power failure processing unit 105 are provided. The power failure detection unit 103 and the power supply switching unit 104 may be realized by the cooperation of the CPU 11 and the power supply unit 16, or may be realized by 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 a screen 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 goods and an operator for instructing the end of registration. Further, the first display control unit 101 causes the main display 20 to display the commodity name, the total amount, the payment amount, and the like of the registered commodity by cooperating with the first data processing unit 102.

また、第1表示制御部101は、入力装置40の第2表示制御部402と協働することで、サブ表示器42に表示する画面を制御する。例えば、第1表示制御部101は、メイン表示器20に表示した内容に関係する操作画面をサブ表示器42に表示させる。   Further, the first display control unit 101 controls the screen 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 (merchandise sales data processing) related to sales of goods. Specifically, the first data processing unit 102 executes, as commodity sales data processing, sales registration processing for registering a commodity to be sold and settlement processing for settling the registered commodity.

販売登録処理では、第1データ処理部102は、客が購入する商品を識別可能な商品コードの入力を受け付け、当該商品コードに対応する商品を商品マスタから特定する。そして、第1データ処理部102は、特定した商品の商品コードを、その商品の販売点数や金額等と関連付けてRAM13等に登録(格納)する。   In the sales registration process, the first data processing unit 102 receives an input of a product code that can identify a product purchased by a customer, and specifies a 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 sales score, the price, and 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 receive an input of a product code via the keyboard 41 of the input device 40. Also, a scanner device capable of reading a code symbol and a reader device capable of reading an RFID tag are connected to the commodity sales data processing device 1, and the commodity code is input via these devices (peripheral devices). The configuration may be In this case, the first data processing unit 102 receives, as input data, a code symbol attached to a product or a product code obtained by reading an RFID tag.

また、決済処理では、第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 settlement processing in which the total amount of each product registered in one transaction is settled with the amount paid by the customer (payment amount). The payment method may be cash settlement or electronic money settlement, regardless of the method of payment.

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

また、第1データ処理部102は、後述する停電の状態から復帰した際に、入力装置40から販売データを受信すると、その受信した販売データを記憶部14に格納する。   Further, when the first data processing unit 102 receives sales data from the input device 40 when returning from a 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 occurs when the value of the voltage (or current) falls below a predetermined threshold. The threshold is set in advance based on, for example, the value of the voltage (or current) required to operate the commodity sales data processing apparatus 1 normally.

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

さらに、電源切替部104は、外部電源OPが停電状態から復帰すると、切替回路16aの接続先を外部電源OPに切り替えることで、供給元の電源を外部電源OPに戻す。なお、停電検知部103及び電源切替部104は、電源供給部16(切替回路16a)とともに、電力供給手段の一例として機能する。   Furthermore, 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, thereby returning the power supply of the supply source to the external power supply OP. The power failure detection unit 103 and the power supply switching unit 104, together with the power supply unit 16 (switching circuit 16a), function as an example of a power supply unit.

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

停電処理部105は、停電処理を開始すると、RAM13が保持する取引途中のデータ等を記憶部14に退避させる。ここで、停電処理部105は、RAM13が保持する取引途中のデータを、動作モードの切り替え指示とともに入力装置40に送信してもよい。また、停電処理部105は、記憶部14に記憶されている商品マスタを、動作モードの切り替え指示とともに入力装置40に送信してもよい。   When the power failure processing starts, the power failure processing unit 105 saves the data etc. 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. In addition, 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 unit 10 in order to stop the operation of the main unit 10. As a result, the main unit 10 (the main display 20 and the printer 30) stops its operation, and the power consumption of the commodity sales data processing apparatus 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 unit 10 is due to a power failure process, the power failure processing unit 105 stores flag information (hereinafter referred to as a power failure flag) or the like indicating the execution of the power failure process It may be configured to be stored. Further, when adopting this configuration, the CPU 11 of the main unit 10 checks the presence or absence of the power failure flag when starting up the main unit 10 after recovery from the power failure state, and switches the operation mode when the power failure flag exists. A control signal to instruct 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 commodity sales data processing apparatus 1 functions as a functional unit realized by the cooperation of the CPU 44 and the program stored in the storage unit 47 etc. , A second data processing unit 403, and a return processing unit 404.

動作モード切替部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 an operation mode switching unit. 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 unit 10 is operated by the 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 unit 10, and corresponds to the first operation mode. In the device mode, the input device 40 transmits, to the main body unit 10, a signal corresponding to the operation content received via the keyboard 41 or the sub display 42. Further, in the device mode, the input device 40 displays a screen according to the display signal transmitted from the first display control unit 101 of the main body unit 10 on the sub display 42.

また、動作モード切替部401は、供給元の電源が内部電源17に切り替わると、入力装置40の動作モードをデバイスモードからスタンドアロンモードに切り替える。スタンドアロンモードは、本体部10から独立して動作することが可能な動作モードであり、第2動作モードに対応する。スタンドアロンモードでは、入力装置40は、後述する第2データ処理部403の機能により、入力装置40単体で商品販売データ処理を実行することが可能である。   Further, when the power supply of the supply source is switched to the internal power supply 17, the operation mode switching unit 401 switches the operation mode of the input device 40 from the device mode to the stand-alone mode. The stand-alone mode is an operation mode that can operate independently from the main unit 10, and corresponds to the second operation mode. In the stand-alone mode, the input device 40 can execute commodity sales data processing with 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, switching from the device mode to the stand-alone mode is performed on the condition that switching of the operation mode is instructed from the main body unit 10, but the switching condition is not limited to this. . For example, the operation mode switching unit 401 may switch to the standalone mode on condition that communication with the main unit 10 is interrupted, that is, on condition that operation of the main 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 supply from the external power supply OP, the operation mode switching unit 401 returns the operation mode of the input device 40 from the standalone mode to the device mode. For example, the operation mode switching unit 401 performs switching from the stand-alone mode to the device mode on condition that switching of the operation mode is instructed from 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 condition that communication with the main unit 10 is restored, that is, on condition that the main unit 10 is activated. Alternatively, switching to the device mode may be performed on the condition that a predetermined operation has been 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 displayed on the sub display 42. Specifically, under the device mode, the second display control unit 402 causes the sub display 42 to display various screens related to product sales data processing under the control of the main unit 10 (first display control unit 101). . In addition, the second display control unit 402 causes the sub display 42 to display various screens related to the commodity sales data processing in cooperation with the second data processing unit 403 in the stand-alone mode. Note that the second display control unit 402 may cause the sub display 42 to display information indicating the operation mode in progress, 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 a data processing unit, and is a functional unit that is enabled 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 unit 10, and executes the commodity sales data processing described above. That is, in the input device 40 operating in the stand-alone mode, the commodity 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 unit 10, the second data processing unit 403 takes over the transaction (product sales data process) based on the data. When the second data processing unit 403 receives a product master from the main unit 10, the second data processing unit 403 stores the product master in the storage unit 47, and executes product sales data processing based on the product master. .

第2データ処理部403は、一取引分の商品販売データ処理が完了すると、第1データ処理部102と同様に、その取引の内訳を示す販売データを記憶部47に格納する。なお、販売データは、入力装置40で処理された取引であることを示すフラグ情報等を含んでもよい。   When the commodity 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 as the first data processing unit 102 does. 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 commodity sales data process is executed by the input device 40 alone, the commodity code is inputted through the keyboard 41, but the method of inputting the commodity code is not limited to this. For example, a connector such as a USB (Universal Serial Bus) to which the above-described scanner device or reader device can be connected is provided in the input device 40, and a product code is input via the device connected to the connector. It is also good. In this case, it is preferable that the scanner device and the reader device be a bus power type device driven by using power supplied from the connector.

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

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

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

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

次に、図7及び図8を参照して、商品販売データ処理装置1の動作について説明する。   Next, the operation of the commodity sales data processing apparatus 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 performed by the commodity sales data processing apparatus 1 when a power failure occurs. As a premise of this processing, it is assumed that the commodity sales data processing apparatus 1 is operating with the 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 unit 10 monitors the power supplied from the external power supply OP, and determines whether or not a power failure has occurred (step S11). If the amount of power supplied from the external power supply OP is equal to or greater than the predetermined threshold, the power failure detection unit 103 repeatedly executes step S11 (step S11; No). The first data processing unit 102 can execute commodity sales data processing until the power failure detection unit 103 detects the occurrence of the 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, 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, after instructing the input device 40 to switch the operation mode (step S13), the power outage processing unit 105 starts the power outage process. Then, the power failure processing unit 105 saves the data on the RAM 13 in the storage unit 14 and shuts down the main 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 switching of the operation mode is instructed from the main body unit 10 (step S21 → step S22; No). When switching of the operation mode is instructed from the main body unit 10 (Step S22; Yes), the operation mode switching unit 401 switches the operation mode of the input device 40 from the device mode to the standalone mode (Step S23). Along with switching to the standalone mode, the second data processing unit 403 is validated (step S24). After step S24, the input device 40 can execute the commodity sales data processing independently of the main unit 10.

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

停電からの復帰後、本体部10が起動すると(ステップS31)、CPU11は、入力装置40に対し動作モードの切り替えを指示する(ステップS32)。なお、記憶部14に停電フラグが存在しない場合には、CPU11は、ステップS32、S33をスキップし、本処理を終了する。   After returning from the power failure, when the main body unit 10 is activated (step S31), the CPU 11 instructs the input device 40 to switch the operation mode (step S32). When the power failure flag does not exist in the storage unit 14, the CPU 11 skips steps S32 and S33, and ends the present 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 switching of the operation mode is instructed from the main body unit 10 (step S41 → step S42; No). When switching of the operation mode is instructed from the main body unit 10 (Step S42; Yes), the return processing unit 404 transmits the sales data stored in the storage unit 47 to the main body unit 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). Along 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 unit 10 can execute the commodity sales data processing in cooperation with the input device 40.

以上のように、商品販売データ処理装置1では、外部電源OPに停電が発生した場合に、内部電源17の電力を用いて本体部10を安全にシャットダウンさせることができるため、データの損失等を防ぐことができる。また、商品販売データ処理装置1では、停電の発生により本体部10がシャットダウンした後であっても、内部電源17の電力を用いて入力装置40で商品販売データ処理を実行することができる。したがって、商品販売データ処理装置1では、停電発生により本体部10がシャットダウンした後でも、商品販売データ処理を継続して行うことができるため、停電発生時の店頭販売を支援することができる。   As described above, the commodity sales data processing apparatus 1 can safely shut down the main unit 10 using the power of the internal power supply 17 when a power failure occurs in the external power supply OP. It can prevent. Further, in the product sales data processing apparatus 1, even after the main unit 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 supply 17. Therefore, the commodity sales data processing apparatus 1 can continue commodity sales data processing even after the main unit 10 is shut down due to the occurrence of a power failure, so that it is possible to support in-store sales at the occurrence of a power failure.

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

例えば、上記実施形態では、停電の発生(内部電源17への切り替え)に伴い、入力装置40をスタンドアロンモードに切り替える構成としたが、切り替えの要否をユーザに確認する構成としてもよい。この構成を採用する場合、例えば、停電処理部105又は動作モード切替部401は、スタンドアロンモードへの切り替えを確認する画面を、メイン表示器20又はサブ表示器42に表示させる。そして、停電処理部105又は動作モード切替部401は、ユーザが切り替えを指示する操作を行った場合に、動作モードの切り替えを入力装置40に指示したり、入力装置40をスタンドアロンモードに切り替えたりする。   For example, although the input device 40 is switched to the stand-alone mode in response to the occurrence of a power failure (switching to the internal power supply 17) in the above embodiment, it may be configured to confirm with the user whether or not switching is necessary. 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 switching to the stand-alone mode. Then, when the user performs an operation instructing switching, 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. .

また、上記実施形態では、停電状態からの復帰時に入力装置40から本体部10に販売データを送信する構成としたが、入力装置40で取引途中のデータがRAM46に保持されている場合には、当該データも本体部10に送信する構成としてもよい。なお、本体部10の第1データ処理部102は、入力装置40から取引途中のデータを受信すると、当該データに基づいて取引(商品販売データ処理)を引き継ぐものとする。これにより、本体部10と入力装置40との間で、取引途中のデータを相互に引き継ぐことができるため、取引を円滑に進めることができる。   In the above embodiment, sales data is transmitted from the input device 40 to the main unit 10 when returning from the power failure state. However, when data in the middle of a transaction is held in the RAM 46 by the input device 40, The data may also be transmitted to the main unit 10. When the first data processing unit 102 of the main unit 10 receives data in the middle of a transaction from the input device 40, the first data processing unit 102 takes over the transaction (product sales data processing) based on the data. Thereby, since the data in the middle of a transaction can be handed over mutually between main part 10 and input device 40, a transaction can be advanced 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 commodity sales data processing can be performed using the input device 40 even after the main unit 10 is shut down due to the power failure process. Depends on Therefore, in order to avoid the forced termination of the input device 40 due to the battery exhaustion of the internal power supply 17, the remaining time in which the input device 40 is operable may be displayed on the sub display 42. When this configuration is adopted, for example, the CPU 44 of the input device 40 is preset according to the remaining time calculated from the battery remaining amount of the internal power supply 17 in cooperation with the power supply unit 16 or 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 safely stops the operation of the input device 40 after saving the data in the RAM 46 to the storage unit 47.

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

また、上記実施形態の各装置で実行されるプログラムをインターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることで提供してもよいし、インターネット等のネットワーク経由で提供又は配布するように構成してもよい。   Also, the program executed by each device of the above embodiments may be stored on a computer connected to a network such as the Internet, and may be provided by downloading via the network, provided via the network such as the Internet, or 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 commodity sales data processing apparatus 10 main body 20 main display 30 printer 40 input device 41 keyboard 42 sub display 43 card reader 101 first display control section 102 first data processing section 103 power failure detection section 104 power switching section 105 power failure processing Unit 401 Operation mode switching unit 402 Second display control unit 403 Second data processing unit 404 Recovery processing unit

特開2013−54577号公報JP, 2013-54577, A

Claims (6)

商品の販売に係るデータ処理を実行する商品販売データ処理装置であって、
自装置に接続される周辺機器と協働して前記データ処理を実行する本体部と、
前記周辺機器として動作する第1動作モードと、前記本体部とは独立して前記データ処理を実行可能な第2動作モードとを有する入力装置と、
内部電源と、
外部電源の電力を前記本体部及び前記入力装置に供給し、前記外部電源が停電したことを条件に、前記内部電源に切り替えて電力を供給する電力供給手段と、
前記外部電源から前記内部電源に切り替わったことを条件に、前記本体部の動作を停止させる停電処理手段と、
前記外部電源が非停電状態の間、前記入力装置を前記第1動作モードで動作させ、前記外部電源から前記内部電源に切り替わると、前記入力装置を前記第2動作モードで動作させる動作モード切替手段と、
を備える商品販売データ処理装置。
A merchandise sales data processing apparatus that executes data processing related to sale of merchandise, comprising:
A main unit that performs the data processing in cooperation with peripheral devices connected to the device;
An input device having a first operation mode operating as the peripheral device and a second operation mode capable of executing the data processing independently of the main body unit;
Internal power supply,
Power supply means for supplying power from an external power supply to the main body and the input device, and switching to the internal power supply on the condition that the external power supply fails, to supply power;
Power failure processing means for stopping the operation of the main body on condition that the external power supply is switched to the internal power supply;
Operating mode switching means for operating the input device in the second operation mode when the external power supply operates in the first operation mode while the external power supply is in the uninterrupted state, and the external power supply switches to the internal power supply When,
A commodity sales data processing apparatus comprising:
商品の販売に係るデータ処理を実行する商品販売データ処理装置であって、
周辺機器として動作する第1動作モードと、自装置とは独立して前記データ処理を実行可能な第2動作モードとを有する入力装置に接続され、前記第1動作モードで動作する前記入力装置と協働して前記データ処理を実行する本体部と、
内部電源と、
外部電源の電力を前記本体部及び前記入力装置に供給し、前記外部電源が停電したことを条件に、前記内部電源に切り替えて電力を供給する電力供給手段と、
前記外部電源から前記内部電源に切り替わったことを条件に、前記本体部の動作を停止させる停電処理手段と、
前記外部電源が非停電状態の間、前記入力装置を前記第1動作モードで動作させ、前記外部電源から前記内部電源に切り替わると、前記入力装置を前記第2動作モードに切り替える動作モード切替手段と、
を備える商品販売データ処理装置。
A merchandise sales data processing apparatus that executes data processing related to sale of merchandise, comprising:
The input device connected to an input device having a first operation mode operating as a peripheral device and a second operation mode capable of executing the data processing independently of the own device, and operating in the first operation mode A main unit that cooperates to execute the data processing;
Internal power supply,
Power supply means for supplying power from an external power supply to the main body and the input device, and switching to the internal power supply on the condition that the external power supply fails, to supply power;
Power failure processing means for stopping the operation of the main body on condition that the external power supply is switched to the internal power supply;
Operation mode switching means for operating the input device in the first operation mode while the external power supply is in the uninterrupted state, and switching the input device to the second operation mode when the external power supply switches to the internal power supply; ,
A commodity sales data processing apparatus comprising:
前記動作モード切替手段は、動作モードの切り替えを前記入力装置に指示することで、当該入力装置を前記第2動作モードに移行させる請求項2に記載の商品販売データ処理装置。   The commodity sales data processing apparatus according to claim 2, wherein the operation mode switching means causes the input device to shift to the second operation mode by instructing the input device to switch the operation mode. 商品の販売に係るデータ処理を実行する商品販売データ処理装置に接続され、当該商品販売データ処理装置から供給される電力により動作する入力装置であって、
入力デバイスと、
表示デバイスと、
前記商品販売データ処理装置の状態に応じて、自装置の動作モードを、前記商品販売データ処理装置の周辺機器として動作する第1動作モードと、前記商品販売データ処理装置とは独立して前記データ処理を実行可能な第2動作モードとの何れか一方に切り替える動作モード切替手段と、
前記第2動作モードに切り替わったことを条件に、前記入力デバイス及び前記表示デバイスを用いて前記データ処理を実行するデータ処理手段と、
を備える入力装置。
It is an input device connected to a commodity sales data processing device that executes data processing related to the sale of commodities and operated by the power supplied from the commodity sales data processing device,
An input device,
A display device,
According to the state of the commodity sales data processing device, the operation mode of the own device is the first operation mode operating as a peripheral device of the commodity sales data processing device, and the data independently of the commodity sales data processing device Operation mode switching means for switching to any one of the second operation mode capable of executing processing;
Data processing means for executing the data processing using the input device and the display device on condition that switching to the second operation mode is performed;
An input device comprising
前記動作モード切替手段は、前記商品販売データ処理装置から供給される電力の供給元となる電源が、外部電源から前記商品販売データ処理装置が保持する内部電源に切り替わったことを条件に、自装置の動作モードを前記第1動作モードから前記第2動作モードに切り替える請求項4に記載の入力装置。   The operation mode switching means is an apparatus itself under the condition that a power source serving as a supply source of power supplied from the commodity sales data processing device is switched from an external power supply to an internal power source held by the commodity sales data processing device. The input device according to claim 4, wherein the operation mode of is switched from the first operation mode to the second operation mode. 周辺機器と協働して商品の販売に係るデータ処理を実行する本体部と、前記周辺機器として動作する第1動作モードと、前記本体部とは独立して前記データ処理を実行可能な第2動作モードとを有する入力装置と、内部電源とを備えた商品販売データ処理装置のコンピュータを、
外部電源の電力を前記本体部及び前記入力装置に供給し、前記外部電源が停電したことを条件に、前記内部電源に切り替えて電力を供給する電力供給手段と、
前記外部電源から前記内部電源に切り替わったことを条件に、前記本体部の動作を停止させる停電処理手段と、
前記外部電源が非停電状態の間、前記入力装置を前記第1動作モードで動作させ、前記外部電源から前記内部電源に切り替わると、前記入力装置を前記第2動作モードで動作させる動作モード切替手段と、
して機能させるためのプログラム。
A main unit that performs data processing related to sales of goods in cooperation with a peripheral device, a first operation mode that operates as the peripheral device, and a second that can execute the data processing independently of the main unit A computer of a commodity sales data processing device comprising an input device having an operation mode and an internal power supply,
Power supply means for supplying power from an external power supply to the main body and the input device, and switching to the internal power supply on the condition that the external power supply fails, to supply power;
Power failure processing means for stopping the operation of the main body on condition that the external power supply is switched to the internal power supply;
Operating mode switching means for operating the input device in the second operation mode when the external power supply operates in the first operation mode while the external power supply is in the uninterrupted state, and the external power supply switches to the internal power supply When,
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 true JP2019070976A (en) 2019-05-09
JP6964480B2 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)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05233962A (en) * 1992-02-25 1993-09-10 Sharp Corp Pos system
JPH08153278A (en) * 1994-11-30 1996-06-11 Tec Corp Commodity sales registering data processor
JP2014007614A (en) * 2012-06-25 2014-01-16 Kyocera Document Solutions Inc Electronic apparatus
JP2015005278A (en) * 2013-06-19 2015-01-08 エムワイ・イー・ジー・サーヴィシズ・バーハッド Common sales data process device
JP2015153022A (en) * 2014-02-12 2015-08-24 東芝テック株式会社 power control circuit and electronic equipment
JP2016148917A (en) * 2015-02-10 2016-08-18 東芝テック株式会社 Product sales data processing device, data processing terminal and control program of the same, as well as station device and control program of the same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05233962A (en) * 1992-02-25 1993-09-10 Sharp Corp Pos system
JPH08153278A (en) * 1994-11-30 1996-06-11 Tec Corp Commodity sales registering data processor
JP2014007614A (en) * 2012-06-25 2014-01-16 Kyocera Document Solutions Inc Electronic apparatus
JP2015005278A (en) * 2013-06-19 2015-01-08 エムワイ・イー・ジー・サーヴィシズ・バーハッド Common sales data process device
JP2015153022A (en) * 2014-02-12 2015-08-24 東芝テック株式会社 power control circuit and electronic equipment
JP2016148917A (en) * 2015-02-10 2016-08-18 東芝テック株式会社 Product sales data processing device, data processing terminal and control program of the same, as well as station device and control program of the same

Also Published As

Publication number Publication date
JP6964480B2 (en) 2021-11-10

Similar Documents

Publication Publication Date Title
JP5788440B2 (en) Product sales data processing apparatus and control program
JP5372903B2 (en) Sales data processor
US20170186010A1 (en) Register system configured to automatically generate notifications regarding product registrations
JP2011180906A (en) Commodity sales data processing device and control program therefor
JP2015018521A (en) Information processing apparatus
JP6964480B2 (en) Product sales data processing equipment, input equipment and programs
JP6293240B2 (en) Information terminal
JP5473162B2 (en) Product sales data processing device
JP2018181383A (en) Checkout system, accounting apparatus, and control program
JP5000461B2 (en) Product sales data processing device
JP2016071523A (en) Commodity registration device and control program therefor, and checkout system
JP2015032022A (en) Settlement terminal and program
JP2012238166A (en) Information processing device and program
EP3432243A1 (en) Information processing apparatus and control method for an information processing apparatus
JP2013041533A (en) Electronic apparatus and electronic apparatus driving method
JP4910030B2 (en) Electronics
JP7297046B2 (en) mobile terminal
JP2018026170A (en) Settlement terminal and program
JP5379764B2 (en) Product sales data processing apparatus and program
JP5473160B2 (en) Product sales data processing device
JP6155372B2 (en) Information terminal
JP2018049562A (en) Settlement device and program
JP6042503B2 (en) Information terminal
JP2024029716A (en) Payment terminal and program
JP6155789B2 (en) Product sales processing system

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