JP2012238166A - Information processing device and program - Google Patents

Information processing device and program Download PDF

Info

Publication number
JP2012238166A
JP2012238166A JP2011106563A JP2011106563A JP2012238166A JP 2012238166 A JP2012238166 A JP 2012238166A JP 2011106563 A JP2011106563 A JP 2011106563A JP 2011106563 A JP2011106563 A JP 2011106563A JP 2012238166 A JP2012238166 A JP 2012238166A
Authority
JP
Japan
Prior art keywords
mode
application
power
power saving
saving mode
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.)
Withdrawn
Application number
JP2011106563A
Other languages
Japanese (ja)
Inventor
Hidesato Takahashi
秀聡 高橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2011106563A priority Critical patent/JP2012238166A/en
Publication of JP2012238166A publication Critical patent/JP2012238166A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an information processing device and a program which allow prompt use of an application when shifting to a power-saving mode after recovering from a power outage.SOLUTION: The information processing device includes storage means, start-up means and mode shifting means. The storage means stores operation modes of the own device. The start-up means starts the own device when power supply has been restored after a power interruption occurred without execution of a prescribed interruption processing in one of the operation modes, and then starts a prescribed application. The mode shifting means makes the own device enter a power-saving mode after starting the application when the storage means stores the power-saving mode as one of the operation modes.

Description

本発明の実施形態は、情報処理装置およびプログラムに関する。   Embodiments described herein relate generally to an information processing apparatus and a program.

大型店等では、複数台のPOS(Point Of Sales)端末を客足に応じて稼動させ、稼動の必要がないPOS端末はスタンバイモードに移行させて省電力対策を行う場合がある。このようなスタンバイモードにおいては、決済処理等に用いるアプリケーションを起動させた状態で制御部等の一部に対する電力供給を停止する。従って、スタンバイモードから通常モードに復帰させる場合に、決済用アプリケーションを速やかに用いることができ、客を待たせることなく決済処理を再開することができる。   In a large store or the like, there are cases where a plurality of POS (Point Of Sales) terminals are operated according to the customer's capacity, and POS terminals that do not need to be operated are shifted to a standby mode to take power saving measures. In such a standby mode, power supply to a part of the control unit or the like is stopped in a state where an application used for settlement processing or the like is activated. Therefore, when returning from the standby mode to the normal mode, the payment application can be used promptly, and the payment process can be resumed without waiting for the customer.

ところで、このようなPOS端末においては、停電後に電源が復旧した際に、決済処理を行うことができる状態に速やかに復旧させることが望まれている。従来、電源遮断後に電源復旧した場合に、装置を電源遮断前の動作モードに自動的に移行させる技術が開示されている。   By the way, in such a POS terminal, when the power supply is restored after a power failure, it is desired that the POS terminal is quickly restored to a state in which payment processing can be performed. Conventionally, there has been disclosed a technique for automatically shifting an apparatus to an operation mode before power-off when power is restored after power-off.

しかしながら、従来技術においては、電源復旧後にアプリケーションを速やかに用いることができないという課題があった。   However, the conventional technique has a problem that the application cannot be used promptly after the power supply is restored.

実施形態の情報処理装置は、記憶手段と、起動手段と、モード移行手段とを備える。記憶手段は、自装置の動作モードを記憶する。起動手段は、前記動作モードにおいて所定の遮断処理を伴わずに電源が遮断し、この電源遮断後に電源供給が復旧した場合に、自装置を起動し、さらに、所定のアプリケーションを起動させる。モード移行手段は、前記記憶手段に前記動作モードとして省電力モードが記憶されている場合には、前記アプリケーションの起動後に、自装置を前記省電力モードに移行させる。   The information processing apparatus according to the embodiment includes a storage unit, an activation unit, and a mode transition unit. The storage means stores the operation mode of the own device. The activation means activates its own device and activates a predetermined application when the power supply is interrupted without performing a predetermined interruption process in the operation mode and the power supply is restored after the power supply interruption. When the power saving mode is stored as the operation mode in the storage means, the mode shifting means shifts the own apparatus to the power saving mode after the application is started.

図1は、第1の実施形態のPOS端末の構成を概略的に示した外観斜視図である。FIG. 1 is an external perspective view schematically showing the configuration of the POS terminal of the first embodiment. 図2は、POS端末のハードウェア構成を示すブロック図である。FIG. 2 is a block diagram showing a hardware configuration of the POS terminal. 図3は、POS端末の機能的構成を示す機能ブロック図である。FIG. 3 is a functional block diagram showing a functional configuration of the POS terminal. 図4は、POS端末が行う動作モード移行処理の手順を示すフローチャートである。FIG. 4 is a flowchart showing a procedure of operation mode transition processing performed by the POS terminal. 図5は、POS端末が電源復旧後に行う起動処理の手順を示すフローチャートである。FIG. 5 is a flowchart showing the procedure of the startup process performed after the POS terminal recovers the power. 図6は、第2の実施形態のPOS端末の機能的構成を示す機能ブロック図である。FIG. 6 is a functional block diagram illustrating a functional configuration of the POS terminal according to the second embodiment. 図7は、アプリ起動時間テーブルのデータ構成の一例を示す図である。FIG. 7 is a diagram illustrating an example of a data configuration of the application activation time table. 図8は、POS端末が電源復旧後に行う起動処理の手順を示すフローチャートである。FIG. 8 is a flowchart showing the procedure of the startup process performed after the POS terminal recovers the power.

本実施形態においては、情報処理装置としてPOS端末を用いる場合について説明する。尚、本実施形態の情報処理装置はこれに限定されるものではなく、PC(Personal Computer)等の他の電子機器に用いられるとしてもよい。   In the present embodiment, a case where a POS terminal is used as the information processing apparatus will be described. Note that the information processing apparatus of the present embodiment is not limited to this, and may be used in other electronic devices such as a PC (Personal Computer).

