JP2001147784A - Automatic deflagging device - Google Patents

Automatic deflagging device

Info

Publication number
JP2001147784A
JP2001147784A JP33024699A JP33024699A JP2001147784A JP 2001147784 A JP2001147784 A JP 2001147784A JP 33024699 A JP33024699 A JP 33024699A JP 33024699 A JP33024699 A JP 33024699A JP 2001147784 A JP2001147784 A JP 2001147784A
Authority
JP
Japan
Prior art keywords
defragmentation
charging
deflagging
secondary battery
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP33024699A
Other languages
Japanese (ja)
Other versions
JP4292660B2 (en
Inventor
Yasuhisa Okabe
恭尚 岡部
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP33024699A priority Critical patent/JP4292660B2/en
Publication of JP2001147784A publication Critical patent/JP2001147784A/en
Application granted granted Critical
Publication of JP4292660B2 publication Critical patent/JP4292660B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To automatically perform a deflagging processing to a recording medium, without being affected by the residual amount of a secondary battery. SOLUTION: At detection of the voltage change of a charging state detection point 2d and detecting charging start, a CPU 3d starts the deflagging processing of the data recording memory 3f of a deflagging object. Also, at detection of charge interrupt, if it is in the deflagging processing, the deflagging processing is interrupted.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、記録媒体の断片化
(フラグ化)された記録領域を自動的に連続化(デフラ
グ)する自動デフラグ装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an automatic defragmentation apparatus for automatically continuation (defragmentation) of a fragmented (flagged) recording area of a recording medium.

【0002】[0002]

【従来の技術】一般に、コンピュータの記録媒体である
HDD(ハード・ディスク・ドライブ)、半導体メモリ
などの不揮発性記録媒体では、データの記録と消去を繰
り返すと、データが連続した記録領域に記録されず、記
録領域が断片化(フラグ化)されていく。この理由は記
録データ長と消去データ長が異なるためであって避ける
ことはできず、記録と消去を繰り返せば繰り返すほど細
かくフラグ化される。フラグ化が進むと、記録領域を管
理するためのテーブルが大きくなり、また、アクセス回
数が増加するので処理速度が低下する。これを防止する
ための従来の方法としては、例えばパーソナルコンピュ
ータでは、ユーザの操作により、また、システムによっ
てはあらかじめ設定された時間間隔でデフラグプログラ
ムが自動的に起動されて、フラグ化された記録領域をデ
フラグプログラムにより自動的に連続化する方法が知ら
れている。
2. Description of the Related Art Generally, in a nonvolatile recording medium such as a hard disk drive (HDD) or a semiconductor memory which is a recording medium of a computer, when data is repeatedly recorded and erased, the data is recorded in a continuous recording area. Instead, the recording area is fragmented (flagged). The reason for this is that the recording data length and the erasing data length are different and cannot be avoided. As flagging progresses, a table for managing the recording area becomes larger, and the number of accesses increases, so that the processing speed decreases. As a conventional method for preventing this, for example, in a personal computer, a defragmentation program is automatically activated by a user operation or at a predetermined time interval depending on a system, and a flagged recording area is set. Is automatically known by a defragmentation program.

【0003】[0003]

【発明が解決しようとする課題】ところで、電池により
動作し、また、HDDや半導体メモリなどの不揮発性記
録媒体を用いた携帯型電子装置においても同様に、デー
タの記録と消去を繰り返すと記録領域がフラグ化するの
で、デフラグが不可欠である。しかしながら、デフラグ
処理では、不揮発性記録媒体とRAMとの間で大量のデ
ータの書き込みと読み出し処理を行うので相当な処理時
間と処理電力を必要とし、このため、電池により動作す
る携帯型電子装置では自動デフラグをいつ行うかが問題
となる。また、デフラグ処理は他の処理とは同時に行う
ことができないので、ユーザが携帯型電子装置を使用中
には行うことができない。
By the way, in a portable electronic device which is operated by a battery and uses a non-volatile recording medium such as an HDD or a semiconductor memory, similarly, when recording and erasing of data are repeated, the recording area is reduced. Are flagged, so defragmentation is essential. However, in the defragmentation process, since a large amount of data is written and read between the non-volatile recording medium and the RAM, considerable processing time and processing power are required. The question is when to perform automatic defragmentation. Further, the defragmentation process cannot be performed at the same time as other processes, and therefore cannot be performed while the user is using the portable electronic device.

【0004】そこで、本発明は、2次電池の残量に影響
を受けることなくデフラグ処理を自動的に行うことがで
きる自動デフラグ装置を提供することを目的とする。
Accordingly, an object of the present invention is to provide an automatic defragmenter that can automatically perform a defragmentation process without being affected by the remaining amount of a secondary battery.

【0005】[0005]

【課題を解決するための手段】本発明は上記目的を達成
するために、2次電池の充電開始を検出してデフラグ処
理を開始するようにしたものである。すなわち本発明に
よれば、2次電池により動作する電子装置の自動デフラ
グ装置であって、前記2次電池の充電開始を検出する手
段と、前記2次電池の充電開始を検出した場合に前記電
子装置の内部又は外部の記録媒体のデフラグ処理を開始
する手段とを、有する自動デフラグ装置が提供される。
In order to achieve the above object, the present invention detects the start of charging of a secondary battery and starts a defragmentation process. That is, according to the present invention, there is provided an automatic defragmentation device for an electronic device operated by a secondary battery, comprising: means for detecting a start of charging of the secondary battery; Means for initiating a defragmentation process on a recording medium inside or outside of the apparatus.

【0006】[0006]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を説明する。図1は本発明に係る自動デフラグ
装置の第1の実施形態を示す構成図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram showing a first embodiment of the automatic defragmentation device according to the present invention.

【0007】図1は第1の実施形態として、充電装置1
と携帯型電子装置3が別の筐体に設けられている場合の
構成を示し、充電装置1と携帯型電子装置3を接続する
ために充電装置1には充電電流出力端子1aと充電電流
グランド端子1bが設けられ、携帯型電子装置3には充
電電流入力端子3aと充電電流グランド端子3bが設け
られている。携帯型電子装置3の内部構成について説明
すると、充電電流入力端子3aは逆流防止用整流子2a
を介して充電状態検出点2dに接続され、充電状態検出
点2dは逆流防止用整流子2bを介して2次電池3cの
+端子に接続されるとともに、放電用抵抗2cの一端と
CPU3dの入力ポートに接続されている。
FIG. 1 shows a charging device 1 as a first embodiment.
2 shows a configuration in which the portable electronic device 3 and the portable electronic device 3 are provided in different housings. The charging device 1 has a charging current output terminal 1 a and a charging current ground to connect the charging device 1 and the portable electronic device 3. A terminal 1b is provided, and the portable electronic device 3 is provided with a charging current input terminal 3a and a charging current ground terminal 3b. The internal configuration of the portable electronic device 3 will be described. The charging current input terminal 3a is connected to the backflow preventing commutator 2a.
The charging state detection point 2d is connected to the positive terminal of the secondary battery 3c via the backflow preventing rectifier 2b, and is connected to one end of the discharging resistor 2c and the input of the CPU 3d. Connected to port.

【0008】また、内部バス3gにはCPU3dと、R
AM3eと、デフラグ対象のデータ記録用メモリ3fが
接続され、また、データ記録用メモリ3fにはCPU3
dがデフラグ処理を行うためのプログラムが格納されて
いる。なお、デフラグ対象のデータ記録用メモリ3fは
内蔵であっても、取り外し可能なカードタイプのメモリ
のように外付けであってもよい。
The internal bus 3g has a CPU 3d and an R
The AM 3e is connected to a data recording memory 3f to be defragmented.
d stores a program for performing a defragmentation process. Note that the data recording memory 3f to be defragmented may be built-in or external such as a removable card type memory.

【0009】このような構成において、充電装置1と携
帯型電子装置3が接続されていない場合、2次電池3c
の電源が携帯型電子装置3内の必要な回路に供給され、
このとき、充電状態検出点2dは逆流防止用整流子2b
と放電用抵抗2cにより電圧=0に保持される。
In such a configuration, when the charging device 1 and the portable electronic device 3 are not connected, the secondary battery 3c
Is supplied to necessary circuits in the portable electronic device 3,
At this time, the charge state detection point 2d is connected to the backflow prevention commutator 2b.
And the voltage = 0 by the discharge resistor 2c.

【0010】これに対し、充電装置1と携帯型電子装置
3が接続されている場合には、充電装置1からの充電電
流が逆流防止用整流子2a、2bを介して2次電池3c
に供給されて2次電池3cが充電されるとともに、携帯
型電子装置3内の必要な回路に供給される。このとき、
充電状態検出点2dが高くなるので、CPU3dは充電
状態検出点2dの電圧変化を検出して充電開始を検出す
ると、デフラグ処理を開始する。なお、このデフラグ処
理では、デフラグ対象のデータ記録用メモリ3f上の断
片化されたデータを内部バス3gを介してRAM3eに
退避させ、次いでデータ記録用メモリ3f上で連続する
ように再書き込みを行う。また、充電装置1と携帯型電
子装置3の間が切断されると、CPU3dは充電状態検
出点2dの電圧変化を検出して充電中断を検出し、デフ
ラグ処理中の場合にはデフラグ処理を中断する。
On the other hand, when the charging device 1 and the portable electronic device 3 are connected, the charging current from the charging device 1 is supplied to the secondary battery 3c via the backflow preventing rectifiers 2a and 2b.
And the secondary battery 3c is charged and supplied to necessary circuits in the portable electronic device 3. At this time,
Since the charge state detection point 2d becomes higher, the CPU 3d starts the defragmentation process when detecting the voltage change at the charge state detection point 2d and detecting the start of charging. In this defragmentation process, the fragmented data on the data recording memory 3f to be defragmented is saved in the RAM 3e via the internal bus 3g, and then rewritten so as to be continuous on the data recording memory 3f. . Further, when the charging device 1 and the portable electronic device 3 are disconnected, the CPU 3d detects a voltage change at the charging state detection point 2d to detect the interruption of charging, and interrupts the defragmentation process during the defragmentation process. I do.

【0011】図2は第2の実施形態として、充電装置1
と携帯型電子装置3が同じ筐体に設けられている場合の
構成を示している。なお、図1と同じ構成部材には同じ
参照番号が付されている。充電装置1には商用電源に接
続するためのAC電源端子1cが設けられ、充電装置1
と携帯型電子装置3の回路は常に接続されている。この
ような構成において、充電装置1が商用電源に接続され
ていない場合、2次電池3cの電源が携帯型電子装置3
内の必要な回路に供給され、このとき、充電状態検出点
2dは逆流防止用整流子2bと放電用抵抗2cにより電
圧=0に保持される。
FIG. 2 shows a charging device 1 according to a second embodiment.
And the portable electronic device 3 are provided in the same housing. The same components as those in FIG. 1 are denoted by the same reference numerals. The charging device 1 is provided with an AC power terminal 1c for connecting to a commercial power source.
And the circuit of the portable electronic device 3 are always connected. In such a configuration, when the charging device 1 is not connected to a commercial power source, the power source of the secondary battery 3c is
In this case, the charge state detection point 2d is maintained at a voltage of 0 by the backflow prevention rectifier 2b and the discharge resistor 2c.

【0012】これに対し、充電装置1が商用電源に接続
されている場合には、充電装置1からの充電電流が逆流
防止用整流子2a、2bを介して2次電池3cに供給さ
れて2次電池3cが充電されるとともに、携帯型電子装
置3内の必要な回路に供給される。このとき、充電状態
検出点2dが高くなるので、CPU3dは充電状態検出
点2dの電圧変化を検出して充電開始を検出すると、デ
フラグ処理を開始する。また、充電装置1が商用電源か
ら切断されると、CPU3dは充電状態検出点2dの電
圧変化を検出して充電中断を検出し、デフラグ処理中の
場合にはデフラグ処理を中断する。
On the other hand, when the charging device 1 is connected to a commercial power supply, the charging current from the charging device 1 is supplied to the secondary battery 3c via the backflow preventing rectifiers 2a and 2b, and The secondary battery 3c is charged and supplied to necessary circuits in the portable electronic device 3. At this time, since the charge state detection point 2d becomes higher, the CPU 3d starts the defragmentation process when detecting the voltage change at the charge state detection point 2d and detecting the start of charging. Further, when the charging device 1 is disconnected from the commercial power supply, the CPU 3d detects a voltage change at the charging state detection point 2d to detect interruption of charging, and interrupts the defragmentation process during the defragmentation process.

【0013】携帯型電子装置3の一例を説明する。近
年、音楽などのコンテンツデータ(ソフト)をユーザ側
に販売するシステムとして、CD(コンパクト・ディス
ク)やDVD(デジタル・バーサタイル・ディスク)な
どの有料、有形の記録媒体を用いる代わりに、対価の支
払いを条件として販売店設置端末やインターネットなど
の無形のネットワークを介してユーザ側のプレーヤ内の
ハードディスクや半導体メモリなどの記録媒体に転送し
てこれを再生するコンテンツ販売システムあるいはネッ
トワーク配信システムが着目されている。
An example of the portable electronic device 3 will be described. 2. Description of the Related Art In recent years, as a system for selling content data (software) such as music to users, instead of using paid and tangible recording media such as CDs (compact discs) and DVDs (digital versatile discs), payment is paid. A content sales system or a network distribution system that transfers to a recording medium such as a hard disk or a semiconductor memory in a user's player via an intangible network such as a store-installed terminal or the Internet and reproduces the recording medium under the condition is attracting attention. I have.

【0014】コンテンツ販売システムの一例としては、
コンテンツデータをホスト側から衛星通信回線や公衆電
話回線を介して販売店設置端末に転送し、更に販売店設
置端末からプレーヤに転送する販売店設置端末経由方式
が考えられる。他の例としては、コンテンツデータをイ
ンターネット・サーバ(ホスト)側からインターネット
及びインターネットクライアント(ユーザパソコン)を
介してプレーヤに転送するインターネット経由方式が考
えられる。
As an example of a content sales system,
A method is conceivable in which content data is transferred from a host to a store-installed terminal via a satellite communication line or a public telephone line, and further transferred from the store-installed terminal to the player. As another example, a method via the Internet, in which content data is transferred from an Internet server (host) to a player via the Internet and an Internet client (user personal computer), can be considered.

【0015】ところで、このようなコンテンツ販売シス
テムに用いられる携帯型のプレーヤ(音楽配信用端末)
側の記録媒体は、音楽コンテンツの記録、消去が頻繁に
行われるのでフラグ化しやすい。そこで、本発明を音楽
配信用端末に適用することにより、2次電池の残量に影
響を受けることなくデフラグ処理を自動的に行うことが
できる。
By the way, a portable player (music distribution terminal) used in such a content sales system.
Since the recording and erasing of music content is frequently performed on the recording medium on the side, it is easy to make a flag. Therefore, by applying the present invention to a music distribution terminal, the defragmentation process can be automatically performed without being affected by the remaining amount of the secondary battery.

【0016】[0016]

【発明の効果】以上説明したように本発明によれば、2
次電池の充電開始を検出してデフラグ処理を開始するよ
うにしたので、2次電池の残量に影響を受けることなく
記録媒体のデフラグ処理を自動的に行うことができる。
As described above, according to the present invention, 2
Since the start of charging of the secondary battery is detected and the defragmentation process is started, the defragmentation process of the recording medium can be automatically performed without being affected by the remaining amount of the secondary battery.

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

【図1】本発明に係る自動デフラグ装置の第1の実施形
態を示す構成図である。
FIG. 1 is a configuration diagram showing a first embodiment of an automatic defragmentation device according to the present invention.

【図2】第2の実施形態の自動デフラグ装置を示す構成
図である。
FIG. 2 is a configuration diagram illustrating an automatic defragmentation device according to a second embodiment.

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

1 充電装置 2d 充電状態検出点 3 携帯型電子装置 3c 2次電池 3d CPU(充電開始検出手段、充電中断検出手段、
デフラグ処理手段、デフラグ処理開始/中断手段) 3f データ記録用メモリ(記録媒体)
DESCRIPTION OF SYMBOLS 1 Charger 2d Charge state detection point 3 Portable electronic device 3c Secondary battery 3d CPU (charge start detection means, charge interruption detection means,
Defragmentation processing means, defragmentation processing start / interruption means) 3f Data recording memory (recording medium)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 2次電池により動作する電子装置の自動
デフラグ装置であって、 前記2次電池の充電開始を検出する手段と、 前記2次電池の充電開始を検出した場合に前記電子装置
の内部又は外部の記録媒体のデフラグ処理を開始する手
段とを、 有する自動デフラグ装置。
1. An automatic defragmentation device for an electronic device operated by a secondary battery, comprising: means for detecting a start of charging of the secondary battery, and a device for detecting the start of charging of the secondary battery. Means for initiating defragmentation of an internal or external recording medium.
【請求項2】 前記2次電池の充電中断を検出した場合
にデフラグ処理中のときにはデフラグ処理を中断するこ
とを特徴とする請求項1記載の自動デフラグ装置。
2. The automatic defragmentation device according to claim 1, wherein the defragmentation process is interrupted during the defragmentation process when the interruption of the charging of the secondary battery is detected.
JP33024699A 1999-11-19 1999-11-19 Automatic defragmenter Expired - Fee Related JP4292660B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33024699A JP4292660B2 (en) 1999-11-19 1999-11-19 Automatic defragmenter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33024699A JP4292660B2 (en) 1999-11-19 1999-11-19 Automatic defragmenter

Publications (2)

Publication Number Publication Date
JP2001147784A true JP2001147784A (en) 2001-05-29
JP4292660B2 JP4292660B2 (en) 2009-07-08

Family

ID=18230501

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33024699A Expired - Fee Related JP4292660B2 (en) 1999-11-19 1999-11-19 Automatic defragmenter

Country Status (1)

Country Link
JP (1) JP4292660B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7581126B2 (en) 2005-02-09 2009-08-25 Kabushiki Kaisha Toshiba Information recording apparatus
JP2011053852A (en) * 2009-09-01 2011-03-17 Denso Wave Inc Portable terminal
JP2011159065A (en) * 2010-01-29 2011-08-18 Nec Casio Mobile Communications Ltd Portable terminal apparatus and program
KR20140032475A (en) * 2011-06-03 2014-03-14 애플 인크. Methods and apparatus for multi-phase multi-source backup
US9317369B2 (en) 2011-06-03 2016-04-19 Apple Inc. Methods and apparatus for multi-phase restore
US9483365B2 (en) 2011-06-03 2016-11-01 Apple Inc. Methods and apparatus for multi-source restore
US9542423B2 (en) 2012-12-31 2017-01-10 Apple Inc. Backup user interface

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7581126B2 (en) 2005-02-09 2009-08-25 Kabushiki Kaisha Toshiba Information recording apparatus
JP2011053852A (en) * 2009-09-01 2011-03-17 Denso Wave Inc Portable terminal
JP2011159065A (en) * 2010-01-29 2011-08-18 Nec Casio Mobile Communications Ltd Portable terminal apparatus and program
KR20140032475A (en) * 2011-06-03 2014-03-14 애플 인크. Methods and apparatus for multi-phase multi-source backup
JP2014519655A (en) * 2011-06-03 2014-08-14 アップル インコーポレイテッド Multi-stage multi-source backup method and apparatus
KR101598724B1 (en) * 2011-06-03 2016-02-29 애플 인크. Methods and apparatus for multi-phase multi-source backup
US9317369B2 (en) 2011-06-03 2016-04-19 Apple Inc. Methods and apparatus for multi-phase restore
US9411687B2 (en) 2011-06-03 2016-08-09 Apple Inc. Methods and apparatus for interface in multi-phase restore
US9465696B2 (en) 2011-06-03 2016-10-11 Apple Inc. Methods and apparatus for multi-phase multi-source backup
US9483365B2 (en) 2011-06-03 2016-11-01 Apple Inc. Methods and apparatus for multi-source restore
US9904597B2 (en) 2011-06-03 2018-02-27 Apple Inc. Methods and apparatus for multi-phase restore
US9542423B2 (en) 2012-12-31 2017-01-10 Apple Inc. Backup user interface

Also Published As

Publication number Publication date
JP4292660B2 (en) 2009-07-08

Similar Documents

Publication Publication Date Title
US7698472B2 (en) Hot unpluggable media storage device
US6346794B1 (en) Method of controlling charge and discharge of a plurality of batteries
TWI314275B (en) Electronic device, method for controlling the same, information processing apparatus, and a computer readable storage medium encoded with computer program
EP1139225B1 (en) Portable electronic device comprising common serial bus connector
US8633679B2 (en) Method and system for operating a portable electronic device in a power-limited manner
US6442443B1 (en) Information processing apparatus and power saving apparatus
JP4068275B2 (en) Charge control method and computer
US20040068483A1 (en) Information processor for setting time limit on check out of content
KR20090046961A (en) Method and system for discovering a power source on a peripheral bus
JP4292660B2 (en) Automatic defragmenter
US8912760B2 (en) Method of activating a battery
US20050002217A1 (en) Large volume storage device
US20060206652A1 (en) Machine state storage apparatus and method
US7594043B2 (en) Reducing dismount time for mass storage class devices
US20050114570A1 (en) Portable data storage device
US8301283B2 (en) Method for outputting audio-visual media contents on a mobile electronic device, and mobile electronic device
US20210333855A1 (en) Power management of voltage regulators in an information handling system
JP3376980B2 (en) Power control device and power control method
US7127569B2 (en) Information handling system including media drive resume recording feature
CN1378114A (en) Automatic timing shut-off method
JP3092737U (en) Integrated multifunctional storage means
JPH03280117A (en) Power interruption processing system
FR2858472A3 (en) PHONOGRAPHIC EQUIPMENT OF VEHICLE WITH USB INTERFACE
TWI234066B (en) Control circuit of optical recording medium device and method thereof
JP3080005B2 (en) Data processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060331

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090306

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090317

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090330

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120417

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120417

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees