JP6155789B2 - Product sales processing system - Google Patents

Product sales processing system Download PDF

Info

Publication number
JP6155789B2
JP6155789B2 JP2013086482A JP2013086482A JP6155789B2 JP 6155789 B2 JP6155789 B2 JP 6155789B2 JP 2013086482 A JP2013086482 A JP 2013086482A JP 2013086482 A JP2013086482 A JP 2013086482A JP 6155789 B2 JP6155789 B2 JP 6155789B2
Authority
JP
Japan
Prior art keywords
power supply
pos register
pos
state
power
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
JP2013086482A
Other languages
Japanese (ja)
Other versions
JP2014211686A (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.)
Teraoka Seiko Co Ltd
Original Assignee
Teraoka Seiko Co Ltd
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 Teraoka Seiko Co Ltd filed Critical Teraoka Seiko Co Ltd
Priority to JP2013086482A priority Critical patent/JP6155789B2/en
Publication of JP2014211686A publication Critical patent/JP2014211686A/en
Application granted granted Critical
Publication of JP6155789B2 publication Critical patent/JP6155789B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)

Description

本発明は、予備電源機能を有するPOSシステムに関する。   The present invention relates to a POS system having a standby power supply function.

従来、停電等の影響により主電源からの電力供給が停止した場合であっても、コンピュータが動作できるように電力供給を行う簡易UPS(Uninterruptible Power Supply)機能を備えたPOS(Point Of Sales)レジスタが提案されている(例えば、特許文献1参照)。特許文献1のPOSレジスタでは、停電等の影響による電源の異常を検知した場合に、主電源から簡易UPSの電力供給に切り替えるとともに、即座にシャットダウン動作を行うことによって、異常終了してしまうことを防止している。   Conventionally, a POS (Point Of Sales) register with a simple UPS (Uninterruptible Power Supply) function that supplies power so that a computer can operate even when power supply from the main power supply is stopped due to the influence of a power failure or the like Has been proposed (see, for example, Patent Document 1). In the POS register of Patent Document 1, when a power supply abnormality due to the influence of a power failure or the like is detected, the power supply is switched from the main power supply to the simple UPS power supply, and the abnormal termination is caused by immediately performing a shutdown operation. It is preventing.

特開2005−004380号公報Japanese Patent Laid-Open No. 2005-004380

しかしながら、一旦POSレジスタがシャットダウンしてしまうと、再起動に時間がかかってしまう。そのため、誤検知だった場合、本来であればPOSレジスタは正常に使用できるにもかかわらず、再起動が完了するまでPOSレジスタを使用できなくなってしまうという問題がある。このような問題が発生すると、業務に支障が生じてしまうおそれがあった。   However, once the POS register is shut down, it takes time to restart. Therefore, in the case of erroneous detection, there is a problem that the POS register cannot be used until the restart is completed, although the POS register can be normally used. When such a problem occurs, there is a possibility that business may be hindered.

上記事情に鑑み、本発明は、誤検知による影響を軽減する技術の提供を目的としている。   In view of the above circumstances, an object of the present invention is to provide a technique for reducing the influence of erroneous detection.

本発明の一態様は、自装置の主電源による電力供給停止を検知する検知手段と、前記検知手段によって、前記電力供給停止が検知されると、電力供給源を主電源から予備電源に切り替える動作を行う電力供給手段と、他の装置との間で前記電力供給停止を検知したか否かを示す通知を送受信する通信手段と、前記通信手段によって受信された通知に基づいて所定の制御を行う制御手段と、を備え、前記制御手段は、前記他の装置から前記電力供給停止を検知していない旨の通知が受信された場合には、自装置の電力供給源を予備電源から主電源へ切り替える動作を行うように制御することを特徴とする商品販売処理システムである。
これにより、自装置が主電源による電力供給停止を検知した場合であっても、他のPOSレジスタが主電源による電力供給停止を検知していなければ、誤検知による電力供給源の切り替えが行われた可能性があるため、予備電源から主電源への切り替えを実行するようにした。そのため、誤検知の影響を軽減することが可能になる。
One aspect of the present invention is a detection means for detecting a power supply stop by a main power supply of the device itself, and an operation for switching the power supply source from a main power supply to a standby power supply when the detection means detects the power supply stoppage. And a communication unit that transmits and receives a notification indicating whether or not the power supply stop is detected between another device and a control unit that performs predetermined control based on the notification received by the communication unit. Control means, and when the control means receives notification that the power supply stoppage is not detected from the other apparatus, the control means changes its own power supply source from the standby power supply to the main power supply. A merchandise sales processing system that performs control so as to perform a switching operation.
As a result, even when the own device detects the stop of power supply by the main power supply, the power supply source is switched due to a false detection unless another POS register detects the power supply stop by the main power supply. Therefore, switching from the standby power supply to the main power supply was executed. Therefore, it becomes possible to reduce the influence of erroneous detection.

前記制御手段は、上記の商品販売処理システムであって、前記他の装置から前記電力供給停止を検知した旨の通知が受信された場合、又は、前記他の装置から前記電供給停止を検知したか否かを示す通知が受信されなかった場合には、自装置のシャットダウンの動作を行うように制御することを特徴とする。
これにより、他のPOSレジスタ100が電力供給停止を検知した場合だけでなく、停電等の影響によりネットワークが停止している場合であっても、異常終了してしまう目にシャットダウンすることができる。
Wherein the control means is the above-described merchandise sales processing system, when a notification of the detected stopping said power supply from said another device is received, or, detecting the power outage from the other device when the notification indicating whether the is not received, and controls to perform the operations of the shutdown of the apparatus.
As a result, not only when the other POS register 100 detects the power supply stop, but also when the network is stopped due to the influence of a power failure or the like, it is possible to shut down to an eye that ends abnormally.

本発明の一態様は、上記の商品販売処理システムであって、前記制御手段は、前記切り替える動作を実行し、切り替えができなかった場合にシャットダウンの動作を行うように制御することを特徴とする。
これにより、予備電源が尽きて異常終了してしまう前に、シャットダウンすることができる。
One aspect of the present invention is the above-described merchandise sales processing system, wherein the control means includes a feature that performs the switching operation is controlled to perform the operations of the shutdown if it is unable to switch To do.
As a result, the system can be shut down before the standby power supply is exhausted and abnormally ends.

本発明の一態様は、上記の商品販売処理システムであって、前記制御手段は、前記電力供給停止が検知された場合において、前記電力供給停止を検知していない装置の数が、自装置を含む前記電力供給停止を検知した装置の数より多いときには、自装置のシャットダウンの動作を行わず、自装置の電力供給源を予備電源から主電源へ切り替える動作を行うように制御することを特徴とする。
これにより、電力供給源の切り替わりが誤検知である可能性が高いと判断できるため、シャットダウンを行わず、予備電源から主電源への切り替えを行うことができる。
One aspect of the present invention is the above-described commodity sales processing system, in which, when the power supply stop is detected, the control unit determines that the number of devices not detecting the power supply stop is the own device. wherein when more than the number of the power supply detects the stop device does not perform the operation of shutdown of the apparatus, controls the power supply of its own device to perform switching operation Order operation to the main power from the standby power supply may include It is characterized by.
As a result, it can be determined that there is a high possibility that the switching of the power supply source is a false detection, so that the standby power supply can be switched to the main power supply without performing a shutdown.

本発明により、誤検知による影響を軽減することが可能となる。   According to the present invention, it is possible to reduce the influence of erroneous detection.

POSシステムのシステム構成を示す図である。It is a figure which shows the system configuration | structure of a POS system. 本発明の一実施形態におけるPOSレジスタ100の構成を示すブロック図である。It is a block diagram which shows the structure of the POS register | resistor 100 in one Embodiment of this invention. 電源状態情報データベースの具体例を示す図である。It is a figure which shows the specific example of a power supply status information database. LAN上の各POSレジスタ100が電源状態通知を送受信した結果を表す図である。It is a figure showing the result of each POS register | resistor 100 on LAN transmitting / receiving the power supply notification. 本発明における電力供給停止時の制御処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the control processing at the time of the electric power supply stop in this invention. 本発明におけるPOSシステムの動作の一例を示すシーケンス図である。It is a sequence diagram which shows an example of operation | movement of the POS system in this invention. 本発明におけるPOSシステムの動作の一例を示すシーケンス図である。It is a sequence diagram which shows an example of operation | movement of the POS system in this invention.

以下、本発明の一実施形態を、図面を参照しながら説明する。
図1は、POSシステムのシステム構成を示す図である。本発明のPOSシステムは、図1に示すように、N台(Nは1以上の整数)のPOSレジスタ100(100−1〜100−N)を備える。また、POSレジスタ100−1〜100−Nのそれぞれは、LAN(Local Area Network)により接続されており、互いに通信可能である。LANは有線であってもよいし、無線であってもよい。以下、POSレジスタ100−1〜100−Nのそれぞれを特に区別しない場合にはPOSレジスタ100と総称する。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram showing a system configuration of a POS system. As shown in FIG. 1, the POS system of the present invention includes N (N is an integer of 1 or more) POS registers 100 (100-1 to 100-N). Each of the POS registers 100-1 to 100-N is connected by a LAN (Local Area Network) and can communicate with each other. The LAN may be wired or wireless. Hereinafter, the POS registers 100-1 to 100-N are collectively referred to as the POS register 100 unless particularly distinguished.

POSレジスタ100は、店員の操作により、顧客が購入する商品(以下、「買上商品」という。)の登録及び精算を行う。また、POSレジスタ100は、UPS機能を備え、主電源から予備電源に、また、予備電源から主電源に、適宜、電力供給源を切り替えることができる。例えば、POSレジスタ100は、停電等を検知した場合に、電力供給源を主電源(後述)から予備電源(後述)に切り替えることができる。従って、POSレジスタ100は、停電等があった場合であっても、電力供給源を予備電源に切り替えて動作することができる。   The POS register 100 registers and settles a product purchased by a customer (hereinafter referred to as “purchased product”) by an operation of a store clerk. The POS register 100 has a UPS function, and can appropriately switch the power supply source from the main power source to the standby power source and from the standby power source to the main power source. For example, the POS register 100 can switch the power supply source from a main power source (described later) to a standby power source (described later) when a power failure or the like is detected. Therefore, the POS register 100 can operate by switching the power supply source to the standby power source even when there is a power failure or the like.

また、POSレジスタ100は、電力供給源を切り替える動作を行った場合に、電力供給の状態に関する情報をLAN上の他のPOSレジスタ100との間で送受信する。具体的には、POSレジスタ100は、電力供給源を主電源から予備電源に切り替える動作を行った場合には、LAN上の全ての他のPOSレジスタ100に対して、自装置(POSレジスタ100)の主電源による電力供給停止(電力供給の停止)を検知した旨の検知結果(例えば、“検知”)を含む主電源電力供給状態通知(以下、単に「電源状態通知」とも称する。)を送信する。   In addition, when the operation of switching the power supply source is performed, the POS register 100 transmits / receives information on the power supply state to / from other POS registers 100 on the LAN. More specifically, the POS register 100, when performing an operation of switching the power supply source from the main power source to the standby power source, with respect to all other POS registers 100 on the LAN (POS register 100) A main power supply state notification (hereinafter also simply referred to as “power state notification”) including a detection result (for example, “detection”) indicating that a power supply stop (stop of power supply) by the main power source is detected is transmitted. To do.

一方、POSレジスタ100は、LAN上の他のPOSレジスタ100から送信された電源状態通知を受信した場合には、当該電源状態通知の送信元である他のPOSレジスタ100に対して、自装置の主電源による電力供給停止を検知したか否かの検知結果を含む電源状態通知を送信する。つまり、あるPOSレジスタ100が、電力供給源を主電源から予備電源に切り替える動作を行った場合には、当該POSレジスタ100は、LAN上の全ての他のPOSレジスタ100に電力供給停止を検知した旨の検知結果を含む電源状態通知を送信するとともに、当該電源状態通知を受信した全ての他のPOSレジスタ100が自身の主電源による電力供給停止を検知したか否かの検知結果を含む電源状態通知を、当該それぞれのPOSレジスタ100から受信する。   On the other hand, when the POS register 100 receives a power supply state notification transmitted from another POS register 100 on the LAN, the POS register 100 notifies the other POS register 100 that is the transmission source of the power supply state notification of its own device. A power state notification including a detection result indicating whether or not a power supply stoppage by the main power source is detected is transmitted. That is, when a certain POS register 100 performs an operation of switching the power supply source from the main power supply to the standby power supply, the POS register 100 detects the power supply stoppage in all other POS registers 100 on the LAN. A power supply state including a detection result indicating whether or not all other POS registers 100 that have received the power supply state notification have detected a power supply stoppage by their own main power supply. A notification is received from the respective POS register 100.

