JP2020135754A - Sales data processing system, sales data processing device, terminal device, portable terminal device and program - Google Patents

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

Info

Publication number
JP2020135754A
JP2020135754A JP2019031984A JP2019031984A JP2020135754A JP 2020135754 A JP2020135754 A JP 2020135754A JP 2019031984 A JP2019031984 A JP 2019031984A JP 2019031984 A JP2019031984 A JP 2019031984A JP 2020135754 A JP2020135754 A JP 2020135754A
Authority
JP
Japan
Prior art keywords
sales data
power supply
unit
data processing
terminal 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.)
Granted
Application number
JP2019031984A
Other languages
Japanese (ja)
Other versions
JP7238463B2 (en
Inventor
斉藤 朗
Akira Saito
朗 斉藤
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 JP2019031984A priority Critical patent/JP7238463B2/en
Publication of JP2020135754A publication Critical patent/JP2020135754A/en
Priority to JP2023023330A priority patent/JP7396520B2/en
Application granted granted Critical
Publication of JP7238463B2 publication Critical patent/JP7238463B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To provide a sales data processing system, a sales data processing device, a terminal device, a potable terminal device and a program, capable of saving labor and time at the time of recovery of power supply.SOLUTION: A sales data processing system includes a sales data processing device, and a terminal device. The terminal device, when power supply to the sales data processing device from an external power supply is stopped to interrupt sales data generation processing at the sales data processing device, takes over the sale data generation processing from the sales data processing device, and when receiving power return notification data notifying of recovery of power supply, transmits sales data generated in the terminal device to the sales data processing device.SELECTED DRAWING: Figure 12

Description

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

従来、店舗に設置されて会計に用いられ、顧客に販売した商品の金額、個数等の売上データを登録するECR(Electronic Cash Register)等の売上データ処理装置がある。このような売上データ処理装置では、停電などにより電力供給が停止した場合に、売上データに係る処理を中断して売上データを所定の退避用メモリに退避させ、電力供給が復旧した場合に、退避させた売上データを用いて処理を再開させる技術がある(例えば、特許文献1)。 Conventionally, there are sales data processing devices such as ECR (Electronic Cash Register) that are installed in stores and used for accounting and register sales data such as the amount and quantity of products sold to customers. In such a sales data processing device, when the power supply is stopped due to a power failure or the like, the processing related to the sales data is interrupted and the sales data is saved in a predetermined save memory, and when the power supply is restored, the save is saved. There is a technique for restarting processing using the generated sales data (for example, Patent Document 1).

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

しかしながら、停電により長期に亘って電力供給が停止している場合などでは、売上データ処理装置を用いずに会計を行う必要が生じることがある。この場合の会計の内容は、売上データ処理装置に売上データとして登録されないため、会計の内容をメモなどに控えておく必要がある。また、電力供給の復旧時には、控えておいた会計の内容を売上データ処理装置に入力し、売上データとして登録させる必要がある。
このように、上記従来の技術では、電力供給が停止している期間に会計を行う場合に手間が掛かるという課題がある。
However, when the power supply is stopped for a long period of time due to a power outage, it may be necessary to perform accounting without using the sales data processing device. Since the accounting content in this case is not registered as sales data in the sales data processing device, it is necessary to make a note of the accounting content. In addition, when the power supply is restored, it is necessary to input the contents of the reserved accounting into the sales data processing device and register it as sales data.
As described above, the above-mentioned conventional technique has a problem that it takes time and effort to perform accounting 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 terminal device, a portable terminal device, and a program, which can save the trouble of performing accounting during a period when the power supply is stopped. ..

上記課題を解決するため、本発明の売上データ処理システムは、
商取引の売上データの処理を行う売上データ処理装置と、
前記売上データ処理装置との間でデータ通信が可能な端末装置と、
を備えた売上データ処理システムであって、
前記売上データ処理装置は、
ユーザからの入力操作に応じて前記売上データを生成する売上データ生成処理を実行する第1の処理部と、
第1の通信部と、
前記第1の通信部の動作を制御する第1の通信制御部と、
外部電源に接続され、当該外部電源から供給された電力を、前記第1の処理部、前記第1の通信部及び前記第1の通信制御部に供給する電源部と、
を備え、
前記端末装置は、
前記電源部への前記外部電源からの電力供給が停止して前記第1の処理部が前記売上データ生成処理を実行できない場合に、ユーザからの入力操作を受け付けて前記売上データ生成処理を実行し、前記売上データを生成する第2の処理部と、
前記第1の通信部との間でデータ通信を行う第2の通信部と、
前記第2の通信部の動作を制御する第2の通信制御部と、
を備え、
前記第1の通信制御部は、前記外部電源からの電力供給が停止した後に当該電力供給が復旧した場合に、電力供給の復旧を通知する復電通知データを前記第1の通信部により前記第2の通信部に対して送信させ、
前記第2の通信制御部は、前記第2の通信部が前記復電通知データを受信した場合に、前記第2の処理部により生成された前記売上データを前記第2の通信部により前記第1の通信部に対して送信させる
ことを特徴とする。
In order to solve the above problems, the sales data processing system of the present invention
A sales data processing device that processes sales data for commercial transactions,
A terminal device capable of data communication with the sales data processing device and
It is a sales data processing system equipped with
The sales data processing device is
A first processing unit that executes a sales data generation process that generates the sales data in response to an input operation from the user, and
With the first communication unit
A first communication control unit that controls the operation of the first communication unit,
A power supply unit connected to an external power source and supplying the electric power supplied from the external power source to the first processing unit, the first communication unit, and the first communication control unit.
With
The terminal device is
When the power supply from the external power source to the power supply unit is stopped and the first processing unit cannot execute the sales data generation process, an input operation from the user is accepted and the sales data generation process is executed. , The second processing unit that generates the sales data,
A second communication unit that performs data communication with the first communication unit, and
A second communication control unit that controls the operation of the second communication unit,
With
When the power supply is restored after the power supply from the external power supply is stopped, the first communication control unit uses the first communication unit to send recovery notification data for notifying the restoration of the power supply. Send to the communication unit of 2
When the second communication unit receives the power recovery notification data, the second communication control unit uses the second communication unit to generate the sales data generated by the second processing unit. It is characterized in that it is transmitted to the communication unit of 1.

本発明によれば、電力供給の復旧時の手間を省くことができる。 According to the present invention, it is possible to save time and effort when restoring the power supply.

売上データ管理システムの構成を示す図である。It is a figure which shows the structure of the sales data management system. 売上データ処理装置の外観を示す図である。It is a figure which shows the appearance of the sales data processing apparatus. 売上データ処理装置の機能構成を示すブロック図である。It is a block diagram which shows the functional structure of the sales data processing apparatus. 売上データの内容例を示す図である。It is a figure which shows the content example of the sales data. 端末装置の機能構成を示すブロック図である。It is a block diagram which shows the functional structure of a terminal device. 部分売上データの内容例を示す図である。It is a figure which shows the content example of a partial sales data. 引継問合せ画面が表示された端末装置を示す図である。It is a figure which shows the terminal device which displayed the takeover inquiry screen. 引継画面が表示された端末装置を示す図である。It is a figure which shows the terminal device which the takeover screen is displayed. 端末装置で生成された売上データの内容例を示す図である。It is a figure which shows the content example of the sales data generated by a terminal device. データ送信問合せ画面が表示された端末装置を示す図である。It is a figure which shows the terminal device which displayed the data transmission inquiry screen. データ送信画面が表示された端末装置を示す図である。It is a figure which shows the terminal device which displayed the data transmission screen. 会計処理の制御手順を示すフローチャートである。It is a flowchart which shows the control procedure of accounting processing. 会計処理のステップS202、S203の詳細な内容を示すフローチャートである。It is a flowchart which shows the detailed contents of the accounting process steps S202, S203. 変形例1に係る会計処理の制御手順を示すフローチャートである。It is a flowchart which shows the control procedure of the accounting process which concerns on modification 1. 変形例2に係る売上データ処理装置の機能構成を示すブロック図である。It is a block diagram which shows the functional structure of the sales data processing apparatus which concerns on modification 2.

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

<売上データ管理システム、及び売上データ処理システムの構成>
図1は、本実施形態の売上データ管理システム100の構成を示す図である。
売上データ管理システム100は、売上データ処理装置10と、端末装置20と、サーバ装置30(外部装置)と、を備えている。このうち、売上データ処理装置10及び端末装置20により売上データ処理システム1が構成される。したがって、売上データ管理システム100は、売上データ処理システム1及びサーバ装置30により構成されている。
<Structure of sales data management system and sales data processing system>
FIG. 1 is a diagram showing a configuration of a sales data management system 100 of the present embodiment.
The sales data management system 100 includes a sales data processing device 10, a terminal device 20, and a server device 30 (external device). Of these, the sales data processing system 1 is configured by the sales data processing device 10 and the terminal device 20. Therefore, the sales data management system 100 is composed of the sales data processing system 1 and the server device 30.

売上データ処理装置10及び端末装置20は、BLE(Bluetooth(登録商標) Low Energy)による近距離無線通信を行う。
また、端末装置20及びサーバ装置30は、通信ネットワークNにより接続されている。通信ネットワークNは、インターネットであるものとするが、LAN(Local Area Network)等、他のネットワークとしてもよい。
また、売上データ処理装置10は、サーバ装置30との間で直接データ通信を行う手段を有していない。
The sales data processing device 10 and the terminal device 20 perform short-range wireless communication by BLE (Bluetooth (registered trademark) Low Energy).
Further, the terminal device 20 and the server device 30 are connected by a communication network N. The communication network N is assumed to be the Internet, but may be another network such as a LAN (Local Area Network).
Further, the sales data processing device 10 does not have a means for directly performing data communication with the server device 30.

売上データ処理装置10は、個人商店、スーパーマーケット、飲食店等の店舗に設置されて会計に用いられるECR等であり、ユーザ(売上データ処理装置10のオペレータ)の入力操作に応じて商取引の売上に係る売上データ(顧客に販売した商品や提供したサービスの金額、個数等)を登録する装置である。以下では、商品やサービスなどの商取引の対象を、まとめて「商品」と記す。 The sales data processing device 10 is an ECR or the like installed in a store such as a private store, a supermarket, or a restaurant and used for accounting, and can be used for sales of commercial transactions in response to an input operation by a user (operator of the sales data processing device 10). It is a device that registers such sales data (amount of goods sold to customers, amount of services provided, quantity, etc.). In the following, the targets of commercial transactions such as goods and services are collectively referred to as "goods".

端末装置20(携帯端末装置)は、スマートフォンやタブレット端末等の携帯型端末機器であり、売上データ処理装置10から送信された売上データをサーバ装置30に送信する。すなわち、端末装置20は、サーバ装置30との通信手段を有しない売上データ処理装置10からサーバ装置30に売上データを送信するために、当該売上データの送信を中継する。売上データ処理装置10からサーバ装置30への売上データの送信は、通常、ある程度の期間の売上データが蓄積された段階で(典型的には、1日に1回)まとめて行われる。
また、端末装置20には、売上データ処理装置10との連携動作を行うためのアプリケーションプログラムがインストールされている。このアプリケーションプログラムを実行して所定の入力操作を行うことで、売上データ処理装置10の動作設定を行ったり、売上データ処理装置10が停電などにより使用できない場合に売上データ処理装置10に代わって売上データを記録したりすることができる。
本実施形態の売上データ処理システム1では、売上データ処理装置10に対して1台の端末装置20が対応付けられているものとする。
The terminal device 20 (mobile terminal device) is a portable terminal device such as a smartphone or a tablet terminal, and transmits sales data transmitted from the sales data processing device 10 to the server device 30. That is, the terminal device 20 relays the transmission of the sales data in order to transmit the sales data from the sales data processing device 10 having no communication means with the server device 30 to the server device 30. The transmission of sales data from the sales data processing device 10 to the server device 30 is usually performed collectively at the stage where the sales data for a certain period of time is accumulated (typically once a day).
Further, an application program for performing a linked operation with the sales data processing device 10 is installed in the terminal device 20. By executing this application program and performing a predetermined input operation, the operation of the sales data processing device 10 can be set, or when the sales data processing device 10 cannot be used due to a power failure or the like, sales are performed in place of the sales data processing device 10. Data can be recorded.
In the sales data processing system 1 of the present embodiment, it is assumed that one terminal device 20 is associated with the sales data processing device 10.

サーバ装置30は、クラウド上に設けられたデータ管理サーバであり、端末装置20を介して売上データ処理装置10から送信された売上データを記憶して管理する。サーバ装置30は、複数の売上データ処理装置10の売上データを一元的に管理できるようになっていても良い。 The server device 30 is a data management server provided on the cloud, and stores and manages sales data transmitted from the sales data processing device 10 via the terminal device 20. The server device 30 may be able to centrally manage the sales data of the plurality of sales data processing devices 10.

<売上データ処理装置の構成>
図2は、売上データ処理装置10の外観を示す図である。
図3は、売上データ処理装置10の機能構成を示すブロック図である。
売上データ処理装置10は、CPU11(Central Processing Unit)と、RAM12(Random Access Memory)と、記憶部13と、通信部14(第1の通信部)と、操作表示部151と、顧客用表示部152と、印刷部16と、ドロア17と、電源部18と、予備電源19などを備えている。売上データ処理装置10の各部は、バスB1により接続されている。なお、図2では、通信部14やドロア17などの図示が省略されている。
<Structure of sales data processing device>
FIG. 2 is a diagram showing the appearance of the sales data processing device 10.
FIG. 3 is a block diagram showing a functional configuration of the sales data processing device 10.
The sales data processing device 10 includes a CPU 11 (Central Processing Unit), a RAM 12 (Random Access Memory), a storage unit 13, a communication unit 14 (first communication unit), an operation display unit 151, and a customer display unit. It includes a 152, a printing unit 16, a drawer 17, a power supply unit 18, a standby power supply 19, and the like. Each part of the sales data processing device 10 is connected by a bus B1. In FIG. 2, the communication unit 14 and the drawer 17 are not shown.

CPU11は、売上データ処理装置10の各部を制御するプロセッサである。CPU11は、記憶部13に記憶されたプログラム131を読み出してRAM12に展開し、当該プログラム131を実行して各種演算処理を行う。プログラム131を実行することで、CPU11は、売上データを生成する売上データ生成処理を実行する第1の処理部(処理部、処理手段)、及び通信部14の動作を制御する第1の通信制御部(通信制御部、通信制御手段)などとして機能する。なお、第1の通信制御部としてのCPU11が通信部14によりデータを送信させることを、「第1の通信制御部がデータを送信する」とも記す。 The CPU 11 is a processor that controls each part of the sales data processing device 10. The CPU 11 reads the program 131 stored in the storage unit 13 and expands it into the RAM 12, executes the program 131, and performs various arithmetic processes. By executing the program 131, the CPU 11 controls the operations of the first processing unit (processing unit, processing means) that executes the sales data generation process for generating sales data, and the communication unit 14. It functions as a unit (communication control unit, communication control means). It should be noted that the fact that the CPU 11 as the first communication control unit transmits data by the communication unit 14 is also described as "the first communication control unit transmits data".

RAM12は、CPU11に作業用のメモリ空間を提供し、一時データを記憶する。RAM12は、不揮発性メモリを含んでいてもよい。RAM12には、売上データ生成処理により生成された売上データ121が記憶される。 The RAM 12 provides the CPU 11 with a working memory space and stores temporary data. The RAM 12 may include a non-volatile memory. The sales data 121 generated by the sales data generation process is stored in the RAM 12.

図4は、売上データ121の内容例を示す図である。
売上データ121は、売上の記録対象となる商品ごとに、「日付」、「取引固有コード」、「部門」、「商品コード」、「単価」、「数量」、「金額」のデータが記録されたテーブルデータである。
「日付」は、商品の売上が登録された日付を示す。
「取引固有コード」は、1回の商取引ごとに設定される固有の番号である。例えば、顧客が1回の会計でまとめて購入した複数の商品の各々には、同一の取引固有コードが付される。
「部門」は、売上の記録対象の商品が属する部門(商品分類)を表す。
「商品コード」は、商品ごとに予め定められた固有の番号である。売上データ121には、商品コードに加えて(又は商品コードに代えて)、商品コードに対応付けられている商品の名称のデータが含まれていても良い。
「単価」及び「数量」は、それぞれ商品の単価及び販売数量であり、「金額」は、「単価」及び「数量」を乗じて得られた、その商品の売上金額である。
FIG. 4 is a diagram showing an example of the contents of the sales data 121.
In the sales data 121, data of "date", "transaction-specific code", "department", "product code", "unit price", "quantity", and "amount" are recorded for each product for which sales are to be recorded. Table data.
"Date" indicates the date when the sales of the product are registered.
The "transaction-specific code" is a unique number set for each commercial transaction. For example, the same transaction-specific code is attached to each of a plurality of products that a customer purchases in a single transaction.
“Department” represents the department (product classification) to which the product for which sales are recorded belongs.
The "product code" is a unique number predetermined for each product. The sales data 121 may include data of the name of the product associated with the product code in addition to the product code (or instead of the product code).
The "unit price" and the "quantity" are the unit price and the sales quantity of the product, respectively, and the "amount" is the sales amount of the product obtained by multiplying the "unit price" and the "quantity".

記憶部13は、CPU11により実行されるプログラム131や設定データといった各種データを記憶する。プログラム131は、コンピュータ読み取り可能なプログラムコードの形態で記憶部13に格納されている。記憶部13としては、例えばHDD(Hard Disk Drive)、SSD(Solid State Drive)、フラッシュメモリなどの、データの保持に電源を要しない記憶装置が用いられる。
記憶部13に記憶される設定データとしては、通信部14が無線通信を行う対象の端末装置20を識別、特定するための識別データなどが含まれる。
The storage unit 13 stores various data such as a program 131 executed by the CPU 11 and setting data. The program 131 is stored in the storage unit 13 in the form of a computer-readable program code. As the storage unit 13, for example, a storage device such as an HDD (Hard Disk Drive), an SSD (Solid State Drive), or a flash memory, which does not require a power source for holding data, is used.
The setting data stored in the storage unit 13 includes identification data for identifying and identifying the target terminal device 20 for which the communication unit 14 performs wireless communication.

通信部14は、アンテナ、変復調回路、信号処理回路などを有する通信モジュールであり、BLEによる無線通信に係る通信規格に従って、端末装置20の通信部24(図5)との間で無線データ通信を行う。 The communication unit 14 is a communication module having an antenna, a modulation / demodulation circuit, a signal processing circuit, and the like, and performs wireless data communication with the communication unit 24 (FIG. 5) of the terminal device 20 in accordance with a communication standard related to wireless communication by BLE. Do.

操作表示部151は、LCD(Liquid Crystal Display)や、有機EL(Electro-Luminescence)ディスプレイといった表示部と、表示部の表示画面に重ねられて設けられたタッチパネルとを備える。ユーザは、顧客の会計時に操作表示部151に対して所定の入力操作を行うことで、会計を行う商品の種別や数量を入力することができる。この入力操作に応じて、上述の売上データ121が生成されてRAM12に記憶される。以下では、売上データ121の生成のために操作表示部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 so as to be superimposed on the display screen of the display unit. The user can input the type and quantity of the product to be accounted for by performing a predetermined input operation on the operation display unit 151 at the time of accounting for the customer. In response to this input operation, the above-mentioned sales data 121 is generated and stored in the RAM 12. In the following, the input operation performed on the operation display unit 151 for generating the sales data 121 will also be referred to as “accounting operation”.
The operation display unit 151 may be further provided with an input device other than the touch panel, such as a keyboard or a mouse, that accepts input operations from the user.

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

印刷部16は、CPU11から出力された制御信号に従い、レシートやジャーナルなどを用紙に印刷して出力する。 The printing unit 16 prints a receipt, a journal, or the like on paper in accordance with the control signal output from the CPU 11 and outputs the printed sheet.

ドロア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は、商用電源などの外部電源40に接続され、当該外部電源40から供給された電力を、CPU11、RAM12及び通信部14を含む売上データ処理装置10の各部に供給する。図3では、電源部18から各部への電力供給経路は記載が省略されている。 The power supply unit 18 is connected to an external power source 40 such as a commercial power source, and supplies the power supplied from the external power source 40 to each unit of the sales data processing device 10 including the CPU 11, the RAM 12, and the communication unit 14. In FIG. 3, the description of the power supply path from the power supply unit 18 to each unit is omitted.

予備電源19は、外部電源40からの電力供給が停止した場合に、電源部18に代わって売上データ処理装置10の所定の構成要素に一時的に電力を供給する。本実施形態の予備電源19は、CPU11、RAM12及び通信部14に電力を供給可能に設けられている。よって、停電などで外部電源40からの電力供給が停止した場合には、予備電源19の電力により、CPU11を一時的に動作させることができる。さらに、予備電源19の電力により、RAM12に記憶されたデータを保持することができ、また、通信部14による端末装置20の通信部24とのBLEによる接続状態を維持させることができる。以下では、CPU11、RAM12及び通信部14に予備電源19から電力を供給して動作を維持させることを、「バックアップ」とも記す。
RAM12及び通信部14のバックアップのために必要な電力は比較的小さいため、外部電源40からの電力供給の停止が数時間から数日程度続いた場合でも、予備電源19の電力によるバックアップを継続することができる。
一方、CPU11の動作にはより大きな電力が必要であるため、通常、停電時におけるCPU11のバックアップはごく短時間に限って行われる。すなわち、CPU11は、必要な処理を行った後にシャットダウンされ、又は再起動のための機能等の最低限の機能のみを維持したスタンバイ状態に移行する。
予備電源19は、例えば乾電池とすることができるが、これに限られず、乾電池以外の電池(充電式のバッテリー等)を用いても良いし、必要な電力が確保できる場合にはコンデンサ等の電子素子により構成されていても良い。
When the power supply from the external power supply 40 is stopped, the standby power supply 19 temporarily supplies power to a predetermined component of the sales data processing device 10 in place of the power supply unit 18. The standby power supply 19 of this embodiment is provided so as to be able to supply electric power to the CPU 11, the RAM 12, and the communication unit 14. Therefore, when the power supply from the external power supply 40 is stopped due to a power failure or the like, the CPU 11 can be temporarily operated by the power of the standby power supply 19. Further, the power of the standby power supply 19 can hold the data stored in the RAM 12, and the communication unit 14 can maintain the connection state of the terminal device 20 with the communication unit 24 by BLE. Hereinafter, supplying power from the standby power supply 19 to the CPU 11, the RAM 12, and the communication unit 14 to maintain the operation is also referred to as “backup”.
Since the power required for backing up the RAM 12 and the communication unit 14 is relatively small, even if the power supply from the external power supply 40 is stopped for several hours to several days, the backup with the power of the standby power supply 19 is continued. be able to.
On the other hand, since the operation of the CPU 11 requires a larger amount of power, the backup of the CPU 11 is usually performed only for a very short time in the event of a power failure. That is, the CPU 11 is shut down after performing necessary processing, or shifts to a standby state in which only the minimum functions such as the function for restarting are maintained.
The standby power supply 19 can be, for example, a dry battery, but the present invention is not limited to this, and a battery other than the dry battery (rechargeable battery or the like) may be used, and if the required power can be secured, an electron such as a capacitor It may be composed of elements.

<端末装置の構成>
図5は、端末装置20の機能構成を示すブロック図である。
端末装置20は、CPU21と、RAM22と、記憶部23と、通信部24(第2の通信部)と、操作表示部25などを備えている。端末装置20の各部は、バスB2により接続されており、図示しないバッテリーから電力を受けて動作する。
<Configuration of terminal device>
FIG. 5 is a block diagram showing a functional configuration of the terminal device 20.
The terminal device 20 includes a CPU 21, a RAM 22, a storage unit 23, a communication unit 24 (second communication unit), an operation display unit 25, and the like. Each part of the terminal device 20 is connected by a bus B2 and operates by receiving electric power from a battery (not shown).

CPU21は、端末装置20の各部を制御するプロセッサである。CPU21は、記憶部23に記憶されたプログラム231(上述のアプリケーションプログラム等)を読み出してRAM22に展開し、当該プログラム231を実行して各種演算処理を行う。プログラム231を実行することで、CPU21は、売上データ処理装置10に代わって売上データ生成処理を実行する第2の処理部(処理部、処理手段)、及び通信部24の動作を制御する第2の通信制御部(通信制御部、通信制御手段)などとして機能する。なお、第2の通信制御部としてのCPU21が通信部24によりデータを送信させることを、「第2の通信制御部がデータを送信する」とも記す。 The CPU 21 is a processor that controls each part of the terminal device 20. The CPU 21 reads a program 231 (the above-mentioned application program or the like) stored in the storage unit 23, expands it into the RAM 22, executes the program 231 to perform various arithmetic processes. By executing the program 231 the CPU 21 controls the operations of the second processing unit (processing unit, processing means) that executes the sales data generation processing on behalf of the sales data processing device 10, and the communication unit 24. It functions as a communication control unit (communication control unit, communication control means) of the above. It should be noted that the fact that the CPU 21 as the second communication control unit transmits data by the communication unit 24 is also described as "the second communication control unit transmits data".

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

記憶部23は、CPU21により実行されるプログラム231や設定データといった各種データを記憶する。プログラム231は、コンピュータ読み取り可能なプログラムコードの形態で記憶部23に格納されている。記憶部23としては、例えばHDD、SSD、フラッシュメモリなどが用いられる。
記憶部23に記憶される設定データとしては、通信部24が無線通信を行う対象の端末装置20やサーバ装置30を識別、特定するための識別データなどが含まれる。
The storage unit 23 stores various data such as a program 231 executed by the CPU 21 and setting data. 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, SSD, flash memory, or the like is used.
The setting data stored in the storage unit 23 includes identification data for identifying and identifying the terminal device 20 and the server device 30 to be wirelessly communicated by the communication unit 24.

通信部24は、アンテナ、変復調回路、信号処理回路などを有する通信モジュールであり、通信対象とのデータ通信に用いられる所定の通信規格に対応した通信制御を行う。すなわち、通信部24は、売上データ処理装置10の通信部14との間で、BLEによる無線データ通信を行う。また、通信部24は、サーバ装置30との間で、所定の通信規格に従ったデータ通信を行う。 The communication unit 24 is a communication module having an antenna, a modulation / demodulation circuit, a signal processing circuit, and the like, and performs communication control corresponding to a predetermined communication standard used for data communication with a communication target. That is, the communication unit 24 performs wireless data communication by BLE with the communication unit 14 of the sales data processing device 10. Further, the communication unit 24 performs data communication with the server device 30 in accordance with a predetermined communication standard.

操作表示部25は、LCDや有機ELディスプレイといった表示部と、表示部の表示画面に重ねられて設けられたタッチパネルとを備える。操作表示部25は、停電時において、売上データ処理装置10の操作表示部151に代わってユーザからの会計操作を受け付ける。なお、操作表示部25には、ユーザからの入力操作を受け付けるタッチパネル以外の入力デバイスがさらに設けられていてもよい。 The operation display unit 25 includes a display unit such as an LCD or an organic EL display, and a touch panel provided so as to be superimposed on the display screen of the display unit. In the event of a power failure, the operation display unit 25 receives an accounting operation from the user on behalf of the operation display unit 151 of the sales data processing device 10. The operation display unit 25 may be further provided with an input device other than the touch panel that accepts an input operation from the user.

<売上データ処理システムの動作の概要>
次に、売上データ処理システム1の動作について説明する。
売上データ処理システム1では、売上データ処理装置10に対して外部電源40からの電力供給が行われている場合には、売上データ処理装置10の操作表示部151により会計操作が受け付けられる。この会計操作に応じて、売上データ処理装置10において売上データ121を生成する売上データ生成処理が実行されて、売上データ121がRAM12に記憶(登録)される。
<Outline of operation of sales data processing system>
Next, the operation of the sales data processing system 1 will be described.
In the sales data processing system 1, when the sales data processing device 10 is supplied with electric power from the external power source 40, the operation display unit 151 of the sales data processing device 10 accepts the accounting operation. In response to this accounting operation, the sales data processing device 10 executes a sales data generation process for generating the sales data 121, and the sales data 121 is stored (registered) in the RAM 12.

また、店舗の営業が終了した段階で、売上データ処理装置10に蓄積された1日分の売上データが、端末装置20を介してサーバ装置30に送信されて管理される。このように、端末装置20によって売上データの送信を中継させる構成とすることで、売上データ処理装置10のデータ通信に係る構成を簡素化することができ、また製造コストを抑えることができる。
売上データのサーバ装置30への送信は、売上データ処理装置10の操作表示部151に対する入力操作に応じて行われても良いし、端末装置20で実行されているアプリケーションプログラム上で受け付けられた入力操作に応じて行われても良い。
Further, when the store is closed, the sales data for one day stored in the sales data processing device 10 is transmitted to the server device 30 via the terminal device 20 and managed. In this way, by configuring the terminal device 20 to relay the transmission of sales data, the configuration related to the data communication of the sales data processing device 10 can be simplified, and the manufacturing cost can be suppressed.
The transmission of the sales data to the server device 30 may be performed in response to an input operation to the operation display unit 151 of the sales data processing device 10, or the input received on the application program executed by the terminal device 20. It may be performed according to the operation.

他方で、外部電源40からの電力供給が停止した場合には、売上データ処理装置10が会計操作を受け付けることができず、売上データ処理装置10において売上データ生成処理を実行することができなくなる。すなわち、売上データ処理装置10における売上データの生成、登録ができなくなる。
外部電源40からの電力供給が停止する場合の典型例は、停電であるが、電源部18と外部電源40とを繋ぐ電源コードがコンセントから外れた場合なども含まれ得る。以下では、外部電源40からの電力供給が停止することを、単に「停電」とも記し、外部電源40からの電力供給が復旧することを「復電」とも記す。
On the other hand, when the power supply from the external power source 40 is stopped, the sales data processing device 10 cannot accept the accounting operation, and the sales data processing device 10 cannot execute the sales data generation process. That is, it becomes impossible to generate and register sales data in the sales data processing device 10.
A typical example of the case where the power supply from the external power supply 40 is stopped is a power failure, but it may also include a case where the power cord connecting the power supply unit 18 and the external power supply 40 is disconnected from the outlet. In the following, stopping the power supply from the external power supply 40 is also simply referred to as “power failure”, and restoring the power supply from the external power supply 40 is also referred to as “recovery”.

この停電時の問題に対し、売上データ処理システム1では、停電期間において、端末装置20の操作表示部25により会計操作が受け付けられ、端末装置20において売上データ生成処理を実行できるようになっている。すなわち、停電期間においては、端末装置20において売上データ221が生成されてRAM22に記憶される。 In response to this problem at the time of a power failure, in the sales data processing system 1, an accounting operation is accepted by the operation display unit 25 of the terminal device 20 during the power failure period, and the sales data generation process can be executed by the terminal device 20. .. That is, during the power failure period, the sales data 221 is generated in the terminal device 20 and stored in the RAM 22.

また、売上データ処理装置10を用いた会計の途中に停電が生じた場合(すなわち、売上データ処理装置10における売上データ生成処理が停電により中断された場合)には、売上データ生成処理のうち中断前の部分により生成された部分売上データが、売上データ処理装置10から端末装置20に送信される。そして、中断された売上データ生成処理が端末装置20において引き継がれ、上記の部分売上データと統合された売上データ221が生成されて端末装置20のRAM21に記憶される。 Further, if a power failure occurs during accounting using the sales data processing device 10 (that is, when the sales data generation process in the sales data processing device 10 is interrupted due to the power failure), the sales data generation process is interrupted. The partial sales data generated by the previous portion is transmitted from the sales data processing device 10 to the terminal device 20. Then, the interrupted sales data generation process is taken over by the terminal device 20, and the sales data 221 integrated with the above partial sales data is generated and stored in the RAM 21 of the terminal device 20.

図6は、部分売上データの内容例を示す図である。
ここでは、図4において取引固有コード「100001」が付されている4つの商品を対象とした会計が停電により中断され、このうち2つの商品(商品コード「101」、「203」の商品)についてのみ売上データが記録された例が示されている。この場合には、図6の部分売上データが売上データ処理装置10から端末装置20に送信され、この部分売上データに基づいて、中断された売上データ生成処理を引き継ぐか否かをユーザに問合せるための引継問合せ画面251が端末装置20の操作表示部25に表示される。
FIG. 6 is a diagram showing a content example of partial sales data.
Here, accounting for four products with the transaction-specific code "100001" in FIG. 4 is interrupted due to a power outage, and two of these products (products with product codes "101" and "203") are used. An example is shown in which only sales data was recorded. In this case, the partial sales data of FIG. 6 is transmitted from the sales data processing device 10 to the terminal device 20, and the user is inquired whether or not to take over the interrupted sales data generation processing based on the partial sales data. The takeover inquiry screen 251 is displayed on the operation display unit 25 of the terminal device 20.

図7は、引継問合せ画面251が表示された端末装置20を示す図である。
引継問合せ画面251では、売上データ処理装置10から、停電を通知する停電通知データを受信したことを示す内容、及び、売上データ処理装置10で行われていた売上データ生成処理を引き継ぐか否かをユーザに問い合わせる内容が表示され、併せて問合せに対する回答内容をユーザが指示するためのYESボタン2511及びNOボタン2512が表示される。
NOボタン2512を選択する入力操作がなされると、売上データ生成処理は端末装置20に引き継がれず、売上データ処理装置10への電力供給が復旧した後に、売上データ処理装置10において売上データ生成処理が継続されることとなる。
YESボタン2511を選択する入力操作がなされると、中断された売上データ生成処理を引き継ぐための引継画面252が端末装置20の操作表示部25に表示される。
FIG. 7 is a diagram showing a terminal device 20 on which the takeover inquiry screen 251 is displayed.
On the takeover inquiry screen 251, the content indicating that the power failure notification data for notifying the power failure has been received from the sales data processing device 10 and whether or not to take over the sales data generation processing performed by the sales data processing device 10. The content of the inquiry to the user is displayed, and the YES button 2511 and the NO button 2512 for the user to instruct the content of the answer to the inquiry are also displayed.
When the input operation for selecting the NO button 2512 is performed, the sales data generation process is not taken over by the terminal device 20, and after the power supply to the sales data processing device 10 is restored, the sales data generation process is performed in the sales data processing device 10. It will be continued.
When the input operation for selecting the YES button 2511 is performed, the takeover screen 252 for taking over the interrupted sales data generation process is displayed on the operation display unit 25 of the terminal device 20.

図8は、引継画面252が表示された端末装置20を示す図である。
詳しくは、図8には、売上データ処理装置10との連携動作を行うためのアプリケーションプログラムが実行された状態で、売上データ処理装置10から部分売上データを受信したときの端末装置20が示されている。
図8に示されるように、端末装置20の操作表示部25に表示された引継画面252には、会計の明細を示す明細表示部2521と、会計の内容を入力するための操作キーが表示された操作キー表示部2522とが含まれている。このうち明細表示部2521には、受信した部分売上データの内容を反映した表示がなされている。この状態から操作キー表示部2522に対して会計操作がなされることで、図4における取引固有コード「100001」が付されている残り2つの商品についての売上データを生成することができる。
FIG. 8 is a diagram showing a terminal device 20 on which the takeover screen 252 is displayed.
Specifically, FIG. 8 shows a terminal device 20 when partial sales data is received from the sales data processing device 10 in a state where an application program for performing a linked operation with the sales data processing device 10 is executed. ing.
As shown in FIG. 8, on the takeover screen 252 displayed on the operation display unit 25 of the terminal device 20, the detail display unit 2521 showing the accounting details and the operation keys for inputting the accounting contents are displayed. The operation key display unit 2522 is included. Of these, the detail display unit 2521 is displayed to reflect the contents of the received partial sales data. By performing an accounting operation on the operation key display unit 2522 from this state, it is possible to generate sales data for the remaining two products to which the transaction-specific code "100001" in FIG. 4 is attached.

図9は、端末装置20で生成された売上データ221の内容例を示す図である。
図9に示されるように、端末装置20で引き継がれた売上データ生成処理により、図6の部分売上データに対して商品コード「124」、「105」の商品のデータが追加、統合された売上データ221が生成される。
FIG. 9 is a diagram showing a content example of the sales data 221 generated by the terminal device 20.
As shown in FIG. 9, the sales data generation process inherited by the terminal device 20 adds and integrates the product data of the product codes “124” and “105” to the partial sales data of FIG. Data 221 is generated.

そして、外部電源40からの電力供給が復旧し、売上データ処理装置10が起動すると、売上データ処理装置10から端末装置20へ、復電を通知する復電通知データが送信される。端末装置20では、復電通知データを受信すると、停電中に端末装置20で生成した売上データ221を売上データ処理装置10に送信する(戻す)か否かをユーザに問い合わせるデータ送信問合せ画面253が操作表示部25に表示される。 Then, when the power supply from the external power source 40 is restored and the sales data processing device 10 is activated, the power recovery notification data for notifying the power recovery is transmitted from the sales data processing device 10 to the terminal device 20. When the terminal device 20 receives the power recovery notification data, the data transmission inquiry screen 253 inquires the user whether to transmit (return) the sales data 221 generated by the terminal device 20 to the sales data processing device 10 during a power failure. It is displayed on the operation display unit 25.

図10は、データ送信問合せ画面253が表示された端末装置を示す図である。
データ送信問合せ画面253では、復電通知データを受信したことを示す内容、及び、停電中に端末装置20で生成した売上データ221、すなわち売上登録の内容を売上データ処理装置10に送信するか否かをユーザに問い合わせる内容が表示され、併せて問合せに対する回答内容をユーザが指示するための第1回答ボタン2531及び第2回答ボタン2532が表示される。このうち第1回答ボタン2531には、「すぐに戻す」との内容が表示され、第2回答ボタン2532には、「この取引の終了後に戻す」との内容が表示されている。
第1回答ボタン2531を選択する入力操作がなされると、端末装置20で生成された売上データ221が、直ちに売上データ処理装置10に送信される。
第2回答ボタン2532を選択する入力操作がなされると、現在会計処理を行っている取引が終了した後のタイミングで、売上データ221が売上データ処理装置10に送信される。
売上データ221の送信時には、データ送信画面254が端末装置20の操作表示部25に表示される。
FIG. 10 is a diagram showing a terminal device on which the data transmission inquiry screen 253 is displayed.
On the data transmission inquiry screen 253, whether or not to transmit the content indicating that the power recovery notification data has been received and the sales data 221 generated by the terminal device 20 during the power failure, that is, the content of the sales registration to the sales data processing device 10. The content of inquiring the user is displayed, and the first answer button 2531 and the second answer button 2532 for the user to instruct the answer content to the inquiry are also displayed. Of these, the first answer button 2531 displays the content of "return immediately", and the second answer button 2532 displays the content of "return after the end of this transaction".
When the input operation for selecting the first answer button 2531 is performed, the sales data 221 generated by the terminal device 20 is immediately transmitted to the sales data processing device 10.
When the input operation for selecting the second answer button 2532 is performed, the sales data 221 is transmitted to the sales data processing device 10 at the timing after the transaction currently being accounted for is completed.
When the sales data 221 is transmitted, the data transmission screen 254 is displayed on the operation display unit 25 of the terminal device 20.

図11は、データ送信画面254が表示された端末装置20を示す図である。
データ送信画面254では、端末装置20により生成された売上データ221を売上データ処理装置10に対して送信中であることを示す内容が表示される。売上データ221の送信が終了すると、データ送信画面254が閉じられ所定の表示画面(初期メニュー画面等)に遷移する。
端末装置20から売上データ処理装置10に送信された売上データ221は、売上データ121として売上データ処理装置10のRAM12に記憶される。また、売上データ処理装置10の操作表示部151において、停電期間に生成された売上データを端末装置20から受信して統合済である旨の表示がなされる。以降は、売上データ処理装置10を用いて通常の会計を行うことができる。
FIG. 11 is a diagram showing a terminal device 20 on which the data transmission screen 254 is displayed.
On the data transmission screen 254, the content indicating that the sales data 221 generated by the terminal device 20 is being transmitted to the sales data processing device 10 is displayed. When the transmission of the sales data 221 is completed, the data transmission screen 254 is closed and the screen transitions to a predetermined display screen (initial menu screen, etc.).
The sales data 221 transmitted from the terminal device 20 to the sales data processing device 10 is stored in the RAM 12 of the sales data processing device 10 as sales data 121. In addition, the operation display unit 151 of the sales data processing device 10 receives the sales data generated during the power failure period from the terminal device 20 and displays that the integration has been completed. After that, ordinary accounting can be performed using the sales data processing device 10.

このような売上データ処理システム1の動作により、停電期間においても会計処理を継続させることができる。また、復電時に、停電期間において端末装置20で生成された売上データが売上データ処理装置10に自動的に送信されて登録されるため、停電期間における会計の内容を書き留めたり、復電時に当該会計の内容を売上データ処理装置10に入力したりする手間を省くことができる。 By operating the sales data processing system 1 in this way, the accounting process can be continued even during the power failure period. Further, at the time of power restoration, the sales data generated by the terminal device 20 during the power failure period is automatically transmitted to the sales data processing device 10 and registered, so that the accounting contents during the power failure period can be written down or the power can be restored. It is possible to save the trouble of inputting the accounting contents into the sales data processing device 10.

<会計処理の制御手順>
次に、売上データ処理システムに上記動作を行わせるための会計処理の詳細な制御手順について説明する。
図12は、会計処理のCPU11及びCPU21による制御手順を示すフローチャートである。図12では、売上データ処理装置10側の会計処理(CPU11により実行される処理)、及び端末装置20側の会計処理(CPU21により実行される処理)が併記されている。また、処理の流れが実線で、データの流れが破線でそれぞれ示されている。
また、図13は、端末装置20側の会計処理のうちステップS202、S203の内容を詳細に示したフローチャートである。
<Accounting processing control procedure>
Next, a detailed control procedure of accounting processing for causing the sales data processing system to perform the above operation will be described.
FIG. 12 is a flowchart showing a control procedure by the CPU 11 and the CPU 21 for accounting processing. In FIG. 12, the accounting process on the sales data processing device 10 side (process executed by the CPU 11) and the accounting process on the terminal device 20 side (process executed by the CPU 21) are shown together. In addition, the processing flow is shown by a solid line, and the data flow is shown by a broken line.
Further, FIG. 13 is a flowchart showing in detail the contents of steps S202 and S203 in the accounting process on the terminal device 20 side.

会計処理が開始されると、売上データ処理装置10のCPU11は、端末装置20とのBLEによる無線通信を開始させるためのアドバタイズを行う(ステップS101)。すなわち、CPU11は、売上データ処理装置10からのパケットであることを示す固有のIDを含む所定のアドバタイズパケットを通信部14により発信させる。 When the accounting process is started, the CPU 11 of the sales data processing device 10 advertises to start wireless communication by BLE with the terminal device 20 (step S101). That is, the CPU 11 causes the communication unit 14 to transmit a predetermined advertisement packet including a unique ID indicating that the packet is from the sales data processing device 10.

端末装置20のCPU21は、売上データ処理装置10から発信されたアドバタイズパケットを通信部24が受信すると、通信部24により、売上データ処理装置10の通信部14とのBLEによる無線通信接続を開始させる(ステップS201)。 When the communication unit 24 receives the advertisement packet transmitted from the sales data processing device 10, the CPU 21 of the terminal device 20 causes the communication unit 24 to start a wireless communication connection by BLE with the communication unit 14 of the sales data processing device 10. (Step S201).

BLEによる無線通信接続が開始されると、売上データ処理装置10のCPU11は、ユーザからの会計操作を受け付けて、売上データを生成する売上データ生成処理を開始する(ステップS102)。すなわち、CPU11は、操作表示部151に対して、会計対象の商品の種別や数量を入力する会計操作がなされると、これに応じて売上データ121を生成してRAM12に記憶させる。 When the wireless communication connection by BLE is started, the CPU 11 of the sales data processing device 10 accepts the accounting operation from the user and starts the sales data generation process for generating the sales data (step S102). That is, when an accounting operation for inputting the type and quantity of the product to be accounted for is performed on the operation display unit 151, the CPU 11 generates sales data 121 and stores it in the RAM 12.

売上データ処理装置10のCPU11は、外部電源40からの電力供給が停止されたことを検出すると(ステップS103で“YES”)、CPU11、RAM12及び通信部14への供給電力を、予備電源19の電力に切り替える(ステップS104)。すなわち、CPU11は、CPU11、RAM12及び通信部14のバックアップを開始させる。 When the CPU 11 of the sales data processing device 10 detects that the power supply from the external power supply 40 has been stopped (“YES” in step S103), the power supplied to the CPU 11, the RAM 12, and the communication unit 14 is transferred to the standby power supply 19. Switch to power (step S104). That is, the CPU 11 starts the backup of the CPU 11, the RAM 12, and the communication unit 14.

売上データ処理装置10のCPU11は、停電を通知するための所定の停電通知データを、通信部14により端末装置20の通信部24に対して送信させる。また、停電時において実行中の売上データ生成処理があり、当該売上データ生成処理が中断した場合には、売上データ処理装置10のCPU11は、中断までに生成した部分売上データを、併せて通信部14により通信部24に対して送信させる(ステップS105)。なお、部分売上データを送信する場合には、部分売上データの送信により停電を通知することもできる。すなわち、部分売上データは、停電通知データの一態様となり得る。この場合には、停電通知データの送信を省略しても良い。 The CPU 11 of the sales data processing device 10 causes the communication unit 14 to transmit predetermined power failure notification data for notifying the power failure to the communication unit 24 of the terminal device 20. Further, when there is a sales data generation process being executed at the time of a power failure and the sales data generation process is interrupted, the CPU 11 of the sales data processing device 10 also uses the partial sales data generated up to the interruption in the communication unit. 14 causes the communication unit 24 to transmit data (step S105). When the partial sales data is transmitted, the power failure can be notified by transmitting the partial sales data. That is, the partial sales data can be one aspect of the power failure notification data. In this case, the transmission of the power failure notification data may be omitted.

ステップS105の処理が終了すると、売上データ処理装置10のCPU11は、RAM12及び通信部14のバックアップを継続させつつ、シャットダウン処理を行って動作を停止する(ステップS106)。なお、シャットダウン処理に代えて、CPU11を上述のスタンバイ状態に移行させても良い。 When the process of step S105 is completed, the CPU 11 of the sales data processing device 10 performs a shutdown process and stops the operation while continuing the backup of the RAM 12 and the communication unit 14 (step S106). Instead of the shutdown process, the CPU 11 may be shifted to the standby state described above.

一方、端末装置20のCPU21は、売上データ処理装置10から送信された停電通知データ及び部分売上データを通信部24が受信すると、部分売上データの内容に基づいて売上データ生成処理を引き継ぎ、部分売上データに統合された売上データ221を生成する。また、引き継いだ売上データ生成処理が完了した場合や、引き継ぐべき売上データ生成処理がなかった場合(部分売上データを受信しなかった場合)には、ユーザからの会計操作に応じて後続の売上データ生成処理を実行する(ステップS202)。 On the other hand, when the communication unit 24 receives the power failure notification data and the partial sales data transmitted from the sales data processing device 10, the CPU 21 of the terminal device 20 takes over the sales data generation processing based on the contents of the partial sales data, and the partial sales. Generate sales data 221 integrated into the data. In addition, when the inherited sales data generation process is completed, or when there is no sales data generation process to be inherited (when partial sales data is not received), the subsequent sales data is according to the accounting operation from the user. The generation process is executed (step S202).

詳しくは、このステップS202では、図13に示されるように、端末装置20のCPU21は、売上データ処理装置10から送信された停電通知データ及び部分売上データを通信部24が受信したか否かを判定し(ステップS2021)、受信していないと判定された場合には(ステップS2021で“NO”)、再度ステップS2021の処理を実行する。 Specifically, in step S202, as shown in FIG. 13, the CPU 21 of the terminal device 20 determines whether or not the communication unit 24 has received the power failure notification data and the partial sales data transmitted from the sales data processing device 10. If it is determined (step S2021) and it is determined that the data has not been received (“NO” in step S2021), the process of step S2021 is executed again.

停電通知データ及び部分売上データを通信部24が受信したと判定された場合には(ステップS2021で“YES”)、CPU21は、図7に示した引継問合せ画面251を操作表示部25に表示させ(ステップS2022)、ユーザからの指示を受け付ける(ステップS2023)。ユーザからの指示が「引継不可」である場合(すなわち、NOボタン2512を選択する入力操作がなされた場合)には、CPU21は、処理をステップS2021に戻す。
ユーザからの指示が「引継可」である場合(すなわち、YESボタン2511を選択する入力操作がなされた場合)には、CPU21は、図8に示した引継ぎ画面252を操作表示部25に表示させ、部分売上データの内容に基づいて売上データ生成処理を引き継ぎ、部分売上データに統合された売上データ221を生成する。また、引き継いだ売上データ生成処理が完了した場合や、引き継ぐべき売上データ生成処理がなかった場合(部分売上データを受信しなかった場合)には、ユーザからの会計操作に応じて後続の売上データ生成処理を実行する(ステップS2024)。
When it is determined that the communication unit 24 has received the power failure notification data and the partial sales data (“YES” in step S2021), the CPU 21 causes the operation display unit 25 to display the takeover inquiry screen 251 shown in FIG. (Step S2022), the instruction from the user is received (step S2023). When the instruction from the user is "cannot be taken over" (that is, when the input operation for selecting the NO button 2512 is performed), the CPU 21 returns the process to step S2021.
When the instruction from the user is "takeover possible" (that is, when the input operation for selecting the YES button 2511 is performed), the CPU 21 causes the operation display unit 25 to display the takeover screen 252 shown in FIG. , The sales data generation process is taken over based on the contents of the partial sales data, and the sales data 221 integrated with the partial sales data is generated. In addition, when the inherited sales data generation process is completed, or when there is no sales data generation process to be inherited (when partial sales data is not received), the subsequent sales data is according to the accounting operation from the user. The generation process is executed (step S2024).

図12に戻り、売上データ処理装置10のCPU11は、外部電源40からの電力供給の復旧に応じて起動すると(又は、スタンバイ状態から通常状態に復帰すると)(ステップS107)、電力供給の復旧を通知する復電通知データを、通信部14により端末装置20の通信部24に対して送信させる(ステップS108)。 Returning to FIG. 12, when the CPU 11 of the sales data processing device 10 is started in response to the restoration of the power supply from the external power supply 40 (or when the standby state is restored to the normal state) (step S107), the power supply is restored. The power recovery notification data to be notified is transmitted by the communication unit 14 to the communication unit 24 of the terminal device 20 (step S108).

端末装置20のCPU21は、通信部24が復電通知データを受信すると、停電期間中に生成されてRAM22に記憶された売上データ221を、通信部24により売上データ処理装置10の通信部14に対して送信させる(ステップS203)。 When the communication unit 24 receives the power recovery notification data, the CPU 21 of the terminal device 20 transmits the sales data 221 generated during the power failure period and stored in the RAM 22 to the communication unit 14 of the sales data processing device 10 by the communication unit 24. (Step S203).

詳しくは、このステップS203では、図13に示されるように、端末装置20のCPU21は、売上データ処理装置10から送信された復電通知データを通信部24が受信したか否かを判定し(ステップS2031)、受信していないと判定された場合には(ステップS2031で“NO”)、処理をステップS2024に戻す。復電通知データを通信部24が受信したと判定された場合には(ステップS2031で“YES”)、CPU21は、図10に示したデータ送信問合せ画面253を操作表示部25に表示させる(ステップS2032)。また、CPU21は、データ送信問合せ画面253において第1ボタン2531又は第2ボタン2532により指示されたタイミングで、停電期間中に生成された売上データ221を、通信部24により売上データ処理装置10の通信部14に対して送信させる(ステップS2033)。 Specifically, in step S203, as shown in FIG. 13, the CPU 21 of the terminal device 20 determines whether or not the communication unit 24 has received the power recovery notification data transmitted from the sales data processing device 10 ( In step S2031), if it is determined that the data has not been received (“NO” in step S2031), the process returns to step S2024. When it is determined that the communication unit 24 has received the power recovery notification data (“YES” in step S2031), the CPU 21 causes the operation display unit 25 to display the data transmission inquiry screen 253 shown in FIG. 10 (step). S2032). Further, the CPU 21 communicates the sales data 221 generated during the power failure period with the sales data processing device 10 by the communication unit 24 at the timing instructed by the first button 2531 or the second button 2532 on the data transmission inquiry screen 253. It is transmitted to the unit 14 (step S2033).

図12に戻り、売上データ処理装置10のCPU11は、通信部14が売上データ221を受信すると、RAM12に記憶されている売上データ121と統合して記憶させ、ユーザの会計操作に応じて売上データ生成処理を再開させる(ステップS109)。 Returning to FIG. 12, when the communication unit 14 receives the sales data 221, the CPU 11 of the sales data processing device 10 integrates and stores the sales data 121 stored in the RAM 12, and the sales data is stored according to the user's accounting operation. The generation process is restarted (step S109).

売上データ処理装置10のCPU11は、ステップS109における個別の売上データ生成処理が終了した場合、又は、ステップS103の処理において、外部電源40からの電力供給の停止が検出されなかった場合(ステップS103で“NO”)には、1日の全ての会計が終了したか否かを判定し(ステップS110)、会計が終了していないと判定された場合には(ステップS110で“NO”)、処理をステップS102に戻す。 The CPU 11 of the sales data processing device 10 completes the individual sales data generation process in step S109, or does not detect a stoppage of power supply from the external power source 40 in the process of step S103 (in step S103). For “NO”), it is determined whether or not all the accounting for the day has been completed (step S110), and if it is determined that the accounting has not been completed (“NO” in step S110), processing is performed. Is returned to step S102.

1日の会計が終了したと判定された場合には(ステップS110で“YES”)、売上データ処理装置10のCPU11は、1日の売上データ121と、当該売上データ121をサーバ装置30に転送させる指示を、通信部14により端末装置20の通信部24に対して送信させる(ステップS111)。 When it is determined that the accounting for one day is completed (“YES” in step S110), the CPU 11 of the sales data processing device 10 transfers the daily sales data 121 and the sales data 121 to the server device 30. The instruction to be to be transmitted is transmitted by the communication unit 14 to the communication unit 24 of the terminal device 20 (step S111).