(第1の実施形態)
図1は、第1の実施形態のPOS端末1の構成を概略的に示した外観斜視図である。POS端末1は、現金等を収容するためのドロワ12の上に載置されており、このドロワ12の引出し12aの開閉を制御する。POS端末1の正面側には、登録、点検、精算、設定などの各種業務モードを選択するためのモードキー14が設けられている。また、POS端末1の正面に設けられたキーボード13には、オペレータ(店員)が、例えば預かり金額などを置数するための置数キーや、1取引として販売登録が行われた商品の合計出力を指示する現計キー、1取引の販売登録の終了を選択して会計処理および締め処理を行う締めキーなど、各種操作入力を行うための操作キーが配置されている。
(First embodiment)
FIG. 1 is an external perspective view schematically showing the configuration of the POS terminal 1 of the first embodiment. The POS terminal 1 is placed on a drawer 12 for storing cash and controls opening and closing of a drawer 12a of the drawer 12. On the front side of the POS terminal 1, a mode key 14 is provided for selecting various business modes such as registration, inspection, checkout, and setting. Also, on the keyboard 13 provided in front of the POS terminal 1, an operator (store clerk), for example, a numeric key for placing a deposit amount or the like, or a total output of products registered for sale as one transaction There are arranged operation keys for inputting various operations, such as a current total key for instructing 1 and a closing key for selecting the end of sales registration for a transaction and performing accounting processing and closing processing.

さらにPOS端末1には、正面側には店員用ディスプレイ15が、背面側には客用ディスプレイ16が取り付けられている。店員用ディスプレイ15、客用ディスプレイ16には、例えば液晶ディスプレイ等が用いられ、販売登録された商品の品名、価格や、1取引の合計金額、釣銭額などが表示される。POS端末1は、レシート及びジャーナルを印字するプリンタ17を内蔵している。プリンタ17によって印字されたレシートは、POS端末1の正面側に形成されたレシート発行口18から発行される。またPOS端末1には、商品に付与されたバーコードを読取るためのスキャナ19が接続されている。   Further, the POS terminal 1 is provided with a store clerk display 15 on the front side and a customer display 16 on the back side. For example, a liquid crystal display or the like is used for the store clerk display 15 and the customer display 16, and displays the name and price of a product registered for sale, the total amount of one transaction, the amount of change, and the like. The POS terminal 1 has a built-in printer 17 for printing receipts and journals. The receipt printed by the printer 17 is issued from a receipt issuing port 18 formed on the front side of the POS terminal 1. The POS terminal 1 is connected to a scanner 19 for reading a barcode attached to the product.

図2は、POS端末1のハードウェア構成を示すブロック図である。POS端末1は、CPU21と、ROM22と、RAM23と、通信I/F24等を備えており、これらがバス26で互いに接続されている。   FIG. 2 is a block diagram showing a hardware configuration of the POS terminal 1. The POS terminal 1 includes a CPU 21, a ROM 22, a RAM 23, a communication I / F 24, and the like, which are connected to each other via a bus 26.

また、バス26にはI/O機器制御部25が接続されており、I/O機器制御部25にはキーボード13、店員用ディスプレイ15、客用ディスプレイ16、プリンタ17、スキャナ19、HDD(Hard Disk Drive)27等のI/O機器が接続されている。CPU21は、I/O機器制御部25を介してこれらのI/O機器を制御する。通信I/F24は、LAN等のネットワークを介して他の情報処理装置やストアサーバ等と相互に通信を行う。   Also, an I / O device control unit 25 is connected to the bus 26. The I / O device control unit 25 includes a keyboard 13, a display 15 for salesclerks, a display 16 for customers, a printer 17, a scanner 19, and an HDD (Hard). I / O devices such as (Disk Drive) 27 are connected. The CPU 21 controls these I / O devices via the I / O device control unit 25. The communication I / F 24 communicates with other information processing apparatuses and store servers via a network such as a LAN.

ROM22は、CPU21が実行する各種プログラムや各種データを記憶するものである。RAM23は、BIOSROM等のFlashROMにより構成され、BIOSの各種データ、および本実施の形態にかかるプログラムを格納する。また、RAM23は、CPU21が各種プログラムを実行する際に一時的にデータやプログラムを記憶する。さらに、RAM23は、商品の販売記録を示す販売データや、店員用ディスプレイ15や客用ディスプレイ16に表示する各種の画面表示データを記憶する。CPU21(プロセッサ)は、RAM23からBIOSとともに本実施の形態のプログラムを読み出して実行することにより、図3に示す制御部30を主記憶装置上に生成する。   The ROM 22 stores various programs executed by the CPU 21 and various data. The RAM 23 is configured by a FlashROM such as a BIOSROM, and stores various types of BIOS data and a program according to the present embodiment. The RAM 23 temporarily stores data and programs when the CPU 21 executes various programs. Further, the RAM 23 stores sales data indicating the sales record of the product and various screen display data to be displayed on the store clerk display 15 and the customer display 16. The CPU 21 (processor) generates the control unit 30 shown in FIG. 3 on the main storage device by reading and executing the program of the present embodiment together with the BIOS from the RAM 23.

図3は、POS端末1の機能的構成を示す機能ブロック図である。本実施形態のPOS端末1で実行されるプログラムは、起動部31、動作モード移行部32、シャットダウン状態管理部33、モード判定部34等を含むモジュール構成となっている。CPU21(プロセッサ)は、RAM23からBIOSとともに本実施の形態のプログラムを読み出して実行する。これにより上記各部が主記憶装置上にロードされ、起動部31、動作モード移行部32、シャットダウン状態管理部33、モード判定部34等が主記憶装置上に生成される。   FIG. 3 is a functional block diagram showing a functional configuration of the POS terminal 1. The program executed by the POS terminal 1 of the present embodiment has a module configuration including an activation unit 31, an operation mode transition unit 32, a shutdown state management unit 33, a mode determination unit 34, and the like. The CPU 21 (processor) reads out the program of the present embodiment from the RAM 23 together with the BIOS and executes it. As a result, the above-described units are loaded onto the main storage device, and an activation unit 31, an operation mode transition unit 32, a shutdown state management unit 33, a mode determination unit 34, and the like are generated on the main storage device.

