JP2013114400A - Data processor and program - Google Patents

Data processor and program Download PDF

Info

Publication number
JP2013114400A
JP2013114400A JP2011259240A JP2011259240A JP2013114400A JP 2013114400 A JP2013114400 A JP 2013114400A JP 2011259240 A JP2011259240 A JP 2011259240A JP 2011259240 A JP2011259240 A JP 2011259240A JP 2013114400 A JP2013114400 A JP 2013114400A
Authority
JP
Japan
Prior art keywords
power outage
data
time
shutdown
blackout
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
JP2011259240A
Other languages
Japanese (ja)
Other versions
JP5450572B2 (en
Inventor
Kazuhiro Yamamoto
和洋 山本
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 JP2011259240A priority Critical patent/JP5450572B2/en
Publication of JP2013114400A publication Critical patent/JP2013114400A/en
Application granted granted Critical
Publication of JP5450572B2 publication Critical patent/JP5450572B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

PROBLEM TO BE SOLVED: To surely complete operator operation even when a planed blackout (blackout in rotation) is executed.SOLUTION: A data processor comprises: first data reading means for reading blackout schedule data in which a blackout execution schedule is set; reporting means for reporting an alarm indicating that a blackout is to be executed when there is, in the blackout schedule data read by the first data reading means, blackout schedule data in which a blackout start date/time is set within a first time period starting from a current date/time during which operation under processing can be completed and shut-down processing of an OS (Operating System) can be executed; second data reading means for reading again the blackout schedule data when a prescribed time has elapsed from the start of the alarm reporting; and shut-down start means for staring shut-down of the OS when there is, in the blackout schedule data read by the second data reading means, blackout schedule data in which a blackout start date/time is set within a second time period shorter than the first time period, starting from a current date/time during which shut-down processing of the OS can be executed.

Description

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

従来、補助電源を備え、主電源に停電が発生した際には補助電源からの電源供給に切り換えるとともに、主電源の停電検知からの経過時間を計測し、その計測時間が所定時間に達するとシステムを正常に終了させるためのシャットダウン処理を行うデータ処理装置が知られている。   Conventionally, an auxiliary power supply has been provided. When a power failure occurs in the main power supply, the power supply is switched from the auxiliary power supply, and the time elapsed since the main power supply is detected is measured. There is known a data processing apparatus that performs a shutdown process for normally terminating the process.

また、近年、発電所による発電能力の不足などを補うために、地域ごとに計画停電(輪番停電)が実施されることがある。   In recent years, planned power outages (rotary power outages) may be implemented in each region in order to compensate for the lack of power generation capacity at power plants.

しかしながら、計測時間が所定時間に達したことを条件とした場合、停電発生後のデータ処理が終了する前にシャットダウン処理が実行されてしまい、処理中のデータが消失してしまったり、データベースのデータファイルが破壊されてしまったりすることがある。   However, under the condition that the measurement time has reached the specified time, the shutdown process is executed before the data processing after the power failure ends, and the data being processed may be lost or the data in the database The file may be destroyed.

実施形態のデータ処理装置は、停電の実施予定を設定した停電予定データを読み込む第1データ読込手段と、前記第1データ読込手段によって読み込んだ停電予定データの中に、停電開始日時が現在の日時から処理中の操作の終了およびOS(Operating System)についてのシャットダウン処理を実行することが可能な第1の時間内に設定されている停電予定データがある場合に、停電が実施される旨の警告を報知する報知手段と、前記警告の報知開始から前記第1の時間より短くOSについてのシャットダウン処理を実行することが可能な第2の時間を確保可能な所定時間を経過した場合、前記停電予定データを再度読み込む第2データ読込手段と、前記第2データ読込手段によって読み込んだ停電予定データの中に、停電開始日時が現在の日時から前記第2の時間内に設定されている停電予定データがある場合に、OSについてシャットダウンを開始するシャットダウン開始手段と、を備える。   The data processing apparatus according to the embodiment includes a first data reading unit that reads out a power outage schedule data in which a power outage execution schedule is set, and a power outage start date and time among the power outage schedule data read out by the first data reading unit. Warning that a power outage will be implemented if there is scheduled power outage data set within the first time during which the operation being processed can be terminated and the shutdown process for the OS (Operating System) can be executed And a power outage schedule when a predetermined time that can secure a second time during which the shutdown process for the OS can be executed is shorter than the first time from the start of the warning notification. Among the second data reading means for re-reading data and the scheduled power outage data read by the second data reading means, the power outage start date is the current date If there is a power failure schedule data which is set in the second time from and a shutdown start means for starting the shutdown for OS.

実施形態のプログラムは、コンピュータを、停電の実施予定を設定した停電予定データを読み込む第1データ読込手段と、前記第1データ読込手段によって読み込んだ停電予定データの中に、停電開始日時が現在の日時から処理中の操作の終了およびOS(Operating System)についてのシャットダウン処理を実行することが可能な第1の時間内に設定されている停電予定データがある場合に、停電が実施される旨の警告を報知する報知手段と、前記警告の報知開始から前記第1の時間より短くOSについてのシャットダウン処理を実行することが可能な第2の時間を確保可能な所定時間を経過した場合、前記停電予定データを再度読み込む第2データ読込手段と、前記第2データ読込手段によって読み込んだ停電予定データの中に、停電開始日時が現在の日時から前記第2の時間内に設定されている停電予定データがある場合に、OSについてシャットダウンを開始するシャットダウン開始手段と、として機能させる。   The program according to the embodiment includes a first data reading unit that reads a power outage schedule data in which a power outage schedule is set, and a power outage start date and time among the power outage schedule data read by the first data reading unit. An indication that a power outage will be implemented when there is scheduled power outage data set within the first time that can be executed from the date and time and the shutdown processing for the OS (Operating System) is completed. A notification means for notifying a warning; and when a predetermined time has elapsed that can ensure a second time during which a shutdown process for the OS can be executed is shorter than the first time from the start of the notification of the warning. Among the second data reading means for rereading the schedule data and the scheduled power outage date read by the second data reading means, There If there is a power failure schedule data being set the current date and time in the second time, the shutdown initiator means for initiating a shutdown for OS, to function as a.

図1は、本実施形態の商品販売システムを示すシステム構成図である。FIG. 1 is a system configuration diagram showing a product sales system according to the present embodiment. 図2は、ホストコンピュータのハードウェア構成を示すブロック図である。FIG. 2 is a block diagram illustrating a hardware configuration of the host computer. 図3は、停電予定データのデータ構成を示す模式図である。FIG. 3 is a schematic diagram illustrating a data configuration of the scheduled power outage data. 図4は、店舗コンピュータのハードウェア構成を示すブロック図である。FIG. 4 is a block diagram showing a hardware configuration of the store computer. 図5は、店舗コンピュータの機能構成を示す機能ブロック図である。FIG. 5 is a functional block diagram showing a functional configuration of the store computer. 図6は、シャットダウン制御処理の流れを概略的に示すフローチャートである。FIG. 6 is a flowchart schematically showing the flow of the shutdown control process. 図7は、警告メッセージの一例を示す正面図である。FIG. 7 is a front view showing an example of a warning message.

本実施形態を図1ないし図7に基づいて説明する。本実施の形態は、データ処理装置として店舗コンピュータへ適用した例である。なお、データ処理装置として店舗コンピュータに限るものではなく、POS(Point of Sales:販売時点管理)端末などにも適用可能である。   This embodiment will be described with reference to FIGS. This embodiment is an example applied to a store computer as a data processing device. Note that the data processing apparatus is not limited to a store computer, but can be applied to a POS (Point of Sales) terminal.

図1は、本実施形態の商品販売システム101を示すシステム構成図である。本実施形態の商品販売システム101は、本部102に設置されたホストコンピュータ201と、コンビニエンスストア103に設置されて店舗業務を統括管理する店舗コンピュータ301とを有する。ホストコンピュータ201と店舗コンピュータ301とは、通信ネットワーク104によって互いにデータ通信可能に接続されている。   FIG. 1 is a system configuration diagram showing a product sales system 101 according to the present embodiment. The merchandise sales system 101 according to the present embodiment includes a host computer 201 installed in the headquarters 102 and a store computer 301 installed in the convenience store 103 for comprehensively managing store operations. The host computer 201 and the store computer 301 are connected to each other via a communication network 104 so that data communication is possible.

店舗コンピュータ301は、キーボード312及びポインティングデバイスであるマウス313を備える。また、ユーザである店員に対する情報報知機能を有するユーザインターフェースとしてのLCD(Liquid Crystal Display)311を備える。   The store computer 301 includes a keyboard 312 and a mouse 313 that is a pointing device. In addition, an LCD (Liquid Crystal Display) 311 is provided as a user interface having an information notification function for a store clerk who is a user.

店舗コンピュータ301には、LAN(Local Area Network)ケーブル131を介して複数台のPOS(Point of Sales:販売時点管理)端末401がデータ通信可能に接続されている。POS端末401は、コンビニエンスストア103の店頭に配置されて、商品販売データ処理を実行する。   A plurality of POS (Point of Sales) terminals 401 are connected to the store computer 301 via a LAN (Local Area Network) cable 131 so that data communication is possible. The POS terminal 401 is arranged at the store of the convenience store 103 and executes merchandise sales data processing.

図2は、ホストコンピュータ201のハードウェア構成を示すブロック図である。ホストコンピュータ201は、各部を駆動制御するマイクロコンピュータ251を備える。マイクロコンピュータ251は、各部を集中的に制御するCPU(Central Processing Unit)252に、バスライン255を介して、制御プログラム等の固定的データを予め記憶するROM(Read Only Memory)253と、各種データを書き換え自在に記憶してワークエリア等として機能するRAM(Random Access Memory)254とが接続されて構成されている。したがって、マイクロコンピュータ251は、情報処理を実行する情報処理部を構成する。   FIG. 2 is a block diagram illustrating a hardware configuration of the host computer 201. The host computer 201 includes a microcomputer 251 that drives and controls each unit. The microcomputer 251 includes a CPU (Central Processing Unit) 252 that centrally controls each unit, a ROM (Read Only Memory) 253 that stores fixed data such as a control program in advance via a bus line 255, and various data. Is rewritable and is connected to a RAM (Random Access Memory) 254 which functions as a work area or the like. Therefore, the microcomputer 251 constitutes an information processing unit that executes information processing.

マイクロコンピュータ251には、バスライン255を介して、表示コントローラ256、キーボードコントローラ257、HDD258、及び、通信インターフェース259が接続されている。   A display controller 256, a keyboard controller 257, an HDD 258, and a communication interface 259 are connected to the microcomputer 251 via a bus line 255.

表示コントローラ256は、画像データに基づいてLCD211を駆動制御し、画像データに応じた画像をLCD211に表示させる。キーボードコントローラ257は、キーボード212からの入力信号をマイクロコンピュータ251に取り込む。通信インターフェース259は、通信ネットワーク104と接続されている。つまり、通信ネットワーク104を介して複数の店舗コンピュータ301とのデータ通信を可能とする。   The display controller 256 controls driving of the LCD 211 based on the image data, and causes the LCD 211 to display an image corresponding to the image data. The keyboard controller 257 takes an input signal from the keyboard 212 into the microcomputer 251. The communication interface 259 is connected to the communication network 104. That is, data communication with a plurality of store computers 301 is enabled via the communication network 104.

HDD258には、商品を特定する商品コードに対応付けて商品名、単価、分類名等を記憶する商品マスタファイルF1、停電予定データファイルF2が格納されている。   The HDD 258 stores a product master file F1 and a power outage schedule data file F2 that store product names, unit prices, classification names, and the like in association with product codes that specify products.

図3は、停電予定データファイルF2に格納される停電予定データのデータ構成を示す模式図である。図3に示すように、停電予定データファイルF2は、発電所による発電能力の不足などを補うために実施される地域ごとの計画停電(輪番停電)の開始日時、終了日時、実施フラグなどを含む停電の実施予定を設定した停電予定データを記憶する。開始日時は、計画停電(輪番停電)の開始予定日時であり、終了日時は、計画停電(輪番停電)の終了予定日時である。また、実施フラグは、計画停電(輪番停電)を実施する場合、「0:実施」とし、停電予定設定後に中止になった場合に「1:未実施」とする。なお、停電予定データファイルF2に格納される停電予定データは、例えば精算時における店舗コンピュータ301からのデータ受信のタイミングで、店舗コンピュータ301に対して配信される。   FIG. 3 is a schematic diagram showing a data configuration of the scheduled power outage data stored in the planned power outage data file F2. As shown in FIG. 3, the scheduled power outage data file F2 includes the start date / time, end date / time, execution flag, etc. of the planned power outage (rotary power outage) for each region implemented to compensate for the lack of power generation capacity by the power plant. Stores power outage schedule data that sets the power outage schedule. The start date / time is the scheduled start date / time of the planned power outage (rotary power outage), and the end date / time is the scheduled end date / time of the planned power outage (rotary power outage). The implementation flag is “0: implemented” when a planned power outage (rotary power outage) is performed, and “1: not implemented” when the operation is canceled after the scheduled power outage is set. The power outage schedule data stored in the power outage schedule data file F2 is distributed to the store computer 301, for example, at the timing of data reception from the store computer 301 at the time of payment.

図4は、店舗コンピュータ301のハードウェア構成を示すブロック図である。店舗コンピュータ301は、各部を駆動制御するマイクロコンピュータ351を備える。マイクロコンピュータ351は、各部を集中的に制御するCPU352に、バスライン355を介して、制御プログラム等の固定的データを予め記憶するROM353と、各種データを書き換え自在に記憶してワークエリア等として機能するRAM354とが接続されて構成されている。したがって、マイクロコンピュータ351は、情報処理を実行する情報処理部を構成する。   FIG. 4 is a block diagram illustrating a hardware configuration of the store computer 301. The store computer 301 includes a microcomputer 351 that drives and controls each unit. The microcomputer 351 functions as a work area or the like by storing a ROM 353 for storing fixed data such as a control program in advance in a CPU 352 for centrally controlling each unit, a bus program 355, and various data in a rewritable manner. RAM 354 to be connected. Therefore, the microcomputer 351 constitutes an information processing unit that executes information processing.

マイクロコンピュータ351には、バスライン355を介して、表示コントローラ356、キーボードコントローラ357、ポインティングデバイスコントローラ358、HDD359、第1の通信インターフェース360、及び第2の通信インターフェース361が接続されている。   A display controller 356, a keyboard controller 357, a pointing device controller 358, an HDD 359, a first communication interface 360, and a second communication interface 361 are connected to the microcomputer 351 via a bus line 355.

表示コントローラ356は、画像データに基づいてLCD311を駆動制御し、画像データに応じた画像をLCD311に表示させる。キーボードコントローラ357は、テンキー312a及び「Enter」と表示された登録キー312bを含むキーボード312からの入力信号をマイクロコンピュータ351に取り込む。ポインティングデバイスコントローラ358は、ポインティングデバイスであるマウス313からの入力信号をマイクロコンピュータ351に取り込む。第1の通信インターフェース360は、LANケーブル131を介して他の機器、つまり、POS端末401との間でのデータ通信を可能とする。第2の通信インターフェース361は、通信ネットワーク104と接続されている。つまり、通信ネットワーク104を介してホストコンピュータ201とのデータ通信を可能とする。   The display controller 356 drives and controls the LCD 311 based on the image data, and causes the LCD 311 to display an image corresponding to the image data. The keyboard controller 357 captures input signals from the keyboard 312 including the numeric keypad 312 a and the registration key 312 b displayed as “Enter” into the microcomputer 351. The pointing device controller 358 captures an input signal from the mouse 313 that is a pointing device into the microcomputer 351. The first communication interface 360 enables data communication with another device, that is, the POS terminal 401 via the LAN cable 131. The second communication interface 361 is connected to the communication network 104. That is, data communication with the host computer 201 is enabled via the communication network 104.

HDD359には、商品コードに対応付けて商品名、単価、分類名等を記憶する商品データファイルF4が格納され、さらに、停電予定データファイルF5が格納されている。なお、商品データファイルF4は、例えば精算時におけるホストコンピュータ201に対するデータ送信のタイミングで、更新される。また、HDD359には、OS(Operating System)のほか、アプリケーションプログラムPも格納されている。   The HDD 359 stores a product data file F4 that stores a product name, a unit price, a classification name, and the like in association with the product code, and further stores a power outage schedule data file F5. The product data file F4 is updated, for example, at the timing of data transmission to the host computer 201 at the time of payment. The HDD 359 stores an application program P in addition to the OS (Operating System).

停電予定データファイルF5は、図3で示した停電予定データファイルF2に格納される停電予定データのデータ構成と同様の停電予定データを記憶する。すなわち、停電予定データファイルF5に格納される停電予定データは、発電所による発電能力の不足などを補うために実施される計画停電(輪番停電)の開始日時、終了日時、実施フラグなどを含む。なお、ホストコンピュータ201は、停電予定データを、例えば精算時におけるホストコンピュータ201に対するデータ送信のタイミングで、該当地域に属する店舗へ配信する。データ配信を受けた店舗(店舗コンピュータ301)では、即時、配信された停電予定データを停電予定データファイルF5に格納して更新する。   The power failure schedule data file F5 stores power failure schedule data similar to the data configuration of the power failure schedule data stored in the power failure schedule data file F2 shown in FIG. That is, the power outage schedule data stored in the power outage schedule data file F5 includes the start date / time, the end date / time, the execution flag, etc. of the planned power outage (rotary power outage) that is implemented to make up for the lack of power generation capacity by the power plant. The host computer 201 distributes the scheduled power outage data to stores belonging to the corresponding area, for example, at the timing of data transmission to the host computer 201 at the time of settlement. In the store (store computer 301) that has received the data distribution, the distributed power outage schedule data is immediately stored in the power outage schedule data file F5 and updated.

次に、店舗コンピュータ301におけるシャットダウン制御処理について説明する。図5に示すように、店舗コンピュータ301のマイクロコンピュータ351は、HDD359に記憶されたアプリケーションプログラムPとの協働により各種の機能部(第1データ読込手段111、報知手段112、第2データ読込手段113、シャットダウン開始手段114等)を実現し、シャットダウン制御処理を実行する。   Next, the shutdown control process in the store computer 301 will be described. As shown in FIG. 5, the microcomputer 351 of the store computer 301 has various functional units (first data reading means 111, notification means 112, second data reading means) in cooperation with the application program P stored in the HDD 359. 113, the shutdown start means 114, etc.) are implemented, and the shutdown control process is executed.

ここで、図6はシャットダウン制御処理の流れを概略的に示すフローチャートである。図6に示すように、店舗コンピュータ301のマイクロコンピュータ351は、N分間隔(例えば、N=1)で、停電予定データファイルF5に格納されている停電予定データを読み込み(ステップS1:第1データ読込手段111)、実施フラグが実施(「0:実施」)となっており、かつ、現在の日時から30分以内に計画停電(輪番停電)の開始日時が設定されている停電予定データがあると判定した場合に(ステップS2のYes)、LCD311に警告メッセージ(もうすぐ計画停電が実施される警告)を表示する(ステップS3:報知手段112)。ここで、現在の日時から30分以内とは、現在の日時から処理中の操作の終了およびOS(Operating System)についてのシャットダウン処理を実行することが可能な第1の時間である。   FIG. 6 is a flowchart schematically showing the flow of the shutdown control process. As shown in FIG. 6, the microcomputer 351 of the store computer 301 reads the scheduled power outage data stored in the planned power outage data file F5 at intervals of N minutes (for example, N = 1) (step S1: first data). Read means 111), the execution flag is “execution” (“0: execution”), and there is scheduled power outage data in which the start date and time of the planned power outage (rotary power outage) is set within 30 minutes from the current date and time (Yes in step S2), a warning message (a warning that a planned power outage will be executed soon) is displayed on the LCD 311 (step S3: notification means 112). Here, within 30 minutes from the current date and time is a first time during which the operation being processed and the shutdown process for the OS (Operating System) can be executed from the current date and time.

