Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7758383B2 - Processing device, processing method, and program - Google Patents
[go: Go Back, main page]

JP7758383B2 - Processing device, processing method, and program - Google Patents

Processing device, processing method, and program

Info

Publication number
JP7758383B2
JP7758383B2 JP2024042051A JP2024042051A JP7758383B2 JP 7758383 B2 JP7758383 B2 JP 7758383B2 JP 2024042051 A JP2024042051 A JP 2024042051A JP 2024042051 A JP2024042051 A JP 2024042051A JP 7758383 B2 JP7758383 B2 JP 7758383B2
Authority
JP
Japan
Prior art keywords
ssd
power supply
value
processing device
time
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.)
Active
Application number
JP2024042051A
Other languages
Japanese (ja)
Other versions
JP2025142603A (en
Inventor
幹夫 千田
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.)
NEC Platforms Ltd
Original Assignee
NEC Platforms 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 NEC Platforms Ltd filed Critical NEC Platforms Ltd
Priority to JP2024042051A priority Critical patent/JP7758383B2/en
Publication of JP2025142603A publication Critical patent/JP2025142603A/en
Application granted granted Critical
Publication of JP7758383B2 publication Critical patent/JP7758383B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Power Sources (AREA)

Description

本開示は、処理装置、処理方法、およびプログラムに関する。 This disclosure relates to a processing device, a processing method, and a program.

さまざまな分野でSSD(Solid State Drive)などの情報処理装置が用いられている。特許文献1には、関連する技術として、リテンション処理を行う情報処理装置に関する技術が開示されている。 Information processing devices such as solid-state drives (SSDs) are used in a variety of fields. Patent Document 1 discloses a related technology relating to an information processing device that performs retention processing.

特表2010-515953号公報Special Publication No. 2010-515953

特許文献1に関連する情報処理装置では、利便性を向上させることのできる技術が求められている。 There is a demand for technology that can improve convenience for information processing devices related to Patent Document 1.

本開示の各態様は、上記の課題を解決することのできる処理装置、処理方法、およびプログラムを提供することを目的の1つとしている。 One of the objectives of each aspect of the present disclosure is to provide a processing device, processing method, and program that can solve the above-mentioned problems.

本開示の一態様によれば、処理装置は、SSD(Solid State Drive)への電力の供給の遮断時間を計測する計測部と、前記電力の供給が遮断されているときに前記SSDに電力を供給するキャパシタと、前記計測部へ電力を供給する電力供給部であって、前記キャパシタとは別の電力供給部と、自処理装置から前記SSDへの電力の供給が遮断された場合、時間計測カウンターに対して前記SSDが自処理装置の命令に応答できるようになる時間より大きな値である第1の値を設定し、前記時間計測カウンターの値が前記第1の値以上であると判定した場合、前記SSDが備えるNANDから読み取ったリテンション処理の優先度を決めるために必要な情報と、計算した電力遮断時間とから、実施する前記リテンション処理の優先度を決定および設定し、前記時間計測カウンターの値が前記第1の値よりも小さいと判定した場合、前記NANDの前記リテンション処理の優先度を最優先に設定し、設定した優先度に従い前記NANDの前記リテンション処理を実行する制御部と、を備える According to one aspect of the present disclosure, a processing device includes: a measurement unit that measures a time during which power supply to a solid state drive (SSD) is cut off; a capacitor that supplies power to the SSD when the power supply is cut off; a power supply unit that supplies power to the measurement unit, the power supply unit being separate from the capacitor; and a control unit that, when power supply from the processing device to the SSD is cut off, sets a first value for a time measurement counter that is greater than the time it takes for the SSD to be able to respond to commands from the processing device itself; if it determines that the value of the time measurement counter is greater than or equal to the first value, determines and sets a priority for the retention process to be performed based on information read from a NAND included in the SSD and the calculated power cutoff time; and if it determines that the value of the time measurement counter is less than the first value, sets the priority of the retention process of the NAND to highest priority and executes the retention process of the NAND in accordance with the set priority .

本開示の別の態様によれば、処理方法は、計測部、キャパシタ、電力供給部、および制御部を備える処理装置が実行する処理方法であって、前記計測部は、SSD(Solid State Drive)への電力の供給の遮断時間を計測し、前記キャパシタは、前記電力の供給が遮断されているときに前記SSDに電力を供給し、前記電力供給部は、前記キャパシタとは別の電力供給部であり、前記計測部へ電力を供給し、前記制御部は、自処理装置から前記SSDへの電力の供給が遮断された場合、時間計測カウンターに対して前記SSDが自処理装置の命令に応答できるようになる時間より大きな値である第1の値を設定し、前記時間計測カウンターの値が前記第1の値以上であると判定した場合、前記SSDが備えるNANDから読み取ったリテンション処理の優先度を決めるために必要な情報と、計算した電力遮断時間とから、実施する前記リテンション処理の優先度を決定および設定し、前記時間計測カウンターの値が前記第1の値よりも小さいと判定した場合、前記NANDの前記リテンション処理の優先度を最優先に設定し、設定した優先度に従い前記NANDの前記リテンション処理を実行する According to another aspect of the present disclosure, a processing method is a processing method executed by a processing device including a measurement unit, a capacitor, a power supply unit, and a control unit, wherein the measurement unit is a solid state drive (SSD) the control unit measures a time during which power supply to the SSD (a storage device or a drive) is cut off, the capacitor supplies power to the SSD when the power supply is cut off, the power supply unit is a power supply unit separate from the capacitor and supplies power to the measurement unit, when the power supply from the processing device to the SSD is cut off, the control unit sets a first value to a time measurement counter which is greater than the time it takes for the SSD to be able to respond to a command from the processing device, and when it determines that the value of the time measurement counter is greater than or equal to the first value, determines and sets a priority for the retention process to be performed based on information read from a NAND included in the SSD for determining the priority of the retention process and the calculated power cutoff time, and when it determines that the value of the time measurement counter is smaller than the first value, sets the priority of the retention process of the NAND to be the highest priority, and executes the retention process of the NAND in accordance with the set priority .

