Information processing apparatus, method of controlling information processing apparatus, and program

By integrating a volatile storage section with a separate startup program and trim processing controls, the device optimizes file system construction to reduce initialization times and prevent performance degradation, addressing performance and cost issues in information processing devices.

JP2024157248AInactive Publication Date: 2024-11-07CANON KK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023071499
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-25
Publication Date
2024-11-07
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing information processing devices face performance degradation and prolonged initialization times due to unnecessary trim processing during file system construction, particularly during manufacturing and maintenance, which increases production costs and deteriorates storage unit capacity over time.

Method used

The information processing device includes a volatile storage section with a firmware area and a separate storage unit for a startup program, equipped with trim processing instructions, execution completion determination, and an omission mechanism to decide whether to perform trim processing based on previous executions, thereby optimizing file system construction.

Benefits of technology

This approach reduces manufacturing time and prevents performance deterioration of volatile storage units by minimizing redundant trim processing, thereby lowering production costs and maintaining storage capacity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024157248000001_ABST
    Figure 2024157248000001_ABST
Patent Text Reader

Abstract

To provide an information processing apparatus, a method of controlling the information processing apparatus, and a program which improve productivity upon manufacturing to prevent time-series processing performance (performance) of a volatile storage unit at a market.SOLUTION: An information processing apparatus 100 according to the present invention has a CPU 210 for executing trimming processing instruction means for commanding execution of trimming processing by an activation program, execution completion determination means for determining whether or not the trimming processing has been completed, file system establishment instructing means for commanding execution of file system establishment by a firmware, and omission determination means for determining, when the file system establishment is executed, whether or not the trimming processing is omitted on the basis of the result of determination by the execution completion determination means.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an information processing device, a control method for an information processing device, and a program. [Background technology]

[0002] In recent years, nonvolatile semiconductor memory devices using flash memory, such as SSD (Solid State Drive) and eMMC, are increasingly used as the memory of information processing devices. Nonvolatile semiconductor memory devices are superior to other memories such as HDD (Hard Disk Drive) in terms of access speed and quietness. On the other hand, the nonvolatile semiconductor memory used in nonvolatile semiconductor memory devices has a limited number of rewrites. In nonvolatile semiconductor memory devices, distributed writing called wear leveling is performed to extend the life of the flash memory built into the device. This wear leveling is performed by a controller built into the nonvolatile semiconductor memory device. In wear leveling, writing is performed by replacing blocks so that blocks with a small number of writes are used as much as possible. During the execution of wear leveling, block erasure and data copy occur when replacing blocks, which may cause a decrease in performance (read and write performance) of the nonvolatile semiconductor memory device.

[0003] A typical process for improving performance degradation is a trim process. The trim process is a process that uses a command to notify the nonvolatile semiconductor memory device of storage areas that are no longer needed by the file system of the OS (operating system). Specifically, the trim command is used to notify the controller of the nonvolatile semiconductor memory device of the areas that are no longer used in the nonvolatile semiconductor memory device. The controller of the nonvolatile semiconductor memory device recognizes the unused areas, collects the used areas (garbage collection), and performs wear leveling. This reduces the amount of data to be copied, and also reduces the number of used blocks and the number of rewrites. Furthermore, by notifying the storage areas that are no longer needed by the trim command, wear leveling of the unnecessary areas is prevented, and thus performance degradation can be suppressed.

[0004] The method of executing the trim command is to specify a mount option called "discard" when mounting and using a partition of the nonvolatile semiconductor memory device. Then, whenever writing occurs to the nonvolatile semiconductor memory device in the OS file system mechanism, a trim command is issued sequentially. Note that this sequential trim function does not require the application to issue the trim command at any timing, but there is a possibility that the overall operating speed will be slow. In addition to the sequential trim function, there is a method of executing the trim command by an application executing an external command "fstrim" that issues trim to the nonvolatile semiconductor memory device at any timing. In this method, the application specifies an area of ​​the nonvolatile semiconductor memory device and executes the fstrim command provided by the OS. The OS checks the unused area on the file system of the specified area and issues a trim command to the nonvolatile semiconductor memory device. In this case, the application executes the fstrim command during idle or standby, according to the user's instruction, or at a specified time. For example, Patent Document 1 discloses a method for performing a trim process using the fstrim command when the user is not using the user interface, thereby reducing the user's experience of a delay caused by the inability to access a semiconductor memory device due to the trim process. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] Patent Publication No. 2021-18595 Summary of the Invention [Problem to be solved by the invention]