また、図3に示すように、RAM23の不揮発性メモリ領域には、省電力モード記憶領域28と、シャットダウン状態記憶領域29とが設けられている。   As shown in FIG. 3, a power saving mode storage area 28 and a shutdown state storage area 29 are provided in the nonvolatile memory area of the RAM 23.

起動部31は、POS端末1の起動処理を行う。即ち、POS端末1に電源供給が行われた場合に、起動部31はBIOSROMからBIOSを読み込んでBIOSを起動し、BIOSの起動後にはOSを起動する。そして起動部31は、OSの起動後にはスタートアップに登録されているアプリケーションを起動する。スタートアップのアプリケーション(以下ではスタートアップアプリという)としては、例えば、決済処理を行う決済用アプリケーション等がある。   The activation unit 31 performs activation processing of the POS terminal 1. That is, when power is supplied to the POS terminal 1, the activation unit 31 reads the BIOS from the BIOS ROM, activates the BIOS, and activates the OS after the BIOS is activated. And the starting part 31 starts the application registered into startup after starting of OS. As a startup application (hereinafter referred to as a startup application), for example, there is a payment application for performing a payment process.

動作モード移行部32は、OSやBIOSと協働してPOS端末1の省電力モードの移行を行う。動作モード移行部32は、所定時間、ユーザからの入力が無い場合に、POS端末1の電源供給を通常モードから所定の省電力モードに移行させる。尚、動作モード移行部32は、OSのシャットダウンメニューや電源ボタン等からサスペンド要求を受付けた場合に、POS端末1を所定の省電力モードに移行させるとしてもよい。   The operation mode transition unit 32 transitions the power saving mode of the POS terminal 1 in cooperation with the OS and the BIOS. The operation mode transition unit 32 transitions the power supply of the POS terminal 1 from the normal mode to the predetermined power saving mode when there is no input from the user for a predetermined time. The operation mode transition unit 32 may cause the POS terminal 1 to transition to a predetermined power saving mode when a suspend request is received from an OS shutdown menu, a power button, or the like.

通常モードとは、ユーザがPOS端末1を操作して情報処理を行うことができる電源供給のモードであり、一般的にはS0モードと呼ばれるモードである。   The normal mode is a power supply mode in which a user can perform information processing by operating the POS terminal 1, and is a mode generally called an S0 mode.

省電力モードとは、ユーザがPOS端末1を操作して情報処理を行うことができない電源供給のモードであり、一般的にはS1モード、S3モード、S4モード等と呼ばれるモードのことである。省電力モードは、サスペンドモードまたはスタンバイモードとも呼ばれる。   The power saving mode is a power supply mode in which a user cannot operate the POS terminal 1 to perform information processing, and is generally a mode called an S1 mode, an S3 mode, an S4 mode, or the like. The power saving mode is also called a suspend mode or a standby mode.

S1モード(Power On Suspend)とは、チップセットへの通電は維持したまま、CPU21への通電を停止し、CPUクロックを停止状態とする省電力モードのことである。S3モード(Suspend To RAM)とは、RAM23への通電を保持してRAM23に展開されているデータはそのまま保持する一方で、RAM23以外への電力供給を停止させる省電力モードのことである。S4モード(Suspend To HDD)とは、RAM23に展開されているデータをHDD27にコピーし、HDD27への通電を保持する一方で、HDD27以外への電力供給を停止させる省電力モードのことである。   The S1 mode (Power On Suspend) is a power saving mode in which energization to the CPU 21 is stopped and the CPU clock is stopped while energization to the chipset is maintained. The S3 mode (Suspend To RAM) is a power saving mode in which the power supplied to the RAM 23 is stopped while the energization of the RAM 23 is held and the data developed in the RAM 23 is held as it is. The S4 mode (Suspend To HDD) is a power saving mode in which the data developed in the RAM 23 is copied to the HDD 27 and the power supply to the HDD 27 is stopped while power supply to the HDD 27 is stopped.

POS端末やPCを始めとする電子機器には一般的に、電源管理アプリケーションが備えられており、この電源管理アプリケーションや、あるいはBIOSでの設定によって、マウスやキーボード、タッチパネルなどユーザからの入力が一定時間以上無い場合に、自動的に各省電力モードに移行できるようになっている。   Electronic devices such as POS terminals and PCs are generally provided with a power management application, and input from the user, such as a mouse, keyboard, touch panel, etc., is fixed according to the power management application or BIOS settings. When there is no time or more, it is possible to automatically shift to each power saving mode.

動作モード移行部32は、このような電源管理アプリケーションやBIOSの設定に基づいて、POS端末1に対する入力が一定時間無い状態が続いた場合に、POS端末1を通常モードから省電力モードに移行させる。   The operation mode transition unit 32 causes the POS terminal 1 to transition from the normal mode to the power saving mode when there is no input to the POS terminal 1 for a certain period of time based on such a power management application or BIOS setting. .

また、動作モード移行部32は、POS端末1がある省電力モード(第1省電力モード)にある場合であって、ユーザからの入力が一定時間無い場合に、別の省電力モード(第2省電力モード)に移行する。   Further, the operation mode transition unit 32 is a case where the POS terminal 1 is in a certain power saving mode (first power saving mode), and when there is no input from the user for a certain time, another power saving mode (second (Power saving mode).

このように一般的には、省電力モードへの移行はBIOSまたはOSの少なくともいずれか一方により実行される。従って、動作モード移行部32の機能はBIOS上に生成されてもよいし、OS上に生成される機能であるとしてもよい。   As described above, generally, the transition to the power saving mode is executed by at least one of the BIOS and the OS. Therefore, the function of the operation mode transition unit 32 may be generated on the BIOS or a function generated on the OS.

動作モード移行部32は、POS端末1を通常モードから省電力モードに移行する場合に、移行先の省電力モードを示す情報を省電力モード記憶領域28に記憶させる。また、動作モード移行部32は、POS端末1を第1省電力モード(例えば、S1モード)から第2省電力モード(例えば、S3モード)に移行する場合に、移行先の第2省電力モード(S3モード)を示す情報を省電力モード記憶領域28に記憶させる。   When the POS terminal 1 shifts from the normal mode to the power saving mode, the operation mode shift unit 32 stores information indicating the transfer destination power saving mode in the power saving mode storage area 28. In addition, the operation mode transition unit 32, when the POS terminal 1 is shifted from the first power saving mode (for example, the S1 mode) to the second power saving mode (for example, the S3 mode), Information indicating (S3 mode) is stored in the power saving mode storage area 28.

省電力モード記憶領域28は、POS端末1の動作モードが複数の省電力モードのうちいずれか1つの省電力モードに移行した場合に、移行先の省電力モードを示す情報を記憶する記憶領域である。移行先の省電力モードを示す情報としては、例えばS1、S3、S4等のように各省電力モードを示すモード番号が省電力モード記憶領域28に格納される。尚、フラグを用いて各省電力モードを示すとしてもよい。   The power saving mode storage area 28 is a storage area for storing information indicating the power saving mode of the transfer destination when the operation mode of the POS terminal 1 has shifted to any one of the plurality of power saving modes. is there. As information indicating the power saving mode of the transfer destination, a mode number indicating each power saving mode is stored in the power saving mode storage area 28, such as S1, S3, S4, for example. Each power saving mode may be indicated using a flag.

シャットダウン状態管理部33は、OSのシャットダウンメニューからシャットダウンが選択操作された場合等、所定の手順を踏んでPOS端末1が電源オフとされる場合に、シャットダウン状態記憶領域29に、正常にシャットダウンした旨を記憶させる。   The shutdown state management unit 33 normally shuts down in the shutdown state storage area 29 when the POS terminal 1 is powered off through a predetermined procedure, such as when shutdown is selected from the OS shutdown menu. Remind me.

シャットダウン状態記憶領域29は、POS端末1のシャットダウン状態を、フラグ値等を用いて記憶する記憶領域である。   The shutdown state storage area 29 is a storage area for storing the shutdown state of the POS terminal 1 using a flag value or the like.

一例として、シャットダウン状態管理部33は、POS端末1の起動時(例えばBIOS起動時)にシャットダウン状態記憶領域29のフラグの値を1とする。また、シャットダウン状態管理部33は、シャットダウン操作を受付けた場合にはフラグの値を0に設定する。すると、停電時等の非常時に所定の遮断処理を伴わずに電源が遮断された場合には、シャットダウン状態記憶領域29のフラグは1であり、正常時のシャットダウン(フラグの値は0)と判別することができる。   As an example, the shutdown state management unit 33 sets the value of the flag in the shutdown state storage area 29 to 1 when the POS terminal 1 is activated (for example, when the BIOS is activated). Moreover, the shutdown state management part 33 sets the value of a flag to 0, when a shutdown operation is received. Then, in the event of an emergency such as a power failure, when the power is shut off without a predetermined shut-off process, the flag in the shutdown state storage area 29 is 1, and it is determined that the shutdown is normal (the flag value is 0). can do.

次に、停電後に電源が復旧してPOS端末1が起動される場合の動作について説明する。起動部31は、BIOS、OSの起動処理を行い、スタートアップアプリを起動する。   Next, the operation when the power is restored after the power failure and the POS terminal 1 is activated will be described. The activation unit 31 performs BIOS and OS activation processing and activates a startup application.

モード判定部34は、シャットダウン状態記憶領域29のフラグの値が1である場合(即ち、所定の遮断処理を伴わずに電源が遮断された場合)には、省電力モード記憶領域28に記憶されている動作モードを読み取る。そして、モード判定部34は、電源遮断時の動作モードは省電力モードであるか否かを判定する。   When the value of the flag in the shutdown state storage area 29 is 1 (that is, when the power is shut off without performing a predetermined shutdown process), the mode determination unit 34 stores the value in the power saving mode storage area 28. Read the operating mode. And the mode determination part 34 determines whether the operation mode at the time of a power supply interruption is a power saving mode.

即ち、モード判定部34は、省電力モード記憶領域28にS0モードが記憶されている場合には、通常モードであるから電源遮断時の動作モードは省電力モードではないと判定する。一方、モード判定部34は、省電力モード記憶領域28にS1モード、S3モード、S4モードのいずれか1つが記憶されている場合には、電源遮断時の動作モードは省電力モードであると判定する。   That is, when the S0 mode is stored in the power saving mode storage area 28, the mode determination unit 34 determines that the operation mode when the power is turned off is not the power saving mode because it is the normal mode. On the other hand, when any one of the S1 mode, S3 mode, and S4 mode is stored in the power saving mode storage area 28, the mode determination unit 34 determines that the operation mode at the time of power-off is the power saving mode. To do.

動作モード移行部32は、起動部31によってスタートアップアプリが起動された場合に、POS端末1の動作モードを、モード判定部34が読み取った省電力モードに移行する。即ち、動作モード移行部32は、OSと協働してアプリケーションの起動状態を監視し、スタートアップに登録されている全てのアプリケーションの起動処理が終了した場合に、動作モードを上述の省電力モードに移行させる。   The operation mode transition unit 32 transitions the operation mode of the POS terminal 1 to the power saving mode read by the mode determination unit 34 when the startup application is activated by the activation unit 31. That is, the operation mode transition unit 32 cooperates with the OS to monitor the activation state of the application, and when the activation processing of all the applications registered in the startup is completed, the operation mode is changed to the above power saving mode. Transition.

次に、POS端末1が行う動作モード移行処理の手順について説明する。図4は、POS端末1が行う動作モード移行処理の手順を示すフローチャートである。   Next, the procedure of the operation mode transition process performed by the POS terminal 1 will be described. FIG. 4 is a flowchart showing a procedure of operation mode transition processing performed by the POS terminal 1.

POS端末1はOS起動後に、通常モード(S0モード)での動作を開始する(ステップS1)。動作モード移行部32は、所定時間、ユーザからの操作を受付けていないか判定する(ステップS2)。ユーザの操作を受付けている間(ステップS2:No)は、ステップS1に戻る。所定時間、ユーザからの操作を受付けていない場合(ステップS2:Yes)には、動作モード移行部32はPOS端末1を所定の省電力モード(例えば、S1モード)に移行し、移行先の省電力モードを示す情報を省電力モード記憶領域28に記憶させる(ステップS3)。   The POS terminal 1 starts the operation in the normal mode (S0 mode) after the OS is started (step S1). The operation mode transition unit 32 determines whether or not an operation from the user is accepted for a predetermined time (step S2). While the user's operation is accepted (step S2: No), the process returns to step S1. When the operation from the user is not accepted for a predetermined time (step S2: Yes), the operation mode transition unit 32 shifts the POS terminal 1 to a predetermined power saving mode (for example, S1 mode) and saves the transition destination. Information indicating the power mode is stored in the power saving mode storage area 28 (step S3).

そして、動作モード移行部32は、ユーザからの操作を受付けたか否かを判定する(ステップS4)。ユーザからの操作を受付けた場合(ステップS4:Yes)には、動作モード移行部32は、動作モードを通常モードに移行させる(ステップS1)。   Then, the operation mode transition unit 32 determines whether or not an operation from the user has been accepted (step S4). When an operation from the user is accepted (step S4: Yes), the operation mode transition unit 32 transitions the operation mode to the normal mode (step S1).

また、ユーザからの操作を受付けない場合(ステップS4:No)には、操作を受付けずに所定時間が経過したか否かを判定する(ステップS5)。所定時間が経過しない場合(ステップS5:No)には、ステップS4に戻り、所定時間が経過するまで処理待ちをする。一方、所定時間が経過した場合(ステップS5:Yes)には、他の省電力モード(例えば、S3モード)に移行し、移行先の省電力モードを示す情報を省電力モード記憶領域28に記憶させる(ステップS6)。   If no operation from the user is accepted (step S4: No), it is determined whether or not a predetermined time has elapsed without accepting the operation (step S5). If the predetermined time does not elapse (step S5: No), the process returns to step S4 and waits until the predetermined time elapses. On the other hand, when the predetermined time has elapsed (step S5: Yes), the mode shifts to another power saving mode (for example, S3 mode), and information indicating the destination power saving mode is stored in the power saving mode storage area 28. (Step S6).

次に、POS端末1が電源復旧後に行う起動処理の手順について説明する。図5は、POS端末1が電源復旧後に行う起動処理の手順を示すフローチャートである。   Next, the procedure of the startup process performed after the POS terminal 1 restores power will be described. FIG. 5 is a flowchart showing the procedure of the startup process performed by the POS terminal 1 after the power supply is restored.

まず、停電後に電源が復旧すると(ステップS11)、起動部31は、BIOSの起動処理を行う(ステップS12)。BIOS起動処理が終了すると、起動部31はOSの起動処理を行う(ステップS13)。尚、この場合の動作モードは通常モードである。そして、OSの起動処理が終了すると、起動部31はスタートアップに登録されているアプリケーションの起動処理を開始する(ステップS14)。   First, when the power is restored after a power failure (step S11), the activation unit 31 performs a BIOS activation process (step S12). When the BIOS activation process ends, the activation unit 31 performs an OS activation process (step S13). In this case, the operation mode is the normal mode. When the startup process of the OS ends, the startup unit 31 starts the startup process of the application registered in the startup (Step S14).

モード判定部34は、省電力モード記憶領域28に省電力モードが記憶されているか否かを判定する(ステップS15)。省電力モードは記憶されておらず、通常モード(S0モード)が記憶されている場合(ステップS15:No)には、通常モードを継続し(ステップS18)、起動処理を終了する。   The mode determination unit 34 determines whether or not the power saving mode is stored in the power saving mode storage area 28 (step S15). When the power saving mode is not stored and the normal mode (S0 mode) is stored (step S15: No), the normal mode is continued (step S18), and the startup process is terminated.

ステップS15において、省電力モードが記憶されている場合(ステップS15:Yes)には、動作モード移行部32は、ステップS14において開始されたアプリケーションの起動処理が終了したか否かを判定する(ステップS16)。アプリケーションの起動処理が終了していない場合(ステップS16:No)には、処理待ちをする(ステップS16)。アプリケーションの起動処理が終了した場合(ステップS16:Yes)には、動作モード移行部32は、ステップS15において読み取った省電力モードに動作モードを移行して(ステップS17)、起動処理を終了する。   In step S15, when the power saving mode is stored (step S15: Yes), the operation mode transition unit 32 determines whether or not the application activation process started in step S14 has ended (step S15). S16). If the application activation process is not completed (step S16: No), the process waits (step S16). When the application activation process ends (step S16: Yes), the operation mode shift unit 32 shifts the operation mode to the power saving mode read in step S15 (step S17), and ends the activation process.