本開示の別の態様によれば、プログラムは、コンピュータに、SSD(Solid State Drive)への電力の供給の遮断時間を計測することと、前記電力の供給が遮断されているときに前記SSDに電力を供給することと、前記遮断時間を計測する計測部へ電力を供給することと、処理装置から前記SSDへの電力の供給が遮断された場合、時間計測カウンターに対して前記SSDが前記処理装置の命令に応答できるようになる時間より大きな値である第1の値を設定することと、前記時間計測カウンターの値が前記第1の値以上であると判定した場合、前記SSDが備えるNANDから読み取ったリテンション処理の優先度を決めるために必要な情報と、計算した電力遮断時間とから、実施する前記リテンション処理の優先度を決定および設定することと、前記時間計測カウンターの値が前記第1の値よりも小さいと判定した場合、前記NANDの前記リテンション処理の優先度を最優先に設定することと、設定した優先度に従い前記NANDの前記リテンション処理を実行することと、を実行させる According to another aspect of the present disclosure, a program causes a computer to: measure a time during which power supply to a solid state drive (SSD) is cut off; supply power to the SSD while the power supply is cut off; supply power to a measurement unit that measures the cutoff time; when power supply from a processing device to the SSD is cut off, set a first value to a time measurement counter that is greater than a time required for the SSD to be able to respond to commands from the processing device; if it is determined that the value of the time measurement counter is greater than or equal to the first value, determine and set a priority of the retention process to be performed based on information read from a NAND included in the SSD for determining the priority of the retention process and the calculated power cutoff time; if it is determined that the value of the time measurement counter is less than the first value, set the priority of the retention process of the NAND to highest priority; and execute the retention process of the NAND in accordance with the set priority .

本開示の各態様によれば、利便性を向上させることができる。 Each aspect of the present disclosure can improve convenience.

本開示のいくつかの実施形態にかかる情報処理装置の構成の一例を示す図である。FIG. 1 is a diagram illustrating an example of a configuration of an information processing device according to some embodiments of the present disclosure. 本開示のいくつかの実施形態にかかる情報処理装置の処理フローの第1の例を示す図である。FIG. 1 is a diagram illustrating a first example of a processing flow of an information processing device according to some embodiments of the present disclosure. 本開示のいくつかの実施形態にかかる情報処理装置の処理フローの第2の例を示す図である。FIG. 10 is a diagram illustrating a second example of a processing flow of an information processing device according to some embodiments of the present disclosure. 本開示のいくつかの実施形態にかかる処理装置の構成の一例を示す図である。FIG. 1 illustrates an example of a configuration of a processing device according to some embodiments of the present disclosure. 本開示のいくつかの実施形態にかかる処理装置の処理フローの一例を示す図である。FIG. 1 is a diagram illustrating an example of a processing flow of a processing device according to some embodiments of the present disclosure. 少なくとも1つの実施形態に係るコンピュータの構成を示す概略ブロック図である。FIG. 1 is a schematic block diagram illustrating the configuration of a computer according to at least one embodiment.

以下、図面を参照しながら実施形態について詳しく説明する。
<実施形態>
本開示の一実施形態にかかる情報処理装置1について図面を参照して説明する。
Hereinafter, the embodiments will be described in detail with reference to the drawings.
<Embodiment>
An information processing device 1 according to an embodiment of the present disclosure will be described with reference to the drawings.

(本開示の情報処理装置の構成)
図1は、本開示のいくつかの実施形態にかかる情報処理装置1の構成の一例を示す図である。本開示の一実施形態にかかる情報処理装置1は、図1に示すように、情報処理装置本体10、およびSSD(Solid State Drive)20を備える。例えば、情報処理装置1は、パーソナルコンピュータである。
(Configuration of information processing device of the present disclosure)
1 is a diagram illustrating an example of the configuration of an information processing device 1 according to some embodiments of the present disclosure. As shown in FIG. 1, the information processing device 1 according to one embodiment of the present disclosure includes an information processing device main body 10 and an SSD (Solid State Drive) 20. For example, the information processing device 1 is a personal computer.

情報処理装置本体10は、図1に示すように、制御部101、および電源102を備える。 As shown in Figure 1, the information processing device main unit 10 includes a control unit 101 and a power supply 102.

制御部101は、CPU(Central Processing Unit)1011、メモリ1012、および各種インターフェース1013を含む。例えば、情報処理装置1がパーソナルコンピュータである場合、情報処理装置本体10は、CPU1011、およびメモリ1012を搭載したマザーボードである。 The control unit 101 includes a CPU (Central Processing Unit) 1011, memory 1012, and various interfaces 1013. For example, if the information processing device 1 is a personal computer, the information processing device main body 10 is a motherboard on which the CPU 1011 and memory 1012 are mounted.

電源102は、制御部101による制御の下、SSD20に電力を供給する。 The power supply 102 supplies power to the SSD 20 under the control of the control unit 101.

SSD20は、図1に示すように、コネクタ201、制御部202、NAND203、時間計測カウンター204、二次電池205、およびキャパシタ206を備える。 As shown in FIG. 1, the SSD 20 includes a connector 201, a control unit 202, a NAND 203, a time measurement counter 204, a secondary battery 205, and a capacitor 206.

コネクタ201は、情報処理装置本体10に接続されるインターフェースである。コネクタ201は、情報処理装置本体10から電力を受給する。 The connector 201 is an interface that connects to the information processing device main unit 10. The connector 201 receives power from the information processing device main unit 10.

制御部202は、SSD20が行う処理に必要な種々の制御を行う。 The control unit 202 performs various controls necessary for the processing performed by the SSD 20.