POSレジスタ100は、電源状態通知の送受信によって、他のPOSレジスタ100の現在の電源状態の状態(以下、単に「電源状態」という。)を判断することができる。電源状態には、例えば、POSレジスタ100が主電源による電力供給によって動作している状態(以下、「通常電源状態」という。)や、予備電源の電力供給によって動作している状態(以下、「予備電源状態」という。)や、電源オフ状態などがある。   The POS register 100 can determine the current power state (hereinafter simply referred to as “power state”) of the other POS registers 100 by transmitting and receiving the power state notification. The power state includes, for example, a state in which the POS register 100 is operated by power supply from the main power source (hereinafter referred to as “normal power state”), and a state in which the POS register 100 is operated by power supply from the standby power source (hereinafter “ And the power-off state.

POSレジスタ100は、主電源による電力供給停止を検知した旨の検知結果を含む電源状態通知を他のPOSレジスタ100から受信したときには、当該他のPOSレジスタ100は予備電源状態であると判断する。
また、POSレジスタ100は、主電源による電力供給停止を検知していない旨の検知結果(例えば、“不検知”)を含む電源状態通知を他のPOSレジスタ100から受信したときには、当該他のPOSレジスタ100は通常電源状態であると判断する。
また、POSレジスタ100は、主電源による電力供給停止を検知した旨の検知結果を含む電源状態通知の送信後、所定時間内に、他のPOSレジスタ100から応答がなかったときは(主電源による電力供給を検知したか否かの検知結果を含む電源状態通知を受信しなかったとき)、当該他のPOSレジスタ100は電源オフ状態であると判断する。
When the POS register 100 receives from the other POS register 100 a power state notification including a detection result indicating that the power supply stoppage by the main power source has been detected, the POS register 100 determines that the other POS register 100 is in the standby power state.
When the POS register 100 receives a power state notification including a detection result (for example, “non-detection”) indicating that the power supply stoppage by the main power supply has not been detected, the other POS register 100 It is determined that the register 100 is in the normal power supply state.
In addition, the POS register 100 may receive a response from another POS register 100 within a predetermined time after transmission of a power state notification including a detection result indicating that power supply stoppage by the main power supply has been detected (by the main power supply). When the power supply state notification including the detection result indicating whether or not the power supply is detected is not received), it is determined that the other POS register 100 is in the power-off state.

図2は、本発明の一実施形態におけるPOSレジスタ100の構成を示すブロック図である。POSレジスタ100は、CPU(Central Processing Unit)101と、ROM(Read Only Memory)102と、RAM(Random Access Memory)103と、スキャナ部104と、店員用表示部105と、客用表示部106と、操作部107と、通信部108と、ブザー109と、レシート発行口110と、印字部111と、主電源部112と、電力供給部113と、予備電源部114とを備える。上記のPOSレジスタ100の各機能部は、バス1を介して互いに接続されている。   FIG. 2 is a block diagram showing the configuration of the POS register 100 in one embodiment of the present invention. The POS register 100 includes a CPU (Central Processing Unit) 101, a ROM (Read Only Memory) 102, a RAM (Random Access Memory) 103, a scanner unit 104, a store clerk display unit 105, and a customer display unit 106. An operation unit 107, a communication unit 108, a buzzer 109, a receipt issuing port 110, a printing unit 111, a main power supply unit 112, a power supply unit 113, and a standby power supply unit 114. The functional units of the POS register 100 are connected to each other via the bus 1.

CPU101は、中央演算処理装置であり、ROM102に記憶されているプログラムを読み出してRAM103に展開する。CPU101は、展開したプログラムの各ステップを実行することによって、POSレジスタ100全体の動作を制御する。   The CPU 101 is a central processing unit and reads a program stored in the ROM 102 and develops it in the RAM 103. The CPU 101 controls the overall operation of the POS register 100 by executing each step of the developed program.

例えば、CPU101(制御手段)は、主電源部112による電力供給停止が検知された場合、自装置の電力供給源を主電源部112から予備電源部114へ切り替える動作を制御する。また、CPU101(制御手段)は、所定の条件の下(後述)、自装置の電力供給源を予備電源部114から主電源部112へ切り替える動作を制御する。   For example, when the power supply stop by the main power supply unit 112 is detected, the CPU 101 (control unit) controls the operation of switching the power supply source of the own device from the main power supply unit 112 to the standby power supply unit 114. The CPU 101 (control unit) controls an operation of switching the power supply source of the own apparatus from the standby power supply unit 114 to the main power supply unit 112 under a predetermined condition (described later).

また、例えば、CPU101(制御手段)は、主電源部112から予備電源部114に電力供給源を切り替える動作が行われた後に(主電源部112による電力供給停止が検知された場合に)、他のPOSレジスタ100から送信された電源状態通知に基づいて所定の制御を行う。   Further, for example, the CPU 101 (control unit) may perform other operations after the operation of switching the power supply source from the main power supply unit 112 to the standby power supply unit 114 is performed (when power supply stoppage by the main power supply unit 112 is detected). Based on the power status notification transmitted from the POS register 100, predetermined control is performed.

具体的には、CPU101(制御手段)は、例えば他のPOSレジスタ100が主電源部112による電力供給停止を検知していない場合には、自装置の電力供給源を予備電源部114から主電源部112へ切り替える動作を行うように制御する。一方、CPU101は、他のPOSレジスタ100が主電源部112による電力供給停止を検知している場合には、自装置のシャットダウン等の動作(例えば、シャットダウン、再起動など)を行うように制御する。   Specifically, the CPU 101 (control means), for example, when the other POS register 100 has not detected the power supply stop by the main power supply unit 112, the power supply source of its own device is connected from the standby power supply unit 114 to the main power supply. Control is performed so as to switch to the unit 112. On the other hand, when the other POS register 100 detects that the main power supply unit 112 has stopped supplying power, the CPU 101 performs control such as shutting down its own device (for example, shutting down, restarting, etc.). .

なお、LAN上には、複数の他のPOSレジスタ100が存在するが、主電源部112による電力供給停止を検知したPOSレジスタ100(即ち、主電源による電力供給停止を検知した旨の検知結果を送信したPOSレジスタ100)と、主電源部112による電力供給停止を検知していないPOSレジスタ100(即ち、主電源による電力供給停止を検知していない旨の検知結果を送信したPOSレジスタ100)と、が存在する場合には、夫々のPOSレジスタ100の数(例えば、数の差、数の比率など)に応じて、シャットダウン等の動作を行うか、予備電源部114から主電源部112へ切り替える動作を行うかを制御してもよい。   Although there are a plurality of other POS registers 100 on the LAN, the POS register 100 that detects the stop of power supply by the main power supply unit 112 (that is, the detection result indicating that the stop of power supply by the main power supply is detected). The transmitted POS register 100), and the POS register 100 that has not detected the stop of power supply by the main power supply unit 112 (that is, the POS register 100 that has transmitted the detection result indicating that the stop of power supply by the main power supply has not been detected); , There is an operation such as shutdown or switching from the standby power supply unit 114 to the main power supply unit 112 according to the number of POS registers 100 (for example, difference in number, ratio of numbers, etc.). You may control whether operation is performed.

一例として、CPU101(制御手段)は、主電源部112による電力供給停止を検知した場合に、LAN上の電力供給停止を検知していないPOSレジスタ100の数が、LAN上の自装置を含む電力供給停止を検知したPOSレジスタ100の数より多いときに、シャットダウン等の動作を行わず、自装置の電力供給源を予備電源部114から主電源部112へ切り替える動作を行うように制御する。   As an example, when the CPU 101 (control unit) detects a power supply stop by the main power supply unit 112, the number of POS registers 100 that have not detected a power supply stop on the LAN includes the power including the own device on the LAN. When the supply stop is detected more than the number of POS registers 100, control is performed so as to perform an operation of switching the power supply source of the own apparatus from the standby power supply unit 114 to the main power supply unit 112 without performing an operation such as a shutdown.

なお、CPU101(制御手段)は、自装置の電力供給源を予備電源部114から主電源部112へ切り替える動作を制御した場合に、電力供給源が主電源部112へ切り替わらなかったときは(例えば、主電源部112に電力が供給されていないときなど)、シャットダウン等の動作を行うように制御してもよい。   When the CPU 101 (control unit) controls the operation of switching the power supply source of its own device from the standby power supply unit 114 to the main power supply unit 112, when the power supply source is not switched to the main power supply unit 112 (for example, The main power supply unit 112 may be controlled to perform an operation such as a shutdown).

ROM102は、読み出し専用のメモリであり、POSレジスタ100を動作させるためのプログラムを予め記憶する。
RAM103は、種々の情報を記憶する読み出し書き込みメモリである。RAM103には、ROM102から読み出されたプログラムが展開される。また、RAM103は、プログラムが実行されることによって生成された各種データを記憶する。例えば、RAM103は、電源状態情報データベース(後述)を記憶する。
The ROM 102 is a read-only memory, and stores a program for operating the POS register 100 in advance.
The RAM 103 is a read / write memory that stores various information. In the RAM 103, a program read from the ROM 102 is expanded. The RAM 103 stores various data generated by executing the program. For example, the RAM 103 stores a power state information database (described later).

スキャナ部104は、商品に付されているバーコード(商品コード)を光学的に読み取る。
店員用表示部105は、CRT(Cathode Ray Tube)ディスプレイ、液晶ディスプレイ、有機EL(Electro Luminescence)ディスプレイ等の画像表示装置である。また、店員用表示部105は、モード切替、設定、登録等の操作の受付と表示とを行う。店員用表示部105の表示面には、透明な接点スイッチであるタッチキー(ソフトキー)が設けられているタッチパネルが備えられており、商品登録が行われた商品情報や買上商品の合計金額などが表示される。商品情報とは、商品に関する情報である。
The scanner unit 104 optically reads a barcode (product code) attached to a product.
The store clerk display unit 105 is an image display device such as a CRT (Cathode Ray Tube) display, a liquid crystal display, or an organic EL (Electro Luminescence) display. The store clerk display unit 105 accepts and displays operations such as mode switching, setting, and registration. The display surface of the display unit 105 for the store clerk is provided with a touch panel provided with a touch key (soft key) that is a transparent contact switch. Product information on which product registration is performed, total amount of purchased products, and the like Is displayed. The product information is information about the product.

客用表示部106は、商品登録を行った商品情報や買上商品の合計金額などを顧客に対して表示する。また、客用表示部106は、液晶ディスプレイ等を用いた発光型の表示デバイスであり、例えば、7セグメント表示やドット表示(フルドット表示)によって数字などをその表面に発光して表示する。   The customer display unit 106 displays, for a customer, product information for which product registration has been performed, the total price of purchased products, and the like. The customer display unit 106 is a light-emitting display device using a liquid crystal display or the like. For example, the customer display unit 106 emits and displays numbers on its surface by 7-segment display or dot display (full dot display).

操作部107は、キーボード、ポインティングデバイス(マウス、タブレット等)、ボタン、タッチパネル等の既存の入力装置を用いて構成される。操作部107は、POSレジスタ100を動作させるための操作手段を備える。操作手段は、例えば、商品登録の完了を宣言する完了キー(例えば、小計キーなど)、訂正キー、プリセットキー、数字キー、品券キー、クレジットキー、電子マネーキーなどである。また、例えば、操作部107は、店員が操作キー(プリセットキー)を押下すると、そのキーに対応して予め設定登録された商品コード等について、操作入力を受け付ける。なお、これら操作部107の操作手段は、メカキー(ハードキー)などのボタンとして配置されていてもよいし、店員用表示部105の表示面上に設けられたタッチパネルに配置されてもよい。   The operation unit 107 is configured using an existing input device such as a keyboard, a pointing device (such as a mouse or a tablet), a button, or a touch panel. The operation unit 107 includes operation means for operating the POS register 100. The operation means is, for example, a completion key (for example, a subtotal key) declaring completion of product registration, a correction key, a preset key, a numeric key, a gift certificate key, a credit key, an electronic money key, and the like. Further, for example, when the store clerk presses an operation key (preset key), the operation unit 107 receives an operation input for a product code or the like that is preset and registered corresponding to the key. Note that the operation means of the operation unit 107 may be arranged as a button such as a mechanical key (hard key) or may be arranged on a touch panel provided on the display surface of the display unit 105 for clerk.

通信部108は、ネットワークを介して、他のPOSレジスタ100との間で通信を行う。通信部(通信手段)108は、例えば、他のPOSレジスタ100との間で電力供給停止を検知したか否かを示す通知(電源状態通知)を送受信する。なお、電源状態通知には、上述した検知結果に加え、送信元であるPOSレジスタ100のPOS番号も格納されている。
ブザー109は、CPU101の指示に従って、ブザー音を発生させる。
The communication unit 108 communicates with other POS registers 100 via a network. For example, the communication unit (communication means) 108 transmits / receives a notification (power supply state notification) indicating whether or not a power supply stop has been detected with another POS register 100. The power status notification stores the POS number of the POS register 100 that is the transmission source in addition to the detection result described above.
The buzzer 109 generates a buzzer sound according to an instruction from the CPU 101.

レシート発行口110は、POSレジスタ100に内蔵された印字部111によって印刷されるシートを排出する。
印字部111は、不図示のサーマルヘッドと、該サーマルヘッドへ押圧されてセットされるプラテンローラからなり、該プラテンローラはステッピングモータで駆動される。そして、シートはサーマルヘッドとプラテンローラ間を搬送され、該ステッピングモータは、CPU101からの信号により所定パルス分だけ駆動することでシートが所定量だけ発行されるようになる。
The receipt issuing port 110 discharges a sheet printed by the printing unit 111 built in the POS register 100.
The printing unit 111 includes a thermal head (not shown) and a platen roller that is set by being pressed against the thermal head, and the platen roller is driven by a stepping motor. The sheet is conveyed between the thermal head and the platen roller, and the stepping motor is driven by a predetermined pulse by a signal from the CPU 101 so that a predetermined amount of the sheet is issued.

