JP2011022833A - Information processor - Google Patents

Information processor Download PDF

Info

Publication number
JP2011022833A
JP2011022833A JP2009167827A JP2009167827A JP2011022833A JP 2011022833 A JP2011022833 A JP 2011022833A JP 2009167827 A JP2009167827 A JP 2009167827A JP 2009167827 A JP2009167827 A JP 2009167827A JP 2011022833 A JP2011022833 A JP 2011022833A
Authority
JP
Japan
Prior art keywords
power supply
time
unit
cpu
reset
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.)
Pending
Application number
JP2009167827A
Other languages
Japanese (ja)
Inventor
Hirokazu Asaga
弘和 浅賀
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 JP2009167827A priority Critical patent/JP2011022833A/en
Publication of JP2011022833A publication Critical patent/JP2011022833A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)
  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an information processor for quickly recovering system abnormality without intervention of a serviceperson or a call center. <P>SOLUTION: Every time a time measuring reset signal C1 is outputted by a CPU 10, a clock part 13 starts time measuring, a WDT (Watch Dog Timer) forced reset circuit 20 outputs a CPU reset signal C3 as a measured time reaches a preset time for monitoring, and the CPU 10 is forced to reset. When operation start of the CPU 10 is caused by the forced reset, power supply by a power supply circuit 18 is started again after it is stopped for a prescribed period, and a system is restarted. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、異常による処理停止に対処する機能を備えたパーソナルコンピュータやPOS(Point Of Sales)端末などの情報処理装置に関する。   The present invention relates to an information processing apparatus such as a personal computer or a POS (Point Of Sales) terminal provided with a function to cope with processing stoppage due to an abnormality.

従来、パーソナルコンピュータやPOS端末などの情報処理装置において、何らかの異常が発生して処理の継続が困難なときに当該異常状態から復帰して処理を再開するための手段を講じた種々の発明がなされている。(例えば、特許文献1を参照)   Conventionally, in an information processing apparatus such as a personal computer or a POS terminal, various inventions have been made in which a means for returning from the abnormal state and restarting the process when some abnormality occurs and it is difficult to continue the process. ing. (For example, see Patent Document 1)

接客業務に使用されるPOS端末などの情報処理装置に関しては、業務の継続に支障を来たさぬよう異常状態からの迅速な復帰が求められている。しかしながら、復旧方法に精通していない店員では適確に異常状態に対処できない。したがって、専門のサービスマンの到着を待つか、コールセンターから電話を介して指示を受けつつ店員自身が復旧作業を行う必要があった。   Information processing apparatuses such as POS terminals used for customer service are required to quickly return from an abnormal state so as not to hinder business continuity. However, the store clerk who is not familiar with the recovery method cannot deal with the abnormal state appropriately. Therefore, it was necessary for the store clerk to carry out recovery work while waiting for the arrival of a specialized service person or receiving instructions from the call center via telephone.

このようにサービスマンの到着を待つまでの間や、コールセンターと遣り取りしながら復旧作業を行う間は情報処理装置を使用することができず、店舗の運営に支障を来たすこととなる。このとき会計を所望する客を長時間待たせる場合もあり、店舗の信用を毀損しかねない。   As described above, the information processing apparatus cannot be used until waiting for the arrival of the service person or during the restoration work while exchanging with the call center, which hinders the operation of the store. At this time, a customer who wants to pay may be kept waiting for a long time, which may damage the credit of the store.

本発明は、このような事情に基づいてなされたものであり、その目的は、サービスマンやコールセンターの介在無しにシステム異常から迅速に復旧することが可能な情報処理装置を提供することである。   The present invention has been made based on such circumstances, and an object thereof is to provide an information processing apparatus capable of quickly recovering from a system abnormality without intervention of a service person or a call center.

上記課題を解決するため、本発明は、電源供給部から動作電源の供給を受けて動作する情報処理装置において、リセット信号を出力するルーチンを含む動作プログラムを繰り返し実行する制御部と、前記制御部から前記リセット信号が出力されるたびに計時動作を開始するとともに、その計時時間が予め設定された監視時間に達したことに応じて前記制御部を強制リセットするウォッチドッグタイマと、前記制御部の動作開始が前記ウォッチドッグタイマによる強制リセットに起因するものである場合、前記電源供給部による電源供給を所定時間停止した後再開してシステムを再起動する再起動手段とを備えていることを特徴としている。   In order to solve the above-described problems, the present invention provides a control unit that repeatedly executes an operation program including a routine for outputting a reset signal in an information processing apparatus that operates by receiving supply of operation power from a power supply unit, and the control unit Each time the reset signal is output from a watchdog timer that forcibly resets the control unit in response to reaching a preset monitoring time, and the control unit When the operation start is caused by a forced reset by the watchdog timer, the power supply unit includes a restarting unit that restarts the system by stopping the power supply by the power supply unit and then restarting the system. It is said.

かかる手段を講じた本発明によれば、サービスマンやコールセンターの介在無しにシステム異常から迅速に復旧することが可能な情報処理装置を提供することができる。   According to the present invention in which such measures are taken, it is possible to provide an information processing apparatus that can quickly recover from a system abnormality without the intervention of a service person or a call center.