NAND203は、不揮発性メモリである。NAND203は、情報iを示すデータを保存する。情報iは、リテンション処理の優先度を決める為に必要な情報である。リテンション処理とは、データのチェックおよび訂正を行う処理である。情報iの具体例としては、電力の供給が遮断された時点でのリテンションの状況を示す情報、電力の供給が開始してから遮断されるまでの平均時間を示す情報、電力の供給が遮断されてから再度供給が開始されるまでの平均時間を示す情報、NAND203に書き込まれたデータ量を示す情報などが挙げられる。 NAND 203 is a non-volatile memory. NAND 203 stores data indicating information i. Information i is information necessary for determining the priority of retention processing. Retention processing is a process of checking and correcting data. Specific examples of information i include information indicating the retention status at the time the power supply was cut off, information indicating the average time from the start of power supply to its cut off, information indicating the average time from the cut off of power supply to its restart, and information indicating the amount of data written to NAND 203.

時間計測カウンター204は、情報処理装置本体10からの電力の供給が遮断された場合に、その電力の供給が遮断されている時間を計測する。 When the power supply from the information processing device main unit 10 is interrupted, the time measurement counter 204 measures the time during which the power supply is interrupted.

二次電池205は、情報処理装置本体10からの電力の供給が遮断された場合、時間計測カウンター204を動作させる。なお、別の実施形態では、二次電池205の代わりにキャパシタ206とは別のキャパシタが用いられるものであってもよい。 The secondary battery 205 operates the time measurement counter 204 when the power supply from the information processing device main unit 10 is cut off. Note that in another embodiment, a capacitor other than the capacitor 206 may be used instead of the secondary battery 205.

キャパシタ206は、情報処理装置本体10からの電力の供給が遮断された場合に、必要な情報をNAND203に書き込む間、SSD20を動作させるための電力を供給する。 Capacitor 206 supplies power to operate SSD 20 while writing necessary information to NAND 203 if the power supply from the information processing device main unit 10 is interrupted.

なお、本開示の一実施形態にかかる情報処理装置1が行う上述の処理は、一例であって、上述の処理に限定されない。例えば、情報処理装置1は、以下で説明する処理を行うものであってもよい。 Note that the above-described processing performed by the information processing device 1 according to one embodiment of the present disclosure is merely an example, and is not limited to the above-described processing. For example, the information processing device 1 may perform the processing described below.

(本開示の情報処理装置が行う第1処理)
図2は、本開示のいくつかの実施形態にかかる情報処理装置1の処理フローの第1の例を示す図である。ここでは、図2に示すような、情報処理装置本体10からSSD20への電力の供給が遮断された場合に情報処理装置1が行う処理について説明する。
(First process performed by the information processing device of the present disclosure)
2 is a diagram illustrating a first example of a processing flow of the information processing device 1 according to some embodiments of the present disclosure. Here, a process performed by the information processing device 1 when the supply of power from the information processing device main body 10 to the SSD 20 is interrupted as shown in FIG. 2 will be described.

情報処理装置本体10からSSD20への電力の供給が遮断された場合、制御部202は、時間計測カウンター204に対してSSD20が情報処理装置本体10の命令に応答できるようになる時間より大きな値Aを設定する(ステップS1)。時間計測カウンター204に対してSSD20が情報処理装置本体10の命令に応答できるようになる時間より大きな値Aとは、SSD20に電力が供給され、SSD20の起動時間がレディになる(情報処理装置本体10からのリード/ライトのコマンドを受け付けられるようになる)迄の最大時間に+αの時間を加えた時間よりも大きな値のことである。なお、制御部202は、SSD20がレディになるときに、時間計測カウンターを読み取る。そして、制御部202は、読み取った時間計測カウンターが示す時間が、設定された値Aよりも小さい場合、時間計測カウンター204がリセットされた(キャパシタが放電され電荷が無くなった)と判定する。また、制御部202は、読み取った時間計測カウンターが示す時間が、設定された値Aよりも大きい場合、(瞬断はあったとしても)長期の電力の遮断は発生していないと判定する。なお、時間計測カウンター204にこのような大きな値Aを設定する理由は、制御部202が時間計測カウンター204のカウント値を読み込んだ際に、SSD20への電力の供給が遮断された直後に、再度電力が供給された場合(つまり、電力供給時間が0であっても設定した値Aよりも大きなカウント値を制御部202が読み取った場合)と、情報処理装置本体10からSSD20に長時間電力が供給されず、二次電池205から時間計測カウンター204への電力の供給も終了し、その後SSD20に電力が供給されて時間計測カウンター204が0からカウントアップした場合(設定した値Aよりも小さなカウント値を制御部202が読み取った場合)とを区別可能にするためである。 When the power supply from the information processing device main unit 10 to the SSD 20 is cut off, the control unit 202 sets the time counter 204 to a value A greater than the time required for the SSD 20 to be able to respond to commands from the information processing device main unit 10 (step S1). The value A greater than the time required for the SSD 20 to be able to respond to commands from the information processing device main unit 10 is a value greater than the maximum time required for the SSD 20 to be powered on and ready (to accept read/write commands from the information processing device main unit 10) plus an additional time α. The control unit 202 reads the time counter when the SSD 20 becomes ready. If the time indicated by the read time counter is less than the set value A, the control unit 202 determines that the time counter 204 has been reset (the capacitor has been discharged and no charge has been generated). Furthermore, if the time indicated by the read time counter is greater than the set value A, the control unit 202 determines that a long-term power interruption has not occurred (even if there was a momentary power interruption). The reason for setting such a large value A in the time counter 204 is to enable the control unit 202 to distinguish between a case in which power is supplied again immediately after the power supply to the SSD 20 is interrupted when the control unit 202 reads the count value of the time counter 204 (i.e., a case in which the control unit 202 reads a count value greater than the set value A even if the power supply time is 0), and a case in which power is not supplied from the information processing device main unit 10 to the SSD 20 for a long time, power supply from the secondary battery 205 to the time counter 204 also ends, and then power is supplied to the SSD 20 and the time counter 204 counts up from 0 (i.e., a case in which the control unit 202 reads a count value smaller than the set value A).

時間計測カウンター204は、設定された値Aを初期値として時間のカウントを実施する(ステップS2)。 The time measurement counter 204 counts time using the set value A as the initial value (step S2).

制御部202は、リテンション処理の優先度を決めるために必要な情報iをNAND203に記録する(ステップS3)。この情報iは、制御部202が、SSD20の起動時に読み込んだ情報iに電源102の投入中に動作していたSSD20の状況を更新することにより新たな情報iとして生成する。この新たな情報iの例としては、SSD20のライト時にNANDの書き換え回数に偏りなく使用する様に、また、SSD20内部処理のリテンションに処理をどの位実施したか等、SSD20がリテンション処理を実施する為に必要な情報などが挙げられる。 The control unit 202 records information i necessary for determining the priority of the retention process in the NAND 203 (step S3). This information i is generated as new information i by updating the information i read by the control unit 202 when the SSD 20 was started with the status of the SSD 20 that was operating while the power supply 102 was on. Examples of this new information i include information necessary for the SSD 20 to perform retention processing, such as information to ensure that the number of NAND rewrites is used evenly when writing to the SSD 20, and information about how much processing was performed for retention of internal processing of the SSD 20.

(本開示の情報処理装置が行う第2処理)
図3は、本開示のいくつかの実施形態にかかる情報処理装置1の処理フローの第2の例を示す図である。ここでは、図3に示すような、情報処理装置本体10からSSD20への電力の供給が再開された場合に情報処理装置1が行う処理について説明する。
(Second process performed by the information processing device of the present disclosure)
3 is a diagram illustrating a second example of a processing flow of the information processing device 1 according to some embodiments of the present disclosure. Here, a process performed by the information processing device 1 when the supply of power from the information processing device main body 10 to the SSD 20 is resumed as shown in FIG. 3 will be described.

情報処理装置本体10からSSD20への電力の供給が再開されると、制御部202は、起動した後二次電池205(別の実施形態の場合、キャパシタ206とは別の二次電池205の代わりのキャパシタ)の充電を開始する(ステップS11)。 When the supply of power from the information processing device main body 10 to the SSD 20 is resumed, the control unit 202 starts up and then begins charging the secondary battery 205 (or, in another embodiment, a capacitor other than capacitor 206 that replaces the secondary battery 205) (step S11).

制御部202は、NAND203からリテンション処理の優先度を決めるために必要な情報iを読み取る(ステップS12)。 The control unit 202 reads information i from the NAND 203, which is necessary to determine the priority of the retention process (step S12).

制御部202は、時間計測カウンター204からカウンターの値を読み取る(ステップS13)。 The control unit 202 reads the counter value from the time measurement counter 204 (step S13).

制御部202は、時間計測カウンター204から読み取った値と、情報処理装置本体10からSSD20への電力が遮断された場合に設定した値Aとを比較する。そして、制御部202は、読み取った値が設定した値Aよりも小さいか否かを判定する(ステップS14)。 The control unit 202 compares the value read from the time measurement counter 204 with value A, which was set when power from the information processing device main unit 10 to the SSD 20 was cut off. The control unit 202 then determines whether the read value is smaller than value A (step S14).

制御部202は、読み取った値が設定した値Aよりも小さいと判定した場合(ステップS14においてYES)、時間計測カウンター204がリセットされたと判定する。そして、制御部202は、二次電池205(または代わりのキャパシタ)から時間計測カウンター204への電力の供給が遮断される程の長時間、情報処理装置本体10からSSD20へ電力の供給が遮断されていたものとみなし、リテンション処理の優先度を最優先に設定する(ステップS15)。そして、制御部202は、優先度に従いNAND203のリテンション処理を実行する(ステップS16)。 If the control unit 202 determines that the read value is smaller than the set value A (YES in step S14), it determines that the time measurement counter 204 has been reset. The control unit 202 then assumes that the power supply from the information processing device main unit 10 to the SSD 20 has been cut off for a long enough period of time that the power supply from the secondary battery 205 (or a substitute capacitor) to the time measurement counter 204 has been cut off, and sets the priority of the retention process to the highest priority (step S15). The control unit 202 then executes the retention process of the NAND 203 according to the priority (step S16).

また、制御部202は、読み取った値が設定した値A以上であると判定した場合(ステップS14においてNO)、時間計測カウンター204から読み取った値が情報処理装置本体10からSSD20へ電力の供給が遮断されていた時間を示すものとみなす。そして、制御部202は、時間計測カウンター204から読み取った値から実際に電力の供給が遮断されていた時間である電力遮断時間を計算する(ステップS17)。例えば、制御部202は、時間計測カウンター204から読み取った値から設定した値Aを減算することにより実際に電力遮断時間を計算する。 Furthermore, if the control unit 202 determines that the read value is equal to or greater than the set value A (NO in step S14), it considers the value read from the time measurement counter 204 to indicate the time during which power supply from the information processing device main unit 10 to the SSD 20 was cut off. Then, the control unit 202 calculates the power cut-off time, which is the actual time during which power supply was cut off, from the value read from the time measurement counter 204 (step S17). For example, the control unit 202 calculates the actual power cut-off time by subtracting the set value A from the value read from the time measurement counter 204.

制御部202は、NAND203から読み取った情報iと、計算した電力遮断時間とから、実施するリテンション処理の優先度を決定する(ステップS18)。例えば、制御部202は、ユーザの使用状況でNAND203に記録されたユーザデータが十分保護されていると判定した場合、リテンション処理の優先度を最低の優先度とする。また、制御部202は、ユーザの使用状況でユーザデータの保護が不十分であると判定した場合や、時間計測カウンター204がリセットされる程の長時間電力が供給されないと判定した場合、情報処理装置本体10からリード性能およびライト性能を低下させても最優先とする。そして、制御部202は、ステップS16の処理に進める。 The control unit 202 determines the priority of the retention process to be performed based on the information i read from the NAND 203 and the calculated power cutoff time (step S18). For example, if the control unit 202 determines that the user data recorded in the NAND 203 is sufficiently protected based on the user's usage status, it assigns the lowest priority to the retention process. Furthermore, if the control unit 202 determines that the user data is not sufficiently protected based on the user's usage status, or that power will not be supplied for such a long period that the time measurement counter 204 will be reset, it assigns the highest priority to the retention process even if it means reducing the read and write performance of the information processing device main unit 10. The control unit 202 then proceeds to step S16.

(利点)
以上、本開示の一実施形態にかかる情報処理装置1(処理装置の一例)について説明した。情報処理装置1において、時間計測カウンター204(計測部の一例)は、SSD(Solid State Drive)20への電力の供給の遮断時間を計測する。キャパシタ206は、前記電力の供給が遮断されているときに前記SSD20に電力を供給する。二次電池205(別の実施形態の場合、キャパシタ206とは別の二次電池205の代わりのキャパシタ)(電力供給部の一例)は、前記時間計測カウンター204へ電力を供給する電力供給部であって、前記キャパシタ206とは別の電力供給部である。
(advantage)
The information processing device 1 (an example of a processing device) according to an embodiment of the present disclosure has been described above. In the information processing device 1, a time measurement counter 204 (an example of a measurement unit) measures the time during which power supply to an SSD (Solid State Drive) 20 is interrupted. A capacitor 206 supplies power to the SSD 20 when the power supply is interrupted. A secondary battery 205 (or, in another embodiment, a capacitor other than the capacitor 206, instead of the secondary battery 205) (an example of a power supply unit) is a power supply unit that supplies power to the time measurement counter 204 and is a power supply unit separate from the capacitor 206.

この情報処理装置1により、SSD20へ電力を供給するキャパシタ206とは別の二次電池205(別の実施形態の場合、キャパシタ206とは別の二次電池205の代わりのキャパシタ)(電力供給部の一例)から、SSD20への電力の供給の遮断時間を計測する時間計測カウンター204(計測部の一例)へ電力を供給することができる。すなわち、情報処理装置1は、利便性を向上させることができる。 This information processing device 1 can supply power to a time measurement counter 204 (an example of a measurement unit) that measures the time that power supply to the SSD 20 is cut off from a secondary battery 205 (or, in another embodiment, a capacitor that replaces the secondary battery 205 other than the capacitor 206) (an example of a power supply unit) that is separate from the capacitor 206 that supplies power to the SSD 20. In other words, the information processing device 1 can improve convenience.

なお、本開示の一実施形態では、SSD20は、情報処理装置1が備えるものとして説明した。しかしながら、本開示の別の実施形態では、SSD20は、情報処理装置1の外部に存在するものであってもよい。すなわち、SSD20は、情報処理装置1の外付けのSSDであってもよい。 In one embodiment of the present disclosure, the SSD 20 has been described as being included in the information processing device 1. However, in another embodiment of the present disclosure, the SSD 20 may be located outside the information processing device 1. In other words, the SSD 20 may be an external SSD attached to the information processing device 1.

次に、本開示のいくつかの実施形態にかかる処理装置300について説明する。図4は、本開示のいくつかの実施形態にかかる処理装置300の構成の一例を示す図である。処理装置300は、図4に示すように、計測部301、キャパシタ302、および電力供給部303を備える。計測部301は、SSD(Solid State Drive)への電力の供給の遮断時間を計測する。キャパシタ302は、前記電力の供給が遮断されているときに前記SSDに電力を供給する。電力供給部303は、前記計測部301へ電力を供給する電力供給部であって、前記キャパシタ302とは別の電力供給部である。 Next, a processing device 300 according to some embodiments of the present disclosure will be described. FIG. 4 is a diagram illustrating an example of the configuration of a processing device 300 according to some embodiments of the present disclosure. As shown in FIG. 4, the processing device 300 includes a measurement unit 301, a capacitor 302, and a power supply unit 303. The measurement unit 301 measures the time during which power supply to an SSD (Solid State Drive) is interrupted. The capacitor 302 supplies power to the SSD when the power supply is interrupted. The power supply unit 303 is a power supply unit that supplies power to the measurement unit 301 and is separate from the capacitor 302.

計測部301は、例えば、図1に例示されている時間計測カウンター204が有する機能を用いて実現することができる。また、キャパシタ302は、例えば、図1に例示されているキャパシタ206が有する機能を用いて実現することができる。また、電力供給部303は、例えば、図1に例示されている二次電池205(または二次電池205の代わりのキャパシタ)が有する機能を用いて実現することができる。また、処理装置300は、例えば、図1に例示されている情報処理装置1が有する機能を用いて実現することができる。 The measurement unit 301 can be realized, for example, using the functions of the time measurement counter 204 illustrated in FIG. 1. The capacitor 302 can be realized, for example, using the functions of the capacitor 206 illustrated in FIG. 1. The power supply unit 303 can be realized, for example, using the functions of the secondary battery 205 (or a capacitor replacing the secondary battery 205) illustrated in FIG. 1. The processing device 300 can be realized, for example, using the functions of the information processing device 1 illustrated in FIG. 1.

次に、本開示のいくつかの実施形態にかかる処理装置300が行う処理について説明する。図5は、本開示のいくつかの実施形態にかかる処理装置300の処理フローの一例を示す図である。ここでは、図5を参照して処理装置300の処理について説明する。 Next, the processing performed by the processing device 300 according to some embodiments of the present disclosure will be described. Figure 5 is a diagram showing an example of the processing flow of the processing device 300 according to some embodiments of the present disclosure. Here, the processing of the processing device 300 will be described with reference to Figure 5.

処理装置300において、計測部301は、SSD(Solid State Drive)への電力の供給の遮断時間を計測する(ステップS101)。キャパシタ302は、前記電力の供給が遮断されているときに前記SSDに電力を供給する(ステップS102)。電力供給部303は、前記キャパシタ302とは別の電力供給部であり、前記計測部301へ電力を供給する(ステップS103)。 In the processing device 300, the measurement unit 301 measures the time that power supply to an SSD (Solid State Drive) is interrupted (step S101). The capacitor 302 supplies power to the SSD while the power supply is interrupted (step S102). The power supply unit 303 is a separate power supply unit from the capacitor 302 and supplies power to the measurement unit 301 (step S103).

以上、本開示のいくつかの実施形態にかかる処理装置300について説明した。この処理装置300により、利便性を向上させることができる。 The processing device 300 according to several embodiments of the present disclosure has been described above. This processing device 300 can improve convenience.

なお、本開示の各実施形態における処理は、適切な処理が行われる範囲において、処理の順番が入れ替わってもよい。 Note that the order of the processes in each embodiment of the present disclosure may be changed as long as appropriate processing is performed.

本開示の各実施形態について説明したが、上述の情報処理装置1、情報処理装置本体10、SSD20、その他の制御装置は内部に、コンピュータシステムを有していてもよい。そして、上述した処理の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われる。コンピュータの具体例を以下に示す。 Although each embodiment of the present disclosure has been described, the information processing device 1, information processing device main body 10, SSD 20, and other control devices may have an internal computer system. The above-described processing steps are stored in the form of a program on a computer-readable recording medium, and the above processing is performed by the computer reading and executing this program. Specific examples of computers are shown below.

図6は、少なくとも1つの実施形態に係るコンピュータの構成を示す概略ブロック図である。コンピュータ5は、図6に示すように、CPU(Central Processing Unit)6、メインメモリ7、ストレージ8、インターフェース9を備える。 Figure 6 is a schematic block diagram showing the configuration of a computer according to at least one embodiment. As shown in Figure 6, the computer 5 includes a CPU (Central Processing Unit) 6, main memory 7, storage 8, and an interface 9.

例えば、上述の情報処理装置1、情報処理装置本体10、SSD20、その他の制御装置のそれぞれは、コンピュータ5に実装される。そして、上述した各処理部の動作は、プログラムの形式でストレージ8に記憶されている。CPU6は、プログラムをストレージ8から読み出してメインメモリ7に展開し、当該プログラムに従って上記処理を実行する。また、CPU6は、プログラムに従って、上述した各記憶部に対応する記憶領域をメインメモリ7に確保する。 For example, the above-mentioned information processing device 1, information processing device main body 10, SSD 20, and other control devices are each implemented in a computer 5. The operation of each of the above-mentioned processing units is stored in the form of a program in storage 8. The CPU 6 reads the program from storage 8, expands it in main memory 7, and executes the above-mentioned processing in accordance with the program. The CPU 6 also allocates storage areas in main memory 7 corresponding to each of the above-mentioned storage units in accordance with the program.

ストレージ8の例としては、HDD(Hard Disk Drive)、SSD(Solid State Drive)、磁気ディスク、光磁気ディスク、CD-ROM(Compact Disc Read Only Memory)、DVD-ROM(Digital Versatile Disc Read Only Memory)、半導体メモリ等が挙げられる。ストレージ8は、コンピュータ5のバスに直接接続された内部メディアであってもよいし、インターフェース9または通信回線を介してコンピュータ5に接続される外部メディアであってもよい。また、このプログラムが通信回線によってコンピュータ5に配信される場合、配信を受けたコンピュータ5が当該プログラムをメインメモリ7に展開し、上記処理を実行してもよい。少なくとも1つの実施形態において、ストレージ8は、一時的でない有形の記憶媒体である。 Examples of storage 8 include HDD (Hard Disk Drive), SSD (Solid State Drive), magnetic disk, magneto-optical disk, CD-ROM (Compact Disc Read Only Memory), DVD-ROM (Digital Versatile Disc Read Only Memory), semiconductor memory, etc. Storage 8 may be internal media directly connected to the bus of computer 5, or external media connected to computer 5 via interface 9 or a communication line. Furthermore, if this program is distributed to computer 5 via a communication line, the computer 5 that receives the program may expand the program into main memory 7 and execute the above-mentioned processing. In at least one embodiment, storage 8 is a non-transitory, tangible storage medium.

また、上記プログラムは、前述した機能の一部を実現してもよい。さらに、上記プログラムは、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるファイル、いわゆる差分ファイル(差分プログラム)であってもよい。 The program may also implement some of the functions described above. Furthermore, the program may be a file that can implement the functions described above in combination with a program already recorded on the computer system, a so-called differential file (differential program).

本開示のいくつかの実施形態を説明したが、これらの実施形態は、例であり、開示の範囲を限定しない。これらの実施形態は、開示の要旨を逸脱しない範囲で、種々の追加、省略、置き換え、変更を行ってよい。 Several embodiments of the present disclosure have been described, but these embodiments are merely examples and do not limit the scope of the disclosure. Various additions, omissions, substitutions, and modifications may be made to these embodiments without departing from the spirit of the disclosure.

なお、上記の実施形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限られない。 Note that some or all of the above embodiments can also be described as, but are not limited to, the following notes.

(付記1)
SSD(Solid State Drive)への電力の供給の遮断時間を計測する計測部と、
前記電力の供給が遮断されているときに前記SSDに電力を供給するキャパシタと、
前記計測部へ電力を供給する電力供給部であって、前記キャパシタとは別の電力供給部と、
を備える処理装置。
(Appendix 1)
a measurement unit that measures a time during which power supply to a solid state drive (SSD) is cut off;
a capacitor that supplies power to the SSD when the power supply is interrupted;
a power supply unit that supplies power to the measurement unit, the power supply unit being separate from the capacitor;
A processing device comprising:

(付記2)
前記電力供給部は、
二次電池またはキャパシタである、
付記1に記載の処理装置。
(Appendix 2)
The power supply unit
a secondary battery or a capacitor;
2. The processing device of claim 1.

(付記3)
前記計測部が計測した前記遮断時間と、リテンション処理の優先度とに基づいて、リテンション処理を実行する制御部、
を備える付記1または付記2に記載の処理装置。
(Appendix 3)
a control unit that executes a retention process based on the interruption time measured by the measurement unit and a priority of the retention process;
3. The processing device according to claim 1 or 2, comprising:

(付記4)
前記制御部は、
前記SSDへの電力の供給が遮断されたと判断した場合、前記リテンション処理の優先度を最優先とし、前記リテンション処理を実行する、
付記3に記載の処理装置。
(Appendix 4)
The control unit
When it is determined that the power supply to the SSD has been cut off, the retention process is given the highest priority and the retention process is executed.
4. The processing device of claim 3.

(付記5)
計測部、キャパシタ、および電力供給部を備える処理装置が実行する処理方法であって、
前記計測部は、SSD(Solid State Drive)への電力の供給の遮断時間を計測し、
前記キャパシタは、前記電力の供給が遮断されているときに前記SSDに電力を供給し、
前記電力供給部は、前記キャパシタとは別の電力供給部であり、前記計測部へ電力を供給する、
処理方法。
(Appendix 5)
A processing method executed by a processing device including a measurement unit, a capacitor, and a power supply unit,
the measurement unit measures a time period during which power supply to a solid state drive (SSD) is interrupted;
the capacitor supplies power to the SSD when the power supply is interrupted;
the power supply unit is a power supply unit separate from the capacitor and supplies power to the measurement unit.
Processing method.

(付記6)
コンピュータに、
SSD(Solid State Drive)への電力の供給の遮断時間を計測することと、
前記電力の供給が遮断されているときに前記SSDに電力を供給することと、
前記遮断時間を計測する計測部へ電力を供給することと、
を実行させるプログラム。
(Appendix 6)
On the computer,
Measuring the time during which power supply to a solid state drive (SSD) is cut off;
supplying power to the SSD when the power supply is interrupted;
supplying power to a measurement unit that measures the interruption time;
A program that executes the following.

1・・・情報処理装置
5・・・コンピュータ
6、1011・・・CPU
7・・・メインメモリ
8・・・ストレージ
9・・・インターフェース
10・・・情報処理装置本体
20・・・SSD
101・・・制御部
102・・・電源
201・・・コネクタ
202・・・制御部
203・・・NAND
204・・・時間計測カウンター
205・・・二次電池
206・・・キャパシタ
300・・・処理装置
301・・・計測部
302・・・キャパシタ
303・・・電力供給部
1012・・・メモリ
1013・・・各種インターフェース
1...information processing device 5...computer 6, 1011...CPU
7... Main memory 8... Storage 9... Interface 10... Information processing device main body 20... SSD
101: Control unit 102: Power supply 201: Connector 202: Control unit 203: NAND
204: Time measurement counter 205: Secondary battery 206: Capacitor 300: Processing device 301: Measurement unit 302: Capacitor 303: Power supply unit 1012: Memory 1013: Various interfaces

Claims (4)

SSD(Solid State Drive)への電力の供給の遮断時間を計測する計測部と、
前記電力の供給が遮断されているときに前記SSDに電力を供給するキャパシタと、
前記計測部へ電力を供給する電力供給部であって、前記キャパシタとは別の電力供給部と、
自処理装置から前記SSDへの電力の供給が遮断された場合、時間計測カウンターに対して前記SSDが自処理装置の命令に応答できるようになる時間より大きな値である第1の値を設定し、
前記時間計測カウンターの値が前記第1の値以上であると判定した場合、前記SSDが備えるNANDから読み取ったリテンション処理の優先度を決めるために必要な情報と、計算した電力遮断時間とから、実施する前記リテンション処理の優先度を決定および設定し、
前記時間計測カウンターの値が前記第1の値よりも小さいと判定した場合、前記NANDの前記リテンション処理の優先度を最優先に設定し、
設定した優先度に従い前記NANDの前記リテンション処理を実行する制御部と、
を備える処理装置。
a measurement unit that measures a time during which power supply to a solid state drive (SSD) is cut off;
a capacitor that supplies power to the SSD when the power supply is interrupted;
a power supply unit that supplies power to the measurement unit, the power supply unit being separate from the capacitor;
When the supply of power from the processing device to the SSD is cut off, a first value is set to a time measurement counter, the first value being a value greater than the time required for the SSD to be able to respond to a command from the processing device;
When it is determined that the value of the time measurement counter is equal to or greater than the first value, determining and setting the priority of the retention process to be performed based on information necessary for determining the priority of the retention process read from the NAND included in the SSD and the calculated power cutoff time;
If it is determined that the value of the time measurement counter is smaller than the first value, the priority of the retention process of the NAND is set to the highest priority;
a control unit that executes the retention process of the NAND in accordance with a set priority;
A processing device comprising:
前記電力供給部は、
二次電池またはキャパシタである、
請求項1に記載の処理装置。
The power supply unit
a secondary battery or a capacitor;
The processing device of claim 1 .
計測部、キャパシタ、電力供給部、および制御部を備える処理装置が実行する処理方法であって、
前記計測部は、SSD(Solid State Drive)への電力の供給の遮断時間を計測し、
前記キャパシタは、前記電力の供給が遮断されているときに前記SSDに電力を供給し、
前記電力供給部は、前記キャパシタとは別の電力供給部であり、前記計測部へ電力を供給し、
前記制御部は、自処理装置から前記SSDへの電力の供給が遮断された場合、時間計測カウンターに対して前記SSDが自処理装置の命令に応答できるようになる時間より大きな値である第1の値を設定し、
前記時間計測カウンターの値が前記第1の値以上であると判定した場合、前記SSDが備えるNANDから読み取ったリテンション処理の優先度を決めるために必要な情報と、計算した電力遮断時間とから、実施する前記リテンション処理の優先度を決定および設定し、
前記時間計測カウンターの値が前記第1の値よりも小さいと判定した場合、前記NANDの前記リテンション処理の優先度を最優先に設定し、
設定した優先度に従い前記NANDの前記リテンション処理を実行する、
処理方法。
A processing method executed by a processing device including a measurement unit, a capacitor, a power supply unit, and a control unit,
the measurement unit measures a time period during which power supply to a solid state drive (SSD) is interrupted;
the capacitor supplies power to the SSD when the power supply is interrupted;
the power supply unit is a power supply unit separate from the capacitor and supplies power to the measurement unit;
the control unit sets a time counter to a first value that is greater than a time required for the SSD to respond to a command from the processing device itself when power supply from the processing device itself to the SSD is cut off;
When it is determined that the value of the time measurement counter is equal to or greater than the first value, determining and setting the priority of the retention process to be performed based on information necessary for determining the priority of the retention process read from the NAND included in the SSD and the calculated power cutoff time;
If it is determined that the value of the time measurement counter is smaller than the first value, the priority of the retention process of the NAND is set to the highest priority;
Execute the retention process of the NAND in accordance with the set priority.
Processing method.
コンピュータに、
SSD(Solid State Drive)への電力の供給の遮断時間を計測することと、
前記電力の供給が遮断されているときに前記SSDに電力を供給することと、
前記遮断時間を計測する計測部へ電力を供給することと、
処理装置から前記SSDへの電力の供給が遮断された場合、時間計測カウンターに対して前記SSDが前記処理装置の命令に応答できるようになる時間より大きな値である第1の値を設定することと、
前記時間計測カウンターの値が前記第1の値以上であると判定した場合、前記SSDが備えるNANDから読み取ったリテンション処理の優先度を決めるために必要な情報と、計算した電力遮断時間とから、実施する前記リテンション処理の優先度を決定および設定することと、
前記時間計測カウンターの値が前記第1の値よりも小さいと判定した場合、前記NANDの前記リテンション処理の優先度を最優先に設定することと、
設定した優先度に従い前記NANDの前記リテンション処理を実行することと、
を実行させるプログラム。
On the computer,
Measuring the time during which power supply to a solid state drive (SSD) is cut off;
supplying power to the SSD when the power supply is interrupted;
supplying power to a measurement unit that measures the interruption time;
setting a time measurement counter to a first value that is greater than the time required for the SSD to be able to respond to a command from the processing device when power supply from the processing device to the SSD is cut off;
when it is determined that the value of the time measurement counter is equal to or greater than the first value, determining and setting a priority of the retention process to be performed based on information necessary for determining the priority of the retention process read from the NAND included in the SSD and the calculated power cutoff time;
when it is determined that the value of the time measurement counter is smaller than the first value, setting the priority of the retention process of the NAND to the highest priority;
Executing the retention process of the NAND in accordance with the set priority;
A program that executes the following.
JP2024042051A 2024-03-18 2024-03-18 Processing device, processing method, and program Active JP7758383B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2024042051A JP7758383B2 (en) 2024-03-18 2024-03-18 Processing device, processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2024042051A JP7758383B2 (en) 2024-03-18 2024-03-18 Processing device, processing method, and program

Publications (2)

Publication Number Publication Date
JP2025142603A JP2025142603A (en) 2025-10-01
JP7758383B2 true JP7758383B2 (en) 2025-10-22

Family

ID=97264797

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2024042051A Active JP7758383B2 (en) 2024-03-18 2024-03-18 Processing device, processing method, and program

Country Status (1)

Country Link
JP (1) JP7758383B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010515953A (en) 2008-03-07 2010-05-13 株式会社東芝 Information processing apparatus and nonvolatile semiconductor memory drive
US20190205214A1 (en) 2019-03-06 2019-07-04 Intel Corporation Ssd restart based on off-time tracker

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0665942U (en) * 1993-02-22 1994-09-16 河村電器産業株式会社 Blackout detector

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010515953A (en) 2008-03-07 2010-05-13 株式会社東芝 Information processing apparatus and nonvolatile semiconductor memory drive
US20190205214A1 (en) 2019-03-06 2019-07-04 Intel Corporation Ssd restart based on off-time tracker

Also Published As

Publication number Publication date
JP2025142603A (en) 2025-10-01

Similar Documents

Publication Publication Date Title
TWI385669B (en) Wear leveling method and storage system and controller using the same
US8103820B2 (en) Wear leveling method and controller using the same
CN101874240B (en) Increasing the lifetime of multiple blocks of memory
EP3588259B1 (en) Garbage collection method for storage media, storage medium, and program product
US9098395B2 (en) Logical block management method for a flash memory and control circuit storage system using the same
TWI385523B (en) Data backup method for a flash memory and controller and storage system using the same
CN101640069B (en) Average wear method and average wear system for flash memory
TWI428739B (en) End of life recovery and resizing of memory cards
CN107710140B (en) Storage System
US11194481B2 (en) Information processing apparatus and method for controlling information processing apparatus
TWI436369B (en) Methods for measuring usable lifespan and replacing an in-system programming code of a memory device, and data storage system using the same
US20090307412A1 (en) Memory management method for non-volatile memory and controller using the same
JP4182993B2 (en) MEMORY CONTROLLER, FLASH MEMORY SYSTEM HAVING MEMORY CONTROLLER, AND FLASH MEMORY CONTROL METHOD
CN101625897B (en) Data writing method, storage system and controller for flash memory
CN102298543A (en) Memory management method and memory management device
JP2014078262A (en) Techniques for multi-memory device lifetime management
CN101630233B (en) Data access method, storage system and controller for flash memory
US8161251B2 (en) Heterogeneous storage array optimization through eviction
TWI470432B (en) Electronic system and its flash memory management method
CN102157202A (en) Method and Controller for Preventing Read Disturbance from Non-Volatile Memory
CN116467225A (en) Bad block management method of flash memory, storage medium, electronic device and solid state disk
CN119960687A (en) Metadata storage method, device, computer equipment and storage medium
JP5447617B2 (en) Flash memory controller, flash memory system, and flash memory control method
JP2010086009A (en) Storage device and memory control method
JP7758383B2 (en) Processing device, processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240318

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250305

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250417

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250624

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250825

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20251002

R150 Certificate of patent or registration of utility model

Ref document number: 7758383

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150