JP2003186710A - Data maintenance device and data maintenance method - Google Patents

Data maintenance device and data maintenance method

Info

Publication number
JP2003186710A
JP2003186710A JP2001386258A JP2001386258A JP2003186710A JP 2003186710 A JP2003186710 A JP 2003186710A JP 2001386258 A JP2001386258 A JP 2001386258A JP 2001386258 A JP2001386258 A JP 2001386258A JP 2003186710 A JP2003186710 A JP 2003186710A
Authority
JP
Japan
Prior art keywords
data
maintenance
monitoring
storage means
power
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
JP2001386258A
Other languages
Japanese (ja)
Inventor
Yuji Nakajima
祐二 中嶋
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2001386258A priority Critical patent/JP2003186710A/en
Publication of JP2003186710A publication Critical patent/JP2003186710A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data maintenance device capable of determining a timing of data maintenance processing based on operation conditions without being accompanied with a heavy processing load. <P>SOLUTION: The data maintenance device is provided with a data storage means 16, a control means 15 for controlling the storage means 16, a monitoring means 12 for monitoring the state of access to the storage means 16, and an operation decision means 14 for deciding from monitoring results whether with or without access to the storage means and for transmitting to the control means a command to perform data maintenance processing if without any access for a certain period of time. If without any access to the storage means 16 for more than the period of time predetermined by a user, data maintenance such as solution of fragmentation problem, substitute processing of damaged data, and error rate checking, is efficiently performed during the time the device is not used by the user. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、記録したデータの
再配置やエラーチェックなどのデータメンテナンスを行
う装置と、その方法と、その構成を取り入れた機器に関
し、特に、データメンテナンスを行うタイミングを重い
負担を伴わずに判断できるようにしたものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for performing data maintenance such as relocation of recorded data and error checking, a method therefor, and a device incorporating the configuration, and particularly, the timing for performing data maintenance is heavy. This is so that the decision can be made without burden.

【0002】[0002]

【従来の技術】従来、パーソナルコンピュータ等では、
デ−タを記憶領域に書き込む場合、データが記憶領域の
連続した範囲に収まらないとき、あちこちの領域に分散
して書き込むフラグメンテーションと言う処理が行われ
る。このように複数の領域に分散して記録したデータ
は、それを読み出す際、それぞれのデータを集めるため
の処理が必要になり、アクセススピードが遅くなる。そ
のため、使用者は、パーソナルコンピュータに内蔵され
たメンテナンスプログラムを随時起動してデータ整列を
行い、データの不連続を是正している。また、記憶領域
に蓄積したデータの破壊や消滅が発生した場合も、使用
者はメンテナンスプログラムを起動してデータの破壊状
況を調べたり、データの修復を行ったりしている。
2. Description of the Related Art Conventionally, in personal computers and the like,
When writing data to a storage area, when the data does not fit in a continuous area of the storage area, a process called fragmentation is performed in which the data is scattered and written in various areas. The data recorded by being dispersed in a plurality of areas as described above requires a process for collecting the respective data when the data is read, and the access speed becomes slow. Therefore, the user activates the maintenance program built into the personal computer as needed to align the data and correct the data discontinuity. In addition, even when the data accumulated in the storage area is destroyed or lost, the user activates the maintenance program to check the data destruction status or repair the data.

【0003】こうしたメンテナンス処理を自動化する方
法として、スケジューラプログラムにより、特定の曜日
や日時などにメンテナンスプログラムを自動的に起動す
る方法が知られている。ただ、この方法では、指定した
日時に装置の電源が入っていなかった場合などに、デー
タメンテナンス処理が実施されないという問題点があ
る。
As a method of automating such maintenance processing, there is known a method of automatically activating a maintenance program on a specific day of the week or a date and time by a scheduler program. However, this method has a problem that the data maintenance process is not performed when the power of the device is not turned on at the designated date and time.

【0004】これに対して、特開平8−106411号
公報には、装置の稼働状態を識別し、非稼働状態のとき
にデータメンテナンス処理を自動的に行う方式が開示さ
れている。この方式では、装置の稼働率を監視する処理
とオペレーティングシステムの一般処理とが交互に繰り
返され、稼働率監視処理において、CPU及びデータ記
憶装置の稼働率が1秒毎に算出される。
On the other hand, Japanese Unexamined Patent Publication No. 8-106411 discloses a method of identifying the operating state of the apparatus and automatically performing the data maintenance process when the apparatus is not operating. In this method, the processing of monitoring the operating rate of the device and the general processing of the operating system are alternately repeated, and in the operating rate monitoring processing, the operating rates of the CPU and the data storage device are calculated every one second.

【0005】CPUの稼働率は、CPUがコマンドや割
り込みを待つアイドル状態であるか否かのチェックを繰
り返し、そのチェック回数とアイドル状態の回数とをカ
ウントし、1秒毎にアイドル状態の回数をチェック回数
で除算して、CPUの1秒毎の稼働率が算出される。ま
た、記憶装置の稼働率は、記憶装置へのアクセスが行わ
れているか否かのチェックを繰り返し、そのチェック回
数と、アクセスされているときのアクセス回数とをカウ
ントし、1秒毎にアクセス回数をチェック回数で除算し
て、記憶装置の1秒毎の稼働率が算出される。そして、
CPU及び記憶装置の稼働率が、所定時間以上継続して
閾値よりも低いとき、メンテナンスプログラムを起動し
てデータメンテナンス作業が開始される。
As for the operating rate of the CPU, it is repeatedly checked whether or not the CPU is in an idle state waiting for a command or interrupt, the number of checks and the number of idle states are counted, and the number of idle states is calculated every second. By dividing by the number of checks, the operating rate of the CPU per second is calculated. In addition, the operating rate of the storage device is checked by repeatedly checking whether or not the storage device is being accessed. The number of checks and the number of times of access when the storage device is being accessed are counted. Is divided by the number of checks to calculate the operation rate of the storage device per second. And
When the operating rates of the CPU and the storage device are lower than the threshold value continuously for a predetermined time or longer, the maintenance program is activated and the data maintenance work is started.

【0006】[0006]

【発明が解決しようとする課題】しかし、稼働率からデ
ータメンテナンス処理のタイミングを決定する従来の方
式では、稼働率監視処理時に装置のパフォーマンス(性
能、効率)が著しく低下し、装置を操作する必要が生じ
たときに、処理能力が落ちて応答が遅くなり、使用者に
不快感を与えてしまうという問題点がある。
However, in the conventional method in which the timing of the data maintenance process is determined from the operating rate, the performance (performance, efficiency) of the apparatus is significantly reduced during the operating rate monitoring processing, and it is necessary to operate the apparatus. When the above occurs, there is a problem that the processing ability is deteriorated and the response becomes slow, which gives the user an unpleasant feeling.

【0007】本発明は、こうした従来の問題点を解決す
るものであり、重い処理負担を伴わずに、稼働状態に基
づいてデータメンテナンス処理のタイミングを決めるこ
とができるデータメンテナンス装置を提供し、また、そ
れを組み入れた機器と、そのデータメンテナンス方法
と、その方法を実行するコンピュータプログラムとを提
供することを目的としている。
The present invention solves these conventional problems, and provides a data maintenance apparatus which can determine the timing of data maintenance processing based on the operating state without a heavy processing load. , A device incorporating the same, a data maintenance method thereof, and a computer program for executing the method.

【0008】[0008]

【課題を解決するための手段】そこで、本発明では、デ
ータメンテナンス装置に、データを記憶する記憶手段
と、前記記憶手段を制御する制御手段と、前記記憶手段
へのアクセス状態を監視するアクセス状態監視手段と、
前記アクセス状態監視手段の監視結果から前記記憶手段
に対するアクセスの有無を判断し、前記アクセスが一定
時間以上無かった場合に、前記制御手段へデータのメン
テナンス処理の実施命令を伝達する動作判断手段とを設
け、前記制御手段が前記動作判断手段からの指示に従っ
て前記記憶手段に記憶されたデータのメンテナンスを実
施するように構成している。
In view of the above, according to the present invention, a data maintenance device has a storage means for storing data, a control means for controlling the storage means, and an access state for monitoring an access state to the storage means. Monitoring means,
An operation determining unit that determines whether or not the storage unit is accessed from the monitoring result of the access state monitoring unit, and transmits a command for executing a data maintenance process to the control unit when the access has not been made for a predetermined time or more. The control means is configured to perform maintenance of the data stored in the storage means in accordance with an instruction from the operation determination means.

【0009】また、データメンテナンス装置に、データ
を記憶する記憶手段と、前記記憶手段を制御する制御手
段と、電源からの電力の供給状態または前記記憶手段に
おける電力の消費状態を監視する電力監視手段と、前記
電力監視手段の監視結果から前記記憶手段に対する余剰
な電力が確認された場合に、前記制御手段へデータのメ
ンテナンス処理の実施命令を伝達する動作判断手段とを
設け、前記制御手段が前記動作判断手段からの指示に従
って前記記憶手段に記憶されたデータのメンテナンスを
実施するように構成している。
In the data maintenance device, storage means for storing data, control means for controlling the storage means, and power monitoring means for monitoring a power supply state from a power source or a power consumption state in the storage means. And an operation judging means for transmitting a command for carrying out a data maintenance process to the control means when excess power to the storage means is confirmed from the monitoring result of the power monitoring means, and the control means The data stored in the storage means is maintained in accordance with an instruction from the operation determining means.

【0010】また、データメンテナンス装置に、データ
を記憶する記憶手段と、前記記憶手段を制御する制御手
段と、前記記憶手段へのアクセス状態を監視するアクセ
ス状態監視手段と、電源からの電力の供給状態または前
記記憶手段における電力の消費状態を監視する電力監視
手段と、手動によりデータのメンテナンス処理を指示す
る操作手段と、前記アクセス状態監視手段、電力監視手
段及び操作手段からの情報の組み合わせによって、前記
記憶手段に記憶されたデータに対するメンテナンスの必
要性を判断し、前記制御手段にデータのメンテナンス処
理の実施命令を伝達する動作判断手段とを設け、前記制
御手段が前記動作判断手段からの指示に従って前記記憶
手段に記憶されたデータのメンテナンスを実施するよう
に構成している。
In the data maintenance device, storage means for storing data, control means for controlling the storage means, access state monitoring means for monitoring the access state to the storage means, and power supply from a power source By a combination of power monitoring means for monitoring the state or power consumption status in the storage means, operating means for manually instructing data maintenance processing, and information from the access status monitoring means, power monitoring means and operating means, An operation determination means for determining the necessity of maintenance for the data stored in the storage means and transmitting an execution command of the data maintenance processing to the control means is provided, and the control means follows the instruction from the operation determination means. The maintenance of the data stored in the storage means is performed.

【0011】また、データメンテナンス方法では、デー
タを記憶する記憶手段へのアクセス状態を監視し、前記
アクセスが一定時間以上無かった場合に、前記記憶手段
に記憶されたデータのメンテナンスを実施するようにし
ている。
Further, in the data maintenance method, the access state to the storage means for storing the data is monitored, and the maintenance of the data stored in the storage means is carried out when the access is not made for a predetermined time or more. ing.

【0012】また、データを記憶する記憶手段における
電力の消費状態または電源からの電力の供給状態を監視
し、前記記憶手段に対する余剰な電力が確認された場合
に、前記記憶手段に記憶されたデータのメンテナンスを
実施するようにしている。
Further, when the power consumption state or the power supply state from the power source in the storage means for storing the data is monitored and the surplus power to the storage means is confirmed, the data stored in the storage means I am trying to carry out maintenance.

【0013】また、データを記憶する記憶手段へのアク
セス状態を監視し、前記記憶手段における電力の消費状
態または電源からの電力の供給状態を監視し、さらに、
前記データのメンテナンス処理の指示操作を監視し、前
記アクセス状態の監視結果と、前記電力の消費状態また
は供給状態の監視結果と、前記指示操作の監視結果との
組み合わせにより、前記記憶手段に記憶されたデータに
対するメンテナンスの必要性を判断して前記データのメ
ンテナンスを実施するようにしている。
Further, the access state to the storage means for storing data is monitored, the power consumption state in the storage means or the power supply state from the power source is monitored, and
The instruction operation of the maintenance processing of the data is monitored and stored in the storage unit by a combination of the monitoring result of the access state, the monitoring result of the power consumption state or the supply state, and the monitoring result of the instruction operation. The maintenance of the data is performed by judging the need for maintenance of the data.

【0014】また、携帯型端末やパーソナルコンピュー
タのデータメンテナンス方法では、データを記憶する記
憶手段へのアクセス状態を監視し、前記記憶手段におけ
る電力の消費状態または電源からの電力の供給状態を監
視し、前記データのメンテナンス処理の指示操作を監視
し、さらに、前記データのメンテナンス処理よりも優先
すべき処理の発生を監視し、前記アクセス状態の監視結
果と、前記電力の消費状態または供給状態の監視結果
と、前記指示操作の監視結果との組み合わせにより、前
記記憶手段に記憶されたデータに対するメンテナンスの
必要性を判断して前記データのメンテナンスを実施し、
前記データのメンテナンス処理の実施中に前記優先すべ
き処理が発生した場合に、前記データのメンテナンス処
理を中断して前記優先すべき処理を実施するようにして
いる。
Further, in the data maintenance method for the portable terminal or the personal computer, the access state to the storage means for storing data is monitored, and the power consumption state or the power supply state from the power source in the storage means is monitored. Monitoring the instruction operation of the data maintenance processing, further monitoring the occurrence of processing that should be prioritized over the data maintenance processing, monitoring the access status monitoring result, and monitoring the power consumption status or supply status. By combining the result and the monitoring result of the instructing operation, the necessity of maintenance for the data stored in the storage means is determined, and the maintenance of the data is performed.
When the priority process occurs during the execution of the data maintenance process, the data maintenance process is interrupted and the priority process is performed.

【0015】また、本発明のコンピュータプログラム
は、コンピュータに、データの記憶手段を制御する制御
手順と、前記記憶手段へのアクセス状態を監視するアク
セス状態監視手順と、電源からの電力の供給状態または
前記記憶手段における電力の消費状態を監視する電力監
視手順と、データのメンテナンス処理の指示操作を監視
する指示操作監視手順と、前記データのメンテナンス処
理よりも優先すべき処理の発生を監視する優先処理監視
手順と、前記アクセス状態の監視結果と前記電力の消費
状態または供給状態の監視結果と前記指示操作の監視結
果との組み合わせにより、前記記憶手段に記憶されたデ
ータに対するメンテナンスの必要性を判断して前記デー
タのメンテナンス処理の実施命令を出し、前記データの
メンテナンス処理の実施中に前記優先すべき処理が発生
した場合に、前記データのメンテナンス処理を中断して
前記優先すべき処理の実施を可能にするための命令を出
す動作判断手順とを実行させるようにしている。
Further, the computer program of the present invention causes a computer to control a data storage means, an access state monitoring procedure for monitoring an access state to the storage means, a power supply state from a power source, or A power monitoring procedure for monitoring a power consumption state in the storage unit, an instruction operation monitoring procedure for monitoring an instruction operation of a data maintenance process, and a priority process for monitoring occurrence of a process that should be prioritized over the data maintenance process. The necessity of maintenance for the data stored in the storage unit is determined by a combination of a monitoring procedure, a monitoring result of the access state, a monitoring result of the power consumption state or a supply state, and a monitoring result of the instruction operation. Issue an execution command for the maintenance processing of the data, When the process to be prioritized occurs during the execution, the operation determination procedure for issuing a command for suspending the data maintenance process and enabling the process to be prioritized is executed. .

【0016】こうした構成により、記憶手段に対するア
クセスが事前に使用者が設定した時間以上なかった場合
に、フラグメンテーションの解決や破損したデータの代
替処理、エラーレートのチェックなど、記憶手段に記憶
されたデータのメンテナンスを実施することができ、使
用者が装置を使用していない時に効率良くメンテナンス
処理を自動で行わせることができる。
With this configuration, when the storage means has not been accessed for a time longer than the time set in advance by the user, the data stored in the storage means such as resolution of fragmentation, replacement of damaged data, and error rate check. The maintenance can be performed, and the maintenance process can be automatically performed efficiently when the user is not using the device.

【0017】また、電力の状態から、記憶手段に対する
アクセスや操作が当面行なわれないことが予測される記
憶手段の待機または停止あるいは充電状態を検知して、
記憶装置の電力や処理速度などのパフォーマンスを著し
く低下させることなく、記憶手段に記憶されたデータの
メンテナンス処理を実施することができる。
Further, from the state of electric power, the standby or stop of the storage means or the charging state of the storage means, which is predicted not to be accessed or operated for the time being, is detected,
The maintenance process of the data stored in the storage unit can be performed without significantly deteriorating the performance of the storage device such as power and processing speed.

【0018】また、記憶手段へのアクセス状態の監視結
果と、電力の消費状態または供給状態の監視結果と、指
示操作の監視結果との組み合わせによりメンテナンスの
必要性を判断する場合は、データメンテナンスの実施条
件を増やすことができ、一方の実施条件が満たされてい
ても、他の実施条件が満たされていなければデータメン
テナンスを実施しないなど、使用者の都合に合わせてデ
ータメンテナンスを行わせることができる。
In addition, when the necessity of maintenance is judged by a combination of the monitoring result of the access state to the storage means, the monitoring result of the power consumption state or the supply state, and the monitoring result of the instruction operation, the data maintenance Implementation conditions can be increased, and data maintenance can be performed at the convenience of the user, such as not performing data maintenance if one implementation condition is satisfied but the other implementation condition is not satisfied. it can.

【0019】また、データのメンテナンス処理よりも優
先すべき処理の発生を監視することにより、データメン
テナンスの実施中に優先すべき処理が発生した場合で
も、実施中のデータメンテナンスを中断して、優先処理
を実施することができる。また、優先処理の実施後に、
データメンテナンスを再開することもでき、パフォーマ
ンスの低下を抑えてデータメンテナンス処理を行うこと
ができる。
Also, by monitoring the occurrence of processing that should take priority over the data maintenance processing, even if processing that should take priority during data maintenance occurs, the ongoing data maintenance is interrupted and priority is given. Processing can be performed. In addition, after implementing the priority processing,
Data maintenance can also be restarted, and data maintenance processing can be performed while suppressing performance degradation.

【0020】また、携帯型端末に適用した場合では、電
力の供給状態または消費状態を監視することで携帯型端
末が充電中であるかどうかを判断することができ、供給
電力が豊富で、かつ、他の処理命令が発生しにくい充電
中に、記憶手段のデータを効率よく整理することが可能
になり、利便性の高い携帯型端末を実現することができ
る。
When applied to a portable terminal, it is possible to judge whether the portable terminal is being charged by monitoring the power supply state or power consumption state. It is possible to efficiently organize the data in the storage means during charging in which other processing instructions are unlikely to occur, and it is possible to realize a highly convenient mobile terminal.

【0021】また、パーソナルコンピュータに適用した
場合では、供給電力が豊富で、かつ、他の処理命令が発
生しにくい待機状態にあるときにデータメンテナンスの
実施を自動的に行うことが可能であり、利便性の高いパ
ーソナルコンピュータを実現することができる。
Further, when applied to a personal computer, it is possible to automatically perform data maintenance when the power supply is abundant and in a standby state in which another processing instruction is unlikely to occur, It is possible to realize a highly convenient personal computer.

【0022】[0022]

【発明の実施の形態】(第1の実施形態)本発明の第1
の実施形態では、記憶部への非アクセス時間に基づいて
データメンテナンス処理の実施時期を決定する記憶装置
(データメンテナンス装置)について説明する。
(First Embodiment) First Embodiment of the Present Invention
In the embodiment, a storage device (data maintenance device) that determines the execution time of the data maintenance process based on the non-access time to the storage unit will be described.

【0023】この装置は、図1に示すように、データを
記憶する記憶部16と、記憶部16へのデータの蓄積及び読
出しや、そのデータのメンテナンス処理を制御する制御
部15と、記憶部16へのアクセス状態を監視するアクセス
状態監視部12と、アクセス状態監視部12の監視結果に基
づいてデータメンテナンスを実施すべきか否かを判断す
る動作判断部14とを備えている。
As shown in FIG. 1, this apparatus includes a storage unit 16 for storing data, a control unit 15 for controlling storage and reading of data in the storage unit 16 and maintenance processing of the data, and a storage unit. An access state monitoring unit 12 that monitors the access state to 16 and an operation determination unit 14 that determines whether or not to perform data maintenance based on the monitoring result of the access state monitoring unit 12 are provided.

【0024】記憶部16は、記憶装置へのデータの蓄積及
び読出しを行う際に必要な要素(但し、制御部15は除
く)の総称である。この記憶部16に使用される記憶媒体
は、半導体記憶素子や磁気記憶媒体、光記憶媒体などで
ある。アクセス状態監視部12は、記憶部16に対するデー
タの蓄積や読出し(即ち、記憶部16へのアクセス)の有
無を制御部15を介して監視し、非アクセス状態の経過時
間を計測する。そして、記憶部16に対するアクセスがあ
らかじめ設定した一定時間を経過しても発生していない
場合には、記憶装置の稼働率が低下しているとみなし、
動作判断部14に対して、記憶装置の稼働率の低下を検知
した旨の監視結果情報を送信する。また、その後に記憶
部16に対するアクセスを検知したときは、アクセスを検
知した旨の監視結果情報を動作判断部14に送信する。
The storage unit 16 is a general term for elements (excluding the control unit 15) necessary for storing and reading data in the storage device. The storage medium used for the storage unit 16 is a semiconductor storage element, a magnetic storage medium, an optical storage medium, or the like. The access state monitoring unit 12 monitors whether or not data is stored in or read from the storage unit 16 (that is, access to the storage unit 16) via the control unit 15, and measures the elapsed time in the non-access state. Then, if the access to the storage unit 16 has not occurred even after a predetermined time set in advance, it is considered that the operating rate of the storage device is reduced,
Monitoring result information indicating that a decrease in the operating rate of the storage device is detected is transmitted to the operation determining unit 14. Further, when the access to the storage unit 16 is detected thereafter, the monitoring result information indicating that the access is detected is transmitted to the operation determination unit 14.

【0025】動作判断部14は、アクセス状態監視部12か
らの監視結果情報が事前に定めたデータメンテナンスの
実施条件または中断条件と合致するか否かを判断し、実
施条件に合致する場合には制御部15に対してメンテナン
スの実施命令を送信し、中断条件に合致する場合には制
御部15に対してメンテナンスの中断命令を送信する。制
御部15は、記憶部16に対してデータの蓄積や読出しに必
要な制御処理を実施するとともに、動作判断部14からデ
ータメンテナンスの実施命令を受けたときに、フラグメ
ンテーションの解決や破損したデータの代替処理、エラ
ーレートのチェックなどデータのメンテナンスに必要な
処理の制御を実施し、また、中断命令を受けたときは、
それを中止する。なお、各部の機能は、この装置が内蔵
するコンピュータにプログラムで規定した処理を行わせ
ることにより実現する。
The operation judging unit 14 judges whether or not the monitoring result information from the access state monitoring unit 12 matches a predetermined data maintenance execution condition or interruption condition. A maintenance execution command is transmitted to the control unit 15, and when the suspension condition is met, a maintenance suspension command is transmitted to the control unit 15. The control unit 15 performs a control process required for storing and reading data in the storage unit 16, and when receiving a data maintenance execution command from the operation determination unit 14, resolves fragmentation and recovers corrupted data. Performs control of processing necessary for data maintenance such as alternative processing and error rate checking, and when receiving an interruption command,
Stop it. The function of each unit is realized by causing a computer incorporated in the apparatus to perform a process defined by a program.

【0026】図7のフローチャートは、この装置におい
てデータメンテナンスを行う場合の処理の流れを示して
いる。アクセス状態監視部12は、記憶部16に対するアク
セスの有無を監視し(ステップ13)、あらかじめ設定し
た一定時間を経過しても記憶部16に対するアクセスがな
い場合に、その旨を動作判断部14へ伝える(ステップ1
4)。この通知を受けた動作判断部14は、メンテナンス
の実施を決定し、制御部15に対してメンテナンスの実施
命令を送信する。制御部15は、このデータメンテナンス
の実施命令を受けて、記憶部16のデータメンテナンスの
処理を実施する(ステップ18)。
The flow chart of FIG. 7 shows the flow of processing when data maintenance is performed in this apparatus. The access status monitoring unit 12 monitors the presence or absence of access to the storage unit 16 (step 13), and when there is no access to the storage unit 16 even after a preset fixed time, notifies the operation determination unit 14 to that effect. Tell (Step 1
Four). The operation determination unit 14 that has received this notification determines to perform maintenance, and sends a maintenance execution command to the control unit 15. The control unit 15 receives the data maintenance execution command and executes the data maintenance processing of the storage unit 16 (step 18).

【0027】この装置では、記憶部16に対するアクセス
が事前に使用者が設定した時間以上なかった場合に、記
憶部16に記憶されたデータのメンテナンスが実施され、
使用者が記憶装置を使用していない時に、効率よくデー
タメンテナンス処理が行われる。
In this device, the maintenance of the data stored in the storage unit 16 is carried out when the access to the storage unit 16 has not been made for a predetermined time or more by the user.
Data maintenance processing is efficiently performed when the user is not using the storage device.

【0028】このように、この装置では、記憶部16への
非アクセス状態を監視することにより、記憶装置の稼働
率が低下した時を選んでデータメンテナンス処理を行う
ことができ、従来の方式に比べて、稼働率の低下を検知
するための処理負担が軽く、パフォーマンスの著しい低
下を回避することができる。
As described above, in this device, by monitoring the non-access state to the storage unit 16, it is possible to select the time when the operating rate of the storage device is lowered and perform the data maintenance process. In comparison, the processing load for detecting a decrease in the operating rate is light, and a significant decrease in performance can be avoided.

【0029】(第2の実施形態)本発明の第2の実施形
態では、制御部の消費電力の変化や電源の供給電力の変
化等から稼働率を判断する記憶装置について説明する。
この装置は、図2に示すように、記憶部26、制御部25及
び動作判断部24の他に、この装置の電源部20と、この電
源部20の供給電力や制御部25の電力消費状態を監視する
電源状態監視部21とを備えている。
(Second Embodiment) In a second embodiment of the present invention, a storage device for judging an operating rate from a change in power consumption of a control unit, a change in power supply of a power source, or the like will be described.
As shown in FIG. 2, this device includes, in addition to the storage unit 26, the control unit 25, and the operation determination unit 24, the power supply unit 20 of the device, the power supply of the power supply unit 20 and the power consumption state of the control unit 25. And a power supply state monitoring unit 21 for monitoring.

【0030】電源部20は、記憶装置の各要素に必要な電
力を供給する外部電力または外部電力によって電力を蓄
えた充電池などである。電力状態監視部21は、電源部20
から供給される電力の状態または制御部25の消費電力の
状態を監視する。そして、例えば、電源部20の供給電力
から、記憶装置が待機または停止状態となって消費電力
を抑える、いわゆる省電力モードと呼ばれる状態になっ
たことを検知すると、動作判断部24へ稼働率の低下を検
知した旨の監視結果を送信する。また、記憶装置が充電
池からの電力を使用して稼動する場合には、充電中であ
るか否かを充電池に対する電力供給の有無(即ち、充電
部の電圧変化)を監視して検知し、充電中である場合に
動作判断部24へ稼働率の低下を検知した旨の監視結果を
送信する。また、制御部25の消費電力の低下や、制御部
25への供給電力の増加により制御部25への余剰な電力が
確認されたことで記憶部26が待機状態にあることを検知
すると、動作判断部24へその旨の監視結果を送信する。
The power supply unit 20 is an external power supply for supplying the necessary power to each element of the storage device or a rechargeable battery storing the power by the external power. The power status monitoring unit 21 includes the power supply unit 20.
The state of the electric power supplied from or the state of the power consumption of the control unit 25 is monitored. Then, for example, when it is detected that the storage device is in a standby or stopped state and the power consumption is suppressed, that is, a so-called power saving mode is detected from the power supplied from the power supply unit 20, the operation determination unit 24 is notified of the operating rate. The monitoring result indicating that the decrease is detected is transmitted. In addition, when the storage device operates using the power from the rechargeable battery, it is detected whether or not charging is being performed by monitoring whether or not power is being supplied to the rechargeable battery (that is, voltage change in the charging unit). When the battery is being charged, the monitoring result indicating that the decrease in the operating rate is detected is transmitted to the operation determining unit 24. In addition, a reduction in power consumption of the control unit 25
When the storage unit 26 detects that the storage unit 26 is in the standby state because the surplus power to the control unit 25 is confirmed by the increase in the power supplied to the control unit 25, the monitoring result to that effect is transmitted to the operation determination unit 24.

【0031】動作判断部24は、電力状態監視部21からの
監視結果情報が事前に定めたデータメンテナンスの実施
条件または中断条件と合致するか否かを判断し、実施条
件に合致する場合には制御部25に対してメンテナンスの
実施命令を送信し、中断条件に合致する場合には制御部
25に対してメンテナンスの中断命令を送信する。制御部
25は、第1の実施形態と同様に、動作判断部24の命令に
従って、記憶部26に記憶されたデータのメンテナンス処
理を実行し、または中止する。なお、各部の機能は、こ
の装置が内蔵するコンピュータにプログラムで規定した
処理を行わせることにより実現する。
The operation judging section 24 judges whether or not the monitoring result information from the power state monitoring section 21 matches a predetermined data maintenance execution condition or interruption condition. When a maintenance execution command is sent to the control unit 25 and the interruption conditions are met, the control unit
A maintenance interruption command is sent to 25. Control unit
Similar to the first embodiment, the unit 25 executes or cancels the maintenance process of the data stored in the storage unit 26 according to the instruction of the operation determination unit 24. The function of each unit is realized by causing a computer incorporated in the apparatus to perform a process defined by a program.

【0032】図8のフローチャートは、この装置におい
てデータメンテナンスを行う場合の処理の流れを示して
いる。電力状態監視部21は、電源部20の供給電力や制御
部25の消費電力を監視し(ステップ11)、制御部25での
供給電力の増加(余剰電力)や消費電力の低下を検知し
たときは(ステップ12)、その旨を動作判断部24へ伝え
る(ステップ12)。この通知を受けた動作判断部24は、
メンテナンスの実施を決定し、制御部25に対してメンテ
ナンスの実施命令を送信する。制御部25は、このデータ
メンテナンスの実施命令を受けて、記憶部26のデータメ
ンテナンスの処理を実施する(ステップ18)。
The flow chart of FIG. 8 shows the flow of processing when data maintenance is performed in this apparatus. When the power state monitoring unit 21 monitors the power supply of the power supply unit 20 and the power consumption of the control unit 25 (step 11) and detects an increase in the power supply (surplus power) or a decrease in the power consumption in the control unit 25. (Step 12), and informs the action determination unit 24 of that (step 12). The operation determination unit 24 that has received this notification
It is decided to perform maintenance, and a maintenance execution command is transmitted to the control unit 25. Upon receiving the data maintenance execution command, the control unit 25 executes the data maintenance processing of the storage unit 26 (step 18).