このように、第1の実施形態によれば、電源復旧後において所定のアプリケーションが起動した後に省電力モードに移行させるため、省電力モードから復帰する場合にも、速やかにアプリケーションを利用することができる。   As described above, according to the first embodiment, after a predetermined application is activated after the power is restored, the application is shifted to the power saving mode. Therefore, even when returning from the power saving mode, the application can be used promptly. it can.

(第2の実施形態)
図6は、第2の実施形態のPOS端末201の機能的構成を示す機能ブロック図である。第1の実施形態で説明した構成と同様の構成については同一の符号を付し、ここでの説明を省略する。POS端末201の制御部230は、図6に示すように、起動部31と、動作モード移行部232と、シャットダウン状態管理部33と、モード判定部34とを主に備えている。また、RAM23は、アプリ起動時間テーブル35をさらに記憶する。
(Second Embodiment)
FIG. 6 is a functional block diagram illustrating a functional configuration of the POS terminal 201 according to the second embodiment. The same components as those described in the first embodiment are denoted by the same reference numerals, and description thereof is omitted here. As shown in FIG. 6, the control unit 230 of the POS terminal 201 mainly includes an activation unit 31, an operation mode transition unit 232, a shutdown state management unit 33, and a mode determination unit 34. The RAM 23 further stores an application activation time table 35.