本発明の一実施形態における情報処理装置であるPOS端末の斜視図。The perspective view of the POS terminal which is the information processing apparatus in one Embodiment of this invention. 同実施形態におけるPOS端末の制御回路を示すブロック図。The block diagram which shows the control circuit of the POS terminal in the same embodiment. 同実施形態における設定用RAMのデータ構造を示す模式図。FIG. 3 is a schematic diagram showing a data structure of a setting RAM in the same embodiment. 同実施形態におけるPOS端末の処理の流れ図。The flowchart of the process of the POS terminal in the embodiment. 同実施形態におけるPOS端末の処理の流れ図。The flowchart of the process of the POS terminal in the embodiment.

以下、本発明の一実施形態について図面を参照しながら説明する。なお、本実施形態は、本発明をコンビニエンスストアなどの商品販売店舗や飲食店などの役務提供店舗にて会計処理に使用されるPOS端末1に適用した場合である。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. This embodiment is a case where the present invention is applied to a POS terminal 1 used for accounting processing in a merchandise sales store such as a convenience store or a service providing store such as a restaurant.

先ず、情報処理装置であるPOS端末1のハードウェア構成について説明する。
図1は、POS端末1の外観斜視図である。POS端末1は、制御回路が搭載された基台部2、表示器3、キーボード4、鍵装置5、およびレシートプリンタ6などを備えている。
First, the hardware configuration of the POS terminal 1 that is an information processing apparatus will be described.
FIG. 1 is an external perspective view of the POS terminal 1. The POS terminal 1 includes a base unit 2 on which a control circuit is mounted, a display 3, a keyboard 4, a key device 5, a receipt printer 6, and the like.

表示器3は、商品登録業務などに必要な各種情報を選択的に表示するLCD(Liquid Cristal Display)である。キーボード4は、数値入力に用いる置数キー、文字入力に用いるアルファベットキー、商品登録業務の開始を宣言するPLU(Price Look Up)キー、商品登録業務の締めを宣言する締めキーなどの各種操作キーを備えている。鍵装置5は、店員が所持する専用の鍵と嵌め合う鍵穴を備え、当該鍵穴に鍵が挿入された状態にて回動動作を受け付ける鍵スイッチである。この鍵装置5は、前記鍵穴の回動動作の停止位置に応じて商品の登録業務を実行する登録業務モードや各種設定を実行する保守モードなどの処理モードを切り替える。   The display 3 is an LCD (Liquid Cristal Display) that selectively displays various types of information necessary for merchandise registration work. The keyboard 4 has various operation keys such as a numeric key used for numerical input, an alphabet key used for character input, a PLU (Price Look Up) key for declaring the start of product registration work, and a close key for declaring the close of product registration work. It has. The key device 5 is a key switch that includes a keyhole that fits into a dedicated key possessed by a store clerk, and that receives a turning operation in a state where the key is inserted into the keyhole. The key device 5 switches processing modes such as a registration job mode for executing a product registration job and a maintenance mode for executing various settings in accordance with the stop position of the rotation operation of the keyhole.

レシートプリンタ6は、キーボード4に設けられた締めキーが操作されたことに応じて取引の内容や店舗のコマーシャル情報を感熱紙に印字したレシートを発行するサーマルプリンタである。   The receipt printer 6 is a thermal printer that issues a receipt in which transaction details and commercial information of a store are printed on thermal paper in response to an operation of a lock key provided on the keyboard 4.

図2は、POS端末1の制御回路を示すブロック図である。当該制御回路は、制御の中枢として機能するCPU(Central Processing Unit)10を備えている。そして、このCPU10に対し、ROM(Read Only Memory)11、RAM(Random Access Memory)12、時計部13、表示制御回路14、入力制御回路15、プリンタ制御回路16、ブザー制御回路17、電源供給部である電源供給回路18、OST(ワンショットタイマ:One Shot Timer)制御回路19、およびWDT(ウォッチドッグタイマ:Watch Dog Timer)強制リセット回路20をアドレスバスやデータバスなどのバスライン21を介して接続して制御回路が構成されている。当該制御回路は、コンセントなどを介して接続された商用交流電源などの外部電源30から電源供給を受けて動作する。   FIG. 2 is a block diagram showing a control circuit of the POS terminal 1. The control circuit includes a CPU (Central Processing Unit) 10 that functions as a control center. The CPU 10 has a ROM (Read Only Memory) 11, a RAM (Random Access Memory) 12, a clock unit 13, a display control circuit 14, an input control circuit 15, a printer control circuit 16, a buzzer control circuit 17, and a power supply unit. A power supply circuit 18, an OST (One Shot Timer) control circuit 19, and a WDT (Watch Dog Timer) forced reset circuit 20 are connected via a bus line 21 such as an address bus or a data bus. A control circuit is configured by connection. The control circuit operates by receiving power supply from an external power source 30 such as a commercial AC power source connected via an outlet or the like.

ROM11は、POS端末1の基本的な動作に必要なプログラムなどの固定的データを記憶した不揮発性メモリである。RAM12は、処理場面に応じて種々の作業用記憶領域を形成する。   The ROM 11 is a non-volatile memory that stores fixed data such as a program necessary for the basic operation of the POS terminal 1. The RAM 12 forms various working storage areas according to the processing scene.