図7は、警告メッセージの一例を示す正面図である。図7に示すように、一例として、「30分後に、停電が発生する可能性があります。業務を終了してください。」との警告メッセージMが表示される。なお、表示による報知に限るものではなく、音声等による報知であっても良い。   FIG. 7 is a front view showing an example of a warning message. As shown in FIG. 7, as an example, a warning message M “There is a possibility that a power failure may occur after 30 minutes. Please close the job.” Is displayed. Note that the notification is not limited to display, but may be notification by voice or the like.

このようにして警告メッセージMがLCD311に表示された場合、オペレータは警告メッセージMとともに表示される「OKキー」Kをマウス313などの操作により押下し、かつ、マウス313などの操作により操作中の業務を終了させる。   When the warning message M is displayed on the LCD 311 in this way, the operator presses the “OK key” K displayed together with the warning message M by operating the mouse 313 or the like, and is operating by operating the mouse 313 or the like. Terminate the business.

店舗コンピュータ301のマイクロコンピュータ351は、警告メッセージMの表示開始から第1の時間より短くOS(Operating System)についてのシャットダウン処理を実行することが可能な第2の時間を確保可能な所定時間(例えば、20分)経過したと判定すると(ステップS4のYes)、警告メッセージMの表示を終了し、停電予定データファイルF5に格納されている停電予定データを再度読み込み(ステップS5:第2データ読込手段113)、実施フラグが実施(「0:実施」)となっており、かつ、現在の日時から10分以内に計画停電(輪番停電)の開始日時が設定されている停電予定データがあると判定した場合に(ステップS6のYes)、OS(Operating System)に対してシャットダウンコマンドを送って、シャットダウンを開始する(ステップS7:シャットダウン開始手段114)。ここで、現在の日時から10分以内とは、現在の日時からOS(Operating System)についてのシャットダウン処理を実行することが可能な第2の時間である。   The microcomputer 351 of the store computer 301 has a predetermined time (e.g., a second time in which the shutdown process for the OS (Operating System) can be executed is shorter than the first time from the start of displaying the warning message M). , 20 minutes) (Yes in step S4), the display of the warning message M is terminated, and the power failure scheduled data stored in the power failure scheduled data file F5 is read again (step S5: second data reading means) 113), it is determined that there is a power outage scheduled data in which the execution flag is “executed” (“0: execution”) and the start date and time of the planned power outage (rotary power outage) is set within 10 minutes from the current date and time. If this occurs (Yes in step S6), a shutdown command is sent to the OS (Operating System) to shut down the system. (Step S7: shutdown start means 114). Here, “within 10 minutes from the current date and time” is a second time during which shutdown processing for an OS (Operating System) can be executed from the current date and time.

なお、計画停電(輪番停電)が中止になった場合などは、実施フラグが「1:未実施」に変更された状態で配信されるので、店舗コンピュータ301のマイクロコンピュータ351は、実施フラグが「1:未実施」になっている場合は(ステップS2のNo)、警告メッセージMの表示、および、シャットダウン処理を実施しない。   In addition, when the planned power outage (rotary power outage) is canceled, the execution flag is changed to “1: not yet executed”, so the microcomputer 351 of the store computer 301 has the execution flag “ 1: “Not implemented” (No in step S2), display of the warning message M and shutdown processing are not performed.

また、当初は計画停電(輪番停電)を実施する予定でありステップS1で実施フラグが実施(「0:実施」)となっており、かつ、現在の日時から30分以内に計画停電(輪番停電)の開始日時が設定されていると判定された停電予定データについて、実施直前になって中止になった場合、当該停電予定データの実施フラグが「1:未実施」に変えられていることになるので(ステップS6のNo)、ステップS7のシャットダウン処理を実施せずに、ステップS1に戻る。   In addition, the planned power outage (rotary power outage) is scheduled to be implemented at the beginning, and the execution flag is implemented ("0: Implemented") in step S1, and the planned power outage (rotary power outage within 30 minutes from the current date and time) ) If the power outage scheduled data determined to have a start date / time set is canceled just before implementation, the implementation flag of the power outage scheduled data is changed to “1: Not implemented”. Therefore (No in step S6), the process returns to step S1 without performing the shutdown process in step S7.