端末装置20のCPU21は、ステップS203の処理が終了すると、売上データ処理装置10から売上データの転送指示(及び売上データ121)を受信したか否かを判定し(ステップS204)、転送指示を受信していないと判定された場合には(ステップS204で“NO”)、処理をステップS201の終了時点に戻し、売上データ処理装置10からの停電通知データの待ち受けを行う。
また、売上データの転送指示を受信したと判定された場合には(ステップS204で“YES”)、端末装置20のCPU21は、受信した売上データ121を、通信部24によりサーバ装置30に対して転送(送信)させる(ステップS205)。
When the process of step S203 is completed, the CPU 21 of the terminal device 20 determines whether or not the sales data transfer instruction (and sales data 121) has been received from the sales data processing device 10 (step S204), and receives the transfer instruction. If it is determined that the data has not been processed (“NO” in step S204), the process is returned to the end point of step S201, and the power failure notification data from the sales data processing device 10 is waited for.
If it is determined that the sales data transfer instruction has been received (“YES” in step S204), the CPU 21 of the terminal device 20 transmits the received sales data 121 to the server device 30 by the communication unit 24. Transfer (transmit) (step S205).

ステップS111の処理が終了すると、売上データ処理装置10のCPU11は、売上データ処理装置10側の会計処理を終了させる。
また、ステップS205の処理が終了すると、端末装置20のCPU21は、端末装置20側の会計処理を終了させる。
When the process of step S111 is completed, the CPU 11 of the sales data processing device 10 ends the accounting process on the sales data processing device 10 side.
When the process of step S205 is completed, the CPU 21 of the terminal device 20 ends the accounting process on the terminal device 20 side.