【0033】この装置では、電力の状態から記憶部26の
待機状態、または、装置の停止もしくは充電状態(即
ち、記憶部26に対するアクセスや操作が当面行なわれな
いことが予測される状態)を検知し、データメンテナン
ス処理を実行する。
In this device, the standby state of the storage unit 26 or the stopped or charged state of the device (that is, the state in which it is predicted that access or operation to the storage unit 26 will not be performed for the time being) is detected from the power state. Then, the data maintenance process is executed.

【0034】このように、この装置では、供給電力や電
力消費を監視することにより、記憶装置の稼働率が低下
した時を選ぶことができる。そのため、従来の方式に比
べて、稼働率の低下を検知するための処理負担が軽く、
パフォーマンスの著しい低下を回避することができる。
As described above, in this device, it is possible to select the time when the operating rate of the storage device is lowered by monitoring the power supply and the power consumption. Therefore, compared with the conventional method, the processing load for detecting the decrease in operating rate is light,
It is possible to avoid a significant decrease in performance.

【0035】(第3の実施形態)本発明の第3の実施形
態では、使用者からのデータメンテナンスの指示を含む
複数の実施条件の組み合わせからデータメンテナンスを
実施するかどうかを決定するデータメンテナンス記憶装
置について説明する。この装置は、図3に示すように、
記憶部36、制御部35、アクセス状態監視部32、電源部3
0、電源状態監視部31及び動作判断部34の他に、使用者
が手動により操作する手動操作部33を備えている。記憶
部36、制御部35及びアクセス状態監視部32は第1の実施
形態(図1)で説明したものと同じであり、また、電源
部30及び電源状態監視部31は第2の実施形態(図2)で
説明したものと同じである。
(Third Embodiment) In a third embodiment of the present invention, a data maintenance storage for determining whether or not to perform data maintenance based on a combination of a plurality of execution conditions including a data maintenance instruction from a user. The device will be described. This device, as shown in FIG.
Storage unit 36, control unit 35, access state monitoring unit 32, power supply unit 3
In addition to the power supply state monitoring unit 31 and the operation determination unit 34, a manual operation unit 33 manually operated by the user is provided. The storage unit 36, the control unit 35, and the access status monitoring unit 32 are the same as those described in the first embodiment (FIG. 1), and the power supply unit 30 and the power status monitoring unit 31 are the same as those in the second embodiment ( It is the same as that described in FIG.

【0036】手動操作部33は、記憶装置に対して操作命
令を入力するためのキーボード、テンキーなどの入力端
末であり、使用者は、この手動操作部33を操作して記憶
装置にデータの蓄積や読出し処理を指示したり、データ
のメンテナンスを指示したりすることができる。手動操
作部33は、データメンテナンスの指示が出されると、動
作判断部34に対してデータメンテナンスの実施命令が指
示された旨の情報を送信する。
The manual operation unit 33 is an input terminal such as a keyboard and a ten-key pad for inputting operation commands to the storage device, and the user operates the manual operation unit 33 to store data in the storage device. It is possible to instruct read processing, read data maintenance, and data maintenance. When the manual operation unit 33 is instructed to perform data maintenance, the manual operation unit 33 transmits, to the operation determination unit 34, information indicating that the instruction to execute data maintenance has been instructed.

【0037】動作判断部34は、電力状態監視部31、アク
セス状態監視部32及び手動操作部33から送られてくる情
報の組み合わせが事前に定めたデータメンテナンスの実
施条件または中断条件と合致するか否かを判断し、実施
条件に合致する場合には制御部35に対してメンテナンス
の実施命令を送信し、中断条件に合致する場合には制御
部35に対してメンテナンスの中断命令を送信する。制御
部35は、第1の実施形態と同様に、動作判断部34の命令
に従って、記憶部36に記憶されたデータのメンテナンス
処理を実行し、または中止する。なお、各部の機能は、
この装置が内蔵するコンピュータにプログラムで規定し
た処理を行わせることにより実現する。
Whether the combination of the information sent from the power state monitoring unit 31, the access state monitoring unit 32 and the manual operation unit 33 matches the predetermined data maintenance execution condition or the interruption condition. If it meets the execution condition, it sends a maintenance execution command to the control unit 35, and if it meets the interruption condition, it sends a maintenance interruption command to the control unit 35. The control unit 35 executes or cancels the maintenance process of the data stored in the storage unit 36 in accordance with the instruction from the operation determination unit 34, as in the first embodiment. The function of each part is
It is realized by causing a computer incorporated in this device to perform a process specified by a program.

【0038】図9のフローチャートは、この装置におい
てデータメンテナンスを行う場合の処理の流れを示して
いる。このフローチャートにおいて、ステップ11、ステ
ップ12、ステップ13及びステップ14は、第1及び第2の
実施形態で説明した手順と同じである。手動操作部33
は、使用者による手動操作の有無を監視し(ステップ1
5)、手動操作による実施命令が発生すると、動作判断
部34に対して、その命令を送信する(ステップ16)。動
作判断部34は、電力状態監視部31、アクセス状態監視部
32及び手動操作部33から送られてくる情報の組み合わせ
がデータメンテナンスの実施条件を満たしているか否か
を判断し、実施条件を満たしているときは、制御部35に
対してメンテナンスの実施命令を送信する(ステップ1
7)。制御部35は、このデータメンテナンスの実施命令
を受けて、記憶部36のデータメンテナンスの処理を実施
する(ステップ18)。
The flowchart of FIG. 9 shows the flow of processing when data maintenance is performed in this apparatus. In this flowchart, step 11, step 12, step 13 and step 14 are the same as the procedure described in the first and second embodiments. Manual operation part 33
Monitors for manual intervention by the user (step 1
5) When an execution command is generated by manual operation, the command is transmitted to the operation determination unit 34 (step 16). The operation determination unit 34 includes a power state monitoring unit 31 and an access state monitoring unit.
It is determined whether the combination of the information sent from 32 and the manual operation unit 33 satisfies the data maintenance execution condition, and if the combination is satisfied, the control unit 35 is instructed to perform the maintenance. Send (Step 1
7). Upon receiving the data maintenance execution command, the control unit 35 executes the data maintenance processing of the storage unit 36 (step 18).

【0039】この装置では、データメンテナンスの実施
条件を、複数の条件を組み合わせて設定することが可能
であり、例えば、電力状態監視部31やアクセス状態監視
部32からの情報がデータメンテナンスの実施条件を満た
していなければ、手動操作手段33からデータメンテナン
スの指示があってもデータメンテナンスを実施させな
い、などと規定することができる。
In this device, it is possible to set the data maintenance execution condition by combining a plurality of conditions. For example, the information from the power state monitoring unit 31 and the access state monitoring unit 32 is the data maintenance execution condition. If the condition is not satisfied, it can be specified that the data maintenance is not performed even if the manual operation unit 33 instructs the data maintenance.

【0040】このように、この装置では、複数の条件を
組み合わせることで詳細な実施条件を設定することがで
き、使用者の都合に合わせたきめ細かな実施条件のもと
でデータメンテナンスを行わせることができる。
As described above, in this device, detailed execution conditions can be set by combining a plurality of conditions, and data maintenance can be performed under the detailed execution conditions suited to the convenience of the user. You can

【0041】(第4の実施形態)本発明の第4の実施形
態では、データメンテナンスよりも優先すべき処理が発
生した場合に、その処理を優先して行う記憶装置につい
て説明する。この装置は、図4に示すように、データメ
ンテナンスの実施よりも優先される処理の発生を監視す
る優先命令監視部47を備えている。その他の構成は第3
の実施形態(図3)と変わりがない。
(Fourth Embodiment) In a fourth embodiment of the present invention, a storage device will be described in which, when a process that should be prioritized over data maintenance occurs, the process is prioritized. As shown in FIG. 4, this apparatus includes a priority command monitoring unit 47 that monitors the occurrence of processing prioritized over the execution of data maintenance. Other configurations are third
Is the same as the embodiment (FIG. 3).

【0042】優先命令監視部47は、制御部45の状態を監
視することで、データメンテナンス中にデータの蓄積や
読出しなどデータメンテナンスの実施よりも優先される
処理が発生しているか否かを監視する。優先命令監視部
47は、優先処理が発生した場合に、動作判断部44に対し
て優先処理の発生を示す情報を送信し、優先命令が発生
していない場合に、データメンテナンスの終了が確認さ
れるまで優先命令の発生を監視し続ける。
By monitoring the state of the control unit 45, the priority command monitoring unit 47 monitors whether or not a process that is prioritized over the execution of data maintenance, such as data accumulation or data reading, occurs during data maintenance. To do. Priority command monitoring unit
When the priority processing is generated, 47 transmits information indicating the occurrence of the priority processing to the operation determination unit 44, and when the priority processing is not generated, the priority processing is performed until the end of the data maintenance is confirmed. Continue to monitor the occurrence of.

【0043】動作判断部44は、電力状態監視部41、アク
セス状態監視部42及び手動操作部43から送信されてくる
情報の組み合わせが事前に定めたデータメンテナンスの
実施条件を満たすか否かを判断し、実施条件が満たされ
た場合に、制御部45に対してメンテナンスの実施命令を
送信する。また、動作判断部44は、メンテナンスの実施
中に、優先命令監視部47からメンテナンスの実施よりも
優先される処理の発生を知らせる情報が送信されてきた
場合には、制御部45に対してメンテナンスの中断命令を
送信する。
The operation judging section 44 judges whether or not the combination of information transmitted from the power state monitoring section 41, the access state monitoring section 42 and the manual operation section 43 satisfies a predetermined data maintenance execution condition. Then, when the execution condition is satisfied, the maintenance execution command is transmitted to the control unit 45. In addition, the operation determination unit 44, when performing the maintenance, sends the maintenance information to the control unit 45 when the priority instruction monitoring unit 47 sends the information notifying the occurrence of the process prioritized over the maintenance. Send the interruption command of.

【0044】制御部45は、動作判断部44からデータメン
テナンスの実施命令を受けると、フラグメンテーション
の解決や破損したデータの代替処理、エラーレートのチ
ェックなどのデータメンテナンスを実施する処理を制御
する。また、制御部45は、動作判断部44からメンテナン
スの中断命令を受信すると、メンテナンスの実施を中断
させる処理と、優先命令を実施するための処理とを行
う。なお、各部の機能は、この装置が内蔵するコンピュ
ータにプログラムで規定した処理を行わせることにより
実現する。
When the control unit 45 receives a data maintenance execution command from the operation determination unit 44, it controls data maintenance processing such as fragmentation resolution, corrupted data replacement processing, and error rate checking. In addition, when the control unit 45 receives the maintenance interruption command from the operation determination unit 44, the control unit 45 performs the process of interrupting the maintenance and the process for executing the priority command. The function of each unit is realized by causing a computer incorporated in the apparatus to perform a process defined by a program.

【0045】図10のフローチャートは、この装置の処
理の流れを示している。このフローチャートにおいて、
ステップ11〜ステップ18は、第1、第2及び第3の実施
形態で説明した手順と同じである。データメンテナンス
が実施されているとき(ステップ18)、優先命令監視部
47は、データメンテナンスの実施よりも優先すべき優先
命令の有無を監視する(ステップ19)。優先命令の発生
を確認すると(ステップ20)、優先命令監視部47は、そ
れを動作判断部44に伝え、動作判断部44は、制御部45に
対してメンテナンスの中断命令を送信する。これを受け
て制御部45は、メンテナンスの中断処理を実施し(ステ
ップ22)、次いで、優先命令の実施に必要な処理を行っ
た後(ステップ23)、データメンテナンスを終了する。
また、ステップ20で優先命令の発生が確認できなけれ
ば、引き続きデータメンテナンスを実施し、データメン
テナンスが終了するまで優先命令の監視を続ける(ステ
ップ21)。
The flowchart of FIG. 10 shows the flow of processing of this device. In this flowchart,
Steps 11 to 18 are the same as the procedure described in the first, second and third embodiments. When data maintenance is being performed (step 18), priority command monitoring unit
47 monitors the presence or absence of a priority command that should be prioritized over the execution of data maintenance (step 19). When the generation of the priority command is confirmed (step 20), the priority command monitoring unit 47 notifies it to the operation determination unit 44, and the operation determination unit 44 transmits the maintenance interruption command to the control unit 45. In response to this, the control unit 45 carries out maintenance interruption processing (step 22), then carries out processing necessary to carry out the priority command (step 23), and then ends data maintenance.
If the generation of the priority command cannot be confirmed in step 20, the data maintenance is continued and the priority command is continuously monitored until the data maintenance is completed (step 21).

【0046】このように、この装置では、データメンテ
ナンスの実施中に、記憶部46に対するアクセス等の優先
すべき処理が発生すると、データメンテナンスを中断し
て、その優先すべき処理が実行される。そのため、優先
すべき処理の実行に際して、パフォーマンスの低下を回
避することができる。
As described above, in this apparatus, when a priority process such as access to the storage unit 46 occurs during the data maintenance, the data maintenance is interrupted and the priority process is executed. Therefore, it is possible to avoid a decrease in performance when executing a process that should be prioritized.

【0047】なお、優先すべき処理が終了した後、中断
しているデータメンテナンス処理を再開するようにして
も良い。この場合、図10のフローチャートにおいて、
ステップ23の後、「開始」後の電力状態の監視(ステッ
プ11)、アクセス状態の監視(ステップ13)及び手動操
作有無の監視(ステップ15)の処理に移行する。
Note that the interrupted data maintenance processing may be restarted after the priority processing is completed. In this case, in the flowchart of FIG.
After step 23, the process proceeds to the power state monitoring after "start" (step 11), the access state monitoring (step 13), and the presence / absence of manual operation (step 15).

【0048】(第5の実施形態)本発明の第5の実施形
態では、第4の実施形態の記憶装置を組み込んだ携帯型
端末装置について説明する。この装置は、図5に示すよ
うに、携帯型端末の動作を制御する携帯型端末制御部58
を備えている。その他の構成は第4の実施形態(図4)
と変わりがない。
(Fifth Embodiment) In a fifth embodiment of the present invention, a portable terminal device incorporating the storage device of the fourth embodiment will be described. This device, as shown in FIG. 5, has a portable terminal control unit 58 for controlling the operation of the portable terminal.
Is equipped with. The other structure is the fourth embodiment (FIG. 4).
There is no change.

【0049】この携帯型端末制御部58は、携帯型電話機
などの携帯型端末が操作される際に携帯型端末の処理全
般を制御し、携帯型端末の操作命令が生じた場合に、優
先命令監視部57へ操作命令の発生を示す情報を送信す
る。また、電源部50は、外部電力によって電力を蓄えた
充電池である。
The portable terminal control unit 58 controls the overall processing of the portable terminal when the portable terminal such as the portable telephone is operated, and when the operation instruction of the portable terminal is issued, the priority instruction is given. Information indicating the generation of the operation command is transmitted to the monitoring unit 57. The power supply unit 50 is a rechargeable battery that stores electric power with external power.

【0050】電力状態監視部51は、電源部50から供給さ
れる電力の状態、あるいは記憶装置や携帯型端末の消費
電力の状態を監視し、記憶装置や携帯型端末が待機また
は停止状態となって消費電力を抑える、いわゆる省電力
モードと呼ばれる状態になったか否かを監視することで
記憶装置や携帯型端末の稼働率の低下を検知する。ま
た、携帯型電話機のように充電池からの電力を使用して
稼動する場合には、充電池に対する電力供給の有無(即
ち、充電部の電圧変化)を監視して、携帯型端末が充電
中であるときには稼働率が低下しているものとして検知
する。電力状態監視部51は、稼働率の低下を示す電力状
態を検知した場合には、動作判断部54に対し電力状態か
ら稼働率の低下を検知した旨の情報を送信する。
The power status monitoring unit 51 monitors the status of the power supplied from the power supply unit 50 or the power consumption status of the storage device or the portable terminal, and the storage device or the portable terminal enters the standby or stopped state. It is possible to detect a decrease in the operating rate of the storage device or the portable terminal by monitoring whether or not a state called a so-called power saving mode has been achieved by suppressing power consumption. When operating using the power from the rechargeable battery like a mobile phone, the mobile terminal is being charged by monitoring whether or not power is being supplied to the rechargeable battery (that is, voltage change in the charging unit). When it is, it is detected that the operation rate is decreasing. When the power state monitoring unit 51 detects a power state indicating a decrease in operating rate, the power state monitoring unit 51 transmits information to the operation determining unit 54 that the decrease in operating rate is detected from the power state.

【0051】一方、アクセス状態監視部52は、記憶装置
の制御部55の状態を監視し、記憶装置へのデータの蓄積
及び読出し(即ち、記憶装置へのアクセス)が行われて
いるか否かの監視と、非アクセス状態の経過時間の計測
とを行い、一定時間以上非アクセス状態が続いた場合に
は稼働率が低下しているとみなし、動作判断部54に対し
記憶装置のアクセス状態から稼働率の低下を検知した旨
の情報を送信する。
On the other hand, the access state monitoring unit 52 monitors the state of the control unit 55 of the storage device to determine whether or not data is being stored in or read from the storage device (ie, access to the storage device). It monitors and measures the elapsed time of the non-access state.If the non-access state continues for a certain period of time, it is considered that the operation rate is decreasing, and the operation determination unit 54 is operated from the access state of the storage device. The information that the decrease in the rate is detected is transmitted.

【0052】また、手動操作部53は、記憶装置または携
帯型端末に対する操作命令を入力するためのキーボード
やテンキーなどの入力端末であり、この手動操作部53を
操作して、記憶装置へのデータの蓄積、読出し処理を指
示したり、携帯型端末に通常の操作を指示したり、ま
た、記憶装置に記憶されたデータのメンテナンスの実施
を指示することができる。手動操作部53は、データメン
テナンスの実施が指示された場合に、動作判断部54に対
して、データメンテナンスの実施命令が指示された旨の
情報を送信する。
Further, the manual operation section 53 is an input terminal such as a keyboard or a ten-key pad for inputting an operation command to the storage device or the portable terminal. Can be instructed to store and read data, to instruct the portable terminal to perform a normal operation, and to instruct maintenance of data stored in the storage device. When the manual operation unit 53 is instructed to perform the data maintenance, the manual operation unit 53 transmits, to the operation determination unit 54, information indicating that the instruction to perform the data maintenance is instructed.

【0053】優先命令監視部57は、記憶装置や携帯型端
末の動作状態を監視し、記憶装置へのアクセス命令や携
帯型端末の操作命令など、データメンテナンスよりも優
先すべき処理が発生した場合に、優先処理が発生した旨
を知らせる情報を動作判断部54へ送信する。動作判断部
54は、電力状態監視部51、アクセス状態監視部52、手動
操作部53及び優先命令監視部57から送信された情報につ
いて、入手した情報がどこから送信されてきたものであ
るかを判別して、入手した情報の組み合わせが事前に定
めておいたデータメンテナンスの実施または中断条件と
合致するか否かを判断し、判断結果を制御部55や携帯型
端末制御部58に対して送信する。
The priority command monitoring unit 57 monitors the operating states of the storage device and the portable terminal, and when a process such as an access command to the storage device or an operation command of the portable terminal which should be prioritized over the data maintenance occurs. Then, the information notifying that the priority processing has occurred is transmitted to the operation determination unit 54. Motion determination unit
54, the information transmitted from the power state monitoring unit 51, the access state monitoring unit 52, the manual operation unit 53 and the priority command monitoring unit 57, determines from where the obtained information is transmitted, It is determined whether or not the combination of the obtained information matches a predetermined condition for carrying out or interrupting data maintenance, and the determination result is transmitted to the control unit 55 or the portable terminal control unit 58.

【0054】メンテナンス実施条件は、例えば携帯型端
末の場合では、携帯型端末が充電中であることを電力状
態監視部51が確認し、かつ、アクセス状態監視部52が一
定時間以上の非アクセス状態を確認した場合にのみデー
タメンテナンスを実施させる、と言うように、複数の条
件を組み合わせることで詳細な実施条件を設定すること
ができる。
The maintenance execution condition is, for example, in the case of a portable terminal, that the power state monitoring unit 51 confirms that the portable terminal is being charged, and the access state monitoring unit 52 causes the non-access state for a certain time or longer. Detailed maintenance conditions can be set by combining a plurality of conditions such that data maintenance is carried out only when the above condition is confirmed.

【0055】また、動作判断部54は、メンテナンスの実
施中に、優先命令監視部57からメンテナンスの実施より
も優先すべき処理の発生を知らせる情報が送信されてき
た場合に、制御部55に対してメンテナンスの中断命令を
送信し、同様に、メンテナンス中に通話など携帯型端末
の操作命令が発生した場合にも、制御部55に対してメン
テナンスの中断命令と、次いで、携帯型端末制御部58か
らの制御命令を優先させる命令とを送信する。
Further, the operation judging section 54 informs the control section 55 to the control section 55 when the priority command monitoring section 57 sends information indicating the occurrence of a process which should be prioritized over the execution of the maintenance during the execution of the maintenance. Similarly, when a maintenance interruption command is transmitted, and similarly, when a mobile terminal operation command such as a call is generated during maintenance, the maintenance interruption command is issued to the control unit 55, and then the mobile terminal control unit 58. And a command for prioritizing the control command from.

【0056】制御部55は、記憶部56に対してデータの蓄
積、読出しに必要な処理の制御を行うと共に、動作判断
部54からデータメンテナンスの実施命令が送信されてき
た場合にはフラグメンテーションの解決、破損したデー
タの代替処理やエラーレートのチェックなど、あらかじ
め定められたデータメンテナンスに必要な処理の実施を
制御する。また、データメンテナンス中に動作判断部54
からデータメンテナンスの中断を指示する情報が送信さ
れてきた場合には、記憶部56のデータメンテナンス処理
を中断させ、データメンテナンスよりも優先すべき他の
処理が実施できるように、必要な処理の実施を制御す
る。
The control unit 55 controls the processing necessary for storing and reading data in the storage unit 56, and when the operation determining unit 54 sends a data maintenance execution command, it solves fragmentation. Controls the execution of predetermined processing required for data maintenance, such as alternative processing for damaged data and error rate checking. In addition, the operation determination unit 54
When the information to suspend the data maintenance is sent from the device, the data maintenance process of the storage unit 56 is suspended, and the necessary process is performed so that other process that should be prioritized over the data maintenance can be performed. To control.

【0057】同様に携帯型端末制御部58もまた、通常は
携帯型端末の制御を行うと共に、優先命令監視部57に対
して優先命令発生の有無を知らせる情報を送信し、デー
タメンテナンス中に動作判断部54から携帯型端末の操作
などに伴うデータメンテナンスの中断を指示する情報が
送信されてきた場合には、制御部55によるデータメンテ
ナンスの中断に合わせて、携帯型端末を操作できる状態
にするための必要な処理の実施を制御する。なお、各部
の機能は、この装置が内蔵するコンピュータにプログラ
ムで規定した処理を行わせることにより実現する。
Similarly, the portable terminal control unit 58 also normally controls the portable terminal, and at the same time, sends information to the priority command monitoring unit 57 indicating whether or not a priority command is generated, and operates during data maintenance. When the information for instructing the suspension of the data maintenance due to the operation of the portable terminal is transmitted from the determination unit 54, the portable terminal can be operated in accordance with the suspension of the data maintenance by the control unit 55. Control the implementation of the necessary processing for The function of each unit is realized by causing a computer incorporated in the apparatus to perform a process defined by a program.

【0058】図11のフローチャートは、この携帯型端
末装置の処理の流れを示している。このフローチャート
において、ステップ11〜ステップ18は、第1、第2及び
第3の実施形態で説明した手順と同じである。データメ
ンテナンスが実施されているとき(ステップ18)、優先
命令監視部57は、優先命令及び携帯型端末の操作命令の
有無を監視する(ステップ25)。優先命令または携帯型
端末の操作命令の発生を確認すると(ステップ24)、優
先命令監視部57は、それを動作判断部54に伝え、動作判
断部54は、制御部55に対してメンテナンスの中断命令を
送信する。これを受けて制御部55は、メンテナンスの中
断処理を実施し(ステップ22)、次いで、優先命令及び
携帯型端末操作の実施に必要な処理を行い(ステップ2
6)、データメンテナンスを終了する。また、ステップ2
4で優先命令または携帯型端末操作命令の発生が確認で
きなければ、引き続きデータメンテナンスを実施し、デ
ータメンテナンスが終了するまで優先命令及び携帯型端
末操作命令の監視を続ける(ステップ21)。
The flowchart of FIG. 11 shows the flow of processing of this portable terminal device. In this flowchart, steps 11 to 18 are the same as the procedures described in the first, second and third embodiments. When data maintenance is being performed (step 18), the priority command monitoring unit 57 monitors the presence or absence of a priority command and an operation command for the portable terminal (step 25). When the generation of the priority command or the operation command of the portable terminal is confirmed (step 24), the priority command monitoring unit 57 notifies it to the operation determination unit 54, and the operation determination unit 54 instructs the control unit 55 to interrupt the maintenance. Send an instruction. In response to this, the control unit 55 carries out maintenance interruption processing (step 22), and then carries out processing necessary for carrying out priority commands and portable terminal operation (step 2).
6) End data maintenance. Also, step 2
If the generation of the priority command or the portable terminal operation command is not confirmed in 4, the data maintenance is continued, and the priority command and the portable terminal operation command are continuously monitored until the data maintenance is completed (step 21).

