Processing device, processing method, and program

The described solution improves SSD management during power cuts by setting time measurement counters and adjusting retention process priorities, enhancing convenience and efficiency.

JP7758383B2Active Publication Date: 2025-10-22NEC PLATFROMS LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024042051
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2024-03-18
Publication Date
2025-10-22
Estimated Expiration
2044-03-18

AI Technical Summary

Technical Problem

Existing information processing devices, such as SSDs, lack a technique to improve convenience during power interruptions by efficiently managing retention processes based on power cutoff times.

Method used

A control unit sets a time measurement counter to a value greater than the SSD's response time, determining retention process priorities based on SSD information and calculated power cutoff times, and executes retention processes with adjusted priorities.

Benefits of technology

Enhances convenience by distinguishing between momentary and prolonged power interruptions, ensuring efficient retention processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007758383000001
    Figure 0007758383000001
  • Figure 0007758383000002
    Figure 0007758383000002
  • Figure 0007758383000003
    Figure 0007758383000003
Patent Text Reader

Abstract

To provide a processing device which offers improved convenience.SOLUTION: A processing device is provided, comprising a measurement unit for measuring a cut-off duration of power supplied to a solid state drive (SSD), a capacitor for supplying power to the SSD while the power supply is being cut off, and a power supply unit provided separately from the capacitor to supply power to the measurement unit.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present disclosure relates to a processing device, a processing method, and a program. [Background technology]

[0002] Information processing devices such as solid state drives (SSDs) are used in various fields. Patent Document 1 discloses a related technology relating to an information processing device that performs retention processing. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Special Publication No. 2010-515953 Summary of the Invention [Problem to be solved by the invention]

[0004] For the information processing device related to Patent Document 1, a technique that can improve convenience is required.

[0005] One of the objectives of each aspect of the present disclosure is to provide a processing device, a processing method, and a program that can solve the above-mentioned problems. [Means for solving the problem]

[0006] According to one aspect of the present disclosure, a processing device includes: a control unit that, when power supply from a processing device to the SSD is cut off, sets a first value 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 itself, and, when it is determined that the value of the time measurement counter is equal to or greater than the first value, determines and sets a priority of the retention process to be performed based on information read from a NAND included in the SSD and the calculated power cutoff time, and, when it is determined 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 the highest priority, and executes the retention process of the NAND in accordance with the set priority. .

[0007] According to another aspect of the present disclosure, a processing method includes: a power supply unit that supplies power to the measurement unit; a time measurement counter that sets a first value, which is greater than the time required for the SSD to respond to a command from the processing device itself, to a time measurement counter when the supply of power from the processing device itself is interrupted; and, if the control unit determines that the value of the time measurement counter is equal to or greater than the first value, determines and sets 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 interruption time; and, if the control unit 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 the highest priority, and executes the retention process of the NAND according to the set priority. .

[0008] According to another aspect of the present disclosure, a program includes: and causing a computer to measure a time during which power supply to an SSD (Solid State Drive) is cut off, supply power to the SSD while the power supply is cut off, and supply power to a measurement unit that measures the cut-off 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 a command from the processing device; when 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 cut-off time; and when 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 the highest priority, and perform the retention process of the NAND in accordance with the set priority. . [Effects of the Invention]

[0009] According to each aspect of the present disclosure, convenience can be improved. [Brief explanation of the drawings]

[0010] [Figure 1] FIG. 1 is a diagram illustrating an example of a configuration of an information processing device according to some embodiments of the present disclosure. [Figure 2] FIG. 2 is a diagram illustrating a first example of a processing flow of an information processing device according to some embodiments of the present disclosure. [Figure 3] 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. [Figure 4] FIG. 1 illustrates an example of a configuration of a processing device according to some embodiments of the present disclosure. [Figure 5] FIG. 1 is a diagram illustrating an example of a processing flow of a processing device according to some embodiments of the present disclosure. [Figure 6] FIG. 1 is a schematic block diagram illustrating the configuration of a computer according to at least one embodiment. DETAILED DESCRIPTION OF THE INVENTION

[0011] 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.

[0012] (Configuration of information processing device of the present disclosure) Fig. 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.

[0013] As shown in FIG. 1, the information processing device main body 10 includes a control unit 101 and a power supply 102.

[0014] The control unit 101 includes a CPU (Central Processing Unit) 1011, a 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 the memory 1012 are mounted.

[0015] The power supply 102 supplies power to the SSD 20 under the control of the control unit 101 .

[0016] 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.

[0017] The connector 201 is an interface that is connected to the information processing device main body 10. The connector 201 receives power from the information processing device main body 10.

[0018] The control unit 202 performs various controls necessary for the processes performed by the SSD 20 .

[0019] The NAND 203 is a non-volatile memory. The NAND 203 stores data indicating information i. The information i is information necessary for determining the priority of retention processing. The retention processing is a process for checking and correcting data. Specific examples of the information i include information indicating the retention status at the time when the power supply is cut off, information indicating the average time from when the power supply starts until it is cut off, information indicating the average time from when the power supply is cut off until it is restarted, and information indicating the amount of data written to the NAND 203.

[0020] When the power supply from the information processing device main body 10 is cut off, the time measurement counter 204 measures the time during which the power supply is cut off.

[0021] When the supply of power from the information processing device main body 10 is cut off, the secondary battery 205 operates the time measurement counter 204. Note that in another embodiment, a capacitor other than the capacitor 206 may be used instead of the secondary battery 205.

[0022] The capacitor 206 supplies power for operating the SSD 20 while writing necessary information to the NAND 203 when the power supply from the information processing device main body 10 is cut off.

[0023] The above-described processing performed by the information processing device 1 according to the embodiment of the present disclosure is merely an example, and the information processing device 1 is not limited to the above-described processing. For example, the information processing device 1 may perform the processing described below.

[0024] (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.

[0025] When the power supply from the information processing device 10 to the SSD 20 is cut off, the control unit 202 sets the time counter 204 to a value A that is greater than the time required for the SSD 20 to be able to respond to commands from the information processing device 10 (step S1). The value A that is greater than the time required for the SSD 20 to be able to respond to commands from the information processing device 10 is a value that is greater than the maximum time required for the SSD 20 to be powered on and ready (to be able to accept read / write commands from the information processing device 10) plus a 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 to the time counter 204 is to enable the control unit 202 to distinguish between a case where 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 (that is, a case where 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 where power is not supplied from the information processing device main body 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 (a case where the control unit 202 reads a count value smaller than the set value A).

[0026] The time measurement counter 204 counts time using the set value A as an initial value (step S2).

[0027] 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 at the time of startup of the SSD 20 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 use the NAND rewrite count evenly when writing to the SSD 20, and information on how much processing was performed for retention in the SSD 20 internal processing.

[0028] (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.

[0029] 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 (in another embodiment, a capacitor other than the capacitor 206 that replaces the secondary battery 205) (step S11).

[0030] The control unit 202 reads information i necessary for determining the priority of the retention process from the NAND 203 (step S12).

[0031] The control unit 202 reads the counter value from the time measurement counter 204 (step S13).

[0032] The control unit 202 compares the value read from the time measurement counter 204 with the value A that was set when power from the information processing device main body 10 to the SSD 20 was cut off. Then, the control unit 202 determines whether the read value is smaller than the set value A (step S14).

[0033] 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. Then, the control unit 202 assumes that the power supply from the information processing device main body 10 to the SSD 20 has been cut off for a long period of time that would have cut off the power supply from the secondary battery 205 (or a substitute capacitor) to the time measurement counter 204, and sets the priority of the retention process to the highest priority (step S15). Then, the control unit 202 executes the retention process of the NAND 203 according to the priority (step S16).

[0034] Furthermore, when 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 the supply of power from the information processing device main body 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 the supply of power 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.

[0035] 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, the control unit 202 sets the priority of the retention process to the lowest priority. On the other hand, if the control unit 202 determines that the user data is not sufficiently protected based on the user's usage status, or if the control unit 202 determines that power will not be supplied for such a long time that the time measurement counter 204 will be reset, the control unit 202 sets the priority of the retention process to the highest priority even if it means lowering the read performance and write performance of the information processing device main unit 10. Then, the control unit 202 proceeds to the process of step S16.

[0036] (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, the 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 cut off. The capacitor 206 supplies power to the SSD 20 when the power supply is cut off. The 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.

[0037] This information processing device 1 can supply power to a time measurement counter 204 (an example of a measurement unit) that measures the time during which power supply to the SSD 20 is cut off from a secondary battery 205 (in another embodiment, a capacitor in place of 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.

[0038] In the 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.

[0039] 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 the 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 cut off. The capacitor 302 supplies power to the SSD while the power supply is cut off. 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.

[0040] The measuring unit 301 can be realized, for example, by using the function of the time measuring counter 204 illustrated in Fig. 1. The capacitor 302 can be realized, for example, by using the function of the capacitor 206 illustrated in Fig. 1. The power supply unit 303 can be realized, for example, by using the function of the secondary battery 205 (or a capacitor instead of the secondary battery 205) illustrated in Fig. 1. The processing device 300 can be realized, for example, by using the function of the information processing device 1 illustrated in Fig. 1.

[0041] Next, a description will be given of processing performed by the processing device 300 according to some embodiments of the present disclosure. Fig. 5 is a diagram showing an example of a 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 Fig. 5.

[0042] In the processing device 300, a measurement unit 301 measures the time that power supply to an SSD (Solid State Drive) is cut off (step S101). A capacitor 302 supplies power to the SSD while the power supply is cut off (step S102). A power supply unit 303 is a power supply unit separate from the capacitor 302, and supplies power to the measurement unit 301 (step S103).

[0043] The processing device 300 according to some embodiments of the present disclosure has been described above. The processing device 300 can improve convenience.

[0044] The order of the processes in each embodiment of the present disclosure may be changed as long as the processes are performed appropriately.

[0045] Although each embodiment of the present disclosure has been described, the information processing device 1, the information processing device main body 10, the SSD 20, and other control devices may have a computer system therein. The above-described processing steps are stored in the form of a program on a computer-readable recording medium, and the computer reads and executes this program to perform the above processing. Specific examples of computers are shown below.

[0046] 6 is a schematic block diagram showing the configuration of a computer according to at least one embodiment. As shown in FIG. 6, the computer 5 includes a CPU (Central Processing Unit) 6, a main memory 7, a storage 8, and an interface 9.

[0047] For example, the above-described information processing device 1, information processing device main body 10, SSD 20, and other control devices are each implemented in a computer 5. The operations of the above-described processing units are stored in the storage 8 in the form of a program. The CPU 6 reads the program from the storage 8, loads it into the main memory 7, and executes the above-described processing in accordance with the program. The CPU 6 also allocates storage areas in the main memory 7 corresponding to the above-described storage units in accordance with the program.

[0048] Examples of storage 8 include a hard disk drive (HDD), a solid state drive (SSD), a magnetic disk, a magneto-optical disk, a compact disc read-only memory (CD-ROM), a digital versatile disc read-only memory (DVD-ROM), and a semiconductor memory. Storage 8 may be an internal medium directly connected to the bus of computer 5, or an external medium connected to computer 5 via interface 9 or a communication line. In addition, when this program is distributed to computer 5 via a communication line, computer 5 that receives the program may load 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.

[0049] 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 in the computer system, a so-called differential file (differential program).

[0050] Although several embodiments of the present disclosure have been described, 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.

[0051] Note that part or all of the above-described embodiments can be described as, but are not limited to, the following supplementary notes.

[0052] (Appendix 1) a measurement unit that measures the time during which power supply to an SSD (Solid State Drive) 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:

[0053] (Appendix 2) The power supply unit a secondary battery or a capacitor; 10. The processing device of claim 1.

[0054] (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:

[0055] (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.

[0056] (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 during which power supply to an SSD (Solid State Drive) is cut off; 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.

[0057] (Appendix 6) On the computer, Measure the time when power supply to SSD (Solid State Drive) 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. [Explanation of symbols]

[0058] 1. Information processing device 5. Computer 6, 1011···CPU 7. Main memory 8. Storage 9. Interface 10. Information processing device main body 20 SSDs 101 Control unit 102...Power supply 201···Connector 202 Control unit 203 NAND 204 Time measurement counter 205...Secondary battery 206 Capacitor 300 Processing equipment 301···Measurement section 302 Capacitor 303...Power supply section 1012...Memory 1013...Various interfaces

Claims

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

2. The power supply unit a secondary battery or a capacitor; The processing device of claim 1 .

3. 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 measurement 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.

4. 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.

Citation Information

Patent Citations

  • Power failure detector

    JP1994065942U

  • Information processing equipment and non-volatile semiconductor memory drive

    JP2010515953A

  • SSD restart based on off-time tracker

    US20190205214A1