This application is based upon and claims the benefit of priority from the corresponding Japanese Patent Application No. 2018-028047 filed on Feb. 20, 2018, the entire contents of which are incorporated herein by reference.
The present disclosure relates to an information processing apparatus and an information processing method.
There is known a method of estimating a lifetime of a flash memory, based on information indicating a sign of deterioration of the flash memory (for example, an occurrence rate of data readout errors, and information such as the number of pulses that is necessary for writing data).
An information processing apparatus according to an aspect of the present disclosure includes a nonvolatile memory, a count processing portion, and an execution processing portion. The count processing portion is configured to count, for each cycle of a specific time period, a write count that is a number of times data has been written to the nonvolatile memory. The execution processing portion is configured to execute a specific process when the write count that is counted during the specific time period by the count processing portion reaches a specific count.
An information processing method according to another aspect of the present disclosure includes a counting step and an execution step. In the counting step, a write count that is a number of times data has been written to a nonvolatile memory, is counted for each cycle of a specific time period. In the execution step, a specific process is executed when the write count that is counted during the specific time period in the counting step reaches a specific count.
This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description with reference where appropriate to the accompanying drawings. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. Furthermore, the claimed subject matter is not limited to implementations that solve any or all disadvantages noted in any part of this disclosure.
The following describes an embodiment of the present disclosure with reference to the accompanying drawings. It should be noted that the following embodiment is an example of a specific embodiment of the present disclosure and should not limit the technical scope of the present disclosure.
[Configuration of Image Forming Apparatus]
As shown in
The operation/display portion 10 includes a display portion such as a liquid crystal display for displaying information, and an operation portion such as a touch panel and operation buttons for receiving a user operation.
The ADF 11 includes a document setting portion, a conveying roller, a document holder, and a sheet discharge portion, and is an automatic document feeding device for feeding a document to be read by the image reading portion 12.
The image reading portion 12 includes a document table, a light source, a mirror, an optical lens, and a CCD (Charge Coupled Device), and is configured to read an image from a document and output the image as image data.
The image forming portion 13 is configured to execute a print process based on the image data by an electrophotographic method or an inkjet method, and form an image on the document based on the image data. For example, in a case where the image forming portion 13 is an electrophotographic image forming portion, the image forming portion 13 includes a photoconductor drum, a charger, an exposure device, a developing device, a transfer device, and a fixing device.
The communication interface 14 is configured to execute a communication process according to a predetermined communication protocol with an information processing device such as an external facsimile device or a personal computer, via a communication network such as a telephone line, the internet, or a LAN.
The flash memory 15 is a nonvolatile storage portion. The flash memory 15 stores various control programs executed by the control portion 16, and various types of data (for example, image data, log data, user information, setting information). The flash memory 15 is an example of a “nonvolatile memory” according to the present disclosure. The flash memory 15 is characteristic in that its lifetime changes in response to a write count, that is, the number of times data has been written thereto.
Meanwhile, in an image forming apparatus such as a multifunction peripheral, a nonvolatile memory such as the flash memory 15, whose lifetime changes in response to the write count, may be installed as storage for storing data such as image data. In this case, a type or capacity of the nonvolatile memory is decided so that an assumed lifetime (service life) of the nonvolatile memory is longer than an assumed lifetime of the image forming apparatus. However, if data is written to the nonvolatile memory at a write frequency that is higher than what was assumed when the image forming apparatus was manufactured, an actual lifetime of the nonvolatile memory may become shorter than its assumed lifetime. To solve this issue, the image forming apparatus 1 according to the present embodiment may be used to prevent the actual lifetime of the nonvolatile memory from becoming shorter than the assumed lifetime.
Write count information D1 (see
The control portion 16 includes control devices such as a CPU, a ROM, and a RAM. The CPU is a processor for executing various kinds of arithmetic processing. The ROM is a nonvolatile storage portion in which information such as a control program for making the CPU execute various processes is preliminarily stored. The RAM is a volatile or nonvolatile storage portion used as a temporary storage memory (work area) for various processes executed by the CPU.
Specifically, the control portion 16 includes a count processing portion 161, an execution processing portion 162, and a calculation processing portion 163. It is noted that the control portion 16 functions as these processing portions by executing various processes according to the control program. In addition, the control portion 16 may be provided with one or more electronic circuits for realizing a part of these processing portions or a plurality of processing functions.
The count processing portion 161 counts the write count of data writing to the flash memory 15 for each cycle of a specific time period (for example, 24 hours). Information on the write counts that are counted by the count processing portion 161 may be stored in the flash memory 15 as the write count information D1. It is noted that in another embodiment, the write count information D1 may be stored in another storage portion (for example, the RAM) instead of the flash memory 15.
Meanwhile, when new data (a file) is written to the flash memory 15, address information that indicates a storage position of the data in the flash memory 15 (for example, information indicating a block in which the data is stored) is created and stored in the flash memory 15. When data stored in the flash memory 15 is changed, data after the change is written at a storage position different from where the data was stored before the change, and the address information corresponding to the data is updated. Then, when the address information corresponding to the stored data is changed, the count processing portion 161 updates the write count.
It is noted that the count processing portion 161 may count the write count for each function and each type of software that uses the flash memory 15. For example, when address information of a piece of data stored in the flash memory 15 has been changed, the count processing portion 161 may identify a function or a type of software that uses the piece of data based on an extension included in a file name of the piece of data.
The execution processing portion 162 executes a specific process when the write count counted during the specific time period by the count processing portion 161 reaches a specific count. It is noted that in the case where the count processing portion 161 counts the write count for each function and each type of software, the execution processing portion 162 may execute the specific process when a total write count of all write counts for the functions and the types of software reaches the specific count.
It is noted that the specific count may be preset based on the write count of data writing to the flash memory 15 during the specific time period, when the image forming apparatus 1 is used in a normal way. Alternatively, the specific count may be set or changed to an arbitrary number in response to a user operation. Alternatively, the specific count may be calculated constantly by the calculation processing portion 163.
It is noted that the specific process may include a process of showing a predetermined alert message to the user (see
It is noted that the specific process may include at least a process of indicating, to the user, information on a function or a type of software that has the highest write count (see
In addition, the specific process may include at least a process of changing setting information of a function or a type of software that has the highest write count. The setting information may indicate a length of an update cycle of a specific piece of data (a file) that is stored in the flash memory 15. In this case, the execution processing portion 162 may automatically change the setting information so that the changed update cycle becomes longer than the present update cycle. With this configuration, the write frequency of writing data to the flash memory 15 can be reduced. It is noted that the setting information to be changed is not limited to the length of the update cycle, and may be an arbitrary piece of setting information. For example, the setting information may indicate whether or not to write to the flash memory 15 image data of a document during execution of a copy job. In this case, the execution processing portion 162 may automatically change the setting information so that the image data of the document is not written to the flash memory 15. With this configuration, the write frequency of writing data to the flash memory 15 can be reduced.
In addition, the specific process may include a process of changing the device to store the data from the flash memory 15 to another nonvolatile memory (for example, a hard disk drive). With this configuration, the write frequency of data written to the flash memory 15 can be reduced.
The calculation processing portion 163 calculates the specific count based on a result obtained by dividing a remaining writable count of the flash memory 15 by a remaining lifetime of the image forming apparatus 1, wherein the remaining writable count is the remaining number of times data can be written to the flash memory 15, and the remaining lifetime is the remaining number of days in the lifetime of the image forming apparatus 1. It is noted that the remaining writable count may be calculated by subtracting, from a preset writable count, a cumulative write count that has been counted from when the image forming apparatus 1 was first used until the present time. In addition, the remaining lifetime may be calculated by subtracting, from a preset remaining lifetime, the number of days that have passed from when the image forming apparatus 1 was first used until the present time. In this way, by dynamically calculating the specific count based on the result obtained by dividing the remaining writable count by the remaining lifetime, the specific process can be executed at a more appropriate timing.
[Information Process]
Next, with reference to
<Step S1>
First, in step S1, the control portion 16 determines whether or not data has been written to the flash memory 15. Specifically, when the address information corresponding to data stored in the flash memory 15 has been changed, the control portion 16 determines that data has been written to the flash memory 15. When the control portion 16 determines that data has been written to the flash memory 15 (S1: Yes), the process moves to step S2. On the other hand, when the control portion 16 determines that data has not been written to the flash memory 15 (S1: No), the process moves to step S6.
<Step S2>
In step S2, the control portion 16 identifies a function or a type of software that has written the data to the flash memory 15. Specifically, based on an extension included in a file name of the data written to the flash memory 15, the control portion 16 identifies the function or the type of software that has written the data to the flash memory 15.
<Step S3>
In step S3, the control portion 16 updates the write count information D1. Specifically, the control portion 16 increments, in the write count information D1, a write count corresponding to the function or the type of software that was identified in step S2. Step S3 is an example of a “count step” according to the present disclosure. Processing in step S3 is executed by the count processing portion 161 of the control portion 16.
<Step S4>
In step S4, the control portion 16 determines whether or not the write count of data writing to the flash memory 15 (specifically, a total write count of all write counts for the functions and the types of software) has reached the specific count. Then, when the control portion 16 determines that the write count of data writing to the flash memory 15 has reached the specific count (S4: Yes), the process moves to step S5. On the other hand, when the control portion 16 determines that the write count of data writing to the flash memory 15 has not reached the specific count (S4: No), the process moves to step S6.
<Step S5>
In step S5, the control portion 16 executes the specific process. Specifically, as an example of the specific process, the control portion 16 may display on the operation/display portion 10 an alert screen P11 shown in
<Step S6>
In step S6, the control portion 16 determines whether or not the specific time period has ended. Specifically, the control portion 16 determines that the specific time period has ended when a fixed time period (for example, 24 hours) has passed from when the information process was started, or when the fixed time period has passed from when the write count information D1 was reset as described in step S7 below. When the control portion 16 determines that the specific time period has ended (S6: Yes), the process moves to step S7. On the other hand, when the control portion 16 determines that the specific time period has not ended (S6: No), the process returns to step S1.
<Step S7>
In step S7, the control portion 16 resets the write count information D1. Specifically, the control portion 16 resets, to 0, values of the write counts that correspond to the functions and types of software included in the write count information D1. Then, the process returns to step S1.
As described above, in the image forming apparatus 1 according to the present embodiment, the write count of data writing to the flash memory 15 is counted for each cycle of the specific time period. When the write count during the specific time period reaches the specific write count, the control portion 16 executes the specific process (for example, displays the alert screen P11 shown in
It is to be understood that the embodiments herein are illustrative and not restrictive, since the scope of the disclosure is defined by the appended claims rather than by the description preceding them, and all changes that fall within metes and bounds of the claims, or equivalence of such metes and bounds thereof are therefore intended to be embraced by the claims.
Number | Date | Country | Kind |
---|---|---|---|
2018-028047 | Feb 2018 | JP | national |