【0059】このように、この携帯型端末装置では、内
部に設けられた記憶手段のデータを効率よく整理するこ
とができ、携帯型端末の利便性の向上を図ることができ
る。また、充電時など電力が豊富に供給され、かつ、携
帯型端末の稼働率が低下した時を見計らってデータのメ
ンテナンスを実施することができ、携帯型端末の充電池
に蓄えられている電力を消費することなく、また、記憶
装置のパフォーマンスの低下を抑えながらデータのメン
テナンスを行うことができる。
As described above, in this portable terminal device, the data in the storage means provided inside can be efficiently organized, and the convenience of the portable terminal can be improved. In addition, abundant power is supplied during charging, and data maintenance can be performed in anticipation of when the operating rate of the mobile terminal has dropped, and the power stored in the rechargeable battery of the mobile terminal can be saved. It is possible to perform data maintenance without consuming the data and while suppressing deterioration of the performance of the storage device.

【0060】(第6の実施形態)本発明の第6の実施形
態では、第4の実施形態の記憶装置を組み込んだパーソ
ナルコンピュータについて説明する。この装置は、図6
に示すように、パーソナルコンピュータの動作を制御す
るパーソナルコンピュータ制御部68を備えている。その
他の構成は第4の実施形態(図4)と変わりがない。
(Sixth Embodiment) In a sixth embodiment of the present invention, a personal computer incorporating the storage device of the fourth embodiment will be described. This device is shown in FIG.
As shown in, a personal computer control unit 68 for controlling the operation of the personal computer is provided. Other configurations are the same as those in the fourth embodiment (FIG. 4).

【0061】このパーソナルコンピュータ制御部68は、
パーソナルコンピュータが操作される際に必要とされる
処理全般の制御を実施し、パーソナルコンピュータの操
作命令が生じた場合には優先命令監視部67へ操作命令の
発生を示す情報を送信する。動作判断部64は、電力状態
監視部61、アクセス状態監視部62、及び手動操作部63か
ら送信されてくる情報の組み合わせが事前に定めておい
た条件を満たすか否かを判断し、条件が満たされると
き、制御部65に対してメンテナンスの実施命令を送信す
る。また、メンテナンスの実施中に、優先命令監視部67
からメンテナンスの実施よりも優先すべき処理の発生を
知らせる情報が送信されてきた場合には、制御部65に対
してメンテナンスの中断命令を送信し、同様に、メンテ
ナンス中にパーソナルコンピュータの操作命令が発生し
た場合にも、制御部65に対してメンテナンスの中断命令
と、以後、パーソナルコンピュータ制御部68からの制御
命令を優先させる命令とを送信する。
The personal computer control unit 68 is
When the operation command of the personal computer is generated, the control of the entire processing required when the personal computer is operated is transmitted to the priority command monitoring unit 67, and the information indicating the generation of the operation command is transmitted. The operation determination unit 64 determines whether the combination of the information transmitted from the power state monitoring unit 61, the access state monitoring unit 62, and the manual operation unit 63 satisfies a predetermined condition, and the condition is When satisfied, it transmits a maintenance execution command to the control unit 65. In addition, the priority command monitoring unit 67
When the information informing that the process that should be prioritized over the execution of the maintenance is transmitted from the device, the maintenance instruction is transmitted to the control unit 65, and similarly, the operation instruction of the personal computer is issued during the maintenance. Even in the case of occurrence, a maintenance interruption command and a command for prioritizing the control command from the personal computer control unit 68 are transmitted to the control unit 65.

【0062】優先命令監視部67は、制御部65及びパーソ
ナルコンピュータ制御部68の状態を監視することで、デ
ータの蓄積や読出しなどメンテナンスの実施よりも優先
される処理の発生を監視する。また、優先命令監視部67
は、優先処理が発生した場合には、動作判断部64に対し
て優先処理の発生を示す情報を送信し、優先命令が発生
していない場合には、データメンテナンスの終了が確認
されるまで優先命令の発生を監視し続ける。
The priority command monitoring unit 67 monitors the states of the control unit 65 and the personal computer control unit 68 to monitor the occurrence of processing prioritized over maintenance such as data accumulation and data reading. Also, the priority instruction monitoring unit 67
When priority processing has occurred, it sends information indicating that priority processing has occurred to the operation determination unit 64, and if no priority command has occurred, priority is given until the end of data maintenance is confirmed. Continue to monitor instruction generation.

【0063】制御部65は、記憶部66に対してデータの蓄
積や読出しに必要な制御処理を実施すると共に、動作判
断部64からのデータメンテナンスの実施命令を受けてフ
ラグメンテーションの解決や破損したデータの代替処
理、エラーレートのチェックなどデータのメンテナンス
に必要な処理の制御を実施する。また、動作判断部64か
らメンテナンスの中断命令が送信されてきた場合には、
メンテナンスの実施を中断させるための処理と、優先命
令やパーソナルコンピュータの操作を実施するために必
要な処理とを行う。なお、各部の機能は、この装置が内
蔵するコンピュータにプログラムで規定した処理を行わ
せることにより実現する。
The control unit 65 performs control processing required for storing and reading data in the storage unit 66, and receives a data maintenance execution instruction from the operation determination unit 64 to resolve fragmentation or corrupt data. Control of the processing required for data maintenance such as alternative processing and error rate check. In addition, when the operation determination unit 64 sends a maintenance interruption command,
A process for interrupting the maintenance and a process required for executing the priority command and the operation of the personal computer are performed. The function of each unit is realized by causing a computer incorporated in the apparatus to perform a process defined by a program.