図7は、アプリ起動時間テーブル35のデータ構成の一例を示す図である。図7に示すように、アプリ起動時間テーブル35は、スタートアップアプリ(アプリ)の起動に要する時間(起動時間)を各アプリケーションに対応付けて記憶する。例えば、アプリ起動時間テーブル35は、アプリA、アプリBの起動時間はそれぞれ20秒、アプリCの起動時間は30秒であると記憶している。   FIG. 7 is a diagram illustrating an example of a data configuration of the application activation time table 35. As shown in FIG. 7, the application activation time table 35 stores the time (activation time) required for activation of the startup application (application) in association with each application. For example, the application activation time table 35 stores that the activation time of the application A and the application B is 20 seconds, and the activation time of the application C is 30 seconds.

各アプリケーションの起動時間は、このPOS端末201の出荷前に予め測定されて、アプリ起動時間テーブル35に格納される。また、出荷後に他のアプリケーションがスタートアップに追加される場合には、ユーザがそのアプリケーションの起動時間をアプリ起動時間テーブル35に追加して記憶させる。   The activation time of each application is measured in advance before shipment of the POS terminal 201 and stored in the application activation time table 35. Further, when another application is added to the startup after shipment, the user adds the startup time of the application to the application startup time table 35 and stores it.

次に、停電後に電源が復旧してPOS端末201が起動される場合の動作について説明する。   Next, an operation when the power is restored after the power failure and the POS terminal 201 is activated will be described.

動作モード移行部232は、アプリ起動時間テーブル35に基づいて、スタートアップアプリの起動に要する時間が経過したか否かを判定する。また、動作モード移行部232は、スタートアップアプリの起動に要する時間が経過した場合に、POS端末201の動作モードを、省電力モード記憶領域28に記憶されている省電力モードに移行させる。   Based on the application activation time table 35, the operation mode transition unit 232 determines whether the time required for activation of the startup application has elapsed. In addition, the operation mode transition unit 232 transitions the operation mode of the POS terminal 201 to the power saving mode stored in the power saving mode storage area 28 when the time required for starting the startup application has elapsed.

より詳細には、動作モード移行部232は、アプリ起動時間テーブル35に格納されているスタートアップアプリの起動に要する時間の総和を含む時間が経過した場合に、POS端末201の動作モードを電源遮断前のスタンバイモードに移行させる。   More specifically, the operation mode transition unit 232 changes the operation mode of the POS terminal 201 before power-off when the time including the total time required for activation of the startup application stored in the application activation time table 35 has elapsed. Transition to standby mode.

ここで、アプリケーションの起動に要する時間の総和を含む時間としては、例えば、各アプリの起動時間の総和に所定の時間を加えた時間を用いることができる。即ち、図7の例によれば動作モード移行部232は、アプリAの起動時間である20秒と、アプリBの起動時間である20秒と、アプリCの起動時間である30秒との総和である70秒に、予備の時間として例えば10秒を加えた80秒が経過した場合に、動作モードを電源遮断前のスタンバイモードに移行させる。   Here, as the time including the total time required to start the application, for example, a time obtained by adding a predetermined time to the total start time of each application can be used. That is, according to the example of FIG. 7, the operation mode transition unit 232 adds the sum of the activation time of the application A of 20 seconds, the activation time of the application B of 20 seconds, and the activation time of the application C of 30 seconds. For example, when 80 seconds including 10 seconds as a spare time elapses in 70 seconds, the operation mode is shifted to the standby mode before power-off.

尚、アプリの起動時間の総和を含む時間のその他の例としては、アプリの起動時間を所定割合だけ割増して、例えばアプリの起動時間の総和を1.1倍した時間としてもよい。   In addition, as another example of the time including the sum of the activation times of the apps, it may be a time obtained by multiplying the activation time of the apps by a predetermined ratio, for example, by 1.1 times the sum of the activation times of the apps.

これにより、複数のアプリケーションを起動させる場合であっても、全てのアプリケーションの起動に要する時間を概算することができる。従って、全てのアプリケーションが起動した後に動作モードの移行を行うことができる。   Thereby, even when a plurality of applications are activated, the time required for activation of all the applications can be estimated. Therefore, the operation mode can be shifted after all applications are activated.

次に、POS端末201が電源復旧後に行う起動処理の手順について説明する。図8は、POS端末201が電源復旧後に行う起動処理の手順を示すフローチャートである。尚、図5で説明した手順と同様の手順についてはここでの説明を省略する。   Next, a description will be given of the startup process performed by the POS terminal 201 after the power supply is restored. FIG. 8 is a flowchart showing the procedure of the startup process performed by the POS terminal 201 after the power is restored. In addition, description here is abbreviate | omitted about the procedure similar to the procedure demonstrated in FIG.

ステップS15において、省電力モード記憶領域28に省電力モードが記憶されている場合(ステップS15:Yes)には、ステップS26に移行する。動作モード移行部232は、アプリ起動時間テーブル35に基づいて、スタートアップアプリの起動処理に要する時間が経過したか否か判定する(ステップS26)。即ち、アプリ起動時間テーブル35に格納されている各アプリケーションの起動時間の総和を含む時間が経過したか否かを判定する(ステップS26)。   In step S15, when the power saving mode is stored in the power saving mode storage area 28 (step S15: Yes), the process proceeds to step S26. Based on the application activation time table 35, the operation mode transition unit 232 determines whether the time required for the startup application activation process has elapsed (step S26). That is, it is determined whether or not the time including the sum of the activation times of the applications stored in the application activation time table 35 has elapsed (step S26).