[0006] However, in addition to the sequential trim function and the execution of the fstrim command at any timing, a trim command is executed as a function of the OS for the partition to be targeted when constructing a file system (mkfs). In this case, the process of constructing a file system takes time because the trim process is performed. A file system is constructed, for example, when a nonvolatile semiconductor memory device is initialized during the manufacturing process at a factory that manufactures information processing devices. In addition, a partition initialization process of a nonvolatile semiconductor memory device is performed by a serviceman at the time of maintenance at the market after shipment from the factory. When constructing a file system at the market, the process is performed while the user is already using the information processing device. Therefore, it is necessary to suppress the performance degradation of the nonvolatile semiconductor memory device by appropriately performing trim processing. On the other hand, when initializing a nonvolatile semiconductor memory device, for example, in a configuration in which a startup program is stored in a storage device separate from the nonvolatile semiconductor memory device in the information processing device, the initialization process is performed by the startup program. In this initialization process, the setting and trim process of the nonvolatile semiconductor memory device are performed at the same time. After that, firmware including an OS for operating the information processing device is burned into the volatile semiconductor memory device. When the information processing device is started after this burn-in process, the firmware in the nonvolatile semiconductor memory device uses the OS functions to create partitions (fdisk) and create file systems (mkfs) for each partition. If a trim process is performed during the file system creation, the trim process that was performed once during the initialization process of the nonvolatile semiconductor memory device from another storage device will be performed again. Furthermore, the overall initialization process time will be longer by the amount of the trim process performed. In the manufacturing process, the longer the initialization process time, the higher the production costs tend to be.

[0007] The present invention has been made in consideration of the above problems, and aims to provide an information processing device, a control method for the information processing device, and a program that can improve, for example, productivity during manufacturing and prevent degradation of the processing capability (performance) of a volatile memory unit over time in the market. [Means for solving the problem]

[0008] In order to achieve the above-mentioned object, the information processing device of the present invention is an information processing device comprising a first memory unit consisting of a volatile memory unit having a firmware area for storing firmware, and a second memory unit provided separately from the first memory unit and storing a startup program, wherein the firmware is capable of executing the construction of a file system, and the startup program is capable of executing a trim process to delete unnecessary data in at least the firmware area, and the information processing device is characterized in comprising a trim process instruction means for instructing the execution of the trim process, an execution determination means for determining whether the trim process has been executed, a file system construction instruction means for instructing the execution of the file system construction, and an omission determination means for determining whether to omit the trim process when executing the construction of the file system based on the result of the determination by the execution determination means. Effect of the Invention

[0009] According to the present invention, for example, it is possible to improve productivity during manufacturing and prevent degradation of processing power (performance) of volatile storage units over time in the market. [Brief description of the drawings]

[0010] [Figure 1] 1 is a block diagram showing an example of the hardware configuration of an information processing device according to a first embodiment and its peripheral devices. [Diagram 2] 1 is a diagram illustrating an example of a partition configuration in a system area of ​​an eMMC included in an information processing device. [Diagram 3]2 is a block diagram showing an example of a configuration mainly of software of an information processing device. [Figure 4] 11 is a flowchart showing a trim process when a file system is constructed at the time of startup. [Diagram 5] 13 is a flowchart showing a trim process when a file system is constructed at the time of starting up an information processing apparatus according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] Each embodiment of the present invention will be described in detail below with reference to the drawings. However, the configurations described in each of the following embodiments are merely examples, and the scope of the present invention is not limited by the configurations described in each embodiment. For example, each part constituting the present invention can be replaced with any configuration that can exert a similar function. In addition, any configuration may be added. In addition, any two or more configurations (features) of each embodiment can be combined.

[0012] <<First embodiment>> The first embodiment will be described below with reference to FIGS. 1 to 4. FIG.

[0013] <Description of information processing device> FIG. 1 is a block diagram showing an example of the hardware configuration of an information processing device and its peripheral devices. The information processing device 100 shown in FIG. 1 is a device that processes various types of information, and in this embodiment, is applied to an image forming device capable of forming an image, that is, an MFP (Multi-Function Peripheral). The information processing device 100 has a control unit 200, an operation unit 220, a printer engine 221, a scanner engine 222, and an external power supply 240. The control unit 200 has a CPU 210, a Chipset 211, a RAM 212, an SRAM 213, and a NIC (Network Interface Card) 214. The control unit 200 also has an operation unit I / F (interface) 215, a printer I / F (interface) 216, and a scanner I / F (interface) 217. The control unit 200 also has a HDD 218, an eMMC (embedded MultiMedia Card) 219, an LED 290, and a ROM (Read Only Memory) 291. The control unit 200 is a computer that controls the operation of the information processing device 100 as a whole. The eMMC 219 is a storage unit (first storage unit) configured with a volatile storage unit, and stores a control program. The control program includes a program for causing the control unit 200 to execute each unit and each means (control method of the information processing device) of the information processing device 100. The MMC 219 is also used as, for example, a work area or a user data area. The CPU 210 reads out the control program stored in the eMMC (first storage unit) 219 and executes various control processes such as reading control, printing control, and firmware update control. The ROM 291 is a storage unit (second storage unit) provided separately from the eMMC 219, and stores a startup program, fixed parameters, and the like of the information processing device 100. The RAM 212 is also used as, for example, a temporary storage area such as the main memory and work area of ​​the CPU 210. The SRAM 213 is a non-volatile storage unit, and stores setting values, image adjustment values, and the like required by the information processing device 100. The SRAM 213 prevents data loss even when the power of the information processing device 100 is turned on again. The HDD 218 has a file storage area for firmware updates, and also stores image data, user data, and the like.Incidentally, the HDD 218 may be omitted from being installed in the information processing device 100. In this case, the functions of the HDD 218, i.e., securing a file storage area for firmware updates and storing image data, user data, etc., are performed by the eMMC 219. The operation unit I / F 215 connects the operation unit 220 and the control unit 200 so that they can communicate with each other. The operation unit 220 is composed of, for example, a liquid crystal display unit having a touch panel function, a keyboard, etc.

[0014] The printer I / F 216 connects the printer engine 221 and the control unit 200 so that they can communicate with each other. A printer engine firmware 231 is stored in a ROM (not shown) of the printer engine 221. Image data to be printed by the printer engine 221 is transferred from the control unit 200 to the printer engine 221 via the printer I / F 216. The transferred image data is then printed on a recording medium by the printer engine 221. The scanner I / F 217 connects the scanner engine 222 and the control unit 200 so that they can communicate with each other. A scanner engine firmware 232 is stored in a ROM (not shown) of the scanner engine 222. The scanner engine 222 reads an image on a document, generates image data, and outputs the image data to the control unit 200 via the scanner I / F 217. The control unit 200 (information processing device 100) is connected to the LAN 110 via the NIC 214 so that they can communicate with each other. The NIC 214 transmits image data and information to an external device (for example, an external server 250 or a PC 260) on the LAN 110, and receives update firmware and various information. The external server 250 may exist on the Internet. The information processing device 100 may be operated from a Web browser (not shown) on the PC 260. The chipset 211 is a plurality of integrated circuits having a series of associations. The chipset 211 includes a real time clock (RTC) 270. The RTC 270 is a chip dedicated to timekeeping. The external power source 240 stops supplying power in response to an instruction from a control program stored in the eMMC 219. Note that the information processing device 100 receives power from a built-in battery (not shown) even if the external power source 240 is not connected. This allows the information processing device 100 to operate even during sleep. In addition, when a portion of the power is supplied to the chipset 211, the information processing device 100 can return from sleep. On the other hand, in a shutdown state where power supply to the Chipset 211 is stopped, the operation of the RTC 270 is stopped. The LED 290 can be turned on as necessary to notify the outside of, for example, an abnormality in software or hardware.