なお、図12のフローチャートでは、会計処理の開始直後にBLEのアドバタイズ(ステップS101)を実行して無線通信接続を開始させる例を用いて説明したが、BLEによる無線通信接続開始のタイミングはこれに限られない。例えば、ステップS104で予備電源19に切り替えられた後のタイミングでステップS101のアドバタイズを実行して無線通信接続を開始させても良い。
また、S106の処理では、通信部のバックアップを行わずに、無線通信接続を一旦切断しても良い。この場合には、復電してCPU11が起動した後(ステップS107)、復電通知データを送信(ステップS108)する前のタイミングで、ステップS101のアドバタイズを実行して無線通信接続を開始させれば良い。
In the flowchart of FIG. 12, the BLE advertisement (step S101) is executed immediately after the start of the accounting process to start the wireless communication connection, but the timing of starting the wireless communication connection by the BLE is the same. Not limited. For example, the advertisement of step S101 may be executed at the timing after the standby power supply 19 is switched to in step S104 to start the wireless communication connection.
Further, in the process of S106, the wireless communication connection may be temporarily disconnected without backing up the communication unit. In this case, after the power is restored and the CPU 11 is started (step S107), the advertisement in step S101 is executed at the timing before the power restoration notification data is transmitted (step S108) to start the wireless communication connection. Just do it.

<変形例1>
次に、上記実施形態の変形例1について説明する。本変形例は、停電時に売上データ処理装置10から端末装置20への停電通知データの送信が行われず、復電時に端末装置20に対して停電期間(停電の開始時点)が通知される点で上記実施形態と異なる。以下では、上記実施形態との相違点について説明する。
<Modification example 1>
Next, a modification 1 of the above embodiment will be described. In this modification, the power failure notification data is not transmitted from the sales data processing device 10 to the terminal device 20 at the time of a power failure, and the power failure period (the start time of the power failure) is notified to the terminal device 20 at the time of power recovery. It is different from the above embodiment. Hereinafter, the differences from the above-described embodiment will be described.

図14は、変形例1に係る会計処理のCPU11及びCPU21による制御手順を示すフローチャートである。
図14のフローチャートは、図12のフローチャートからステップS105を削除し、ステップS108、S202、S203をそれぞれステップS108a、S202a、S203aに変更した点で異なり、その他の部分は同一である。以下では、図12のフローチャートとの相違点について説明する。
FIG. 14 is a flowchart showing a control procedure by the CPU 11 and the CPU 21 for the accounting process according to the first modification.
The flowchart of FIG. 14 is different in that step S105 is deleted from the flowchart of FIG. 12 and steps S108, S202, and S203 are changed to steps S108a, S202a, and S203a, respectively, and the other parts are the same. The differences from the flowchart of FIG. 12 will be described below.

本変形例の会計処理では、ステップS104で予備電源19に切り替えられたときに、CPU11のバックアップが行われず、即時にCPU11がシャットダウンされる(ステップS106)。したがって、停電通知データの送信は行われない。 In the accounting process of this modification, when the standby power supply 19 is switched to in step S104, the CPU 11 is not backed up and the CPU 11 is immediately shut down (step S106). Therefore, the power failure notification data is not transmitted.

他方で、端末装置20では、停電通知データの受信の有無に関わらず、ユーザの操作表示部25に対する会計操作が受け付けられ、会計操作がなされた場合には、売上データ生成処理を実行して売上データ221をRAMに記憶させる(ステップS202a)。すなわち、停電により売上データ処理装置10が使用できない場合に、ユーザが端末装置20において会計操作を行うと、当該会計操作に応じて売上データ221が生成される。 On the other hand, in the terminal device 20, regardless of whether or not the power failure notification data is received, the accounting operation on the operation display unit 25 of the user is accepted, and when the accounting operation is performed, the sales data generation process is executed to sell. The data 221 is stored in the RAM (step S202a). That is, when the sales data processing device 10 cannot be used due to a power failure and the user performs an accounting operation on the terminal device 20, sales data 221 is generated according to the accounting operation.

外部電源40からの電力供給が復旧し、売上データ処理装置10のCPU11が起動すると(ステップS107)、CPU11は、復電通知データとともに、電力供給が停止した時点を示す停電時点データを、通信部14により端末装置20の通信部24に対して送信させる(ステップS108a)。停電時点データは、ステップS103で外部電源40からの電力供給が停止した時刻をRAM12又は記憶部13に記録させておき、復電後に当該時刻を参照することで生成することができる。停電時点データは、絶対時刻を示すものであっても良いし、停電期間の長さを示すものであっても良い。 When the power supply from the external power supply 40 is restored and the CPU 11 of the sales data processing device 10 is started (step S107), the CPU 11 sends the power recovery notification data and the power failure time point data indicating the time when the power supply is stopped to the communication unit. 14 causes the communication unit 24 of the terminal device 20 to transmit (step S108a). The power failure time point data can be generated by recording the time when the power supply from the external power source 40 is stopped in step S103 in the RAM 12 or the storage unit 13 and referring to the time after the power is restored. The power failure time point data may indicate the absolute time or may indicate the length of the power failure period.

端末装置20のCPU21は、復電通知データ及び停電通知データを通信部24が受信すると、停電通知データに基づいて停電期間を特定し、停電期間中に生成されてRAM22に記憶された売上データ221を、通信部24により売上データ処理装置10の通信部14に対して送信させる(ステップS203a)。
以降の処理は、図12のフローチャートと同様である。
When the communication unit 24 receives the power recovery notification data and the power failure notification data, the CPU 21 of the terminal device 20 identifies the power failure period based on the power failure notification data, and the sales data 221 generated during the power failure period and stored in the RAM 22. Is transmitted by the communication unit 24 to the communication unit 14 of the sales data processing device 10 (step S203a).
Subsequent processing is the same as the flowchart of FIG.

なお、本変形例においても、BLEのアドバタイズ(ステップS101)を行うタイミングは、会計処理の開始直後に限られない。例えば、復電してCPU11が起動した後(ステップS107)、復電通知データ及び停電時点データを送信(ステップS108a)する前のタイミングで、ステップS101のアドバタイズを実行して無線通信接続を開始させても良い。 Also in this modification, the timing of advertising the BLE (step S101) is not limited to immediately after the start of the accounting process. For example, after the power is restored and the CPU 11 is started (step S107), the advertisement in step S101 is executed to start the wireless communication connection at the timing before the power restoration notification data and the power failure time point data are transmitted (step S108a). You may.

<変形例2>
次に、上記実施形態の変形例2について説明する。本変形例は、売上データ処理装置10のCPU11にRAM12が組み込まれて一体的に設けられている点で上記実施形態と異なる。このような構成によれば、回路部品の数を低減できるため、売上データ処理装置10の製造コストを抑えることができる。
<Modification 2>
Next, a modification 2 of the above embodiment will be described. This modification is different from the above embodiment in that the RAM 12 is incorporated and integrally provided in the CPU 11 of the sales data processing device 10. According to such a configuration, the number of circuit parts can be reduced, so that the manufacturing cost of the sales data processing device 10 can be suppressed.

図15は、変形例2に係る売上データ処理装置10の機能構成を示すブロック図である。
本変形例の売上データ処理装置10では、予備電源19は、CPU11及び通信部14に対して電力を供給可能に設けられている。
また、図12のフローチャートにおけるステップS104では、予備電源19により、RAM12を含むCPU11及び通信部14のバックアップを開始し、ステップS106では、CPU11の主要演算部をスタンバイ状態に移行させて、CPU11内のRAM12と、通信部14のバックアップを継続させる。
このような構成によっても、上記実施形態と同様の会計処理を行うことができる。
FIG. 15 is a block diagram showing a functional configuration of the sales data processing device 10 according to the second modification.
In the sales data processing device 10 of this modification, the standby power supply 19 is provided so as to be able to supply electric power to the CPU 11 and the communication unit 14.
Further, in step S104 in the flowchart of FIG. 12, backup of the CPU 11 including the RAM 12 and the communication unit 14 is started by the standby power supply 19, and in step S106, the main arithmetic unit of the CPU 11 is shifted to the standby state, and the inside of the CPU 11 The backup of the RAM 12 and the communication unit 14 is continued.
Even with such a configuration, the same accounting treatment as in the above embodiment can be performed.

以上のように、本実施形態に係る売上データ処理システム1は、商取引の売上データ121の処理を行う売上データ処理装置10と、売上データ処理装置10との間でデータ通信が可能な端末装置20と、を備えた売上データ処理システム1であって、売上データ処理装置10は、通信部14と、ユーザからの入力操作に応じて売上データ121を生成する売上データ生成処理を実行する第1の処理部、及び通信部14の動作を制御する第1の通信制御部として機能するCPU11と、外部電源40に接続され、当該外部電源40から供給された電力を、CPU11及び通信部14に供給する電源部18と、を備え、端末装置20は、通信部14との間でデータ通信を行う通信部24と、電源部18への外部電源40からの電力供給が停止してCPU11が売上データ生成処理を実行できない場合に、ユーザからの入力操作を受け付けて売上データ生成処理を実行し、売上データ221を生成する第2の処理部、及び通信部24の動作を制御する第2の通信制御部として機能するCPU21と、を備え、CPU11は、外部電源40からの電力供給が停止した後に当該電力供給が復旧した場合に、電力供給の復旧を通知する復電通知データを通信部14により通信部24に対して送信させ(第1の通信制御部)、CPU21は、通信部24が復電通知データを受信した場合に、第2の処理部により生成された売上データ221を通信部24により通信部14に対して送信させる(第2の通信制御部)。
このような構成によれば、停電により売上データ処理装置10を使用できない期間においては、端末装置20により売上データを生成、記憶することができる。このため、停電期間において会計の内容を書き留めておく手間を省くことができる。また、復電時に、停電期間において生成された売上データ221が売上データ処理装置10に自動的に送信されて登録されるため、停電期間における会計の内容を復電時に売上データ処理装置10に入力する手間を省くことができる。
As described above, the sales data processing system 1 according to the present embodiment is a terminal device 20 capable of data communication between the sales data processing device 10 that processes the sales data 121 of the commercial transaction and the sales data processing device 10. A sales data processing system 1 comprising the above, wherein the sales data processing device 10 executes a sales data generation process of generating sales data 121 in response to an input operation from a user with a communication unit 14. The CPU 11 functioning as the first communication control unit that controls the operation of the processing unit and the communication unit 14, and the power connected to the external power supply 40 and supplied from the external power supply 40 are supplied to the CPU 11 and the communication unit 14. The terminal device 20 includes a power supply unit 18, and the terminal device 20 stops supplying power from the external power supply 40 to the communication unit 24 and the power supply unit 18 for data communication with the communication unit 14, and the CPU 11 generates sales data. When the process cannot be executed, the second processing unit that receives the input operation from the user and executes the sales data generation process to generate the sales data 221 and the second communication control unit that controls the operation of the communication unit 24. The communication unit 14 provides recovery notification data for notifying the restoration of the power supply when the power supply is restored after the power supply from the external power supply 40 is stopped. When the communication unit 24 receives the power recovery notification data, the CPU 21 communicates the sales data 221 generated by the second processing unit with the communication unit 24 by transmitting to the 24 (first communication control unit). The unit 14 is made to transmit (second communication control unit).
According to such a configuration, the sales data can be generated and stored by the terminal device 20 during the period when the sales data processing device 10 cannot be used due to a power failure. Therefore, it is possible to save the trouble of writing down the contents of the accounting during the power outage period. Further, since the sales data 221 generated during the power failure period is automatically transmitted to the sales data processing device 10 and registered at the time of power restoration, the accounting contents during the power failure period are input to the sales data processing device 10 at the time of power restoration. You can save the trouble of doing it.

また、売上データ処理装置10は、外部電源40からの電力供給が停止した場合に、通信部14及びCPU11に対して一時的に電力を供給可能な予備電源19を備え、CPU11は、外部電源40からの電力供給が停止した場合には、予備電源19により電力が供給されている期間内に、電力供給の停止を通知する停電通知データを通信部14により通信部24に対して送信させ(第1の通信制御部)、CPU21は、通信部24が復電通知データを受信した場合に、売上データ生成処理を実行するためのユーザからの入力操作を受け付ける(第2の処理部)。これによれば、停電が生じたタイミングで、端末装置20において会計操作の受付を開始させることができる。よって、必要かつ十分な期間に、端末装置20において会計操作を受け付けて売上データ生成処理を実行することができる。また、ユーザが売上データ処理装置10を操作しておらず、端末装置20のみを操作していた場合には、停電が生じたり、電源コードが外れるといった意図しない電源供給の停止が生じたりしていることを、ユーザに知らせることができる。 Further, the sales data processing device 10 includes a standby power supply 19 capable of temporarily supplying power to the communication unit 14 and the CPU 11 when the power supply from the external power supply 40 is stopped, and the CPU 11 is the external power supply 40. When the power supply from the power supply is stopped, the communication unit 14 transmits the power failure notification data notifying the stop of the power supply to the communication unit 24 within the period in which the power is being supplied by the standby power supply 19 (No. 1). The communication control unit (1) and the CPU 21 receive an input operation from the user for executing the sales data generation process when the communication unit 24 receives the power recovery notification data (second processing unit). According to this, the terminal device 20 can start accepting accounting operations at the timing when a power failure occurs. Therefore, the terminal device 20 can accept the accounting operation and execute the sales data generation process within a necessary and sufficient period. Further, if the user does not operate the sales data processing device 10 and operates only the terminal device 20, a power failure may occur or an unintended power supply stop such as disconnection of the power cord may occur. You can let the user know that you are.