主電源部112は、POSレジスタ100の電源プラグから給電される商用交流電流を直流電流に変換し、電力供給部113に対して電力を供給する。
電力供給部113は、主電源部112から供給される電力により、予備電源部114を充電するとともに、POSレジスタ100の各機能部に電力を供給する。また、電力供給部(検知手段)113は、主電源部112による電力供給の停止を検知する。より具体的には、電力供給部(検知手段)113は、主電源部112から電力供給がなされているか否かを監視しており、電源プラグが抜けたときや停電が発生したときなど、電力供給部113へ主電源部112からの電力供給が停止したことを検知する。また、電力供給部(電力供給手段)113は、主電源部112による電力供給停止を検知すると、電力供給源を主電源部112から予備電源部114に切り替える動作を行う。
The main power supply unit 112 converts commercial AC current fed from the power plug of the POS register 100 into DC current, and supplies power to the power supply unit 113.
The power supply unit 113 charges the standby power supply unit 114 with power supplied from the main power supply unit 112 and supplies power to each functional unit of the POS register 100. The power supply unit (detection unit) 113 detects the stop of power supply by the main power supply unit 112. More specifically, the power supply unit (detection means) 113 monitors whether or not power is supplied from the main power supply unit 112. When the power plug is disconnected or a power failure occurs, It is detected that the power supply from the main power supply unit 112 to the supply unit 113 is stopped. In addition, when the power supply unit (power supply unit) 113 detects that the main power supply unit 112 has stopped supplying power, the power supply unit (power supply unit) 113 performs an operation of switching the power supply source from the main power supply unit 112 to the standby power supply unit 114.

これにより、POSレジスタ100は、主電源部112からの電力供給が停止した後も予備電源部114に蓄えられた電力により動作することができる。その後、電源プラグが電源に接続されたときや、停電が復旧したときには、電力供給部113は、主電源部112からの電力供給の再開を検知して、電力供給源を予備電源部114から主電源部112に切り替える。
予備電源部114は、電力供給部113によって供給された電力を蓄積する。また、電力供給部113によって主電源部112から予備電源部114に電力供給源の切り替えが行われると、予備電源部114はPOSレジスタ100の各機能部に対して蓄積された電力を供給する。
Thus, the POS register 100 can operate with the power stored in the standby power supply unit 114 even after the power supply from the main power supply unit 112 is stopped. After that, when the power plug is connected to the power source or when the power failure is restored, the power supply unit 113 detects the resumption of power supply from the main power source unit 112 and supplies the power supply source from the standby power source unit 114 to the main power source. Switch to the power supply unit 112.
The standby power supply unit 114 accumulates the power supplied by the power supply unit 113. When the power supply unit 113 switches the power supply source from the main power supply unit 112 to the standby power supply unit 114, the standby power supply unit 114 supplies the accumulated power to each functional unit of the POS register 100.

図3は、電源状態情報データベースの具体例を示す図である。
電源状態情報データベースには、他のPOSレジスタ100の電源状態を示した電源状態情報が記憶されている。図3に示す電源状態情報データベースは、POSレジスタ100−1のRAM103内の電源状態情報データベースであって、当該POSレジスタ100−1がLAN上の全ての他のPOSレジスタ100(POSレジスタ100−2〜POSレジスタ100−N)から受信した電源状態通知に格納されている検知結果に基づく当該他のPOSレジスタ100の電源状態情報の例が示されている。
FIG. 3 is a diagram showing a specific example of the power supply state information database.
The power status information database stores power status information indicating the power status of the other POS registers 100. The power state information database shown in FIG. 3 is a power state information database in the RAM 103 of the POS register 100-1, and the POS register 100-1 includes all other POS registers 100 on the LAN (POS register 100-2). An example of power state information of another POS register 100 based on the detection result stored in the power state notification received from the POS register 100-N) is shown.

電源状態情報データベースは、例えば、POS番号、電源状態及び最終更新時刻の各値を対応付けて記憶する。POS番号は、他のPOSレジスタ100を一意に識別する識別番号である。電源状態は、他のPOSレジスタ100の現在の電源の状態を表す。図3に表される具体例では、電源状態の値“0”は、他のPOSレジスタ100が電源オフ状態であることを表し、電源状態の値“1”は、他のPOSレジスタ100が通常電源状態であることを表し、電源状態の値“2”は、他のPOSレジスタ100が予備電源状態であることを表す。最終更新時刻は、電源状態が更新された最新の時刻を表す。   The power state information database stores, for example, each value of the POS number, the power state, and the last update time in association with each other. The POS number is an identification number that uniquely identifies another POS register 100. The power status represents the current power status of the other POS register 100. In the specific example shown in FIG. 3, the power state value “0” indicates that the other POS register 100 is in the power off state, and the power state value “1” indicates that the other POS register 100 is normal. The power supply state indicates that the power supply state value “2” indicates that the other POS register 100 is in the standby power supply state. The last update time represents the latest time when the power supply state is updated.

図3に示す例では、電源状態情報データベースには複数のPOS番号(POS2〜POS−N)が存在する。図3において、電源状態情報データベースの最上段の行は、POS番号の値が“POS2”、電源状態の値が“0”、最終更新時刻の値が“2013/XX/YY 13:00:30”である。即ち、POS番号“POS2”で識別されるPOSレジスタ100−2は、現在、電源オフ状態であり、POSレジスタ100−1によって電源状態が更新された時刻が2013年XX月YY日の13時00分30秒であることが表されている。   In the example shown in FIG. 3, a plurality of POS numbers (POS2 to POS-N) exist in the power status information database. In FIG. 3, the top row of the power supply status information database has a POS number value of “POS2”, a power supply status value of “0”, and a last update time value of “2013 / XX / YY 13:00:30. ". That is, the POS register 100-2 identified by the POS number “POS2” is currently in a power-off state, and the time when the power state is updated by the POS register 100-1 is 13:00 on XX month YY in 2013. It is shown that it is 30 minutes.

また、図3において、電源状態情報データベースの2段目の行は、POS番号の値が“POS3”、電源状態の値が“1”、最終更新時刻の値が“2013/XX/YY 13:01:00”である。即ち、POS番号“POS3”で識別されるPOSレジスタ100−3は、現在、通常電源状態であり、POSレジスタ100−1によって電源状態が更新された時刻が2013年XX月YY日の13時01分00秒であることが表されている。   In FIG. 3, the second row of the power status information database has a POS number value “POS3”, a power status value “1”, and a last update time value “2013 / XX / YY 13: 01:00 ". That is, the POS register 100-3 identified by the POS number “POS3” is currently in the normal power state, and the time when the power state is updated by the POS register 100-1 is 13:00 on XX month YY in 2013. It is shown that it is minute 00 seconds.

また、図3において、電源状態情報データベースの最下段の行は、POS番号の値が“POS−N”、電源状態の値が“2”、最終更新時刻の値が“2013/XX/YY 13:01:30”である。即ち、POS番号“POS−N”で識別されるPOSレジスタ100−Nは、現在、予備電源状態であり、POSレジスタ100−1によって電源状態が更新された時刻が2013年XX月YY日の13時01分30秒であることが表されている。   Also, in FIG. 3, the bottom row of the power supply state information database has a POS number value of “POS-N”, a power supply state value of “2”, and a last update time value of “2013 / XX / YY 13”. : 01:30 ". That is, the POS register 100-N identified by the POS number “POS-N” is currently in the standby power state, and the time when the power state is updated by the POS register 100-1 is 13th of XX month YY of 2013. It is shown that the time is 01 minute 30 seconds.

次に、図4を用いて電源状態通知の送受信の結果に基づいて各POSレジスタ100が行う制御処理について説明する。図4は、LAN上の各POSレジスタ100が電源状態通知を送受信した結果を表す図である。なお、図4の説明では、POSレジスタ100の台数が3台の場合について説明する。
図4(A)は、POSレジスタ100が電源状態通知の送受信を行った結果を表す図である。図4(A)に示す例では、POS番号毎に電源状態通知の送受信が行われた結果が表されている。POS番号は、POSレジスタ100を一意に識別するための識別番号を表す。
Next, control processing performed by each POS register 100 based on the result of transmission / reception of the power supply state notification will be described with reference to FIG. FIG. 4 is a diagram illustrating a result of each POS register 100 on the LAN transmitting / receiving a power state notification. In the description of FIG. 4, a case where the number of the POS registers 100 is three will be described.
FIG. 4A is a diagram illustrating a result of the POS register 100 transmitting and receiving a power supply state notification. In the example shown in FIG. 4A, the result of transmission / reception of the power state notification for each POS number is shown. The POS number represents an identification number for uniquely identifying the POS register 100.

送信内容は、あるPOSレジスタ100が他のPOSレジスタ100に送信した電源状態通知に格納されている検知結果を表す。送信内容の項目の“検知”の値は、POSレジスタ100が主電源部112による電力供給停止を検知した旨の検知結果を含む電源状態通知を他のPOSレジスタ100に送信したことを表す。送信内容の項目の“不検知”は、POSレジスタ100が主電源部112による電力供給停止を検知していない旨の検知結果を含む電源状態通知を他のPOSレジスタ100に送信したことを表す。   The transmission content represents a detection result stored in a power supply state notification transmitted from one POS register 100 to another POS register 100. The value of “detection” in the transmission content item indicates that the POS register 100 has transmitted a power state notification including a detection result indicating that the power supply stop by the main power supply unit 112 has been detected to another POS register 100. “Undetected” in the item of transmission content indicates that the POS register 100 has transmitted to the other POS registers 100 a power state notification including a detection result indicating that the main power supply unit 112 has not detected a power supply stoppage.

また、受信内容は、あるPOSレジスタ100が他のPOSレジスタ100から受信した電源状態通知に格納されている検知結果を表す。受信内容の項目の“検知”の値は、POSレジスタ100が他のPOSレジスタ100から当該他のPOSレジスタ100の主電源部112による電力供給停止を検知した旨の検知結果を含む電源状態通知を受信したことを表す。即ち、POSレジスタ100は、受信した電源状態通知に格納されている検知結果の内容が“検知”を示す場合、当該電源状態通知の送信元である他のPOSレジスタ100が予備電源状態であると判断する。   The received content represents a detection result stored in a power supply state notification received by one POS register 100 from another POS register 100. The value of “detection” in the received content item is a power state notification including a detection result indicating that the POS register 100 detects a power supply stoppage from the main power supply unit 112 of the other POS register 100 from the other POS register 100. Indicates that it has been received. That is, when the content of the detection result stored in the received power status notification indicates “detected”, the POS register 100 indicates that another POS register 100 that is the transmission source of the power status notification is in the standby power status. to decide.

受信内容の項目の“不検知”は、POSレジスタ100が他のPOSレジスタ100から当該他のPOSレジスタ100の主電源部112による電力供給停止を検知していない旨の検知結果を含む電源状態通知を受信したことを表す。即ち、POSレジスタ100は、受信した電源状態通知に格納されている検知結果の内容が“不検知”を示す場合、当該電源状態通知の送信元である他のPOSレジスタ100が通常電源状態であると判断する。   “Undetected” in the item of received content is a power status notification including a detection result indicating that the POS register 100 has not detected a power supply stop by the main power supply unit 112 of the other POS register 100 from the other POS register 100. Is received. That is, in the POS register 100, when the content of the detection result stored in the received power status notification indicates “not detected”, the other POS register 100 that is the transmission source of the power status notification is in the normal power status. Judge.

例えば、図4(A)では、POSレジスタ100−1(POS番号“POS1”)が主電源部112による電力供給停止を検知した旨の検知結果を含む電源状態通知を他のPOSレジスタ100(POSレジスタ100−2及びPOSレジスタ100−3)に送信し、他のPOSレジスタ100のそれぞれから検知結果“検知”、“不検知”を含む電源状態通知を受信したことが表されている。このような場合、POSレジスタ100−1は、予備電源状態からシャットダウン動作を行う。なぜなら、主電源部112による電力供給停止を検知したPOSレジスタ100の数が主電源部112による電力供給停止を検知していないPOSレジスタ100の数より多いためである。このように構成されることによって、シャットダウン動作を行わず、異常終了してしまうおそれを軽減できる。   For example, in FIG. 4A, a power status notification including a detection result indicating that the POS register 100-1 (POS number “POS1”) detects the stop of power supply by the main power supply unit 112 is sent to another POS register 100 (POS). It is transmitted to the register 100-2 and the POS register 100-3), and the power status notification including the detection results “detection” and “non-detection” is received from each of the other POS registers 100. In such a case, the POS register 100-1 performs a shutdown operation from the standby power supply state. This is because the number of POS registers 100 that detected a power supply stop by the main power supply unit 112 is greater than the number of POS registers 100 that have not detected a power supply stop by the main power supply unit 112. With this configuration, it is possible to reduce the possibility of abnormal termination without performing a shutdown operation.

また、図4(A)では、POSレジスタ100−2(POS番号“POS2”)が主電源部112による電力供給停止を検知した旨の検知結果を含む電源状態通知を他のPOSレジスタ100(POSレジスタ100−1及びPOSレジスタ100−3)に送信し、他のPOSレジスタ100のそれぞれから検知結果“検知”、“不検知”を含む電源状態通知を受信したことが表されている。このような場合、POSレジスタ100−2は、予備電源状態からシャットダウン動作を行う。   4A, the POS register 100-2 (POS number “POS2”) sends a power status notification including a detection result indicating that the main power supply unit 112 has detected the stop of power supply to another POS register 100 (POS). It is transmitted to the register 100-1 and the POS register 100-3), and the power status notification including the detection results “detection” and “non-detection” is received from each of the other POS registers 100. In such a case, the POS register 100-2 performs a shutdown operation from the standby power supply state.

また、図4(A)では、POSレジスタ100−3(POS番号“POS3”)が主電源部112による電力供給停止を検知していない旨の検知結果を含む電源状態通知を他のPOSレジスタ100(POSレジスタ100−1及びPOSレジスタ100−2)に送信し、他のPOSレジスタ100のそれぞれから検知結果“検知”、“検知”を含む電源状態通知を受信したことが表されている。このような場合、POSレジスタ100−3は、通常電源状態であるため自装置の制御を行わない。つまり、自装置が主電源部112による電力供給停止を検知していない場合、POSレジスタ100は他のPOSレジスタ100の電源状態によらず、自装置の制御を行わない。なお、POSレジスタ100は、自装置が主電源部112による電力供給停止を検知していない場合であっても、他のPOSレジスタ100が自身の主電源部112による電力供給停止を検知している場合には、自装置のシャットダウン動作を行うように制御してもよい。   In FIG. 4A, the POS register 100-3 (POS number “POS3”) sends a power status notification including a detection result indicating that the power supply stop by the main power supply unit 112 is not detected to another POS register 100. (POS register 100-1 and POS register 100-2), and the power status notification including the detection results “detection” and “detection” is received from each of the other POS registers 100. In such a case, since the POS register 100-3 is in a normal power supply state, it does not control its own device. That is, when the own device does not detect the power supply stop by the main power supply unit 112, the POS register 100 does not control the own device regardless of the power state of the other POS registers 100. Note that even if the POS register 100 does not detect the power supply stop by the main power supply unit 112, the other POS register 100 detects the power supply stop by the main power supply unit 112 itself. In such a case, it may be controlled to perform a shutdown operation of the own device.

図4(B)は、POSレジスタ100が電源状態通知の送受信を行った結果を表す図である。図4(B)に示す例では、POS番号毎に電源状態通知の送受信が行われた結果が表されている。   FIG. 4B is a diagram illustrating a result of the POS register 100 performing transmission / reception of a power supply state notification. In the example shown in FIG. 4B, the result of transmission / reception of the power state notification for each POS number is shown.

例えば、図4(B)では、POSレジスタ100−1(POS番号“POS1”)が主電源部112による電力供給停止を検知した旨の検知結果を含む電源状態通知を他のPOSレジスタ100(POSレジスタ100−2及びPOSレジスタ100−3)に送信し、他のPOSレジスタ100のそれぞれから検知結果“不検知”、“不検知”を含む電源状態通知を受信したことが表されている。このような場合、POSレジスタ100−1は、予備電源状態から通常電源状態への切り替える動作を行う。即ち、POSレジスタ100−1は、電力供給源を予備電源部114から主電源部112に切り替える動作を行う。なお、POSレジスタ100は、自装置が主電源部112による電力供給停止を検知していない場合であっても、他のPOSレジスタ100が自身の主電源部112による電力供給停止を検知している場合には、自装置のシャットダウン動作を行うように制御してもよい。   For example, in FIG. 4B, a power status notification including a detection result indicating that the POS register 100-1 (POS number “POS1”) detects the stop of power supply by the main power supply unit 112 is sent to another POS register 100 (POS). It is transmitted to the register 100-2 and the POS register 100-3), and the power status notification including the detection results “not detected” and “not detected” is received from each of the other POS registers 100. In such a case, the POS register 100-1 performs an operation of switching from the standby power supply state to the normal power supply state. That is, the POS register 100-1 performs an operation of switching the power supply source from the standby power supply unit 114 to the main power supply unit 112. Note that even if the POS register 100 does not detect the power supply stop by the main power supply unit 112, the other POS register 100 detects the power supply stop by the main power supply unit 112 itself. In such a case, it may be controlled to perform a shutdown operation of the own device.

また、図4(B)では、POSレジスタ100−2(POS番号“POS2”)が主電源部112による電力供給停止を検知していない旨の検知結果を含む電源状態通知を他のPOSレジスタ100(POSレジスタ100−1及びPOSレジスタ100−3)に送信し、他のPOSレジスタ100のそれぞれから検知結果“検知”、“不検知”を含む電源状態通知を受信したことが表されている。このような場合、POSレジスタ100−2は、通常電源状態であるため自装置の制御を行わない。なお、POSレジスタ100は、自装置が主電源部112による電力供給停止を検知していない場合であっても、他のPOSレジスタ100が自身の主電源部112による電力供給停止を検知している場合には、自装置のシャットダウン動作を行うように制御してもよい。   In FIG. 4B, the POS register 100-2 (POS number “POS2”) sends a power status notification including a detection result indicating that the power supply stop by the main power supply unit 112 is not detected to another POS register 100. It is transmitted to (POS register 100-1 and POS register 100-3), and it is shown that the power status notification including the detection results “detection” and “non-detection” is received from each of the other POS registers 100. In such a case, since the POS register 100-2 is in a normal power supply state, it does not control its own device. Note that even if the POS register 100 does not detect the power supply stop by the main power supply unit 112, the other POS register 100 detects the power supply stop by the main power supply unit 112 itself. In such a case, it may be controlled to perform a shutdown operation of the own device.

また、図4(B)では、POSレジスタ100−3(POS番号“POS3”)が主電源部112による電力供給停止を検知していない旨の検知結果を含む電源状態通知を他のPOSレジスタ100(POSレジスタ100−1及びPOSレジスタ100−2)に送信し、他のPOSレジスタ100のそれぞれから検知結果“検知”、“不検知”を含む電源状態通知を受信したことが表されている。このような場合、POSレジスタ100−3は、通常電源状態であるため自装置の制御を行わない。なお、自装置が主電源部112による電力供給停止を検知していない場合であっても、他のPOSレジスタ100が主電源部112による電力供給停止を検知している場合には、自装置のシャットダウン動作を行うように制御してもよい。   In FIG. 4B, the POS register 100-3 (POS number “POS3”) sends a power status notification including a detection result indicating that the power supply stop by the main power supply unit 112 is not detected to another POS register 100. (POS register 100-1 and POS register 100-2) and a power status notification including detection results “detected” and “not detected” is received from each of the other POS registers 100. In such a case, since the POS register 100-3 is in a normal power supply state, it does not control its own device. Even if the own device has not detected the power supply stop by the main power supply unit 112, if another POS register 100 detects the power supply stop by the main power supply unit 112, You may control to perform a shutdown operation.

図5は、本発明における電力供給停止時の制御処理の動作を示すフローチャートである。
ステップS10:POSレジスタ100の電力供給部113は、主電源部112の電圧異常を検知する。具体的には、電力供給部113は、主電源部112による電力供給停止を検知する。その後、ステップS12の処理に進む。
ステップS12:電力供給部113は、電力供給源を主電源部112から予備電源部114に切り替える。その後、ステップS14の処理に進む。
FIG. 5 is a flowchart showing the operation of the control process when the power supply is stopped in the present invention.
Step S10: The power supply unit 113 of the POS register 100 detects a voltage abnormality of the main power supply unit 112. Specifically, the power supply unit 113 detects a power supply stop by the main power supply unit 112. Thereafter, the process proceeds to step S12.
Step S12: The power supply unit 113 switches the power supply source from the main power supply unit 112 to the standby power supply unit 114. Thereafter, the process proceeds to step S14.

ステップS14:次に、通信部108は、自装置のPOS番号及び主電源部112による電力供給停止を検知した旨の検知結果を含む電源状態通知を他のPOSレジスタ100に送信する。その後、ステップS16の処理に進む。
ステップS16:通信部108は、ステップS16の処理で送信した電源状態通知を受信した他のPOSレジスタ100のそれぞれから当該それぞれの他のPOSレジスタ100の主電源部112による電力供給停止を検知したか否かの検知結果及びPOS番号を含む電源状態通知を受信する。その後、ステップS18の処理に進む。
Step S14: Next, the communication unit 108 transmits to the other POS registers 100 a power supply state notification including the POS number of the own device and a detection result indicating that the main power supply unit 112 has detected the stop of power supply. Thereafter, the process proceeds to step S16.
Step S16: Did the communication unit 108 detect from each of the other POS registers 100 that received the power state notification transmitted in the process of step S16 that the main power supply unit 112 of each of the other POS registers 100 has stopped power supply? A power supply state notification including the detection result and the POS number is received. Thereafter, the process proceeds to step S18.

ステップS18:CPU101は、受信された電源状態通知に格納されている各値(POS番号、検知結果)を取得する。次に、CPU101は、電源状態情報データベースを参照し、電源状態通知の送信元である他のPOSレジスタ100のPOS番号に対応するレコードを取得する。CPU101は、取得したレコードに記憶されている電源状態の値を、取得された検知結果に基づいて上書きすることによって更新する。 Step S18: The CPU 101 acquires each value (POS number, detection result) stored in the received power status notification. Next, the CPU 101 refers to the power state information database, and obtains a record corresponding to the POS number of another POS register 100 that is the transmission source of the power state notification. The CPU 101 updates the value of the power state stored in the acquired record by overwriting based on the acquired detection result.

より具体的には、取得された検知結果が主電源部112による電力供給停止を検知したことを示す内容(例えば、“検知”)である場合、CPU101は電源状態通知の送信元である他のPOSレジスタ100が予備電源状態であると判断する。そして、CPU101は、取得したレコードに記憶されている電源状態の値を、予備電源状態を示す値(例えば、“2”)で上書きすることによって当該他のPOSレジスタ100の電源状態の値を更新する。   More specifically, when the acquired detection result is a content (for example, “detection”) indicating that the power supply stop by the main power supply unit 112 is detected, the CPU 101 is the other source of the power supply state notification. It is determined that the POS register 100 is in the standby power supply state. Then, the CPU 101 updates the power state value of the other POS register 100 by overwriting the power state value stored in the acquired record with a value indicating the standby power state (for example, “2”). To do.

一方、取得された検知結果が主電源部112による電力供給停止を検知していないことを示す内容(例えば、“不検知”)である場合、CPU101は電源状態通知の送信元である他のPOSレジスタ100が通常電源状態であると判断する。そして、CPU101は、取得したレコードに記憶されている電源状態の値を、通常電源状態を示す値(例えば、“1”)で上書きすることによって当該他のPOSレジスタ100の電源状態の値を更新する。   On the other hand, when the acquired detection result is a content (for example, “non-detection”) indicating that the power supply stop by the main power supply unit 112 is not detected, the CPU 101 transmits another POS that is the transmission source of the power state notification. It is determined that the register 100 is in the normal power supply state. Then, the CPU 101 updates the power state value of the other POS register 100 by overwriting the power state value stored in the acquired record with a value indicating the normal power state (for example, “1”). To do.

また、CPU101は、電源状態通知の送信後、所定時間内に応答のない他のPOSレジスタ100が存在する場合には、当該他のPOSレジスタ100が電源オフ状態であると判断する。そして、CPU101は、当該他のPOSレジスタ100のPOS番号に対応するレコードに記憶されている電源状態の値を、電源オフ状態を示す値(例えば、“0”)で上書きすることによって当該他のPOSレジスタ100の電源状態の値を更新する。POSレジスタ100がLAN上の全ての他のPOSレジスタ100の電源状態を更新すると、ステップS20の処理に進む。   If there is another POS register 100 that does not respond within a predetermined time after the transmission of the power state notification, the CPU 101 determines that the other POS register 100 is in a power-off state. Then, the CPU 101 overwrites the value of the power state stored in the record corresponding to the POS number of the other POS register 100 with a value (for example, “0”) indicating the power off state. The value of the power state of the POS register 100 is updated. When the POS register 100 updates the power state of all other POS registers 100 on the LAN, the process proceeds to step S20.

ステップS20:CPU101は、電源状態情報データベースを参照し、主電源部112による電力供給停止を検知した他のPOSレジスタ100が存在するか否かを判定する。より具体的には、CPU101は、電源状態情報データベースを参照し、電源状態の値が“1”以外である値が存在するか否かを判定する。即ち、電源オフ状態であることを示す値(例えば、“0”)、又は、予備電源状態であることを示す値(例えば、“2”)の他のPOSレジスタ100が存在するか否かを判定する。電力供給停止を検知した他のPOSレジスタ100が存在する場合、ステップS22の処理に進む。電力供給停止を検知した他のPOSレジスタ100が存在しない場合、ステップS26の処理に進む。 Step S20: The CPU 101 refers to the power supply state information database and determines whether there is another POS register 100 that detects the stop of the power supply by the main power supply unit 112. More specifically, the CPU 101 refers to the power supply state information database and determines whether there is a value whose power supply state value is other than “1”. That is, whether or not there is another POS register 100 having a value indicating the power off state (for example, “0”) or a value indicating the standby power state (for example, “2”). judge. If there is another POS register 100 that detects the stop of power supply, the process proceeds to step S22. If there is no other POS register 100 that has detected the stop of power supply, the process proceeds to step S26.

ステップS22:CPU101は、主電源部112による電力供給停止を検知したPOSレジスタ100の数が主電源部112による電力供給停止を検知していないPOSレジスタ100の数より多いか否かを判定する。具体的には、CPU101は、電源状態情報データベースに記録されているPOS番号ごとに電源状態の値を取得する。次に、CPU101は、取得した電源状態の値“1”の数と、取得した電源状態の値“0”及び“2”を合わせた数とを比較する。 Step S22: The CPU 101 determines whether or not the number of the POS registers 100 that have detected the power supply stop by the main power supply unit 112 is greater than the number of the POS registers 100 that have not detected the power supply stop by the main power supply unit 112. Specifically, the CPU 101 acquires a power state value for each POS number recorded in the power state information database. Next, the CPU 101 compares the number of acquired power state values “1” with the combined number of acquired power state values “0” and “2”.

電源状態の値“0”及び“2”を合わせた数が電源状態の値“1”の数より多い場合、CPU101は主電源部112による電力供給停止を検知したPOSレジスタ100の数が主電源部112による電力供給停止を検知していないPOSレジスタ100の数より多いと判定する。主電源部112による電力供給停止を検知したPOSレジスタ100の数が主電源部112による電力供給停止を検知していないPOSレジスタ100の数より多い場合、ステップS24の処理に進む。主電源部112による電力供給停止を検知したPOSレジスタ100の数が主電源部112による電力供給停止を検知していないPOSレジスタ100の数より多くない場合、ステップS26の処理に進む。   When the total number of power supply state values “0” and “2” is greater than the number of power supply state values “1”, the CPU 101 determines that the number of the POS registers 100 that detected the stop of power supply by the main power supply unit 112 is the main power supply. It is determined that there are more than the number of POS registers 100 in which the power supply stoppage by the unit 112 is not detected. If the number of POS registers 100 that detected the stop of power supply by the main power supply unit 112 is greater than the number of POS registers 100 that did not detect the stop of power supply by the main power supply unit 112, the process proceeds to step S24. If the number of POS registers 100 that detected the stop of power supply by the main power supply unit 112 is not greater than the number of POS registers 100 that did not detect the stop of power supply by the main power supply unit 112, the process proceeds to step S26.

ステップS24:CPU101は、自装置(POSレジスタ100)のシャットダウン動作を行う。その後、処理が終了する。
ステップS26:CPU101は、電力供給源を予備電源部114から主電源部112に切り替える動作を行うように制御する。その後、ステップS28の処理に進む。
ステップS28:CPU101は、電力供給源を予備電源部114から主電源部112に切り替えることができたか否かを判定する。切り替えることができた場合、CPU101は電力供給源を主電源部112に切り替える。その後、処理は終了する。切り替えることができなかった場合、ステップS24の処理に進む。
Step S24: The CPU 101 performs a shutdown operation of its own device (POS register 100). Thereafter, the process ends.
Step S <b> 26: The CPU 101 controls to perform an operation of switching the power supply source from the standby power supply unit 114 to the main power supply unit 112. Thereafter, the process proceeds to step S28.
Step S28: The CPU 101 determines whether or not the power supply source can be switched from the standby power supply unit 114 to the main power supply unit 112. When the switching can be performed, the CPU 101 switches the power supply source to the main power supply unit 112. Thereafter, the process ends. If it has not been switched, the process proceeds to step S24.

次に、図6及び図7を用いて、本発明におけるPOSシステムの動作の一例について説明する。具体的には、電力供給停止時の制御処理に関する複数台のPOSレジスタ100の動作の一例を示している。なお、図6及び図7に示すシーケンス図の説明において、POSシステムが備えるPOSレジスタ100の台数は、3台(POSレジスタ100−1、POSレジスタ100−2、POSレジスタ100−3)である。また、各POSレジスタ100が備える各機能部は同じである。そのため、各機能部の符号は、省略して説明する。まず、図6について説明する。   Next, an example of the operation of the POS system according to the present invention will be described with reference to FIGS. Specifically, an example of the operation of a plurality of POS registers 100 related to the control processing when power supply is stopped is shown. In the description of the sequence diagrams shown in FIGS. 6 and 7, the number of POS registers 100 provided in the POS system is three (POS register 100-1, POS register 100-2, and POS register 100-3). Each functional unit included in each POS register 100 is the same. For this reason, the reference numerals of the functional units will be omitted. First, FIG. 6 will be described.

図6は、本発明におけるPOSシステムの動作の一例を示すシーケンス図である。図6では、POSレジスタ100−1及びPOSレジスタ100−2がそれぞれ、自装置の主電源部の電力供給停止を検知し、POSレジスタ100−3が自装置(POSレジスタ100−3)主電源部の電力供給停止を検知していない場合(図4(A)の場合)について説明する。   FIG. 6 is a sequence diagram showing an example of the operation of the POS system according to the present invention. In FIG. 6, the POS register 100-1 and the POS register 100-2 each detect the stop of power supply of the main power supply unit of the own device, and the POS register 100-3 is the main power supply unit of the own device (POS register 100-3). A case where no power supply stoppage is detected (in the case of FIG. 4A) will be described.

ステップS30:POSレジスタ100−1は、主電源部の電圧異常を検知する。具体的には、POSレジスタ100−1は、主電源部の電力供給停止を検知する。
ステップS32:POSレジスタ100−2は、主電源部の電圧異常を検知する。具体的には、POSレジスタ100−2は、主電源部の電力供給停止を検知する。
Step S30: The POS register 100-1 detects a voltage abnormality of the main power supply unit. Specifically, the POS register 100-1 detects a power supply stop of the main power supply unit.
Step S32: The POS register 100-2 detects a voltage abnormality of the main power supply unit. Specifically, the POS register 100-2 detects the power supply stop of the main power supply unit.

ステップS34:次に、POSレジスタ100−1は、電力供給源を主電源部から予備電源部に切り替える。
ステップS36:また、POSレジスタ100−2は、電力供給源を主電源部から予備電源部に切り替える。
Step S34: Next, the POS register 100-1 switches the power supply source from the main power supply unit to the standby power supply unit.
Step S36: The POS register 100-2 switches the power supply source from the main power supply unit to the standby power supply unit.

ステップS38:次に、POSレジスタ100−1は、主電源部の電力供給停止を検知した旨の検知結果及びPOS番号(POS1)を含む電源状態通知をPOSレジスタ100−2及びPOSレジスタ100−3に送信する。
ステップS40:POSレジスタ100−2は、POSレジスタ100−1から送信された電源状態通知を受信する。POSレジスタ100−2は、受信した電源状態通知に格納されている検知結果及びPOS番号(POS1)の各値を取得する。POSレジスタ100−2は、電源状態情報データベースを参照し、取得したPOS番号(POS1)に対応するレコードを取得する。その後、POSレジスタ100−2は、取得したレコードに記録されている電源状態の値を、取得した検知結果に基づいて上書きすることによって更新する。より具体的には、POSレジスタ100−2は、取得した検知結果が主電源部の電力供給停止を検知したことを示す内容であるため、POSレジスタ100−1が予備電源状態であると判断する。POSレジスタ100−2は、取得したレコードに記憶されている電源状態の値を、予備電源状態を示す値(例えば、“2”)で上書きすることによってPOSレジスタ100−1の電源状態の値を更新する。この際、POSレジスタ100−2は、電源状態を更新した時刻を最終更新時刻として記録する。
Step S38: Next, the POS register 100-1 notifies the POS register 100-2 and the POS register 100-3 of the power status notification including the detection result indicating that the power supply stop of the main power supply unit is detected and the POS number (POS1). Send to.
Step S40: The POS register 100-2 receives the power status notification transmitted from the POS register 100-1. The POS register 100-2 acquires each value of the detection result and the POS number (POS1) stored in the received power supply state notification. The POS register 100-2 refers to the power state information database and acquires a record corresponding to the acquired POS number (POS1). Thereafter, the POS register 100-2 updates the value of the power supply state recorded in the acquired record by overwriting based on the acquired detection result. More specifically, the POS register 100-2 determines that the POS register 100-1 is in the standby power supply state because the acquired detection result indicates that the power supply stop of the main power supply unit has been detected. . The POS register 100-2 overwrites the value of the power supply state stored in the acquired record with a value (for example, “2”) indicating the standby power supply state, thereby changing the value of the power supply state of the POS register 100-1. Update. At this time, the POS register 100-2 records the time when the power supply state is updated as the last update time.

ステップS42:POSレジスタ100−3は、POSレジスタ100−1から送信された電源状態通知を受信する。POSレジスタ100−3は、受信した電源状態通知に格納されている検知結果及びPOS番号(POS1)の各値を取得する。POSレジスタ100−3は、電源状態情報データベースを参照し、取得したPOS番号(POS1)に対応するレコードを取得する。その後、POSレジスタ100−3は、取得したレコードに記録されている電源状態の値を、取得した検知結果に基づいて上書きすることによって更新する。より具体的には、POSレジスタ100−3は、取得した検知結果が主電源部の電力供給停止を検知したことを示す内容であるため、POSレジスタ100−1が予備電源状態であると判断する。POSレジスタ100−3は、取得したレコードに記憶されている電源状態の値を、予備電源状態を示す値(例えば、“2”)で上書きすることによってPOSレジスタ100−1の電源状態の値を更新する。この際、POSレジスタ100−3は、電源状態を更新した時刻を最終更新時刻として記録する。 Step S42: The POS register 100-3 receives the power status notification transmitted from the POS register 100-1. The POS register 100-3 acquires each value of the detection result and the POS number (POS1) stored in the received power supply state notification. The POS register 100-3 refers to the power status information database and acquires a record corresponding to the acquired POS number (POS1). Thereafter, the POS register 100-3 updates the power state value recorded in the acquired record by overwriting it based on the acquired detection result. More specifically, the POS register 100-3 determines that the POS register 100-1 is in the standby power supply state because the acquired detection result indicates that the power supply stop of the main power supply unit has been detected. . The POS register 100-3 overwrites the value of the power supply state stored in the acquired record with a value (for example, “2”) indicating the standby power supply state, thereby changing the value of the power supply state of the POS register 100-1. Update. At this time, the POS register 100-3 records the time when the power supply state is updated as the last update time.

ステップS44:次に、POSレジスタ100−2は、主電源部の電力供給停止を検知した旨の検知結果及びPOS番号(POS2)を含む電源状態通知をPOSレジスタ100−1及びPOSレジスタ100−3に送信する。
ステップS46:POSレジスタ100−1は、POSレジスタ100−2から送信された電源状態通知を受信する。POSレジスタ100−1は、受信した電源状態通知に格納されている検知結果及びPOS番号(POS2)の各値を取得する。POSレジスタ100−1は、電源状態情報データベースを参照し、取得したPOS番号(POS2)に対応するレコードを取得する。その後、POSレジスタ100−1は、取得したレコードに記録されている電源状態の値を、取得した検知結果に基づいて上書きすることによって更新する。より具体的には、POSレジスタ100−1は、取得した検知結果が主電源部の電力供給停止を検知したことを示す内容であるため、POSレジスタ100−2が予備電源状態であると判断する。POSレジスタ100−1は、取得したレコードに記憶されている電源状態の値を、予備電源状態を示す値(例えば、“2”)で上書きすることによってPOSレジスタ100−2の電源状態の値を更新する。この際、POSレジスタ100−1は、電源状態を更新した時刻を最終更新時刻として記録する。
Step S44: Next, the POS register 100-2 notifies the POS register 100-1 and the POS register 100-3 of the power status notification including the detection result indicating that the power supply stop of the main power supply unit is detected and the POS number (POS2). Send to.
Step S46: The POS register 100-1 receives the power status notification transmitted from the POS register 100-2. The POS register 100-1 acquires each value of the detection result and the POS number (POS2) stored in the received power supply state notification. The POS register 100-1 refers to the power state information database and acquires a record corresponding to the acquired POS number (POS2). Thereafter, the POS register 100-1 updates the power state value recorded in the acquired record by overwriting based on the acquired detection result. More specifically, the POS register 100-1 determines that the POS register 100-2 is in the standby power supply state because the acquired detection result indicates that the power supply stop of the main power supply unit has been detected. . The POS register 100-1 overwrites the value of the power supply state stored in the acquired record with a value (for example, “2”) indicating the standby power supply state, thereby changing the value of the power supply state of the POS register 100-2. Update. At this time, the POS register 100-1 records the time when the power supply state is updated as the last update time.

ステップS48:POSレジスタ100−3は、POSレジスタ100−2から送信された電源状態通知を受信する。POSレジスタ100−3は、受信した電源状態通知に格納されている検知結果及びPOS番号(POS2)の各値を取得する。POSレジスタ100−3は、電源状態情報データベースを参照し、取得したPOS番号(POS2)に対応するレコードを取得する。その後、POSレジスタ100−3は、取得したレコードに記録されている電源状態の値を、取得した検知結果に基づいて上書きすることによって更新する。より具体的には、POSレジスタ100−3は、取得した検知結果が主電源部の電力供給停止を検知したことを示す内容であるため、POSレジスタ100−2が予備電源状態であると判断する。POSレジスタ100−3は、取得したレコードに記憶されている電源状態の値を、予備電源状態を示す値(例えば、“2”)で上書きすることによってPOSレジスタ100−2の電源状態の値を更新する。この際、POSレジスタ100−3は、電源状態を更新した時刻を最終更新時刻として記録する。 Step S48: The POS register 100-3 receives the power status notification transmitted from the POS register 100-2. The POS register 100-3 acquires each value of the detection result and the POS number (POS2) stored in the received power supply state notification. The POS register 100-3 refers to the power state information database and acquires a record corresponding to the acquired POS number (POS2). Thereafter, the POS register 100-3 updates the power state value recorded in the acquired record by overwriting it based on the acquired detection result. More specifically, the POS register 100-3 determines that the POS register 100-2 is in the standby power supply state because the acquired detection result indicates that the power supply stop of the main power supply unit has been detected. . The POS register 100-3 overwrites the value of the power supply state stored in the acquired record with a value (for example, “2”) indicating the standby power supply state, thereby changing the value of the power supply state of the POS register 100-2. Update. At this time, the POS register 100-3 records the time when the power supply state is updated as the last update time.

ステップS50:次に、POSレジスタ100−3は、主電源部の電力供給停止を検知した旨の検知結果及びPOS番号(POS3)を含む電源状態通知をPOSレジスタ100−1及びPOSレジスタ100−2に送信する。その後、POSレジスタ100−3がLAN上の全ての他のPOSレジスタ100から電源状態通知を受信すると、POSレジスタ100−3は自装置(POSレジスタ100−3)の電源状態と、他のPOSレジスタ100(POSレジスタ100−1及びPOSレジスタ100−2)の電源状態とに基づいて所定の制御処理を行う。より具体的には、POSレジスタ100−3は、自装置が通常電源状態であり、POSレジスタ100−1が予備電源状態であり、POSレジスタ100−2が予備電源状態であるため、通常電源状態のまま動作する。その後、処理を終了する。 Step S50: Next, the POS register 100-3 notifies the POS register 100-1 and the POS register 100-2 of the power status notification including the detection result indicating that the power supply stop of the main power supply unit is detected and the POS number (POS3). Send to. Thereafter, when the POS register 100-3 receives the power status notification from all the other POS registers 100 on the LAN, the POS register 100-3 determines the power status of the own device (POS register 100-3) and the other POS registers. Based on the power state of 100 (POS register 100-1 and POS register 100-2), a predetermined control process is performed. More specifically, since the POS register 100-3 is in the normal power supply state, the POS register 100-1 is in the standby power supply state, and the POS register 100-2 is in the standby power supply state, the normal power supply state. It works as it is. Thereafter, the process ends.

ステップS52:POSレジスタ100−2は、POSレジスタ100−3から送信された電源状態通知を受信する。POSレジスタ100−2は、受信した電源状態通知に格納されている検知結果及びPOS番号(POS3)の各値を取得する。POSレジスタ100−2は、電源状態情報データベースを参照し、取得したPOS番号(POS3)に対応するレコードを取得する。その後、POSレジスタ100−2は、取得したレコードに記録されている電源状態の値を、取得した検知結果に基づいて上書きすることによって更新する。より具体的には、POSレジスタ100−2は、取得した検知結果が主電源部の電力供給停止を検知していないことを示す内容であるため、POSレジスタ100−3が通常電源状態であると判断する。POSレジスタ100−2は、取得したレコードに記憶されている電源状態の値を、通常電源状態を示す値(例えば、“1”)で上書きすることによってPOSレジスタ100−3の電源状態の値を更新する。この際、POSレジスタ100−2は、電源状態を更新した時刻を最終更新時刻として記録する。 Step S52: The POS register 100-2 receives the power status notification transmitted from the POS register 100-3. The POS register 100-2 acquires each value of the detection result and the POS number (POS3) stored in the received power supply state notification. The POS register 100-2 refers to the power status information database and acquires a record corresponding to the acquired POS number (POS3). Thereafter, the POS register 100-2 updates the value of the power supply state recorded in the acquired record by overwriting based on the acquired detection result. More specifically, the POS register 100-2 indicates that the acquired detection result indicates that the power supply stop of the main power supply unit has not been detected, so that the POS register 100-3 is in the normal power supply state. to decide. The POS register 100-2 overwrites the value of the power supply state stored in the acquired record with a value indicating the normal power supply state (for example, “1”), thereby changing the value of the power supply state of the POS register 100-3. Update. At this time, the POS register 100-2 records the time when the power supply state is updated as the last update time.

ステップS54:POSレジスタ100−1は、POSレジスタ100−3から送信された電源状態通知を受信する。POSレジスタ100−1は、受信した電源状態通知に格納されている検知結果及びPOS番号(POS3)の各値を取得する。POSレジスタ100−1は、電源状態情報データベースを参照し、取得したPOS番号(POS3)に対応するレコードを取得する。その後、POSレジスタ100−1は、取得したレコードに記録されている電源状態の値を、取得した検知結果に基づいて上書きすることによって更新する。より具体的には、POSレジスタ100−1は、取得した検知結果が主電源部の電力供給停止を検知していないことを示す内容であるため、POSレジスタ100−3が通常電源状態であると判断する。POSレジスタ100−1は、取得したレコードに記憶されている電源状態の値を、通常電源状態を示す値(例えば、“1”)で上書きすることによってPOSレジスタ100−3の電源状態の値を更新する。この際、POSレジスタ100−1は、電源状態を更新した時刻を最終更新時刻として記録する。 Step S54: The POS register 100-1 receives the power status notification transmitted from the POS register 100-3. The POS register 100-1 acquires each value of the detection result and the POS number (POS3) stored in the received power supply state notification. The POS register 100-1 refers to the power state information database and acquires a record corresponding to the acquired POS number (POS3). Thereafter, the POS register 100-1 updates the power state value recorded in the acquired record by overwriting based on the acquired detection result. More specifically, since the POS register 100-1 indicates that the acquired detection result indicates that the power supply stop of the main power supply unit has not been detected, the POS register 100-3 is in the normal power supply state. to decide. The POS register 100-1 overwrites the value of the power supply state stored in the acquired record with a value (for example, “1”) indicating the normal power supply state, thereby changing the value of the power supply state of the POS register 100-3. Update. At this time, the POS register 100-1 records the time when the power supply state is updated as the last update time.

ステップS56:POSレジスタ100−2がLAN上の全ての他のPOSレジスタ100(POSレジスタ100−1及びPOSレジスタ100−3)から電源状態通知を受信すると、POSレジスタ100−2は自装置(POSレジスタ100−2)の電源状態と、他のPOSレジスタ100の電源状態とに基づいて所定の制御処理を行う。より具体的には、POSレジスタ100−2は、自装置が予備電源状態であり、POSレジスタ100−1が予備電源状態であり、POSレジスタ100−3が通常電源状態であるため、シャットダウン動作を行う。その後、POSレジスタ100−2は、処理を終了する。 Step S56: When the POS register 100-2 receives the power supply state notification from all the other POS registers 100 (POS register 100-1 and POS register 100-3) on the LAN, the POS register 100-2 receives its own device (POS). A predetermined control process is performed based on the power state of the register 100-2) and the power state of the other POS register 100. More specifically, since the POS register 100-2 is in the standby power supply state, the POS register 100-1 is in the standby power supply state, and the POS register 100-3 is in the normal power supply state, the shutdown operation is performed. Do. Thereafter, the POS register 100-2 ends the process.

ステップS58:POSレジスタ100−1がLAN上の全ての他のPOSレジスタ100(POSレジスタ100−2及びPOSレジスタ100−3)から電源状態通知を受信すると、POSレジスタ100−1は自装置(POSレジスタ100−1)の電源状態と、他のPOSレジスタ100の電源状態とに基づいて所定の制御処理を行う。より具体的には、POSレジスタ100−1は、自装置が予備電源状態であり、POSレジスタ100−1が予備電源状態であり、POSレジスタ100−3が通常電源状態であるため、シャットダウン動作を行う。その後、POSレジスタ100−1は、処理を終了する。 Step S58: When the POS register 100-1 receives the power status notification from all the other POS registers 100 (POS register 100-2 and POS register 100-3) on the LAN, the POS register 100-1 recognizes its own device (POS). A predetermined control process is performed based on the power state of the register 100-1) and the power state of the other POS register 100. More specifically, since the POS register 100-1 is in the standby power supply state, the POS register 100-1 is in the standby power supply state, and the POS register 100-3 is in the normal power supply state, the shutdown operation is performed. Do. Thereafter, the POS register 100-1 ends the process.

図7は、本発明におけるPOSシステムの動作の一例を示すシーケンス図である。図7では、POSレジスタ100−1が主電源部の電力供給の停止を検知し、POSレジスタ100−2及びPOSレジスタ100−3が主電源部の電力供給の停止を検知していない場合(図4(B)の場合)について説明する。   FIG. 7 is a sequence diagram showing an example of the operation of the POS system according to the present invention. In FIG. 7, the POS register 100-1 detects the stop of the power supply of the main power supply unit, and the POS register 100-2 and the POS register 100-3 do not detect the stop of the power supply of the main power supply unit (FIG. 7). 4 (B)) will be described.

ステップS60:POSレジスタ100−1は、主電源部の電圧異常を検知する。具体的には、POSレジスタ100−1は、主電源部の電力供給停止を検知する。
ステップS62:次に、POSレジスタ100−1は、電力供給源を主電源部から予備電源部に切り替える。
Step S60: The POS register 100-1 detects a voltage abnormality of the main power supply unit. Specifically, the POS register 100-1 detects a power supply stop of the main power supply unit.
Step S62: Next, the POS register 100-1 switches the power supply source from the main power supply unit to the standby power supply unit.

ステップS64:次に、POSレジスタ100−1は、主電源部の電力供給停止を検知した旨の検知結果及びPOS番号(POS1)を含む電源状態通知をPOSレジスタ100−2及びPOSレジスタ100−3に送信する。
ステップS66:POSレジスタ100−2は、POSレジスタ100−1から送信された電源状態通知を受信する。POSレジスタ100−2は、受信した電源状態通知に格納されている検知結果及びPOS番号(POS1)の各値を取得する。POSレジスタ100−2は、電源状態情報データベースを参照し、取得したPOS番号(POS1)に対応するレコードを取得する。その後、POSレジスタ100−2は、取得したレコードに記録されている電源状態の値を、取得した検知結果に基づいて上書きすることによって更新する。より具体的には、POSレジスタ100−2は、取得した検知結果が主電源部の電力供給停止を検知したことを示す内容であるため、POSレジスタ100−1が予備電源状態であると判断する。POSレジスタ100−2は、取得したレコードに記憶されている電源状態の値を、予備電源状態を示す値(例えば、“2”)で上書きすることによってPOSレジスタ100−1の電源状態の値を更新する。この際、POSレジスタ100−2は、電源状態を更新した時刻を最終更新時刻として記録する。
Step S64: Next, the POS register 100-1 notifies the POS register 100-2 and the POS register 100-3 of the power status notification including the detection result indicating that the power supply stop of the main power supply unit is detected and the POS number (POS1). Send to.
Step S66: The POS register 100-2 receives the power status notification transmitted from the POS register 100-1. The POS register 100-2 acquires each value of the detection result and the POS number (POS1) stored in the received power supply state notification. The POS register 100-2 refers to the power state information database and acquires a record corresponding to the acquired POS number (POS1). Thereafter, the POS register 100-2 updates the value of the power supply state recorded in the acquired record by overwriting based on the acquired detection result. More specifically, the POS register 100-2 determines that the POS register 100-1 is in the standby power supply state because the acquired detection result indicates that the power supply stop of the main power supply unit has been detected. . The POS register 100-2 overwrites the value of the power supply state stored in the acquired record with a value (for example, “2”) indicating the standby power supply state, thereby changing the value of the power supply state of the POS register 100-1. Update. At this time, the POS register 100-2 records the time when the power supply state is updated as the last update time.

ステップS68:POSレジスタ100−3は、POSレジスタ100−1から送信された電源状態通知を受信する。POSレジスタ100−3は、受信した電源状態通知に格納されている検知結果及びPOS番号(POS1)の各値を取得する。POSレジスタ100−3は、電源状態情報データベースを参照し、取得したPOS番号(POS1)に対応するレコードを取得する。その後、POSレジスタ100−3は、取得したレコードに記録されている電源状態の値を、取得した検知結果に基づいて上書きすることによって更新する。より具体的には、POSレジスタ100−3は、取得した検知結果が主電源部の電力供給停止を検知したことを示す内容であるため、POSレジスタ100−1が予備電源状態であると判断する。POSレジスタ100−3は、取得したレコードに記憶されている電源状態の値を、予備電源状態を示す値(例えば、“2”)で上書きすることによってPOSレジスタ100−1の電源状態の値を更新する。この際、POSレジスタ100−3は、電源状態を更新した時刻を最終更新時刻として記録する。 Step S68: The POS register 100-3 receives the power status notification transmitted from the POS register 100-1. The POS register 100-3 acquires each value of the detection result and the POS number (POS1) stored in the received power supply state notification. The POS register 100-3 refers to the power status information database and acquires a record corresponding to the acquired POS number (POS1). Thereafter, the POS register 100-3 updates the power state value recorded in the acquired record by overwriting it based on the acquired detection result. More specifically, the POS register 100-3 determines that the POS register 100-1 is in the standby power supply state because the acquired detection result indicates that the power supply stop of the main power supply unit has been detected. . The POS register 100-3 overwrites the value of the power supply state stored in the acquired record with a value (for example, “2”) indicating the standby power supply state, thereby changing the value of the power supply state of the POS register 100-1. Update. At this time, the POS register 100-3 records the time when the power supply state is updated as the last update time.

ステップS70:次に、POSレジスタ100−2は、主電源部の電力供給停止を検知した旨の検知結果及びPOS番号(POS2)を含む電源状態通知をPOSレジスタ100−1及びPOSレジスタ100−3に送信する。
ステップS72:POSレジスタ100−3は、POSレジスタ100−2から送信された電源状態通知を受信する。POSレジスタ100−3は、受信した電源状態通知に格納されている検知結果及びPOS番号(POS2)の各値を取得する。POSレジスタ100−3は、電源状態情報データベースを参照し、取得したPOS番号(POS2)に対応するレコードを取得する。その後、POSレジスタ100−3は、取得したレコードに記録されている電源状態の値を、取得した検知結果に基づいて上書きすることによって更新する。より具体的には、POSレジスタ100−3は、取得した検知結果が主電源部の電力供給停止を検知していないことを示す内容であるため、POSレジスタ100−2が通常電源状態であると判断する。POSレジスタ100−3は、取得したレコードに記憶されている電源状態の値を、通常電源状態を示す値(例えば、“1”)で上書きすることによってPOSレジスタ100−2の電源状態の値を更新する。この際、POSレジスタ100−3は、電源状態を更新した時刻を最終更新時刻として記録する。
Step S70: Next, the POS register 100-2 notifies the POS register 100-1 and the POS register 100-3 of the power status notification including the detection result indicating that the power supply stop of the main power supply unit is detected and the POS number (POS2). Send to.
Step S72: The POS register 100-3 receives the power status notification transmitted from the POS register 100-2. The POS register 100-3 acquires each value of the detection result and the POS number (POS2) stored in the received power supply state notification. The POS register 100-3 refers to the power state information database and acquires a record corresponding to the acquired POS number (POS2). Thereafter, the POS register 100-3 updates the power state value recorded in the acquired record by overwriting it based on the acquired detection result. More specifically, since the POS register 100-3 has a content indicating that the acquired detection result does not detect the power supply stop of the main power supply unit, the POS register 100-2 is in the normal power supply state. to decide. The POS register 100-3 overwrites the power state value stored in the acquired record with a value (eg, “1”) indicating the normal power state, thereby changing the power state value of the POS register 100-2. Update. At this time, the POS register 100-3 records the time when the power supply state is updated as the last update time.

ステップS74:POSレジスタ100−1は、POSレジスタ100−2から送信された電源状態通知を受信する。POSレジスタ100−1は、受信した電源状態通知に格納されている検知結果及びPOS番号(POS2)の各値を取得する。POSレジスタ100−1は、電源状態情報データベースを参照し、取得したPOS番号(POS2)に対応するレコードを取得する。その後、POSレジスタ100−1は、取得したレコードに記録されている電源状態の値を、取得した検知結果に基づいて上書きすることによって更新する。より具体的には、POSレジスタ100−1は、取得した検知結果が主電源部の電力供給停止を検知していないことを示す内容であるため、POSレジスタ100−2が通常電源状態であると判断する。POSレジスタ100−1は、取得したレコードに記憶されている電源状態の値を、通常電源状態を示す値(例えば、“1”)で上書きすることによってPOSレジスタ100−2の電源状態の値を更新する。この際、POSレジスタ100−1は、電源状態を更新した時刻を最終更新時刻として記録する。 Step S74: The POS register 100-1 receives the power status notification transmitted from the POS register 100-2. The POS register 100-1 acquires each value of the detection result and the POS number (POS2) stored in the received power supply state notification. The POS register 100-1 refers to the power state information database and acquires a record corresponding to the acquired POS number (POS2). Thereafter, the POS register 100-1 updates the power state value recorded in the acquired record by overwriting based on the acquired detection result. More specifically, the POS register 100-1 indicates that the acquired detection result indicates that the power supply stop of the main power supply unit has not been detected, so that the POS register 100-2 is in the normal power supply state. to decide. The POS register 100-1 overwrites the value of the power supply state stored in the acquired record with a value (for example, “1”) indicating the normal power supply state, thereby changing the value of the power supply state of the POS register 100-2. Update. At this time, the POS register 100-1 records the time when the power supply state is updated as the last update time.

ステップS76:次に、POSレジスタ100−3は、主電源部の電力供給停止を検知した旨の検知結果及びPOS番号(POS3)を含む電源状態通知をPOSレジスタ100−1及びPOSレジスタ100−2に送信する。その後、POSレジスタ100−3がLAN上の全ての他のPOSレジスタ100(POSレジスタ100−1及びPOSレジスタ100−2)から電源状態通知を受信すると、POSレジスタ100−3は自装置(POSレジスタ100−3)の電源状態と、他のPOSレジスタ100の電源状態とに基づいて所定の制御処理を行う。より具体的には、POSレジスタ100−3は、自装置が通常電源状態であり、POSレジスタ100−1が予備電源状態であり、POSレジスタ100−2が通常電源状態であるため、通常電源状態のまま動作する。その後、処理を終了する。 Step S76: Next, the POS register 100-3 notifies the POS register 100-1 and the POS register 100-2 of the power state notification including the detection result indicating that the power supply stop of the main power supply unit is detected and the POS number (POS3). Send to. Thereafter, when the POS register 100-3 receives the power supply state notification from all the other POS registers 100 (POS register 100-1 and POS register 100-2) on the LAN, the POS register 100-3 detects its own device (POS register). A predetermined control process is performed based on the power state of 100-3) and the power state of the other POS register 100. More specifically, since the POS register 100-3 is in the normal power supply state, the POS register 100-1 is in the standby power supply state, and the POS register 100-2 is in the normal power supply state, the normal power supply state. It works as it is. Thereafter, the process ends.

ステップS78:POSレジスタ100−2は、POSレジスタ100−3から送信された電源状態通知を受信する。POSレジスタ100−2は、受信した電源状態通知に格納されている検知結果及びPOS番号(POS3)の各値を取得する。POSレジスタ100−2は、電源状態情報データベースを参照し、取得したPOS番号(POS3)に対応するレコードを取得する。その後、POSレジスタ100−2は、取得したレコードに記録されている電源状態の値を、取得した検知結果に基づいて上書きすることによって更新する。より具体的には、POSレジスタ100−2は、取得した検知結果が主電源部の電力供給停止を検知していないことを示す内容であるため、POSレジスタ100−3が通常電源状態であると判断する。POSレジスタ100−2は、取得したレコードに記憶されている電源状態の値を、通常電源状態を示す値(例えば、“1”)で上書きすることによってPOSレジスタ100−3の電源状態の値を更新する。この際、POSレジスタ100−2は、電源状態を更新した時刻を最終更新時刻として記録する。 Step S78: The POS register 100-2 receives the power status notification transmitted from the POS register 100-3. The POS register 100-2 acquires each value of the detection result and the POS number (POS3) stored in the received power supply state notification. The POS register 100-2 refers to the power status information database and acquires a record corresponding to the acquired POS number (POS3). Thereafter, the POS register 100-2 updates the value of the power supply state recorded in the acquired record by overwriting based on the acquired detection result. More specifically, the POS register 100-2 indicates that the acquired detection result indicates that the power supply stop of the main power supply unit has not been detected, so that the POS register 100-3 is in the normal power supply state. to decide. The POS register 100-2 overwrites the value of the power supply state stored in the acquired record with a value indicating the normal power supply state (for example, “1”), thereby changing the value of the power supply state of the POS register 100-3. Update. At this time, the POS register 100-2 records the time when the power supply state is updated as the last update time.

その後、POSレジスタ100−2がLAN上の全ての他のPOSレジスタ100(POSレジスタ100−1及びPOSレジスタ100−3)から電源状態通知を受信すると、POSレジスタ100−2は自装置(POSレジスタ100−2)の電源状態と、他のPOSレジスタ100の電源状態とに基づいて所定の制御処理を行う。より具体的には、POSレジスタ100−2は、自装置が通常電源状態であり、POSレジスタ100−1が予備電源状態であり、POSレジスタ100−2が通常電源状態であるため、通常電源状態のまま動作する。その後、処理を終了する。   After that, when the POS register 100-2 receives the power status notification from all the other POS registers 100 (POS register 100-1 and POS register 100-3) on the LAN, the POS register 100-2 determines its own device (POS register). A predetermined control process is performed based on the power state of 100-2) and the power states of the other POS registers 100. More specifically, since the POS register 100-2 is in the normal power supply state, the POS register 100-1 is in the standby power supply state, and the POS register 100-2 is in the normal power supply state, the normal power supply state. It works as it is. Thereafter, the process ends.

ステップS80:POSレジスタ100−1は、POSレジスタ100−3から送信された電源状態通知を受信する。POSレジスタ100−1は、受信した電源状態通知に格納されている検知結果及びPOS番号(POS3)の各値を取得する。POSレジスタ100−1は、電源状態情報データベースを参照し、取得したPOS番号(POS3)に対応するレコードを取得する。その後、POSレジスタ100−1は、取得したレコードに記録されている電源状態の値を、取得した検知結果に基づいて上書きすることによって更新する。より具体的には、POSレジスタ100−1は、取得した検知結果が主電源部の電力供給停止を検知していないことを示す内容であるため、POSレジスタ100−3が通常電源状態であると判断する。POSレジスタ100−1は、取得したレコードに記憶されている電源状態の値を、通常電源状態を示す値(例えば、“1”)で上書きすることによってPOSレジスタ100−3の電源状態の値を更新する。この際、POSレジスタ100−1は、電源状態を更新した時刻を最終更新時刻として記録する。 Step S80: The POS register 100-1 receives the power status notification transmitted from the POS register 100-3. The POS register 100-1 acquires each value of the detection result and the POS number (POS3) stored in the received power supply state notification. The POS register 100-1 refers to the power state information database and acquires a record corresponding to the acquired POS number (POS3). Thereafter, the POS register 100-1 updates the power state value recorded in the acquired record by overwriting based on the acquired detection result. More specifically, since the POS register 100-1 indicates that the acquired detection result indicates that the power supply stop of the main power supply unit has not been detected, the POS register 100-3 is in the normal power supply state. to decide. The POS register 100-1 overwrites the value of the power supply state stored in the acquired record with a value (for example, “1”) indicating the normal power supply state, thereby changing the value of the power supply state of the POS register 100-3. Update. At this time, the POS register 100-1 records the time when the power supply state is updated as the last update time.

ステップS82:POSレジスタ100−1がLAN上の全ての他のPOSレジスタ100(POSレジスタ100−2及びPOSレジスタ100−3)から電源状態通知を受信すると、POSレジスタ100−1は自装置(POSレジスタ100−1)の電源状態と、他のPOSレジスタ100の電源状態とに基づいて所定の制御処理を行う。より具体的には、POSレジスタ100−1は、自装置が予備電源状態であり、POSレジスタ100−2が通常電源状態であり、POSレジスタ100−3が通常電源状態であるため、電力供給源を予備電源部から主電源部に切り替える動作を行う。
ステップS84:POSレジスタ100−1は、電力供給源を予備電源部から主電源部に切り替えることができたか否かを判定する。電力供給源を予備電源部から主電源部に切り替えることができた場合、POSレジスタ100−1は通常電源状態で動作する。その後、処理は終了する。一方、電力供給源を予備電源部から主電源部に切り替えることができなかった場合、ステップS86の処理に進む。
ステップS84:POSレジスタ100−1は、シャットダウン動作を行う。その後、処理を終了する。
Step S82: When the POS register 100-1 receives the power status notification from all the other POS registers 100 (POS register 100-2 and POS register 100-3) on the LAN, the POS register 100-1 recognizes its own device (POS). A predetermined control process is performed based on the power state of the register 100-1) and the power state of the other POS register 100. More specifically, since the POS register 100-1 is in the standby power supply state, the POS register 100-2 is in the normal power supply state, and the POS register 100-3 is in the normal power supply state, the power supply source Is switched from the standby power supply unit to the main power supply unit.
Step S84: The POS register 100-1 determines whether or not the power supply source has been switched from the standby power supply unit to the main power supply unit. When the power supply source can be switched from the standby power supply unit to the main power supply unit, the POS register 100-1 operates in the normal power supply state. Thereafter, the process ends. On the other hand, if the power supply source cannot be switched from the standby power supply unit to the main power supply unit, the process proceeds to step S86.
Step S84: The POS register 100-1 performs a shutdown operation. Thereafter, the process ends.

なお、図7のシーケンス図では、各POSレジスタ100(POSレジスタ100−1、POSレジスタ100−2及びPOSレジスタ100−3)が、他のPOSレジスタ100全ての電源状態を取得する構成を示したが、これに限定される必要はない。例えば、自装置の主電源部による電力供給停止を検知していないPOSレジスタ100(図7では、POSレジスタ100−2及びPOSレジスタ100−3)は、電源状態通知の送信元であるPOSレジスタ100−1のみに自装置の電源状態を通知してもよい。具体的には、以下のような処理が行われてもよい。図7のステップS70の処理では、POSレジスタ100−2は、電源状態通知の送信元であるPOSレジスタ100−1のみに電源状態通知を送信し、POSレジスタ100−3に対しては、電源状態通知を送信しない。また、ステップS76の処理では、POSレジスタ100−3は、電源状態通知の送信元であるPOSレジスタ100−1のみに電源状態通知を送信し、POSレジスタ100−2に対しては、電源状態通知を送信しない。   The sequence diagram of FIG. 7 shows a configuration in which each POS register 100 (POS register 100-1, POS register 100-2, and POS register 100-3) acquires the power supply state of all other POS registers 100. However, it need not be limited to this. For example, the POS register 100 (the POS register 100-2 and the POS register 100-3 in FIG. 7) that has not detected the power supply stoppage by the main power supply unit of its own device is the POS register 100 that is the transmission source of the power state notification. Only -1 may be notified of the power state of the own device. Specifically, the following processing may be performed. In the process of step S70 in FIG. 7, the POS register 100-2 transmits the power state notification only to the POS register 100-1 that is the transmission source of the power state notification, and the power state is not transmitted to the POS register 100-3. Do not send notifications. In step S76, the POS register 100-3 transmits a power state notification only to the POS register 100-1 that is a transmission source of the power state notification, and notifies the POS register 100-2 of the power state notification. Do not send.

以上のように構成されたPOSレジスタ100は、自装置の主電源部112からの電力供給停止を検知した場合に、他のPOSレジスタ100の電源状態に基づいて自装置の電力供給源の切り替え動作が停電によるものであるのか誤検知によるものであるのかを判断できる。そして、POSレジスタ100は、判断結果に基づいて、シャットダウン動作を行うか、電力供給源を予備電源部114から主電源部112に切り替える動作を行うかを判断し、制御処理を実行する。したがって、主電源部112から予備電源部114の電力供給に切り替わったときに、正常に使用できる場合には、シャットダウンされてしまうおそれを軽減できる。そのため、誤検知による影響を軽減することが可能になる。   When the POS register 100 configured as described above detects the stop of power supply from the main power supply unit 112 of its own device, the switching operation of the power supply source of its own device based on the power state of the other POS register 100 Can be determined whether it is due to a power outage or a false detection. Based on the determination result, the POS register 100 determines whether to perform a shutdown operation or to perform an operation of switching the power supply source from the standby power supply unit 114 to the main power supply unit 112, and executes control processing. Therefore, when the main power supply unit 112 is switched to the power supply of the standby power supply unit 114, the possibility of being shut down can be reduced if it can be used normally. For this reason, it is possible to reduce the influence of erroneous detection.

なお、本実施例では、あるPOSレジスタ100が電力供給源を主電源部112から予備電源部114に切り替える動作を行った場合には、当該POSレジスタ100は、LAN上の全ての他のPOSレジスタ100に電力供給停止を検知した旨の検知結果を含む電源状態通知を送信するとともに、当該電源状態通知を受信した他の全ての他のPOSレジスタ100のそれぞれから受信された電源状態通知に基づいて、自装置を予備電源から主電源へ切り替える動作や、自装置のシャットダウン等の動作を行うように制御する態様を説明したが、他の態様であってもよい。例えば、POSレジスタ100は、電力供給源を主電源部112から予備電源部114に切り替える動作を行った後に、LAN上のPOSレジスタ100に電源状態通知を送信しようとしたが送信できなかった場合には、自装置のシャットダウン等の動作を行うように制御してもよい。また例えば、POSレジスタ100は、電力供給源を主電源部112から予備電源部114に切り替える動作を行ってLAN上の他のPOSレジスタ100に電源状態通知を送信した後に、他のPOSレジスタ100から電源状態通知を受信できなかった場合にも、自装置のシャットダウン等の動作を行うように制御してもよい。これにより、本実施例と同様の効果を得ることができる。つまり、停電等の影響によりネットワークが停止してしまった場合などであっても、異常終了してしまうおそれを軽減できる。
また、本実施例では、各POSレジスタ100が、他のPOSレジスタ100全ての電源状態を検知する構成を示したが、これに限定される必要はない。例えば、各POSレジスタ100が、1台の他のPOSレジスタ100、又は、自装置(POSレジスタ100)に隣接するPOSレジスタ100についてのみ、電源状態を検知することによって自装置の制御処理を行ってもよい。
このように構成されることによって、LAN上のPOSレジスタ100の数が増大(例えば、10台以上)した場合であっても、他のPOSレジスタ100全ての電源状態を検知する必要がない。したがって、POSレジスタ100が他のPOSレジスタ100の電源状態を検知するのに要する時間を短くすることができる。そのため、予備電源部114に蓄積された電力が無くなってしまう前に、シャットダウン動作又は電力供給源の切り替えを行うことができる。
In the present embodiment, when a certain POS register 100 performs an operation of switching the power supply source from the main power supply unit 112 to the standby power supply unit 114, the POS register 100 includes all other POS registers on the LAN. Based on the power status notification received from each of all the other POS registers 100 that have received the power status notification, the power status notification including the detection result indicating that the power supply stop has been detected is transmitted to 100. In the above description, the operation of switching the own device from the standby power source to the main power source and the operation of performing the operation such as shutting down the own device have been described. However, other modes may be used. For example, when the POS register 100 attempts to transmit a power state notification to the POS register 100 on the LAN after performing an operation of switching the power supply source from the main power supply unit 112 to the standby power supply unit 114, but cannot transmit the power supply status notification. May be controlled to perform operations such as shutting down its own device. Further, for example, the POS register 100 performs an operation of switching the power supply source from the main power supply unit 112 to the standby power supply unit 114 and transmits a power state notification to the other POS register 100 on the LAN, and then from the other POS register 100. Even when the power supply state notification cannot be received, it may be controlled to perform an operation such as shutdown of the own apparatus. Thereby, the effect similar to a present Example can be acquired. That is, even when the network is stopped due to the influence of a power failure or the like, the possibility of abnormal termination can be reduced.
Further, in the present embodiment, the configuration in which each POS register 100 detects the power supply state of all the other POS registers 100 is shown, but the present invention is not limited to this. For example, each POS register 100 performs control processing of its own device by detecting the power supply state only for one other POS register 100 or the POS register 100 adjacent to its own device (POS register 100). Also good.
With this configuration, even when the number of POS registers 100 on the LAN increases (for example, 10 or more), it is not necessary to detect the power supply state of all the other POS registers 100. Therefore, the time required for the POS register 100 to detect the power state of another POS register 100 can be shortened. For this reason, the shutdown operation or the switching of the power supply source can be performed before the power stored in the standby power supply unit 114 is lost.

また、本実施例では、POSシステムにおけるPOSレジスタ100の制御処理の具体例を示したが、券売機などの装置を備えたシステムで上記制御処理が実行されてもよい。   In the present embodiment, a specific example of the control processing of the POS register 100 in the POS system is shown. However, the control processing may be executed by a system including an apparatus such as a ticket vending machine.

また、不図示の上位管理装置(例えば、ストアコントローラ、監視装置)がLAN上の全てのPOSレジスタ100の電源状態を記録するデータベースを記憶し、各POSレジスタ100は上位管理装置が記憶しているデータベースを参照することによって、自身の制御処理を行ってもよい。   A host management device (not shown) (for example, a store controller or a monitoring device) stores a database that records the power state of all POS registers 100 on the LAN, and each POS register 100 is stored in the host management device. By referring to the database, it may perform its own control processing.

以上、この発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。   The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes designs and the like that do not depart from the gist of the present invention.

なお、本発明の各処理を実行するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、当該記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより、POSレジスタ100の各処理に係る上述した種々の処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものであってもよい。また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、フラッシュメモリ等の書き込み可能な不揮発性メモリ、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。   Each program of the POS register 100 is recorded by recording a program for executing each process of the present invention on a computer-readable recording medium, causing the computer system to read and execute the program recorded on the recording medium. You may perform the various process mentioned above which concerns on a process. Here, the “computer system” may include an OS and hardware such as peripheral devices. Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used. The “computer-readable recording medium” means a flexible disk, a magneto-optical disk, a ROM, a writable nonvolatile memory such as a flash memory, a portable medium such as a CD-ROM, a hard disk built in a computer system, etc. This is a storage device.

さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(例えばDRAM(Dynamic Random Access Memory))のように、一定時間プログラムを保持しているものも含むものとする。また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。また、上記プログラムは、前述した機能の一部を実現するためのものであってもよい。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であってもよい。   Further, the “computer-readable recording medium” means a volatile memory (for example, DRAM (Dynamic DRAM) in a computer system that becomes a server or a client when a program is transmitted through a network such as the Internet or a communication line such as a telephone line. Random Access Memory)), etc., which hold programs for a certain period of time. The program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line. The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, what is called a difference file (difference program) may be sufficient.

100(100−1〜100−N)…POSレジスタ, 101…CPU, 102…ROM, 103…RAM, 104…スキャナ部, 105…店員用表示部, 106…客用表示部, 107…操作部, 108…通信部, 109…ブザー, 110…レシート発行口, 111…印字部, 112…主電源部, 113…電力供給部(電力供給手段、検出手段), 114…予備電源部 100 (100-1 to 100-N) ... POS register, 101 ... CPU, 102 ... ROM, 103 ... RAM, 104 ... scanner part, 105 ... display for salesclerk, 106 ... display for customer, 107 ... operation part, DESCRIPTION OF SYMBOLS 108 ... Communication part, 109 ... Buzzer, 110 ... Receipt issue port, 111 ... Printing part, 112 ... Main power supply part, 113 ... Power supply part (power supply means, detection means), 114 ... Standby power supply part

Claims (4)

自装置の主電源による電力供給停止を検知する検知手段と、
前記検知手段によって、前記電力供給停止が検知されると、電力供給源を主電源から予備電源に切り替える動作を行う電力供給手段と、
他の装置との間で前記電力供給停止を検知したか否かを示す通知を送受信する通信手段と、
前記通信手段によって受信された通知に基づいて所定の制御を行う制御手段と、
を備え、
前記制御手段は、
前記他の装置から前記電力供給停止を検知していない旨の通知が受信された場合には、自装置の電力供給源を予備電源から主電源へ切り替える動作を行うように制御することを特徴とする商品販売処理システム。
Detection means for detecting power supply stoppage by the main power supply of the device itself;
A power supply means for performing an operation of switching a power supply source from a main power supply to a standby power supply when the detection means detects the power supply stoppage;
Communication means for transmitting and receiving a notification indicating whether or not the power supply stop has been detected with another device;
Control means for performing predetermined control based on the notification received by the communication means;
With
The control means includes
When the notification that the power supply stoppage is not detected is received from the other device, control is performed so as to perform an operation of switching the power supply source of the own device from the standby power source to the main power source. Product sales processing system.
前記制御手段は、前記他の装置から前記電力供給停止を検知した旨の通知が受信された場合、又は、前記他の装置から前記電供給停止を検知したか否かを示す通知が受信されなかった場合には、自装置のシャットダウンの動作を行うように制御する
ことを特徴とする請求項1に記載の商品販売処理システム。
Wherein if the notification of the detection of stopping the power supply from said another device is received, or a notification indicating whether the detecting the power outage from the other apparatus is received If no, the commodity sales processing system according to claim 1, wherein the controller controls to perform the operations of the shutdown of the apparatus.
前記制御手段は、前記切り替える動作を実行し、切り替えができなかった場合にシャットダウンの動作を行うように制御することを特徴とする請求項1又は2に記載の商品販売処理システム。 It said control means, commodity sales processing system according to claim 1 or 2 performs the switching operation, and controls to perform the operation of the shutdown if it can not be switched. 前記制御手段は、前記電力供給停止が検知された場合において、前記電力供給停止を検知していない装置の数が、自装置を含む前記電力供給停止を検知した装置の数より多いときには、自装置のシャットダウンの動作を行わず、自装置の電力供給源を予備電源から主電源へ切り替える動作を行うように制御することを特徴とする請求項1〜3の何れか1項に記載の商品販売処理システム。 When the power supply stop is detected and the number of devices that have not detected the power supply stop is greater than the number of devices that have detected the power supply stop including the device, the control means of without operation of the shutdown, according to any one of claims 1 to 3, characterized in that for controlling the power supply of its own device to perform switching operation Order operation to the main power from the standby power supply Product sales processing system.
JP2013086482A 2013-04-17 2013-04-17 Product sales processing system Active JP6155789B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013086482A JP6155789B2 (en) 2013-04-17 2013-04-17 Product sales processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013086482A JP6155789B2 (en) 2013-04-17 2013-04-17 Product sales processing system

Publications (2)

Publication Number Publication Date
JP2014211686A JP2014211686A (en) 2014-11-13
JP6155789B2 true JP6155789B2 (en) 2017-07-05

Family

ID=51931430

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013086482A Active JP6155789B2 (en) 2013-04-17 2013-04-17 Product sales processing system

Country Status (1)

Country Link
JP (1) JP6155789B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3487127B2 (en) * 1997-04-14 2004-01-13 オムロン株式会社 Information processing device, product registration device, and program storage medium
JP2010204902A (en) * 2009-03-03 2010-09-16 Tdk-Lambda Corp Uninterruptible power supply, power feeding control method, and program
JP2012060845A (en) * 2010-09-13 2012-03-22 Toshiba Corp Uninterruptible power-supply system and method of controlling operation of standby uninterruptible power-supply unit used therefor

Also Published As

Publication number Publication date
JP2014211686A (en) 2014-11-13

Similar Documents

Publication Publication Date Title
JP4912047B2 (en) Electronic shelf label system and electronic shelf label management program
JP6155789B2 (en) Product sales processing system
JP4994857B2 (en) Vending machine price changing system, vending machine price changing method, and vending machine price changing program
JP7054614B2 (en) Servers, systems and programs
JP2016076193A (en) Information processing unit and program
US20220270028A1 (en) Information processing apparatus and information processing system
JP6747403B2 (en) Sales data processing device, sales data processing method, and sales data processing program
JP4925736B2 (en) Electronic shelf label system and electronic shelf label management program
JP4502761B2 (en) Electronic shelf label system
JP2012238166A (en) Information processing device and program
JP6301743B2 (en) Shelf label management device and its control program
JP7297046B2 (en) mobile terminal
JP6999440B2 (en) Product sales data processing equipment and programs
JP6964480B2 (en) Product sales data processing equipment, input equipment and programs
JP2009123030A (en) Article sales data processor
JP4910030B2 (en) Electronics
JP2006187988A (en) Terminal device for shop, fault information displaying method, and fault information displaying program
JP2015080890A (en) Printer, printing system and control method of printer
JP6958684B2 (en) Sales data processing device, display method and program
JP5473160B2 (en) Product sales data processing device
JP7396520B2 (en) Sales data processing system
JP2008140072A (en) Electronic device
JP2018049562A (en) Settlement device and program
JP5450572B2 (en) Data processing apparatus and program
JP4922902B2 (en) Merchandise sales processing apparatus and control method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160331

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170124

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170131

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170327

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170522

R150 Certificate of patent or registration of utility model

Ref document number: 6155789

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250