なお、本実施形態においては、警告メッセージMの表示開始時間(第1の時間)を計画停電(輪番停電)の開始日時の30分前、シャットダウン開始までの時間(第2の時間)を計画停電(輪番停電)の開始日時の10分前としたが、これに限るものではなく、警告メッセージMの表示開始時間(第1の時間)およびシャットダウン開始までの時間(第2の時間)は適宜設定変更することができる。   In this embodiment, the display start time (first time) of the warning message M is 30 minutes before the start date and time of the planned power failure (rotary power failure), and the time until the shutdown start (second time) is the planned power failure. Although it is 10 minutes before the start date of (rotary power failure), the present invention is not limited to this, and the display start time (first time) of the warning message M and the time until the shutdown start (second time) are appropriately set. Can be changed.

このように本実施形態によれば、現在の日時から処理中の操作の終了およびOSについてのシャットダウン処理を実行することが可能な第1の時間内に計画停電(輪番停電)が実施される旨の警告メッセージを表示して警告することにより、オペレータが処理中の操作を終了させるための時間を十分にとることができるとともに、警告の報知開始から第1の時間より短くOSについてのシャットダウン処理を実行することが可能な第2の時間を確保可能な所定時間を経過後、現在の日時からOSについてのシャットダウン処理を実行することが可能な第2の時間内にOSに対してシャットダウンコマンドを送ってシャットダウンを開始することにより、DB保存やOSのシャットダウン等を十分に実施することができるようにしたので、計画停電(輪番停電)が実施された場合であっても、オペレータ操作を確実に完了させることができるとともに、ハード障害、DB障害等を確実に防止することができる。   As described above, according to the present embodiment, the planned power outage (rotary power outage) is performed within the first time when the operation being processed and the shutdown processing for the OS can be executed from the current date and time. When the warning message is displayed and the warning is given, the operator can take sufficient time to finish the operation being processed, and the OS shutdown process is performed shorter than the first time from the start of warning notification. After the elapse of a predetermined time that can secure the second time that can be executed, a shutdown command is sent to the OS within the second time during which the shutdown process for the OS can be executed from the current date and time. By starting the shutdown, the database can be saved and the OS can be shut down sufficiently. Conductive even when the (rotation outages) is performed, it is possible to complete reliably operator operation, it is possible to reliably prevent a hard failure, the DB failure or the like.

