JP2001306345A - Information processor and pos terminal - Google Patents

Information processor and pos terminal

Info

Publication number
JP2001306345A
JP2001306345A JP2000115280A JP2000115280A JP2001306345A JP 2001306345 A JP2001306345 A JP 2001306345A JP 2000115280 A JP2000115280 A JP 2000115280A JP 2000115280 A JP2000115280 A JP 2000115280A JP 2001306345 A JP2001306345 A JP 2001306345A
Authority
JP
Japan
Prior art keywords
memory
business
central processing
processing unit
pos terminal
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
JP2000115280A
Other languages
Japanese (ja)
Inventor
Kazunori Honma
一憲 本間
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 JP2000115280A priority Critical patent/JP2001306345A/en
Publication of JP2001306345A publication Critical patent/JP2001306345A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent lowering of response due to memory leakage without periodically performing reboot. SOLUTION: Whether or not memory consumption exceeds a regulated value to affect the response of a CPU is judged by periodically checking the memory consumption. And when the memory consumption is judged to exceed the regulated value, a work process with the highest processing frequency is rebooted among various work processes.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、メモリリークが発
生するOS(Operating System)をインストールした情
報処理装置及びPOS(Point Of Sales:販売時点情報
管理)ターミナルに関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an information processing apparatus in which an OS (Operating System) causing a memory leak is installed and a POS (Point Of Sales: point of sale information) terminal.

【0002】[0002]

【従来の技術】近年、流通小売業界等で使用されている
POSターミナルはオープン・システム化が進み、基本
ソフトとしてパーソナルコンピュータ等のコンピュータ
システムに用いられる汎用性の高いOSをインストール
し、このOSの制御下で、登録,点検,精算等の各種業
務を行わせる業務プロセスを選択的に実行するようにし
たものが次々に開発され、実用に供されている。
2. Description of the Related Art In recent years, POS terminals used in the distribution and retail industries have become open systems, and a highly versatile OS used in computer systems such as personal computers is installed as basic software. Under control, business processes for performing various operations such as registration, inspection, and settlement are selectively executed one after another, and are put into practical use.

【0003】ただし、汎用性の高いOSの中には、長期
間に亙って連続して稼動しているとメモリリークの発生
によりCPU(Central Processing Unit:中央演算処
理ユニット)のレスポンスが低下するものがある。
[0003] However, in some highly versatile OSs, the response of a CPU (Central Processing Unit) decreases due to the occurrence of a memory leak if the OS is operated continuously for a long period of time. There is something.

【0004】これに対して、コンビニエンスストア等の
ように24時間営業の店舗で使用されるPOSターミナ
ルは、基本的に常時稼動状態になければならない。そこ
で、長期間の連続稼動によりメモリリークが発生してC
PUのレスポンスが低下するのを防止するために、コン
ビニエンスストアなどでは店舗責任者が定期的にPOS
ターミナルをソフト的にリセットするリブートを行っ
て、メモリリークを除去していた。
[0004] On the other hand, a POS terminal used in a 24-hour store such as a convenience store must basically be always in operation. Therefore, a memory leak occurs due to long-term continuous operation, and C
In order to prevent PU response from deteriorating, store managers at POS
A memory leak was removed by performing a reboot to reset the terminal softly.

【0005】[0005]

【発明が解決しようとする課題】従来のこの種のPOS
ターミナル等の情報処理装置は、メモリリークによるレ
スポンスの低下を防止するために、オペレータが定期的
にリブートを行わなければならない面倒があった。
SUMMARY OF THE INVENTION Conventional POS of this kind
An information processing apparatus such as a terminal has a trouble that an operator must periodically reboot in order to prevent a decrease in response due to a memory leak.

【0006】そこで本発明は、定期的にリブートを行わ
なくてもメモリリークによるレスポンスの低下を防止で
きる情報処理装置を提供しようとするものである。また
本発明は、定期的にリブートを行わなくてもメモリリー
クによるレスポンスの低下を防止できるPOSターミナ
ルを提供しようとするものである。
Accordingly, an object of the present invention is to provide an information processing apparatus capable of preventing a decrease in response due to a memory leak without periodically performing a reboot. Another object of the present invention is to provide a POS terminal capable of preventing a decrease in response due to a memory leak without periodically performing a reboot.

【0007】[0007]