時計部13は、CPU10からのコマンドを受けて時間を計時し、CPU10からの計時リセット信号C1を受けて計時動作をリセットする。また、時計部13は、後述のWDTフラグFを記憶する設定用RAM131を備えている。時計部13および設定用RAM131には、外部電源30からPOS端末1に対する電源供給が停止した場合に通電路を形成して電源を供給する電池132が接続されている。したがって、外部電源30からの電源供給が停止された状態にあっても、時計部13は計時動作を継続し、設定用RAM131はその記憶内容を維持することができる。   The clock unit 13 counts the time in response to a command from the CPU 10 and resets the timing operation in response to the timing reset signal C1 from the CPU 10. The clock unit 13 includes a setting RAM 131 that stores a WDT flag F described later. The clock unit 13 and the setting RAM 131 are connected to a battery 132 that forms an energization path and supplies power when power supply from the external power supply 30 to the POS terminal 1 is stopped. Therefore, even when the power supply from the external power supply 30 is stopped, the clock unit 13 can continue the clocking operation, and the setting RAM 131 can maintain the stored contents.

表示制御回路14は、表示器3を接続し、CPU10からの表示指令に基づいて表示器3の画面表示を制御する。入力制御回路15は、キーボード4と鍵装置5とを接続し、キーボード4が押下された操作キーに応じて出力する電気信号および鍵装置5が回動の停止位置に応じて出力する電気信号を取り込み、デジタル変換処理してCPU10に通知する。プリンタ制御回路16は、CPU10から印字指令を受けたことに応じてレシートプリンタ6によるレシートの印字動作を制御する。ブザー制御回路17は、ブザー装置171を接続し、CPU10からの指令に応じてブザー装置171を鳴動させて所定のビープ音を発生させる。   The display control circuit 14 connects the display device 3 and controls the screen display of the display device 3 based on a display command from the CPU 10. The input control circuit 15 connects the keyboard 4 and the key device 5, and outputs an electrical signal output according to an operation key pressed on the keyboard 4 and an electrical signal output according to the rotation stop position of the key device 5. The data is taken in, converted into digital data, and notified to the CPU 10. The printer control circuit 16 controls the receipt printing operation by the receipt printer 6 in response to receiving a print command from the CPU 10. The buzzer control circuit 17 connects the buzzer device 171 and sounds the buzzer device 171 in response to a command from the CPU 10 to generate a predetermined beep sound.

OST制御回路19は、リレーやディスクリート部品などの電子部品を用いて構成され、時計部13を利用してワンショットタイマ機能を実現する。具体的には、CPU10から所定のコマンドを受けると時計部13の計時時間を監視し始め、時計部13の計時時間が当該コマンドにて指定されたOST時間TOST(第2の監視時間)に達したことを条件に、各デバイスへの電源供給を開始せしめる電源オン信号C2を電源供給回路18に供給する。 The OST control circuit 19 is configured using electronic components such as relays and discrete components, and implements a one-shot timer function using the clock unit 13. Specifically, when a predetermined command is received from the CPU 10, the clock time of the clock unit 13 starts to be monitored, and the clock time of the clock unit 13 is set to the OST time T OST (second monitoring time) designated by the command. On the condition that the power has been reached, a power-on signal C2 for starting power supply to each device is supplied to the power supply circuit 18.

電源供給回路18およびOST制御回路19は、外部電源30からPOS端末1への電源供給が停止した場合に通電路を形成し、両回路18,19の動作に必要な電源を供給する電池191と接続されている。電源供給回路18は、外部電源30から供給される交流電圧を直流電圧に変換してPOS端末1の各デバイスに供給するとともに、電池132および電池191を充電する。
なお、電池132および電池191は、本実施形態における予備電源供給手段を構成する。
The power supply circuit 18 and the OST control circuit 19 form a current path when the power supply from the external power supply 30 to the POS terminal 1 is stopped, and supply a power supply necessary for the operation of both the circuits 18 and 19. It is connected. The power supply circuit 18 converts the AC voltage supplied from the external power supply 30 into a DC voltage and supplies it to each device of the POS terminal 1, and charges the battery 132 and the battery 191.
The battery 132 and the battery 191 constitute a standby power supply unit in the present embodiment.

WDT強制リセット回路20は、リレーやディスクリート部品などの電子部品を用いて構成され、時計部13を利用してウォッチドッグタイマ機能を実現する。具体的には、システムが起動した状態において時計部13の計時時間を監視し、当該計時時間がCPU10からのコマンドにて設定されたWDT時間TWDT(監視時間)に達したことを条件に、CPU10に対してその動作を強制的にリセットするCPUリセット信号C3を供給する。 The WDT forced reset circuit 20 is configured using electronic components such as relays and discrete components, and implements a watchdog timer function using the clock unit 13. Specifically, the time keeping time of the clock unit 13 is monitored in a state where the system is activated, and the time keeping time reaches the WDT time T WDT (monitoring time) set by the command from the CPU 10. A CPU reset signal C3 for forcibly resetting the operation is supplied to the CPU 10.

ここで、本実施形態におけるフラグ記憶手段である設定用RAM131について説明する。図3は、設定用RAM131のデータ構造を示す模式図である。当該RAM131の相対番地“オフセットAh1”には、上記ウォッチドッグタイマ機能により時計部13が計時動作中であるか否かを示すWDTフラグFが記憶されている。システム稼動時などにおいてウォッチドッグタイマ機能により時計部13が計時動作中である場合には、当該WDTフラグFが“1”にセット(オン)される。一方、システムが正常に終了された場合などウォッチドッグタイマ機能により時計部13が計時動作中でない場合には、当該WDTフラグFが“0”にセット(オフ)される。   Here, the setting RAM 131 which is a flag storage unit in the present embodiment will be described. FIG. 3 is a schematic diagram showing the data structure of the setting RAM 131. The relative address “offset Ah1” of the RAM 131 stores a WDT flag F indicating whether or not the timepiece unit 13 is measuring time by the watchdog timer function. When the timepiece unit 13 is measuring time by the watchdog timer function at the time of system operation or the like, the WDT flag F is set (on) to “1”. On the other hand, when the clock unit 13 is not in a timing operation by the watchdog timer function, such as when the system is normally terminated, the WDT flag F is set (off) to “0”.

次に、上記のような構成のPOS端末1の動作について説明する。
POS端末1のシステムが起動された当初において、ROM11に記憶されたWDT監視用のプログラムがRAM12にロードされる。以降、POS端末1の各部によって図4に示したフローチャートに沿ったWDT処理が繰り返し実行される。なお、当該処理は、システムに常駐して実行されるものであり、当該処理の実行中であってもアプリケーションの実行など他の処理を妨げない。以下、図4を用いて当該WDT処理の流れを説明する。
Next, the operation of the POS terminal 1 configured as described above will be described.
At the beginning of the activation of the POS terminal 1 system, the WDT monitoring program stored in the ROM 11 is loaded into the RAM 12. Thereafter, the WDT process according to the flowchart shown in FIG. 4 is repeatedly executed by each unit of the POS terminal 1. Note that the processing is executed resident in the system, and does not interfere with other processing such as application execution even during execution of the processing. Hereinafter, the flow of the WDT process will be described with reference to FIG.

先ず、CPU10がWDT強制リセット回路20にコマンドを発してWDT時間TWDTを例えば60秒に設定させるとともに(ST101)、時計部13に計時を開始させる(ST102)。なお、WDT強制リセット回路20に設定させる上記WDT時間TWDTは、ROM11に予め設定されており、CPU10がROM11にアクセスしてその時間を取得する。 First, the CPU 10 issues a command to the WDT forced reset circuit 20 to set the WDT time T WDT to, for example, 60 seconds (ST101), and causes the clock unit 13 to start measuring time (ST102). The WDT time T WDT to be set in the WDT forced reset circuit 20 is set in advance in the ROM 11, and the CPU 10 accesses the ROM 11 and acquires the time.

計時動作を開始した時計部13は、設定用RAM131にアクセスしてWDTフラグFを“1”にセットする(ST103)。WDT時間TWDTが設定されたWDT強制リセット回路20は、時計部13の計時時間の監視を開始する。 The clock unit 13 that has started the time measuring operation accesses the setting RAM 131 and sets the WDT flag F to “1” (ST103). The WDT forced reset circuit 20 in which the WDT time T WDT is set starts monitoring the time measured by the clock unit 13.

しかる後、CPU10が時計部13の計時時間を例えば50秒のリセット時間TRE(TRE≦TWDT)に達するまで監視する(ST104)。なお、リセット時間TREはROM11に予め設定されており、CPU10がROM11にアクセスしてその時間を取得する。 Thereafter, the CPU 10 monitors the time measured by the clock unit 13 until the reset time T RE (T RE ≦ T WDT ) of, for example, 50 seconds is reached (ST104). Note that the reset time T RE is preset in the ROM 11, and the CPU 10 accesses the ROM 11 and acquires the time.

やがて、時計部13の計時時間がリセット時間TREに達すると(ST104のYes)、CPU10が時計部13に対して計時リセット信号C1を出力する(ST105)。この計時リセット信号C1が出力されたことに応じて、時計部13がその計時動作を停止するとともに(ST106)、設定用RAM131にアクセスしてWDTフラグFを“0”にセットする(ST107)。しかる後、時計部13が計時時間をリセットして再び計時を開始するとともに(ST101)、設定用RAM131にアクセスしてWDTフラグFを“1”にセットする(ST102)。 Eventually, when the time measured by the clock unit 13 reaches the reset time T RE (Yes in ST104), the CPU 10 outputs a timed reset signal C1 to the clock unit 13 (ST105). In response to the output of the clock reset signal C1, the clock unit 13 stops the clocking operation (ST106), and accesses the setting RAM 131 to set the WDT flag F to “0” (ST107). Thereafter, the clock unit 13 resets the time measurement and starts again (ST101), accesses the setting RAM 131 and sets the WDT flag F to “1” (ST102).

かかる処理を繰り返している間に制御回路を構成する各種IC回路のフリーズ、外部電源から供給される電源電圧の低下、あるいはシステムロックなどシステム異常が発生した場合には、CPU10による処理が鈍化ないしは停止する。すなわち、CPU10により上記計時リセット信号C1が出力されないか、その出力タイミングが遅延するため、時計部13の計時時間がリセット時間TREを経過しても計時動作がリセットされない。かかる場合に実行される処理を、図5に示したフローチャートに沿って説明する。なお、この処理は、本実施形態における再起動手段を構成する。 When a system abnormality such as a freeze of various IC circuits constituting the control circuit, a decrease in power supply voltage supplied from an external power source, or a system lock occurs while the processing is repeated, the processing by the CPU 10 slows or stops. To do. That is, because the CPU 10 does not output the time reset signal C1 or the output timing is delayed, the time measuring operation is not reset even if the time measured by the clock unit 13 exceeds the reset time TRE . Processing executed in such a case will be described with reference to the flowchart shown in FIG. This process constitutes restarting means in the present embodiment.

時計部13の計時動作が停止されず、時計部13の計時時間がWDT時間TWDTを経過した場合、WDT強制リセット回路20からCPU10に対して割り込みを生成するCPUリセット信号C3が出力される。この信号C3の入力を受けたCPU10は、実行中の処理を停止してその動作をリセットする(ST201)。 When the clocking operation of the clock unit 13 is not stopped and the clocking time of the clock unit 13 has exceeded the WDT time T WDT , the CPU reset signal C3 that generates an interrupt to the CPU 10 is output from the WDT forced reset circuit 20. Receiving this signal C3, the CPU 10 stops the process being executed and resets its operation (ST201).

しかる後、CPU10が設定用RAM131を参照してWDTフラグFが“1”にセットされているか否かを判断する(ST202)。換言すれば、CPU10の動作開始がウォッチドッグタイマ機能による強制リセットに起因するものであるか否かを特定する。CPU10の動作開始が上記ウォッチドッグタイマ機能による強制リセットに起因するものである場合には、WDTフラグFが“1”にセットされていることとなる(ST202のYes)。このとき、CPU10がOST制御回路19に例えば3秒のOST時間TOSTを設定するとともに(ST203)、設定用RAM131にアクセスしてWDTフラグFを“0”にセットする(ST204)。なお、OST時間TOSTは予めROM11に設定されており、CPU10がROM11にアクセスしてその時間を取得する。 Thereafter, the CPU 10 refers to the setting RAM 131 to determine whether or not the WDT flag F is set to “1” (ST202). In other words, it is specified whether or not the operation start of the CPU 10 is caused by a forced reset by the watchdog timer function. If the operation start of the CPU 10 is caused by the forced reset by the watchdog timer function, the WDT flag F is set to “1” (Yes in ST202). At this time, CPU 10 is sets the OST time T OST of example 3 seconds OST control circuit 19 (ST 203), is set to "0" WDT flag F to access the setting RAM 131 (ST 204). The OST time T OST is set in the ROM 11 in advance, and the CPU 10 accesses the ROM 11 and acquires the time.

さらに、時計部13に計時動作を開始させ(ST205)、電源供給回路18に対して電源供給の停止コマンドを出力する。このコマンドを受けた電源供給回路18は、外部電源30からPOS端末1の各デバイスへの電源供給を停止する。   Further, the clock unit 13 is started to measure time (ST205), and a power supply stop command is output to the power supply circuit 18. Upon receiving this command, the power supply circuit 18 stops the power supply from the external power supply 30 to each device of the POS terminal 1.

電源供給回路18による電源供給が停止した場合には、電池132から時計部13および設定用RAM131への通電路が形成されて電源が供給される。したがって、既述の如く電源供給回路18による電源供給の停止後であっても時計部13は計時動作を継続し、設定用RAM131の記憶内容は保持される。   When the power supply by the power supply circuit 18 is stopped, an energization path from the battery 132 to the timepiece unit 13 and the setting RAM 131 is formed and power is supplied. Therefore, as described above, even after the power supply by the power supply circuit 18 is stopped, the timepiece unit 13 continues the clocking operation, and the stored contents of the setting RAM 131 are retained.

また、電池191からOST制御回路19への通電路が形成されて電源が供給される。OST制御回路19は、電池191からの電源供給を受けて時計部13の計時時間を監視する。そして、時計部13による計時時間がOST時間TOSTに達したとき、OST制御回路19は、電源オン信号C2を電源供給回路18に出力する。この信号C2の入力を受けた電源供給回路18は、外部電源30から各デバイスへの電源供給を再開する。電源供給が再開されると、システムの再起動処理が開始される(ST206)。具体的には、BIOSが読み出されてCPU10を含む各デバイスの異常診断や初期化などが行われる。 In addition, a current path from the battery 191 to the OST control circuit 19 is formed and power is supplied. The OST control circuit 19 receives the power supply from the battery 191 and monitors the time measured by the clock unit 13. When the time measured by the clock unit 13 reaches the OST time TOST , the OST control circuit 19 outputs a power-on signal C2 to the power supply circuit 18. Receiving this signal C2, the power supply circuit 18 resumes power supply from the external power supply 30 to each device. When the power supply is resumed, a system restart process is started (ST206). Specifically, the BIOS is read, and abnormality diagnosis and initialization of each device including the CPU 10 are performed.

このように電源供給回路18による電源供給を所定時間停止した後再開してシステムを再起動するのは、各デバイスを完全に初期化して障害の影響を排除するためである。したがって、OST時間TOSTは、POS端末1の各デバイスを構成するコンデンサなどの電子部品から電荷が消失するのに十分な長さに設定することが望ましい。 The reason why the power supply by the power supply circuit 18 is stopped after a predetermined time and then restarted to restart the system is to completely initialize each device and eliminate the influence of the failure. Therefore, it is desirable to set the OST time T OST to a length that is sufficient for the charge to disappear from electronic components such as capacitors that constitute each device of the POS terminal 1.