また、CPU11は、外部電源40からの電力供給の停止により、実行中の売上データ生成処理が中断された場合には、当該売上データ生成処理のうち中断前の部分により生成された部分売上データを、予備電源19により電力が供給されている期間内に、通信部14により通信部24に対して送信させ(第1の通信制御部)、CPU21は、通信部24が部分売上データを受信した場合には、中断された売上データ生成処理を引き継いで実行する(第2の処理部)。これによれば、会計の途中で停電が生じた場合であっても、端末装置20を用いて当該会計を完結させることができる。 Further, when the running sales data generation process is interrupted due to the stop of the power supply from the external power source 40, the CPU 11 uses the partial sales data generated by the portion of the sales data generation process before the interruption. , When the communication unit 14 transmits the data to the communication unit 24 (first communication control unit) within the period in which the power is supplied by the standby power supply 19, and the CPU 21 receives the partial sales data from the communication unit 24. In, the interrupted sales data generation process is taken over and executed (second processing unit). According to this, even if a power failure occurs in the middle of accounting, the accounting can be completed by using the terminal device 20.

また、変形例1に係る売上データ処理システム1では、CPU11は、外部電源40からの電力供給が復旧した場合に、電力供給が停止した時点を示す停電時点データを通信部14により通信部24に対して送信させ(第1の通信制御部)、CPU21は、通信部24が停電時点データを受信した場合に、当該停電時点データに基づいて特定された停電期間において生成された売上データ221を、通信部24により通信部14に対して送信させる(第2の通信制御部)。これによれば、停電時にCPU11がバックアップされずにシャットダウンされる構成であっても、復電時に、売上データ221を適切に売上データ処理装置10に戻すことができる。 Further, in the sales data processing system 1 according to the first modification, when the power supply from the external power supply 40 is restored, the CPU 11 transmits the power failure time point data indicating the time when the power supply is stopped to the communication unit 24 by the communication unit 14. When the communication unit 24 receives the power failure time point data, the CPU 21 transmits the sales data 221 generated in the power failure period specified based on the power failure time point data. The communication unit 24 causes the communication unit 14 to transmit (second communication control unit). According to this, even if the CPU 11 is shut down without being backed up in the event of a power failure, the sales data 221 can be appropriately returned to the sales data processing device 10 at the time of power restoration.

また、予備電源19は、外部電源40からの電力供給が停止している期間に通信部14に対して電力を供給して、通信部24との通信接続を維持させる。これによれば、復電時に、電力供給が復旧したことを速やかに端末装置20に通知することができる。よって、短時間で復電時の動作(端末装置20から売上データ処理装置10への売上データ221の送信)を完了させることができる。 Further, the standby power supply 19 supplies power to the communication unit 14 while the power supply from the external power supply 40 is stopped to maintain the communication connection with the communication unit 24. According to this, at the time of power restoration, it is possible to promptly notify the terminal device 20 that the power supply has been restored. Therefore, the operation at the time of power recovery (transmission of sales data 221 from the terminal device 20 to the sales data processing device 10) can be completed in a short time.

また、端末装置20は、売上データ処理装置10からサーバ装置30への売上データの送信を中継する。このように他の目的で用いられる端末装置20を停電時の処理にも利用することで、売上データ処理システム1を低コストで構成して運用することができる。 Further, the terminal device 20 relays the transmission of sales data from the sales data processing device 10 to the server device 30. By using the terminal device 20 used for other purposes for processing at the time of a power failure as described above, the sales data processing system 1 can be configured and operated at low cost.

また、本実施形態に係る売上データ処理装置10は、端末装置20との間でデータ通信を行う通信部14と、ユーザからの入力操作に応じて、商取引の売上データ121を生成する売上データ生成処理を実行する処理部、及び通信部14の動作を制御する通信制御部として機能するCPU11と、外部電源40に接続され、当該外部電源40から供給された電力を、CPU11及び通信部14に供給する電源部18と、を備え、CPU11は、外部電源40からの電力供給が停止した後に当該電力供給が復旧した場合に、電力供給が停止してから復旧するまでの期間において端末装置20により生成された売上データ221を端末装置20から送信させるために、電力供給の復旧を通知する復電通知データを通信部14により端末装置20に対して送信させる(通信制御部)。これによれば、復電時に、停電期間において端末装置20で生成された売上データ221を、売上データ処理装置10に自動的に送信させることができる。よって、停電期間における会計の内容を復電時に売上データ処理装置10に入力する手間を省くことができる。 Further, the sales data processing device 10 according to the present embodiment is a sales data generation that generates sales data 121 of commercial transactions in response to an input operation from a user and a communication unit 14 that performs data communication with the terminal device 20. The processing unit that executes processing, the CPU 11 that functions as a communication control unit that controls the operation of the communication unit 14, and the power supplied from the external power supply 40 connected to the external power supply 40 are supplied to the CPU 11 and the communication unit 14. When the power supply is restored after the power supply from the external power supply 40 is stopped, the CPU 11 is generated by the terminal device 20 during the period from when the power supply is stopped until when the power supply is restored. In order to transmit the sales data 221 that has been generated from the terminal device 20, the communication unit 14 transmits the recovery notification data for notifying the restoration of the power supply to the terminal device 20 (communication control unit). According to this, at the time of power restoration, the sales data 221 generated by the terminal device 20 during the power failure period can be automatically transmitted to the sales data processing device 10. Therefore, it is possible to save the trouble of inputting the accounting contents during the power failure period into the sales data processing device 10 at the time of power recovery.

また、本実施形態に係るプログラム131は、売上データ処理装置10に設けられたコンピュータとしてのCPU11を、ユーザからの入力操作に応じて、売上データ121を生成する売上データ生成処理を実行する処理手段、通信部14の動作を制御する通信制御手段、として機能させ、通信制御手段は、外部電源40からの電力供給が停止した後に当該電力供給が復旧した場合に、電力供給が停止してから復旧するまでの期間において端末装置20により生成された売上データ221を端末装置20から送信させるために、電力供給の復旧を通知する復電通知データを通信部14により端末装置20に対して送信させる。このようなプログラム131により売上データ処理装置10を動作させることで、復電時に、停電期間において端末装置20で生成された売上データ221を、売上データ処理装置10に自動的に送信させることができる。よって、停電期間における会計の内容を復電時に売上データ処理装置10に入力する手間を省くことができる。 Further, the program 131 according to the present embodiment is a processing means for executing the sales data generation process of generating the sales data 121 in response to the input operation from the user by the CPU 11 as a computer provided in the sales data processing device 10. , The communication control means functions as a communication control means for controlling the operation of the communication unit 14, and the communication control means recovers after the power supply is stopped when the power supply is restored after the power supply from the external power supply 40 is stopped. In order to transmit the sales data 221 generated by the terminal device 20 in the period until the terminal device 20, the communication unit 14 transmits the restoration notification data notifying the restoration of the power supply to the terminal device 20. By operating the sales data processing device 10 by such a program 131, the sales data 221 generated by the terminal device 20 during the power failure period can be automatically transmitted to the sales data processing device 10 at the time of power recovery. .. Therefore, it is possible to save the trouble of inputting the accounting contents during the power failure period into the sales data processing device 10 at the time of power recovery.

また、本実施形態に係る端末装置20は、売上データ処理装置10との間でデータ通信を行う通信部24と、売上データ処理装置10への電力供給が停止して、売上データ処理装置10において売上データを生成する売上データ生成処理を実行できない場合に、ユーザからの入力操作を受け付けて売上データ生成処理を実行し、売上データを生成する処理部、及び通信部24の動作を制御する通信制御部として機能するCPU21と、を備え、CPU21は、通信部24が、電力供給の復旧を通知する復電通知データを売上データ処理装置10から受信した場合に、生成された売上データ221を通信部24により売上データ処理装置10に対して送信させる(通信制御部)。これによれば、復電時に、停電期間において端末装置20で生成された売上データ221を、売上データ処理装置10に自動的に送信させることができる。よって、停電期間における会計の内容を復電時に売上データ処理装置10に入力する手間を省くことができる。 Further, in the terminal device 20 according to the present embodiment, the power supply to the communication unit 24 that performs data communication with the sales data processing device 10 and the sales data processing device 10 is stopped, and the sales data processing device 10 Communication control that receives an input operation from the user, executes the sales data generation process, and controls the operations of the processing unit that generates the sales data and the communication unit 24 when the sales data generation process that generates the sales data cannot be executed. The CPU 21 includes a CPU 21 that functions as a unit, and the CPU 21 transmits the generated sales data 221 when the communication unit 24 receives the restoration notification data for notifying the restoration of the power supply from the sales data processing device 10. 24 causes the sales data processing device 10 to transmit data (communication control unit). According to this, at the time of power restoration, the sales data 221 generated by the terminal device 20 during the power failure period can be automatically transmitted to the sales data processing device 10. Therefore, it is possible to save the trouble of inputting the accounting contents during the power failure period into the sales data processing device 10 at the time of power recovery.

また、本実施形態に係るプログラム231は、端末装置20に設けられたコンピュータを、売上データ処理装置10への電力供給が停止して、売上データ処理装置10において売上データを生成する売上データ生成処理を実行できない場合に、ユーザからの入力操作を受け付けて売上データ生成処理を実行し、売上データを生成する処理手段、通信部24の動作を制御する通信制御手段、として機能させ、通信制御手段は、通信部24が、電力供給の復旧を通知する復電通知データを売上データ処理装置10から受信した場合に、処理手段により生成された売上データ221を通信部24により売上データ処理装置10に対して送信させる。このようなプログラム231により端末装置20を動作させることで、復電時に、停電期間において端末装置20で生成された売上データ221を、売上データ処理装置10に自動的に送信させることができる。よって、停電期間における会計の内容を復電時に売上データ処理装置10に入力する手間を省くことができる。 Further, the program 231 according to the present embodiment is a sales data generation process in which the computer provided in the terminal device 20 is stopped from supplying power to the sales data processing device 10 and the sales data processing device 10 generates sales data. When the operation cannot be executed, the communication control means is made to function as a processing means for receiving an input operation from the user and executing the sales data generation process to generate the sales data and a communication control means for controlling the operation of the communication unit 24. When the communication unit 24 receives the power recovery notification data notifying the restoration of the power supply from the sales data processing device 10, the communication unit 24 sends the sales data 221 generated by the processing means to the sales data processing device 10. To send. By operating the terminal device 20 by such a program 231, the sales data 221 generated by the terminal device 20 during the power failure period can be automatically transmitted to the sales data processing device 10 at the time of power recovery. Therefore, it is possible to save the trouble of inputting the accounting contents during the power failure period into the sales data processing device 10 at the time of power recovery.

また、本実施形態に係る売上データ処理システム1は、商取引の売上データの処理を行う売上データ処理装置10と、売上データ処理装置10との間で無線通信が可能な携帯端末装置としての端末装置20と、を備えた売上データ処理システム1であって、売上データ処理装置10は、ユーザからの入力操作に応じて売上データ121を生成する売上データ生成処理を実行する第1の処理部として機能するCPU11と、外部電源40に接続され、当該外部電源40から供給された電力をCPU11に供給する電源部18と、を備え、端末装置20は、電源部18への外部電源40からの電力供給が停止してCPU11が売上データ生成処理を中断した場合に、ユーザからの入力操作を受け付けて売上データ生成処理を引き継いで、売上データ221を生成する第2の処理部として機能するCPU21、を備える。このような構成によれば、停電により売上データ処理装置10を使用できない期間においては、端末装置20により売上データを生成、記憶することができる。このため、停電期間において会計の内容を書き留めておく手間を省くことができる。 Further, the sales data processing system 1 according to the present embodiment is a terminal device as a portable terminal device capable of wireless communication between the sales data processing device 10 that processes sales data of commercial transactions and the sales data processing device 10. In the sales data processing system 1 including the 20 and the sales data processing device 10, the sales data processing device 10 functions as a first processing unit that executes a sales data generation process for generating sales data 121 in response to an input operation from the user. The terminal device 20 includes a CPU 11 and a power supply unit 18 which is connected to the external power supply 40 and supplies the power supplied from the external power supply 40 to the CPU 11. The terminal device 20 supplies power to the power supply unit 18 from the external power supply 40. The CPU 21 functions as a second processing unit that receives an input operation from the user, takes over the sales data generation process, and generates the sales data 221 when the CPU 11 stops the sales data generation process. .. According to such a configuration, the sales data can be generated and stored by the terminal device 20 during the period when the sales data processing device 10 cannot be used due to a power failure. Therefore, it is possible to save the trouble of writing down the contents of the accounting during the power outage period.

また、売上データ処理装置10のCPU11は、電力供給が復旧した場合に、電力供給の復旧を通知する復電通知データを端末装置20に対して送信する第1の通信制御部として機能し、端末装置20のCPU21は、復電通知データを受信した場合に、生成された売上データ221を売上データ処理装置10に対して送信する第2の通信制御部として機能する。これによれば、復電時に、停電期間において生成された売上データ221が売上データ処理装置10に自動的に送信されて登録されるため、停電期間における会計の内容を復電時に売上データ処理装置10に入力する手間を省くことができる。 Further, the CPU 11 of the sales data processing device 10 functions as a first communication control unit for transmitting recovery notification data for notifying the restoration of the power supply to the terminal device 20 when the power supply is restored. The CPU 21 of the device 20 functions as a second communication control unit that transmits the generated sales data 221 to the sales data processing device 10 when the power recovery notification data is received. According to this, at the time of power recovery, the sales data 221 generated during the power failure period is automatically transmitted to the sales data processing device 10 and registered. Therefore, the accounting contents during the power failure period are recorded in the sales data processing device at the time of power recovery. You can save the trouble of inputting to 10.

また、売上データ処理装置10のCPU11は、外部電源40からの電力供給の停止により、実行中の売上データ生成処理が中断された場合に、当該売上データ生成処理のうち中断前の部分により生成された部分売上データを、予備電源19により電力が供給されている期間内に、端末装置20に対して送信する第1の通信制御部として機能し、端末装置20のCPU21は、部分売上データを受信した場合には、中断された売上データ生成処理を引き継いで実行する(第2の処理部)。これによれば、会計の途中で停電が生じた場合であっても、端末装置20を用いて当該会計を完結させることができる。 Further, the CPU 11 of the sales data processing device 10 is generated by the portion of the sales data generation process before the interruption when the running sales data generation process is interrupted due to the stop of the power supply from the external power supply 40. It functions as a first communication control unit that transmits the partial sales data to the terminal device 20 within the period in which the power is supplied by the standby power source 19, and the CPU 21 of the terminal device 20 receives the partial sales data. If so, the interrupted sales data generation process is taken over and executed (second processing unit). According to this, even if a power failure occurs in the middle of accounting, the accounting can be completed by using the terminal device 20.

また、本実施形態の売上データ処理装置10は、携帯端末装置としての端末装置20との間で無線通信が可能な売上データ処理装置10であって、ユーザからの入力操作に応じて、商取引の売上データ121を生成する売上データ生成処理を実行する処理部として機能するCPU11と、外部電源40に接続され、当該外部電源40から供給された電力をCPU11に供給する電源部18と、を備え、CPU11は、外部電源40からの電力供給の停止により、実行中の売上データ生成処理が中断された場合に、当該売上データ生成処理のうち中断前の部分により生成された部分売上データを、予備電源19により電力が供給されている期間内に、端末装置20に対して送信する(通信制御部)。このような構成によれば、会計の途中で停電が生じた場合であっても、端末装置20を用いて当該会計を完結させることができる。 Further, the sales data processing device 10 of the present embodiment is a sales data processing device 10 capable of wireless communication with the terminal device 20 as a mobile terminal device, and is a business transaction in response to an input operation from the user. It includes a CPU 11 that functions as a processing unit that executes sales data generation processing that generates sales data 121, and a power supply unit 18 that is connected to an external power supply 40 and supplies power supplied from the external power supply 40 to the CPU 11. When the running sales data generation process is interrupted due to the suspension of power supply from the external power source 40, the CPU 11 uses the partial sales data generated by the portion of the sales data generation process before the interruption as a standby power source. The data is transmitted to the terminal device 20 within the period in which the power is supplied by 19 (communication control unit). According to such a configuration, even if a power failure occurs in the middle of accounting, the accounting can be completed by using the terminal device 20.