そして、スタートアップアプリの起動時間に要する時間が経過していない場合(ステップS26:No)には、経過待ちを行う(ステップS26)。アプリケーションの起動時間に要する時間が経過した場合(ステップS26:Yes)には、動作モード移行部232は、ステップS15において読み取った省電力モードに動作モードを移行して(ステップS17)、起動処理を終了する。   If the time required for the startup application startup time has not elapsed (step S26: No), the process waits (step S26). When the time required for the application activation time has elapsed (step S26: Yes), the operation mode transition unit 232 transitions the operation mode to the power saving mode read in step S15 (step S17), and performs the activation process. finish.

尚、上述では、動作モード移行部232は、各アプリケーションの総和を含む時間が経過した場合に動作モードを移行するとしたが、モード移行の条件はその他の条件としてもよい。その他の例として、動作モード移行部232は、起動時間が最長であるアプリケーションの起動時間を含む時間が経過した場合に、省電力モードに移行させるとしてもよい。   In the above description, the operation mode transition unit 232 transitions the operation mode when the time including the sum of each application has elapsed, but the mode transition condition may be other conditions. As another example, the operation mode transition unit 232 may transition to the power saving mode when the time including the activation time of the application having the longest activation time has elapsed.

このように、第2の実施形態によれば、所定のアプリケーションの起動に要する時間が経過した場合に省電力モードに移行させるため、該アプリケーションを起動させてから省電力モードに移行させることができる。従って、省電力モードから復帰する場合にも、速やかにこのアプリケーションを利用することができる。   As described above, according to the second embodiment, when the time required for starting a predetermined application has elapsed, the mode is shifted to the power saving mode. Therefore, after the application is started, the mode can be shifted to the power saving mode. . Therefore, even when returning from the power saving mode, this application can be used promptly.

以上説明したとおり、第1および第2の実施形態によれば、アプリケーションが起動した後に省電力モード等に移行させることができるので、停電復旧後に省電力モードに移行させた場合に速やかにアプリケーションを用いることができる。   As described above, according to the first and second embodiments, the application can be shifted to the power saving mode after the application is started. Can be used.

尚、上述では、所定のアプリケーションとしてスタートアップに登録したアプリケーションの起動について判定するとしたが、所定のアプリケーションはこれに限定されるものではなく、予め設定されたその他のアプリケーションの起動について判定を行うとしてもよい。   In the above description, the activation of the application registered in the startup as the predetermined application is determined. However, the predetermined application is not limited to this, and it may be determined whether the activation of another preset application is performed. Good.

なお、本実施形態のPOS端末1、201で実行されるプログラムは、ROM等に予め組み込まれて提供される。本実施形態のPOS端末1、201で実行されるプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。   The program executed by the POS terminals 1 and 201 of the present embodiment is provided by being incorporated in advance in a ROM or the like. The program executed in the POS terminals 1 and 201 of the present embodiment is a file in an installable or executable format, such as a CD-ROM, a flexible disk (FD), a CD-R, a DVD (Digital Versatile Disk), or the like. You may comprise so that it may record and provide on a computer-readable recording medium.

さらに、本実施形態のPOS端末1、201で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。また、本実施形態のPOS端末1、201で実行されるプログラムをインターネット等のネットワーク経由で提供または配布するように構成しても良い。   Furthermore, the program executed by the POS terminals 1 and 201 of the present embodiment may be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network. The program executed by the POS terminals 1 and 201 of the present embodiment may be configured to be provided or distributed via a network such as the Internet.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

1、201…POS端末
12…ドロワ
13…キーボード
14…モードキー
15…店員用ディスプレイ
16…客用ディスプレイ
17…プリンタ
18…レシート発行口
19…スキャナ
25…I/O機器制御部
26…バス
27…HDD
28…省電力モード記憶領域
29…シャットダウン状態記憶領域
30、230…制御部
31…起動部
32、232…動作モード移行部
33…シャットダウン状態管理部
34…モード判定部
35…アプリ起動時間テーブル
DESCRIPTION OF SYMBOLS 1,201 ... POS terminal 12 ... Drawer 13 ... Keyboard 14 ... Mode key 15 ... Salesperson display 16 ... Customer display 17 ... Printer 18 ... Receipt issue port 19 ... Scanner 25 ... I / O device control unit 26 ... Bus 27 ... HDD
28 ... Power-saving mode storage area 29 ... Shutdown state storage area 30, 230 ... Control unit 31 ... Activation unit 32,232 ... Operation mode transition unit 33 ... Shutdown state management unit 34 ... Mode determination unit 35 ... Application activation time table

特開2007−243547号公報JP 2007-243547 A

Claims (6)