なお、本実施形態のデータ処理装置である店舗コンピュータ301で実行されるプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。   The program executed by the store computer 301 which is the data processing apparatus of the present embodiment is a file in an installable format or an executable format, and is a CD-ROM, flexible disk (FD), CD-R, DVD (Digital The recording medium may be recorded on a computer-readable recording medium such as Versatile Disk).

さらに、本実施形態のデータ処理装置である店舗コンピュータ301で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。また、本実施形態のデータ処理装置である店舗コンピュータ301で実行されるプログラムをインターネット等のネットワーク経由で提供または配布するように構成しても良い。   Further, the program executed by the store computer 301 which is the data processing apparatus of the present embodiment may be provided by being stored on a computer connected to a network such as the Internet and downloaded via the network. good. Further, the program executed by the store computer 301 which is the data processing apparatus of the present embodiment may be configured to be provided or distributed via a network such as the Internet.

本実施形態のデータ処理装置である店舗コンピュータ301で実行されるプログラムは、上述した各部(第1データ読込手段111、報知手段112、第2データ読込手段113、シャットダウン開始手段114)を含むモジュール構成となっており、実際のハードウェアとしてはCPU(プロセッサ)が上記ROMからプログラムを読み出して実行することにより上記各部が主記憶装置上にロードされ、第1データ読込手段111、報知手段112、第2データ読込手段113、シャットダウン開始手段114が主記憶装置上に生成されるようになっている。   The program executed by the store computer 301 which is the data processing apparatus of the present embodiment includes a module configuration including the above-described units (first data reading unit 111, notification unit 112, second data reading unit 113, shutdown start unit 114). As the actual hardware, the CPU (processor) reads the program from the ROM and executes it, so that the above-described units are loaded onto the main storage device, and the first data reading means 111, the notifying means 112, the first 2 Data reading means 113 and shutdown start means 114 are generated on the main memory.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   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.