上記システムの再起動において、BIOSによる初期化を経たCPU10が動作を開始すると(ST201)、設定用RAM131を参照し、WDTフラグFが“1”にセットされているか否かを判断する(ST202)。上記ワンショットタイマ機能により電源供給回路18からの電源供給が一旦停止された後再開されているならば、WDTフラグFが“0”にセットされている(ST202のNo)。この場合、実行中のシステム起動処理が通常通り進行される。そして、BIOSからOS(Operating System)へと制御権が移行した後には、商品データ登録業務などに使用されるアプリケーションが起動され、当該アプリケーションに係る業務メニュー画面が表示制御回路14を介して表示器3に表示される(ST207)。   In the restart of the system, when the CPU 10 that has been initialized by the BIOS starts operating (ST201), the setting RAM 131 is referred to and it is determined whether or not the WDT flag F is set to "1" (ST202). . If the power supply from the power supply circuit 18 is once stopped by the one-shot timer function and then restarted, the WDT flag F is set to “0” (No in ST202). In this case, the system startup process being executed proceeds as usual. After the control right is transferred from the BIOS to the OS (Operating System), an application used for product data registration work is started, and a work menu screen related to the application is displayed via the display control circuit 14 on the display unit. 3 is displayed (ST207).

なお、ユーザがキーボード4の操作などによりシステムの終了を指示した場合には、CPU10がWDTフラグFを“0”にセットした後システムのシャットダウンを行い、電源供給回路18に電源供給を停止させる。したがって、通常のシステム終了後にPOS端末1が起動された場合には、WDTフラグFが“0”にセットされているため(ST202のNo)、ワンショットタイマ機能を用いた処理(ST203〜ST206)は実行されない。   When the user gives an instruction to terminate the system by operating the keyboard 4 or the like, the CPU 10 sets the WDT flag F to “0” and then shuts down the system, causing the power supply circuit 18 to stop power supply. Therefore, when the POS terminal 1 is activated after the normal system is terminated, the WDT flag F is set to “0” (No in ST202), and therefore processing using the one-shot timer function (ST203 to ST206). Is not executed.

以上説明したように、本実施形態におけるPOS端末1は、何らかの障害が発生してCPU10の動作に異常が生じた場合には、ウォッチドッグタイマ機能によりCPU10をリセットした後、電源供給を一旦停止してシステムを再起動する。このようにすることで、POS端末1に異常が生じて処理が停止状態に陥った場合でも、サービスマンの到着を待つことなく、また、コールセンターとの遣り取りにてユーザが復旧処理を行うことなく、迅速に業務の再開が可能となる。   As described above, the POS terminal 1 according to the present embodiment temporarily stops the power supply after resetting the CPU 10 by the watchdog timer function when some trouble occurs and the operation of the CPU 10 is abnormal. Restart the system. By doing so, even when an abnormality occurs in the POS terminal 1 and the process is stopped, the user does not wait for the arrival of the service person and the user does not perform the recovery process by exchanging with the call center. The business can be resumed quickly.

また、電源供給が停止されてから再開されるまでの時間は、OST時間TOSTによって決定される。このOST時間TOSTを適切な長さに調整することで、電源供給停止前の異常が電源供給再開後にまで影響しないようにすることができる。 Further, the time from when the power supply is stopped to when it is restarted is determined by the OST time TOST . By adjusting the OST time T OST to an appropriate length, it is possible to prevent the abnormality before the power supply is stopped from affecting even after the power supply is resumed.

また、再起動手段を構成する時計部13およびOST制御回路19は、それぞれ電池132および電池191からの電源供給を受けて電源供給回路18からの電源供給が停止した後でも動作する。このようにすることで、CPU10の強制リセット後の電源供給停止時においても動作する再起動手段が実現される。   The clock unit 13 and the OST control circuit 19 constituting the restarting unit operate even after the power supply from the power supply circuit 18 is stopped by receiving the power supply from the battery 132 and the battery 191, respectively. In this way, a restarting unit that operates even when the power supply is stopped after the forced reset of the CPU 10 is realized.

また、ウォッチドッグタイマ機能による監視処理が実行されている場合、設定用RAM131に記憶されたWDTフラグFが“1”にセットされる。このWDTフラグFの値をCPU10がリセットされた後動作を開始した際に参照することで、CPU10の動作開始がウォッチドッグタイマ機能による強制リセットに起因するものであるのか否かを特定する手段が実現される。   When the monitoring process by the watchdog timer function is being executed, the WDT flag F stored in the setting RAM 131 is set to “1”. A means for specifying whether or not the start of the operation of the CPU 10 is due to a forced reset by the watchdog timer function by referring to the value of the WDT flag F when the operation is started after the CPU 10 is reset. Realized.

なお、この発明は前記実施形態そのままに限定されるものではなく実施段階においては、その要旨を逸脱しない範囲内にて各構成要素を適宜変形して具体化することができる。   In addition, this invention is not limited to the said embodiment as it is, In an implementation stage, within the range which does not deviate from the summary, each component can be changed suitably and can be embodied.

例えば、前記実施形態においては、本発明をPOS端末1に適用した場合について説明したが、本発明をパーソナルコンピュータや他種の事務用コンピュータなどの情報処理装置に適用してもよいことはいうまでもない。   For example, in the above embodiment, the case where the present invention is applied to the POS terminal 1 has been described. However, it goes without saying that the present invention may be applied to an information processing apparatus such as a personal computer or other types of office computers. Nor.

また、ウォッチドッグタイマ機能およびワンショットタイマ機能は、双方とも時計部13を利用して実現するとしたが、各タイマ機能をそれぞれ別個のタイマを使用して実現してもよい。   Further, although both the watchdog timer function and the one-shot timer function are realized using the clock unit 13, each timer function may be realized using a separate timer.

また、ROM11に設定されたWDT時間TWDT、リセット時間TRE、OST時間TOSTは、ユーザが任意の時間に変更できるようにしてもよい。この場合、例えば各時間をROM11に代えてフラッシュROMなどの不揮発性メモリに記憶しておく。ユーザが各時間の変更を所望する場合には、鍵装置5を回動させて保守モードに設定し、表示器3の画面表示に各時間の入力欄を表示させる。そして、この入力欄にキーボード4の操作により任意の時間を入力可能とし、ユーザがキーボード4を操作して変更の反映を宣言したことに応じて各入力欄に入力された時間にて不揮発性メモリに記憶された各時間を更新するようにする。このようにWDT時間TWDT、リセット時間TRE、OST時間TOSTをユーザが任意に変更可能とすれば、より装置の使用環境に適した設定を実現することができる。 Further, the WDT time T WDT , the reset time T RE , and the OST time T OST set in the ROM 11 may be changed by the user to any time. In this case, for example, each time is stored in a nonvolatile memory such as a flash ROM instead of the ROM 11. When the user desires to change each time, the key device 5 is rotated to set the maintenance mode, and an input column for each time is displayed on the screen display of the display device 3. An arbitrary time can be input to the input field by operating the keyboard 4, and the nonvolatile memory is stored at the time input to each input field in response to the user operating the keyboard 4 to declare the change. Update each time stored in. Thus, if the user can arbitrarily change the WDT time T WDT , the reset time T RE , and the OST time T OST , a setting more suitable for the use environment of the apparatus can be realized.

この他、前記実施形態に開示されている複数の構成要素を適宜組み合わせることにより種々の発明を形成することができる。   In addition, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment.

1…POS端末、10…CPU、13…時計部、18…電源供給回路、19…OST制御回路、20…WDT強制リセット回路、131…設定用RAM、132,191…電池   DESCRIPTION OF SYMBOLS 1 ... POS terminal, 10 ... CPU, 13 ... Clock part, 18 ... Power supply circuit, 19 ... OST control circuit, 20 ... WDT forced reset circuit, 131 ... Setting RAM, 132, 191 ... Battery

特開平10−31790号公報Japanese Patent Laid-Open No. 10-31790

Claims (4)

電源供給部から動作電源の供給を受けて動作する情報処理装置において、
所定のリセット信号を出力するルーチンを含む動作プログラムを繰り返し実行する制御部と、
前記制御部から前記リセット信号が出力されるたびに計時動作を開始するとともに、その計時時間が予め設定された監視時間に達したことに応じて前記制御部を強制リセットするウォッチドッグタイマと、
前記制御部の動作開始が前記ウォッチドッグタイマによる強制リセットに起因するものである場合、前記電源供給部による電源供給を所定時間停止した後再開してシステムを再起動する再起動手段と、
を備えていることを特徴とする情報処理装置。
In an information processing apparatus that operates by receiving operation power from a power supply unit,
A control unit that repeatedly executes an operation program including a routine for outputting a predetermined reset signal;
A watchdog timer that forcibly resets the control unit in response to reaching a preset monitoring time while starting a time measuring operation each time the reset signal is output from the control unit,
When the operation start of the control unit is due to a forced reset by the watchdog timer, restart means for restarting the system by restarting the power supply by the power supply unit after stopping for a predetermined time;
An information processing apparatus comprising:
前記再起動手段は、前記制御部の動作開始が前記ウォッチドッグタイマによる強制リセットに起因するものである場合、前記電源供給部に電源供給を停止させるとともに計時動作を開始し、その計時時間が予め設定された第2の監視時間に達したことに応じて前記電源供給部に電源供給を再開させてシステムを再起動することを特徴とする請求項1に記載の情報処理装置。   In the case where the operation start of the control unit is caused by a forced reset by the watchdog timer, the restarting unit stops the power supply to the power supply unit and starts a time measurement operation, and the time measurement is previously performed. The information processing apparatus according to claim 1, wherein the power supply unit restarts the power supply and restarts the system in response to reaching the set second monitoring time. 前記再起動手段を動作させる予備電源を供給する予備電源供給手段をさらに備え、
前記再起動手段は、前記電源供給部による電源供給が停止したとき、前記予備電源供給手段からの電源供給を受けて動作することを特徴とする請求項2に記載の情報処理装置。
A standby power supply means for supplying a standby power supply for operating the restarting means;
The information processing apparatus according to claim 2, wherein the restarting unit operates by receiving power supply from the standby power supply unit when power supply by the power supply unit is stopped.
前記ウォッチドッグタイマによる計時動作時にオンされ、システムの正常終了時にオフされるフラグを記憶するフラグ記憶手段をさらに備え、
前記再起動手段は、前記制御部の動作開始時に前記フラグ記憶手段に記憶されたフラグを参照し、当該フラグがオンされている場合に前記制御部の動作開始が前記ウォッチドッグタイマによる強制リセットに起因するものであると特定することを特徴とする請求項1乃至3のうちいずれか1に記載の情報処理装置。
Flag storage means for storing a flag that is turned on during the time counting operation by the watchdog timer and turned off when the system is normally terminated;
The restarting unit refers to the flag stored in the flag storage unit when the operation of the control unit starts, and when the flag is turned on, the operation start of the control unit is forced to be reset by the watchdog timer. The information processing apparatus according to claim 1, wherein the information processing apparatus is specified as being caused.
JP2009167827A 2009-07-16 2009-07-16 Information processor Pending JP2011022833A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009167827A JP2011022833A (en) 2009-07-16 2009-07-16 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009167827A JP2011022833A (en) 2009-07-16 2009-07-16 Information processor

Publications (1)

Publication Number Publication Date
JP2011022833A true JP2011022833A (en) 2011-02-03

Family

ID=43632849

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009167827A Pending JP2011022833A (en) 2009-07-16 2009-07-16 Information processor

Country Status (1)

Country Link
JP (1) JP2011022833A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102768501A (en) * 2012-08-02 2012-11-07 广西电网公司电力科学研究院 Automatic rebooting machine for personal computer (PC) with monitoring unit
JP2015049827A (en) * 2013-09-04 2015-03-16 Necプラットフォームズ株式会社 Circuit device and restoration method for circuit device
CN107329847A (en) * 2017-06-05 2017-11-07 深圳市有方科技股份有限公司 The supervisory circuit of control system
CN109813550A (en) * 2017-11-16 2019-05-28 斯凯孚公司 The method of condition monitoring sensing system and the situation for monitoring system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61156442A (en) * 1984-12-28 1986-07-16 Yokogawa Electric Corp Abnormality detecting device of central processing device
JPH08235444A (en) * 1995-02-27 1996-09-13 Tec Corp Merchandise sales register data processor
JP2001101034A (en) * 1999-09-29 2001-04-13 Hitachi Ltd Fault restoring method under inter-different kind of os control
JP2003248599A (en) * 2001-12-20 2003-09-05 Internatl Business Mach Corp <Ibm> Information processing device, power source control device, and information processing device control method, program and recording medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61156442A (en) * 1984-12-28 1986-07-16 Yokogawa Electric Corp Abnormality detecting device of central processing device
JPH08235444A (en) * 1995-02-27 1996-09-13 Tec Corp Merchandise sales register data processor
JP2001101034A (en) * 1999-09-29 2001-04-13 Hitachi Ltd Fault restoring method under inter-different kind of os control
JP2003248599A (en) * 2001-12-20 2003-09-05 Internatl Business Mach Corp <Ibm> Information processing device, power source control device, and information processing device control method, program and recording medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102768501A (en) * 2012-08-02 2012-11-07 广西电网公司电力科学研究院 Automatic rebooting machine for personal computer (PC) with monitoring unit
JP2015049827A (en) * 2013-09-04 2015-03-16 Necプラットフォームズ株式会社 Circuit device and restoration method for circuit device
CN107329847A (en) * 2017-06-05 2017-11-07 深圳市有方科技股份有限公司 The supervisory circuit of control system
CN109813550A (en) * 2017-11-16 2019-05-28 斯凯孚公司 The method of condition monitoring sensing system and the situation for monitoring system
CN109813550B (en) * 2017-11-16 2022-09-06 斯凯孚公司 Condition monitoring sensor system and method for monitoring condition of system

Similar Documents

Publication Publication Date Title
TW201237753A (en) Expedited computer boot system and method
JP2011022833A (en) Information processor
JP6218510B2 (en) Image processing apparatus, image processing apparatus control method, and program
JP4852625B2 (en) Information processing device
KR101772920B1 (en) Information processing apparatus, control method for information processing apparatus, and storage medium
JP4887065B2 (en) Product sales data processing apparatus and reboot control program
JP5185918B2 (en) Electronic device and program
JP2004362543A (en) Safety power disconnection system and its method
JP2009238211A (en) Information processing apparatus and elapsed time measurement method
US9883067B2 (en) Memory reset control apparatus, method for controlling the control apparatus, and storage medium
JP7006151B2 (en) Reboot system and information processing equipment
JP2017162177A (en) Electronic apparatus, restoration method, and program
JP2010282308A (en) Automatic transaction apparatus
JP2003015780A (en) Power source controller and power source control method
JP2012238166A (en) Information processing device and program
JP2001306345A (en) Information processor and pos terminal
JP2005031903A (en) Information processor
JP2002032866A (en) Control system for sales data
JP7396520B2 (en) Sales data processing system
JP2011103051A (en) Information processor
JP2011039963A (en) Electronic equipment, commodity sales data registration device, and control program of electronic equipment
JP2009015525A (en) Data processor and control method thereof
JP2012048496A (en) Pos terminal device, remote management device and pos system
JP2001076253A (en) Commodity sales registering data processor
JP2001195274A (en) Method for automatically restoring failure and display system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110408

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110419

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110620

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111220

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120217

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120403