【課題を解決するための手段】本願請求項1記載の発明
は、メモリリークが発生するOSをインストールしたも
ので、そのインストールされたOSの制御下で各種の業
務プロセスを選択的に実行して情報処理を行う中央演算
処理部と、この中央演算処理部が情報の一時記憶領域と
して使用するメモリとを備えた情報処理装置において、
メモリの使用量を定期的にチェックして中央演算処理部
のレスポンスに影響が出る規定値を超えたか否かを判断
するメモリチェック手段と、このメモリチェック手段に
よりメモリの使用量が規定値を超えたと判断されると各
種の業務プロセスのうち処理頻度が最も高い業務プロセ
スを再起動させる再起動制御手段とを備えたものであ
る。
The invention according to claim 1 of the present application has an OS on which a memory leak occurs installed, and selectively executes various business processes under the control of the installed OS. In an information processing apparatus including a central processing unit that performs information processing and a memory that the central processing unit uses as a temporary storage area of information,
A memory check means for periodically checking the memory usage to determine whether or not a specified value that affects the response of the central processing unit is exceeded; and the memory check means that the memory usage exceeds the specified value. And restart control means for restarting the business process having the highest processing frequency among the various business processes when it is determined that the business process has failed.

【0008】本願請求項2記載の発明は、メモリリーク
が発生するOSをインストールしたもので、そのインス
トールされたOSの制御下で登録業務,精算業務等の各
種の業務プロセスを選択的に実行して情報処理を行う中
央演算処理部と、この中央演算処理部が情報の一時記憶
領域として使用するメモリとを備えたPOSターミナル
において、メモリの使用状態を定期的にチェックして中
央演算処理部のレスポンスに影響が出る規定値を超えた
か否かを判断するメモリチェック手段と、このメモリチ
ェック手段によりメモリの使用量が規定値を超えたと判
断されると各種の業務プロセスのうち登録業務の業務プ
ロセスを再起動させる再起動制御手段とを備えたもので
ある。
[0010] The invention according to claim 2 of the present application has an OS on which a memory leak occurs installed, and selectively executes various business processes such as a registration business and a settlement business under the control of the installed OS. In a POS terminal having a central processing unit for performing information processing by using a central processing unit and a memory used by the central processing unit as a temporary storage area for information, the state of use of the memory is periodically checked to check the central processing unit. A memory check means for determining whether or not a specified value affecting response has been exceeded, and a business process of a registered business among various business processes when it is determined that the memory usage has exceeded a specified value by the memory check means And restart control means for restarting.

【0009】本願請求項3記載の発明は、上記請求項2
記載の発明において、メモリチェック手段を、定期的に
実行される精算業務の業務プロセス実行中に行うように
したものである。
[0009] The invention described in claim 3 of the present application is the above-described claim 2.
In the described invention, the memory check means is performed during execution of a business process of a settlement business which is periodically executed.

【0010】[0010]

【発明の実施の形態】以下、本発明の一実施の形態を図
面を用いて説明する。なお、この実施の形態は、24時
間営業の店(例えばコンビニエンスストア)に導入され
るオープン・システム対応のPOSターミナルに本発明
を適用した場合である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. This embodiment is a case where the present invention is applied to a POS terminal compatible with an open system installed in a 24-hour store (for example, a convenience store).