111 第1データ読込手段
112 報知手段
113 第2データ読込手段
114 シャットダウン開始手段
301 データ処理装置
111 First data reading means 112 Notification means 113 Second data reading means 114 Shutdown start means 301 Data processing device

特開2008−293366号公報JP 2008-293366 A

Claims (6)

停電の実施予定を設定した停電予定データを読み込む第1データ読込手段と、
前記第1データ読込手段によって読み込んだ停電予定データの中に、停電開始日時が現在の日時から処理中の操作の終了およびOS(Operating System)についてのシャットダウン処理を実行することが可能な第1の時間内に設定されている停電予定データがある場合に、停電が実施される旨の警告を報知する報知手段と、
前記警告の報知開始から前記第1の時間より短くOSについてのシャットダウン処理を実行することが可能な第2の時間を確保可能な所定時間を経過した場合、前記停電予定データを再度読み込む第2データ読込手段と、
前記第2データ読込手段によって読み込んだ停電予定データの中に、停電開始日時が現在の日時から前記第2の時間内に設定されている停電予定データがある場合に、OSについてシャットダウンを開始するシャットダウン開始手段と、
を備えるデータ処理装置。
A first data reading means for reading the power outage schedule data in which the power outage execution schedule is set;
In the power outage schedule data read by the first data reading means, the power outage start date and time is the first that can execute the end of the operation being processed and the shutdown processing for the OS (Operating System) from the current date and time. Informing means for informing a warning that a power outage will be carried out when there is a power outage scheduled data set in time,
Second data for re-reading the scheduled power outage when a predetermined time that can secure the second time during which the shutdown process for the OS can be executed is shorter than the first time from the start of the warning notification. Reading means;
Shutdown that starts shutdown for the OS when there is a power outage scheduled data that has been set within the second time from the current date and time in the power outage scheduled data read by the second data reading means Starting means;
A data processing apparatus comprising:
前記停電予定データは、停電の実施を設定するか、または停電予定設定後に停電を中止するかを設定する実施フラグを含み、
前記報知手段は、前記実施フラグが停電の実施を設定する設定であった場合に、停電が実施される旨の警告を報知し、
前記シャットダウン開始手段は、前記実施フラグが停電の実施を設定する設定であった場合に、OSについてシャットダウンを開始する
請求項1記載のデータ処理装置。
The power outage schedule data includes an execution flag for setting whether to perform a power outage or whether to stop the power outage after setting the power outage schedule,
The notification means, when the execution flag is set to set the execution of a power failure, notifies a warning that a power failure is performed,
The data processing apparatus according to claim 1, wherein the shutdown start unit starts shutdown of the OS when the execution flag is set to set execution of a power failure.
前記報知手段は、前記第1の時間を変更可能である、
請求項1記載のデータ処理装置。
The notification means can change the first time.
The data processing apparatus according to claim 1.
前記シャットダウン開始手段は、前記第2の時間を変更可能である、
請求項1記載のデータ処理装置。
The shutdown start means can change the second time.
The data processing apparatus according to claim 1.
コンピュータを、
停電の実施予定を設定した停電予定データを読み込む第1データ読込手段と、
前記第1データ読込手段によって読み込んだ停電予定データの中に、停電開始日時が現在の日時から処理中の操作の終了およびOS(Operating System)についてのシャットダウン処理を実行することが可能な第1の時間内に設定されている停電予定データがある場合に、停電が実施される旨の警告を報知する報知手段と、
前記警告の報知開始から前記第1の時間より短くOSについてのシャットダウン処理を実行することが可能な第2の時間を確保可能な所定時間を経過した場合、前記停電予定データを再度読み込む第2データ読込手段と、
前記第2データ読込手段によって読み込んだ停電予定データの中に、停電開始日時が現在の日時から前記第2の時間内に設定されている停電予定データがある場合に、OSについてシャットダウンを開始するシャットダウン開始手段と、
として機能させるためのプログラム。
Computer
A first data reading means for reading the power outage schedule data in which the power outage execution schedule is set;
In the power outage schedule data read by the first data reading means, the power outage start date and time is the first that can execute the end of the operation being processed and the shutdown processing for the OS (Operating System) from the current date and time. Informing means for informing a warning that a power outage will be carried out when there is a power outage scheduled data set in time,
Second data for re-reading the scheduled power outage when a predetermined time that can secure the second time during which the shutdown process for the OS can be executed is shorter than the first time from the start of the warning notification. Reading means;
Shutdown that starts shutdown for the OS when there is a power outage scheduled data that has been set within the second time from the current date and time in the power outage scheduled data read by the second data reading means Starting means;
Program to function as.
前記停電予定データは、停電の実施を設定するか、または停電予定設定後に停電を中止するかを設定する実施フラグを含み、
前記報知手段は、前記実施フラグが停電の実施を設定する設定であった場合に、停電が実施される旨の警告を報知し、
前記シャットダウン開始手段は、前記実施フラグが停電の実施を設定する設定であった場合に、OSについてシャットダウンを開始する
請求項5記載のプログラム。
The power outage schedule data includes an execution flag for setting whether to perform a power outage or whether to stop the power outage after setting the power outage schedule,
The notification means, when the execution flag is set to set the execution of a power failure, notifies a warning that a power failure is performed,
The program according to claim 5, wherein the shutdown start unit starts shutdown of the OS when the execution flag is set to set the execution of a power failure.
JP2011259240A 2011-11-28 2011-11-28 Data processing apparatus and program Expired - Fee Related JP5450572B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011259240A JP5450572B2 (en) 2011-11-28 2011-11-28 Data processing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011259240A JP5450572B2 (en) 2011-11-28 2011-11-28 Data processing apparatus and program

Publications (2)

Publication Number Publication Date
JP2013114400A true JP2013114400A (en) 2013-06-10
JP5450572B2 JP5450572B2 (en) 2014-03-26

Family

ID=48709905

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011259240A Expired - Fee Related JP5450572B2 (en) 2011-11-28 2011-11-28 Data processing apparatus and program

Country Status (1)

Country Link
JP (1) JP5450572B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016181292A (en) * 2016-07-06 2016-10-13 パナソニックヘルスケアホールディングス株式会社 Information processing system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0519907A (en) * 1991-07-10 1993-01-29 Fujitsu Ltd Power source turning-off system for automatic operating system
JPH0651856A (en) * 1992-07-29 1994-02-25 Brother Ind Ltd Terminal equipment
JPH11305881A (en) * 1998-04-23 1999-11-05 Mitsubishi Electric Corp Power management system for no-break power unit and power management method for no-break power unit
JP2008293366A (en) * 2007-05-25 2008-12-04 Toshiba Tec Corp Data processor
JP2010182170A (en) * 2009-02-06 2010-08-19 Yaskawa Information Systems Co Ltd Operation time management system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0519907A (en) * 1991-07-10 1993-01-29 Fujitsu Ltd Power source turning-off system for automatic operating system
JPH0651856A (en) * 1992-07-29 1994-02-25 Brother Ind Ltd Terminal equipment
JPH11305881A (en) * 1998-04-23 1999-11-05 Mitsubishi Electric Corp Power management system for no-break power unit and power management method for no-break power unit
JP2008293366A (en) * 2007-05-25 2008-12-04 Toshiba Tec Corp Data processor
JP2010182170A (en) * 2009-02-06 2010-08-19 Yaskawa Information Systems Co Ltd Operation time management system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016181292A (en) * 2016-07-06 2016-10-13 パナソニックヘルスケアホールディングス株式会社 Information processing system

Also Published As

Publication number Publication date
JP5450572B2 (en) 2014-03-26

Similar Documents

Publication Publication Date Title
JP2011186659A (en) Electronic shelf label system, advertisement terminal and program
JP2011180906A (en) Commodity sales data processing device and control program therefor
JP5450572B2 (en) Data processing apparatus and program
US20170249614A1 (en) Information processing device and program
US20150100817A1 (en) Anticipatory Protection Of Critical Jobs In A Computing System
JP5910746B2 (en) Management device, power supply system, management method, and program
US20110055642A1 (en) Article information management apparatus and article information management method
JP2010176623A (en) Managing device, managing system and managing program
US9712533B2 (en) Notifying unauthorized use of electronic device during disconnection time period of electronic device from network
JP2011175557A (en) Information processing apparatus and program
JP2012238166A (en) Information processing device and program
TWI570553B (en) A system for providing a monitoring data of an electronic device
JP5379764B2 (en) Product sales data processing apparatus and program
JP2020047011A (en) Device, system, and program for information processing
JP6265707B2 (en) Server and program
JP2020112980A (en) Merchandise sales data processing device, information processing device, and log management system
JP5457411B2 (en) Master data update device and program
JP2019159984A (en) Information processing device and program
JP2013054577A (en) Portable terminal and program
JP2012048496A (en) Pos terminal device, remote management device and pos system
EP3872613A1 (en) Information processing apparatus, information processing system, and method
US20200167737A1 (en) Server device and method
JP4922902B2 (en) Merchandise sales processing apparatus and control method thereof
JP6008400B2 (en) Information processing apparatus, information processing apparatus control method, program, and maintenance management system
CN115115324A (en) Method and system for monitoring jobs in an enterprise resource management system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130917

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130918

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131113

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131225

R150 Certificate of patent or registration of utility model

Ref document number: 5450572

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees