JP7404856B2 - Sales data processing system, sales data processing device, mobile terminal device and program - Google Patents

Sales data processing system, sales data processing device, mobile terminal device and program Download PDF

Info

Publication number
JP7404856B2
JP7404856B2 JP2019231035A JP2019231035A JP7404856B2 JP 7404856 B2 JP7404856 B2 JP 7404856B2 JP 2019231035 A JP2019231035 A JP 2019231035A JP 2019231035 A JP2019231035 A JP 2019231035A JP 7404856 B2 JP7404856 B2 JP 7404856B2
Authority
JP
Japan
Prior art keywords
sales data
data processing
power supply
communication
processing device
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
JP2019231035A
Other languages
Japanese (ja)
Other versions
JP2021099655A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2019231035A priority Critical patent/JP7404856B2/en
Publication of JP2021099655A publication Critical patent/JP2021099655A/en
Priority to JP2023209730A priority patent/JP2024022664A/en
Application granted granted Critical
Publication of JP7404856B2 publication Critical patent/JP7404856B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Description

本発明は、売上データ処理システム、売上データ処理装置、携帯端末装置及びプログラムに関する。 The present invention relates to a sales data processing system, a sales data processing device, a mobile terminal device, and a program.

従来、店舗に設置されて会計に用いられ、商取引の売上データの処理を行う売上データ処理装置(例えばECR(Electronic Cash Register))がある。また、近年では、この売上データ処理装置との間で無線による通信接続を行う携帯端末装置をさらに備えた売上データ処理システムを用いて、売上データ処理装置と携帯端末装置との連携動作により会計に係る各種処理を行う技術が知られている。この売上データ処理システムによれば、例えば、携帯端末装置において会計に係る入力操作を受け付けて売上データを生成するとともに当該売上データを売上データ処理装置に送信し、売上データ処理装置において顧客に対する画面表示やレシートの印刷等を行う、といった連携動作が可能となる。 2. Description of the Related Art Conventionally, there is a sales data processing device (for example, an ECR (Electronic Cash Register)) that is installed in a store and used for accounting, and processes sales data of commercial transactions. In addition, in recent years, sales data processing systems that further include a mobile terminal device that performs a wireless communication connection with the sales data processing device have been used to perform accounting through cooperative operation between the sales data processing device and the mobile terminal device. Techniques for performing various types of processing are known. According to this sales data processing system, for example, a mobile terminal device receives an input operation related to accounting, generates sales data, transmits the sales data to a sales data processing device, and displays the sales data on a screen to the customer. It becomes possible to perform cooperative operations such as printing receipts and printing receipts.

また、売上データ処理装置と携帯端末装置とを、無線LAN(Local Area Network)のアクセスポイント等の中継通信装置を介して接続することで、1台の売上データ処理装置に対して複数の携帯端末装置を通信接続させることができる。これにより、携帯端末装置を各々所持する複数のユーザで売上データ処理装置を共用することができる。
また、インターネット等の外部のネットワークに接続された中継通信装置を用いることで、携帯端末装置又は売上データ処理装置と、ネットワーク上のサーバ等との間でデータ通信を行うことができる。これにより、例えば、売上データをネットワーク上のサーバに記憶させて管理したり、クレジットカードの情報をネットワーク上の管理サーバに照会したりすることが可能となる。
In addition, by connecting the sales data processing device and the mobile terminal device via a relay communication device such as a wireless LAN (Local Area Network) access point, it is possible to connect multiple mobile terminals to one sales data processing device. Devices can be communicatively connected. Thereby, the sales data processing device can be shared by a plurality of users who each have a mobile terminal device.
Further, by using a relay communication device connected to an external network such as the Internet, data communication can be performed between the mobile terminal device or the sales data processing device and a server or the like on the network. This makes it possible, for example, to store and manage sales data on a server on the network, or to inquire about credit card information to a management server on the network.

売上データ処理システムのうち売上データ処理装置は、通常、外部電源により動作するため、停電などにより電力供給が停止した場合に処理中の売上データを保持できる機能を備えていることが望ましい。例えば、特許文献1には、売上データ処理装置に対する外部からの電力供給が停止した場合に、会計処理を中断して売上データを所定の退避用メモリに退避させ、電力供給が復旧した場合に、退避させた売上データを用いて会計処理を再開させる技術が開示されている。
ただし、売上データ処理装置に携帯端末装置を組み合わせて売上データ処理システムを構成する場合には、売上データ処理装置に予備電源を設けて電力供給の停止期間中も動作を継続させ、携帯端末装置との連携動作を維持できるようにすることがより好ましい。
In the sales data processing system, the sales data processing device usually operates using an external power source, and therefore, it is desirable to have a function that can hold the sales data being processed even if the power supply is stopped due to a power outage or the like. For example, Patent Document 1 states that when the external power supply to the sales data processing device is stopped, accounting processing is interrupted and sales data is saved in a predetermined save memory, and when the power supply is restored, A technique has been disclosed for restarting accounting processing using saved sales data.
However, when configuring a sales data processing system by combining a sales data processing device with a mobile terminal device, the sales data processing device must be equipped with a backup power source to continue operating even during periods when the power supply is cut off, and the sales data processing device and mobile terminal device It is more preferable to maintain the cooperative operation of the two.

特開平10-31790号公報Japanese Patent Application Publication No. 10-31790

しかしながら、上記のように中継通信装置を介して売上データ処理装置と携帯端末装置とを通信接続させる場合には、停電時には中継通信装置に対する電力供給も停止して売上データ処理装置と携帯端末装置との通信接続が切断されるため、売上データ処理装置と携帯端末装置との連携動作が行えなくなる。また、電力供給の復旧時に中継通信装置を介した通信接続を確実かつ速やかに再開させることが容易でない。
このように、上記従来の技術では、電力供給の停止期間に売上データ処理システムの連携動作を継続させることができないという課題がある。
However, when connecting the sales data processing device and the mobile terminal device via the relay communication device as described above, the power supply to the relay communication device is also stopped in the event of a power outage, and the sales data processing device and the mobile terminal device are connected via the relay communication device. Since the communication connection between the sales data processing device and the mobile terminal device is cut off, cooperative operation between the sales data processing device and the mobile terminal device becomes impossible. Furthermore, it is not easy to reliably and quickly restart the communication connection via the relay communication device when power supply is restored.
As described above, the conventional technology described above has a problem in that it is not possible to continue the cooperative operation of the sales data processing system during the period when the power supply is stopped.

この発明の目的は、電力供給の停止期間に連携動作を継続させることができる売上データ処理システム、売上データ処理装置、携帯端末装置及びプログラムを提供することにある。 An object of the present invention is to provide a sales data processing system, a sales data processing device, a mobile terminal device, and a program that can continue cooperative operations during a power supply suspension period.

上記課題を解決するため、本発明の売上データ処理システムは、
外部からの電力供給が停止した場合に予備電源による動作の継続が可能であり、商取引の売上データの処理を行う売上データ処理装置と、
内部電源による動作が可能であり、前記売上データ処理装置との間で所定の中継通信装置を介した第1の通信接続を行う携帯端末装置と、
を備え、
前記売上データ処理装置及び前記携帯端末装置は、
前記中継通信装置に対する外部からの電力供給が停止して前記第1の通信接続が切断された場合に、前記中継通信装置を介さない直接の無線通信による第2の通信接続を開始し、
前記第2の通信接続の開始後に、前記売上データ処理装置及び前記中継通信装置に対する外部からの電力供給の復旧又は前記中継通信装置に対する外部からの電力供給の復旧を前記売上データ処理装置が検出した場合に、前記中継通信装置を介した前記第1の通信接続を再開する。
In order to solve the above problems, the sales data processing system of the present invention includes:
a sales data processing device that can continue operation with a backup power source when the external power supply stops, and that processes sales data of commercial transactions;
a mobile terminal device that is capable of operating using an internal power source and that performs a first communication connection with the sales data processing device via a predetermined relay communication device;
Equipped with
The sales data processing device and the mobile terminal device include:
When the first communication connection is disconnected due to the stop of external power supply to the relay communication device, starting a second communication connection by direct wireless communication not via the relay communication device,
After the start of the second communication connection, the sales data processing device detects restoration of power supply from the outside to the sales data processing device and the relay communication device, or restoration of power supply from the outside to the relay communication device. If so, the first communication connection via the relay communication device is resumed.

本発明によれば、電力供給の停止期間及びその前後で連携動作を継続させることができる。 According to the present invention, cooperative operation can be continued during and before and after the power supply suspension period.

売上データ処理システムの構成を示す図である。1 is a diagram showing the configuration of a sales data processing system. 売上データ処理装置の機能構成を示すブロック図である。FIG. 2 is a block diagram showing the functional configuration of a sales data processing device. 携帯端末装置の機能構成を示すブロック図である。FIG. 2 is a block diagram showing the functional configuration of a mobile terminal device. 電力供給の停止時における売上データ処理システムの動作を示す図である。FIG. 3 is a diagram showing the operation of the sales data processing system when power supply is stopped. 電力供給の復旧時における売上データ処理システムの動作を示す図である。FIG. 3 is a diagram showing the operation of the sales data processing system when power supply is restored. 通信接続切替処理の制御手順を示すフローチャートである。3 is a flowchart showing a control procedure for communication connection switching processing.

以下、本発明の売上データ処理システム、売上データ処理装置、携帯端末装置及びプログラムに係る実施の形態を図面に基づいて説明する。 DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of a sales data processing system, a sales data processing device, a mobile terminal device, and a program of the present invention will be described below with reference to the drawings.

<売上データ処理システムの構成>
図1は、本実施形態の売上データ処理システム1の構成を示す図である。
売上データ処理システム1は、売上データ処理装置10と、携帯端末装置20と、アクセスポイント30と、を備えている。売上データ処理システム1は、例えば個人商店、スーパーマーケット、飲食店等の店舗に設置されて会計に用いられる。
<Configuration of sales data processing system>
FIG. 1 is a diagram showing the configuration of a sales data processing system 1 of this embodiment.
The sales data processing system 1 includes a sales data processing device 10, a mobile terminal device 20, and an access point 30. The sales data processing system 1 is installed in stores such as individual stores, supermarkets, and restaurants, and is used for accounting purposes.

売上データ処理装置10及び携帯端末装置20は、アクセスポイント30(中継通信装置)を介した無線LAN、ここではWi-Fi(登録商標)による通信接続(第1の通信接続)(以下、単に「Wi-Fi接続」とも記す」)が可能となっている。売上データ処理システム1は、売上データ処理装置10及び携帯端末装置20の連携動作によって、店舗における商取引の売上データの登録等の各種処理を行う。以下では、商品やサービスなどの商取引の対象を、まとめて「商品」と記す。
また、アクセスポイント30はルータ機能を備えており、売上データ処理装置10及び携帯端末装置20を外部のネットワークN(例えば、インターネット)に接続することができる。したがって、売上データ処理装置10及び携帯端末装置20は、アクセスポイント30及びネットワークNを介して、売上データ管理サーバ2及びカード情報管理サーバ3などの外部装置にアクセスすることができる。なお、売上データ処理装置10及び携帯端末装置20のうち一方のみが外部装置にアクセスする構成としてもよい。
The sales data processing device 10 and the mobile terminal device 20 have a communication connection (first communication connection) via a wireless LAN, here Wi-Fi (registered trademark), via an access point 30 (relay communication device) (hereinafter simply referred to as “ Wi-Fi connection (also referred to as ``Wi-Fi connection'') is now possible. The sales data processing system 1 performs various processes such as registration of sales data of commercial transactions at stores through cooperative operations of the sales data processing device 10 and the mobile terminal device 20. In the following, the objects of commercial transactions such as products and services are collectively referred to as "products."
Furthermore, the access point 30 has a router function and can connect the sales data processing device 10 and the mobile terminal device 20 to an external network N (for example, the Internet). Therefore, the sales data processing device 10 and the mobile terminal device 20 can access external devices such as the sales data management server 2 and the card information management server 3 via the access point 30 and the network N. Note that a configuration may be adopted in which only one of the sales data processing device 10 and the mobile terminal device 20 accesses the external device.

携帯端末装置20は、店舗の店員等のユーザが所持する端末装置であり、例えばタブレット端末やスマートフォン等である。携帯端末装置20は、会計時にユーザから会計の内容を特定する入力操作を受け付けて、販売する商品の名称、個数、金額等の情報を含む売上データを生成して登録(記憶)する。携帯端末装置20は、登録した売上データを売上データ処理装置10に送信したり、アクセスポイント30を介して、売上データを管理するための売上データ管理サーバ2に送信したりする。また、携帯端末装置20は、クレジットカードによる決済を行う場合に、クレジットカード情報の照会等のため、アクセスポイント30を介してクレジットカード会社等のカード情報管理サーバ3との間のデータ通信なども行う。
携帯端末装置20は、バッテリー26(内部電源)(図3参照)による動作が可能である。
The mobile terminal device 20 is a terminal device owned by a user such as a store clerk, and is, for example, a tablet terminal, a smartphone, or the like. The mobile terminal device 20 receives an input operation from the user to specify the details of the transaction at the time of checkout, and generates and registers (stores) sales data including information such as the name, number, and price of the products to be sold. The mobile terminal device 20 transmits the registered sales data to the sales data processing device 10 or via the access point 30 to the sales data management server 2 for managing the sales data. In addition, when making a payment using a credit card, the mobile terminal device 20 also performs data communication with a card information management server 3 of a credit card company or the like via the access point 30 in order to inquire about credit card information, etc. conduct.
The mobile terminal device 20 can be operated using a battery 26 (internal power source) (see FIG. 3).

売上データ処理装置10は、店舗のレジに設置されるECRである。売上データ処理装置10は、アクセスポイント30から受信した売上データの内容に応じて、会計に係る情報を顧客用表示部152に表示したり、印刷部16からレシートを出力したりする。また、現金による決済を行う場合にドロア17(図2参照)を開放して、現金の出納を行う。また、売上データ処理装置10は、会計時に携帯端末装置20に代わって会計内容を特定するユーザからの入力操作を受け付けて、売上データを生成、登録することもできるようになっている。
売上データ処理装置10は、外部からの電力供給を受けて動作する。また、売上データ処理装置10は、予備電源19(図2参照)を備え、外部からの電力供給が停止した場合に予備電源19による動作の継続が可能となっている。
The sales data processing device 10 is an ECR installed at a cash register in a store. The sales data processing device 10 displays accounting information on the customer display section 152 or outputs a receipt from the printing section 16, depending on the contents of the sales data received from the access point 30. In addition, when making a payment in cash, the drawer 17 (see FIG. 2) is opened and cash is disbursed and paid. Furthermore, the sales data processing device 10 is also capable of generating and registering sales data by accepting an input operation from a user who specifies the details of the transaction on behalf of the mobile terminal device 20 at the time of transaction.
The sales data processing device 10 operates by receiving power from an external source. Furthermore, the sales data processing device 10 is equipped with a backup power source 19 (see FIG. 2), so that operation can be continued using the backup power source 19 even if power supply from the outside is stopped.

アクセスポイント30は、Wi-Fiにより無線通信を行う機器(本実施形態では、売上データ処理装置10及び携帯端末装置20)同士を相互に接続したり、当該機器をネットワークNに接続したりする機器である。アクセスポイント30には、複数のWi-Fi機器を接続することができる。よって、アクセスポイント30を用いることで、複数のWi-Fi機器同士の相互間接続を行うことができる。したがって、1つの売上データ処理装置10に対して複数の携帯端末装置20を通信接続することができる。すなわち、図1では携帯端末装置20が1つのみ描かれているが、売上データ処理システム1は、各々がアクセスポイント30を介して売上データ処理装置10と通信接続する複数の携帯端末装置20を備えていてもよい。
アクセスポイント30は、外部からの電力供給を受けて動作する。
The access point 30 is a device that connects devices (in this embodiment, the sales data processing device 10 and the mobile terminal device 20) that perform wireless communication using Wi-Fi, or connects the devices to the network N. It is. A plurality of Wi-Fi devices can be connected to the access point 30. Therefore, by using the access point 30, a plurality of Wi-Fi devices can be interconnected. Therefore, a plurality of mobile terminal devices 20 can be communicatively connected to one sales data processing device 10. That is, although only one mobile terminal device 20 is depicted in FIG. 1, the sales data processing system 1 includes a plurality of mobile terminal devices 20, each of which is communicatively connected to the sales data processing device 10 via the access point 30. You may be prepared.
The access point 30 operates by receiving power from an external source.

売上データ処理装置10と携帯端末装置20とは、Wi-Fiによる通信接続に代えて、アクセスポイント30を介さない直接の無線通信による通信接続(第2の通信接続)を行うこともできるようになっている。この場合の無線通信としては、各種の近距離無線通信を用いることができ、本実施形態ではBLE(Bluetooth(登録商標) Low Energy))が用いられている。BLEによる通信接続(以下、単に「BLE接続」とも記す」)は、Wi-Fi接続よりも通信速度が遅く、接続可能距離が短いものの、Wi-Fi接続より電力消費量が少ない利点がある。BLEは、「第2の通信方式」に相当する。 Instead of the communication connection using Wi-Fi, the sales data processing device 10 and the mobile terminal device 20 can also perform a communication connection (second communication connection) using direct wireless communication not via the access point 30. It has become. As the wireless communication in this case, various types of short-range wireless communication can be used, and in this embodiment, BLE (Bluetooth (registered trademark) Low Energy)) is used. A communication connection using BLE (hereinafter also simply referred to as "BLE connection") has a slower communication speed and a shorter connectable distance than a Wi-Fi connection, but has the advantage of lower power consumption than a Wi-Fi connection. BLE corresponds to a "second communication method".

BLE接続では、1台のマスターデバイスに対して複数台のスレーブデバイスを接続することができる。スレーブデバイス側から見ると、各スレーブデバイスは1台のマスターデバイスに対してのみBLE接続を行うことができる。本実施形態では、携帯端末装置20がマスターデバイスに相当し、売上データ処理装置10がスレーブデバイスに相当するため、売上データ処理装置10は、1台の携帯端末装置20とのみBLE接続を行うことができる。 With BLE connection, multiple slave devices can be connected to one master device. When viewed from the slave device side, each slave device can perform BLE connection to only one master device. In this embodiment, since the mobile terminal device 20 corresponds to a master device and the sales data processing device 10 corresponds to a slave device, the sales data processing device 10 can perform BLE connection with only one mobile terminal device 20. can.

このように、BLE接続を用いると、1台の売上データ処理装置10を複数の携帯端末装置20で共用することができず、また、ネットワークNを介した外部のサーバとのデータ通信も行うことができない。このため、通常時はアクセスポイント30を介したWi-Fi接続が用いられ、BLE接続は、停電等により売上データ処理装置10及びアクセスポイント30に対する外部からの電力供給が停止してWi-Fi接続が切断された場合に、一時的な代替の通信接続として用いられる。Wi-Fi接続及びBLE接続の切り替えに係る動作については、後に詳述する。 In this way, when a BLE connection is used, one sales data processing device 10 cannot be shared by multiple mobile terminal devices 20, and data communication with an external server via the network N cannot be performed. I can't. For this reason, Wi-Fi connection via the access point 30 is normally used, and BLE connection is possible when the external power supply to the sales data processing device 10 and the access point 30 is stopped due to a power outage, etc., and Wi-Fi connection is used. It is used as a temporary alternative communications connection in the event that the network is disconnected. Operations related to switching between Wi-Fi connection and BLE connection will be described in detail later.

<売上データ処理装置の構成>
図2は、売上データ処理装置10の機能構成を示すブロック図である。
売上データ処理装置10は、CPU11(Central Processing Unit)(コンピュータ)と、RAM12(Random Access Memory)と、記憶部13と、Wi-Fi通信部141及びBLE通信部142を有する通信部14と、操作表示部151と、顧客用表示部152と、印刷部16と、ドロア17と、ADC181(アナログデジタル変換回路)及び検出回路182を有する電源部18と、予備電源19と、バスB1などを備えている。売上データ処理装置10の各部は、バスB1により接続されている。
<Configuration of sales data processing device>
FIG. 2 is a block diagram showing the functional configuration of the sales data processing device 10.
The sales data processing device 10 includes a CPU 11 (Central Processing Unit) (computer), a RAM 12 (Random Access Memory), a storage unit 13, a communication unit 14 having a Wi-Fi communication unit 141 and a BLE communication unit 142, and an operation It includes a display section 151, a customer display section 152, a printing section 16, a drawer 17, a power supply section 18 having an ADC 181 (analog-to-digital conversion circuit) and a detection circuit 182, a backup power supply 19, a bus B1, etc. There is. Each part of the sales data processing device 10 is connected by a bus B1.

CPU11は、売上データ処理装置10の各部を制御するプロセッサである。CPU11は、記憶部13に記憶されたプログラム131を読み出してRAM12に展開し、当該プログラム131を実行して各種演算処理を行う。プログラム131を実行することで、CPU11は、売上データを生成する処理手段、通信部14の動作を制御する通信制御手段、及び検出回路182から受信した検出信号に基づいて電力供給の復旧を検出する復電検出手段などとして機能する。 The CPU 11 is a processor that controls each part of the sales data processing device 10. The CPU 11 reads out a program 131 stored in the storage unit 13, expands it to the RAM 12, and executes the program 131 to perform various arithmetic processing. By executing the program 131, the CPU 11 detects restoration of power supply based on the detection signal received from the processing means for generating sales data, the communication control means for controlling the operation of the communication unit 14, and the detection circuit 182. It functions as a power restoration detection means.

RAM12は、CPU11に作業用のメモリ空間を提供し、一時データを記憶する。RAM12は、不揮発性メモリを含んでいてもよい。RAM12には、携帯端末装置20から受信し、又は売上データ処理装置10において生成された売上データが一時的に記憶される。 The RAM 12 provides a working memory space for the CPU 11 and stores temporary data. RAM 12 may include nonvolatile memory. Sales data received from the mobile terminal device 20 or generated by the sales data processing device 10 is temporarily stored in the RAM 12 .

記憶部13は、CPU11により実行されるプログラム131や各種設定データなどを記憶する。プログラム131は、コンピュータ読み取り可能なプログラムコードの形態で記憶部13に格納されている。記憶部13としては、例えばHDD(Hard Disk Drive)又はSSD(Solid State Drive)などの、データの保持に電源を要しない記憶装置が用いられる。
記憶部13に記憶される設定データとしては、通信部14が無線通信を行う対象の携帯端末装置20、アクセスポイント30、及び外部のサーバ等を識別、特定するための識別データなどが含まれる。
The storage unit 13 stores a program 131 executed by the CPU 11, various setting data, and the like. The program 131 is stored in the storage unit 13 in the form of a computer-readable program code. As the storage unit 13, a storage device that does not require a power source to hold data, such as an HDD (Hard Disk Drive) or an SSD (Solid State Drive), is used.
The setting data stored in the storage unit 13 includes identification data for identifying and specifying the mobile terminal device 20, access point 30, external server, etc. with which the communication unit 14 performs wireless communication.

Wi-Fi通信部141及びBLE通信部142はそれぞれ、アンテナ、変復調回路、信号処理回路などを有する通信モジュールである。Wi-Fi通信部141は、Wi-Fiによる無線通信に係る通信規格に従って、アクセスポイント30との間(したがって、アクセスポイント30を介して携帯端末装置20の通信部24(図3参照)との間)で無線データ通信を行う。BLE通信部142は、BLEによる無線通信に係る通信規格に従って、携帯端末装置20の通信部24との間で無線データ通信を行う。 The Wi-Fi communication unit 141 and the BLE communication unit 142 are communication modules each having an antenna, a modulation/demodulation circuit, a signal processing circuit, and the like. The Wi-Fi communication unit 141 communicates with the access point 30 (therefore, with the communication unit 24 of the mobile terminal device 20 (see FIG. 3) via the access point 30, in accordance with communication standards related to wireless communication by Wi-Fi). wireless data communication between The BLE communication unit 142 performs wireless data communication with the communication unit 24 of the mobile terminal device 20 in accordance with communication standards related to wireless communication using BLE.

操作表示部151は、LCD(Liquid Crystal Display)や、有機EL(Electro-Luminescence)ディスプレイといった表示部と、表示部の表示画面に重ねられて設けられたタッチパネルとを備える。操作表示部151は、例えば、会計時においてユーザからの上述の会計内容を特定する入力操作を受け付ける。
なお、操作表示部151には、キーボードやマウスといった、タッチパネル以外の入力デバイスがさらに設けられていてもよい。
The operation display unit 151 includes a display unit such as an LCD (Liquid Crystal Display) or an organic EL (Electro-Luminescence) display, and a touch panel provided to overlap the display screen of the display unit. The operation display unit 151 receives, for example, an input operation from the user to specify the above-mentioned transaction details at the time of accounting.
Note that the operation display section 151 may be further provided with an input device other than the touch panel, such as a keyboard or a mouse.

顧客用表示部152は、LCDや有機ELディスプレイなどにより構成され、売上データ処理装置10を操作するユーザと対面する顧客に対して、商品名や価格などの各種情報を表示する。 The customer display unit 152 is configured with an LCD, an organic EL display, or the like, and displays various information such as product names and prices to customers who are facing the user who operates the sales data processing device 10.

印刷部16は、CPU11から出力された制御信号に従い、レシートやジャーナルなどを用紙に印刷して出力する。 The printing unit 16 prints and outputs receipts, journals, etc. on paper according to control signals output from the CPU 11.

ドロア17は、金銭、商品券等を格納する引き出しであり、CPU11による制御下で開放する開放機構を有する。 The drawer 17 is a drawer for storing money, gift certificates, etc., and has an opening mechanism that opens under the control of the CPU 11.

電源部18は、図1に示す電源プラグ183を介して外部のAC電源に接続され、このAC電源による供給電力を、CPU11、RAM12、記憶部13、通信部14、操作表示部151、顧客用表示部152、印刷部16、ドロア17を含む売上データ処理装置10の各部に供給する。図2では、電源部18から各部への電力供給経路は記載が省略されている。
電源部18は、AC電源からの交流電圧を直流電圧に変換するADC181と、AC電源からの電力の供給状態を検出する検出回路182と、を備える。検出回路182は、電力の供給状態を検出して、検出結果に係る検出信号をCPU11に出力する。例えば、検出回路182は、AC電源からの電力供給の停止を検出すると、停電検出信号を出力し、AC電源からの電力供給の復旧を検出すると、復電検出信号を出力する。この復電検出信号により、CPU11は、停電などにより停止されていた電力供給の復旧を検出することができる。
The power supply unit 18 is connected to an external AC power supply via a power plug 183 shown in FIG. It is supplied to each part of the sales data processing device 10 including the display section 152, the printing section 16, and the drawer 17. In FIG. 2, the description of power supply paths from the power supply section 18 to each section is omitted.
The power supply section 18 includes an ADC 181 that converts an alternating current voltage from an AC power source into a direct current voltage, and a detection circuit 182 that detects the state of power supply from the AC power source. The detection circuit 182 detects the power supply state and outputs a detection signal related to the detection result to the CPU 11. For example, the detection circuit 182 outputs a power failure detection signal when detecting a stop in power supply from the AC power source, and outputs a power restoration detection signal when detecting restoration of power supply from the AC power source. Based on this power restoration detection signal, the CPU 11 can detect restoration of power supply that has been stopped due to a power outage or the like.

予備電源19は、外部のAC電源からの電力供給が停止した場合に、電源部18に代わって売上データ処理装置10の所定の構成要素に一時的に電力を供給する。予備電源19としては、例えば乾電池や充電式のバッテリーなどを用いることができる。本実施形態の予備電源19は、CPU11、RAM12、記憶部13、BLE通信部142、操作表示部151、顧客用表示部152、印刷部16、ドロア17及び検出回路182に対して電力を供給可能に設けられている。よって、停電などでAC電源からの電力供給が停止した場合には、予備電源19の電力により、売上データ処理装置10を一定期間動作させることができる。例えば、予備電源19の電力により、RAM12に記憶されたデータを保持することができ、また、BLE通信部142により携帯端末装置20とのBLEによる通信接続を行うことができる。以下では、売上データ処理装置10の各部に予備電源19から電力を供給して動作を維持させることを、「バックアップ」とも記す。
なお、予備電源19からWi-Fi通信部141に電力が供給されないようになっているのは、後述するように、停電時にはアクセスポイント30が動作しなくなるため、Wi-Fi通信部141によるアクセスポイント30とのWi-Fi接続を行うことができない(行う必要がない)ためである。ただし、これに限られず、予備電源19からWi-Fi通信部141に電力が供給されてもよい。このようにすれば、電源プラグ183が意図せずに外れた場合など、売上データ処理装置10に対する電力供給のみが停止し、アクセスポイント30には電力が供給されている状況下において、アクセスポイント30とのWi-Fi接続を継続させることができる。
The standby power supply 19 temporarily supplies power to predetermined components of the sales data processing device 10 in place of the power supply section 18 when power supply from an external AC power source stops. As the backup power source 19, for example, a dry battery or a rechargeable battery can be used. The backup power supply 19 of this embodiment can supply power to the CPU 11, RAM 12, storage section 13, BLE communication section 142, operation display section 151, customer display section 152, printing section 16, drawer 17, and detection circuit 182. It is set in. Therefore, if the power supply from the AC power source is stopped due to a power outage or the like, the sales data processing device 10 can be operated for a certain period of time using the power from the backup power source 19. For example, the data stored in the RAM 12 can be held using the power of the backup power source 19, and the BLE communication unit 142 can establish a BLE communication connection with the mobile terminal device 20. In the following, the act of supplying power from the standby power source 19 to each part of the sales data processing device 10 to maintain operation will also be referred to as "backup."
Note that power is not supplied from the backup power source 19 to the Wi-Fi communication unit 141 because the access point 30 will not operate in the event of a power outage, as will be described later. This is because the Wi-Fi connection with 30 cannot be established (there is no need to do so). However, the present invention is not limited to this, and power may be supplied to the Wi-Fi communication unit 141 from the backup power source 19. In this way, in a situation where only the power supply to the sales data processing device 10 is stopped and power is being supplied to the access point 30, such as when the power plug 183 is unintentionally disconnected, the access point 30 The Wi-Fi connection can be continued.

<携帯端末装置の構成>
図3は、携帯端末装置20の機能構成を示すブロック図である。
携帯端末装置20は、CPU21(コンピュータ)と、RAM22と、記憶部23と、Wi-Fi通信部241及びBLE通信部242を有する通信部24と、操作表示部25と、バッテリー26と、バスB2などを備えている。携帯端末装置20の各部は、バスB2により接続されている。
<Configuration of mobile terminal device>
FIG. 3 is a block diagram showing the functional configuration of the mobile terminal device 20.
The mobile terminal device 20 includes a CPU 21 (computer), a RAM 22, a storage unit 23, a communication unit 24 having a Wi-Fi communication unit 241 and a BLE communication unit 242, an operation display unit 25, a battery 26, and a bus B2. It is equipped with such things as Each part of the mobile terminal device 20 is connected by a bus B2.

CPU21は、携帯端末装置20の各部を制御するプロセッサである。CPU21は、記憶部23に記憶されたプログラム231を読み出してRAM22に展開し、当該プログラム231を実行して各種演算処理を行う。プログラム231を実行することで、CPU21は、売上データを生成する処理手段、及び通信部24の動作を制御する通信制御手段などとして機能する。 The CPU 21 is a processor that controls each part of the mobile terminal device 20. The CPU 21 reads out a program 231 stored in the storage unit 23, expands it to the RAM 22, and executes the program 231 to perform various calculation processes. By executing the program 231, the CPU 21 functions as a processing means for generating sales data, a communication control means for controlling the operation of the communication section 24, and the like.

RAM22は、CPU21に作業用のメモリ空間を提供し、一時データを記憶する。RAM22は、不揮発性メモリを含んでいてもよい。RAM22には、携帯端末装置20において生成された売上データが一時的に記憶される。 The RAM 22 provides a working memory space for the CPU 21 and stores temporary data. RAM 22 may include nonvolatile memory. Sales data generated by the mobile terminal device 20 is temporarily stored in the RAM 22 .

記憶部23は、CPU21により実行されるプログラム231や各種設定データなどを記憶する。プログラム231は、コンピュータ読み取り可能なプログラムコードの形態で記憶部23に格納されている。記憶部23としては、例えばHDD又はSSDなどが用いられる。
記憶部23に記憶される設定データとしては、通信部24が無線通信を行う対象の売上データ処理装置10、アクセスポイント30、及び外部のサーバ等を識別、特定するための識別データなどが含まれる。この識別データのうちの1つは、後述するBLEのアドバタイジングパケットに含まれる、売上データ処理装置10からのパケットであることを示す固有のIDのデータである。
The storage unit 23 stores a program 231 executed by the CPU 21, various setting data, and the like. The program 231 is stored in the storage unit 23 in the form of a computer-readable program code. As the storage unit 23, for example, an HDD or an SSD is used.
The setting data stored in the storage unit 23 includes identification data for identifying and specifying the sales data processing device 10, access point 30, external server, etc. with which the communication unit 24 performs wireless communication. . One of the identification data is unique ID data indicating that the packet is from the sales data processing device 10, which is included in a BLE advertising packet to be described later.

Wi-Fi通信部241及びBLE通信部242はそれぞれ、アンテナ、変復調回路、信号処理回路などを有する通信モジュールである。Wi-Fi通信部241は、Wi-Fiによる無線通信に係る通信規格に従って、アクセスポイント30との間(したがって、アクセスポイント30を介して売上データ処理装置10の通信部14との間)で無線データ通信を行う。BLE通信部242は、BLEによる無線通信に係る通信規格に従って、売上データ処理装置10の通信部14との間で無線データ通信を行う。 The Wi-Fi communication unit 241 and the BLE communication unit 242 are communication modules each having an antenna, a modulation/demodulation circuit, a signal processing circuit, and the like. The Wi-Fi communication unit 241 communicates wirelessly with the access point 30 (therefore, with the communication unit 14 of the sales data processing device 10 via the access point 30) in accordance with communication standards related to wireless communication using Wi-Fi. Perform data communication. The BLE communication unit 242 performs wireless data communication with the communication unit 14 of the sales data processing device 10 in accordance with communication standards related to wireless communication using BLE.

操作表示部25は、LCDや有機ELディスプレイといった表示部と、表示部の表示画面に重ねられて設けられたタッチパネルとを備える。操作表示部25は、例えば、会計時においてユーザからの上述の会計内容を特定する入力操作を受け付ける。なお、操作表示部25には、ユーザからの入力操作を受け付けるタッチパネル以外の入力デバイスがさらに設けられていてもよい。 The operation display section 25 includes a display section such as an LCD or an organic EL display, and a touch panel provided to overlap the display screen of the display section. The operation display unit 25 receives, for example, an input operation from the user to specify the above-mentioned transaction details at the time of accounting. Note that the operation display section 25 may be further provided with an input device other than the touch panel that accepts input operations from the user.

バッテリー26は、CPU21、RAM22、記憶部23、通信部24、及び操作表示部25を含む携帯端末装置20の各部に電力を供給する。バッテリー26としては、例えば充電式のものを用いることができるが、これに限られず、乾電池などの使い捨てのものであってもよい。図3では、バッテリー26から各部への電力供給経路は記載が省略されている。
携帯端末装置20は、このようにバッテリー26から供給される電力で動作するため、停電等によりAC電源からの電力供給が停止しても動作を継続することができる。
The battery 26 supplies power to each part of the mobile terminal device 20 including the CPU 21 , the RAM 22 , the storage section 23 , the communication section 24 , and the operation display section 25 . As the battery 26, for example, a rechargeable battery can be used, but the present invention is not limited to this, and a disposable battery such as a dry battery may be used. In FIG. 3, the power supply paths from the battery 26 to each part are omitted.
Since the mobile terminal device 20 operates with the power supplied from the battery 26 in this manner, it can continue to operate even if the power supply from the AC power source is stopped due to a power outage or the like.

<売上データ処理システムにおける通信接続の切替動作>
次に、売上データ処理システム1の動作について、売上データ処理装置10及び携帯端末装置20の間の通信接続の切替動作を中心に説明する。
<Communication connection switching operation in the sales data processing system>
Next, the operation of the sales data processing system 1 will be explained, focusing on the operation of switching the communication connection between the sales data processing device 10 and the mobile terminal device 20.

図1に示すとおり、売上データ処理システム1では、売上データ処理装置10及びアクセスポイント30に対して外部のAC電源からの電力供給が行われている場合には、売上データ処理装置10及び携帯端末装置20は、アクセスポイント30を介したWi-Fi接続を行う。 As shown in FIG. 1, in the sales data processing system 1, when the sales data processing device 10 and the access point 30 are supplied with power from an external AC power source, the sales data processing device 10 and the mobile terminal The device 20 performs a Wi-Fi connection via an access point 30.

この状態から、停電等により、売上データ処理装置10及びアクセスポイント30に対する外部からの電力供給が停止すると、売上データ処理装置10は予備電源19からのバックアップにより動作を継続する一方、アクセスポイント30は動作を停止する。よって、売上データ処理装置10と携帯端末装置20との間のWi-Fi接続が切断される。
停電時には、売上データ処理装置10及びアクセスポイント30に対する外部からの電力供給が同時に停止する。このため、売上データ処理装置10は、自装置が予備電源19による動作に切り替わったことにより、アクセスポイント30に対する外部からの電力供給の停止を検出することができ、また、アクセスポイント30とのWi-Fi接続が切断されたと判別することができる。
In this state, if the external power supply to the sales data processing device 10 and the access point 30 is stopped due to a power outage, etc., the sales data processing device 10 continues to operate with backup from the backup power source 19, while the access point 30 Stop operation. Therefore, the Wi-Fi connection between the sales data processing device 10 and the mobile terminal device 20 is disconnected.
At the time of a power outage, the external power supply to the sales data processing device 10 and the access point 30 is simultaneously stopped. Therefore, the sales data processing device 10 can detect the stoppage of external power supply to the access point 30 by switching to operation using the backup power source 19, and can also detect the termination of the external power supply to the access point 30. - It can be determined that the Fi connection has been disconnected.

図4は、電力供給の停止時における売上データ処理システム1の動作を示す図である。
売上データ処理装置10が外部からの電力供給の停止を検出すると、図4に示すように、売上データ処理装置10及び携帯端末装置20は、切断されたWi-Fi接続に代わる通信接続として、BLE接続(第2の通信接続)を開始する。停電時にBLEによる直接の通信接続を行うことで、売上データ処理装置10及び携帯端末装置20の連携動作を継続することができる。
BLE接続の開始後、売上データ処理装置10は、外部からの電力供給の状況を監視する。
FIG. 4 is a diagram showing the operation of the sales data processing system 1 when power supply is stopped.
When the sales data processing device 10 detects the stoppage of power supply from the outside, as shown in FIG. Start a connection (second communication connection). By establishing a direct communication connection using BLE during a power outage, the cooperative operation of the sales data processing device 10 and the mobile terminal device 20 can be continued.
After starting the BLE connection, the sales data processing device 10 monitors the status of external power supply.

図5は、電力供給の復旧時における売上データ処理システム1の動作を示す図である。
電力供給が復旧すると、売上データ処理装置10は、予備電源19による動作から、外部からの電力供給による動作に切り替わる。また、アクセスポイント30が起動し、Wi-Fi接続が可能な状態となる。
売上データ処理装置10は、自装置が外部からの電力供給による動作に切り替わったことにより、アクセスポイント30に対する電力供給が復旧したこと、すなわちアクセスポイント30がWi-Fi接続の可能な状態に復旧したことを検出することができる。当該検出に応じて、売上データ処理装置10は、図5に示すようにアクセスポイント30とのWi-Fi接続を開始する。
これと並行して、売上データ処理装置10は、電力供給の復旧を通知する所定の復電通知データを携帯端末装置20に対してBLE接続を介して送信する。
携帯端末装置20は、この復電通知データを受信することで、売上データ処理装置10及びアクセスポイント30に対する電力供給の復旧を即時に検知することができる。携帯端末装置20は、復電通知データの受信に応じて、アクセスポイント30とのWi-Fi接続を開始し、次いで売上データ処理装置10との間でアクセスポイント30を介したWi-Fi接続を再開する。
また、電力供給の復旧後にWi-Fi接続が再開された場合には、売上データ処理装置10及び携帯端末装置20は、BLE接続を終了させる。なお、売上データ処理装置10及び携帯端末装置20のうち一方のみがBLE接続を終了させるための処理を行ってもよい。
これにより、売上データ処理システム1は、図1に示す通常時の通信接続状態に戻る。
FIG. 5 is a diagram showing the operation of the sales data processing system 1 when power supply is restored.
When the power supply is restored, the sales data processing device 10 switches from operating using the backup power source 19 to operating using external power supply. Additionally, the access point 30 is activated and becomes ready for Wi-Fi connection.
The sales data processing device 10 recognizes that the power supply to the access point 30 has been restored by switching its own device to operation using external power supply, that is, the access point 30 has been restored to a state where Wi-Fi connection is possible. can be detected. In response to this detection, the sales data processing device 10 starts a Wi-Fi connection with the access point 30, as shown in FIG.
In parallel with this, the sales data processing device 10 transmits predetermined power restoration notification data that notifies the restoration of power supply to the mobile terminal device 20 via the BLE connection.
By receiving this power restoration notification data, the mobile terminal device 20 can immediately detect restoration of power supply to the sales data processing device 10 and the access point 30. In response to receiving the power restoration notification data, the mobile terminal device 20 starts a Wi-Fi connection with the access point 30 and then establishes a Wi-Fi connection with the sales data processing device 10 via the access point 30. resume.
Further, when the Wi-Fi connection is restarted after the power supply is restored, the sales data processing device 10 and the mobile terminal device 20 terminate the BLE connection. Note that only one of the sales data processing device 10 and the mobile terminal device 20 may perform processing for terminating the BLE connection.
As a result, the sales data processing system 1 returns to the normal communication connection state shown in FIG.

<通信接続切替処理の制御手順>
次に、売上データ処理システム1に上記の通信接続の切替動作を行わせるための通信接続切替処理の詳細な制御手順について説明する。
図6は、通信接続切替処理のCPU11及びCPU21による制御手順を示すフローチャートである。図6では、売上データ処理装置10側の通信接続切替処理(CPU11により実行される処理)、及び携帯端末装置20側の通信接続切替処理(CPU21により実行される処理)が併記されている。通信接続切替処理の開始時には、図1に示すように売上データ処理装置10と携帯端末装置20とがWi-Fi接続を行っているものとする。
<Control procedure for communication connection switching process>
Next, a detailed control procedure for communication connection switching processing for causing the sales data processing system 1 to perform the above communication connection switching operation will be described.
FIG. 6 is a flowchart showing a control procedure by the CPU 11 and the CPU 21 in communication connection switching processing. In FIG. 6, communication connection switching processing on the sales data processing device 10 side (processing executed by the CPU 11) and communication connection switching processing on the mobile terminal device 20 side (processing executed by the CPU 21) are shown together. At the start of the communication connection switching process, it is assumed that the sales data processing device 10 and the mobile terminal device 20 are connected via Wi-Fi as shown in FIG.

通信接続切替処理が開始されると、売上データ処理装置10のCPU11は、AC電源からの電力供給の停止を検出したか否かを判別する(ステップS101)。ここでは、CPU11は、検出回路182からの停電検出信号の受信に応じて、電力供給の停止を検出する。電力供給の停止を検出していないと判別された場合には(ステップS101で“NO”)、CPU11は、再度ステップS101の処理を実行する。 When the communication connection switching process is started, the CPU 11 of the sales data processing device 10 determines whether or not a stop in the power supply from the AC power source has been detected (step S101). Here, the CPU 11 detects the stoppage of power supply in response to receiving a power outage detection signal from the detection circuit 182. If it is determined that the stoppage of power supply has not been detected (“NO” in step S101), the CPU 11 executes the process in step S101 again.

電力供給の停止を検出したと判別された場合には(ステップS101で“YES”)、CPU11は、売上データ処理装置10の各部への供給電力を、予備電源19からの電力に切り替える(ステップS102)。 If it is determined that a stop in the power supply has been detected (“YES” in step S101), the CPU 11 switches the power supplied to each part of the sales data processing device 10 to power from the backup power source 19 (step S102). ).

予備電源19からの電力に切り替わると、CPU11は、携帯端末装置20とのBLE通信を開始させるためのアドバタイズを行う(ステップS103)。すなわち、CPU11は、売上データ処理装置10からのパケットであることを示す固有のIDを含む所定のアドバタイジングパケットをBLE通信部142により発信させる。 When switching to power from the backup power source 19, the CPU 11 performs advertisement to start BLE communication with the mobile terminal device 20 (step S103). That is, the CPU 11 causes the BLE communication unit 142 to transmit a predetermined advertising packet including a unique ID indicating that the packet is from the sales data processing device 10 .

携帯端末装置20のCPU21は、通信接続切替処理が開始されると、売上データ処理装置10から発信されたアドバタイジングパケットをBLE通信部242が受信したか否かを判別する(ステップS201)。なお、ステップS201の処理は、電力供給の停止により売上データ処理装置10及びアクセスポイント30とのWi-Fi接続が切断されたことを検出した場合に開始してもよい。アドバタイジングパケットを受信していないと判別された場合には(ステップS201で“NO”)、CPU21は、再度ステップS201の処理を実行する。 When the communication connection switching process is started, the CPU 21 of the mobile terminal device 20 determines whether the BLE communication unit 242 has received the advertising packet transmitted from the sales data processing device 10 (step S201). Note that the process in step S201 may be started when it is detected that the Wi-Fi connection between the sales data processing device 10 and the access point 30 has been disconnected due to the stoppage of power supply. If it is determined that an advertising packet has not been received (“NO” in step S201), the CPU 21 executes the process in step S201 again.

アドバタイジングパケットを受信したと判別された場合には(ステップS201で“YES”)、CPU21は、売上データ処理装置10とのペアリング処理を行って、BLE通信部242によりBLE接続を開始させる(ステップS202)。よって、ステップS202の終了時点以降、売上データ処理装置10及び携帯端末装置20は、BLE接続を行っている状態となる。このBLE接続を行っているときの売上データ処理システム1の動作状態が、図4に相当する。 If it is determined that an advertising packet has been received (“YES” in step S201), the CPU 21 performs a pairing process with the sales data processing device 10, and causes the BLE communication unit 242 to start a BLE connection (step S201). S202). Therefore, after the end of step S202, the sales data processing device 10 and the mobile terminal device 20 are in a state of performing BLE connection. The operating state of the sales data processing system 1 while performing this BLE connection corresponds to FIG. 4.

BLEによる無線通信接続が開始されると、売上データ処理装置10のCPU11は、電力供給の復旧を検出したか否かを判別する(ステップS104)。ここでは、CPU11は、検出回路182からの復電検出信号の受信に応じて、電力供給の復旧を検出する。電力供給の復旧を検出していないと判別された場合には(ステップS104で“NO”)、CPU11は、再度ステップS104の処理を実行する。 When the wireless communication connection using BLE is started, the CPU 11 of the sales data processing device 10 determines whether restoration of power supply is detected (step S104). Here, the CPU 11 detects restoration of power supply in response to reception of a power restoration detection signal from the detection circuit 182. If it is determined that restoration of power supply has not been detected (“NO” in step S104), the CPU 11 executes the process of step S104 again.

電力供給の復旧を検出したと判別された場合には(ステップS104で“YES”)、CPU11は、売上データ処理装置10の各部への供給電力を、外部のAC電源からの電力に切り替える(ステップS105)。また、CPU11は、電力供給の復旧を通知する復電通知データを、BLE通信部142によりBLE通信を介して携帯端末装置20に対して送信させる。これと並行して、CPU11は、Wi-Fi通信部141により、アクセスポイント30とのWi-Fi接続を開始させる(ステップS106)。ステップS106の実行時における売上データ処理システム1の動作状態が、図5に相当する。 If it is determined that restoration of power supply has been detected (“YES” in step S104), the CPU 11 switches the power supplied to each part of the sales data processing device 10 to power from an external AC power source (step S105). Further, the CPU 11 causes the BLE communication unit 142 to transmit power restoration notification data to notify the restoration of power supply to the mobile terminal device 20 via BLE communication. In parallel with this, the CPU 11 causes the Wi-Fi communication unit 141 to start a Wi-Fi connection with the access point 30 (step S106). The operating state of the sales data processing system 1 at the time of executing step S106 corresponds to FIG. 5.

一方、携帯端末装置20のCPU21は、ステップS202の処理が終了してBLE接続が開始されると、売上データ処理装置10から復電通知データを受信したか否かを判別する(ステップS203)。復電通知データを受信していないと判別された場合には(ステップS203で“NO”)、CPU21は、再度ステップS203の処理を実行する。 On the other hand, when the process of step S202 is completed and the BLE connection is started, the CPU 21 of the mobile terminal device 20 determines whether power restoration notification data has been received from the sales data processing device 10 (step S203). If it is determined that the power restoration notification data has not been received (“NO” in step S203), the CPU 21 executes the process of step S203 again.

復電通知データを受信したと判別された場合には(ステップS203で“YES”)、CPU21は、Wi-Fi通信部241により、アクセスポイント30とのWi-Fi接続を開始させ、次いで売上データ処理装置10との間でアクセスポイント30を介したWi-Fi接続を再開させる。また、CPU21は、売上データ処理装置10とのBLE接続を切断させる(ステップS204)。よって、ステップS204の終了時点以降、売上データ処理装置10及び携帯端末装置20は、図1に示すように、Wi-Fi接続を行っている状態となる。 If it is determined that power restoration notification data has been received (“YES” in step S203), the CPU 21 causes the Wi-Fi communication unit 241 to start a Wi-Fi connection with the access point 30, and then transmits the sales data. The Wi-Fi connection with the processing device 10 via the access point 30 is restarted. Further, the CPU 21 disconnects the BLE connection with the sales data processing device 10 (step S204). Therefore, after the end of step S204, the sales data processing device 10 and the mobile terminal device 20 are in a Wi-Fi connected state, as shown in FIG.

Wi-Fi接続が再開されると、CPU21は、停電期間中に生成した売上データのうち、Wi-Fi接続の切断により売上データ管理サーバ2に送信できなかったデータを、まとめて売上データ管理サーバ2に送信する(ステップS205)。 When the Wi-Fi connection is restarted, the CPU 21 sends all the sales data generated during the power outage period that could not be sent to the sales data management server 2 due to the disconnection of the Wi-Fi connection to the sales data management server 2. 2 (step S205).

ステップS205の処理が終了すると、CPU21は、売上データ処理システム1の動作が継続されるか否かを判別し(ステップS206)、売上データ処理システム1の動作が継続されると判別された場合には(ステップS206で“YES”)、処理をステップS201に戻す。売上データ処理システム1の動作が終了すると判別された場合には(ステップS206で“NO”)、CPU21は、通信接続切替処理を終了させる。 When the process of step S205 is completed, the CPU 21 determines whether or not the operation of the sales data processing system 1 is to be continued (step S206), and if it is determined that the operation of the sales data processing system 1 is to be continued, (“YES” in step S206), the process returns to step S201. If it is determined that the operation of the sales data processing system 1 has ended (“NO” in step S206), the CPU 21 ends the communication connection switching process.

また、ステップS106の処理が終了すると、売上データ処理装置10のCPU11は、売上データ処理システム1の動作が継続されるか否かを判別し(ステップS107)、売上データ処理システム1の動作が継続されると判別された場合には(ステップS107で“YES”)、処理をステップS101に戻す。売上データ処理システム1の動作が終了すると判別された場合には(ステップS107で“NO”)、CPU11は、通信接続切替処理を終了させる。 Further, when the process of step S106 is completed, the CPU 11 of the sales data processing device 10 determines whether or not the operation of the sales data processing system 1 is to be continued (step S107), and the operation of the sales data processing system 1 is to be continued. If it is determined that the process is performed ("YES" in step S107), the process returns to step S101. If it is determined that the operation of the sales data processing system 1 has ended (“NO” in step S107), the CPU 11 ends the communication connection switching process.

なお、図6のフローチャートでは、ステップS204の処理においてBLE接続を切断したが、これに限られず、電力供給の復旧後にもBLE接続を直ちに切断せずに一定時間利用を継続したり、BLE接続及びWi-Fi接続を併用したりしてもよい。ただし、BLE接続よりもWi-Fi接続の方が通信速度が速いため、Wi-Fi接続を優先的に利用することで効率的なデータ通信を行うことができる。例えば、BLE接続で実行中であった印字データ(売上データ処理装置10においてレシートに印字する内容のデータ)の送信を、電力復旧後も一定時間継続し、切り替え可能なタイミングでWi-Fi接続による送信に切り替えてもよい。また、画像データ等を含む大容量のデータをWi-Fi接続で送信し、その他の小容量のデータをBLE通信により並行して送信してもよい。
このような動作を行うために、ステップS204の処理において、携帯端末装置20のCPU21は、BLE接続に対してWi-Fi接続を優先的に利用して通信処理を行うように自装置の設定を切り替える。この自装置の設定の切り替えは、携帯端末装置20に代えて、又は携帯端末装置20に加えて、売上データ処理装置10において行ってもよい。
In addition, in the flowchart of FIG. 6, the BLE connection is disconnected in the process of step S204, but this is not limited to this, and even after the power supply is restored, the BLE connection may be continued for a certain period of time without being disconnected immediately, or the BLE connection and the A Wi-Fi connection may also be used. However, since the communication speed of Wi-Fi connection is faster than that of BLE connection, efficient data communication can be performed by preferentially using Wi-Fi connection. For example, the transmission of print data (data to be printed on receipts in the sales data processing device 10) that was being executed using a BLE connection may be continued for a certain period of time even after power is restored, and then transmitted via a Wi-Fi connection at a switchable timing. You may also switch to sending. Furthermore, large-capacity data including image data and the like may be transmitted via Wi-Fi connection, and other small-capacity data may be transmitted in parallel via BLE communication.
In order to perform such an operation, in the process of step S204, the CPU 21 of the mobile terminal device 20 sets its own device to perform communication processing by preferentially using the Wi-Fi connection over the BLE connection. Switch. This switching of the settings of the own device may be performed in the sales data processing device 10 instead of or in addition to the mobile terminal device 20.

以上のように、本実施形態に係る売上データ処理システム1は、外部からの電力供給が停止した場合に予備電源19による動作の継続が可能であり、商取引の売上データの処理を行う売上データ処理装置10と、バッテリー26による動作が可能であり、売上データ処理装置10との間でアクセスポイント30を介した第1の通信接続としてのWi-Fi接続を行う携帯端末装置20と、を備え、売上データ処理装置10及び携帯端末装置20は、アクセスポイント30に対する外部からの電力供給が停止してWi-Fi接続が切断された場合に、アクセスポイント30を介さない直接の無線通信による第2の通信接続としてのBLE接続を開始し、BLE接続の開始後に、電力供給の復旧を売上データ処理装置10が検出した場合に、アクセスポイント30を介したWi-Fi接続を再開する。
このように、通常時においてアクセスポイント30を介したWi-Fi接続を行うことで、1台の売上データ処理装置10と複数の携帯端末装置20とを同時に通信接続させることができるとともに、アクセスポイント30を介して、売上データ処理装置10及び携帯端末装置20と、外部のサーバ等との間でデータ通信を行うことができる。
また、上記構成によれば、停電等によりアクセスポイント30に対する電力供給が停止してWi-Fi接続が切断された場合であっても、BLE接続により売上データ処理装置10と携帯端末装置20との通信接続を維持することができる。よって、停電時においても売上データ処理装置10及び携帯端末装置20の連携動作を行うことができ、ユーザ利便性を向上させることができる。また、アクセスポイント30に無停電電源装置を接続して停電時のバックアップを行う必要がないため、無停電電源装置を導入するコストを削減することができる。
また、電力供給の復旧を売上データ処理装置10が検出したことを契機としてWi-Fi接続を再開することで、電力復旧後に確実かつ速やかにBLE接続からWi-Fi接続に移行することができる。よって、停電前から停電期間中、及び停電後に亘って、売上データ処理装置10及び携帯端末装置20の連携動作を継続することができる。
As described above, the sales data processing system 1 according to the present embodiment is capable of continuing operation using the backup power source 19 even when the external power supply is stopped, and is capable of performing sales data processing for processing sales data of commercial transactions. A mobile terminal device 20 that can be operated by a battery 26 and performs a Wi-Fi connection as a first communication connection with the sales data processing device 10 via an access point 30, The sales data processing device 10 and the mobile terminal device 20 are configured to perform a second process using direct wireless communication not via the access point 30 when the external power supply to the access point 30 is stopped and the Wi-Fi connection is disconnected. A BLE connection as a communication connection is started, and when the sales data processing device 10 detects restoration of power supply after the start of the BLE connection, the Wi-Fi connection via the access point 30 is restarted.
In this way, by establishing a Wi-Fi connection via the access point 30 during normal times, one sales data processing device 10 and a plurality of mobile terminal devices 20 can be connected for communication at the same time, and the access point 30, data communication can be performed between the sales data processing device 10 and the mobile terminal device 20 and an external server or the like.
Further, according to the above configuration, even if the power supply to the access point 30 is stopped due to a power outage or the like and the Wi-Fi connection is disconnected, the sales data processing device 10 and the mobile terminal device 20 can be connected via the BLE connection. Communication connections can be maintained. Therefore, even in the event of a power outage, the sales data processing device 10 and the mobile terminal device 20 can perform cooperative operations, and user convenience can be improved. Further, since there is no need to connect an uninterruptible power supply to the access point 30 to perform backup in the event of a power outage, the cost of introducing an uninterruptible power supply can be reduced.
Furthermore, by restarting the Wi-Fi connection when the sales data processing device 10 detects that the power supply has been restored, it is possible to reliably and quickly shift from the BLE connection to the Wi-Fi connection after the power is restored. Therefore, the cooperative operation of the sales data processing device 10 and the mobile terminal device 20 can be continued before the power outage, during the power outage period, and after the power outage.

また、売上データ処理装置10は、電力供給の復旧の検出に応じて、アクセスポイント30との間で通信接続を開始し、かつ、電力供給の復旧を通知する復電通知データを携帯端末装置20に対してBLE接続を介して送信し、携帯端末装置20は、復電通知データの受信に応じて、売上データ処理装置10との間でアクセスポイント30を介したWi-Fi接続を再開する。このように、BLE接続を介して復電通知データを送信することで、携帯端末装置20に対して確実かつ速やかに電力供給の復旧を通知することができる。また、この復電通知データの受信に応じて携帯端末装置20がWi-Fi接続を行うことで、電力供給の復旧後、早期にWi-Fi接続を再開することができる。 In addition, in response to the detection of the restoration of power supply, the sales data processing device 10 starts a communication connection with the access point 30, and transmits power restoration notification data to the mobile terminal device 20 notifying the restoration of power supply. In response to receiving the power restoration notification data, the mobile terminal device 20 resumes the Wi-Fi connection with the sales data processing device 10 via the access point 30. In this way, by transmitting the power restoration notification data via the BLE connection, it is possible to reliably and quickly notify the mobile terminal device 20 of the restoration of power supply. Furthermore, by making the Wi-Fi connection in response to receiving the power restoration notification data, the mobile terminal device 20 can quickly resume the Wi-Fi connection after the power supply is restored.

また、売上データ処理装置10は、自装置が予備電源19による動作に切り替わったことにより、アクセスポイント30に対する電力供給の停止を検出し、自装置が、予備電源19による動作から、外部からの電力供給による動作に切り替わったことにより、アクセスポイント30に対する電力供給の復旧を検出する。これにより、停電時には、Wi-Fi通信部141を用いなくとも、アクセスポイント30に対する電力供給の停止、及びアクセスポイント30とのWi-Fi接続の切断を簡易に検出することができる。また、復電時には、売上データ処理装置10が外部電源による動作に切り替わったことを判別する1つの検出処理で、売上データ処理装置がWi-Fi接続を行うことのできる電力を外部電源から得られていること、及びアクセスポイント30の動作が復旧したこと(復旧したとみなせること)、の双方を一度に担保することができる。 Furthermore, the sales data processing device 10 detects the stoppage of power supply to the access point 30 due to the self-device switching to operation using the backup power source 19, and the sales data processing device 10 switches from operating using the backup power source 19 to external power supply. Restoration of the power supply to the access point 30 is detected by switching to the power supply operation. Thereby, in the event of a power outage, it is possible to easily detect the stoppage of power supply to the access point 30 and the disconnection of the Wi-Fi connection with the access point 30 without using the Wi-Fi communication unit 141. In addition, when the power is restored, one detection process that determines that the sales data processing device 10 has switched to operation using an external power source allows the sales data processing device to obtain power from the external power source that enables Wi-Fi connection. It is possible to ensure at once that the operation of the access point 30 has been restored (it can be considered that the access point 30 has been restored).

また、電力供給の復旧後にWi-Fi接続が再開された場合に、売上データ処理装置10及び携帯端末装置20の少なくとも一方がBLE接続を終了させる。これによれば、使用する周波数帯域が重複するWi-Fi接続とBLE接続との干渉を避けつつ、電力消費量を低減することができる。 Further, when the Wi-Fi connection is restarted after the power supply is restored, at least one of the sales data processing device 10 and the mobile terminal device 20 terminates the BLE connection. According to this, it is possible to reduce power consumption while avoiding interference between a Wi-Fi connection and a BLE connection that use overlapping frequency bands.

また、売上データ処理装置10及び携帯端末装置20の少なくとも一方は、電力供給の復旧後にWi-Fi接続が再開された場合に、BLE接続に対してWi-Fi接続を優先的に利用して通信処理を行うように自装置の設定を切り替える。これによれば、BLE接続及びWi-Fi接続を併用しつつ、柔軟かつ効率的なデータ通信を行うことができる。 In addition, at least one of the sales data processing device 10 and the mobile terminal device 20 communicates by preferentially using the Wi-Fi connection over the BLE connection when the Wi-Fi connection is restarted after the power supply is restored. Switch the settings of the own device to perform the process. According to this, flexible and efficient data communication can be performed while using both BLE connection and Wi-Fi connection.

また、第2の通信接続は、第1の通信方式としてのWi-Fiよりも電力消費量の少ない第2の通信方式としてのBLEにより行われる。これによれば、予備電源19及びバッテリー26の電力消費量を抑えて、停電時における売上データ処理装置10及び携帯端末装置20の動作時間を延ばすことができる。 Further, the second communication connection is performed using BLE as a second communication method, which consumes less power than Wi-Fi as the first communication method. According to this, the power consumption of the backup power source 19 and the battery 26 can be suppressed, and the operating time of the sales data processing device 10 and the mobile terminal device 20 during a power outage can be extended.

また、アクセスポイント30は、外部のネットワークNに接続されており、第1の通信接続としてのWi-Fi接続が行われている場合に、売上データ処理装置10及び携帯端末装置20の少なくとも一方は、アクセスポイント30を介して、ネットワークNに接続された外部装置とデータ通信を行う。これによれば、アクセスポイント30及びネットワークNを介して、売上データ処理システムの外部に設けられたサーバ等との間でデータ通信を行うことができる。 Further, the access point 30 is connected to an external network N, and when a Wi-Fi connection is made as a first communication connection, at least one of the sales data processing device 10 and the mobile terminal device 20 is connected to the external network N. , performs data communication with an external device connected to the network N via the access point 30. According to this, data communication can be performed with a server or the like provided outside the sales data processing system via the access point 30 and the network N.

また、本実施形態に係る売上データ処理装置10は、アクセスポイント30に対する外部からの電力供給が停止してWi-Fi接続が切断された場合に、携帯端末装置20との間でアクセスポイント30を介さないBLE接続を開始し、BLE接続の開始後に電力供給の復旧を検出した場合に、携帯端末装置20との間でアクセスポイント30を介したWi-Fi接続を再開する。これによれば、電力供給が停止した場合にWi-Fi接続からBLE接続に移行して、売上データ処理装置10及び携帯端末装置20の連携動作を継続することができるとともに、電力復旧後に確実かつ速やかにWi-Fi接続を再開することができる。 Furthermore, when the external power supply to the access point 30 is stopped and the Wi-Fi connection is disconnected, the sales data processing device 10 according to the present embodiment can connect the access point 30 to the mobile terminal device 20. When a BLE connection without intermediary is started, and restoration of power supply is detected after the start of the BLE connection, a Wi-Fi connection with the mobile terminal device 20 via the access point 30 is restarted. According to this, when the power supply is stopped, it is possible to shift from the Wi-Fi connection to the BLE connection and continue the cooperative operation of the sales data processing device 10 and the mobile terminal device 20. Wi-Fi connection can be quickly resumed.

また、本実施形態に係る携帯端末装置20は、アクセスポイント30に対する外部からの電力供給が停止してWi-Fi接続が切断された場合に、売上データ処理装置10との間でアクセスポイント30を介さないBLE接続を開始し、BLE接続の開始後に、電力供給の復旧を売上データ処理装置10が検出した場合に、売上データ処理装置10との間でアクセスポイント30を介したWi-Fi接続を再開する。これによれば、電力供給が停止した場合にWi-Fi接続からBLE接続に移行して、売上データ処理装置10及び携帯端末装置20の連携動作を継続することができるとともに、電力復旧後に確実かつ速やかにWi-Fi接続を再開することができる。 Furthermore, when the external power supply to the access point 30 is stopped and the Wi-Fi connection is disconnected, the mobile terminal device 20 according to the present embodiment can connect the access point 30 to the sales data processing device 10. If the sales data processing device 10 detects that the power supply has been restored after starting the BLE connection without using the BLE connection, the Wi-Fi connection with the sales data processing device 10 via the access point 30 is established. resume. According to this, when the power supply is stopped, it is possible to shift from the Wi-Fi connection to the BLE connection and continue the cooperative operation of the sales data processing device 10 and the mobile terminal device 20. Wi-Fi connection can be quickly resumed.

また、本実施形態に係るプログラム131は、売上データ処理装置10に設けられたコンピュータとしてのCPU11に、アクセスポイント30に対する外部からの電力供給が停止してWi-Fi接続が切断された場合に、携帯端末装置20との間でアクセスポイント30を介さないBLE接続を開始する機能と、BLE接続の開始後に、電力供給の復旧を検出した場合に、携帯端末装置20との間でアクセスポイント30を介したWi-Fi接続を再開する機能と、を実現させる。これによれば、電力供給が停止した場合にWi-Fi接続からBLE接続に移行して、売上データ処理装置10及び携帯端末装置20の連携動作を継続することができるとともに、電力復旧後に確実かつ速やかにWi-Fi接続を再開することができる。 Further, the program 131 according to the present embodiment causes the CPU 11, which is a computer provided in the sales data processing device 10, to perform the following operations when the external power supply to the access point 30 is stopped and the Wi-Fi connection is disconnected. A function to start a BLE connection with the mobile terminal device 20 without going through the access point 30, and a function to start the access point 30 with the mobile terminal device 20 when restoration of power supply is detected after starting the BLE connection. A function to resume Wi-Fi connection via the Internet. According to this, when the power supply is stopped, it is possible to shift from the Wi-Fi connection to the BLE connection and continue the cooperative operation of the sales data processing device 10 and the mobile terminal device 20. Wi-Fi connection can be quickly resumed.

また、本実施形態に係るプログラム231は、携帯端末装置20に設けられたコンピュータとしてのCPU21に、アクセスポイント30に対する外部からの電力供給が停止してWi-Fi接続が切断された場合に、売上データ処理装置10との間でアクセスポイント30を介さないBLE接続を開始する機能と、BLE接続の開始後に、電力供給の復旧を売上データ処理装置10が検出した場合に、売上データ処理装置10との間でアクセスポイント30を介したWi-Fi接続を再開する機能と、を実現させる。これによれば、電力供給が停止した場合にWi-Fi接続からBLE接続に移行して、売上データ処理装置10及び携帯端末装置20の連携動作を継続することができるとともに、電力復旧後に確実かつ速やかにWi-Fi接続を再開することができる。 Further, the program 231 according to the present embodiment causes the CPU 21, which is a computer provided in the mobile terminal device 20, to generate sales information when the external power supply to the access point 30 is stopped and the Wi-Fi connection is disconnected. A function to start a BLE connection with the data processing device 10 without going through the access point 30, and a function to connect the sales data processing device 10 when the sales data processing device 10 detects restoration of power supply after starting the BLE connection. A function of restarting the Wi-Fi connection via the access point 30 between the two is realized. According to this, when the power supply is stopped, it is possible to shift from the Wi-Fi connection to the BLE connection and continue the cooperative operation of the sales data processing device 10 and the mobile terminal device 20. Wi-Fi connection can be quickly resumed.

なお、上記実施形態における記述は、本発明に係る売上データ処理システム、売上データ処理装置、携帯端末装置及びプログラムの一例であり、これに限定されるものではない。
例えば、第2の通信接続の通信方式は、BLEに限られず、直接の無線通信を用いる任意の通信方式とすることができる。例えば、無線LANのアドホックモード、Wi-Fiダイレクト(登録商標)、又はBluetoothなどを用いてもよい。
Note that the description in the above embodiment is an example of the sales data processing system, sales data processing device, mobile terminal device, and program according to the present invention, and is not limited thereto.
For example, the communication method for the second communication connection is not limited to BLE, but may be any communication method that uses direct wireless communication. For example, wireless LAN ad hoc mode, Wi-Fi Direct (registered trademark), or Bluetooth may be used.

また、上記実施形態では、携帯端末装置20は、復電通知データの受信に応じてアクセスポイント30及び売上データ処理装置10とのWi-Fi接続を再開する例を用いて説明したが、これに限られず、復電時にアクセスポイント30から発信されるビーコンを検出してアクセスポイント30とのWi-Fi接続を開始し、さらに売上データ処理装置10とのWi-Fi接続を試みるようにしてもよい。 Furthermore, in the embodiment described above, the mobile terminal device 20 restarts the Wi-Fi connection with the access point 30 and the sales data processing device 10 in response to receiving the power restoration notification data. The present invention is not limited to this, and a beacon transmitted from the access point 30 may be detected when the power is restored, a Wi-Fi connection with the access point 30 may be started, and a Wi-Fi connection with the sales data processing device 10 may be further attempted. .

また、売上データ処理装置10は、必ずしも予備電源19を備えていなくてもよく、予備電源としての無停電電源装置が外付けされた構成とし、停電時に当該無停電電源装置から電力の供給を受けるようになっていてもよい。 Furthermore, the sales data processing device 10 does not necessarily need to be equipped with the backup power supply 19, but may be configured to have an external uninterruptible power supply as a backup power supply, and receive power from the uninterruptible power supply in the event of a power outage. It may be as follows.

また、売上データ処理装置10とアクセスポイント30との間の通信接続は無線通信に限られず、有線の通信接続であってもよい。 Further, the communication connection between the sales data processing device 10 and the access point 30 is not limited to wireless communication, but may be a wired communication connection.

また、上記実施形態では、売上データ処理システム1が中継通信装置としてのアクセスポイント30を備える例を用いて説明したが、これに限られず、アクセスポイント30は売上データ処理システム1の外部に設けられていてもよい。すなわち、売上データ処理システム1は、当該売上データ処理システム1の外部に設けられたアクセスポイント30を介してWi-Fi接続を行う売上データ処理装置10及び携帯端末装置20を備えていてもよい。 Further, in the embodiment described above, the sales data processing system 1 has been described using an example in which the access point 30 is provided as a relay communication device, but the access point 30 is not limited to this, and the access point 30 may be provided outside the sales data processing system 1. You can leave it there. That is, the sales data processing system 1 may include a sales data processing device 10 and a mobile terminal device 20 that perform Wi-Fi connection via an access point 30 provided outside the sales data processing system 1.

また、売上データ処理装置10に対する電源供給が維持された状態でアクセスポイント30に対する電源供給が停止した場合(例えば、アクセスポイント30の電源プラグが意図せずに外れた場合など)に、上記実施形態と同様の通信接続の切替動作を行ってもよい。この場合には、売上データ処理装置10は、アクセスポイント30とのWi-Fi接続が切断されたことによって、アクセスポイント30に対する電源供給の停止を検出し、この検出を契機にアドバタイジングパケットを発信して携帯端末装置20とのBLE接続を開始する。その後、売上データ処理装置10は、継続的にアクセスポイント30とのWi-Fi接続の再開を試み、Wi-Fi接続が再開できたことによって、電源供給の復旧を検出する。電源供給の復旧を検出した後の動作は、上記実施形態と同様である。 Further, in the case where the power supply to the access point 30 is stopped while the power supply to the sales data processing device 10 is maintained (for example, when the power plug of the access point 30 is unintentionally disconnected), the above embodiment A similar communication connection switching operation may be performed. In this case, the sales data processing device 10 detects that the power supply to the access point 30 is stopped due to the Wi-Fi connection with the access point 30 being disconnected, and uses this detection as an opportunity to transmit an advertising packet. BLE connection with the mobile terminal device 20 is started. Thereafter, the sales data processing device 10 continuously tries to restart the Wi-Fi connection with the access point 30, and detects that the power supply has been restored when the Wi-Fi connection has been restarted. The operation after detecting restoration of power supply is the same as in the above embodiment.

また、上記実施形態における売上データ処理システム1、売上データ処理装置10及び携帯端末装置20の各構成要素の細部構成及び細部動作に関しては、本発明の趣旨を逸脱することのない範囲で適宜変更可能であることは勿論である。 Further, the detailed configuration and detailed operation of each component of the sales data processing system 1, the sales data processing device 10, and the mobile terminal device 20 in the above embodiments can be changed as appropriate without departing from the spirit of the present invention. Of course it is.