また、本実施形態のプログラム131は、売上データ処理装置10に設けられたコンピュータとしてのCPU11、ユーザからの入力操作に応じて、商取引の売上データ121を生成する売上データ生成処理を実行する処理手段、外部電源40からの電力供給の停止により、実行中の売上データ生成処理が中断された場合に、当該売上データ生成処理のうち中断前の部分により生成された部分売上データを、予備電源19により電力が供給されている期間内に、端末装置20に対して送信する通信制御手段、として機能させる。このようなプログラム131により売上データ処理装置10を動作させることで、会計の途中で停電が生じた場合であっても、端末装置20を用いて当該会計を完結させることができる。 Further, the program 131 of the present embodiment is a processing means for executing a sales data generation process for generating sales data 121 for commercial transactions in response to an input operation from the CPU 11 as a computer provided in the sales data processing device 10. When the running sales data generation process is interrupted due to the suspension of power supply from the external power supply 40, the partial sales data generated by the portion of the sales data generation process before the interruption is generated by the standby power supply 19. It functions as a communication control means for transmitting data to the terminal device 20 within the period in which power is supplied. By operating the sales data processing device 10 by such a program 131, even if a power failure occurs in the middle of the accounting, the accounting can be completed by using the terminal device 20.

また、本実施形態の携帯端末装置としての端末装置20は、商取引の売上データの処理を行う売上データ処理装置10との間で無線通信が可能な端末装置20であって、売上データ処理装置10への電力供給が停止して、売上データ処理装置10において売上データ121を生成する売上データ生成処理が中断された場合に、ユーザからの入力操作を受け付けて売上データ生成処理を引き継いで、売上データ221を生成する処理部として機能するCPU21を備える。このような構成によれば、会計の途中で停電が生じた場合であっても、端末装置20を用いて当該会計を完結させることができる。 Further, the terminal device 20 as the portable terminal device of the present embodiment is a terminal device 20 capable of wireless communication with the sales data processing device 10 that processes sales data of commercial transactions, and is a sales data processing device 10. When the power supply to the sales data processing device 10 is stopped and the sales data generation process for generating the sales data 121 is interrupted, the sales data generation process is taken over by accepting the input operation from the user and the sales data. A CPU 21 that functions as a processing unit that generates 221 is provided. According to such a configuration, even if a power failure occurs in the middle of accounting, the accounting can be completed by using the terminal device 20.

また、本実施形態のプログラム231は、端末装置20に設けられたコンピュータとしてのCPU21を、売上データ処理装置10への電力供給が停止して、売上データ処理装置10において売上データ121を生成する売上データ生成処理が中断された場合に、ユーザからの入力操作を受け付けて売上データ生成処理を引き継いで、売上データ221を生成する処理手段、として機能させる。このようなプログラム231により端末装置20を動作させることで、会計の途中で停電が生じた場合であっても、端末装置20を用いて当該会計を完結させることができる。 Further, in the program 231 of the present embodiment, the power supply to the sales data processing device 10 of the CPU 21 as a computer provided in the terminal device 20 is stopped, and the sales data processing device 10 generates the sales data 121. When the data generation process is interrupted, it receives an input operation from the user, takes over the sales data generation process, and functions as a processing means for generating the sales data 221. By operating the terminal device 20 by such a program 231, even if a power failure occurs in the middle of the accounting, the accounting can be completed by using the terminal device 20.

以上の説明では、本発明に係るプログラムのコンピュータ読み取り可能な媒体として記憶部13のHDD、SSDを使用した例を開示したが、この例に限定されない。その他のコンピュータ読み取り可能な媒体として、フラッシュメモリや、CD−ROM等の可搬型記録媒体を適用することが可能である。また、本発明に係るプログラムのデータを通信回線を介して提供する媒体として、キャリアウエーブ(搬送波)も本発明に適用される。 In the above description, an example in which the HDD and SSD of the storage unit 13 are used as the computer-readable medium of the program according to the present invention has been disclosed, but the present invention is not limited to this example. As another computer-readable medium, a portable recording medium such as a flash memory or a CD-ROM can be applied. A carrier wave is also applied to the present invention as a medium for providing data of a program according to the present invention via a communication line.

なお、上記実施形態における記述は、本発明に係る売上データ処理システム、売上データ処理装置、端末装置、携帯端末装置及びプログラムの一例であり、これに限定されるものではない。
例えば、売上データ処理装置10と端末装置20との間の無線データ通信の方式は、BLEに限られず、BluetoothやWi−Fi(登録商標)などが用いられても良い。また、売上データ処理装置10と端末装置20とが有線で接続されてデータ通信を行う態様としても良い。
The description in the above embodiment is an example of a sales data processing system, a sales data processing device, a terminal device, a mobile terminal device, and a program according to the present invention, and is not limited thereto.
For example, the method of wireless data communication between the sales data processing device 10 and the terminal device 20 is not limited to BLE, and Bluetooth, Wi-Fi (registered trademark), or the like may be used. Further, the sales data processing device 10 and the terminal device 20 may be connected by wire to perform data communication.

また、端末装置20は、スマートフォンやタブレット端末等の携帯型端末機器に限られず、例えばノートPC(Personal Computer)、デスクトップPCなどの据え置き型の機器であっても良い。 Further, the terminal device 20 is not limited to a portable terminal device such as a smartphone or a tablet terminal, and may be a stationary device such as a notebook PC (Personal Computer) or a desktop PC.

また、売上データ121の内容は、図4に示したものに限られず、商取引の売上に係る他の任意の項目を含むデータであっても良い。 Further, the content of the sales data 121 is not limited to that shown in FIG. 4, and may be data including other arbitrary items related to the sales of the commercial transaction.

また、上記実施形態では、売上データ121をRAM12に記憶させて、停電時にはRAM12をバックアップすることで売上データ121を保持する例を挙げて説明したが、これに限られず、停電時に売上データ121を記憶部13に退避させ、復電時にRAM12に戻すようにしても良い。この場合には、売上データ121の退避後にRAM12のバックアップを終了させることができるため、予備電源19の電力の消費量を抑えることができる。 Further, in the above embodiment, the sales data 121 is stored in the RAM 12, and the sales data 121 is held by backing up the RAM 12 in the event of a power failure. However, the present invention is not limited to this, and the sales data 121 is stored in the event of a power failure. It may be saved in the storage unit 13 and returned to the RAM 12 when the power is restored. In this case, since the backup of the RAM 12 can be completed after the sales data 121 is saved, the power consumption of the standby power supply 19 can be suppressed.

また、上記実施形態における売上データ処理システム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 terminal device 20 in the above embodiment can be appropriately changed without departing from the gist of the present invention. Of course there is.

本発明の実施の形態を説明したが、本発明の範囲は、上述の実施の形態に限定するものではなく、特許請求の範囲に記載された発明の範囲とその均等の範囲を含む。
以下に、この出願の願書に最初に添付した特許請求の範囲に記載した発明を付記する。付記に記載した請求項の項番は、この出願の願書に最初に添付した特許請求の範囲の通りである。
〔付記〕
<請求項1>
商取引の売上データの処理を行う売上データ処理装置と、
前記売上データ処理装置との間でデータ通信が可能な端末装置と、
を備えた売上データ処理システムであって、
前記売上データ処理装置は、
ユーザからの入力操作に応じて前記売上データを生成する売上データ生成処理を実行する第1の処理部と、
第1の通信部と、
前記第1の通信部の動作を制御する第1の通信制御部と、
外部電源に接続され、当該外部電源から供給された電力を、前記第1の処理部、前記第1の通信部及び前記第1の通信制御部に供給する電源部と、
を備え、
前記端末装置は、
前記電源部への前記外部電源からの電力供給が停止して前記第1の処理部が前記売上データ生成処理を実行できない場合に、ユーザからの入力操作を受け付けて前記売上データ生成処理を実行し、前記売上データを生成する第2の処理部と、
前記第1の通信部との間でデータ通信を行う第2の通信部と、
前記第2の通信部の動作を制御する第2の通信制御部と、
を備え、
前記第1の通信制御部は、前記外部電源からの電力供給が停止した後に当該電力供給が復旧した場合に、電力供給の復旧を通知する復電通知データを前記第1の通信部により前記第2の通信部に対して送信させ、
前記第2の通信制御部は、前記第2の通信部が前記復電通知データを受信した場合に、前記第2の処理部により生成された前記売上データを前記第2の通信部により前記第1の通信部に対して送信させる
ことを特徴とする売上データ処理システム。
<請求項2>
前記売上データ処理装置は、予備電源を備え、
前記予備電源は、前記外部電源からの電力供給が停止した場合に、前記第1の通信部及び前記第1の通信制御部に対して一時的に電力を供給可能であり、
前記第1の通信制御部は、前記外部電源からの電力供給が停止した場合には、前記予備電源により電力が供給されている期間内に、前記電力供給の停止を通知する停電通知データを前記第1の通信部により前記第2の通信部に対して送信させ、
前記第2の処理部は、前記第2の通信部が前記復電通知データを受信した場合に、前記売上データ生成処理を実行するためのユーザからの入力操作を受け付ける
ことを特徴とする請求項1に記載の売上データ処理システム。
<請求項3>
前記第1の通信制御部は、前記外部電源からの電力供給の停止により、実行中の前記売上データ生成処理が中断された場合には、当該売上データ生成処理のうち中断前の部分により生成された部分売上データを、前記予備電源により電力が供給されている期間内に、前記第1の通信部により前記第2の通信部に対して送信させ、
前記第2の処理部は、前記第2の通信部が前記部分売上データを受信した場合には、前記中断された前記売上データ生成処理を引き継いで実行する
ことを特徴とする請求項2に記載の売上データ処理システム。
<請求項4>
前記第1の通信制御部は、前記外部電源からの電力供給が復旧した場合に、前記電力供給が停止した時点を示す停電時点データを前記第1の通信部により前記第2の通信部に対して送信させ、
前記第2の通信制御部は、前記第2の通信部が前記停電時点データを受信した場合に、当該停電時点データに基づいて特定された停電期間において前記第2の処理部により生成された前記売上データを、第2の通信部により前記第1の通信部に対して送信させる
ことを特徴とする請求項1に記載の売上データ処理システム。
<請求項5>
前記売上データ処理装置は、予備電源を備え、
前記予備電源は、前記外部電源からの電力供給が停止している期間に前記第1の通信部に対して電力を供給して、前記第2の通信部との通信接続を維持させる
ことを特徴とする請求項1から4のいずれか一項に記載の売上データ処理システム。
<請求項6>
前記端末装置は、前記売上データ処理装置から所定の外部装置への前記売上データの送信を中継することを特徴とする請求項1から5のいずれか一項に記載の売上データ処理システム。
<請求項7>
ユーザからの入力操作に応じて、商取引の売上データを生成する売上データ生成処理を実行する処理部と、
端末装置との間でデータ通信を行う通信部と、
前記通信部の動作を制御する通信制御部と、
外部電源に接続され、当該外部電源から供給された電力を、前記処理部、前記通信部及び前記通信制御部に供給する電源部と、
を備え、
前記端末装置は、前記外部電源からの電力供給が停止して前記処理部が前記売上データ生成処理を実行できない場合に、ユーザからの入力操作を受け付けて前記売上データ生成処理を実行し、前記売上データを生成することが可能であり、
前記通信制御部は、前記外部電源からの電力供給が停止した後に当該電力供給が復旧した場合に、前記電力供給が停止してから復旧するまでの期間において前記端末装置により生成された前記売上データを前記端末装置から送信させるために、前記電力供給の復旧を通知する復電通知データを前記通信部により前記端末装置に対して送信させる
ことを特徴とする売上データ処理装置。
<請求項8>
端末装置との間でデータ通信を行う通信部と、コンピュータと、外部電源に接続され、当該外部電源から供給された電力を前記通信部及び前記コンピュータに供給する電源部と、を備えた売上データ処理装置に設けられた前記コンピュータを、
ユーザからの入力操作に応じて、商取引の売上データを生成する売上データ生成処理を実行する処理手段、
前記通信部の動作を制御する通信制御手段、
として機能させ、
前記端末装置は、前記外部電源からの電力供給が停止して前記コンピュータが前記売上データ生成処理を実行できない場合に、ユーザからの入力操作を受け付けて前記売上データ生成処理を実行し、前記売上データを生成することが可能であり、
前記通信制御手段は、前記外部電源からの電力供給が停止した後に当該電力供給が復旧した場合に、前記電力供給が停止してから復旧するまでの期間において前記端末装置により生成された前記売上データを前記端末装置から送信させるために、前記電力供給の復旧を通知する復電通知データを前記通信部により前記端末装置に対して送信させる
ことを特徴とするプログラム。
<請求項9>
商取引の売上データの処理を行う売上データ処理装置との間でデータ通信が可能な端末装置であって、
前記売上データ処理装置への電力供給が停止して、前記売上データ処理装置において前記売上データを生成する売上データ生成処理を実行できない場合に、ユーザからの入力操作を受け付けて前記売上データ生成処理を実行し、前記売上データを生成する処理部と、
前記売上データ処理装置との間でデータ通信を行う通信部と、
前記通信部の動作を制御する通信制御部と、
を備え、
前記通信制御部は、前記通信部が、電力供給の復旧を通知する復電通知データを前記売上データ処理装置から受信した場合に、前記処理部により生成された前記売上データを前記通信部により前記売上データ処理装置に対して送信させる
ことを特徴とする端末装置。
<請求項10>
商取引の売上データの処理を行う売上データ処理装置との間でデータ通信が可能な端末装置であって、前記売上データ処理装置との間でデータ通信を行う通信部を備えた端末装置に設けられたコンピュータを、
前記売上データ処理装置への電力供給が停止して、前記売上データ処理装置において前記売上データを生成する売上データ生成処理を実行できない場合に、ユーザからの入力操作を受け付けて前記売上データ生成処理を実行し、前記売上データを生成する処理手段、
前記通信部の動作を制御する通信制御手段、
として機能させ、
前記通信制御手段は、前記通信部が、電力供給の復旧を通知する復電通知データを前記売上データ処理装置から受信した場合に、前記処理手段により生成された前記売上データを前記通信部により前記売上データ処理装置に対して送信させる
ことを特徴とするプログラム。
<請求項11>
商取引の売上データの処理を行う売上データ処理装置と、
前記売上データ処理装置との間で無線通信が可能な携帯端末装置と、
を備えた売上データ処理システムであって、
前記売上データ処理装置は、
ユーザからの入力操作に応じて前記売上データを生成する売上データ生成処理を実行する第1の処理部と、
外部電源に接続され、当該外部電源から供給された電力を前記第1の処理部に供給する電源部と、
を備え、
前記携帯端末装置は、
前記電源部への前記外部電源からの電力供給が停止して前記第1の処理部が前記売上データ生成処理を中断した場合に、ユーザからの入力操作を受け付けて前記売上データ生成処理を引き継いで、前記売上データを生成する第2の処理部、
を備えることを特徴とする売上データ処理システム。
<請求項12>
前記売上データ処理装置は、前記電力供給が復旧した場合に、電力供給の復旧を通知する復電通知データを前記携帯端末装置に対して送信する第1の通信制御部を備え、
前記携帯端末装置は、前記復電通知データを受信した場合に、前記第2の処理部により生成された前記売上データを前記売上データ処理装置に対して送信する第2の通信制御部を備える
ことを特徴とする請求項11に記載の売上データ処理システム。
<請求項13>
前記売上データ処理装置は、前記外部電源からの電力供給の停止により、実行中の前記売上データ生成処理が中断された場合に、当該売上データ生成処理のうち中断前の部分により生成された部分売上データを、所定の予備電源により電力が供給されている期間内に、前記携帯端末装置に対して送信する第1の通信制御部を備え、
前記第2の処理部は、前記部分売上データを受信した場合には、前記中断された前記売上データ生成処理を引き継いで実行する
ことを特徴とする請求項11に記載の売上データ処理システム。
<請求項14>
携帯端末装置との間で無線通信が可能な売上データ処理装置であって、
ユーザからの入力操作に応じて、商取引の売上データを生成する売上データ生成処理を実行する処理部と、
外部電源に接続され、当該外部電源から供給された電力を、前記処理部に供給する電源部と、
前記外部電源からの電力供給の停止により、実行中の前記売上データ生成処理が中断された場合に、当該売上データ生成処理のうち中断前の部分により生成された部分売上データを、所定の予備電源により電力が供給されている期間内に、前記携帯端末装置に対して送信する通信制御部と、
を備えることを特徴とする売上データ処理装置。
<請求項15>
携帯端末装置との間で無線通信が可能な売上データ処理装置であって、コンピュータと、外部電源に接続され、当該外部電源から供給された電力を前記コンピュータに供給する電源部と、を備えた売上データ処理装置に設けられた前記コンピュータを、
ユーザからの入力操作に応じて、商取引の売上データを生成する売上データ生成処理を実行する処理手段、
前記外部電源からの電力供給の停止により、実行中の前記売上データ生成処理が中断された場合に、当該売上データ生成処理のうち中断前の部分により生成された部分売上データを、所定の予備電源により電力が供給されている期間内に、前記携帯端末装置に対して送信する通信制御手段、
として機能させることを特徴とするプログラム。
<請求項16>
商取引の売上データの処理を行う売上データ処理装置との間で無線通信が可能な携帯端末装置であって、
前記売上データ処理装置への電力供給が停止して、前記売上データ処理装置において前記売上データを生成する売上データ生成処理が中断された場合に、ユーザからの入力操作を受け付けて前記売上データ生成処理を引き継いで、前記売上データを生成する処理部、
を備えることを特徴とする携帯端末装置。
<請求項17>
商取引の売上データの処理を行う売上データ処理装置との間で無線通信が可能な携帯端末装置に設けられたコンピュータを、
前記売上データ処理装置への電力供給が停止して、前記売上データ処理装置において前記売上データを生成する売上データ生成処理が中断された場合に、ユーザからの入力操作を受け付けて前記売上データ生成処理を引き継いで、前記売上データを生成する処理手段、
として機能させることを特徴とするプログラム。
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 the equivalent scope thereof.
The inventions described in the claims originally attached to the application of this application are added below. The item number of the claim described in the appendix is the scope of the claims originally attached to the application of this application.
[Additional Notes]
<Claim 1>
A sales data processing device that processes sales data for commercial transactions,
A terminal device capable of data communication with the sales data processing device and
It is a sales data processing system equipped with
The sales data processing device is
A first processing unit that executes a sales data generation process that generates the sales data in response to an input operation from the user, and
With the first communication unit
A first communication control unit that controls the operation of the first communication unit,
A power supply unit connected to an external power source and supplying the electric power supplied from the external power source to the first processing unit, the first communication unit, and the first communication control unit.
With
The terminal device is
When the power supply from the external power source to the power supply unit is stopped and the first processing unit cannot execute the sales data generation process, an input operation from the user is accepted and the sales data generation process is executed. , The second processing unit that generates the sales data,
A second communication unit that performs data communication with the first communication unit, and
A second communication control unit that controls the operation of the second communication unit,
With
When the power supply is restored after the power supply from the external power supply is stopped, the first communication control unit uses the first communication unit to send recovery notification data for notifying the restoration of the power supply. Send to the communication unit of 2
When the second communication unit receives the power recovery notification data, the second communication control unit uses the second communication unit to generate the sales data generated by the second processing unit. A sales data processing system characterized in that it is transmitted to one communication unit.
<Claim 2>
The sales data processing device includes a standby power supply and has a standby power supply.
The standby power supply can temporarily supply power to the first communication unit and the first communication control unit when the power supply from the external power supply is stopped.
When the power supply from the external power supply is stopped, the first communication control unit outputs power failure notification data for notifying the stop of the power supply within the period in which the power is being supplied by the standby power supply. The first communication unit causes the second communication unit to transmit power.
The second processing unit is characterized in that when the second communication unit receives the power recovery notification data, it receives an input operation from a user for executing the sales data generation process. The sales data processing system according to 1.
<Claim 3>
When the running sales data generation process is interrupted due to the stop of the power supply from the external power source, the first communication control unit is generated by the portion of the sales data generation process before the interruption. The partial sales data is transmitted by the first communication unit to the second communication unit within the period in which the power is supplied by the standby power supply.
The second processing unit according to claim 2, wherein when the second communication unit receives the partial sales data, the second processing unit takes over and executes the interrupted sales data generation processing. Sales data processing system.
<Claim 4>
When the power supply from the external power source is restored, the first communication control unit outputs power failure time point data indicating the time when the power supply is stopped to the second communication unit by the first communication unit. And send it
The second communication control unit is generated by the second processing unit during a power failure period specified based on the power failure time point data when the second communication unit receives the power failure time point data. The sales data processing system according to claim 1, wherein sales data is transmitted to the first communication unit by a second communication unit.
<Claim 5>
The sales data processing device includes a standby power supply and has a standby power supply.
The standby power supply is characterized in that power is supplied to the first communication unit during a period in which power supply from the external power supply is stopped to maintain a communication connection with the second communication unit. The sales data processing system according to any one of claims 1 to 4.
<Claim 6>
The sales data processing system according to any one of claims 1 to 5, wherein the terminal device relays transmission of the sales data from the sales data processing device to a predetermined external device.
<Claim 7>
A processing unit that executes sales data generation processing that generates sales data for commercial transactions in response to input operations from the user,
A communication unit that performs data communication with the terminal device,
A communication control unit that controls the operation of the communication unit,
A power supply unit that is connected to an external power source and supplies power supplied from the external power source to the processing unit, the communication unit, and the communication control unit.
With
When the power supply from the external power source is stopped and the processing unit cannot execute the sales data generation process, the terminal device receives an input operation from the user and executes the sales data generation process, and the sales It is possible to generate data,
When the power supply is restored after the power supply from the external power supply is stopped, the communication control unit is the sales data generated by the terminal device during the period from the power supply stop to the recovery. A sales data processing device, characterized in that the communication unit transmits a power recovery notification data for notifying the restoration of the power supply to the terminal device in order to transmit the data from the terminal device.
<Claim 8>
Sales data including a communication unit that performs data communication with a terminal device, a computer, and a power supply unit that is connected to an external power source and supplies power supplied from the external power source to the communication unit and the computer. The computer provided in the processing device
A processing means that executes sales data generation processing that generates sales data for commercial transactions in response to input operations from the user.
A communication control means for controlling the operation of the communication unit,
To function as
When the power supply from the external power source is stopped and the computer cannot execute the sales data generation process, the terminal device receives an input operation from the user and executes the sales data generation process, and the sales data Is possible to generate
The communication control means is the sales data generated by the terminal device in the period from the stop of the power supply to the recovery when the power supply is restored after the power supply from the external power supply is stopped. A program characterized in that the communication unit transmits the power recovery notification data for notifying the restoration of the power supply to the terminal device in order to transmit the power from the terminal device.
<Claim 9>
A terminal device capable of data communication with a sales data processing device that processes sales data of commercial transactions.
When the power supply to the sales data processing device is stopped and the sales data processing device cannot execute the sales data generation process for generating the sales data, the sales data generation process is performed by accepting an input operation from the user. A processing unit that executes and generates the sales data,
A communication unit that performs data communication with the sales data processing device,
A communication control unit that controls the operation of the communication unit,
With
When the communication unit receives the power recovery notification data notifying the restoration of the power supply from the sales data processing device, the communication control unit receives the sales data generated by the processing unit by the communication unit. A terminal device characterized in that it is transmitted to a sales data processing device.
<Claim 10>
A terminal device capable of data communication with a sales data processing device that processes sales data of commercial transactions, and is provided in a terminal device provided with a communication unit that performs data communication with the sales data processing device. Computer
When the power supply to the sales data processing device is stopped and the sales data processing device cannot execute the sales data generation process for generating the sales data, the sales data generation process is performed by accepting an input operation from the user. A processing means for executing and generating the sales data,
A communication control means for controlling the operation of the communication unit,
To function as
When the communication unit receives the power recovery notification data notifying the restoration of the power supply from the sales data processing device, the communication control means receives the sales data generated by the processing means by the communication unit. A program characterized by sending to a sales data processing device.
<Claim 11>
A sales data processing device that processes sales data for commercial transactions,
A mobile terminal device capable of wireless communication with the sales data processing device,
It is a sales data processing system equipped with
The sales data processing device is
A first processing unit that executes a sales data generation process that generates the sales data in response to an input operation from the user, and
A power supply unit that is connected to an external power supply and supplies the power supplied from the external power supply to the first processing unit, and
With
The mobile terminal device is
When the power supply from the external power source to the power supply unit is stopped and the first processing unit interrupts the sales data generation process, the input operation from the user is accepted and the sales data generation process is taken over. , A second processing unit that generates the sales data,
A sales data processing system characterized by being equipped with.
<Claim 12>
The sales data processing device includes a first communication control unit that transmits recovery notification data for notifying the restoration of the power supply to the mobile terminal device when the power supply is restored.
The mobile terminal device includes a second communication control unit that transmits the sales data generated by the second processing unit to the sales data processing device when the power recovery notification data is received. 11. The sales data processing system according to claim 11.
<Claim 13>
In the sales data processing device, when the running sales data generation process is interrupted due to the suspension of power supply from the external power source, the partial sales generated by the portion of the sales data generation process before the interruption is performed. A first communication control unit for transmitting data to the portable terminal device within a period in which power is supplied by a predetermined standby power source is provided.
The sales data processing system according to claim 11, wherein the second processing unit takes over and executes the interrupted sales data generation process when the partial sales data is received.
<Claim 14>
A sales data processing device capable of wireless communication with a mobile terminal device.
A processing unit that executes sales data generation processing that generates sales data for commercial transactions in response to input operations from the user,
A power supply unit that is connected to an external power supply and supplies the power supplied from the external power supply to the processing unit, and
When the running sales data generation process is interrupted due to the suspension of power supply from the external power source, the partial sales data generated by the portion of the sales data generation process before the interruption is used as a predetermined standby power source. A communication control unit that transmits power to the mobile terminal device within the period of power supply by
A sales data processing device characterized by being equipped with.
<Claim 15>
It is a sales data processing device capable of wireless communication with a mobile terminal device, and includes a computer and a power supply unit connected to an external power source and supplying power supplied from the external power source to the computer. The computer provided in the sales data processing device
A processing means that executes sales data generation processing that generates sales data for commercial transactions in response to input operations from the user.
When the running sales data generation process is interrupted due to the suspension of power supply from the external power source, the partial sales data generated by the portion of the sales data generation process before the interruption is used as a predetermined standby power source. Communication control means for transmitting to the mobile terminal device within the period of power being supplied by
A program characterized by functioning as.
<Claim 16>
A mobile terminal device capable of wireless communication with a sales data processing device that processes sales data of commercial transactions.
When the power supply to the sales data processing device is stopped and the sales data generation process for generating the sales data is interrupted in the sales data processing device, an input operation from the user is accepted and the sales data generation process is performed. The processing unit that generates the sales data by taking over
A mobile terminal device characterized by being provided with.
<Claim 17>
A computer installed in a mobile terminal device capable of wireless communication with a sales data processing device that processes sales data of commercial transactions.
When the power supply to the sales data processing device is stopped and the sales data generation process for generating the sales data is interrupted in the sales data processing device, an input operation from the user is accepted and the sales data generation process is performed. A processing means for generating the sales data by taking over
A program characterized by functioning as.