【0011】図1は本発明に係るPOSターミナルのハ
ードウェア構成図で、このPOSターミナルは、中央演
算処理部としてCPU1を搭載している。また、CPU
1を起動させる立上げプログラム等の固定的データを予
め格納したROM(Read Only Memory)2、CPU1が
情報の一時記憶領域として使用するRAM(Random Acc
ess Memory)3、現日時を計時する時計部4の他、オン
ライン接続されたホスト装置とのデータ通信を制御する
通信コントローラ5、現金等を収容するためのドロワ6
に開放指令信号を出力する出力ポート7、外部から装着
されるフロッピー(登録商標)ディスクをアクセスして
データの書込み,読出しを行うFDD(Floppy DiskDri
ve)装置8の駆動を制御するFDDコントローラ9、内
蔵のハードディスクをアクセスしてデータの書込み,読
出しを行うHDD(Hard Disk Drive)装置10の駆動
を制御するHDDコントローラ11、商品登録業務等に
供する各種のキーが配設されたキーボード12が接続さ
れるキーボードインタフェース13、バーコードを光学
的に読取るスキャナ14が接続されるスキャナインタフ
ェース15、レシート印字等を行うプリンタ16が接続
されるプリンタインタフェース17、登録商品の品名,
価格等を表示する表示器18が接続される表示器インタ
フェース19等を搭載している。そしてCPU1と、R
OM2,RAM3,時計部4,通信コントローラ5,F
DDコントローラ9,HDDコントローラ11及び各種
入出力機器のインタフェース13,15,17,19と
を、アドレスバス,データバス等のバスライン20で接
続して、制御回路を構成している。
FIG. 1 is a hardware configuration diagram of a POS terminal according to the present invention. The POS terminal has a CPU 1 as a central processing unit. Also, CPU
A ROM (Read Only Memory) 2 in which fixed data such as a start-up program for activating the CPU 1 are stored in advance, and a RAM (Random Acc
ess Memory) 3, a clock unit 4 for measuring the current date and time, a communication controller 5 for controlling data communication with a host device connected online, a drawer 6 for storing cash and the like.
An output port 7 for outputting an open command signal to the FDD (Floppy Disk Dri) for writing and reading data by accessing a floppy (registered trademark) disk mounted from the outside
ve) An FDD controller 9 for controlling the drive of the device 8, an HDD controller 11 for controlling the drive of a hard disk drive (HDD) device 10 for accessing a built-in hard disk and writing / reading data, and a product registration business. A keyboard interface 13 to which a keyboard 12 provided with various keys is connected, a scanner interface 15 to which a scanner 14 for optically reading a barcode is connected, a printer interface 17 to which a printer 16 for performing receipt printing or the like is connected, Registered product name,
A display interface 19 to which a display 18 for displaying a price or the like is connected is mounted. And CPU1 and R
OM2, RAM3, clock unit 4, communication controller 5, F
The DD controller 9, the HDD controller 11, and the interfaces 13, 15, 17, and 19 of various input / output devices are connected by a bus line 20 such as an address bus and a data bus to form a control circuit.

【0012】図2は同POSターミナルのソフトウェア
構成図で、基本ソフトであるOS21と、このOS21
の制御下で動作するメインプロセス22とを実装してい
る。メインプロセス22は、登録業務の実行を制御する
登録プロセス23、点検業務の実行を制御する点検プロ
セス24、精算業務の実行を制御する精算プロセス2
5、RAM3の使用状態をチェックするメモリ判定プロ
セス26等を有する。OS21は、長期間に亙って連続
して稼動しているとメモリリークの発生によりCPU1
のレスポンスが低下するものである。
FIG. 2 is a diagram showing a software configuration of the POS terminal.
And a main process 22 that operates under the control of. The main process 22 includes a registration process 23 for controlling the execution of the registration business, an inspection process 24 for controlling the execution of the inspection business, and a payment process 2 for controlling the execution of the payment business.
5, a memory determination process 26 for checking the use state of the RAM 3 and the like. If the OS 21 has been operating continuously for a long period of time, the CPU 1
Response is reduced.

【0013】因みに、登録業務とは、スキャナ14によ
るバーコードのスキャニング入力又はキーボード12の
キー入力により各商品にそれぞれ設定される商品コード
が入力されると、その入力商品コードで商品データファ
イルを検索して対応する品名,単価などの商品データを
読込み、単価を販売金額として売上データファイルに登
録処理するとともに品名及び単価を表示器18に表示さ
せる商品登録業務、キーボード12の締めキー入力によ
り1取引の登録終了が宣言されるとその取引の合計デー
タを取引データファイルに登録処理するとともにプリン
タ16によりレシートを印字発行する締め登録業務、商
品コードと返品金額が入力されるとその返品金額を返品
データファイルに登録処理する返品登録業務等である。
By the way, the registration operation means that when a product code set for each product is input by scanning input of a bar code by the scanner 14 or key input of the keyboard 12, a product data file is searched by the input product code. Product data such as the corresponding product name and unit price is read, the unit price is registered as a sales amount in the sales data file, and the product name and unit price are displayed on the display unit 18. One transaction is performed by inputting the closing key of the keyboard 12. When the registration end is declared, the total data of the transaction is registered in the transaction data file and the printer 16 prints and issues a receipt. The closing code is entered. When the product code and the return amount are entered, the return amount is returned as return data. This is, for example, a return registration operation for registering a file.

【0014】また、点検業務とは、前記売上データファ
イル,取引データファイル,返品データファイル等で集
計されたデータをプリンタ16により記録紙に印字し点
検レポートとして出力する業務であり、精算業務とは、
前記売上データファイル,取引データファイル,返品デ
ータファイル等で集計されたデータをプリンタ16によ
り記録紙に印字し精算レポートとして出力した後、その
データファイルのデータをクリアする業務である。
Inspection work is the work of printing the data compiled in the sales data file, transaction data file, returned data file, etc. on recording paper by the printer 16 and outputting it as an inspection report. ,
This is the task of clearing the data in the data file after printing the data summed up in the sales data file, transaction data file, returned data file and the like on a recording paper by the printer 16 and outputting it as a settlement report.

【0015】したがって、24時間営業でない店では、
開店時に登録業務を選択し、閉店後に精算業務を実行す
ることで、売上データ,取引データ,返品データ等の日
計データを得ている。また、24時間営業の店では、登
録業務を常時実行し、毎日定刻になると精算業務を一時
的に実行することで同様な日計データを得ている。
Therefore, in a store that is not open for 24 hours,
Daily data such as sales data, transaction data, and returned goods data is obtained by selecting a registration operation at the time of opening the store and executing a settlement operation after the store is closed. In a store that is open 24 hours a day, similar registration data is obtained by executing the registration operation at all times and temporarily executing the settlement operation at the scheduled time every day.

【0016】かかる構成のPOSターミナルは、内蔵の
ハードディスクに、特に図3に示すように、OS21や
メインプロセス22のプログラムデータを格納したプロ
グラムファイル31と、売上データファイル,取引デー
タファイル,返品データファイル等の各種データファイ
ルを電源オフ時にバックアップ保存するバックアップデ
ータファイル32と、後述する再起動フラグの格納ファ
イル33とを形成している。
The POS terminal having such a configuration includes a built-in hard disk, as shown in FIG. 3, particularly, a program file 31 storing program data of the OS 21 and the main process 22, a sales data file, a transaction data file, and a returned data file. And the like, and a backup data file 32 for backing up and saving various data files when the power is turned off, and a restart flag storage file 33 to be described later.

【0017】しかして電源が投入され、ROM2内の立
上げプログラムによりCPU1が立上がると、CPU1
はハードディスクからOS21を読込み、RAM3のプ
ログラムエリアに展開する。以後、CPU1は、電源が
オフされるまで、OS21の制御下で各部の動作を制御
する。
When the power is turned on and the CPU 1 is started by the start-up program in the ROM 2, the CPU 1
Reads the OS 21 from the hard disk and expands it in the program area of the RAM 3. Thereafter, the CPU 1 controls the operation of each unit under the control of the OS 21 until the power is turned off.

【0018】ここで、キーボード12のキー入力あるい
はオンライン接続されたホスト装置からのコマンド入力
により登録業務の実行が指令された場合には、CPU1
はハードディスクから登録プロセス23を読込み、RA
M3のプログラムエリアに展開する。そして、この登録
プロセス23を起動する。
Here, when the execution of the registration job is instructed by the key input of the keyboard 12 or the command input from the host device connected online, the CPU 1
Reads the registration process 23 from the hard disk and
Expand to the program area of M3. Then, the registration process 23 is started.

【0019】これによりCPU1は、商品登録業務,締
め登録業務,返品登録業務等の各種登録業務に関するデ
ータ処理を実行する。このデータ処理において、CPU
1は、RAM3のデータエリアをデータの格納領域とし
て使用する。
As a result, the CPU 1 executes data processing relating to various registration services such as a merchandise registration business, a closing registration business, and a returned goods registration business. In this data processing, the CPU
1 uses the data area of the RAM 3 as a data storage area.

【0020】また、キー入力またはコマンド入力によ
り、精算業務の実行が指令された場合には、CPU1は
ハードディスクから精算プロセス25を読込み、RAM
3のプログラムエリアに展開する。そして、この精算プ
ロセス25を起動する。
When the execution of the settlement operation is instructed by a key input or a command input, the CPU 1 reads the settlement process 25 from the hard disk, and stores it in the RAM.
Expand to program area 3 Then, the settlement process 25 is started.

【0021】これによりCPU1は、図4の流れ図に示
す処理を実行する。すなわち、ST(ステップ)1とし
て、売上データファイル,取引データファイル,返品デ
ータファイル等で集計されたデータをプリンタ16によ
り記録紙に印字し精算レポートとして出力した後、その
データファイルのデータをクリアする精算処理を実行す
る。次に、ST2として前記再起動フラグの状態をチェ
ックする。
Thus, the CPU 1 executes the processing shown in the flowchart of FIG. That is, as ST (step) 1, the data compiled in the sales data file, the transaction data file, the returned data file, and the like are printed on recording paper by the printer 16 and output as a settlement report, and then the data in the data file is cleared. Execute the checkout process. Next, the state of the restart flag is checked as ST2.

【0022】ここで、再起動フラグがオフ(OFF)し
ている場合には(ST3のNO)、ST4としてハード
ディスクからメモリ判定プロセス26を読込み、RAM
3のプログラムエリアに展開する。そして、このメモリ
判定プロセス26を起動する。
Here, if the restart flag is off (OFF) (NO in ST3), the memory determination process 26 is read from the hard disk as ST4,
Expand to program area 3 Then, the memory determination process 26 is started.

【0023】これにより、CPU1は、図5の流れ図に
示す処理を実行する。すなわち、RAM3の使用量を取
得し、予め設定された規定値を超えているか否かを判断
する。規定値は、CPU1のレスポンスに影響が出る値
を前もって測定してハードディスクなどに設定しておい
たものである。(メモリチェック手段)ここで、RAM
3の使用量が規定値を超えていた場合には、前記再起動
フラグをオンする。規定値を超えていない場合には、再
起動フラグをオフのままとする。以上の処理を実行する
ことにより、メモリ判定プロセス26は終了する。これ
により、RAM3のメモリ判定プロセス26が格納され
たプログラムエリアが開放される。
As a result, the CPU 1 executes the processing shown in the flowchart of FIG. That is, the usage amount of the RAM 3 is obtained, and it is determined whether or not the usage amount exceeds a predetermined value. The specified value is obtained by measuring a value that affects the response of the CPU 1 in advance and setting the value in a hard disk or the like. (Memory check means) Here, RAM
If the usage amount of No. 3 exceeds the specified value, the restart flag is turned on. If it does not exceed the specified value, the restart flag is kept off. By executing the above processing, the memory determination process 26 ends. As a result, the program area of the RAM 3 in which the memory determination process 26 is stored is released.

【0024】一方、前記精算プロセス25の処理におい
て、ST2にて再起動フラグの状態をチェックした結
果、オン(ON)している場合には(ST3のYE
S)、ST5として稼動中の登録プロセス23を一旦終
了させる。これにより、RAM3の登録プロセス23が
格納されたプログラムエリアと当該登録プロセス23の
処理によりCPU1が使用したデータエリアが開放され
るので、次に、ST6としてハードディスクから登録プ
ロセス23を読込み、RAM3のプログラムエリアに展
開して、登録プロセス23を再度起動する。(再起動制
御手段)このとき、ST7として前記再起動フラグをオ
フ(OFF)する。ST4にてメモリ判定プロセス26
を起動するか、ST7にて再起動フラグをオフすると、
精算プロセス25は終了する。これにより、RAM3の
精算プロセス25が格納されたプログラムエリアが開放
される。
On the other hand, in the processing of the settlement process 25, as a result of checking the state of the restart flag in ST2, if it is turned on (ON) (YE in ST3)
S), and terminate the operating registration process 23 once as ST5. As a result, the program area of the RAM 3 in which the registration process 23 is stored and the data area used by the CPU 1 by the processing of the registration process 23 are released. Next, the registration process 23 is read from the hard disk as ST6, and the program of the RAM 3 is read. The area is expanded and the registration process 23 is started again. (Restart control means) At this time, the restart flag is turned off (OFF) in ST7. Memory determination process 26 in ST4
Is started or the restart flag is turned off in ST7,
The settlement process 25 ends. As a result, the program area of the RAM 3 in which the settlement process 25 is stored is opened.

【0025】さて、本実施の形態のPOSターミナルを
24時間営業のコンビニエンスストアで使用する場合を
想定すると、POSターミナルは常時稼動状態にあり、
通常は登録業務が実行されて、買物客が買上げる商品の
販売データ等が登録処理されている。また、1日の予め
決められた時刻になると精算業務が実行されて、売上デ
ータ,取引データ,返品データ等の日計データが算出さ
れている。
Now, assuming that the POS terminal of the present embodiment is used in a 24-hour convenience store, the POS terminal is always in operation.
Usually, a registration operation is performed, and sales data and the like of merchandise purchased by the shopper are registered. Also, at a predetermined time of the day, a settlement operation is performed, and daily total data such as sales data, transaction data, and returned data is calculated.

【0026】そして、この定期的に実施される精算業務
において、RAM3の使用量がチェックされる。そし
て、使用量が予め設定されている規定値に達していない
段階では、ハードディスクに格納されている再起動フラ
グがオフのままとなる。再起動フラグがオフの状態で
は、処理頻度が最も高い登録プロセス23の再起動は行
われない。
The amount of the RAM 3 used is checked in the settlement work that is periodically performed. Then, when the usage amount has not reached the preset specified value, the restart flag stored in the hard disk remains off. When the restart flag is off, the registration process 23 having the highest processing frequency is not restarted.

【0027】したがって、登録プロセス23の長期間の
連続稼動によりメモリリークが発生し、RAM3の使用
量が次第に増加する。そして、RAM3の使用量が規定
値を超えると、再起動フラグがオンする。これにより、
次回の精算業務実行時には、登録プロセス23が自動的
に再起動される。その結果、登録プロセス23が使用し
ていたRAM領域が開放されるので、RAM3の使用量
が減少する。すなわち、RAM3の使用量増加によりC
PU1のレスポンスが低下する前に、RAM3の使用量
を減少させることができるので、CPU1のレスポンス
が低下することがなく、処理効率を高めることができ
る。
Therefore, a memory leak occurs due to the long-term continuous operation of the registration process 23, and the usage of the RAM 3 gradually increases. Then, when the usage amount of the RAM 3 exceeds the specified value, the restart flag is turned on. This allows
The registration process 23 is automatically restarted at the next execution of the settlement operation. As a result, the RAM area used by the registration process 23 is released, so that the usage of the RAM 3 is reduced. That is, C increases due to an increase in the usage of the RAM3.
Since the usage of the RAM 3 can be reduced before the response of the PU 1 decreases, the response of the CPU 1 does not decrease and the processing efficiency can be improved.

【0028】かくして、本実施の形態によれば、POS
ターミナルをソフト的にリセットするリブートが必要な
くなるので、オペレータの負担を軽減できる上、リブー
トし忘れによるレスポンスの低下も生じ得なくなる。ま
た、CPU2の立上げ失敗のリスクがない上、立ち上が
り直後のレスポンスの低下もないので、信頼性が向上さ
れる。
Thus, according to the present embodiment, the POS
Since it is not necessary to perform a reboot for resetting the terminal by software, the burden on the operator can be reduced, and a drop in response due to forgetting to reboot cannot occur. Further, there is no risk of failure of the startup of the CPU 2 and there is no decrease in the response immediately after the startup, so that the reliability is improved.

【0029】なお、前記一実施の形態では、精算業務の
業務プロセス実行中にRAMの使用量をチェックし、規
定値を超えていた場合に再起動フラグをセットし、次回
の精算業務実行時に登録業務の業務プロセスを再起動し
たが、RAMの使用量をチェックした結果、規定値を超
えていた場合に、即座に登録業務の業務プロセスを再起
動してもよい。ただし、前記一実施の形態のように再起
動フラグを用いることによって、メモリ判定プロセス2
6を精算業務実行毎に起動させる必要がなくなり、CP
U1の負荷を軽減できる効果を奏する。
In the above-described embodiment, the RAM usage is checked during execution of the business process of the settlement business, and if it exceeds the specified value, a restart flag is set. Although the business process of the business is restarted, if the usage of the RAM has been checked and the specified value has been exceeded, the business process of the registered business may be restarted immediately. However, by using the restart flag as in the first embodiment, the memory determination process 2
6 does not have to be activated every time the settlement business is executed.
This has the effect of reducing the load on U1.

【0030】また、本発明はPOSターミナルに限定さ
れるものではなく、パーソナルコンピュータ等、メモリ
リークが発生するOSをインストールした情報処理装置
全般に適用できるものである。この場合において、定期
的に実行される業務の業務プロセス実行中にRAMの使
用量をチェックし、規定値を超えたか否かを判断するこ
とが好ましい。また、再起動する業務プロセスは、常時
起動されている業務プロセスのように処理頻度が最も高
いプロセスとすることで、メモリの使用量を確実に減少
させることができる。
The present invention is not limited to a POS terminal, but can be applied to any information processing apparatus such as a personal computer in which an OS causing a memory leak is installed. In this case, it is preferable to check the usage of the RAM during the execution of the business process of the business that is periodically executed, and to determine whether or not the usage exceeds the specified value. In addition, the business process to be restarted is the process with the highest processing frequency, such as the business process that is always started, so that the memory usage can be reliably reduced.

【0031】[0031]

【発明の効果】以上詳述したように、本願請求項1記載
の発明によれば、定期的にリブートを行わなくてもメモ
リリークによるレスポンスの低下を防止できる情報処理
装置を提供できる。また、本願請求項2及び3記載の発
明によれば、定期的にリブートを行わなくてもメモリリ
ークによるレスポンスの低下を防止できるPOSターミ
ナルを提供できる。
As described above in detail, according to the first aspect of the present invention, it is possible to provide an information processing apparatus capable of preventing a decrease in response due to a memory leak without periodically performing a reboot. Further, according to the inventions described in claims 2 and 3 of the present application, it is possible to provide a POS terminal that can prevent a decrease in response due to a memory leak without periodically performing a reboot.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の一実施の形態であるPOSターミナ
ルのハードウェア構成を示すブロック図。
FIG. 1 is a block diagram showing a hardware configuration of a POS terminal according to an embodiment of the present invention.

【図2】 同POSターミナルのソフトウェア構成を示
す概念図。
FIG. 2 is a conceptual diagram showing a software configuration of the POS terminal.

【図3】 同POSターミナルに内蔵されるハードディ
スクが格納するファイルエリアの概念図。
FIG. 3 is a conceptual diagram of a file area stored in a hard disk built in the POS terminal.

【図4】 同POSターミナルのCPUが精算プロセス
を実行したときの処理手順を示す流れ図。
FIG. 4 is a flowchart showing a processing procedure when a CPU of the POS terminal executes a checkout process.

【図5】 同POSターミナルのCPUがメモリ判定プ
ロセスを実行したときの処理手順を示す流れ図。
FIG. 5 is a flowchart showing a processing procedure when a CPU of the POS terminal executes a memory determination process.

【符号の説明】[Explanation of symbols]

1…CPU 2…ROM 3…RAM 10…HDD 21…OS 23…登録プロセス 25…精算プロセス 26…メモリ判定プロセス 33…再起動フラグの格納ファイル DESCRIPTION OF SYMBOLS 1 ... CPU 2 ... ROM 3 ... RAM 10 ... HDD 21 ... OS 23 ... Registration process 25 ... Settlement process 26 ... Memory judgment process 33 ... File storing a restart flag

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 予め設定されたオペレーティングシステ
ムの制御下で各種の業務プロセスを選択的に実行して情
報処理を行う中央演算処理部と、この中央演算処理部が
情報の一時記憶領域として使用するメモリと、このメモ
リの使用量を定期的にチェックして前記中央演算処理部
のレスポンスに影響が出る規定値を超えたか否かを判断
するメモリチェック手段と、このメモリチェック手段に
より前記メモリの使用量が前記規定値を超えたと判断さ
れると前記各種の業務プロセスのうち処理頻度が最も高
い業務プロセスを再起動させる再起動制御手段とを具備
したことを特徴とする情報処理装置。
1. A central processing unit for selectively executing various business processes under control of a preset operating system to perform information processing, and the central processing unit is used as a temporary storage area for information. A memory, a memory check means for periodically checking the amount of use of the memory and determining whether or not a prescribed value affecting a response of the central processing unit is exceeded; and a memory check means for using the memory by the memory check means. An information processing apparatus, comprising: restart control means for restarting a business process having the highest processing frequency among the various business processes when it is determined that the amount exceeds the specified value.
【請求項2】 予め設定されたオペレーティングシステ
ムの制御下で登録業務,精算業務等の各種の業務プロセ
スを選択的に実行して情報処理を行う中央演算処理部
と、この中央演算処理部が情報の一時記憶領域として使
用するメモリと、このメモリの使用状態を定期的にチェ
ックして前記中央演算処理部のレスポンスに影響が出る
規定値を超えたか否かを判断するメモリチェック手段
と、このメモリチェック手段により前記メモリの使用量
が前記規定値を超えたと判断されると前記各種の業務プ
ロセスのうち登録業務の業務プロセスを再起動させる再
起動制御手段とを具備したことを特徴とするPOSター
ミナル。
2. A central processing unit for selectively executing various business processes such as a registration business and a settlement business under the control of a preset operating system to perform information processing, A memory used as a temporary storage area, a memory check means for periodically checking a use state of the memory, and determining whether or not a specified value affecting a response of the central processing unit is exceeded. POS terminal comprising: a restart control unit for restarting a business process of a registered business among the various business processes when the check unit determines that the usage of the memory exceeds the specified value. .
【請求項3】 メモリチェック手段は、定期的に実行さ
れる精算業務の業務プロセス実行中に行うことを特徴と
する請求項2記載のPOSターミナル。
3. The POS terminal according to claim 2, wherein said memory check means is performed during execution of a business process of a settlement business which is periodically executed.
JP2000115280A 2000-04-17 2000-04-17 Information processor and pos terminal Pending JP2001306345A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000115280A JP2001306345A (en) 2000-04-17 2000-04-17 Information processor and pos terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000115280A JP2001306345A (en) 2000-04-17 2000-04-17 Information processor and pos terminal

Publications (1)

Publication Number Publication Date
JP2001306345A true JP2001306345A (en) 2001-11-02

Family

ID=18626958

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000115280A Pending JP2001306345A (en) 2000-04-17 2000-04-17 Information processor and pos terminal

Country Status (1)

Country Link
JP (1) JP2001306345A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1327352C (en) * 2003-09-23 2007-07-18 中兴通讯股份有限公司 Method of detecting and location of leakage of internal storage of real-time system localization
JP2007264805A (en) * 2006-03-27 2007-10-11 Toshiba Tec Corp Merchandise sales data processor and reboot control program
JP2008027294A (en) * 2006-07-24 2008-02-07 Fuji Electric Retail Systems Co Ltd Automatic vending machine and program
JP2009301298A (en) * 2008-06-12 2009-12-24 Yahoo Japan Corp System, method and program for estimating response impossibility time of application
JP2011054114A (en) * 2009-09-04 2011-03-17 Nippon Telegr & Teleph Corp <Ntt> Method, device, and program for handling memory leak
US8334875B2 (en) 2008-05-29 2012-12-18 Kyocera Document Solutions Inc. Operation displaying device and image forming device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1327352C (en) * 2003-09-23 2007-07-18 中兴通讯股份有限公司 Method of detecting and location of leakage of internal storage of real-time system localization
JP2007264805A (en) * 2006-03-27 2007-10-11 Toshiba Tec Corp Merchandise sales data processor and reboot control program
JP2008027294A (en) * 2006-07-24 2008-02-07 Fuji Electric Retail Systems Co Ltd Automatic vending machine and program
US8334875B2 (en) 2008-05-29 2012-12-18 Kyocera Document Solutions Inc. Operation displaying device and image forming device
JP2009301298A (en) * 2008-06-12 2009-12-24 Yahoo Japan Corp System, method and program for estimating response impossibility time of application
JP2011054114A (en) * 2009-09-04 2011-03-17 Nippon Telegr & Teleph Corp <Ntt> Method, device, and program for handling memory leak

Similar Documents

Publication Publication Date Title
US6327653B1 (en) Technique for easily changing operating systems of a digital computer system using at least two pushbuttons
JP4887065B2 (en) Product sales data processing apparatus and reboot control program
EP1906309A2 (en) Information processing apparatus, control apparatus therefor, control method therefor and control program
JP2001306345A (en) Information processor and pos terminal
JPH08227356A (en) Data processor
JP2001195237A (en) Computer and display method for computer and recording medium with display program of computer
US20100325266A1 (en) Web service processing method for a web server providing device, and a web service providing device
JP2005115975A (en) Information processor
JP2005031903A (en) Information processor
JP5587953B2 (en) Product registration device and program
JP3912910B2 (en) Product sales registration processing device
JP2001076253A (en) Commodity sales registering data processor
JPH117392A (en) Data processor obtained by duplexing auxiliary storage device and method for falling system of data processor
JPH08153277A (en) Electronic cash register
JP7396520B2 (en) Sales data processing system
JPH08235444A (en) Merchandise sales register data processor
JP4909935B2 (en) Merchandise sales data processing apparatus and control method thereof
JP4825659B2 (en) Product registration processing device
JP2788828B2 (en) Data processing device
JPH05334556A (en) Merchandise sales data processor
JPH0991545A (en) Article sale registration data processor
JP2002074519A (en) System for processing merchandise sales data
JPH1063957A (en) Sales registering device
JPH1196459A (en) Merchandise sales registering device
JPH0935144A (en) Processor for commodity sales registering data

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060110

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060308

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060912