本発明の実施の形態を説明したが、本発明の範囲は、上述の実施の形態に限定するものではなく、特許請求の範囲に記載された発明の範囲とその均等の範囲を含む。
以下に、この出願の願書に最初に添付した特許請求の範囲に記載した発明を付記する。付記に記載した請求項の項番は、この出願の願書に最初に添付した特許請求の範囲の通りである。
〔付記〕
<請求項1>
外部からの電力供給が停止した場合に予備電源による動作の継続が可能であり、商取引の売上データの処理を行う売上データ処理装置と、
内部電源による動作が可能であり、前記売上データ処理装置との間で所定の中継通信装置を介した第1の通信接続を行う携帯端末装置と、
を備え、
前記売上データ処理装置及び前記携帯端末装置は、
前記中継通信装置に対する外部からの電力供給が停止して前記第1の通信接続が切断された場合に、前記中継通信装置を介さない直接の無線通信による第2の通信接続を開始し、
前記第2の通信接続の開始後に、前記電力供給の復旧を前記売上データ処理装置が検出した場合に、前記中継通信装置を介した前記第1の通信接続を再開することを特徴とする売上データ処理システム。
<請求項2>
前記売上データ処理装置は、前記電力供給の復旧の検出に応じて、前記中継通信装置との間で通信接続を開始し、かつ、前記電力供給の復旧を通知する復電通知データを前記携帯端末装置に対して前記第2の通信接続を介して送信し、
前記携帯端末装置は、前記復電通知データの受信に応じて、前記売上データ処理装置との間で前記中継通信装置を介した前記第1の通信接続を再開することを特徴とする請求項1に記載の売上データ処理システム。
<請求項3>
前記売上データ処理装置は、
自装置が前記予備電源による動作に切り替わったことにより、前記中継通信装置に対する前記電力供給の停止を検出し、
自装置が、前記予備電源による動作から、外部からの電力供給による動作に切り替わったことにより、前記中継通信装置に対する前記電力供給の復旧を検出することを特徴とする請求項1又は2に記載の売上データ処理システム。
<請求項4>
前記電力供給の復旧後に前記第1の通信接続が再開された場合に、前記売上データ処理装置及び前記携帯端末装置の少なくとも一方が前記第2の通信接続を終了させることを特徴とする請求項1~3のいずれか一項に記載の売上データ処理システム。
<請求項5>
前記売上データ処理装置及び前記携帯端末装置の少なくとも一方は、前記電力供給の復旧後に前記第1の通信接続が再開された場合に、前記第2の通信接続に対して前記第1の通信接続を優先的に利用して通信処理を行うように自装置の設定を切り替えることを特徴とする請求項1~3のいずれか一項に記載の売上データ処理システム。
<請求項6>
前記第1の通信接続は、第1の通信方式により行われ、
前記第2の通信接続は、前記第1の通信方式よりも電力消費量の少ない第2の通信方式により行われることを特徴とする請求項1~5のいずれか一項に記載の売上データ処理システム。
<請求項7>
前記中継通信装置は、外部のネットワークに接続された、無線通信のアクセスポイントであり、
前記第1の通信接続が行われている場合に、前記売上データ処理装置及び前記携帯端末装置の少なくとも一方は、前記中継通信装置を介して、前記ネットワークに接続された外部装置とデータ通信を行うことを特徴とする請求項1~6のいずれか一項に記載の売上データ処理システム。
<請求項8>
外部からの電力供給が停止した場合に予備電源による動作の継続が可能であり、商取引の売上データの処理を行う売上データ処理装置と、
内部電源による動作が可能であり、前記売上データ処理装置との間で所定の中継通信装置を介した第1の通信接続を行う携帯端末装置と、
を備えた売上データ処理システムに用いられる売上データ処理装置であって、
前記中継通信装置に対する外部からの電力供給が停止して前記第1の通信接続が切断された場合に、前記携帯端末装置との間で前記中継通信装置を介さない直接の無線通信による第2の通信接続を開始し、
前記第2の通信接続の開始後に前記電力供給の復旧を検出した場合に、前記携帯端末装置との間で前記中継通信装置を介した前記第1の通信接続を再開することを特徴とする売上データ処理装置。
<請求項9>
外部からの電力供給が停止した場合に予備電源による動作の継続が可能であり、商取引の売上データの処理を行う売上データ処理装置と、
内部電源による動作が可能であり、前記売上データ処理装置との間で所定の中継通信装置を介した第1の通信接続を行う携帯端末装置と、
を備えた売上データ処理システムに用いられる携帯端末装置であって、
前記中継通信装置に対する外部からの電力供給が停止して前記第1の通信接続が切断された場合に、前記売上データ処理装置との間で前記中継通信装置を介さない直接の無線通信による第2の通信接続を開始し、
前記第2の通信接続の開始後に、前記電力供給の復旧を前記売上データ処理装置が検出した場合に、前記売上データ処理装置との間で前記中継通信装置を介した前記第1の通信接続を再開することを特徴とする携帯端末装置。
<請求項10>
外部からの電力供給が停止した場合に予備電源による動作の継続が可能であり、商取引の売上データの処理を行う売上データ処理装置と、
内部電源による動作が可能であり、前記売上データ処理装置との間で所定の中継通信装置を介した第1の通信接続を行う携帯端末装置と、
を備えた売上データ処理システムに用いられる売上データ処理装置に設けられたコンピュータに、
前記中継通信装置に対する外部からの電力供給が停止して前記第1の通信接続が切断された場合に、前記携帯端末装置との間で前記中継通信装置を介さない直接の無線通信による第2の通信接続を開始する機能と、
前記第2の通信接続の開始後に、前記電力供給の復旧を検出した場合に、前記携帯端末装置との間で前記中継通信装置を介した前記第1の通信接続を再開する機能と、
を実現させることを特徴とするプログラム。
<請求項11>
外部からの電力供給が停止した場合に予備電源による動作の継続が可能であり、商取引の売上データの処理を行う売上データ処理装置と、
内部電源による動作が可能であり、前記売上データ処理装置との間で所定の中継通信装置を介した第1の通信接続を行う携帯端末装置と、
を備えた売上データ処理システムに用いられる携帯端末装置に設けられたコンピュータに、
前記中継通信装置に対する外部からの電力供給が停止して前記第1の通信接続が切断された場合に、前記売上データ処理装置との間で前記中継通信装置を介さない直接の無線通信による第2の通信接続を開始する機能と、
前記第2の通信接続の開始後に、前記電力供給の復旧を前記売上データ処理装置が検出した場合に、前記売上データ処理装置との間で前記中継通信装置を介した前記第1の通信接続を再開する機能と、
を実現させることを特徴とするプログラム。
Although the embodiments of the present invention have been described, the scope of the present invention is not limited to the above-described embodiments, but includes the scope of the invention described in the claims and equivalent ranges thereof.
Below, the invention described in the claims first attached to the application of this application will be added. The claim numbers listed in the supplementary notes are as in the claims originally attached to the request for this application.
[Additional note]
<Claim 1>
a sales data processing device that can continue operation with a backup power source when the external power supply stops, and that processes sales data of commercial transactions;
a mobile terminal device that is capable of operating using an internal power source and that performs a first communication connection with the sales data processing device via a predetermined relay communication device;
Equipped with
The sales data processing device and the mobile terminal device include:
When the first communication connection is disconnected due to the stop of external power supply to the relay communication device, starting a second communication connection by direct wireless communication not via the relay communication device,
Sales data characterized in that when the sales data processing device detects restoration of the power supply after starting the second communication connection, the first communication connection via the relay communication device is restarted. processing system.
<Claim 2>
The sales data processing device starts a communication connection with the relay communication device in response to the detection of the restoration of the power supply, and transmits power restoration notification data notifying the restoration of the power supply to the mobile terminal. transmitting to a device via the second communication connection;
2. The mobile terminal device restarts the first communication connection with the sales data processing device via the relay communication device in response to receiving the power restoration notification data. Sales data processing system described in.
<Claim 3>
The sales data processing device includes:
detecting the stoppage of the power supply to the relay communication device due to the self-device switching to operation using the backup power source;
3. The relay communication device detects restoration of the power supply to the relay communication device when the device switches from operation using the backup power supply to operation using external power supply. Sales data processing system.
<Claim 4>
Claim 1, wherein when the first communication connection is restarted after the power supply is restored, at least one of the sales data processing device and the mobile terminal device terminates the second communication connection. The sales data processing system according to any one of items 3 to 3.
<Claim 5>
At least one of the sales data processing device and the mobile terminal device connects the first communication connection to the second communication connection when the first communication connection is restarted after the power supply is restored. 4. The sales data processing system according to claim 1, wherein the sales data processing system switches settings of its own device so as to perform communication processing using the sales data processing system preferentially.
<Claim 6>
The first communication connection is performed using a first communication method,
Sales data processing according to any one of claims 1 to 5, wherein the second communication connection is performed using a second communication method that consumes less power than the first communication method. system.
<Claim 7>
The relay communication device is a wireless communication access point connected to an external network,
When the first communication connection is established, at least one of the sales data processing device and the mobile terminal device performs data communication with an external device connected to the network via the relay communication device. The sales data processing system according to any one of claims 1 to 6.
<Claim 8>
a sales data processing device that can continue operation with a backup power source when the external power supply stops, and that processes sales data of commercial transactions;
a mobile terminal device that is capable of operating using an internal power source and that performs a first communication connection with the sales data processing device via a predetermined relay communication device;
A sales data processing device used in a sales data processing system comprising:
When the power supply from the outside to the relay communication device is stopped and the first communication connection is disconnected, a second communication connection is established between the mobile terminal device and the mobile terminal device by direct wireless communication without going through the relay communication device. Start a communication connection,
Sales characterized in that when restoration of the power supply is detected after the start of the second communication connection, the first communication connection with the mobile terminal device via the relay communication device is restarted. Data processing equipment.
<Claim 9>
a sales data processing device that can continue operation with a backup power source when the external power supply stops, and that processes sales data of commercial transactions;
a mobile terminal device that is capable of operating using an internal power source and that performs a first communication connection with the sales data processing device via a predetermined relay communication device;
A mobile terminal device used in a sales data processing system comprising:
When the power supply from the outside to the relay communication device is stopped and the first communication connection is disconnected, a second communication connection is established through direct wireless communication with the sales data processing device without going through the relay communication device. Initiate a communication connection for
If the sales data processing device detects restoration of the power supply after starting the second communication connection, the first communication connection is established with the sales data processing device via the relay communication device. A mobile terminal device characterized by restarting.
<Claim 10>
a sales data processing device that can continue operation with a backup power source when the external power supply stops, and that processes sales data of commercial transactions;
a mobile terminal device that is capable of operating using an internal power source and that performs a first communication connection with the sales data processing device via a predetermined relay communication device;
A computer installed in a sales data processing device used in a sales data processing system equipped with
When the power supply from the outside to the relay communication device is stopped and the first communication connection is disconnected, a second communication connection is established between the mobile terminal device and the mobile terminal device by direct wireless communication without going through the relay communication device. the ability to initiate a communication connection;
a function of restarting the first communication connection with the mobile terminal device via the relay communication device when restoration of the power supply is detected after the start of the second communication connection;
A program characterized by realizing the following.
<Claim 11>
a sales data processing device that can continue operation with a backup power source when the external power supply stops, and that processes sales data of commercial transactions;
a mobile terminal device that is capable of operating using an internal power source and that performs a first communication connection with the sales data processing device via a predetermined relay communication device;
A computer installed in a mobile terminal device used in a sales data processing system equipped with
When the power supply from the outside to the relay communication device is stopped and the first communication connection is disconnected, a second communication connection is established through direct wireless communication with the sales data processing device without going through the relay communication device. the ability to initiate communication connections for
If the sales data processing device detects restoration of the power supply after starting the second communication connection, the first communication connection is established with the sales data processing device via the relay communication device. The ability to resume
A program characterized by realizing the following.

1 売上データ処理システム
2 売上データ管理サーバ(外部装置)
3 カード情報管理サーバ(外部装置)
10 売上データ処理装置
11 CPU
12 RAM
13 記憶部
131 プログラム
14 通信部
141 Wi-Fi通信部
142 BLE通信部
151 操作表示部
152 顧客用表示部
16 印刷部
17 ドロア
18 電源部
182 検出回路
183 電源プラグ
19 予備電源
20 携帯端末装置
21 CPU
22 RAM
23 記憶部
231 プログラム
24 通信部
241 Wi-Fi通信部
242 BLE通信部
25 操作表示部
26 バッテリー(内部電源)
30 アクセスポイント(中継通信装置)
B1、B2 バス
N ネットワーク
1 Sales data processing system 2 Sales data management server (external device)
3 Card information management server (external device)
10 Sales data processing device 11 CPU
12 RAM
13 Storage section 131 Program 14 Communication section 141 Wi-Fi communication section 142 BLE communication section 151 Operation display section 152 Customer display section 16 Printing section 17 Drawer 18 Power supply section 182 Detection circuit 183 Power plug 19 Backup power supply 20 Mobile terminal device 21 CPU
22 RAM
23 Storage unit 231 Program 24 Communication unit 241 Wi-Fi communication unit 242 BLE communication unit 25 Operation display unit 26 Battery (internal power supply)
30 Access point (relay communication device)
B1, B2 bus N network

Claims (12)

外部からの電力供給が停止した場合に予備電源による動作の継続が可能であり、商取引の売上データの処理を行う売上データ処理装置と、
内部電源による動作が可能であり、前記売上データ処理装置との間で所定の中継通信装置を介した第1の通信接続を行う携帯端末装置と、
を備え、
前記売上データ処理装置及び前記携帯端末装置は、
前記中継通信装置に対する外部からの電力供給が停止して前記第1の通信接続が切断された場合に、前記中継通信装置を介さない直接の無線通信による第2の通信接続を開始し、
前記第2の通信接続の開始後に、前記売上データ処理装置及び前記中継通信装置に対する外部からの電力供給の復旧又は前記中継通信装置に対する外部からの電力供給の復旧を前記売上データ処理装置が検出した場合に、前記中継通信装置を介した前記第1の通信接続を再開することを特徴とする売上データ処理システム。
a sales data processing device that can continue operation with a backup power source when the external power supply stops, and that processes sales data of commercial transactions;
a mobile terminal device that is capable of operating using an internal power source and that performs a first communication connection with the sales data processing device via a predetermined relay communication device;
Equipped with
The sales data processing device and the mobile terminal device include:
When the first communication connection is disconnected due to the stop of external power supply to the relay communication device, starting a second communication connection by direct wireless communication not via the relay communication device,
After the start of the second communication connection, the sales data processing device detects restoration of power supply from the outside to the sales data processing device and the relay communication device, or restoration of power supply from the outside to the relay communication device. The sales data processing system is characterized in that the first communication connection via the relay communication device is restarted in the case where the first communication connection is resumed via the relay communication device.
前記売上データ処理装置は、前記売上データ処理装置及び前記中継通信装置に対する外部からの電力供給の復旧又は前記中継通信装置に対する外部からの電力供給の復旧の検出に応じて、前記中継通信装置との間で通信接続を開始し、かつ、前記売上データ処理装置及び前記中継通信装置に対する外部からの又は前記中継通信装置に対する外部からの電力供給の復旧を通知する復電通知データを前記携帯端末装置に対して前記第2の通信接続を介して送信し、
前記携帯端末装置は、前記復電通知データの受信に応じて、前記売上データ処理装置との間で前記中継通信装置を介した前記第1の通信接続を再開することを特徴とする請求項1に記載の売上データ処理システム。
The sales data processing device performs communication with the relay communication device in response to detection of restoration of power supply from the outside to the sales data processing device and the relay communication device, or restoration of power supply from the outside to the relay communication device. and transmits power restoration notification data to the mobile terminal device notifying restoration of power supply from the outside to the sales data processing device and the relay communication device or from the outside to the relay communication device. via the second communication connection;
2. The mobile terminal device restarts the first communication connection with the sales data processing device via the relay communication device in response to receiving the power restoration notification data. Sales data processing system described in.
前記売上データ処理装置は、
自装置に対する外部からの電力供給の停止を検出し、自装置が前記予備電源による動作に切り替わったことにより、自装置及び前記中継通信装置に対する外部からの電力供給の停止を検出し、
自装置が、前記予備電源による動作から、外部からの電力供給による動作に切り替わったことにより、自装置及び前記中継通信装置に対する外部からの電力供給の復旧を検出することを特徴とする請求項1又は2に記載の売上データ処理システム。
The sales data processing device includes:
detecting a stop in the external power supply to the self-device, and detecting a stop in the external power supply to the self-device and the relay communication device due to the self-device switching to operation using the backup power source;
Claim 1, wherein the device detects restoration of external power supply to the device and the relay communication device when the device switches from operation using the backup power source to operation using power supplied from an external source. Or the sales data processing system described in 2.
前記売上データ処理装置は、The sales data processing device includes:
自装置と前記中継通信装置との通信接続が切断されたことにより、前記中継通信装置に対する外部からの電力供給の停止を検出し、Detecting a stop in external power supply to the relay communication device due to disconnection of the communication connection between the device itself and the relay communication device;
自装置と前記中継通信装置との通信接続が再開できたことにより、前記中継通信装置に対する外部からの電力供給の復旧を検出することを特徴とする請求項1又は2に記載の売上データ処理システム。The sales data processing system according to claim 1 or 2, wherein the sales data processing system detects restoration of external power supply to the relay communication device when the communication connection between the device itself and the relay communication device is restarted. .
前記売上データ処理装置及び前記中継通信装置に対する外部からの電力供給の復旧又は前記中継通信装置に対する外部からの電力供給の復旧後に前記第1の通信接続が再開された場合に、前記売上データ処理装置及び前記携帯端末装置の少なくとも一方が前記第2の通信接続を終了させることを特徴とする請求項1~のいずれか一項に記載の売上データ処理システム。 When the first communication connection is resumed after restoration of power supply from the outside to the sales data processing device and the relay communication device, or restoration of power supply from the outside to the relay communication device , the sales data processing device 5. The sales data processing system according to claim 1, wherein at least one of the mobile terminal device and the mobile terminal device terminates the second communication connection. 前記売上データ処理装置及び前記携帯端末装置の少なくとも一方は、前記売上データ処理装置及び前記中継通信装置に対する外部からの電力供給の復旧又は前記中継通信装置に対する外部からの電力供給の復旧後に前記第1の通信接続が再開された場合に、前記第2の通信接続に対して前記第1の通信接続を優先的に利用して通信処理を行うように自装置の設定を切り替えることを特徴とする請求項1~のいずれか一項に記載の売上データ処理システム。 At least one of the sales data processing device and the mobile terminal device is configured to perform the first operation after restoration of external power supply to the sales data processing device and the relay communication device, or after restoration of external power supply to the relay communication device. A claim characterized in that, when the communication connection is restarted, the settings of the own device are switched so that communication processing is performed by preferentially using the first communication connection over the second communication connection. The sales data processing system according to any one of items 1 to 4 . 前記第1の通信接続は、第1の通信方式により行われ、
前記第2の通信接続は、前記第1の通信方式よりも電力消費量の少ない第2の通信方式により行われることを特徴とする請求項1~のいずれか一項に記載の売上データ処理システム。
The first communication connection is performed using a first communication method,
The sales data processing according to any one of claims 1 to 6 , wherein the second communication connection is performed using a second communication method that consumes less power than the first communication method. system.
前記中継通信装置は、外部のネットワークに接続された、無線通信のアクセスポイントであり、
前記第1の通信接続が行われている場合に、前記売上データ処理装置及び前記携帯端末装置の少なくとも一方は、前記中継通信装置を介して、前記ネットワークに接続された外部装置とデータ通信を行うことを特徴とする請求項1~のいずれか一項に記載の売上データ処理システム。
The relay communication device is a wireless communication access point connected to an external network,
When the first communication connection is established, at least one of the sales data processing device and the mobile terminal device performs data communication with an external device connected to the network via the relay communication device. The sales data processing system according to any one of claims 1 to 7 .
外部からの電力供給が停止した場合に予備電源による動作の継続が可能であり、商取引の売上データの処理を行う売上データ処理装置と、
内部電源による動作が可能であり、前記売上データ処理装置との間で所定の中継通信装置を介した第1の通信接続を行う携帯端末装置と、
を備えた売上データ処理システムに用いられる売上データ処理装置であって、
前記中継通信装置に対する外部からの電力供給が停止して前記第1の通信接続が切断された場合に、前記携帯端末装置との間で前記中継通信装置を介さない直接の無線通信による第2の通信接続を開始し、
前記第2の通信接続の開始後に前記売上データ処理装置及び前記中継通信装置に対する外部からの電力供給の復旧又は前記中継通信装置に対する外部からの電力供給の復旧を検出した場合に、前記携帯端末装置との間で前記中継通信装置を介した前記第1の通信接続を再開することを特徴とする売上データ処理装置。
a sales data processing device that can continue operation with a backup power source when the external power supply stops, and that processes sales data of commercial transactions;
a mobile terminal device that is capable of operating using an internal power source and that performs a first communication connection with the sales data processing device via a predetermined relay communication device;
A sales data processing device used in a sales data processing system comprising:
When the power supply from the outside to the relay communication device is stopped and the first communication connection is disconnected, a second communication connection is established between the mobile terminal device and the mobile terminal device by direct wireless communication without going through the relay communication device. Start a communication connection,
When detecting restoration of power supply from the outside to the sales data processing device and the relay communication device or restoration of power supply from the outside to the relay communication device after the start of the second communication connection, the mobile terminal device A sales data processing device characterized in that said first communication connection is restarted between said relay communication device and said sales data processing device.
外部からの電力供給が停止した場合に予備電源による動作の継続が可能であり、商取引の売上データの処理を行う売上データ処理装置と、
内部電源による動作が可能であり、前記売上データ処理装置との間で所定の中継通信装置を介した第1の通信接続を行う携帯端末装置と、
を備えた売上データ処理システムに用いられる携帯端末装置であって、
前記中継通信装置に対する外部からの電力供給が停止して前記第1の通信接続が切断された場合に、前記売上データ処理装置との間で前記中継通信装置を介さない直接の無線通信による第2の通信接続を開始し、
前記第2の通信接続の開始後に、前記売上データ処理装置及び前記中継通信装置に対する外部からの電力供給の復旧又は前記中継通信装置に対する外部からの電力供給の復旧を前記売上データ処理装置が検出した場合に、前記売上データ処理装置との間で前記中継通信装置を介した前記第1の通信接続を再開することを特徴とする携帯端末装置。
a sales data processing device that can continue operation with a backup power source when the external power supply stops, and that processes sales data of commercial transactions;
a mobile terminal device that is capable of operating using an internal power source and that performs a first communication connection with the sales data processing device via a predetermined relay communication device;
A mobile terminal device used in a sales data processing system comprising:
When the power supply from the outside to the relay communication device is stopped and the first communication connection is disconnected, a second communication connection is established through direct wireless communication with the sales data processing device without going through the relay communication device. Initiate a communication connection for
After the start of the second communication connection, the sales data processing device detects restoration of power supply from the outside to the sales data processing device and the relay communication device, or restoration of power supply from the outside to the relay communication device. The mobile terminal device is characterized in that the first communication connection with the sales data processing device via the relay communication device is restarted in the case where the first communication connection is resumed with the sales data processing device.
外部からの電力供給が停止した場合に予備電源による動作の継続が可能であり、商取引の売上データの処理を行う売上データ処理装置と、
内部電源による動作が可能であり、前記売上データ処理装置との間で所定の中継通信装置を介した第1の通信接続を行う携帯端末装置と、
を備えた売上データ処理システムに用いられる売上データ処理装置に設けられたコンピュータに、
前記中継通信装置に対する外部からの電力供給が停止して前記第1の通信接続が切断された場合に、前記携帯端末装置との間で前記中継通信装置を介さない直接の無線通信による第2の通信接続を開始する機能と、
前記第2の通信接続の開始後に、前記売上データ処理装置及び前記中継通信装置に対する外部からの電力供給の復旧又は前記中継通信装置に対する外部からの電力供給の復旧を検出した場合に、前記携帯端末装置との間で前記中継通信装置を介した前記第1の通信接続を再開する機能と、
を実現させることを特徴とするプログラム。
a sales data processing device that can continue operation with a backup power source when the external power supply stops, and that processes sales data of commercial transactions;
a mobile terminal device that is capable of operating using an internal power source and that performs a first communication connection with the sales data processing device via a predetermined relay communication device;
A computer installed in a sales data processing device used in a sales data processing system equipped with
When the power supply from the outside to the relay communication device is stopped and the first communication connection is disconnected, a second communication connection is established between the mobile terminal device and the mobile terminal device by direct wireless communication without going through the relay communication device. the ability to initiate a communication connection;
When detecting restoration of external power supply to the sales data processing device and the relay communication device or restoration of external power supply to the relay communication device after the start of the second communication connection, the mobile terminal a function of restarting the first communication connection with the device via the relay communication device;
A program characterized by realizing the following.
外部からの電力供給が停止した場合に予備電源による動作の継続が可能であり、商取引の売上データの処理を行う売上データ処理装置と、
内部電源による動作が可能であり、前記売上データ処理装置との間で所定の中継通信装置を介した第1の通信接続を行う携帯端末装置と、
を備えた売上データ処理システムに用いられる携帯端末装置に設けられたコンピュータに、
前記中継通信装置に対する外部からの電力供給が停止して前記第1の通信接続が切断された場合に、前記売上データ処理装置との間で前記中継通信装置を介さない直接の無線通信による第2の通信接続を開始する機能と、
前記第2の通信接続の開始後に、前記売上データ処理装置及び前記中継通信装置に対する外部からの電力供給の復旧又は前記中継通信装置に対する外部からの電力供給の復旧を前記売上データ処理装置が検出した場合に、前記売上データ処理装置との間で前記中継通信装置を介した前記第1の通信接続を再開する機能と、
を実現させることを特徴とするプログラム。
a sales data processing device that can continue operation with a backup power source when the external power supply stops, and that processes sales data of commercial transactions;
a mobile terminal device that is capable of operating using an internal power source and that performs a first communication connection with the sales data processing device via a predetermined relay communication device;
A computer installed in a mobile terminal device used in a sales data processing system equipped with
When the power supply from the outside to the relay communication device is stopped and the first communication connection is disconnected, a second communication connection is established through direct wireless communication with the sales data processing device without going through the relay communication device. the ability to initiate communication connections for
After the start of the second communication connection, the sales data processing device detects restoration of power supply from the outside to the sales data processing device and the relay communication device, or restoration of power supply from the outside to the relay communication device. a function of restarting the first communication connection with the sales data processing device via the relay communication device;
A program characterized by realizing the following.
JP2019231035A 2019-12-23 2019-12-23 Sales data processing system, sales data processing device, mobile terminal device and program Active JP7404856B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2019231035A JP7404856B2 (en) 2019-12-23 2019-12-23 Sales data processing system, sales data processing device, mobile terminal device and program
JP2023209730A JP2024022664A (en) 2019-12-23 2023-12-13 Data processing system, data processor, portable terminal device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019231035A JP7404856B2 (en) 2019-12-23 2019-12-23 Sales data processing system, sales data processing device, mobile terminal device and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2023209730A Division JP2024022664A (en) 2019-12-23 2023-12-13 Data processing system, data processor, portable terminal device, and program

Publications (2)

Publication Number Publication Date
JP2021099655A JP2021099655A (en) 2021-07-01
JP7404856B2 true JP7404856B2 (en) 2023-12-26

Family

ID=76542022

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2019231035A Active JP7404856B2 (en) 2019-12-23 2019-12-23 Sales data processing system, sales data processing device, mobile terminal device and program
JP2023209730A Pending JP2024022664A (en) 2019-12-23 2023-12-13 Data processing system, data processor, portable terminal device, and program

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2023209730A Pending JP2024022664A (en) 2019-12-23 2023-12-13 Data processing system, data processor, portable terminal device, and program

Country Status (1)

Country Link
JP (2) JP7404856B2 (en)

Also Published As

Publication number Publication date
JP2021099655A (en) 2021-07-01
JP2024022664A (en) 2024-02-16

Similar Documents

Publication Publication Date Title
EP3422777B1 (en) Communication apparatus and control method therefor
US9432846B2 (en) Image forming apparatus that performs user authentication by wireless communication, method of controlling the same, and storage medium
US9678561B2 (en) Information processing apparatus
CN109740699B (en) Gateway and method for managing a plurality of electronic tags
JP5953255B2 (en) Electronic shelf label system
JP5418134B2 (en) Information terminal and computer program
US20160197490A1 (en) Information processing apparatus, peripheral device and non-contact power supply system
CN113163345A (en) Broadcast communication method, system, gateway equipment and electronic price tag
JP7404856B2 (en) Sales data processing system, sales data processing device, mobile terminal device and program
JP5957935B2 (en) CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM
US10244477B2 (en) Communication apparatus, communication terminal, and communication system
JP5903402B2 (en) Data processing apparatus and program
JP2009206764A (en) Wireless communication system, and wireless communication apparatus
JP6463163B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP4330124B2 (en) Ordering system
CN104553379A (en) Bluetooth printing terminal with double Bluetooth communication modules
JP7238463B2 (en) Sales data processing system, terminal device and program
CN102710319B (en) Wireless communication system
JP5613722B2 (en) Point-of-sale information management device and control program
JP2017073015A (en) Pos system and printer setting method thereof
JP2022036476A (en) Printing system, printing control device, and printing device
JP3599709B2 (en) POS device with notification function of business takeover items
JP6999440B2 (en) Product sales data processing equipment and programs
JP5473160B2 (en) Product sales data processing device
JP2012139968A (en) Apparatus and system for forming image

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20221208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230718

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230721

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230907

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231127

R150 Certificate of patent or registration of utility model

Ref document number: 7404856

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150