1 売上データ処理システム
10 売上データ処理装置
11 CPU(第1の処理部、第1の通信制御部)
12 RAM
121 売上データ
13 記憶部
131 プログラム
14 通信部(第1の通信部)
151 操作表示部
152 顧客用表示部
16 印刷部
17 ドロア
18 電源部
19 予備電源
20 端末装置(携帯端末装置)
21 CPU(第2の処理部、第2の通信制御部)
22 RAM
221 売上データ
23 記憶部
231 プログラム
24 通信部(第2の通信部)
25 操作表示部
30 サーバ装置(外部装置)
40 外部電源
100 売上データ管理システム
1 Sales data processing system 10 Sales data processing device 11 CPU (first processing unit, first communication control unit)
12 RAM
121 Sales data 13 Storage unit 131 Program 14 Communication unit (first communication unit)
151 Operation display unit 152 Customer display unit 16 Printing unit 17 Drawer 18 Power supply unit 19 Backup power supply 20 Terminal device (mobile terminal device)
21 CPU (second processing unit, second communication control unit)
22 RAM
221 Sales data 23 Storage unit 231 Program 24 Communication unit (second communication unit)
25 Operation display unit 30 Server device (external device)
40 External power supply 100 Sales data management system

Claims (17)

商取引の売上データの処理を行う売上データ処理装置と、
前記売上データ処理装置との間でデータ通信が可能な端末装置と、
を備えた売上データ処理システムであって、
前記売上データ処理装置は、
ユーザからの入力操作に応じて前記売上データを生成する売上データ生成処理を実行する第1の処理部と、
第1の通信部と、
前記第1の通信部の動作を制御する第1の通信制御部と、
外部電源に接続され、当該外部電源から供給された電力を、前記第1の処理部、前記第1の通信部及び前記第1の通信制御部に供給する電源部と、
を備え、
前記端末装置は、
前記電源部への前記外部電源からの電力供給が停止して前記第1の処理部が前記売上データ生成処理を実行できない場合に、ユーザからの入力操作を受け付けて前記売上データ生成処理を実行し、前記売上データを生成する第2の処理部と、
前記第1の通信部との間でデータ通信を行う第2の通信部と、
前記第2の通信部の動作を制御する第2の通信制御部と、
を備え、
前記第1の通信制御部は、前記外部電源からの電力供給が停止した後に当該電力供給が復旧した場合に、電力供給の復旧を通知する復電通知データを前記第1の通信部により前記第2の通信部に対して送信させ、
前記第2の通信制御部は、前記第2の通信部が前記復電通知データを受信した場合に、前記第2の処理部により生成された前記売上データを前記第2の通信部により前記第1の通信部に対して送信させる
ことを特徴とする売上データ処理システム。
A sales data processing device that processes sales data for commercial transactions,
A terminal device capable of data communication with the sales data processing device and
It is a sales data processing system equipped with
The sales data processing device is
A first processing unit that executes a sales data generation process that generates the sales data in response to an input operation from the user, and
With the first communication unit
A first communication control unit that controls the operation of the first communication unit,
A power supply unit connected to an external power source and supplying the electric power supplied from the external power source to the first processing unit, the first communication unit, and the first communication control unit.
With
The terminal device is
When the power supply from the external power source to the power supply unit is stopped and the first processing unit cannot execute the sales data generation process, an input operation from the user is accepted and the sales data generation process is executed. , The second processing unit that generates the sales data,
A second communication unit that performs data communication with the first communication unit, and
A second communication control unit that controls the operation of the second communication unit,
With
When the power supply is restored after the power supply from the external power supply is stopped, the first communication control unit uses the first communication unit to send recovery notification data for notifying the restoration of the power supply. Send to the communication unit of 2
When the second communication unit receives the power recovery notification data, the second communication control unit uses the second communication unit to generate the sales data generated by the second processing unit. A sales data processing system characterized in that it is transmitted to one communication unit.
前記売上データ処理装置は、予備電源を備え、
前記予備電源は、前記外部電源からの電力供給が停止した場合に、前記第1の通信部及び前記第1の通信制御部に対して一時的に電力を供給可能であり、
前記第1の通信制御部は、前記外部電源からの電力供給が停止した場合には、前記予備電源により電力が供給されている期間内に、前記電力供給の停止を通知する停電通知データを前記第1の通信部により前記第2の通信部に対して送信させ、
前記第2の処理部は、前記第2の通信部が前記復電通知データを受信した場合に、前記売上データ生成処理を実行するためのユーザからの入力操作を受け付ける
ことを特徴とする請求項1に記載の売上データ処理システム。
The sales data processing device includes a standby power supply and has a standby power supply.
The standby power supply can temporarily supply power to the first communication unit and the first communication control unit when the power supply from the external power supply is stopped.
When the power supply from the external power supply is stopped, the first communication control unit outputs power failure notification data for notifying the stop of the power supply within the period in which the power is being supplied by the standby power supply. The first communication unit causes the second communication unit to transmit power.
The second processing unit is characterized in that when the second communication unit receives the power recovery notification data, it receives an input operation from a user for executing the sales data generation process. The sales data processing system according to 1.
前記第1の通信制御部は、前記外部電源からの電力供給の停止により、実行中の前記売上データ生成処理が中断された場合には、当該売上データ生成処理のうち中断前の部分により生成された部分売上データを、前記予備電源により電力が供給されている期間内に、前記第1の通信部により前記第2の通信部に対して送信させ、
前記第2の処理部は、前記第2の通信部が前記部分売上データを受信した場合には、前記中断された前記売上データ生成処理を引き継いで実行する
ことを特徴とする請求項2に記載の売上データ処理システム。
When the running sales data generation process is interrupted due to the stop of the power supply from the external power source, the first communication control unit is generated by the portion of the sales data generation process before the interruption. The partial sales data is transmitted by the first communication unit to the second communication unit within the period in which the power is supplied by the standby power supply.
The second processing unit according to claim 2, wherein when the second communication unit receives the partial sales data, the second processing unit takes over and executes the interrupted sales data generation processing. Sales data processing system.
前記第1の通信制御部は、前記外部電源からの電力供給が復旧した場合に、前記電力供給が停止した時点を示す停電時点データを前記第1の通信部により前記第2の通信部に対して送信させ、
前記第2の通信制御部は、前記第2の通信部が前記停電時点データを受信した場合に、当該停電時点データに基づいて特定された停電期間において前記第2の処理部により生成された前記売上データを、第2の通信部により前記第1の通信部に対して送信させる
ことを特徴とする請求項1に記載の売上データ処理システム。
When the power supply from the external power source is restored, the first communication control unit outputs power failure time point data indicating the time when the power supply is stopped to the second communication unit by the first communication unit. And send it
The second communication control unit is generated by the second processing unit during a power failure period specified based on the power failure time point data when the second communication unit receives the power failure time point data. The sales data processing system according to claim 1, wherein sales data is transmitted by a second communication unit to the first communication unit.
前記売上データ処理装置は、予備電源を備え、
前記予備電源は、前記外部電源からの電力供給が停止している期間に前記第1の通信部に対して電力を供給して、前記第2の通信部との通信接続を維持させる
ことを特徴とする請求項1から4のいずれか一項に記載の売上データ処理システム。
The sales data processing device includes a standby power supply and has a standby power supply.
The standby power supply is characterized in that power is supplied to the first communication unit during a period in which power supply from the external power supply is stopped to maintain a communication connection with the second communication unit. The sales data processing system according to any one of claims 1 to 4.
前記端末装置は、前記売上データ処理装置から所定の外部装置への前記売上データの送信を中継することを特徴とする請求項1から5のいずれか一項に記載の売上データ処理システム。 The sales data processing system according to any one of claims 1 to 5, wherein the terminal device relays transmission of the sales data from the sales data processing device to a predetermined external device. ユーザからの入力操作に応じて、商取引の売上データを生成する売上データ生成処理を実行する処理部と、
端末装置との間でデータ通信を行う通信部と、
前記通信部の動作を制御する通信制御部と、
外部電源に接続され、当該外部電源から供給された電力を、前記処理部、前記通信部及び前記通信制御部に供給する電源部と、
を備え、
前記端末装置は、前記外部電源からの電力供給が停止して前記処理部が前記売上データ生成処理を実行できない場合に、ユーザからの入力操作を受け付けて前記売上データ生成処理を実行し、前記売上データを生成することが可能であり、
前記通信制御部は、前記外部電源からの電力供給が停止した後に当該電力供給が復旧した場合に、前記電力供給が停止してから復旧するまでの期間において前記端末装置により生成された前記売上データを前記端末装置から送信させるために、前記電力供給の復旧を通知する復電通知データを前記通信部により前記端末装置に対して送信させる
ことを特徴とする売上データ処理装置。
A processing unit that executes sales data generation processing that generates sales data for commercial transactions in response to input operations from the user,
A communication unit that performs data communication with the terminal device,
A communication control unit that controls the operation of the communication unit,
A power supply unit connected to an external power source and supplying power supplied from the external power source to the processing unit, the communication unit, and the communication control unit.
With
When the power supply from the external power source is stopped and the processing unit cannot execute the sales data generation process, the terminal device receives an input operation from the user and executes the sales data generation process, and the sales It is possible to generate data,
When the power supply is restored after the power supply from the external power supply is stopped, the communication control unit is the sales data generated by the terminal device during the period from the power supply stop to the recovery. A sales data processing device, characterized in that the communication unit transmits a power recovery notification data for notifying the restoration of the power supply to the terminal device in order to transmit the data from the terminal device.
端末装置との間でデータ通信を行う通信部と、コンピュータと、外部電源に接続され、当該外部電源から供給された電力を前記通信部及び前記コンピュータに供給する電源部と、を備えた売上データ処理装置に設けられた前記コンピュータを、
ユーザからの入力操作に応じて、商取引の売上データを生成する売上データ生成処理を実行する処理手段、
前記通信部の動作を制御する通信制御手段、
として機能させ、
前記端末装置は、前記外部電源からの電力供給が停止して前記コンピュータが前記売上データ生成処理を実行できない場合に、ユーザからの入力操作を受け付けて前記売上データ生成処理を実行し、前記売上データを生成することが可能であり、
前記通信制御手段は、前記外部電源からの電力供給が停止した後に当該電力供給が復旧した場合に、前記電力供給が停止してから復旧するまでの期間において前記端末装置により生成された前記売上データを前記端末装置から送信させるために、前記電力供給の復旧を通知する復電通知データを前記通信部により前記端末装置に対して送信させる
ことを特徴とするプログラム。
Sales data including a communication unit that performs data communication with a terminal device, a computer, and a power supply unit that is connected to an external power source and supplies power supplied from the external power source to the communication unit and the computer. The computer provided in the processing device
A processing means that executes sales data generation processing that generates sales data for commercial transactions in response to input operations from the user.
A communication control means for controlling the operation of the communication unit,
To function as
When the power supply from the external power source is stopped and the computer cannot execute the sales data generation process, the terminal device receives an input operation from the user and executes the sales data generation process, and the sales data Is possible to generate
The communication control means is the sales data generated by the terminal device in the period from the stop of the power supply to the recovery when the power supply is restored after the power supply from the external power supply is stopped. A program characterized in that the communication unit transmits the power recovery notification data notifying the restoration of the power supply to the terminal device in order to transmit the power from the terminal device.
商取引の売上データの処理を行う売上データ処理装置との間でデータ通信が可能な端末装置であって、
前記売上データ処理装置への電力供給が停止して、前記売上データ処理装置において前記売上データを生成する売上データ生成処理を実行できない場合に、ユーザからの入力操作を受け付けて前記売上データ生成処理を実行し、前記売上データを生成する処理部と、
前記売上データ処理装置との間でデータ通信を行う通信部と、
前記通信部の動作を制御する通信制御部と、
を備え、
前記通信制御部は、前記通信部が、電力供給の復旧を通知する復電通知データを前記売上データ処理装置から受信した場合に、前記処理部により生成された前記売上データを前記通信部により前記売上データ処理装置に対して送信させる
ことを特徴とする端末装置。
A terminal device capable of data communication with a sales data processing device that processes sales data of commercial transactions.
When the power supply to the sales data processing device is stopped and the sales data processing device cannot execute the sales data generation process for generating the sales data, the sales data generation process is performed by accepting an input operation from the user. A processing unit that executes and generates the sales data,
A communication unit that performs data communication with the sales data processing device,
A communication control unit that controls the operation of the communication unit,
With
When the communication unit receives the power recovery notification data notifying the restoration of the power supply from the sales data processing device, the communication control unit receives the sales data generated by the processing unit by the communication unit. A terminal device characterized in that it is transmitted to a sales data processing device.
商取引の売上データの処理を行う売上データ処理装置との間でデータ通信が可能な端末装置であって、前記売上データ処理装置との間でデータ通信を行う通信部を備えた端末装置に設けられたコンピュータを、
前記売上データ処理装置への電力供給が停止して、前記売上データ処理装置において前記売上データを生成する売上データ生成処理を実行できない場合に、ユーザからの入力操作を受け付けて前記売上データ生成処理を実行し、前記売上データを生成する処理手段、
前記通信部の動作を制御する通信制御手段、
として機能させ、
前記通信制御手段は、前記通信部が、電力供給の復旧を通知する復電通知データを前記売上データ処理装置から受信した場合に、前記処理手段により生成された前記売上データを前記通信部により前記売上データ処理装置に対して送信させる
ことを特徴とするプログラム。
A terminal device capable of data communication with a sales data processing device that processes sales data of commercial transactions, and is provided in a terminal device provided with a communication unit that performs data communication with the sales data processing device. Computer
When the power supply to the sales data processing device is stopped and the sales data processing device cannot execute the sales data generation process for generating the sales data, the sales data generation process is performed by accepting an input operation from the user. A processing means for executing and generating the sales data,
A communication control means for controlling the operation of the communication unit,
To function as
When the communication unit receives the power recovery notification data notifying the restoration of the power supply from the sales data processing device, the communication control means receives the sales data generated by the processing means by the communication unit. A program characterized by sending to a sales data processing device.
商取引の売上データの処理を行う売上データ処理装置と、
前記売上データ処理装置との間で無線通信が可能な携帯端末装置と、
を備えた売上データ処理システムであって、
前記売上データ処理装置は、
ユーザからの入力操作に応じて前記売上データを生成する売上データ生成処理を実行する第1の処理部と、
外部電源に接続され、当該外部電源から供給された電力を前記第1の処理部に供給する電源部と、
を備え、
前記携帯端末装置は、
前記電源部への前記外部電源からの電力供給が停止して前記第1の処理部が前記売上データ生成処理を中断した場合に、ユーザからの入力操作を受け付けて前記売上データ生成処理を引き継いで、前記売上データを生成する第2の処理部、
を備えることを特徴とする売上データ処理システム。
A sales data processing device that processes sales data for commercial transactions,
A mobile terminal device capable of wireless communication with the sales data processing device,
It is a sales data processing system equipped with
The sales data processing device is
A first processing unit that executes a sales data generation process that generates the sales data in response to an input operation from the user, and
A power supply unit that is connected to an external power supply and supplies the power supplied from the external power supply to the first processing unit, and
With
The mobile terminal device is
When the power supply from the external power source to the power supply unit is stopped and the first processing unit interrupts the sales data generation process, the input operation from the user is accepted and the sales data generation process is taken over. , A second processing unit that generates the sales data,
A sales data processing system characterized by being equipped with.
前記売上データ処理装置は、前記電力供給が復旧した場合に、電力供給の復旧を通知する復電通知データを前記携帯端末装置に対して送信する第1の通信制御部を備え、
前記携帯端末装置は、前記復電通知データを受信した場合に、前記第2の処理部により生成された前記売上データを前記売上データ処理装置に対して送信する第2の通信制御部を備える
ことを特徴とする請求項11に記載の売上データ処理システム。
The sales data processing device includes a first communication control unit that transmits recovery notification data for notifying the restoration of the power supply to the mobile terminal device when the power supply is restored.
The mobile terminal device includes a second communication control unit that transmits the sales data generated by the second processing unit to the sales data processing device when the power recovery notification data is received. 11. The sales data processing system according to claim 11.
前記売上データ処理装置は、前記外部電源からの電力供給の停止により、実行中の前記売上データ生成処理が中断された場合に、当該売上データ生成処理のうち中断前の部分により生成された部分売上データを、所定の予備電源により電力が供給されている期間内に、前記携帯端末装置に対して送信する第1の通信制御部を備え、
前記第2の処理部は、前記部分売上データを受信した場合には、前記中断された前記売上データ生成処理を引き継いで実行する
ことを特徴とする請求項11に記載の売上データ処理システム。
In the sales data processing device, when the running sales data generation process is interrupted due to the suspension of power supply from the external power source, the partial sales generated by the portion of the sales data generation process before the interruption is performed. A first communication control unit for transmitting data to the portable terminal device within a period in which power is supplied by a predetermined standby power source is provided.
The sales data processing system according to claim 11, wherein the second processing unit takes over and executes the interrupted sales data generation process when the partial sales data is received.
携帯端末装置との間で無線通信が可能な売上データ処理装置であって、
ユーザからの入力操作に応じて、商取引の売上データを生成する売上データ生成処理を実行する処理部と、
外部電源に接続され、当該外部電源から供給された電力を、前記処理部に供給する電源部と、
前記外部電源からの電力供給の停止により、実行中の前記売上データ生成処理が中断された場合に、当該売上データ生成処理のうち中断前の部分により生成された部分売上データを、所定の予備電源により電力が供給されている期間内に、前記携帯端末装置に対して送信する通信制御部と、
を備えることを特徴とする売上データ処理装置。
A sales data processing device capable of wireless communication with a mobile terminal device.
A processing unit that executes sales data generation processing that generates sales data for commercial transactions in response to input operations from the user,
A power supply unit that is connected to an external power supply and supplies the power supplied from the external power supply to the processing unit, and
When the running sales data generation process is interrupted due to the suspension of power supply from the external power source, the partial sales data generated by the portion of the sales data generation process before the interruption is used as a predetermined standby power source. A communication control unit that transmits power to the mobile terminal device within the period of power supply by
A sales data processing device characterized by being equipped with.
携帯端末装置との間で無線通信が可能な売上データ処理装置であって、コンピュータと、外部電源に接続され、当該外部電源から供給された電力を前記コンピュータに供給する電源部と、を備えた売上データ処理装置に設けられた前記コンピュータを、
ユーザからの入力操作に応じて、商取引の売上データを生成する売上データ生成処理を実行する処理手段、
前記外部電源からの電力供給の停止により、実行中の前記売上データ生成処理が中断された場合に、当該売上データ生成処理のうち中断前の部分により生成された部分売上データを、所定の予備電源により電力が供給されている期間内に、前記携帯端末装置に対して送信する通信制御手段、
として機能させることを特徴とするプログラム。
It is a sales data processing device capable of wireless communication with a mobile terminal device, and includes a computer and a power supply unit connected to an external power source and supplying power supplied from the external power source to the computer. The computer provided in the sales data processing device
A processing means that executes sales data generation processing that generates sales data for commercial transactions in response to input operations from the user.
When the running sales data generation process is interrupted due to the suspension of power supply from the external power source, the partial sales data generated by the portion of the sales data generation process before the interruption is used as a predetermined standby power source. Communication control means for transmitting to the mobile terminal device within the period of power being supplied by
A program characterized by functioning as.
商取引の売上データの処理を行う売上データ処理装置との間で無線通信が可能な携帯端末装置であって、
前記売上データ処理装置への電力供給が停止して、前記売上データ処理装置において前記売上データを生成する売上データ生成処理が中断された場合に、ユーザからの入力操作を受け付けて前記売上データ生成処理を引き継いで、前記売上データを生成する処理部、
を備えることを特徴とする携帯端末装置。
A mobile terminal device capable of wireless communication with a sales data processing device that processes sales data of commercial transactions.
When the power supply to the sales data processing device is stopped and the sales data generation process for generating the sales data is interrupted in the sales data processing device, an input operation from the user is accepted and the sales data generation process is performed. The processing unit that generates the sales data by taking over
A mobile terminal device characterized by being provided with.
商取引の売上データの処理を行う売上データ処理装置との間で無線通信が可能な携帯端末装置に設けられたコンピュータを、
前記売上データ処理装置への電力供給が停止して、前記売上データ処理装置において前記売上データを生成する売上データ生成処理が中断された場合に、ユーザからの入力操作を受け付けて前記売上データ生成処理を引き継いで、前記売上データを生成する処理手段、
として機能させることを特徴とするプログラム。
A computer installed in a mobile terminal device capable of wireless communication with a sales data processing device that processes sales data of commercial transactions.
When the power supply to the sales data processing device is stopped and the sales data generation process for generating the sales data is interrupted in the sales data processing device, an input operation from the user is accepted and the sales data generation process is performed. A processing means for generating the sales data by taking over
A program characterized by functioning as.
JP2019031984A 2019-02-25 2019-02-25 Sales data processing system, terminal device and program Active JP7238463B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2019031984A JP7238463B2 (en) 2019-02-25 2019-02-25 Sales data processing system, terminal device and program
JP2023023330A JP7396520B2 (en) 2019-02-25 2023-02-17 Sales data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019031984A JP7238463B2 (en) 2019-02-25 2019-02-25 Sales data processing system, terminal device and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2023023330A Division JP7396520B2 (en) 2019-02-25 2023-02-17 Sales data processing system

Publications (2)

Publication Number Publication Date
JP2020135754A true JP2020135754A (en) 2020-08-31
JP7238463B2 JP7238463B2 (en) 2023-03-14

Family

ID=72278788

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2019031984A Active JP7238463B2 (en) 2019-02-25 2019-02-25 Sales data processing system, terminal device and program
JP2023023330A Active JP7396520B2 (en) 2019-02-25 2023-02-17 Sales data processing system

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2023023330A Active JP7396520B2 (en) 2019-02-25 2023-02-17 Sales data processing system

Country Status (1)

Country Link
JP (2) JP7238463B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60110058A (en) * 1983-11-21 1985-06-15 Hitachi Ltd Memory back-up system
JP2003288137A (en) * 2002-03-28 2003-10-10 Nec Tokin Corp Back-up device
JP2013054577A (en) * 2011-09-05 2013-03-21 Toshiba Tec Corp Portable terminal and program
JP2013235524A (en) * 2012-05-11 2013-11-21 Tatsuno Corp Gas station system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013137666A (en) 2011-12-28 2013-07-11 Focus Advertising Inc Web-pos system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60110058A (en) * 1983-11-21 1985-06-15 Hitachi Ltd Memory back-up system
JP2003288137A (en) * 2002-03-28 2003-10-10 Nec Tokin Corp Back-up device
JP2013054577A (en) * 2011-09-05 2013-03-21 Toshiba Tec Corp Portable terminal and program
JP2013235524A (en) * 2012-05-11 2013-11-21 Tatsuno Corp Gas station system

Also Published As

Publication number Publication date
JP7238463B2 (en) 2023-03-14
JP7396520B2 (en) 2023-12-12
JP2023057152A (en) 2023-04-20

Similar Documents

Publication Publication Date Title
BRPI0613588A2 (en) method and apparatus for multi-language user selection for system user interface
JP2015022359A (en) Commodity sales data processor, information terminal and control program
JP2009251982A (en) Electronic receipt management system and register terminal
JP2015022361A (en) Commodity sales data processor and control program
JP7396520B2 (en) Sales data processing system
JPH08227356A (en) Data processor
CN108806127A (en) The recording medium that sales data processing unit, terminal installation, recording method and computer can be read
JP7404856B2 (en) Sales data processing system, sales data processing device, mobile terminal device and program
JP2012238166A (en) Information processing device and program
JP4330124B2 (en) Ordering system
US20120166297A1 (en) Powering a point of sale printer and coupon printer from a shared power supply
KR20050012880A (en) POS terminal device of electronic receipt publishing
JP2017027631A (en) Information terminal
KR101935351B1 (en) Beacon device including switch and method for providing service using the same
JP2002183840A (en) Commodity sales data processor
JP2013020516A (en) Electronic apparatus
JPH10124405A (en) Data processor
JP2015080890A (en) Printer, printing system and control method of printer
US20060101110A1 (en) Data interchange device
JP6999440B2 (en) Product sales data processing equipment and programs
JP4910030B2 (en) Electronics
JP2006134093A (en) Usb device and usb system
JP2012155668A (en) Electronic apparatus and program
JP6563552B2 (en) Product sales data processing device, information terminal, and control program
JP2022028027A (en) Portable terminal and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220104

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20221104

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221115

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230112

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230213

R150 Certificate of patent or registration of utility model

Ref document number: 7238463

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150