自装置の動作モードを記憶する記憶手段と、
前記動作モードにおいて所定の遮断処理を伴わずに電源が遮断し、この電源遮断後に電源供給が復旧した場合に、自装置を起動し、さらに、所定のアプリケーションを起動させる起動手段と、
前記記憶手段に前記動作モードとして省電力モードが記憶されている場合には、前記アプリケーションの起動後に、自装置を前記省電力モードに移行させるモード移行手段と、
を備える情報処理装置。
Storage means for storing the operation mode of the device itself;
In the operation mode, the power is shut off without a predetermined shut-off process, and when the power supply is restored after the power is shut off, the self-device is started, and further, a starting unit for starting a predetermined application,
When a power saving mode is stored as the operation mode in the storage means, after the application is started, a mode shifting means for shifting the own apparatus to the power saving mode;
An information processing apparatus comprising:
自装置の動作モードを記憶する記憶手段と、
前記動作モードにおいて所定の遮断処理を伴わずに電源が遮断し、この電源遮断後に電源供給が復旧した場合に、自装置を起動し、さらに、所定のアプリケーションを起動させる起動手段と、
前記記憶手段に前記動作モードとして省電力モードが記憶されている場合には、前記アプリケーションの起動に要する時間の経過後に、自装置を前記省電力モードに移行させるモード移行手段と、
を備える情報処理装置。
Storage means for storing the operation mode of the device itself;
In the operation mode, the power is shut off without a predetermined shut-off process, and when the power supply is restored after the power is shut off, the self-device is started, and further, a starting unit for starting a predetermined application,
When a power saving mode is stored as the operation mode in the storage means, mode transition means for shifting the own apparatus to the power saving mode after elapse of time required for starting the application;
An information processing apparatus comprising:
前記記憶手段は、前記アプリケーションの起動に要する時間を前記各アプリケーションに対応付けて記憶し、
前記モード移行手段は、前記記憶手段に前記動作モードとして省電力モードが記憶されている場合には、前記記憶手段が記憶する前記アプリケーションの起動に要する時間の経過後に、自装置を前記省電力モードに移行させる、
請求項2に記載の情報処理装置。
The storage means stores the time required for starting the application in association with each application,
In the case where a power saving mode is stored as the operation mode in the storage unit, the mode transition unit causes the device to switch itself to the power saving mode after the time required for starting the application stored in the storage unit has elapsed. To move to
The information processing apparatus according to claim 2.
前記モード移行手段は、前記各アプリケーションの起動に要する時間の総和を含む時間の経過後に、自装置を前記省電力モードに移行させる、
請求項3に記載の情報処理装置。
The mode shift means shifts the own device to the power saving mode after elapse of time including the total time required to start each application.
The information processing apparatus according to claim 3.
自装置の動作モードを記憶する記憶手段を備えた情報処理装置において、コンピュータを、
前記動作モードにおいて所定の遮断処理を伴わずに電源が遮断し、この電源遮断後に電源供給が復旧した場合に、自装置を起動し、さらに、所定のアプリケーションを起動させる起動手段と、
前記記憶手段に前記動作モードとして省電力モードが記憶されている場合には、前記アプリケーションの起動後に、自装置を前記省電力モードに移行させるモード移行手段と、
として機能させるためのプログラム。
In an information processing apparatus provided with storage means for storing an operation mode of the own apparatus,
In the operation mode, the power is shut off without a predetermined shut-off process, and when the power supply is restored after the power is shut off, the self-device is started, and further, a starting unit for starting a predetermined application,
When a power saving mode is stored as the operation mode in the storage means, after the application is started, a mode shifting means for shifting the own apparatus to the power saving mode;
Program to function as.
自装置の動作モードを記憶する記憶手段を備えた情報処理装置において、コンピュータを、
前記動作モードにおいて所定の遮断処理を伴わずに電源が遮断し、この電源遮断後に電源供給が復旧した場合に、自装置を起動し、さらに、所定のアプリケーションを起動させる起動手段と、
前記記憶手段に前記動作モードとして省電力モードが記憶されている場合には、前記アプリケーションの起動に要する時間の経過後に、自装置を前記省電力モードに移行させるモード移行手段と、
として機能させるためのプログラム。
In an information processing apparatus provided with storage means for storing an operation mode of the own apparatus,
In the operation mode, the power is shut off without a predetermined shut-off process, and when the power supply is restored after the power is shut off, the self-device is started, and further, a starting unit for starting a predetermined application,
When a power saving mode is stored as the operation mode in the storage means, mode transition means for shifting the own apparatus to the power saving mode after elapse of time required for starting the application;
Program to function as.
JP2011106563A 2011-05-11 2011-05-11 Information processing device and program Withdrawn JP2012238166A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011106563A JP2012238166A (en) 2011-05-11 2011-05-11 Information processing device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011106563A JP2012238166A (en) 2011-05-11 2011-05-11 Information processing device and program

Publications (1)

Publication Number Publication Date
JP2012238166A true JP2012238166A (en) 2012-12-06

Family

ID=47461016

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011106563A Withdrawn JP2012238166A (en) 2011-05-11 2011-05-11 Information processing device and program

Country Status (1)

Country Link
JP (1) JP2012238166A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014119008A1 (en) * 2013-01-31 2014-08-07 株式会社 東芝 Electronic device and power-saving control method
US9164571B2 (en) 2013-01-31 2015-10-20 Kabushiki Kaisha Toshiba Electronic apparatus and power saving control method
JP2017073597A (en) * 2015-10-05 2017-04-13 コニカミノルタ株式会社 Image formation device and management program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014119008A1 (en) * 2013-01-31 2014-08-07 株式会社 東芝 Electronic device and power-saving control method
JP2014149652A (en) * 2013-01-31 2014-08-21 Toshiba Corp Electronic apparatus and power-saving control method
US9164571B2 (en) 2013-01-31 2015-10-20 Kabushiki Kaisha Toshiba Electronic apparatus and power saving control method
JP2017073597A (en) * 2015-10-05 2017-04-13 コニカミノルタ株式会社 Image formation device and management program

Similar Documents

Publication Publication Date Title
JP2015022361A (en) Commodity sales data processor and control program
JP2011180906A (en) Commodity sales data processing device and control program therefor
JP2012238166A (en) Information processing device and program
JP6166668B2 (en) Power supply control circuit and electronic device
JP2013058097A (en) Article sale data processing apparatus
JP5612045B2 (en) Input device and program
JP2011039963A (en) Electronic equipment, commodity sales data registration device, and control program of electronic equipment
JP7396520B2 (en) Sales data processing system
JP5446171B2 (en) Sales data processor
JP4910030B2 (en) Electronics
JP5684762B2 (en) Input device, processing device, and program
JP2001306345A (en) Information processor and pos terminal
JP6964480B2 (en) Product sales data processing equipment, input equipment and programs
JP5473160B2 (en) Product sales data processing device
JP4825659B2 (en) Product registration processing device
JP5450572B2 (en) Data processing apparatus and program
JP2012155364A (en) Information processor and program
JP5379764B2 (en) Product sales data processing apparatus and program
JP3912910B2 (en) Product sales registration processing device
JP2011059955A (en) Merchandise registration device
JP5830060B2 (en) Information processing apparatus, merchandise sales data processing apparatus, and program
JP2011081566A (en) Electronic apparatus and program
JP2007226490A (en) Cash register (register) with function updatable personal computer, register personal computer,
JP6155789B2 (en) Product sales processing system
JP5380399B2 (en) POS terminal device, remote management device, and POS system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140805