【0064】図12のフローチャートは、このパーソナ
ルコンピュータの処理の流れを示している。このフロー
チャートにおける手順は、図11の手順と比べて、操作
命令が携帯型端末からの命令では無く、パーソナルコン
ピュータからの命令である点で違いがあるものの、その
他の点では変わりがない。このパーソナルコンピュータ
は、内部の記憶手段のデータを効率よく整理することが
可能であり、利便性の向上を図ることができる。また、
パーソナルコンピュータに対して電力が豊富に供給さ
れ、かつ、パーソナルコンピュータの稼働率が低下する
待機時などを見計らってデータのメンテナンスを実施す
ることができ、パフォーマンスの低下を抑えながらデー
タのメンテナンスを行うことができる。
The flowchart of FIG. 12 shows the flow of processing of this personal computer. The procedure in this flowchart is different from the procedure in FIG. 11 in that the operation command is not a command from the portable terminal but a command from the personal computer, but is otherwise the same. This personal computer can efficiently organize the data in the internal storage means and can improve convenience. Also,
Power can be supplied to the personal computer abundantly, and data maintenance can be performed in anticipation of the standby time when the operating rate of the personal computer is reduced. Data maintenance can be performed while suppressing performance degradation. You can

【0065】なお、各実施形態で説明した各部の機能
は、この装置が内蔵するコンピュータにプログラムで規
定した処理を行わせることにより実現することができ、
また、このプログラムは、磁気記憶媒体や光記憶媒体な
どに記録して、他の装置にダウンロードすることができ
る。
The functions of each unit described in each embodiment can be realized by causing a computer incorporated in the apparatus to perform a process defined by a program.
Further, this program can be recorded in a magnetic storage medium, an optical storage medium, or the like and downloaded to another device.

【0066】[0066]

【発明の効果】以上の説明から明らかなように、本発明
のデータメンテナンス装置及び方法では、使用者が装置
を使用していない時に効率良くメンテナンス処理を自動
的に行うことができ、パフォーマンスを著しく低下させ
ることなく、データのメンテナンス処理の実施が可能で
ある。
As is apparent from the above description, in the data maintenance device and method of the present invention, the maintenance processing can be automatically performed efficiently when the user is not using the device, and the performance is remarkably improved. It is possible to carry out a data maintenance process without lowering the data.

【0067】また、データメンテナンスの実施条件を組
み合わせて、使用者に都合が良い状況のもとでデータメ
ンテナンス処理を自動的に実施されることができる。ま
た、データのメンテナンス処理よりも優先すべき処理が
発生した場合には、データメンテナンスを中断して優先
処理を実施することができ、パフォーマンスの低下を抑
えることができる。また、携帯型端末やパーソナルコン
ピュータに適用して、使い勝手の良い、利便性が高い製
品を実現することができる。
Further, by combining the conditions for carrying out the data maintenance, the data maintenance process can be automatically carried out under the circumstances convenient for the user. Further, when a process that should be prioritized over the data maintenance process occurs, the data maintenance can be interrupted and the priority process can be performed, and the deterioration in performance can be suppressed. In addition, a product that is easy to use and highly convenient can be realized by applying it to a portable terminal or a personal computer.

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

【図1】本発明の第1の実施形態におけるデータメンテ
ナンス装置の構成を示すブロック図、
FIG. 1 is a block diagram showing a configuration of a data maintenance device according to a first embodiment of the present invention,

【図2】本発明の第2の実施形態におけるデータメンテ
ナンス装置の構成を示すブロック図、
FIG. 2 is a block diagram showing a configuration of a data maintenance device according to a second embodiment of the present invention,

【図3】本発明の第3の実施形態におけるデータメンテ
ナンス装置の構成を示すブロック図、
FIG. 3 is a block diagram showing the configuration of a data maintenance device according to a third embodiment of the present invention,

【図4】本発明の第4の実施形態におけるデータメンテ
ナンス装置の構成を示すブロック図、
FIG. 4 is a block diagram showing a configuration of a data maintenance device according to a fourth embodiment of the present invention,

【図5】本発明の第5の実施形態における携帯型端末装
置の構成を示すブロック図、
FIG. 5 is a block diagram showing a configuration of a mobile terminal device according to a fifth embodiment of the present invention,

【図6】本発明の第6の実施形態におけるパーソナルコ
ンピュータの構成を示すブロック図、
FIG. 6 is a block diagram showing the configuration of a personal computer according to a sixth embodiment of the present invention,

【図7】本発明の第1の実施形態におけるデータメンテ
ナンス装置の処理の流れを示すフローチャート、
FIG. 7 is a flowchart showing a processing flow of the data maintenance device according to the first embodiment of the present invention,

【図8】本発明の第2の実施形態におけるデータメンテ
ナンス装置の処理の流れを示すフローチャート、
FIG. 8 is a flowchart showing a processing flow of the data maintenance device according to the second embodiment of the present invention,

【図9】本発明の第3の実施形態におけるデータメンテ
ナンス装置の処理の流れを示すフローチャート、
FIG. 9 is a flowchart showing a processing flow of the data maintenance device according to the third embodiment of the present invention,

【図10】本発明の第4の実施形態におけるデータメン
テナンス装置の処理の流れを示すフローチャート、
FIG. 10 is a flowchart showing a processing flow of the data maintenance device according to the fourth embodiment of the present invention;

【図11】本発明の第5の実施形態における携帯型端末
装置の処理の流れを示すフローチャート、
FIG. 11 is a flowchart showing a processing flow of the portable terminal device according to the fifth embodiment of the present invention,

【図12】本発明の第6の実施形態におけるパーソナル
コンピュータの処理の流れを示すフローチャートであ
る。
FIG. 12 is a flowchart showing a processing flow of a personal computer according to the sixth embodiment of the present invention.

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

12、32、42、52、62 アクセス状態監視部 14、24、34、44、54、64 動作判断部 15、25、35、45、55、65 制御部 16、26、36、46、56、66 記憶部 20、30、40、50、60 電源部 21、31、41、51、61 電力状態監視部 33、43、53、63 手動操作部 47、57、67 優先命令監視部 58 携帯型端末制御部 68 パーソナルコンピュータ制御部 12, 32, 42, 52, 62 Access status monitor 14, 24, 34, 44, 54, 64 Motion judgment section 15, 25, 35, 45, 55, 65 Control 16, 26, 36, 46, 56, 66 Storage 20, 30, 40, 50, 60 Power unit 21, 31, 41, 51, 61 Power status monitoring unit 33, 43, 53, 63 Manual override 47, 57, 67 Priority instruction monitoring unit 58 Portable terminal controller 68 Personal computer controller

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 データを記憶する記憶手段と、前記記憶
手段を制御する制御手段と、前記記憶手段へのアクセス
状態を監視するアクセス状態監視手段と、前記アクセス
状態監視手段の監視結果から前記記憶手段に対するアク
セスの有無を判断し、前記アクセスが一定時間以上無か
った場合に、前記制御手段へデータのメンテナンス処理
の実施命令を伝達する動作判断手段とを備え、前記制御
手段が前記動作判断手段からの指示に従って前記記憶手
段に記憶されたデータのメンテナンスを実施することを
特徴とするデータメンテナンス装置。
1. A storage unit for storing data, a control unit for controlling the storage unit, an access state monitoring unit for monitoring an access state to the storage unit, and a storage unit based on a monitoring result of the access state monitoring unit. Means for judging whether or not there is an access to the means, and transmitting an execution command of data maintenance processing to the control means when the access has not been made for a certain period of time or more, the control means from the operation judging means The data maintenance device is characterized in that maintenance of the data stored in the storage means is carried out in accordance with the instructions.
【請求項2】 データを記憶する記憶手段と、前記記憶
手段を制御する制御手段と、電源からの電力の供給状態
または前記記憶手段における電力の消費状態を監視する
電力監視手段と、前記電力監視手段の監視結果から前記
記憶手段に対する余剰な電力が確認された場合に、前記
制御手段へデータのメンテナンス処理の実施命令を伝達
する動作判断手段とを備え、前記制御手段が前記動作判
断手段からの指示に従って前記記憶手段に記憶されたデ
ータのメンテナンスを実施することを特徴とするデータ
メンテナンス装置。
2. Storage means for storing data, control means for controlling the storage means, power monitoring means for monitoring a power supply state from a power supply or a power consumption state in the storage means, and the power monitoring. And an operation judging means for transmitting a command for executing a data maintenance process to the control means when surplus power to the storage means is confirmed from the monitoring result of the means, and the control means outputs from the operation judging means. A data maintenance device, characterized in that maintenance of data stored in the storage means is performed according to an instruction.
【請求項3】 データを記憶する記憶手段と、前記記憶
手段を制御する制御手段と、前記記憶手段へのアクセス
状態を監視するアクセス状態監視手段と、電源からの電
力の供給状態または前記記憶手段における電力の消費状
態を監視する電力監視手段と、手動によりデータのメン
テナンス処理を指示する操作手段と、前記アクセス状態
監視手段、電力監視手段及び操作手段からの情報の組み
合わせによって、前記記憶手段に記憶されたデータに対
するメンテナンスの必要性を判断し、前記制御手段にデ
ータのメンテナンス処理の実施命令を伝達する動作判断
手段とを備え、前記制御手段が前記動作判断手段からの
指示に従って前記記憶手段に記憶されたデータのメンテ
ナンスを実施することを特徴とするデータメンテナンス
装置。
3. Storage means for storing data, control means for controlling the storage means, access state monitoring means for monitoring an access state to the storage means, power supply state from a power source or the storage means. Stored in the storage means by a combination of power monitoring means for monitoring the power consumption state in the device, operating means for manually instructing data maintenance processing, and information from the access state monitoring means, power monitoring means and operating means. The operation determining means for determining the necessity of maintenance for the stored data and transmitting an execution command of the data maintenance processing to the control means, and the control means stores in the storage means according to an instruction from the operation determining means. A data maintenance device for carrying out maintenance of the stored data.
【請求項4】 前記データのメンテナンス処理よりも優
先すべき処理の発生を監視する優先処理監視手段を具備
し、前記動作判断手段は、前記データのメンテナンス処
理の実施中に、前記優先処理監視手段により前記優先す
べき処理の発生が検知された場合に、前記データのメン
テナンス処理を中断して前記優先すべき処理を実施可能
な状態にするための命令を前記制御手段に伝達すること
を特徴とする請求項1から3のいずれかに記載のデータ
メンテナンス装置。
4. A priority processing monitoring means for monitoring the occurrence of processing that should be prioritized over the maintenance processing of the data, wherein the operation judging means is configured to perform the priority processing monitoring means during execution of the maintenance processing of the data. When the occurrence of the process to be prioritized is detected by the, the command for transmitting the command for suspending the maintenance process of the data to enable the process to be prioritized is transmitted to the control means. The data maintenance device according to any one of claims 1 to 3.
【請求項5】 請求項4に記載のデータメンテナンス装
置を有することを特徴とする携帯型端末。
5. A portable terminal comprising the data maintenance device according to claim 4.
【請求項6】 請求項4に記載のデータメンテナンス装
置を有することを特徴とするパーソナルコンピュータ。
6. A personal computer comprising the data maintenance device according to claim 4.
【請求項7】 データを記憶する記憶手段へのアクセス
状態を監視し、前記アクセスが一定時間以上無かった場
合に、前記記憶手段に記憶されたデータのメンテナンス
を実施することを特徴とするデータメンテナンス方法。
7. A data maintenance, characterized in that an access state to a storage means for storing data is monitored, and the maintenance of the data stored in the storage means is carried out when the access is not made for a predetermined time or more. Method.
【請求項8】 データを記憶する記憶手段における電力
の消費状態または電源からの電力の供給状態を監視し、
前記記憶手段に対する余剰な電力が確認された場合に、
前記記憶手段に記憶されたデータのメンテナンスを実施
することを特徴とするデータメンテナンス方法。
8. A power consumption state in a storage means for storing data or a power supply state from a power source is monitored,
When surplus power for the storage means is confirmed,
A data maintenance method, characterized in that maintenance of data stored in the storage means is carried out.
【請求項9】 データを記憶する記憶手段へのアクセス
状態を監視し、前記記憶手段における電力の消費状態ま
たは電源からの電力の供給状態を監視し、さらに、前記
データのメンテナンス処理の指示操作を監視し、前記ア
クセス状態の監視結果と、前記電力の消費状態または供
給状態の監視結果と、前記指示操作の監視結果との組み
合わせにより、前記記憶手段に記憶されたデータに対す
るメンテナンスの必要性を判断して前記データのメンテ
ナンスを実施することを特徴とするデータメンテナンス
方法。
9. An access state to a storage unit for storing data is monitored, a power consumption state in the storage unit or a power supply state from a power source is monitored, and an instruction operation for maintenance processing of the data is performed. The necessity of maintenance for the data stored in the storage unit is determined based on the combination of the monitoring result of the access state, the monitoring result of the power consumption state or the supply state of the power, and the monitoring result of the instruction operation. A data maintenance method, characterized by performing maintenance of the data.
【請求項10】 前記データのメンテナンス処理よりも
優先すべき処理の発生を監視し、前記データのメンテナ
ンス処理の実施中に前記優先すべき処理が発生した場合
に、前記データのメンテナンス処理を中断して前記優先
すべき処理を実施することを特徴とする請求項7から9
のいずれかに記載のデータメンテナンス方法。
10. The generation of a process that should be prioritized over the data maintenance process is monitored, and if the process that should be prioritized occurs during execution of the data maintenance process, the data maintenance process is interrupted. 10. The process according to claim 7, wherein the priority process is performed.
The data maintenance method described in any of.
【請求項11】 データを記憶する記憶手段へのアクセ
ス状態を監視し、前記記憶手段における電力の消費状態
または電源からの電力の供給状態を監視し、前記データ
のメンテナンス処理の指示操作を監視し、さらに、前記
データのメンテナンス処理よりも優先すべき処理の発生
を監視し、前記アクセス状態の監視結果と、前記電力の
消費状態または供給状態の監視結果と、前記指示操作の
監視結果との組み合わせにより、前記記憶手段に記憶さ
れたデータに対するメンテナンスの必要性を判断して前
記データのメンテナンスを実施し、前記データのメンテ
ナンス処理の実施中に前記優先すべき処理が発生した場
合に、前記データのメンテナンス処理を中断して前記優
先すべき処理を実施することを特徴とする携帯型端末の
データメンテナンス方法。
11. An access state to storage means for storing data is monitored, a consumption state of power in the storage means or a supply state of power from a power source is monitored, and an instruction operation for maintenance processing of the data is monitored. A combination of a monitoring result of the access state, a monitoring result of the power consumption state or a supply state of the power, and a monitoring result of the instruction operation. According to the above, the necessity of maintenance for the data stored in the storage means is determined, the maintenance of the data is performed, and when the priority process occurs during the maintenance process of the data, the data of the data is stored. Data maintenance of a portable terminal, characterized in that the maintenance process is interrupted and the above-mentioned priority process is executed. Method.
【請求項12】 データを記憶する記憶手段へのアクセ
ス状態を監視し、前記記憶手段における電力の消費状態
または電源からの電力の供給状態を監視し、前記データ
のメンテナンス処理の指示操作を監視し、さらに、前記
データのメンテナンス処理よりも優先すべき処理の発生
を監視し、前記アクセス状態の監視結果と、前記電力の
消費状態または供給状態の監視結果と、前記指示操作の
監視結果との組み合わせにより、前記記憶手段に記憶さ
れたデータに対するメンテナンスの必要性を判断して前
記データのメンテナンスを実施し、前記データのメンテ
ナンス処理の実施中に前記優先すべき処理が発生した場
合に、前記データのメンテナンス処理を中断して前記優
先すべき処理を実施することを特徴とするパーソナルコ
ンピュータのデータメンテナンス方法。
12. An access state to storage means for storing data is monitored, a consumption state of power in the storage means or a supply state of power from a power source is monitored, and an instruction operation for maintenance processing of the data is monitored. A combination of a monitoring result of the access state, a monitoring result of the power consumption state or a supply state of the power, and a monitoring result of the instruction operation. According to the above, the necessity of maintenance for the data stored in the storage means is determined, the maintenance of the data is performed, and when the priority process occurs during the maintenance process of the data, the data of the data is stored. Data of a personal computer characterized in that the maintenance process is interrupted and the above-mentioned priority process is executed. Maintenance method.
【請求項13】 コンピュータに、データの記憶手段を
制御する制御手順と、前記記憶手段へのアクセス状態を
監視するアクセス状態監視手順と、電源からの電力の供
給状態または前記記憶手段における電力の消費状態を監
視する電力監視手順と、データのメンテナンス処理の指
示操作を監視する指示操作監視手順と、前記データのメ
ンテナンス処理よりも優先すべき処理の発生を監視する
優先処理監視手順と、前記アクセス状態の監視結果と前
記電力の消費状態または供給状態の監視結果と前記指示
操作の監視結果との組み合わせにより、前記記憶手段に
記憶されたデータに対するメンテナンスの必要性を判断
して前記データのメンテナンス処理の実施命令を出し、
前記データのメンテナンス処理の実施中に前記優先すべ
き処理が発生した場合に、前記データのメンテナンス処
理を中断して前記優先すべき処理の実施を可能にするた
めの命令を出す動作判断手順とを実行させるためのプロ
グラム。
13. A computer, a control procedure for controlling a data storage means, an access state monitoring procedure for monitoring an access state to the storage means, a power supply state from a power source or power consumption in the storage means. The power monitoring procedure for monitoring the status, the instruction operation monitoring procedure for monitoring the instruction operation of the data maintenance processing, the priority processing monitoring procedure for monitoring the occurrence of processing that should be prioritized over the data maintenance processing, and the access status. Of the power consumption state or supply state and the monitoring result of the instructing operation, the necessity of maintenance for the data stored in the storage means is judged to determine the maintenance processing of the data. Issue an implementation order,
If the process to be prioritized occurs during execution of the data maintenance process, an operation determination procedure for issuing a command for interrupting the data maintenance process and enabling the process to be prioritized. A program to run.
【請求項14】 請求項13に記載のプログラムを記録
した記録媒体。
14. A recording medium on which the program according to claim 13 is recorded.
JP2001386258A 2001-12-19 2001-12-19 Data maintenance device and data maintenance method Pending JP2003186710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001386258A JP2003186710A (en) 2001-12-19 2001-12-19 Data maintenance device and data maintenance method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001386258A JP2003186710A (en) 2001-12-19 2001-12-19 Data maintenance device and data maintenance method

Publications (1)

Publication Number Publication Date
JP2003186710A true JP2003186710A (en) 2003-07-04

Family

ID=27595454

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001386258A Pending JP2003186710A (en) 2001-12-19 2001-12-19 Data maintenance device and data maintenance method

Country Status (1)

Country Link
JP (1) JP2003186710A (en)

Similar Documents

Publication Publication Date Title
US7154692B2 (en) Automatic adjustment of magnetic disk protection apparatus and method according to environment
EP2807533B1 (en) System and method for battery load management in a portable computing device
US7702938B2 (en) Method and apparatus for implementing a hybrid power management mode for a computer with a multi-core processor
JP3213208B2 (en) Information processing apparatus and control method thereof
JP4380986B2 (en) Clock control device and recording medium therefor
EP1141812B1 (en) Apparatus and method for automatic cpu speed control
EP1469370A2 (en) Power-save computing apparatus, method and program
US8499184B2 (en) Method for resuming a system from a power failure after the main power supply has recovered and prior to fully recharging the backup power supply by enabling the reception of input/output commands by the cache memory at a rate proportational to the amount of charge on the backup power supply currently available
EP0566395A1 (en) Drive control system for microprocessor with conditional power saving
JPH0667766A (en) Portable terminal equipment
CN103186225B (en) state switching method and device for electronic equipment
WO2012094556A1 (en) Method and system for controlling thermal load distribution in a portable computing device
JPH09237463A (en) Hard disk control method and information processing device
JPH113151A (en) Hibernation control method for information processor and battery driven electronic equipment
EP0560510A1 (en) Battery operated computer and method for managing battery power in battery operated computer
JP2003186710A (en) Data maintenance device and data maintenance method
US7360101B2 (en) Apparatus and method for controlling CPU speed transition
JP2001067149A (en) Computer system and storage medium
JP2780701B2 (en) Software notification type battery charging method
JP5336946B2 (en) Information processing device
JP2000222074A (en) Computer system and method for controlling power saving
JPH07160433A (en) Disk cache control device
JPH1185327A (en) Information processor and program storage medium
JP2002288013A (en) Computer system and file compression control method
JPH06337728A (en) Electronic computer with suspending/resuming function