[0015] <Partition configuration> FIG. 2 is a diagram showing an example of the configuration of partitions in a system area of ​​an eMMC included in an information processing device. As shown in FIG. 2, the eMMC 219 has a system area 300. The system area 300 is divided into a plurality of areas (partitions). In this embodiment, the system area 300 is divided into a kernel storage area 301, a non-volatile data area 302, and a firmware storage area 303. The system area 300 is also divided into a first user data storage area 304, a second user data storage area 305, a first work area 306, a second work area 307, and a swap area 308. The kernel storage area 301 is an area for storing a kernel. The kernel is software equivalent to the OS of the information processing device 100. The non-volatile data area 302 is an area for storing various setting values ​​and the like that should be stored in a non-volatile manner. The firmware storage area (firmware area) 303 is an area for storing firmware that realizes the functions of the information processing device 100. The firmware is capable of executing the construction of a file system. A "file system" is a system that manages and controls the state of various types of information to be stored in a non-volatile manner, and writes and reads data in a manner that is understandable to a user who uses the information processing device 100, for example. The firmware can also perform partition processing to divide the system area 300 (firmware storage area 303) into a plurality of partitions. The first user data storage area 304 and the second user data storage area 305 are areas for storing various types of user data (e.g., image data, document data, etc.). The first work area 306 and the second work area 307 are areas used as work areas for job execution, etc. The swap area 308 is an area for swapping that is performed when the information processing device 100 is in operation.

[0016] <Firmware configuration> FIG. 3 is a block diagram showing an example of a software configuration of an information processing device. As shown in FIG. 3, the information processing device 100 has a communication management unit 401 and a UI control unit 402. The communication management unit 401 controls the NIC 214 connected to the network 110. This allows the communication management unit 401 to transmit and receive data to and from the outside via the network 110. The UI control unit 402 receives input information for the operation unit 220 via the operation unit I / F 215. The UI control unit 402 also performs processing and screen output according to the input information. A boot program 403 and initial boot information 404 are stored (stored) in the ROM 291. The boot program 403 is a program executed by the CPU 210 by turning on the power of the information processing device 100. The boot program 403 performs, for example, processing related to the boot of the information processing device 100 and initialization of the eMMC 219. The initial boot information 404 has information related to the initial boot of the boot program 403. Specifically, the initial boot information 404 has information as to whether the initial boot of the boot program 403 has been performed (initial boot completed) and whether the initialization at the initial boot has been completed. The boot program 403 can also execute a trim process (full trim process) that deletes unnecessary data in the entire area (at least the firmware storage area 303) of the eMMC 219. The "trim process" refers to a process that deletes unnecessary data that is not required in constructing a file system.

[0017] As described above, the system area 300 of the eMMC 219 is divided into a kernel storage area 301, a non-volatile data area 302, and a firmware storage area 303. Note that the HDD 218 can store various data that cannot be stored in the eMMC 219. The kernel storage area 301 stores a kernel 405. The kernel 405 is a program executed by the CPU 210 after the processing of the boot program 403 is completed. The kernel 405 is a program equivalent to an OS, and performs processing related to the startup of the information processing device 100. The non-volatile data area 302 stores eMMC full-surface trimming processing completed flag information 406, partition construction flag information 407, and file system construction flag information 408. These pieces of information indicate that the trimming processing performed by the boot program 403 has been completed. The eMMC full-surface trimming processing completed flag information 406 is a flag that the boot program 403 sets when the boot program 403 performs the trimming processing during the initialization processing of the eMMC 219. Each flag in the non-volatile data area 302 can also be accessed from the boot firmware 409, which will be described later. If the flags in the partition construction flag information 407 and the file system construction flag information 408 are set, the mount processing program 410 executes partition construction (fdisk) and file system construction (mkfs) at the next boot. Note that partition construction and file system construction are executed before the mount processing.

[0018] The firmware storage area 303 stores a boot firmware 409. The boot firmware 409 is a program executed by the CPU 210, and is composed of a plurality of programs for operating the information processing device 100 to provide various functions. For example, the plurality of programs include a program for controlling the scanner I / F 217 and the printer I / F 216. For example, other programs include a mount processing program 410, a non-volatile flag operation program 411, a first application program 412, a second application program 413, and a third application program 414. When the information processing device 100 is started, the mount processing program 410 is called from the boot firmware 409. Then, partition construction according to the partition construction flag information 407 and file system construction according to the file system construction flag information 408 are performed on the eMMC 219 and the HDD 218 used during the start-up. In addition, each area is mounted, and a start-up process is performed to enable the swap area 308. After that, a plurality of programs providing each function of the information processing device 100 are started. In this case, for example, a first application program 412, a second application program 413, and a third application program 414 are started. The non-volatile flag operation program 411 is used when the start-up program 403 accesses each flag in the non-volatile data area 302. For example, when a serviceman at a market performs maintenance on the information processing device 100, the serviceman inputs input information via a maintenance screen of the operation unit 220. When an instruction is given to initialize the storage device including partition construction, the non-volatile flag operation program 411 performs flag operations on the partition construction flag information 407 and the file system construction flag information 408 via the UI control unit 402.

[0019] Fig. 4 is a flowchart showing the trim process when constructing a file system at the time of startup. A program based on the flowchart shown in Fig. 4 is stored in ROM 291 and eMMC 219, and is executed by CPU 210. Also, as shown in Fig. 4, in step S501, CPU 210 starts up startup program 403 stored in ROM 291.

[0020] In step S502, CPU 210 (start-up determination means) determines whether or not the start-up of startup program 403 is the first start-up prior to the execution of actual file system construction (step S517 or step S518). This determination is made based on first-time start-up information 404. For example, in a manufacturing process (factory process) for manufacturing startup program 403 in a factory, startup program 403 (information processing device 100) is started for the first time. Then, if it is determined in step S502 that this is the first start-up, the process proceeds to step S503. On the other hand, if it is determined in step S502 that this is not the first start-up, the process proceeds to step S508.

[0021] In step S503, the startup program 403 (CPU 210) performs initialization processing of the eMMC 219. "Initialization processing of the eMMC 219" refers to processing for setting the eMMC 219 to a predetermined setting state. For example, the eMMC 219 that has been set to MLC (Multi Level Cell) / TLC (Triple Level Cell) is set to SLC (Single Level Cell) to improve durability based on the product performance of the information processing device 100. The startup program 403 also performs a full trim processing of the eMMC 219. This full trim processing includes trim processing of areas outside the partitions as well as trim processing of the partitions of the eMMC 219.

[0022] In step S504, the startup program 403 sets the eMMC full-surface trim processing completed flag information 406 and the partition creation flag information 407.

[0023] In step S505, the boot program 403 burns the kernel 405 and the boot firmware 409 into the eMMC 219. Specifically, the boot program 403 loads data of the kernel and the boot firmware stored in an auxiliary storage device (such as a USB memory) connected to the information processing device 100 into the kernel storage area 301 and the firmware storage area 303 of the eMMC 219.

[0024] In step S506, the startup program 403 sets the initial startup information 404 to indicate that initialization has ended.

[0025] In step S507, the start-up program 403 restarts the information processing device 100. In the restarted information processing device 100, the start-up program 403 has initialized the eMMC 219 and burned the firmware. After step S507 is executed, the process returns to step S501, and the subsequent steps are executed in sequence. In this case, the start-up program 403 is started again in step S501, and determines in step S502 that this is not the first start-up, that is, that the initialization process has been performed, and the process proceeds to step S508.

[0026] In step S 508 , the CPU 210 starts the kernel 405 .

[0027] In step S 509 , the CPU 210 starts the mount processing program 410 in the boot firmware 409 .

[0028] In step S510, the mount processing program 410 (CPU 210) determines whether or not a flag is set in the partition construction flag information 407. If it is determined in step S510 that the flag is set, the process proceeds to step S511. On the other hand, if it is determined in step S510 that the flag is not set, the process proceeds to step S515.

[0029] In step S511, the mount processing program 410 executes partition construction (partition processing). Specifically, the mount processing program 410 executes fdisk, which is a command of the kernel 405. In this way, in the information processing device 100, when it is determined in step S502 that this is not the first boot, partition construction is executed in step S511.

[0030] In step S 512 , the mount processing program 410 clears the partition construction flag information 407 .

[0031] In step S513, the mount processing program 410 sets the flag in the file system construction flag information 408 in order to construct a file system after the reboot in step S501.

[0032] In step S514, the mount processing program 410 restarts the information processing device 100 to validate the partition information set by fdisk in step S511. After step S514 is executed, the process returns to step S501, and the subsequent steps are executed in sequence. In this case, the startup program 403 is started again (at least three times) in step S501, and determines in step S502 that this is not the first startup, that is, that the initialization process has been performed, and the process proceeds to step S508. Then, the process proceeds to step S509, and step S510 is executed. In this step S510, since partition construction has already been executed in step S511, the mount processing program 410 determines that the flag included in the partition construction flag information 407 is not set, and the process proceeds to step S515.

[0033] In step S515, the mount processing program 410 determines whether or not a flag included in the file system construction flag information 408 is set, i.e., whether or not execution of file system construction has been instructed. If it is determined in step S515 that the flag is set, i.e., that execution of file system construction has been instructed (there is a file system construction instructing step by the file system construction instructing means), the process proceeds to step S516. On the other hand, if it is determined in step S515 that the flag is not set, the process proceeds to step S519.

[0034] In step S516, the mount processing program 410 (execution determination means) determines whether the flag included in the eMMC full surface trim processing completion flag information 406 is set, i.e., whether the trim processing has been performed (execution determination step). If the result of the determination in step S516 is that the flag is set, i.e., that the trim processing has been performed, the process proceeds to step S517. On the other hand, if the result of the determination in step S516 is that the flag is not set, i.e., that the trim processing has not been performed, the process proceeds to step S518.

[0035] In step S517, the mount processing program 410 executes the construction of the file system and omits the trim process during the execution. Specifically, the mount processing program 410 executes the mkfs command of the kernel 405 with the no-discard option. A general Linux (registered trademark) kernel command can be set as an operating condition by adding a character string called an option to the command. The no-discard option is specified when the mkfs command (mke2fs if the file system is EXT2 / EXT3 / EXT4) is executed. This specification makes it possible to instruct not to discard unused blocks when constructing a file system by the mkfs command. This makes it possible to omit the trim process during the construction of the file system, thereby shortening the time required for constructing the file system. After execution of step S517, the process proceeds to step S519.

[0036] In step S518, the mount processing program 410 executes construction of a file system and does not omit trim processing at the time of execution, that is, it is assumed that trim processing is performed at the time of execution. Specifically, the mount processing program 410 executes the mkfs command of the kernel 405 without attaching the no-discard option. Note that when the flag included in the eMMC full-surface trim processing completion flag information 406 is not set in this way, the mount processing program 410 also functions as a trim processing instruction means that instructs the execution of trim processing (trim processing instruction step). After executing step S518, the process proceeds to step S519.

[0037] In step S519, the mount processing program 410 mounts each partition of the eMMC 219 in which the file system has been created.

[0038] In step S 520 , the mount processing program 410 enables the swap function in the swap area 308 .

[0039] In step S521, if any flags included in the eMMC full-surface trim processing completed flag information 406, the partition construction flag information 470, and the file system construction flag information 408 are set, the mount processing program 410 clears all of these flags. This process is executed by the mount processing program 410 via the non-volatile flag operation program 411.

[0040] In step S522, CPU 210 launches first application program 412, second application program 413, and third application program 414, and the process ends.

[0041] When constructing a file system in this manner, it is determined in steps S517 and S518 whether or not to omit the trim process based on the result of the determination in step S516 (omission determination step). Specifically, if it is determined in step S516 that the trim process has been executed, it is determined in step S517 that the trim process will be omitted when constructing the file system. On the other hand, if it is determined in step S516 that the trim process has not been executed, it is determined in step S518 that the trim process will not be omitted when constructing the file system. The determination of whether or not to omit the trim process is made by CPU 210 (omission determination means). Also, the determination of whether or not to omit the trim process is possible when it is determined in step S502 that this is not the first boot and when it is determined in step S510 that partition processing is not possible to be executed.

[0042] As described above, the information processing device 100 can determine whether or not to perform a trim process when constructing a file system, depending on whether or not a trim process has already been performed. If the trim process is omitted, the time required to construct a file system can be shortened. For example, if the trim process is performed multiple times in the manufacturing process of the information processing device 100, the manufacturing process will be longer accordingly. As a result, for example, the manufacturing cost of the information processing device 100 will increase. However, since the time required to construct a file system can be shortened, the increase in the manufacturing cost of the information processing device 100 can be suppressed. Furthermore, in the market after shipment from the factory, the degradation of the processing ability (performance) of the eMMC 219 over time can be prevented by appropriately performing a trim process when constructing a file system.

[0043] <<Second embodiment>> Hereinafter, the second embodiment will be described with reference to FIG. 5, but the differences from the above-mentioned embodiment will be mainly described, and the description of the similar matters will be omitted. In the second embodiment, regardless of the first boot, the case where the execution of the trim process at the time of constructing the file system is determined based on the partition construction flag information will be described. FIG. 5 is a flowchart showing the trim process at the time of constructing the file system at the time of booting the information processing device according to the second embodiment. The flowchart shown in FIG. 5 differs from the flowchart shown in FIG. 4 in the following two points. The first point is that the flowchart shown in FIG. 5 replaces step S504 of the flowchart shown in FIG. 4 with step S601. The second point is that the flowchart shown in FIG. 5 includes step S602 between step S513 and step S514 of the flowchart shown in FIG. 4.

[0044] After step S503 is executed, the process proceeds to step S601. In step S601, the startup program 403 sets only the flags included in the partition construction flag information 407. After step S601 is executed, the process sequentially executes steps from step S505 onwards.

[0045] After step S513 is executed, the process proceeds to step S602. In step S602, the mount process program 410 sets a flag included in the eMMC full surface trim process completion flag information 406. After step S602 is executed, the process sequentially executes steps from step S514 onwards.

[0046] In the second embodiment, for example, it is assumed that partition creation (fdisk) is not performed when maintenance is performed on the information processing device 100 by a serviceman in the market. For example, when partition creation is performed only in a factory process, it can be considered that trimming has been performed because a flag included in the partition creation flag information 407 is set (see the process from step S601 to step S602). The second embodiment also provides the same effects as the first embodiment.

[0047] The disclosure of each embodiment includes the following configurations, methods, and programs. (Configuration 1) An information processing device including a first storage unit configured as a volatile storage unit having a firmware area for storing firmware, and a second storage unit provided separately from the first storage unit and for storing a boot program, The firmware is capable of executing a file system construction; the startup program is capable of executing a trimming process for deleting unnecessary data in at least the firmware area; The information processing device includes: a trimming processing instruction means for instructing execution of the trimming processing; an execution determination means for determining whether the trimming process has been executed; a file system construction instruction means for instructing execution of construction of the file system; an omission determination means for determining whether or not to omit the trimming process based on a result of the determination by the execution determination means when constructing the file system. (Configuration 2) The information processing device described in configuration 1, characterized in that when the execution determination means determines that the trim processing has been executed, the omission determination means determines that the trim processing will be omitted when executing the construction of the file system, and when the execution determination means determines that the trim processing has not been executed, the information processing device determines that the trim processing will not be omitted when executing the construction of the file system. (Configuration 3) A boot determination unit is provided for determining whether or not the boot program is being booted for the first time prior to the execution of the construction of the file system; The information processing device according to configuration 1 or 2, wherein the startup program executes the trimming process when it is determined as the first startup as a result of the determination by the startup determination means. (Configuration 4) The firmware is capable of executing a partition process for dividing the firmware area into a plurality of partitions; The information processing device described in configuration 3, characterized in that the omission determination means is capable of determining whether to omit the trim processing when the startup determination means determines that the startup is not the first time and that it is not possible to execute the partition processing. (Configuration 5) The firmware is capable of executing a partition process for dividing the firmware area into a plurality of partitions; 5. The information processing apparatus according to any one of configurations 1 to 4, wherein the execution determination means determines that the trimming process has been executed when the partitioning process has been executed. (Configuration 6) A boot determination unit is provided for determining whether or not the boot program is being booted for the first time prior to the execution of the construction of the file system; 6. The information processing apparatus according to configuration 5, wherein when it is determined that the startup is not the first startup as a result of the determination by the startup determination means, the partition process is executed. (Configuration 7) The information processing apparatus according to any one of configurations 1 to 6, wherein the trimming process deletes data that is not required in constructing the file system as the unnecessary data. (Configuration 8) The first storage unit is an eMMC (embedded MultiMedia Card), 8. The information processing device according to any one of configurations 1 to 7, wherein the second storage unit is a ROM (Read Only Memory). (Configuration 9) The information processing apparatus according to any one of configurations 1 to 8, wherein the information processing apparatus is an image forming apparatus capable of forming an image. (Method 1) A method for controlling an information processing device including a first storage unit configured as a volatile storage unit having a firmware area for storing firmware, and a second storage unit provided separately from the first storage unit and for storing a boot program, comprising: The firmware is capable of executing a file system construction; the startup program is capable of executing a trimming process for deleting unnecessary data in at least the firmware area; The method for controlling the information processing device includes: a trimming processing instruction step of instructing execution of the trimming processing; a step of determining whether the trimming process has been performed; a file system construction instruction step of instructing execution of construction of the file system; A control method for an information processing device, comprising: an omission judgment step of judging whether or not to omit the trimming process based on the result of the judgment in the execution judgment step when constructing the file system. (Program 11) A program for causing a computer to execute each means of the information processing device according to any one of configurations 1 to 9.

[0048] Although the preferred embodiments of the present invention have been described above, the present invention is not limited to the above-mentioned embodiments, and various modifications and changes are possible within the scope of the gist of the present invention. The present invention can also be realized by a process in which a program for realizing one or more functions of the above-mentioned embodiments is supplied to a system or device via a network or a storage medium, and one or more processors of a computer in the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that realizes one or more functions. Furthermore, although the image forming device is used as an example of an application of the information processing device in each of the above-mentioned embodiments, the application is not limited to this, and may be, for example, a personal computer, a tablet terminal, a smartphone, etc. [Explanation of symbols]

[0049] 100 Information processing device 210 CPU 219 eMMC 291 ROM 303 Firmware storage area 403 Start Program 406 eMMC full trim processing completed flag information 408 File system configuration flag information 409 Boot Firmware 410 Mount Processing Program

Claims

1. An information processing device comprising: a first storage unit configured as a volatile storage unit having a firmware area for storing firmware; and a second storage unit provided separately from the first storage unit and for storing a startup program, The firmware is capable of executing a file system construction; the startup program is capable of executing a trimming process for deleting unnecessary data in at least the firmware area; The information processing device includes: a trimming processing instruction means for instructing execution of the trimming processing; an execution determination means for determining whether the trimming process has been executed; a file system construction instruction means for instructing execution of construction of the file system; an omission determination means for determining whether or not to omit the trimming process based on a result of the determination by the execution determination means when constructing the file system.

2. The information processing device according to claim 1, characterized in that, when the execution determination means determines that the trim processing has been performed as a result of the judgment, the omission determination means determines that the trim processing will be omitted when the construction of the file system is executed, and when the execution determination means determines that the trim processing has not been performed as a result of the judgment, the omission determination means determines that the trim processing will not be omitted when the construction of the file system is executed.

3. a startup determination unit that determines whether or not the startup of the startup program is a first startup prior to the execution of the construction of the file system; 2. The information processing apparatus according to claim 1, wherein the startup program executes the trimming process when it is determined as the first startup as a result of the determination by the startup determining means.

4. The firmware is capable of executing a partition process for dividing the firmware area into a plurality of partitions; The information processing device according to claim 3, characterized in that the omission determination means is capable of determining whether or not to omit the trim processing when the startup determination means determines that the startup is not the first time and that it is not possible to execute the partition processing.

5. The firmware is capable of executing a partition process for dividing the firmware area into a plurality of partitions; 2. The information processing apparatus according to claim 1, wherein said execution determination means determines that said trimming process has been executed when said partitioning process has been executed.

6. a startup determination unit that determines whether or not the startup of the startup program is a first startup prior to the execution of the construction of the file system; 6. The information processing apparatus according to claim 5, wherein the partition process is executed when it is determined that the startup is not the first startup as a result of the determination by the startup determining means.

7. 2. The information processing apparatus according to claim 1, wherein the trimming process deletes data that is not required in constructing the file system as the unnecessary data.

8. The first storage unit is an embedded MultiMedia Card (eMMC), 2. The information processing apparatus according to claim 1, wherein the second storage unit is a ROM (Read Only Memory).

9. 2. The information processing apparatus according to claim 1, wherein the information processing apparatus is an image forming apparatus capable of forming an image.

10. A method for controlling an information processing device including a first storage unit configured as a volatile storage unit having a firmware area for storing firmware, and a second storage unit provided separately from the first storage unit and for storing a startup program, comprising: The firmware is capable of executing a file system construction; the startup program is capable of executing a trimming process for deleting unnecessary data in at least the firmware area; The method for controlling the information processing device includes: a trimming processing instruction step of instructing execution of the trimming processing; a step of determining whether the trimming process has been performed; a file system construction instruction step of instructing execution of construction of the file system; A control method for an information processing device, comprising: an omission judgment step of judging whether or not to omit the trimming process based on the result of the judgment in the execution judgment step when constructing the file system.

11. 2. A program for causing a computer to execute each of the means of the information processing apparatus according to claim 1.

Citation Information

Patent Citations

  • Information processing apparatus, control method thereof, and program

    JP2021018595A